Java-based cross-platform extensible RPC framework design method

A design method and cross-platform technology, applied in the information field, can solve problems such as low efficiency, cumbersomeness, and increased development complexity

Pending Publication Date: 2020-12-04
上海视云网络科技有限公司
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At the same time, the commonly used treatment schemes have various limitations.
[0003] At present, the following problems exist in the prior art for mainly interconnection between java and cross-platform interconnection scenarios: (1) single system problem: with the increase of functional modules, the system becomes larger and larger, even if a single system is adjusted For small functions, it is necessary to re-test and release the entire system, which is not conducive to the stability of the system and increases the difficulty of operation and maintenance
(2) Distributed problem: After the system is split, the interconnection of multiple systems will inevitably form a complex distributed network. If there is no suitable distributed processing strategy, it will cause problems in any link of the distributed network, which will lead to avalanche effect
(3) Performance issues: After the system is split, the interconnection of multiple systems will inevitably form a complex distributed network, and the calls between the systems will be adjusted from local calls to remote calls. If high-performance remote calls cannot be provided, then It is bound to reduce the overall load of the platform
(4) Call cross-platform problem: After RPCServer is release

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Java-based cross-platform extensible RPC framework design method
  • Java-based cross-platform extensible RPC framework design method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] Below in conjunction with specific embodiment, further illustrate the present invention. It should be understood that these examples are only used to illustrate the present invention and are not intended to limit the scope of the present invention. In addition, it should be understood that after reading the teachings of the present invention, those skilled in the art can make various changes or modifications to the present invention, and these equivalent forms also fall within the scope defined by the appended claims of the present application.

[0035] Embodiments of the present invention relate to a java-based cross-platform scalable RPC framework design method, the application architecture of which is as follows figure 1 As shown, the call structure is as figure 2 shown. Aiming at the scene where java is mainly interconnected, taking into account cross-platform interconnection, the server publishes the service and the client subscribes to the service to realize re...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a java-based cross-platform extensible RPC (Remote Procedure Call) framework design method, which comprises the following steps of: developing a server by java, defining an agent interface class and an entity class, inheriting and realizing the agent interface class by a Controller class, and starting an RPC Server to finish RPC service release; developing a client, and calling an RPC method to be consistent with a local method by starting an RPC Client to be in butt joint with the server; the RPC Server adopts a Netty as a communication framework, starts a TCP (Transmission Control Protocol) service, loads a registered RPC interface class and a registered RPC implementation class at the same time, and registers the RPC Server to a service discovery center; and theRPC Client adopts Netty as a communication framework, loads the registered RPC proxy interface class, is connected with the service discovery center, acquires a subscribed service list and performs connection. According to the invention, the fundamental problem of interconnection among multiple applications can be solved, so that a framework foundation is realized for constructing a target of a distributed service calling network.

Description

technical field [0001] The invention relates to the field of information technology, in particular to a java-based cross-platform scalable RPC framework design method. Background technique [0002] At present, with the continuous development of Internet technology, for an Internet application, with the continuous increase of functional modules, the system will gradually become larger, and it will inevitably be gradually split into multiple applications, and each application will have a relationship. It involves mutual calls, and a single application will deploy multiple sets in order to prevent a single point, so this many-to-many associated call will form a complex distributed service call network. With the increase of calling links, the interconnection mechanism between multiple services has become one of the important basic links of platform construction. At the same time, the commonly used treatment schemes have various limitations. [0003] At present, the following p...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F9/54G06F9/50G06F11/36
CPCG06F9/5083G06F9/547G06F11/3672
Inventor 李蔚
Owner 上海视云网络科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products