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

A method for executing instructions and related equipment

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

Active Publication Date: 2022-01-04
WUHAN DOUYU NETWORK TECH CO LTD
View PDF10 Cites 0 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
  • A method for executing instructions and related equipment
  • A method for executing instructions and related equipment
  • A method for executing instructions 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 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. The method in the embodiment of the present invention includes: using the asynchronous call function RpcCallProcedure to send a remote asynchronous call instruction to the second process through the first process, so that the second process performs processing according to the remote asynchronous call instruction, and returns an asynchronous completion instruction; receiving The asynchronous completion instruction; according to the remote call identifier gid, search the target structure from the global dictionary; judge whether the current remote call is thread-safe according to the target structure RpcCompositeMessage; if so, determine the target function according to the target structure RpcCompositeMessage Object task: deliver the target 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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/54
CPCG06F9/547
Inventor 杨亮张文明陈少杰
Owner WUHAN DOUYU NETWORK TECH CO LTD