Remote calling method and device based on UDP (User Datagram Protocol) communication

A remote call and process technology, applied in the field of distributed systems, can solve the problems of large lightweight applications, complex processes, and high system overhead, and achieve the effect of good network conditions, simple functions, and reduced system burden

Inactive Publication Date: 2018-04-20
广州汇智通信技术有限公司
View PDF5 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The existing mainstream RPC frameworks are all based on the TCP protocol. Although they have the advantages of wide application and powerful functions, they also have the disadvantag

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 calling method and device based on UDP (User Datagram Protocol) communication
  • Remote calling method and device based on UDP (User Datagram Protocol) communication
  • Remote calling method and device based on UDP (User Datagram Protocol) communication

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0047] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present invention.

[0048] In order to make those skilled in the art better understand the solution of the present invention, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0049] Next, a remote invocation method based on UDP communication provided by an embodiment of the present invention is described in detail. figure 2 A signaling diagram of a remote invocation method based on UDP com...

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 embodiment of the invention discloses a remote calling method and device based on UDP (User Datagram Protocol) communication. The method comprises the following steps: sending registration information to a registration procedure through a variety of service procedures of a server side; sending an inquiry request to the registration procedure through an application procedure of a client side toacquire corresponding feedback information; selecting a target service procedure by utilizing a load balancing strategy, sending a RPC (Remote Procedure Call) service request to the target service procedure, executing corresponding service procedures by the target service procedure according to service names and request parameters carried in the request, and sending response information carryingan execution result to the application procedure. By adopting the UPD protocol having less overhead to a system, simple and quick processing procedures and a way of registering the service to the registration procedure by the service procedure are designed, information relevant to the service procedure is acquired by the application procedure from the registration procedure, and then the application procedure communicates with the service procedure through the RPC. According to the method and device disclosed by the invention, a requirement on a lightweight application program can be met, andthe burden of the system also can be reduced; therefore, the device is particularly suitable for being used in application scenes with simple functions and good network situations.

Description

technical field [0001] The invention relates to the technical field of distributed systems, in particular to a UDP communication-based remote calling method and device. Background technique [0002] Remote Procedure Call (Remote Procedure Call, RPC) is a way of requesting services from remote computer programs through the network without knowing the underlying network technology. RPC adopts the client / server model. A requester 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, the process stays asleep until the call message arrives. When a call message arrives, the server obtains the process parameters, calculates the result, sends a reply message, and then waits for the next call message. Finally, the client call process receives the reply message, obtains the process result, and then the call execution continues. ...

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): H04L29/06H04L29/08
CPCH04L69/164H04L67/1001H04L67/133
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