Unlock instant, AI-driven research and patent intelligence for your innovation.

Instruction execution method and related equipment

A technology of instruction execution and instruction, applied in the field of remote asynchronous invocation

Active Publication Date: 2020-01-07
WUHAN DOUYU NETWORK TECH CO LTD
View PDF10 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present invention provides a method for instruction execution and related equipment, which are used to solve the multi-thread problem caused by the asynchronous call process

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
  • Instruction execution method and related equipment
  • Instruction execution method and related equipment
  • Instruction execution method and related equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] The embodiment of the present invention provides an instruction execution method and related equipment, which are used to solve the multi-thread problem caused in the process of asynchronous calling.

[0046] The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of the present invention and the above drawings are used to distinguish similar objects, and not necessarily Used to describe a specific sequence or sequence. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments described herein can be practiced in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having", as well as any variations thereof, are intended to cover a non-exclusive inclusion, for example, a process, method, system, product or device comprising a sequence of steps or elements is not necessarily limited to the expressly listed instead, may inc...

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 provides an instruction execution method and related equipment. The instruction execution method is used for solving the multi-thread problem caused in the asynchronouscalling process. The method provided by the embodiment of the invention comprises the following steps: sending a remote asynchronous call instruction to a second process by using an asynchronous callfunction RpcCallProcedure through a first process, so that the second process processes according to the remote asynchronous call instruction and returns an asynchronous completion instruction; receiving the asynchronous completion instruction; searching a target structure body from a global dictionary according to the remote call identifier gid; judging whether the current remote calling is safeor not according to the target structural body RpcCompositeMessage; if yes, a target function object task is determined according to the target structure body RpcCompositeMessage; and delivering thetarget function object task to the target thread for processing based on the access identifier of the target thread.

Description

technical field [0001] The invention relates to the field of remote asynchronous calling, in particular to a method for executing instructions and related equipment. Background technique [0002] The so-called remote procedure call means that a process calls a method provided by another process, but from the perspective of the caller, it is still consistent with the function calling this process. In the remote procedure call, serialize all the parameters to be provided to the callee process into a network message, and then send it to the callee process through network transmission. After the callee completes the corresponding service, the result is also serialized into a network message and sent to the caller process. [0003] However, in the existing remote procedure call, the thread where the calling process initiates the remote procedure call to the called by asynchronously calling the function is not the same thread as the thread when the called process is called after ...

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/54
CPCG06F9/547
Inventor 杨亮张文明陈少杰
Owner WUHAN DOUYU NETWORK TECH CO LTD