TWI556612B - Timeout controlling unit for remote procedure call and method for remote procedure call - Google Patents

Timeout controlling unit for remote procedure call and method for remote procedure call Download PDF

Info

Publication number
TWI556612B
TWI556612B TW103115379A TW103115379A TWI556612B TW I556612 B TWI556612 B TW I556612B TW 103115379 A TW103115379 A TW 103115379A TW 103115379 A TW103115379 A TW 103115379A TW I556612 B TWI556612 B TW I556612B
Authority
TW
Taiwan
Prior art keywords
unit
processing
control unit
timeout
request
Prior art date
Application number
TW103115379A
Other languages
Chinese (zh)
Other versions
TW201541912A (en
Inventor
吳冠輝
Original Assignee
鼎捷軟件股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 鼎捷軟件股份有限公司 filed Critical 鼎捷軟件股份有限公司
Priority to TW103115379A priority Critical patent/TWI556612B/en
Publication of TW201541912A publication Critical patent/TW201541912A/en
Application granted granted Critical
Publication of TWI556612B publication Critical patent/TWI556612B/en

Links

Landscapes

  • Telephonic Communication Services (AREA)

Description

適用於遠端程序呼叫的逾時控制單元與遠端程序呼叫方法 Timeout control unit and remote program call method suitable for remote program call

本發明是有關於一種逾時控制單元,且特別是有關於一種適用於遠端程序呼叫的逾時控制單元及遠端程序呼叫方法。 The present invention relates to a timeout control unit, and more particularly to a timeout control unit and a remote program call method suitable for remote program calls.

遠端程序呼叫(Remote Procedure Call;RPC)是分散式應用系統運作上重要特性,個別系統在運作中透過RPC可調用其他系統的程序,待其他系統運算結果返回後再繼續原有進程(thread)。雖然RPC有同步和非同步的運作方式,但基於商業邏輯需求,RPC經常以同步方式運作。然而這些分散進程會因會談逾時(session timeout)而造成系統對於運行結果的認知不同,嚴重影響商業邏輯的正確性。 Remote Procedure Call (RPC) is an important feature of the operation of distributed application systems. Individual systems can call other system programs through RPC during operation. After other system operation results are returned, the original process (thread) is continued. . Although RPC has a synchronous and asynchronous operation, RPC often operates in a synchronous manner based on business logic requirements. However, these decentralized processes will cause different perceptions of the operating results due to the session timeout, which seriously affects the correctness of business logic.

同步RPC經常用於企業交易活動,會談逾時之時間大多是由請求方設定,且該設定無法根據對象不同做變 更。因此,當會談逾時之時間過短時,遠端程序尚未完成,請求方就主動中斷,容易造成請求方與回應方之狀態不一致。而當會談逾時之時間過長時,由於當系統進入等待狀態時,使用者及相關資源都被鎖定不能釋放,容易造成死結(deadlock)。 Synchronous RPC is often used for corporate trading activities. The timeout for the talks is mostly set by the requester, and the setting cannot be changed according to the object. more. Therefore, when the timeout of the talks is too short, the remote program has not been completed, and the requester actively interrupts, which is likely to cause the state of the requester and the responder to be inconsistent. When the timeout of the talks is too long, the user and related resources are locked and cannot be released when the system enters the waiting state, which is likely to cause a deadlock.

面對上述問題,現行普遍的作法包含使用共同技術平台,例如請求方與回應方雙方均採用Java的Session Bean,保證系統程序與session的生命週期相同,然而面對異質技術平台時,此作法無法適用。另一種作法為請求方與回應方雙方均採用符合交易規範(transaction)的技術,並在異常狀況時進行補償動作,但是補償動作也是另一個RPC調用程序,也同樣存在著失敗的風險,如此可能會造成無窮補償迴圈。因此,如何設計一種系統或方法以解決上述問題實屬當前重要研發課題之一,亦成為當前相關領域亟需改進的目標。 In the face of the above problems, the current common practice involves the use of a common technology platform. For example, both the requester and the respondent use Java Session Bean to ensure that the system program and the session have the same life cycle. However, when faced with a heterogeneous technology platform, this method cannot be implemented. Be applicable. Another method is that both the requesting party and the responding party adopt a technology that conforms to the transaction specification and perform the compensation action in the abnormal situation, but the compensation action is another RPC calling procedure, and there is also a risk of failure, so Will cause infinite compensation loops. Therefore, how to design a system or method to solve the above problems is one of the current important research and development topics, and it has become an urgent need for improvement in related fields.

因此,本發明之一態樣是在提供一種適用於遠端程序呼叫(Remote Procedure Call)的逾時控制單元。逾時控制單元包含一阻斷器、一訊息代理(message agent)模組以及一會談控制(session control)模組。逾時控制單元在接收到一請求方單元所發送的一處理請求時,將處理請求傳送至一回應方單元,使得回應方單元處理處理請求,而會談控制模組用以在一預設時間到達時判斷回應方單元是 否回傳一處理結果,並於處理結果未被回傳至請求方單元時,會談控制模組控制阻斷器發送一阻斷請求至回應方單元,使得回應方單元根據阻斷請求中斷上述處理請求之處理,且訊息代理模組傳送一會談逾時(session timeout)訊息至請求方單元。 Accordingly, one aspect of the present invention is to provide a timeout control unit suitable for use in a Remote Procedure Call. The timeout control unit includes a blocker, a message agent module, and a session control module. When receiving the processing request sent by the requesting unit, the timeout control unit transmits the processing request to a responding unit, so that the responding unit processes the processing request, and the meeting control module is used to arrive at a preset time. When judging the responder unit is Whether to return a processing result, and when the processing result is not returned to the requesting unit, the negotiation control module controls the blocking device to send a blocking request to the responding unit, so that the responding unit interrupts the processing according to the blocking request. The processing of the request, and the message proxy module transmits a session timeout message to the requesting unit.

依據本發明一實施例,上述阻斷器更用以判斷回應方單元是否成功中斷上述處理請求之處理。若否,則訊息代理模組傳送一保留狀態訊息至請求方單元,並在回應方單元回傳處理結果時,訊息代理模組傳送一回呼(callback)訊息至請求方單元。 According to an embodiment of the invention, the blocker is further configured to determine whether the responding unit successfully interrupts the processing of the processing request. If not, the message proxy module transmits a reservation status message to the requesting unit, and when the responding unit returns the processing result, the message proxy module transmits a callback message to the requesting unit.

依據本發明另一實施例,上述阻斷器係根該回應方單元所回傳之一阻斷狀態訊息,判斷回應方單元是否成功中斷上述處理請求之處理。 According to another embodiment of the present invention, the blocker is configured to block a status message returned by the responding unit, and determine whether the responding unit successfully interrupts the processing of the processing request.

依據本發明又一實施例,上述逾時控制單元更包含一計時器(timer),且會談控制模組更用以在逾時控制單元接收到處理請求時,啟動計時器,並在計時器到達預設時間時,判斷回應方單元是否回傳上述處理結果。 According to still another embodiment of the present invention, the timeout control unit further includes a timer, and the talk control module is further configured to start the timer when the timeout control unit receives the processing request, and arrive at the timer When the time is preset, it is judged whether the responding unit returns the above processing result.

依據本發明再一實施例,上述會談控制模組更用以儲存回應方單元所回傳至逾時控制單元之一對應於上述處理請求的處理程序識別碼。 According to still another embodiment of the present invention, the conversation control module is further configured to store a processing program identifier that is returned by the responding unit to one of the timeout control units corresponding to the processing request.

依據本發明另又一實施例,上述阻斷請求包含上述處理程序識別碼,且回應方單元根據阻斷請求中之處理程序識別碼,中斷上述處理請求之處理。 According to still another embodiment of the present invention, the blocking request includes the processing program identification code, and the responding unit interrupts the processing of the processing request according to the processing program identification code in the blocking request.

依據本發明另再一實施例,上述逾時控制單元更包 含一請求訊息佇列(request message queue)。請求訊息佇列用以接收並暫存上述處理請求,且會談控制模組更用以控制請求訊息佇列將上述處理請求傳送至回應方單元。 According to still another embodiment of the present invention, the timeout control unit is further included Contains a request message queue. The request message queue is configured to receive and temporarily store the processing request, and the negotiation control module is further configured to control the request message queue to transmit the processing request to the responding unit.

依據本發明再又一實施例,上述逾時控制單元更包含一回應訊息佇列(response message queue)。回應訊息佇列用以接收並暫存上述處理結果。 According to still another embodiment of the present invention, the timeout control unit further includes a response message queue. The response message queue is used to receive and temporarily store the above processing results.

本發明之另一態樣是在提供一種遠端程序呼叫方法,包含下列步驟:利用一逾時控制單元接收一請求方單元所發送的一處理請求;利用逾時控制單元將上述處理請求傳送至一回應方單元,使得回應方單元處理上述處理請求;在一預設時間到達時,判斷回應方單元是否回傳一處理結果至逾時控制單元;若是,則利用逾時控制單元將上述處理結果回傳至請求方單元;以及若否,則利用逾時控制單元發送一阻斷請求至回應方單元,使得回應方單元根據阻斷請求中斷上述處理請求之處理,並利用逾時控制單元傳送一會談逾時訊息至請求方單元。 Another aspect of the present invention provides a remote program calling method, comprising the steps of: receiving a processing request sent by a requesting unit by using a timeout control unit; and transmitting the processing request to the processing request by using a timeout control unit a responding unit, such that the responding unit processes the processing request; when a predetermined time arrives, determining whether the responding unit returns a processing result to the timeout control unit; if yes, using the timeout control unit to process the processing result Returning to the requesting unit; and if not, transmitting a blocking request to the responding unit by using the timeout control unit, so that the responding unit interrupts the processing of the processing request according to the blocking request, and transmits the using the timeout control unit Talk about the timeout message to the requester unit.

依據本發明一實施例,上述遠端程序呼叫方法更包含:利用逾時控制單元判斷回應方單元是否成功中斷上述處理請求之處理;若否,則利用逾時控制單元傳送一保留狀態訊息至請求方單元,並在回應方單元回傳上述處理結果至逾時控制單元時,利用逾時控制單元傳送一回呼訊息至請求方單元。 According to an embodiment of the present invention, the remote program calling method further includes: using a timeout control unit to determine whether the responding unit successfully interrupts the processing of the processing request; if not, transmitting a reservation status message to the request by using the timeout control unit The square unit, and when the responding unit returns the processing result to the timeout control unit, transmits a callback message to the requesting unit by using the timeout control unit.

依據本發明另一實施例,於上述遠端程序呼叫方法中,於利用逾時控制單元判斷回應方單元是否成功中斷處 理請求之處理的步驟中,逾時控制單元係根據回應方單元所回傳至逾時控制單元之一阻斷狀態訊息,判斷回應方單元是否成功中斷上述處理請求之處理。 According to another embodiment of the present invention, in the remote program calling method, the timeout control unit is used to determine whether the responding unit is successfully interrupted. In the step of processing the request, the timeout control unit determines whether the responder unit successfully interrupts the processing of the processing request according to the blocking status message returned by the responding unit to one of the timeout control units.

依據本發明又一實施例,上述遠端程序呼叫方法更包含:接收並儲存回應方單元所回傳至逾時控制單元之一對應於上述處理請求的處理程序識別碼。 According to still another embodiment of the present invention, the remote program calling method further includes: receiving and storing a processing program identification code that is returned by the responding unit to one of the timeout control units corresponding to the processing request.

依據本發明再一實施例,於上述遠端程序呼叫方法中,阻斷請求包含上述處理程序識別碼,且回應方單元根據阻斷請求中之處理程序識別碼,中斷上述處理請求之處理。 According to still another embodiment of the present invention, in the remote program calling method, the blocking request includes the processing program identification code, and the responding unit interrupts the processing of the processing request according to the processing program identification code in the blocking request.

應用本發明之優點在於藉由在執行遠端程序呼叫的系統中,利用一逾時控制單元來對遠端程序呼叫的互動過程進行監控與管理,特別是判斷程序是否逾時,並在逾時發生時提供相對應處理,如此一來,可確保系統交易結果的一致性。於本發明中,用以判斷是否逾時之時間可依據不同的調用對象各自指定,具有高度彈性。另外,現有的遠端程序呼叫系統只需小幅修改相關程式碼即可執行本發明之技術手段,且本發明通用於各種不同技術平台。本技術可藉由請求方以及回應方間之一中間裝置實現,亦即請求方以及回應方不需要修改程式的主要邏輯。本發明所提出之裝置可自我獨立控制與管理,且具有可自由調整Timeout時間長短等優點,並通用於各種不同技術平台。 The advantage of applying the present invention is that by using a time-out control unit in a system for performing a remote program call, the interaction process of the remote program call is monitored and managed, in particular, whether the program is time-out and overtime Provide corresponding processing when it occurs, thus ensuring consistency of system transaction results. In the present invention, the time for judging whether or not the timeout can be specified according to different calling objects is highly flexible. In addition, the existing remote program call system can perform the technical means of the present invention only by slightly modifying the relevant code, and the present invention is generally applicable to various different technology platforms. The technology can be implemented by an intermediary device between the requesting party and the responding party, that is, the requesting party and the responding party do not need to modify the main logic of the program. The device proposed by the invention can be independently controlled and managed by itself, and has the advantages of being freely adjustable for the length of Timeout, and is commonly used in various technical platforms.

110、110a‧‧‧逾時控制單元 110, 110a‧‧‧ time-out control unit

112、112a‧‧‧會談控制模組 112, 112a‧‧‧ meeting control module

114‧‧‧阻斷器 114‧‧‧Blocker

116、116a‧‧‧訊息代理模組 116, 116a‧‧‧Message Agent Module

120‧‧‧處理請求 120‧‧‧Handling requests

121‧‧‧處理程序識別碼 121‧‧‧Processing program identification code

122‧‧‧處理結果 122‧‧‧Process results

124‧‧‧阻斷請求 124‧‧‧Block request

126‧‧‧會談逾時訊息 126‧‧‧Talks overtime message

128‧‧‧保留狀態訊息 128‧‧‧Retention status message

129‧‧‧回呼訊息 129‧‧‧callback message

130‧‧‧請求方單元 130‧‧‧Requester unit

132‧‧‧阻斷狀態訊息 132‧‧‧Blocking status message

140‧‧‧回應方單元 140‧‧‧Respondent unit

210‧‧‧計時器 210‧‧‧Timer

220‧‧‧請求訊息佇列 220‧‧‧Request message queue

222‧‧‧回應訊息佇列 222‧‧‧Response message queue

302、304、306、308、310、402、404、502‧‧‧步驟 302, 304, 306, 308, 310, 402, 404, 502‧ ‧ steps

第1圖為本發明一實施例中,一種適用於遠端程序呼叫的逾時控制單元之方塊示意圖。 FIG. 1 is a block diagram of a timeout control unit suitable for a remote program call according to an embodiment of the present invention.

第2圖為本發明一實施例中,一種適用於遠端程序呼叫的逾時控制單元之方塊示意圖。 2 is a block diagram of a timeout control unit suitable for a remote program call according to an embodiment of the present invention.

第3圖為本發明一實施例中,一種遠端程序呼叫方法之流程示意圖。 FIG. 3 is a schematic flow chart of a method for calling a remote program according to an embodiment of the present invention.

第4圖為本發明一實施例中,一種遠端程序呼叫方法之流程示意圖。 FIG. 4 is a schematic flow chart of a method for calling a remote program according to an embodiment of the present invention.

第5圖為本發明一實施例中,一種遠端程序呼叫方法之流程示意圖。 FIG. 5 is a schematic flow chart of a method for calling a remote program according to an embodiment of the present invention.

下文係舉實施例配合所附圖式作詳細說明,但所提供之實施例並非用以限制本發明所涵蓋的範圍,而結構運作之描述非用以限制其執行之順序,任何由元件重新組合之結構,所產生具有均等功效的裝置,皆為本發明所涵蓋的範圍。此外,圖式僅以說明為目的,並未依照原尺寸作圖。為使便於理解,下述說明中相同元件將以相同之符號標示來說明。 The embodiments are described in detail below with reference to the accompanying drawings, but the embodiments are not intended to limit the scope of the invention, and the description of the structure operation is not intended to limit the order of execution, any component recombination The structure, which produces equal devices, is within the scope of the present invention. In addition, the drawings are for illustrative purposes only and are not drawn to the original dimensions. For ease of understanding, the same elements in the following description will be denoted by the same reference numerals.

在全篇說明書與申請專利範圍所使用之用詞(terms),除有特別註明外,通常具有每個用詞使用在此領域中、在此揭露之內容中與特殊內容中的平常意義。某些用以描述本揭露之用詞將於下或在此說明書的別處討論,以提供本領域技術人員在有關本揭露之描述上額外的引 導。 The terms used in the entire specification and the scope of the patent application, unless otherwise specified, generally have the ordinary meaning of each term used in the field, the content disclosed herein, and the particular content. Certain terms used to describe the disclosure are discussed below or elsewhere in this specification to provide additional reference to those skilled in the art in the description of the disclosure. guide.

於本文中,除非內文中對於冠詞有所特別限定,否則『一』與『該』可泛指單一個或多個。將進一步理解的是,本文中所使用之『包含』、『包括』、『具有』及相似詞彙,指明其所記載的特徵、區域、整數、步驟、操作、元件與/或組件,但不排除其所述或額外的其一個或多個其它特徵、區域、整數、步驟、操作、元件、組件,與/或其中之群組。 In this document, "one" and "the" can be used to mean one or more, unless the article specifically defines the article. It will be further understood that the terms "comprising", "comprising", "having", and <RTIgt; One or more of its other features, regions, integers, steps, operations, elements, components, and/or groups thereof.

請參照第1圖。第1圖為本發明一實施例中,一種適用於遠端程序呼叫(Remote Procedure Call)的逾時控制單元110之方塊示意圖。該逾時控制單元110可用以提供中間服務給請求方單元130以及回應方單元140。 Please refer to Figure 1. FIG. 1 is a block diagram of a timeout control unit 110 suitable for a remote procedure call according to an embodiment of the present invention. The timeout control unit 110 can be used to provide intermediate services to the requestor unit 130 and the responder unit 140.

於一實施例中,該請求方單元130可為一交易活動活動之請求方,例如:一刷卡機、一企業資源計劃系統(Enterprise Resource Planning system;ERP system)之端點或是一可用以下單購買商品的電子裝置。該回應方單元140可為一處理交易活動之回應方,例如:一刷卡授權伺服器、一企業資源計劃系統之簽呈管理系統或是一電子商務伺服器。該逾時控制單元110用以提供中間服務,以在該請求方單元130以及該回應方單元140間之交易活動的授權或是確認等程序發生會談逾時(session timeout)時,提供對應的處理。 In an embodiment, the requesting unit 130 may be a requesting party of a transaction activity, such as a card swipe machine, an enterprise resource planning system (ERP system) endpoint, or a list of available Electronic device for purchasing goods. The responder unit 140 can be a responder that processes transaction activities, such as a card authorization server, an enterprise resource planning system signature management system, or an e-commerce server. The timeout control unit 110 is configured to provide an intermediate service to provide corresponding processing when the program of the authorization or confirmation of the transaction activity between the requestor unit 130 and the responder unit 140 occurs during a session timeout. .

於本實施例中,該逾時控制單元110包含一會談控制(session control)模組112、一阻斷器114以及一訊息 代理(message agent)模組116。於一實施例中,該逾時控制單元110包含至少一處理器以及一記憶體,而該會談控制模組112、該阻斷器114以及該訊息代理模組116係儲存於該記憶體,並藉由該處理器執行其功能。於另一實施例中,該會談控制模組112、該阻斷器114以及該訊息代理模組116係為系統晶片或其他可執行指令之硬體元件。 In this embodiment, the timeout control unit 110 includes a session control module 112, a blocker 114, and a message. A message agent module 116. In an embodiment, the timeout control unit 110 includes at least one processor and a memory, and the talk control module 112, the blocker 114, and the message proxy module 116 are stored in the memory, and The processor performs its function. In another embodiment, the talk control module 112, the blocker 114, and the message proxy module 116 are hardware components of a system chip or other executable instructions.

於一實施例中,逾時控制單元110為一獨立於該請求方單元130以及該回應方單元140的中間裝置。於另一實施例中,逾時控制單元110係以軟體的方式整合至該請求方單元130或是該回應方單元140中。於又一實施例中,逾時控制單元110係為一包含於該請求方單元130或是該回應方單元140中的系統晶片或其他可執行指令之硬體元件。 In one embodiment, the timeout control unit 110 is an intermediary device that is independent of the requestor unit 130 and the responder unit 140. In another embodiment, the timeout control unit 110 is integrated into the requestor unit 130 or the responder unit 140 in a software manner. In yet another embodiment, the timeout control unit 110 is a hardware component of a system chip or other executable instructions included in the requestor unit 130 or the responder unit 140.

該逾時控制單元110在接收到該請求方單元130所發送的一處理請求120時,將該處理請求120傳送至該回應方單元140,使得該回應方單元140處理該處理請求120。會談控制模組112用以在一預設時間到達時,判斷該回應方單元140是否回傳一處理結果122。若是,則會談該控制模組112控制該訊息代理模組116將該處理結果122回傳至該請求方單元130。若否(即該處理結果122未被回傳至該請求方單元130),則該會談控制模組112控制該阻斷器114發送阻斷請求124至該回應方單元140,使得該回應方單元140根據該阻斷請求124中斷該處理請求120之處理,且該訊息代理模組116傳送一會談逾時訊息126至 該請求方單元130。需說明的是,上述預設時間係為一可調整之時間,該逾時控制單元110可依照該處理請求120之類型,調整上述預設時間。 When receiving the processing request 120 sent by the requesting unit 130, the timeout control unit 110 transmits the processing request 120 to the responding unit 140, so that the responding unit 140 processes the processing request 120. The meeting control module 112 is configured to determine whether the responding unit 140 returns a processing result 122 when a predetermined time arrives. If so, the control module 112 controls the message proxy module 116 to transmit the processing result 122 back to the requestor unit 130. If no (ie, the processing result 122 is not returned to the requestor unit 130), the negotiation control module 112 controls the blocker 114 to send a blocking request 124 to the responder unit 140, such that the responder unit 140 interrupts the processing of the processing request 120 according to the blocking request 124, and the message proxy module 116 transmits a talk timeout message 126 to The requester unit 130. It should be noted that the preset time is an adjustable time, and the timeout control unit 110 may adjust the preset time according to the type of the processing request 120.

於另一實施例中,該阻斷器114更用以判斷該回應方單元140是否根據該阻斷請求124成功中斷該處理請求120之處理,若否,則該訊息代理模組116傳送一保留狀態訊息128至該請求方單元130,並在該回應方單元140回傳處理結果122時,該訊息代理模組116傳送一回呼(callback)訊息129至該請求方單元130。於一實施例中,該阻斷器114係根據該回應方單元140所回傳之阻斷狀態訊息132,判斷該回應方單元140是否成功中斷該處理請求120之處理。 In another embodiment, the blocker 114 is further configured to determine whether the responder unit 140 successfully interrupts the processing of the processing request 120 according to the blocking request 124. If not, the message proxy module 116 transmits a reservation. The status message 128 is sent to the requester unit 130, and when the responder unit 140 returns the processing result 122, the message proxy module 116 transmits a callback message 129 to the requestor unit 130. In an embodiment, the blocker 114 determines whether the responder unit 140 successfully interrupts the processing request 120 according to the blocking status message 132 returned by the responder unit 140.

於一例子中,該回應方單元140在收到該阻斷請求124後,成功中斷該處理請求120之處理,且該回應方單元140據以回傳該阻斷狀態訊息132,並在該阻斷狀態訊息132中描述已成功中斷處理請求120之處理。 In an example, the responder unit 140 successfully interrupts the processing of the processing request 120 after receiving the blocking request 124, and the responding unit 140 returns the blocking status message 132 according to the resistance. The process of successfully interrupting the processing request 120 is described in the off status message 132.

於另一例子中,該回應方單元140可能因為系統資源鎖定或某些系統因素,在收到該阻斷請求124後,無法中斷該處理請求120之處理,此時該回應方單元140回傳該阻斷狀態訊息132,並在該阻斷狀態訊息132中描述無法中斷該處理請求120之處理。於此例子中,該訊息代理模組116傳送一保留狀態訊息128至該請求方單元130,而該請求方單元130根據該保留狀態訊息128紀錄並保留該處理請求120之狀態。之後,當該回應方單元140完成該處 理請求120之處理,並回傳該處理結果122時,該訊息代理模組116傳送該回呼訊息129至該請求方單元130,然後,該請求方單元130根據該回呼訊息129以及上述該處理請求120之狀態紀錄,完成該處理請求120。 In another example, the responder unit 140 may not interrupt the processing of the processing request 120 after receiving the blocking request 124 due to system resource locking or some system factors. At this time, the responding unit 140 returns. The status message 132 is blocked and the processing of the processing request 120 cannot be interrupted in the blocking status message 132. In this example, the message broker module 116 transmits a reservation status message 128 to the requestor unit 130, and the requestor unit 130 records and retains the status of the processing request 120 based on the reservation status message 128. Thereafter, when the responder unit 140 completes the location When the processing of the request 120 is performed and the processing result 122 is returned, the message proxy module 116 transmits the callback message 129 to the requesting unit 130, and then the requesting unit 130 according to the callback message 129 and the foregoing The status record of request 120 is processed and the processing request 120 is completed.

於又一實施例中,該會談控制模組112更用以儲存該回應方單元140所回傳至該逾時控制單元110之一對應於該處理請求120的處理程序識別碼121。於再一實施例中,該阻斷請求124包含該處理程序識別碼121,且該回應方單元140根據該阻斷請求124中之處理程序識別碼121,該中斷請求120之處理。於該實施例中,該回應方單元140係利用至少一處理器,同時處理來自複數個請求方單元或逾時控制單元的多個請求,並對每一個請求配發一對應的處理程序識別碼。當該回應方單元140接收到包含對應於該處理請求120的處理程序識別碼121的阻斷請求124時,該回應方單元140之上述至少一處理器根據該處理程序識別碼121中斷該處理請求120之處理。 In another embodiment, the meeting control module 112 is further configured to store the processing program identifier 121 returned by the responding unit 140 to one of the timeout control units 110 corresponding to the processing request 120. In still another embodiment, the blocking request 124 includes the handler identification code 121, and the responder unit 140 processes the interrupt request 120 based on the handler identification code 121 in the blocking request 124. In this embodiment, the responder unit 140 utilizes at least one processor to simultaneously process multiple requests from a plurality of requestor units or timeout control units, and assign a corresponding handler identifier to each request. . When the responder unit 140 receives the blocking request 124 including the handler identifier 121 corresponding to the processing request 120, the at least one processor of the responder unit 140 interrupts the processing request according to the handler identifier 121. 120 processing.

請參照第2圖。第2圖為本發明一實施例中,一種適用於遠端程序呼叫的逾時控制單元110a之方塊示意圖。相較於第1圖中所示之逾時控制單元110,於本實施例中,該逾時控制單元110a更包含計時器(timer)210、請求訊息佇列(request message queue)220以及回應訊息佇列(response message queue)222。於一實施例中,該計時器210係由一晶片來實現,而該請求訊息佇列220以及該回應訊息佇列222係由記憶體或硬碟等儲存元件來實現。於另 一實施例中,該逾時控制單元110a包含至少一處理器以及一記憶體,而該計時器210係由計時程式或模組來實現而儲存於該記憶體,並藉由該處理器執行其功能。該會談控制模組112a以及該訊息代理模組116a功能與操作與第1圖中所示之會談控制模組112以及訊息代理模組116類似,故在此不再贅述。 Please refer to Figure 2. FIG. 2 is a block diagram of a timeout control unit 110a suitable for a remote program call according to an embodiment of the present invention. Compared with the timeout control unit 110 shown in FIG. 1 , in the embodiment, the timeout control unit 110a further includes a timer 210, a request message queue 220, and a response message. Response message queue 222. In one embodiment, the timer 210 is implemented by a chip, and the request message queue 220 and the response message queue 222 are implemented by storage elements such as a memory or a hard disk. Another In one embodiment, the timeout control unit 110a includes at least one processor and a memory, and the timer 210 is implemented by a timing program or a module and stored in the memory, and executed by the processor. Features. The functions and operations of the Talk Control Module 112a and the Message Agent Module 116a are similar to those of the Talk Control Module 112 and the Message Agent Module 116 shown in FIG. 1 and will not be described herein.

於本實施例中,該會談控制模組112a更用以在該逾時控制單元110a接收到該處理請求120時,啟動該計時器210,並在該計時器210到達預設時間時,判斷該回應方單元140是否回傳該處理結果122。該請求訊息佇列220用以接收並該暫存請求120,且該會談控制模組112a更用以控制該請求訊息佇列220將該處理請求120傳送至該回應方單元140該。該回應訊息佇列222用以接收並暫存該處理結果122,當該訊息代理模組116a欲回傳該處理結果122至該請求方單元130時,該訊息代理模組116a從該回應訊息佇列222中讀取該處理結果122。 In this embodiment, the meeting control module 112a is further configured to start the timer 210 when the timeout control unit 110a receives the processing request 120, and determine that the timer 210 reaches the preset time. Whether the response unit unit 140 returns the processing result 122. The request message queue 220 is configured to receive the temporary storage request 120, and the negotiation control module 112a is further configured to control the request message queue 220 to transmit the processing request 120 to the responder unit 140. The response message queue 222 is configured to receive and temporarily store the processing result 122. When the message proxy module 116a wants to return the processing result 122 to the requestor unit 130, the message proxy module 116a receives the response message. The processing result 122 is read in column 222.

第3圖為依據本發明一實施例繪示一種遠端程序呼叫方法之流程示意圖。遠端程序呼叫方法可實作為一電腦程式產品(如應用程式),並儲存於一電腦可讀取記錄媒體中,而使電腦讀取此記錄媒體後執行遠端程序呼叫方法。電腦可讀取記錄媒體可為唯讀記憶體、快閃記憶體、軟碟、硬碟、光碟、隨身碟、磁帶、可由網路存取之資料庫或熟悉此技藝者可輕易思及具有相同功能之電腦可讀取記錄媒體。 FIG. 3 is a schematic flow chart of a method for calling a remote program according to an embodiment of the invention. The remote program calling method can be implemented as a computer program product (such as an application) and stored in a computer readable recording medium, and the computer can execute the remote program calling method after reading the recording medium. Computer-readable recording media can be read-only memory, flash memory, floppy disk, hard disk, optical disk, flash drive, tape, network accessible database or familiar with the art can easily think of the same The function of the computer can read the recording medium.

此遠端程序呼叫方法可應用於如第1圖所繪示的逾時控制單元110中,但不以其為限。為方便及清楚說明起見,下列遠端程序呼叫方法之敘述係配合第1圖所示的逾時控制單元110作說明。 This remote program call method can be applied to, but not limited to, the timeout control unit 110 as shown in FIG. For convenience and clarity of explanation, the following description of the remote program calling method is described in conjunction with the timeout control unit 110 shown in FIG.

於步驟302中,利用逾時控制單元110接收請求方單元130所發送的處理請求120。 In step 302, the processing request 120 sent by the requester unit 130 is received by the timeout control unit 110.

於步驟304中,利用該逾時控制單元110將該處理請求120傳送至回應方單元140,使得該回應方單元140處理處理請求120。 In step 304, the processing request 120 is transmitted to the responder unit 140 by the timeout control unit 110 such that the responder unit 140 processes the processing request 120.

於步驟306中,會談控制模組112在一預設時間到達時,判斷該回應方單元140是否回傳處理結果122至該逾時控制單元110。若是,則執行步驟308;若否,則執行步驟310。 In step 306, the meeting control module 112 determines whether the responding unit 140 returns the processing result 122 to the timeout control unit 110 when a preset time arrives. If yes, go to step 308; if no, go to step 310.

於該步驟308中,利用該逾時控制單元110之該會談控制模組112控制訊息代理模組116將該處理結果122回傳至該請求方單元130。 In the step 308, the conversation control module 112 of the timeout control unit 110 controls the message proxy module 116 to transmit the processing result 122 back to the requester unit 130.

於該步驟310中,利用該逾時控制單元110之該會談控制模組112控制阻斷器114發送阻斷請求124至該回應方單元140,使得該回應方單元140根據該阻斷請求124中斷該處理請求120之處理,並利用該逾時控制單元110之該訊息代理模組116傳送該會談逾時訊息126至該請求方單元130。 In the step 310, the talk control module 112 of the timeout control unit 110 controls the blocker 114 to send the blocking request 124 to the responder unit 140, so that the responder unit 140 is interrupted according to the blocking request 124. The processing request 120 processes and transmits the talk timeout message 126 to the requestor unit 130 using the message broker module 116 of the timeout control unit 110.

請參照第4圖。第4圖為依據本發明一實施例繪示一種遠端程序呼叫方法之流程示意圖。相較於第3圖所示 之遠端程序呼叫方法,於本實施例中,遠端程序呼叫方法更包含步驟402以及步驟404。此遠端程序呼叫方法可應用於如第1圖所繪示的逾時控制單元110中,但不以其為限。為方便及清楚說明起見,下列遠端程序呼叫方法之敘述係配合第1圖所示的逾時控制單元110作說明。 Please refer to Figure 4. FIG. 4 is a schematic flow chart of a method for calling a remote program according to an embodiment of the invention. Compared to Figure 3 The far-end program calling method further includes step 402 and step 404 in this embodiment. This remote program call method can be applied to, but not limited to, the timeout control unit 110 as shown in FIG. For convenience and clarity of explanation, the following description of the remote program calling method is described in conjunction with the timeout control unit 110 shown in FIG.

於步驟402中,利用該逾時控制單元110之阻斷器114判斷該回應方單元140是否成功中斷該處理請求120之處理。 In step 402, the blocker 114 of the timeout control unit 110 determines whether the responder unit 140 successfully interrupts the processing of the processing request 120.

若否,則於步驟404中,利用該逾時控制單元110之訊息代理模組116傳送保留狀態訊息128至該請求方單元130,並在該回應方單元140回傳該處理結果122至該逾時控制單元110時,利用該逾時控制單元110之訊息代理模組116傳送回呼訊息129至該請求方單元130。 If not, in step 404, the message status module 128 of the timeout control unit 110 is used to transmit the reservation status message 128 to the requestor unit 130, and the response result unit 122 is returned to the response unit 122 to the When the control unit 110 is used, the message proxy module 116 of the timeout control unit 110 transmits the callback message 129 to the requestor unit 130.

請參照第5圖。第5圖為依據本發明一實施例繪示一種遠端程序呼叫方法之流程示意圖。相較於第3圖所示之遠端程序呼叫方法,於本實施例中,遠端程序呼叫方法更包含步驟502以及步驟510。此遠端程序呼叫方法可應用於如第1圖所繪示的逾時控制單元110中,但不以其為限。為方便及清楚說明起見,下列遠端程序呼叫方法之敘述係配合第1圖所示的逾時控制單元110作說明。 Please refer to Figure 5. FIG. 5 is a schematic flow chart of a method for calling a remote program according to an embodiment of the invention. In the present embodiment, the remote program calling method further includes step 502 and step 510, as compared with the remote program calling method shown in FIG. This remote program call method can be applied to, but not limited to, the timeout control unit 110 as shown in FIG. For convenience and clarity of explanation, the following description of the remote program calling method is described in conjunction with the timeout control unit 110 shown in FIG.

於步驟502中,該逾時控制單元110接收且利用該會談控制模組112儲存該回應方單元140所回傳至該逾時控制單元110之對應於處理請求120的處理程序識別碼121。 In step 502, the timeout control unit 110 receives and uses the negotiation control module 112 to store the handler ID 121 corresponding to the processing request 120 that the responder unit 140 returns to the timeout control unit 110.

相較於步驟310,於步驟510中,該阻斷請求124包含處理程序識別碼121,且該回應方單元140根據阻斷請求124中之處理程序識別碼121中斷該處理請求120之處理。 In contrast to step 310, in step 510, the blocking request 124 includes a handler identification code 121, and the responder unit 140 interrupts the processing of the processing request 120 based on the handler identification code 121 in the blocking request 124.

應瞭解到,在本實施方式中所提及的步驟,除特別敘明其順序者外,均可依實際需要調整其前後順序,甚至可同時或部分同時執行。 It should be understood that the steps mentioned in the present embodiment can be adjusted according to actual needs, and can be performed simultaneously or partially simultaneously, unless the order is specifically stated.

綜上所述,本發明藉由在執行遠端程序呼叫的系統中,利用一逾時控制單元來對遠端程序呼叫的互動過程進行監控與管理,特別是判斷程序是否逾時,並在逾時發生時提供相對應處理,如此一來,可確保系統交易結果的一致性。 In summary, the present invention monitors and manages the interaction process of a remote program call by using a timeout control unit in a system for performing a remote program call, in particular, determining whether the program is out of date, and Corresponding processing is provided when the time occurs, so as to ensure the consistency of the system transaction results.

於本發明中,用以判斷是否逾時之時間可依據不同的調用對象各自指定,具有高度彈性。另外,現有的遠端程序呼叫系統只需小幅修改相關程式碼即可執行本發明之技術手段。本技術可藉由請求方以及回應方間之一中間裝置實現,亦即請求方以及回應方不需要修改程式的主要邏輯。本發明所提出之裝置可自我獨立控制與管理,且具有可自由調整Timeout時間長短等優點,並通用於各種不同技術平台。 In the present invention, the time for judging whether or not the timeout can be specified according to different calling objects is highly flexible. In addition, the existing remote program call system can perform the technical means of the present invention by only slightly modifying the relevant code. The technology can be implemented by an intermediary device between the requesting party and the responding party, that is, the requesting party and the responding party do not need to modify the main logic of the program. The device proposed by the invention can be independently controlled and managed by itself, and has the advantages of being freely adjustable for the length of Timeout, and is commonly used in various technical platforms.

雖然本揭示內容已以實施方式揭露如上,然其並非用以限定本揭示內容,任何熟習此技藝者,在不脫離本揭示內容之精神和範圍內,當可作各種之更動與潤飾,因此本揭示內容之保護範圍當視後附之申請專利範圍所界定者 為準。 The present disclosure has been disclosed in the above embodiments, but it is not intended to limit the disclosure, and any person skilled in the art can make various changes and refinements without departing from the spirit and scope of the disclosure. The scope of protection of the disclosure is defined by the scope of the patent application attached. Prevail.

110‧‧‧逾時控制單元 110‧‧‧Timed Control Unit

112‧‧‧會談控制模組 112‧‧‧Talk Control Module

114‧‧‧阻斷器 114‧‧‧Blocker

116‧‧‧訊息代理模組 116‧‧‧Message Agent Module

120‧‧‧處理請求 120‧‧‧Handling requests

121‧‧‧處理程序識別碼 121‧‧‧Processing program identification code

122‧‧‧處理結果 122‧‧‧Process results

124‧‧‧阻斷請求 124‧‧‧Block request

126‧‧‧會談逾時訊息 126‧‧‧Talks overtime message

128‧‧‧保留狀態訊息 128‧‧‧Retention status message

129‧‧‧回呼訊息 129‧‧‧callback message

130‧‧‧請求方單元 130‧‧‧Requester unit

132‧‧‧阻斷狀態訊息 132‧‧‧Blocking status message

140‧‧‧回應方單元 140‧‧‧Respondent unit

Claims (14)

一種適用於遠端程序呼叫(Remote Procedure Call)的逾時控制單元,該逾時控制單元包含:一阻斷器;一訊息代理(message agent)模組;以及一會談控制(session control)模組,其中該逾時控制單元在接收到一請求方單元所發送的一處理請求時,將該處理請求傳送至一回應方單元,使得該回應方單元處理該處理請求,而該會談控制模組用以在一預設時間到達時判斷該回應方單元是否回傳一處理結果,並於該處理結果未被回傳至該請求方單元時,該會談控制模組控制該阻斷器發送一阻斷請求至該回應方單元,使得該回應方單元根據該阻斷請求中斷該處理請求之處理,且該訊息代理模組傳送一會談逾時(session timeout)訊息至該請求方單元,其中該阻斷器更用以判斷該回應方單元是否成功中斷該處理請求之處理,若否,則該訊息代理模組傳送一保留狀態訊息至該請求方單元,並在該回應方單元回傳該處理結果時,該訊息代理模組傳送一回呼(callback)訊息至該請求方單元。 A timeout control unit suitable for a remote procedure call, the timeout control unit comprising: a blocker; a message agent module; and a session control module And the timeout control unit transmits the processing request to a responding unit when receiving a processing request sent by the requesting unit, so that the responding unit processes the processing request, and the meeting control module uses Determining whether the responding unit returns a processing result when a preset time arrives, and when the processing result is not returned to the requesting unit, the negotiation control module controls the blocking device to send a blocking Requesting to the responder unit, causing the responder unit to interrupt the processing of the processing request according to the blocking request, and the message proxy module transmits a session timeout message to the requesting unit, wherein the blocking unit The device is further configured to determine whether the responding unit successfully interrupts the processing of the processing request, and if not, the message proxy module transmits a reservation status message to the requesting unit. When the Responder and return the result of the processing unit, the module sends a message back to the proxy call (callback) message to the requestor cell. 如請求項1所述之逾時控制單元,其中該阻斷器係根據該回應方單元所回傳之一阻斷狀態訊息,判斷該回應方單元是否成功中斷該處理請求之處理。 The timeout control unit of claim 1, wherein the blocker determines whether the responder unit successfully interrupts the processing of the processing request according to a blocking status message returned by the responding unit. 如請求項1所述之逾時控制單元,更包含一計時器(timer),且該會談控制模組更用以在該逾時控制單元接收到該處理請求時,啟動該計時器,並在該計時器到達該預設時間時,判斷該回應方單元是否回傳該處理結果。 The timeout control unit of claim 1 further includes a timer, and the talk control module is further configured to start the timer when the timeout control unit receives the processing request, and When the timer reaches the preset time, it is determined whether the responding unit returns the processing result. 如請求項1所述之逾時控制單元,其中該會談控制模組更用以儲存該回應方單元所回傳至該逾時控制單元之一對應於該處理請求的處理程序識別碼。 The timeout control unit of claim 1, wherein the negotiation control module is further configured to store a processing program identifier returned by the responding unit to one of the timeout control units corresponding to the processing request. 如請求項4所述之逾時控制單元,其中該阻斷請求包含該處理程序識別碼,且該回應方單元根據該阻斷請求中之該處理程序識別碼,中斷該處理請求之處理。 The timeout control unit of claim 4, wherein the blocking request includes the handler identification code, and the responder unit interrupts the processing of the processing request according to the handler identifier in the blocking request. 如請求項1所述之逾時控制單元,更包含:一請求訊息佇列(request message queue),用以接收並暫存該處理請求,且該會談控制模組更用以控制該請求訊息佇列將該處理請求傳送至該回應方單元。 The timeout control unit of claim 1, further comprising: a request message queue for receiving and temporarily storing the processing request, and the meeting control module is further configured to control the request message. The column transmits the processing request to the responder unit. 如請求項1所述之逾時控制單元,更包含:一回應訊息佇列(response message queue),用以接收並暫存該處理結果。 The timeout control unit of claim 1 further includes: a response message queue for receiving and temporarily storing the processing result. 如請求項1所述之逾時控制單元,其中該逾時控制單元係為一獨立於該請求方單元以及該回應方單元的中間裝 置。 The timeout control unit of claim 1, wherein the timeout control unit is an intermediate device independent of the requestor unit and the responder unit Set. 如請求項1所述之逾時控制單元,其中該逾時控制單元係以軟體的方式整合至該請求方單元或是該回應方單元中。 The timeout control unit of claim 1, wherein the timeout control unit is integrated into the requestor unit or the responder unit in a software manner. 如請求項1所述之逾時控制單元,其中該逾時控制單元係為一包含於該請求方單元或是該回應方單元中的系統晶片或其他可執行指令之硬體元件。 The timeout control unit of claim 1, wherein the timeout control unit is a hardware component of a system chip or other executable instruction included in the requestor unit or the responder unit. 一種遠端程序呼叫方法,包含:利用一逾時控制單元接收一請求方單元所發送的一處理請求;利用該逾時控制單元將該處理請求傳送至一回應方單元,使得該回應方單元處理該處理請求;在一預設時間到達時,判斷該回應方單元是否回傳一處理結果至該逾時控制單元;若是,則利用該逾時控制單元將該處理結果回傳至該請求方單元;若否,則利用該逾時控制單元發送一阻斷請求至該回應方單元,使得該回應方單元根據該阻斷請求中斷該處理請求之處理,並利用該逾時控制單元傳送一會談逾時訊息至該請求方單元;以及利用該逾時控制單元判斷該回應方單元是否成功中斷 該處理請求之處理,若否,則利用該逾時控制單元傳送一保留狀態訊息至該請求方單元,並在該回應方單元回傳該處理結果至該逾時控制單元時,利用該逾時控制單元傳送一回呼訊息至該請求方單元。 A remote program calling method includes: receiving, by a time-out control unit, a processing request sent by a requesting unit; transmitting, by the time-out control unit, the processing request to a responding unit, so that the responding unit processes The processing request; when a preset time arrives, determining whether the responding unit returns a processing result to the timeout control unit; if yes, using the timeout control unit to transmit the processing result back to the requesting unit If not, the timeout control unit is used to send a blocking request to the responding unit, so that the responding unit interrupts the processing of the processing request according to the blocking request, and uses the timeout control unit to transmit a meeting. Time message to the requester unit; and using the timeout control unit to determine whether the responder unit is successfully interrupted Processing of the processing request, if not, transmitting a reservation status message to the requesting unit by using the timeout control unit, and utilizing the timeout when the responding unit returns the processing result to the timeout control unit The control unit transmits a callback message to the requestor unit. 如請求項11所述之遠端程序呼叫方法,其中於利用該逾時控制單元判斷該回應方單元是否成功中斷該處理請求之處理的步驟中,該逾時控制單元係根據該回應方單元所回傳至該逾時控制單元之一阻斷狀態訊息,判斷該回應方單元是否成功中斷該處理請求之處理。 The remote program calling method of claim 11, wherein in the step of determining whether the responder unit successfully interrupts the processing request by using the timeout control unit, the timeout control unit is based on the responding unit Returning to one of the timeout control units to block the status message, determining whether the responder unit successfully interrupts the processing of the processing request. 如請求項11所述之遠端程序呼叫方法,更包含:接收並儲存該回應方單元所回傳至該逾時控制單元之一對應於該處理請求的處理程序識別碼。 The remote program calling method of claim 11, further comprising: receiving and storing a handler identifier returned by the responding unit to one of the timeout control units corresponding to the processing request. 如請求項13所述之遠端程序呼叫方法,其中該阻斷請求包含該處理程序識別碼,且該回應方單元根據該阻斷請求中之該處理程序識別碼,中斷該處理請求之處理。 The remote program calling method of claim 13, wherein the blocking request includes the handler identification code, and the responder unit interrupts the processing of the processing request according to the handler identifier in the blocking request.
TW103115379A 2014-04-29 2014-04-29 Timeout controlling unit for remote procedure call and method for remote procedure call TWI556612B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW103115379A TWI556612B (en) 2014-04-29 2014-04-29 Timeout controlling unit for remote procedure call and method for remote procedure call

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW103115379A TWI556612B (en) 2014-04-29 2014-04-29 Timeout controlling unit for remote procedure call and method for remote procedure call

Publications (2)

Publication Number Publication Date
TW201541912A TW201541912A (en) 2015-11-01
TWI556612B true TWI556612B (en) 2016-11-01

Family

ID=55220638

Family Applications (1)

Application Number Title Priority Date Filing Date
TW103115379A TWI556612B (en) 2014-04-29 2014-04-29 Timeout controlling unit for remote procedure call and method for remote procedure call

Country Status (1)

Country Link
TW (1) TWI556612B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107291558B (en) * 2016-03-30 2020-11-24 阿里巴巴集团控股有限公司 Application program interface deadlock monitoring method and device
CN110275764B (en) * 2019-05-15 2024-03-19 创新先进技术有限公司 Method, device and system for processing call timeout

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0600235B1 (en) * 1992-10-30 1998-02-18 Software Ag Cooperative processing interface and communication broker for heterogeneous computing environments
TW200805162A (en) * 2005-12-19 2008-01-16 Ibm Commitment of transactions in a distributed system
US8433824B2 (en) * 2008-03-25 2013-04-30 International Business Machines Corporation Thread timeout coordination method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0600235B1 (en) * 1992-10-30 1998-02-18 Software Ag Cooperative processing interface and communication broker for heterogeneous computing environments
TW200805162A (en) * 2005-12-19 2008-01-16 Ibm Commitment of transactions in a distributed system
US8433824B2 (en) * 2008-03-25 2013-04-30 International Business Machines Corporation Thread timeout coordination method and system

Also Published As

Publication number Publication date
TW201541912A (en) 2015-11-01

Similar Documents

Publication Publication Date Title
US9946577B1 (en) Systems and methods for distributed resource management
CN107729139B (en) Method and device for concurrently acquiring resources
US20220121497A1 (en) Systems and methods for distributed resource management
CN109936511B (en) Token obtaining method, device, server, terminal equipment and medium
CN111176796B (en) Rolling resource credit for virtual computer resource scheduling
US8843676B2 (en) Optimizing an operating system I/O operation that pertains to a specific program and file
EP2893444B1 (en) Quota-based resource management
CN106384290B (en) Policy processing system, method and device
JP5679256B2 (en) Distributed task system and distributed task management method
US20190158626A1 (en) Method, apparatus and computer readable storage medium for processing service
US10536322B2 (en) Resource management for services
US20130152097A1 (en) Resource Health Based Scheduling of Workload Tasks
US20160077846A1 (en) Resource credit pools for replenishing instance resource credit balances of virtual compute instances
US9300759B1 (en) API calls with dependencies
US20110231457A1 (en) Monitoring and managing job resources for database tasks
WO2007149188A1 (en) Method, system, and apparatus for scheduling computer micro-jobs to execute at non-disruptive times
US9800516B2 (en) Method and apparatus for managing allocation of communication resources
CN110971591B (en) Method and system for multi-process access to trusted application
CN107995286B (en) Automatic service starting and stopping method based on dubbo platform, server and storage medium
US7970814B2 (en) Method and apparatus for providing a synchronous interface for an asynchronous service
CN111709723B (en) RPA business process intelligent processing method, device, computer equipment and storage medium
CN112148480A (en) Task processing method, device and equipment based on multithreading and storage medium
TW200813845A (en) Resource-based scheduler
TWI556612B (en) Timeout controlling unit for remote procedure call and method for remote procedure call
US11074112B2 (en) Maintaining the responsiveness of a user interface while performing a synchronous operation