TWI614688B - Command pool management system and method - Google Patents

Command pool management system and method Download PDF

Info

Publication number
TWI614688B
TWI614688B TW105102300A TW105102300A TWI614688B TW I614688 B TWI614688 B TW I614688B TW 105102300 A TW105102300 A TW 105102300A TW 105102300 A TW105102300 A TW 105102300A TW I614688 B TWI614688 B TW I614688B
Authority
TW
Taiwan
Prior art keywords
instruction
execution
module
pool
status
Prior art date
Application number
TW105102300A
Other languages
Chinese (zh)
Other versions
TW201727483A (en
Inventor
Wei Chih Chen
Chih Lung Liao
Original Assignee
Chunghwa Telecom Co Ltd
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 Chunghwa Telecom Co Ltd filed Critical Chunghwa Telecom Co Ltd
Priority to TW105102300A priority Critical patent/TWI614688B/en
Publication of TW201727483A publication Critical patent/TW201727483A/en
Application granted granted Critical
Publication of TWI614688B publication Critical patent/TWI614688B/en

Links

Landscapes

  • Debugging And Monitoring (AREA)

Description

指令池管理系統與方法 Command pool management system and method

本發明有關於一種指令池管理系統與方法,主要是一種長時儲存並追蹤指令執行狀況的管理系統與方法。 The invention relates to a command pool management system and method, and mainly relates to a management system and method for storing and tracking the execution status of an instruction for a long time.

現今雲端運算成為一種網路環境極受重視的多工處理方法,而遇到耗時並消耗資源的大量運算時,常會以後端任務排程方式待系統進行自動運算。 Nowadays, cloud computing has become a multiplex processing method that is highly valued in the network environment. When a large number of operations that consume time and consume resources are encountered, the future task scheduling mode is often performed by the system.

然而執行運算時若任一環節發生錯誤,或是任一環節系統的負荷過重影響系統效能,可能造成系統停止服務,交付的工作無法執行並很可能在錯誤中遺失,若沒有一個有效的追蹤監控系統,就算系統復工,或是管理人員介入後,亦難以掌握現在的任務進行狀況。 However, if an error occurs in any part of the operation, or if the load on any part of the system affects the system performance, the system may be out of service, the delivered work cannot be performed and is likely to be lost in the error. If there is no effective tracking and monitoring. The system, even if the system is resumed, or the management personnel intervene, it is difficult to grasp the current status of the task.

目前的任務排程與指派系統皆存在上述的隱憂,故開展出一種可以有效留存並追蹤工作的管理系統與方法,實為系統管理人員所亟需之改良。 The current task scheduling and assignment systems all have the above-mentioned hidden concerns, so a management system and method that can effectively retain and track the work is carried out, which is an improvement that system administrators need.

本發明提出一種指令池管理系統與方法,其主要之目的是長時間留存指令,以避免無法對各指令之處理狀況進行追蹤或指令遺失。 The invention provides a command pool management system and method, the main purpose of which is to retain instructions for a long time to avoid being unable to track the processing status of each instruction or to lose instructions.

本發明之另一目的是系統可根據各指令之處理狀況(主要是執行失敗等狀況)自動進行再處理。 Another object of the present invention is that the system can automatically perform reprocessing according to the processing status of each instruction (mainly due to execution failure, etc.).

本發明主要是參考資源池(resource pool)之概念,將工作包裝成指令存放於指令池(command pool),當執行完成才移除;當指令因系統故障或其他因素而無法派送或執行失敗時,因其已被指令池儲存,故指令並不會遺失,可由外部管理人員手動或系統恢復後自動重新執行未完成的指令,可以減少系統因當機或電源中斷時所需的修復時間和管理成本。 The invention mainly refers to the concept of a resource pool, and packages the work into instructions in a command pool, which is removed when the execution is completed; when the instruction fails to be dispatched or fails due to a system failure or other factors; Because it has been stored in the instruction pool, the instructions will not be lost. The external management can manually re-execute the unfinished instructions after manual or system recovery, which can reduce the repair time and management required when the system is interrupted due to crash or power supply. cost.

本發明之指令池管理系統架構如下,其包含有一指令池,該指令池用以接收並備份儲存由外部輸入系統的複數指令,各該指令係為外部模組將其欲執行之工作內容、工作時序或欲送往之目的地打包而形成之資訊;該指令池更會依據各該指令被輸入之時序或各該指令之特殊需求對各該指令分類入堆疊(執行中、等待中、需再執行等堆疊)以待後續之派送和追蹤處理。 The instruction pool management system of the present invention is structured as follows, and includes a command pool for receiving and backing up and storing a plurality of instructions input by an external input system, each of which is an external module to perform work and work to be performed by the external module. The timing or the information to be sent to the destination package; the instruction pool will classify each instruction into the stack according to the timing of each instruction input or the special requirements of the instruction (execution, waiting, need to Perform stacking and so on) for subsequent delivery and tracking processing.

本發明之指令池管理系統中,該指令池包含一指令管理模組,該指令管理模組係用以派送前述該指令池中各該指令至其目的地,亦即各該指令所被指派的外部執行模組,各該指令將在被指派的外部執行模組被執行;而該指令管理模組可根據各該指令被派送之狀態或各該指令後續被執行之狀態以賦予各該指令資訊對應的一標記,其中該標記包含:各該指令若無法派送時的派送失敗原因,或被送至外部執行模組然而執行失敗之原因,或被派送或再派送的次數,或被外部執行模組執行或再執行的次數,或預設各該指令若滿足特定條件即可由該指令管理模組自動再次執行之參數,或各 該指令須由外部人員手動執行之參數。 In the instruction pool management system of the present invention, the instruction pool includes an instruction management module for dispatching each of the instructions in the instruction pool to its destination, that is, each instruction is assigned. An external execution module, each of which is executed at an assigned external execution module; and the instruction management module can assign a status to each of the instructions according to a status of each of the instructions or a status of each subsequent execution of the instruction. Corresponding a mark, wherein the mark includes: a reason for the failure of the delivery if the instruction cannot be delivered, or the reason for the failure to be sent to the external execution module, or the number of times of being dispatched or re-delivered, or being executed externally The number of times the group executes or re-executes, or presets the parameters that each instruction can automatically execute again by the command management module if certain conditions are met, or The instruction must be manually executed by an external person.

該指令池具有一下游追蹤模組,該下游追蹤模組係與各該指令對應的外部執行模組連結,並據此監控各該指令對應的外部執行模組的執行狀態或負載狀態,再將外部執行模組的執行狀態或負載狀態回饋該指令管理模組;其中,該下游追蹤模組監控所有與其連結的外部執行模組執行所有指令的整體效率,或外部執行模組的任務(指令)負載狀態,或外部執行模組的執行排程狀態,或外部執行模組執行指令完成之狀態,或外部執行模組執行指令失敗之狀態或執行失敗原因,或外部執行模組之異常狀態(斷線、離線、斷電、壅塞、停滯或毀損等),該下游追蹤模組會將該些訊息傳輸至該指令管理模組以利該指令管理模組對其他排程派送之指令資訊進行控管。 The instruction pool has a downstream tracking module, and the downstream tracking module is connected with an external execution module corresponding to each instruction, and accordingly monitors an execution state or a load state of an external execution module corresponding to each instruction, and then The execution status or load status of the external execution module is fed back to the instruction management module; wherein the downstream tracking module monitors the overall efficiency of all instructions executed by the external execution module connected thereto, or the task (instruction) of the external execution module The load status, or the execution scheduling status of the external execution module, or the state in which the external execution module execution instruction is completed, or the state in which the external execution module execution instruction fails or the cause of the execution failure, or the abnormal status of the external execution module (off) Line, offline, power outage, congestion, stagnation or damage, etc.), the downstream tracking module will transmit the message to the command management module to facilitate the command management module to control the command information of other scheduled dispatches. .

該指令池更包含一指令紀錄模組,該指令紀錄模組係用以紀錄由前述該指令管理模組派送各該指令之派送狀態,或各該指令被派送至外部執行模組的後續執行狀態,或由前述該指令管理模組賦予各該指令之該標記,該指令紀錄模組主要是將各該指令被派送、派送失敗或執行失敗等等情形與原因紀錄下,以待該指令管理模組再次進行派送或以待外部人員檢視或手動執行。 The instruction pool further includes an instruction recording module for recording the delivery status of each instruction sent by the instruction management module, or the subsequent execution status of each instruction being sent to the external execution module. Or the instruction of the instruction module is given by the instruction management module, and the instruction record module mainly records the situation and the reason that each instruction is dispatched, failed to deliver, or fails to execute, and waits for the instruction management mode. The group will be dispatched again or to be viewed by external personnel or manually.

而前述該指令管理模組可以根據該標記紀錄之狀況判斷是否可重新再派送各該指令,若先前標記紀錄之狀況已排除,或時機適合重新派送,或應特殊要求需重新派送,該指令管理模組會因應該些狀況再派送各該指令至對應的外部執行模組以進行後續執行,該指令管理模組並將在外部執行模組執行成功的各該指令自指令池中抹除;若先前標記紀 錄之狀況未排除,或先前標記紀錄之狀況滿足需手動執行之狀況,該指令管理模組則將各該指令留待外部人員以手動方式進行派送或執行,此種自動根據各指令之處理狀況進行再處理之功效,即為本發明之系統所欲達成之一功效。 The command management module can determine whether the instruction can be re-delivered according to the status of the marked record. If the status of the previously marked record has been excluded, or the timing is suitable for re-delivery, or the special request needs to be re-delivered, the command management The module will send each instruction to the corresponding external execution module for subsequent execution according to the situation, and the instruction management module erases each instruction of the external execution module successfully from the instruction pool; Previous marker If the status of the recording is not excluded, or the status of the previously marked record satisfies the condition that needs to be manually executed, the instruction management module leaves the instruction to the external personnel for manual delivery or execution, which is automatically performed according to the processing status of each instruction. The effect of reprocessing is one of the effects desired by the system of the present invention.

而本系統中該指令池在其可容納記憶容量之極限內會長時儲存所有各該指令,直至各該指令被成功執行後抹除、記憶容量不足被自動抹除或被外部人員手動抹除為止,此種長時間留存指令以免無法追蹤各指令之處理狀況之功效,即為本發明系統所欲達成之主要功效。 In the system, the instruction pool stores all the instructions for a long time within the limit of the memory capacity, until the instructions are successfully executed, erased, insufficient memory capacity is automatically erased or manually erased by external personnel. Such long-term retention instructions are not able to track the effectiveness of the processing conditions of the instructions, which is the main effect desired by the system of the present invention.

在本發明之指令池管理系統架構下,本發明之指令池管理方法步驟可以列舉如下:(1)一指令池接收外部輸入的將工作包裝而成的複數指令;(2)該指令池備份儲存各該指令;(3)該指令池中一指令管理模組派送各該指令至對應的外部執行模組;(4)該指令管理模組根據各該指令之派送狀態或後續工作執行狀態賦予各該指令一標記;(5)該指令池中一下游追蹤模組監控各該指令對應的外部執行模組的工作執行狀態及負載狀態並回饋該指令管理模組;(6)該指令池中一指令紀錄模組紀錄各該指令之派送狀態、後續工作執行狀態或該標記;(7)該指令管理模組根據該標記再派送各該指令;(8)該指令管理模組被外部人員控制以重複派送各該指令;以及(9)該指令管理模組將被外部執行模組執行成功的各該指令 於該指令池內的備份抹除。 In the instruction pool management system architecture of the present invention, the instruction pool management method steps of the present invention can be enumerated as follows: (1) an instruction pool receives an externally input complex instruction that is packaged by work; (2) the instruction pool is backed up and stored. Each of the instructions; (3) an instruction management module in the instruction pool dispatches each instruction to a corresponding external execution module; (4) the instruction management module assigns each according to a delivery status of each instruction or a subsequent execution status The instruction is a mark; (5) a downstream tracking module in the instruction pool monitors the work execution state and load status of each external execution module corresponding to the instruction and feeds back the instruction management module; (6) one of the instruction pools The command record module records the dispatch status of each instruction, the subsequent work execution status or the mark; (7) the command management module sends each instruction according to the mark; (8) the command management module is controlled by an external person Repeatedly dispatching each of the instructions; and (9) the instruction management module will be executed by the external execution module. The backup in the instruction pool is erased.

可知本系統之指令池管理系統與方法,確達成了先前技術中,工作的執行因系統故障而遺失而難以管理和重新執行之狀況。 It can be seen that the instruction pool management system and method of the system have achieved the situation in the prior art that the execution of the work is lost due to system failure and is difficult to manage and re-execute.

本系統之指令池管理系統與方法,亦可另外針對各個外部執行模組以限制送出指令數量,進而限制同一時間外部執行模組內最大指令處理的數量,可避免因外部執行模組瞬間負載過大造成不穩定和資料處理不正確之可能性,可以提升整體系統處理指令內工作的穩定度和可靠性。 The instruction pool management system and method of the system may additionally limit the number of instructions sent to each external execution module, thereby limiting the maximum number of instruction processing in the external execution module at the same time, thereby avoiding excessive transient load of the external execution module. The possibility of instability and incorrect data processing can improve the stability and reliability of the work within the overall system processing instructions.

1‧‧‧指令池 1‧‧‧Command Pool

101‧‧‧指令管理模組 101‧‧‧Instruction Management Module

102‧‧‧下游追蹤模組 102‧‧‧Downstream tracking module

103‧‧‧指令紀錄模組 103‧‧‧Instruction Recording Module

201‧‧‧第A外部執行模組 201‧‧‧Ath external execution module

202‧‧‧第B外部執行模組 202‧‧‧B external execution module

203‧‧‧第C外部執行模組 203‧‧‧C external execution module

204‧‧‧第D外部執行模組 204‧‧‧Dth external execution module

S301~S307‧‧‧步驟流程 S301~S307‧‧‧Step procedure

圖1為本發明指令池管理系統之系統架構示意圖。 FIG. 1 is a schematic diagram of a system architecture of a command pool management system according to the present invention.

圖2為本發明指令池管理系統排程派送指令之一範例示意圖。 2 is a schematic diagram showing an example of a schedule dispatching instruction of the instruction pool management system of the present invention.

圖3為本發明指令池管理系統之方法流程示意圖。 3 is a schematic flow chart of a method of a command pool management system according to the present invention.

以下將以實施例結合圖式對本發明指令池管理系統與方法進行進一步說明,以使本發明之內容可以被更佳的理解。 The instruction pool management system and method of the present invention will be further described in the following embodiments in conjunction with the drawings, so that the contents of the present invention can be better understood.

首先請參照圖1,圖1係為本發明指令池管理系統之系統架構示意圖,由圖中可以見到指令池1中包含有三個模組,分別為指令管理模組101、下游追蹤模組102以及指令紀錄模組103,其中,指令池1會將輸入其中的指令備份儲存,而該指令管理模組101則用以排程並派送輸入指令池1 中之指令至對應外部執行模組的模組,係為本發明指令池管理系統之核心,該指令管理模組101更可依據指令的派送狀態或指令被派送後的工作執行狀態以賦予各該指令一標記;而下游追蹤模組102則為監視下游複數個外部執行模組的工作或負載狀態,並可將追蹤所得該些外部執行模組的工作狀況、錯誤狀況以及指令被送入後的執行成功與否狀況回報給指令管理模組101,以利指令管理模組101進行整體派送的決策;其中,指令紀錄模組103則負責將指令管理模組101對指令的排程、處理狀況和所作之標記儲存,以便外部管理人員可以追蹤每一筆指令之去向或有無成功執行之結果,並可以進行後續的處理或抹除。 First, please refer to FIG. 1. FIG. 1 is a schematic diagram of a system architecture of a command pool management system according to the present invention. It can be seen that the instruction pool 1 includes three modules, namely, an instruction management module 101 and a downstream tracking module 102. And the instruction record module 103, wherein the instruction pool 1 stores the instructions input thereto, and the instruction management module 101 is used for scheduling and dispatching the input instruction pool 1 The instruction from the instruction to the module corresponding to the external execution module is the core of the instruction pool management system of the present invention, and the instruction management module 101 can further assign the work execution status according to the dispatch status of the instruction or the instruction. The instruction-marking is performed by the downstream tracking module 102, and the working status or load status of the plurality of external execution modules is monitored, and the working status, error status, and instructions of the external execution modules are tracked. The execution success or failure status is reported to the instruction management module 101 for the instruction management module 101 to make an overall delivery decision; wherein the instruction record module 103 is responsible for scheduling the instruction processing module 101 for processing instructions and processing status. The markup is stored so that external managers can track the whereabouts of each instruction or the results of successful execution, and can perform subsequent processing or erasure.

再來請參照圖2,圖2係為本發明指令池管理系統排程派送指令的一範例示意圖,圖中每一筆指令皆以指令兩字後附帶有一英文字符及一數字之模式記載,指令後所附帶之英文字符標記代表意思為該需處理指令之特定外部執行模組編號,而指令後之英文字符後附帶之數字標記代表意思為該指令為特定外部執行模組需處理一系列指令中之順序號數,舉例來說:指令A.3所代表意思為該指令係為應該被指派至外部執行模組A的第3號指令,圖中其餘指令所表之意義則以此類推。 Referring to FIG. 2, FIG. 2 is a schematic diagram of an example of a dispatching instruction of the instruction pool management system of the present invention. Each instruction in the figure is recorded with an English character and a number after the instruction word. The accompanying English character mark means a specific external execution module number that means the instruction to be processed, and the digital mark attached to the English character after the instruction means that the instruction is a specific external execution module to process a series of instructions. The sequence number, for example, the meaning of the instruction A.3 means that the instruction is the third instruction that should be assigned to the external execution module A, and the meanings of the remaining instructions in the figure are deduced by analogy.

由圖2中可見,指令池1與四個外部執行模組相連接,分別為第A外部執行模組201、第B外部執行模組202、第C外部執行模組203以及第D外部執行模組204,其中,各外部執行模組所標記的最大指令數量係為本發明之指令池1因應外部執行模組的負載所設定完成之規劃,圖中可見第A外部執行模組所能承載並執行之最大指令數量為2,而第B 外部執行模組所能承載並執行之最大指令數量為3,第C外部執行模組所能承載並執行之最大指令數量為2,第D外部執行模組所能承載並執行之最大指令數量亦為2。 As can be seen from FIG. 2, the instruction pool 1 is connected to four external execution modules, namely, an A external execution module 201, a B external execution module 202, a C external execution module 203, and a D external execution module. The group 204, wherein the maximum number of instructions marked by each external execution module is a plan for the instruction pool 1 of the present invention to be completed according to the load of the external execution module, and the A external execution module can be carried and The maximum number of instructions executed is 2, and the number B The maximum number of instructions that the external execution module can carry and execute is 3, and the maximum number of instructions that the C external execution module can carry and execute is 2, and the maximum number of instructions that the D external execution module can carry and execute is also Is 2.

由圖2上側可見到有一組新指令準備被輸入指令池1,其分別為指令A.3、指令B.5、指令C.2以及指令D.2。 It can be seen from the upper side of Fig. 2 that a new set of instructions is ready to be input into the instruction pool 1, which are instruction A.3, instruction B.5, instruction C.2, and instruction D.2, respectively.

而指令池1中追蹤有多個已被排程之指令,本範例中有三個排程堆疊,分別為等待中堆疊、執行中堆疊、等待自動/手動重派送堆疊,其中,執行中堆疊為下游追蹤模組所追蹤並回報指令管理模組的各個執行中指令所形成之堆疊;而等待中堆疊則為指令管理模組準備派送出的各個指令所形成之堆疊;最後,等待自動/手動重派送堆疊則為有狀況並未被派送或派送出去為執行成功的各個指令所形成之堆疊。 In the instruction pool 1, there are multiple instructions that have been scheduled. In this example, there are three scheduling stacks, which are waiting for stacking, performing stacking, and waiting for automatic/manual re-delivery. Among them, the stack is downstream. The tracking module tracks and reports the stack formed by the various execution instructions of the instruction management module; and the waiting stacking is the stack formed by the instruction management module to prepare the dispatched instructions; finally, waiting for the automatic/manual retransmission A stack is a stack formed by individual instructions that have not been dispatched or dispatched for execution.

指令池1的等待中堆疊有兩個指令,為分別需發送至第A外部執行模組201的指令A.2以及需發送至第B外部執行模組202的指令B.4,圖中可見,因為第A外部執行模組尚未滿載,指令A.2將隨即被派送至第A外部執行模組201,然而,指令B.4仍會在堆疊中繼續等待一段時間,乃是因為第B外部執行模組所能承載執行之最大指令數量為3,此時第B外部執行模組已達最大承載量,故指令池1會令指令B.4等待至第B外部執行模組清出可執行空間才進行指令B.4的派送。 There are two instructions in the waiting for the instruction pool 1 to be sent to the instruction A.2 of the A external execution module 201 and the instruction B.4 to be sent to the B external execution module 202, respectively. Because the A external execution module is not fully loaded, the command A.2 will be dispatched to the A external execution module 201. However, the instruction B.4 will continue to wait for a period of time in the stack, because the B external execution The maximum number of instructions that the module can carry is 3, and the B external execution module has reached the maximum load capacity. Therefore, the instruction pool 1 will wait for the instruction B.4 to wait until the B external execution module clears the executable space. Only the delivery of instruction B.4 is performed.

請繼續參照圖2,指令池1的執行中堆疊有四個指令,分別目前已在第A外部執行模組201及第B外部執行模組202執行中的指令A.1、指令B.1、指令B.2以及指令B.3,對照圖中下方外部執行模組承載執行中之指令內容可得一一對應。 Referring to FIG. 2, four instructions are stacked in the execution of the instruction pool 1. The instructions A.1 and B.1 are currently executed in the execution modules 201 and B of the external executable module 201. The instruction B.2 and the instruction B.3 have a one-to-one correspondence with the contents of the instruction in the execution of the lower external execution module in the figure.

指令池1的等待自動/手動重派送堆疊中有一個指令,係為指令C.1,其係為須派送至第C外部執行模組203的第一個指令,然而由圖中可見,雖第C外部執行模組可承載之最大指令數為2,然而第C外部執行模組目前處於故障狀態,故指令管理模組在接收下游追蹤模組之監視狀況進而得知此情況後,指令管理模組並不會將指令C.1派送出去,而是將指令C.1排入自動/手動重派送堆疊並進行標記,而指令紀錄模組亦會特別紀錄將此指令C.1與標記,以待故障狀況排除可自動重派送或是外部管理人員以手動方式進行處理。 The instruction pool 1 has an instruction in the automatic/manual retransmission stack, which is the instruction C.1, which is the first instruction to be sent to the C external execution module 203. However, as can be seen from the figure, The maximum number of instructions that can be carried by the C external execution module is 2. However, the C external execution module is currently in a fault state, so the command management module receives the monitoring status of the downstream tracking module and learns the situation. The group does not send the command C.1, but the command C.1 is placed in the automatic/manual re-delivery stack and marked, and the command record module will also record this command C.1 and mark specifically. The fault condition can be automatically reassigned or handled manually by an external manager.

請繼續參照圖2,第D外部執行模組204中有一指令D.1,因第D外部執行模組對該指令D.1進行執行之過程出現錯誤故執行失敗,指令管理模組在接收下游追蹤模組之監視狀況得知此情況後,該指令D.1隨即會被進行標記並由執行中堆疊被排入自動/手動重派送堆疊,可以視為該指令D.1被退回並被系統標記列管,以待一預定時間後自動重派送或是外部管理人員以手動方式進行處理。 Referring to FIG. 2, the D external execution module 204 has an instruction D.1. Because the D external execution module executes an error in the execution of the instruction D.1, the execution fails, and the instruction management module receives the downstream. After monitoring the status of the tracking module, the command D.1 will be marked and will be discharged into the automatic/manual re-delivery stack by the execution stack, which can be regarded as the instruction D.1 is returned and the system is returned. Mark the tube to be automatically rescheduled after a predetermined time or manually processed by an external manager.

根據圖2配合上述範例之解釋,當可詳細理解本發明指令池管理系統實際處理指令的運行過程。 According to FIG. 2, in conjunction with the explanation of the above examples, the operation process of the actual processing instruction of the instruction pool management system of the present invention can be understood in detail.

再來請參照圖3,係為本發明指令池管理系統所對應之方法流程示意圖,根據此方法流程圖可逐步了解本發明之方法步驟,如下所列:步驟S301、指令輸入指令池,指令管理模組將其狀態設定為等待中;步驟S302、下游追蹤模組定期檢查各外部執行模組狀態; 步驟S303、下游追蹤模組判斷欲派送指令前往之外部執行模組負載狀態是否可接受指令,若否,則返回步驟S302,若是,則進入步驟S304;步驟S304、指令管理模組將指令派送至欲派送指令前往之外部執行模組;步驟S305、下游追蹤模組追蹤指令在外部執行模組的執行是否成功,若否,則進入步驟S307,若是,則進入步驟S306;步驟S306、指令執行成功,指令管理模組將指令自指令池抹除;以及步驟S307、指令執行失敗,指令管理模組將指令標記,並送入等待自動/手動重新派送的堆疊,以等待後續處理。 Referring to FIG. 3, it is a schematic flowchart of a method corresponding to the instruction pool management system of the present invention. According to the method flowchart, the method steps of the present invention can be gradually understood, as follows: Step S301, instruction input instruction pool, instruction management The module sets its state to wait; in step S302, the downstream tracking module periodically checks the status of each external execution module; Step S303: The downstream tracking module determines whether the external execution module load status is to be sent to the external execution module, and if not, returns to step S302, and if yes, proceeds to step S304; the step S304, the instruction management module sends the instruction to Step S305: The downstream tracking module tracking instruction is successfully executed by the external execution module. If no, the process proceeds to step S307. If yes, the process proceeds to step S306; and the step S306 is executed successfully. The instruction management module erases the instruction from the instruction pool; and in step S307, the instruction execution fails, and the instruction management module marks the instruction and sends it to the stack waiting for automatic/manual re-delivery to wait for subsequent processing.

本發明指令池管理系統解決了傳統系統中工作的執行易於遺失,難以管理和重新派送執行之問題。 The instruction pool management system of the present invention solves the problem that the execution of work in the conventional system is easy to be lost, and it is difficult to manage and re-deliver execution.

本發明亦解決了且系統工作量大時,下游處理模組因無法負荷大量工作而造成之運作不穩或效能低落的問題。 The invention also solves the problem that the downstream processing module is unstable or has low performance due to the inability to load a large amount of work when the system workload is large.

綜上所述,本發明於技術思想上實屬創新,也具備先前技術不及的多種功效,已充分符合新穎性及進步性之法定發明專利要件,爰依法提出專利申請,懇請 貴局核准本件發明專利申請案以勵發明,至感德便。 In summary, the present invention is innovative in terms of technical ideas, and also has various functions that are not in the prior art, and has fully complied with the statutory invention patent requirements of novelty and progressiveness, and has filed a patent application according to law, and invites you to approve the invention. The patent application was inspired to invent, and it was a matter of feeling.

S301~S307‧‧‧步驟流程 S301~S307‧‧‧Step procedure

Claims (6)

一種指令池管理系統,其包含:一指令池,係用以長時儲存自外部輸入將工作包裝於其內的複數指令,該指令池並排程派送和追蹤各該指令;其中,該指令池包含:一指令管理模組,用以派送各該指令至對應的外部執行模組並根據各該指令之派送狀態或後續工作執行狀態賦予各該指令一標記;一下游追蹤模組,用以監控各該指令對應的外部執行模組的工作執行狀態及負載狀態,並回饋該指令管理模組;以及一指令紀錄模組,用以儲存紀錄各該指令之派送狀態、後續工作執行狀態或該標記;其中,該指令管理模組可根據該標記重複派送各該指令並將被外部執行模組成功執行之各該指令抹除;其中,各該指令可由外部人員控制該指令管理模組以重複派送。 An instruction pool management system includes: a command pool for storing a plurality of instructions for packaging a work from an external input, the pool of instructions dispatching and tracking each instruction; wherein the instruction pool includes An instruction management module is configured to send each instruction to a corresponding external execution module and assign a mark to each instruction according to a delivery state or a subsequent work execution state of each instruction; a downstream tracking module for monitoring each The instruction execution state and the load state of the external execution module corresponding to the instruction, and feedback the instruction management module; and an instruction recording module for storing and recording the delivery status of each instruction, the subsequent work execution status or the flag; The instruction management module can repeatedly send each instruction according to the mark and erase each instruction successfully executed by the external execution module; wherein each instruction can be controlled by an external person to be repeatedly sent. 如申請專利範圍第1項所述之指令池管理系統,其中該標記包含各該指令的派送失敗原因、執行失敗原因、派送次數、執行次數、自動執行參數或手動執行參數。 The instruction pool management system of claim 1, wherein the tag includes a delivery failure reason, an execution failure reason, a delivery number, an execution count, an automatic execution parameter, or a manual execution parameter of each instruction. 如申請專利範圍第1項所述之指令池管理系統,其中該下游追蹤模組監控對應的外部執行模組的整體執行效率、執行負載狀態、執行排程狀態、執行完成狀態、執行失敗狀態、執行失敗原因或模組異常狀態。 The instruction pool management system of claim 1, wherein the downstream tracking module monitors overall execution efficiency, execution load status, execution scheduling status, execution completion status, execution failure status, and execution failure status of the corresponding external execution module, The reason for the failure or the abnormal state of the module. 一種指令池管理方法,其步驟包含: 一指令池接收外部輸入之將工作包裝於其內的複數指令;該指令池備份儲存各該指令;該指令池中一指令管理模組派送各該指令至對應的外部執行模組;該指令管理模組根據各該指令之派送狀態或後續工作執行狀態賦予各該指令一標記;該指令池中一下游追蹤模組監控各該指令對應的外部執行模組的工作執行狀態及負載狀態並回饋該指令管理模組;該指令池中一指令紀錄模組紀錄各該指令之派送狀態、後續工作執行狀態或該標記;該指令管理模組根據該標記再派送各該指令;該指令管理模組被外部人員控制以重複派送各該指令;以及該指令管理模組將被外部執行模組執行成功的各該指令於該指令池內的備份抹除。 A method of command pool management, the steps of which include: An instruction pool receives an external input of a plurality of instructions for packaging the work therein; the instruction pool backs up and stores each instruction; an instruction management module of the instruction pool dispatches each instruction to a corresponding external execution module; The module assigns a mark to each instruction according to a delivery state or a subsequent work execution state of the instruction; a downstream tracking module in the instruction pool monitors a work execution state and a load state of each external execution module corresponding to the instruction, and feeds back the An instruction management module; an instruction recording module in the instruction pool records a delivery status of each instruction, a subsequent execution status, or the flag; the instruction management module further sends the instruction according to the mark; the instruction management module is The external personnel controls to repeatedly dispatch each instruction; and the instruction management module erases the backup of the instruction executed by the external execution module in the instruction pool. 如申請專利範圍第4項所述之指令池管理方法,其中該標記包含各該指令的派送失敗原因、執行失敗原因、派送次數、執行次數、自動執行參數或手動執行參數。 The instruction pool management method of claim 4, wherein the tag includes a delivery failure reason, an execution failure reason, a delivery number, an execution count, an automatic execution parameter, or a manual execution parameter of each instruction. 如申請專利範圍第4項所述之指令池管理方法,其中該下游追蹤模組監控對應的外部執行模組的整體執行效率、執行負載狀態、執行排程狀態、執行完成狀態、執行失敗狀態、執行失敗原因或模組異常狀態。 The method for managing a command pool according to claim 4, wherein the downstream tracking module monitors overall execution efficiency, execution load status, execution scheduling status, execution completion status, execution failure status, and execution failure status of the corresponding external execution module, The reason for the failure or the abnormal state of the module.
TW105102300A 2016-01-26 2016-01-26 Command pool management system and method TWI614688B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW105102300A TWI614688B (en) 2016-01-26 2016-01-26 Command pool management system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW105102300A TWI614688B (en) 2016-01-26 2016-01-26 Command pool management system and method

Publications (2)

Publication Number Publication Date
TW201727483A TW201727483A (en) 2017-08-01
TWI614688B true TWI614688B (en) 2018-02-11

Family

ID=60186779

Family Applications (1)

Application Number Title Priority Date Filing Date
TW105102300A TWI614688B (en) 2016-01-26 2016-01-26 Command pool management system and method

Country Status (1)

Country Link
TW (1) TWI614688B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW528951B (en) * 2001-11-09 2003-04-21 Inventec Corp Data communication scheduling system and the method thereof
CN103294534A (en) * 2012-11-01 2013-09-11 北京安天电子设备有限公司 Task management system and method of distributed system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW528951B (en) * 2001-11-09 2003-04-21 Inventec Corp Data communication scheduling system and the method thereof
CN103294534A (en) * 2012-11-01 2013-09-11 北京安天电子设备有限公司 Task management system and method of distributed system

Also Published As

Publication number Publication date
TW201727483A (en) 2017-08-01

Similar Documents

Publication Publication Date Title
CN107885594A (en) Distributed resource scheduling method, scheduling node and access node
CN101464811B (en) Multitask monitoring management system
CN109471705B (en) Task scheduling method, device and system, and computer device
CN101166208B (en) A method and system for maintaining work automation
CN103744723A (en) Thread pool managing method and system
CN110611707B (en) Task scheduling method and device
CN103823719A (en) Distributed cloud computing system and distributed cloud computing method for executable program
CN107105009A (en) Job scheduling method and device based on Kubernetes system docking workflow engines
CN102508716A (en) Task control device and task control method
CN109710414A (en) A kind of job scheduling method, device, equipment and storage medium
CN107168260B (en) A kind of store management scheduling system of electric-power metering production
CN109710416B (en) Resource scheduling method and device
CN109298897A (en) A kind of system and method that the task using resource group is distributed
TWI614688B (en) Command pool management system and method
Lewczuk The study on the automated storage and retrieval system dependability
CN107273232A (en) A kind of Enterprise Informatization system self-healing dispatching method
CN106648847A (en) Asynchronous task management method and device in cloud computing operation system
CN103853713A (en) Efficient storage method of mass data
TWI541751B (en) Automatic resource deliverying apparatus and method thereof
US20130185726A1 (en) Method for Synchronous Execution of Programs in a Redundant Automation System
CN105025104A (en) Cloud desktop scheduling method and system
CN105187482A (en) PaaS platform fault self-recovery realizing method and message server
CN109242138A (en) The same automatic movement system of city cargo based on stack task management
CN111638965B (en) Command queue inter-fence synchronization method and system based on fence replication and handshake
CN117112121A (en) Distributed task processing system, method, apparatus and computer program product