Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
REMOTE PROCESS CALLING METHOD AND APPARATUS, AND COMPUTER DEVICE
Document Type and Number:
WIPO Patent Application WO/2019/001074
Kind Code:
A1
Abstract:
Provided by the present invention are a remote process calling method and apparatus, and a computer device, wherein said method comprises: registering the name of a predetermined remote method and a corresponding asynchronous processing function in a global dictionary; receiving a target calling request; determining, on the basis of the target calling request, whether a target asynchronous processing function corresponding to the target calling request may be found within the global dictionary; and if said target asynchronous processing function may be found within said global dictionary, calling said target asynchronous processing function in a main thread; determining the data size of a task to be processed of said asynchronous processing function, allocating a sub-thread according to the data size of said task to be processed, and executing said target asynchronous processing function in said sub-thread; and using an acquisition function to acquire and send an execution result; Thus, a corresponding sub-thread may be allocated according to the data size of a task to be processed of the target asynchronous processing function, so that thread scheduling and allocation can be flexibly executed in order to avoid program crashes caused by multiple conflicting threads.

Inventors:
YANG LIANG (CN)
CHEN SHAOJIE (CN)
ZHANG WENMING (CN)
Application Number:
PCT/CN2018/082164
Publication Date:
January 03, 2019
Filing Date:
April 08, 2018
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
WUHAN DOUYU NETWORK TECH CO LTD (CN)
International Classes:
G06F9/54
Foreign References:
CN107277029A2017-10-20
CN101697139A2010-04-21
CN105763619A2016-07-13
CN106713226A2017-05-24
CN106648940A2017-05-10
Attorney, Agent or Firm:
BEIJING ZHONGDA DEQUAN IP AGENCY CO., LTD. (CN)
Download PDF: