Check patentability & draft patents in minutes with Patsnap Eureka AI!

remote procedure calling method based on NETTY

A remote call and name technology, applied in the field of computer networks, can solve problems such as IO processing capacity decline, achieve elastic scalability and reliability improvement, avoid thread suspension, and improve operating efficiency

Inactive Publication Date: 2019-05-14
CHINA CHANGFENG SCI TECH IND GROUPCORP
View PDF0 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] Facing the above problems, the invention proposes a NETTY-based remote procedure call method, which uses an asynchronous non-blocking method to solve the problem of IO processing capacity decline and improve communication efficiency

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
  • remote procedure calling method based on NETTY

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] This protocol uses an asynchronous and non-blocking method to process IO. When multiple client access requests need to be processed at the same time, multi-threading or IO multiplexing technology can be used for processing. IO multiplexing technology multiplexes multiple IO blocks to the same block, so that the system can process multiple client requests at the same time in the case of a single thread. Compared with the traditional multi-thread / multi-process model, the biggest advantage of I / O multiplexing is that the system overhead is small, the system does not need to create new additional processes or threads, and does not need to maintain the operation of these processes and threads, reducing the System maintenance workload, saving system resources.

[0018] Such as figure 1 As shown, the client initiates RPC call requests concurrently, and then the RPC server uses the NETTY connector to dispatch multiple NIO connection threads. At this time, the task of the NETTY...

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 remote procedure calling method based on NETTY, which comprises the following steps of: firstly, defining RPC request message and response message structures, including an RPC interface definition module, a remote call class name, a method name, a parameter structure and a parameter value; when the server is initialized, loading an RPC interface definition and an RPC interface through a container to realize a mapping relation of class objects, and then waiting for a client to initiate a calling request; sending the RPC message initiated by the client to the RPC server in a byte stream manner; after receiving the request, enabling the RPC server to search a specific implementation object mapped by the client interface from a corresponding container, creat an instance of the object through a reflection mechanism, returns a calling processing result, and finally package the instance into an RPC response message to inform the client; and enabling the client to receive the RPC response message in the byte stream form, unpack and analyze the RPC response message, and then display a remote calling result.

Description

technical field [0001] The invention relates to the technical field of computer networks, in particular to a NETTY-based remote procedure call method. Background technique [0002] RPC (Remote Procedure Call Protocol) - Remote Procedure Call Protocol, is a protocol that requests services from remote computer programs over the network without knowing the underlying network technology. The RPC protocol assumes the existence of some transport protocol, such as TCP or UDP, to carry information data between communication programs. In the OSI network communication model, RPC spans the transport layer and the application layer. RPC makes it easier to develop applications including network distributed multiprogramming. [0003] RPC adopts the client / server model. A requestor is a client and a service provider is a server. First, the client calling process sends a call message with process parameters to the service process, and then waits for a reply message. On the server side,...

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
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/06
Inventor 李灵杰付建祖王春华
Owner CHINA CHANGFENG SCI TECH IND GROUPCORP
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More