首页> 外国专利> DUBBO FRAMEWORK–BASED REMOTE INVOKING METHOD, SERVER, AND STORAGE MEDIUM

DUBBO FRAMEWORK–BASED REMOTE INVOKING METHOD, SERVER, AND STORAGE MEDIUM

机译:基于DUBBO框架的远程调用方法,服务器和存储介质

摘要

Disclosed in the present application are a dubbo framework–based remote invoking method, a server, and a storage medium. The method comprises: providing a user interface, and receiving registration information filled in by a service provider on the user interface, comprising interface information of a service provided by the service provider and an address of a registration center; creating an interface class according to the interface information and storing the interface class in a storage device; loading the interface class onto a virtual machine from the storage device by invoking a class loader; querying provided service information in the registration center according to the interface information, and creating a proxy class corresponding to the interface class according to the queried service information; generating a unique URL according to the created proxy class; and receiving a URL request sent by a requester, finding the corresponding proxy class according to the URL request, and finding a suitable invoker entity from the interface class according to a correspondence between the interface class and the proxy class to initiate remote invoking to a host of the service provider. Therefore, frequent configuration file modification and system reboot are avoided when a new service is added, thereby reducing the platform load and improving the service efficiency.
机译:在本申请中公开了基于dubbo框架的远程调用方法,服务器和存储介质。该方法包括:提供用户界面,接收服务提供商在用户界面上填写的注册信息,包括服务提供商提供的服务的界面信息和注册中心的地址;根据接口信息创建接口类别,并将接口类别存储在存储设备中;通过调用类加载器将接口类从存储设备加载到虚拟机上;根据接口信息在注册中心查询提供的服务信息,并根据查询的服务信息创建与接口类相对应的代理类;根据创建的代理类生成唯一的URL;接收请求者发送的URL请求,根据该URL请求找到对应的代理类,根据接口类与代理类之间的对应关系从接口类中找到合适的调用者实体,以发起对主机的远程调用服务提供商。因此,在添加新服务时,避免了频繁的配置文件修改和系统重启,从而减少了平台负载,提高了服务效率。

著录项

  • 公开/公告号WO2019104975A1

    专利类型

  • 公开/公告日2019-06-06

    原文格式PDF

  • 申请/专利权人 PING AN TECHNOLOGY (SHENZHEN) CO. LTD.;

    申请/专利号WO2018CN89137

  • 发明设计人 LI GANG;LIU HANYU;

    申请日2018-05-31

  • 分类号H04L29/06;G06F9/455;G06F9/54;

  • 国家 WO

  • 入库时间 2022-08-21 11:54:35

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号