Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
METHOD AND DEVICE FOR CALLING REMOTE PROCEDURE USING SYNCHRONOUS MODE
Document Type and Number:
WIPO Patent Application WO/2019/000790
Kind Code:
A1
Abstract:
A method and device for calling a remote procedure using a synchronous mode, the method comprising: creating a signal event corresponding to a remote procedure during calling of the remote procedure, the initial state of the signal event being a no-signal state (S101); sending a calling request required for calling the remote procedure to a called terminal of the remote procedure (S102); calling a preset function so as to suspend a thread corresponding to the remote procedure, and waiting for a request result returned by the called terminal (S103); and changing the state of the signal event to a signal state when the request result is received so that the preset function awakens the thread corresponding to the remote procedure (S104). With the described method, waste of system resources is reduced when a remote procedure is called, and the performance of a program is guaranteed.

Inventors:
YANG LIANG (CN)
ZHANG WENMING (CN)
CHEN SHAOJIE (CN)
Application Number:
PCT/CN2017/111001
Publication Date:
January 03, 2019
Filing Date:
November 15, 2017
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
WUHAN DOUYU NETWORK TECH CO LTD (CN)
International Classes:
G06F9/54
Foreign References:
CN102780613A2012-11-14
CN103425225A2013-12-04
CN86107699A1987-07-15
Attorney, Agent or Firm:
BEIJING BRIGHT & RIGHT LAW FIRM (CN)
Download PDF: