Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method, device and equipment for achieving remote calling and computer readable storage medium

A technology of remote invocation and computer program, applied in the field of remote invocation, can solve problems such as inapplicability, and achieve the effect of simple implementation process

Active Publication Date: 2019-06-07
APOLLO INTELLIGENT DRIVING (BEIJING) TECHNOLOGY CO LTD
View PDF11 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present disclosure provides a method, device, device and computer-readable storage medium for realizing remote calling, so as to solve the many defects of the RPC solution in the prior art, which is not applicable in some specific application scenarios

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
  • Method, device and equipment for achieving remote calling and computer readable storage medium
  • Method, device and equipment for achieving remote calling and computer readable storage medium
  • Method, device and equipment for achieving remote calling and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] In many application scenarios, there is a need for cross-platform communication. In the prior art, the function of cross-platform communication can be realized by means of remote calling by building an RPC solution. However, in the RPC scheme in the prior art, the calling process needs to specify the detailed network addresses and port numbers of the client and the server, which requires the caller to understand the specific details of the network, and the server and the client cannot establish a dynamic link and cannot The position of the service in the network is changed without reason. Therefore, the RPC solution in the prior art has certain disadvantages in the establishment process.

[0038] The solution for implementing remote invocation provided by the present disclosure can implement cross-platform method / function invocation based on the MQTT (Message Queuing Telemetry Transport) protocol, without the above-mentioned technical problems.

[0039] MQTT is a messa...

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 provides a method, device and equipment for achieving remote calling and a computer readable storage medium. The method comprises: registering a first terminal as a subscriber with the theme being a first identifier; the first terminal receiving a message issued by a second terminal, and the second terminal is an issuer whose theme is the first identifier; and the first terminal determines the state of the second terminal according to the flag bit in the message, and processes the message according to the state of the second terminal. Method provided by the invention, According to the device, the equipment and the computer readable storage medium, the RPC function can be achieved based on the MQTT protocol, information transmission is conducted through the identities of two terminals which are publishers and subscribers, and therefore the problem that in the prior art, an RPC scheme needs to be set up through a network programming mode is solved, and the scheme is simplerand more flexible to achieve.

Description

technical field [0001] The present disclosure relates to remote calling technology, and in particular to a method, device, equipment and computer-readable storage medium for realizing remote calling. Background technique [0002] RPC (Remote Procedure Call Protocol, Remote Procedure Call Protocol), used to implement cross-platform method or function calls, for example, one application is deployed in server A, another application is deployed in server B, if the application in server A The method / function in server B needs to be called. Since the two are not in the same memory space, they cannot be called directly. They need to be called through the RPC function. [0003] There are many schemes for realizing RPC. However, the RPC schemes in the prior art are usually directly built based on network programming, and the detailed URLs and port numbers of the client and the server need to be specified. Moreover, the server and the client cannot establish a dynamic link. It is imp...

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): G06F9/54
Inventor 宫博
Owner APOLLO INTELLIGENT DRIVING (BEIJING) TECHNOLOGY CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products