Supercharge Your Innovation With Domain-Expert AI Agents!

Data calling method and device and computer readable storage medium

A technology of data calling and computer programs, used in special data processing applications, calculations, multiprogramming devices, etc.

Pending Publication Date: 2022-02-18
罗克佳华(重庆)科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In the data call method designed above, this scheme establishes the connection between the client handle and the server handle through the universal unique identification code, so that the client handle can point to the corresponding server handle, thus solving the current problem of directly connecting the client The handle is sent to the RPC server, which brings about the problem that the RPC server cannot use the client handle for data calls, and then realizes the unique correspondence of a certain memory address of different physical machines (RPC server and RPC client), thus So that when the callee needs to use the handle, it can be called smoothly

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
  • Data calling method and device and computer readable storage medium
  • Data calling method and device and computer readable storage medium
  • Data calling method and device and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.

[0035] The embodiment of the present application provides a method for invoking data, which can make the RPC client correspond to the handle of the server, so that the handle corresponding to the server can be called through the handle of the RPC client, thereby completing the invocation of data corresponding to the handle of the server. Such as figure 1 As shown, the method includes the following steps:

[0036] Step S100: the RPC client obtains the current client handle in the current data call parameter.

[0037] Step S110: The RPC client searches for the current UUID corresponding to the current client handle in multiple pre-built second key-value pairs according to the current client handle.

[0038] Step S120: The RPC client sends the found current UUID to the RPC server.

[0039] Step S130...

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 data calling method and device and a computer readable storage medium. The data calling method comprises the steps that an RPC client obtains a current client handle in current data calling parameters; the RPC client searches a current universal unique identification code corresponding to the current client handle in a plurality of pre-constructed second key value pairs according to the current client handle; the RPC client side sends the found current universal unique identification code to the RPC server side; the RPC server side searches a target server side handle corresponding to the current universal unique identification code in a plurality of pre-constructed first key value pairs according to the current universal unique identification code; and the RPC server calls data corresponding to the target server handle according to the searched target server handle, so that the handle in the RPC client corresponds to the handle of the RPC server, handle correspondence between different physical machines is realized, and handle calling is realized.

Description

technical field [0001] The present application relates to the technical field of remote procedure call, in particular, to a data call method, device and computer-readable storage medium. Background technique [0002] RPC (Remote Procedure Call, Remote Procedure Call), adopts client / server mode. A requester is a client, and a service provider is a server. First, the client initiates a local call, and the data directly enters the local caller function for data packaging, and then the packaged data is passed to the server by the RPC framework through the network call package. On the server side, the process keeps listening until the network call packet arrives. When the information arrives, the packaged data is passed to the provider function to unpack, call the service and execute, then package and pass the returned result data to the RPC framework to return to the client, and then wait for the next call information, and finally, the client The caller receives the return re...

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/54G06F16/2455
CPCG06F9/547G06F16/24553
Inventor 李玮廖强夏博儒张俊峰王佳琦王志成栾怀训
Owner 罗克佳华(重庆)科技有限公司
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