[go: up one dir, main page]

TWI768982B - Table deployment system and method thereof - Google Patents

Table deployment system and method thereof Download PDF

Info

Publication number
TWI768982B
TWI768982B TW110123019A TW110123019A TWI768982B TW I768982 B TWI768982 B TW I768982B TW 110123019 A TW110123019 A TW 110123019A TW 110123019 A TW110123019 A TW 110123019A TW I768982 B TWI768982 B TW I768982B
Authority
TW
Taiwan
Prior art keywords
deployment
work
update
packages
executors
Prior art date
Application number
TW110123019A
Other languages
Chinese (zh)
Other versions
TW202301175A (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 TW110123019A priority Critical patent/TWI768982B/en
Application granted granted Critical
Publication of TWI768982B publication Critical patent/TWI768982B/en
Publication of TW202301175A publication Critical patent/TW202301175A/en

Links

Images

Landscapes

  • Pharmaceuticals Containing Other Organic And Inorganic Compounds (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Electrotherapy Devices (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The table deployment system includes a deployment manager, deployment executors and a deployment monitor. The deployment manager receives work tables and divides the work tables into table work packages for distribution in sequence. These table work packages have a specific number of work tables. The deployment executors sequentially receive these table work packages to unpack the received table work packages into the specific number of work tables, so as to perform an update transaction procedure on the work tables respectively. The deployment monitor retrieves and displays the results of these deployment executors executing the update transaction process.

Description

表格佈署系統和其方法Form deployment system and method therefor

本發明係有關於一種表格佈署系統和其方法,特別是有關於一種利用生產排程之表格佈署系統和其方法。The present invention relates to a table deployment system and a method thereof, and more particularly, to a table deployment system and method using production scheduling.

企業資源規劃(Enterprise Resource Planning,ERP)ERP系統可將企業內部包括財務、會計、人力資源、製造、以及銷售等作業流程所需要的作業資訊、藉由組織與流程的規劃以及資訊技術的運用以達到有效的整合,並即時反應企業內部資源使用狀況以提供企業決策之參考,進而能夠增加企業競爭優勢的一種整合型資訊系統。Enterprise Resource Planning (ERP) ERP system can integrate the operation information required by the operation process of finance, accounting, human resources, manufacturing, and sales within the enterprise, through the planning of organization and process and the application of information technology. It is an integrated information system that achieves effective integration and instantly reflects the use of internal resources of the enterprise to provide a reference for enterprise decision-making, thereby increasing the competitive advantage of the enterprise.

由於ERP系統可以整合各部門的工作流程,因此ERP系統必須使用許多的工作表格來有效的管理物資特性以及資源異動,例如利用工作表格管理存貨生產、訂單生產或訂單裝配等等。然而,由於ERP系統運作過程中,經常性地需要依照需求進行工作表格格式的異動。一旦經過一段時間的修改累積, 所需更新之工作表格數量為數眾多,在更新時常需專業人員的介入及監督,致使耗費大量的時間與人力。也容易因人為疏失或無妥善監督界面造成工作表格更新失敗,反需要花費更多人力進行善後工作。Since the ERP system can integrate the work processes of various departments, the ERP system must use many worksheets to effectively manage material characteristics and resource changes, such as using worksheets to manage inventory production, order production or order assembly. However, due to the operation process of the ERP system, it is often necessary to change the work table format according to the requirements. Once the revisions are accumulated over a period of time, there are a large number of worksheets that need to be updated, and the intervention and supervision of professionals are often required during the update, which consumes a lot of time and manpower. It is also easy to fail to update the worksheet due to human negligence or lack of proper supervision of the interface, which requires more manpower to carry out the aftermath.

本案的一實施態樣係提供一種表格佈署系統,包含:一佈署管理器,用以接收複數張工作表格,以及將該些張工作表格拆分為複數個表格工作包並依序進行分派,其中該些表格工作包均具有一特定數量的工作表格;複數個佈署執行器耦接該佈署管理器,該些個佈署執行器用以依序接收該佈署管理器所分派的該些個表格工作包,其中每一該些佈署執行器對應將所接收的該表格工作包進行解包出該特定數量的工作表格,以及對該特定數量的工作表格分別執行一更新異動程序;以及一佈署監控器耦接該些個佈署執行器,用以擷取該些個佈署執行器執行該更新異動程序之結果並進行顯示。An embodiment of the present application provides a form deployment system, including: a deployment manager for receiving a plurality of work forms, and dividing the work forms into a plurality of form work packages and dispatching them in sequence , wherein each of the form work packages has a specific number of work forms; a plurality of deployment executors are coupled to the deployment manager, and the plurality of deployment executors are used to sequentially receive the a plurality of form work packages, wherein each of the deployment executors correspondingly unpacks the received form work package to produce the specific number of work forms, and respectively executes an update change procedure for the specific number of work forms; and a deployment monitor coupled to the deployment executors for capturing and displaying the results of executing the update transaction procedure by the deployment executors.

本案的另一實施態樣係提供一種表格佈署方法,包含:使用一佈署管理器來接收複數張工作表格,以及將該些張工作表格拆分為複數個表格工作包並進行一分派程序來分派該些個表格工作包,其中該些表格工作包均具有一特定數量的工作表格;使用複數個佈署執行器依序接收該佈署管理器所分派的該些個表格工作包,其中每一該些佈署執行器對應將所接收的該表格工作包進行解包出該特定數量的工作表格,以及對該特定數量的工作表格分別執行一更新異動程序;以及使用一佈署監控器擷取該些個佈署執行器執行該更新異動程序之結果並進行顯示。Another embodiment of the present application provides a form deployment method, which includes: using a deployment manager to receive a plurality of work forms, and splitting the work forms into a plurality of form work packages and performing a dispatching process to dispatch the form work packages, wherein the form work packages have a specific number of work forms; use a plurality of deployment executors to sequentially receive the form work packages dispatched by the deployment manager, wherein Each of the deployment executors correspondingly unpacks the received form work package to produce the specific number of work forms, and respectively executes an update change procedure for the specific number of work forms; and uses a deployment monitor The results of executing the update transaction procedure by the deployment executors are captured and displayed.

在一實施例中,表格佈署方法更包括使用該佈署管理器來判斷該些表格工作包是否均已分派完成。In one embodiment, the table deployment method further includes using the deployment manager to determine whether the table work packages have all been dispatched.

在一實施例中,當該佈署管理器判斷該些表格工作包已分派完成,更包括判斷該些表格工作包中是否有異常之表格工作包;當該些表格工作包中不存在異常之表格工作包,則該佈署管理器完成該分派程序,以及當該些表格工作包中存在異常之表格工作包,則該佈署管理器將該異常之表格工作包之一更新紀錄狀態標示為更新異動失敗。In one embodiment, when the deployment manager determines that the table work packages have been dispatched, it further includes determining whether there are abnormal table work packages in the table work packages; when there is no abnormal table work package in the table work packages. form work package, the deployment manager completes the dispatch procedure, and when there is an abnormal form work package in the form work package, the deployment manager marks the status of an update record of the abnormal form work package as Update transaction failed.

在一實施例中,當該佈署管理器判斷該些表格工作包並未分派完成,更包括判斷是否已達到一系統資源使用上限;當達到該系統資源使用上限,該佈署管理器暫停該分派程序,以及當未達到該系統資源使用上限,該佈署管理器繼續該分派程序,分派一尚未執行更新的表格工作包給該佈署執行器。In one embodiment, when the deployment manager determines that the table work packages have not been dispatched, it further includes determining whether a system resource usage upper limit has been reached; when the system resource usage upper limit is reached, the deployment manager suspends the The dispatch process, and when the system resource usage limit is not reached, the deployment manager continues the dispatch process, dispatching a table work package that has not yet performed an update to the deployment executor.

在一實施例中,表格佈署方法更包括使用該些個佈署執行器來判斷在對該特定數量的工作表格分別執行該更新異動程序時是否發生異常。In one embodiment, the table deployment method further includes using the plurality of deployment executors to determine whether an exception occurs when executing the update operation procedure for the specific number of worksheets respectively.

在一實施例中,當執行該更新異動程序發生異常時,該佈署執行器將對應工作表格之一更新紀錄狀態標示為一更新異動失敗,以及當執行該更新異動程序並未發生異常時,該佈署執行器更判斷是否還有尚未執行該更新異動程序的工作表格。In one embodiment, when an exception occurs in the execution of the update transaction procedure, the deployment executor marks an update record state of the corresponding work table as an update transaction failure, and when the execution of the update transaction procedure does not occur abnormally, The deployment executor further determines whether there are worksheets for which the update transaction procedure has not yet been executed.

在一實施例中,當該佈署執行器判斷未有尚未執行該更新異動程序的工作表格,該佈署執行器更將具有該更新異動失敗標示的工作表格的對應表格工作包之一更新紀錄狀態標示為更新異動失敗。In one embodiment, when the deployment executor determines that there is no work form for which the update transaction procedure has not been executed, the deployment executor further records an update record of one of the work forms corresponding to the work form with the update transaction failure flag Status marked as update transaction failed.

在一實施例中,使用該佈署監控器擷取該些個佈署執行器執行該更新異動程序之結果更包括:使用該佈署監控器來週期性擷取每一該些表格工作包之該更新紀錄狀態。In one embodiment, using the deployment monitor to capture the results of executing the update transaction procedure by the deployment executors further includes: using the deployment monitor to periodically capture the results of each of the table work packages. The update record status.

在一實施例中,表格佈署方法更包括使用該佈署監控器接收一重新執行指令,以根據該重新執行指令呼叫一對應佈署執行器對對應的表格工作包重新執行該更新異動程序。In one embodiment, the table deployment method further includes using the deployment monitor to receive a re-execution instruction, so as to call a corresponding deployment executor to re-execute the update transaction procedure for the corresponding table work package according to the re-execution instruction.

因此,依據本案之技術內容,本案在執行工作表格更新異動時,先由佈署管理器將大量工作表格分拆成多個包含一定數量工作表格之表格工作包,再將此些表格工作包依序分派給佈署執行器進行工作表格更新異動,另用佈署監控器進行更新異動的即時監控及排錯處理程序,因此,藉由上述生產排程機制,來處理大量且複雜的表格異動程序,減少需額外人工判斷及處理的時間,並相對提高了系統的可利用率及可靠度。Therefore, according to the technical content of this case, when the worksheet update change is performed in this case, the deployment manager first splits a large number of worksheets into multiple worksheets containing a certain number of worksheets, and then divides these worksheets according to The sequence is dispatched to the deployment executor to perform the work table update transaction, and the deployment monitor is used to perform real-time monitoring and troubleshooting processing procedures for the update transaction. Therefore, the above production scheduling mechanism is used to handle a large number of complex table transaction procedures. , reducing the time required for additional manual judgment and processing, and relatively improving the availability and reliability of the system.

以下將以圖式及詳細敘述清楚說明本案之精神,任何所屬技術領域中具有通常知識者在瞭解本案之實施例後,當可由本案所教示之技術,加以改變及修飾,其並不脫離本案之精神與範圍。The following will clearly illustrate the spirit of this case with drawings and detailed descriptions. Anyone with ordinary knowledge in the technical field who understands the embodiments of this case can make changes and modifications by using the techniques taught in this case, which does not deviate from the principles of this case. spirit and scope.

本文之用語只為描述特定實施例,而無意為本案之限制。單數形式如“一”、“這”、“此”、“本”以及“該”,如本文所用,同樣也包含複數形式。The language used herein is for the purpose of describing particular embodiments and is not intended to be limiting. The singular forms such as "a", "the", "the", "this" and "the", as used herein, also include the plural forms.

關於本文中所使用之『耦接』或『連接』,均可指二或多個元件或裝置相互直接作實體接觸,或是相互間接作實體接觸,亦可指二或多個元件或裝置相互操作或動作。As used herein, "coupling" or "connection" may refer to two or more elements or devices in direct physical contact with each other, or in indirect physical contact with each other, and may also refer to two or more elements or devices with each other action or action.

關於本文中所使用之『包含』、『包括』、『具有』、『含有』等等,均為開放性的用語,即意指包含但不限於。The terms "comprising", "including", "having", "containing", etc. used in this document are all open-ended terms, meaning including but not limited to.

關於本文中所使用之『及/或』,係包括所述事物的任一或全部組合。As used herein, "and/or" includes any and all combinations of the stated things.

關於本文中所使用之用詞(terms),除有特別註明外,通常具有每個用詞使用在此領域中、在本案之內容中與特殊內容中的平常意義。某些用以描述本案之用詞將於下或在此說明書的別處討論,以提供本領域技術人員在有關本案之描述上額外的引導。Regarding the terms (terms) used in this article, unless otherwise specified, they usually have the ordinary meaning of each term used in this field, in the content of this case and in the special content. Certain terms used to describe the present case are discussed below or elsewhere in this specification to provide those skilled in the art with additional guidance in the description of the present case.

請參閱第1圖所繪示為本發明一較佳實施例之利用生產排程之表格佈署系統概略圖。表格佈署系統100係採用排程方法,將ERP系統中需要更新之多張工作表格預先進行排程處理,以在滿足系統資源的條件限制下順利完成多張工作表格的更新。在一實施例中,表格佈署系統100包含一佈署管理器110、多個佈署執行器112及一佈署監控器114。佈署管理器110用以將ERP系統中包含有多張欲更新工作表格的表格包拆分成多個表格工作包,並依序分派給此多個佈署執行器112執行。其中,每一表格工作包具有相同數量之欲更新工作表格。在一實施例中,假設一ERP系統中包含有1000張欲更新工作表格的一表格包,佈署管理器110可將此表格包進行拆分,例如,將表格包拆分成250個表格工作包,每一表格工作包包括有5張欲更新工作表格。其中,佈署管理器110根據系統可處理資源將此250個表格工作包依序分派給多個佈署執行器112,例如,根據系統可處理資源僅容許有五個佈署執行器112在同一時間中執行工作表格之更新程序,依此,佈署管理器110會先行將表格工作包分派給五個佈署執行器112執行,待其中有佈署執行器112執行更新完畢後,再進行後續之表格工作包分派。值得注意的是,表格包的拆分數量不以上述為限,可根據系統的處理資源進行變更。Please refer to FIG. 1 , which is a schematic diagram of a table deployment system using production scheduling according to a preferred embodiment of the present invention. The form deployment system 100 adopts a scheduling method to pre-schedule multiple work forms that need to be updated in the ERP system, so as to successfully complete the update of the multiple work forms under the condition that the system resources are satisfied. In one embodiment, the table deployment system 100 includes a deployment manager 110 , a plurality of deployment executors 112 and a deployment monitor 114 . The deployment manager 110 is used for dividing a form package including a plurality of work forms to be updated in the ERP system into a plurality of form work packages, and assigning them to the plurality of deployment executors 112 for execution in sequence. Wherein, each form work package has the same number of work forms to be updated. In one embodiment, assuming that an ERP system includes a form package of 1000 work forms to be updated, the deployment manager 110 can split the form package, for example, split the form package into 250 work forms. Package, each form work package includes 5 work forms to be updated. The deployment manager 110 sequentially assigns the 250 form work packages to the multiple deployment executors 112 according to the system's processing resources. For example, only five deployment executors 112 are allowed to work in the same system according to the system's processing resources. The update procedure of the work form is executed during the time. According to this, the deployment manager 110 will first assign the form work package to the five deployment executors 112 for execution. Form work package assignment. It is worth noting that the number of splits of the table package is not limited to the above, and can be changed according to the processing resources of the system.

佈署執行器112耦接於佈署管理器110。佈署執行器112用以將佈署管理器110分派之表格工作包解包出多張工作表格,以對此表格工作包中之多張工作表格進行更新程序,在一實施例中,佈署執行器112對工作表格執行表格異動處理程序來進行表格更新。佈署執行器112,更在表格更新異動處理異常時,標示更新異動失敗。佈署監控器114耦接此多個佈署執行器112,用以監控佈署執行器112之執行結果。在一實施例中,佈署監控器114會週期性擷取佈署執行器112之執行結果,回報後勤人員,以在執行結果有異常狀況時可即時查看佈署監控器114紀錄並處置。The deployment executor 112 is coupled to the deployment manager 110 . The deployment executor 112 is used to unpack the form work package dispatched by the deployment manager 110 into a plurality of work forms, so as to update the work forms in the form work package. In one embodiment, the deployment The executor 112 executes the form change processing program on the work form to update the form. The deployment executor 112 further indicates that the update transaction fails when the table update transaction is abnormally processed. The deployment monitor 114 is coupled to the plurality of deployment executors 112 for monitoring the execution results of the deployment executors 112 . In one embodiment, the deployment monitor 114 periodically captures the execution result of the deployment executor 112 and reports it to the logistics personnel, so that when the execution result is abnormal, the record of the deployment monitor 114 can be immediately checked and handled.

特別要說明的是,本案所揭示的表格佈署系統100,皆可利用各種不同的方式來實現,包含軟體、硬體或其任意組合。在一實施例中,表格佈署系統100可為但不限於微處理器、微控制器、複雜指令集運算微處理器、精簡指令集運算微處理器、超長指令字組微處理器、超平行指令集運算微處理器、繪圖處理器、數位訊號處理器或任何其他類型的處理器。而在另一實施例中,表格佈署系統100可包括一處理器以及一記憶體,記憶體儲存有一電腦程式碼,並可由處理器進行存取並執行。當記憶體中之電腦程式碼由處理器執行時可實現本案佈署管理器110、多個佈署執行器112及一佈署監控器114功能,記憶體可包含適合用以儲存資料及機器可讀指令的元件,例如但不限於唯讀記憶體(read only memory;ROM)、隨機存取記憶體(random access memory;RAM)、可抹除可編程唯讀記憶體(erasable programmable read only memory;EPROM)、電子可抹除可編程唯讀記憶體(electrically erasable programmable read only memory;EEPROM)。而帳戶資料庫140可以是任何型態的固定或可移動隨機存取記憶體(Random Access Memory,RAM)、唯讀記憶體(Read-Only Memory,ROM)、快閃記憶體(flash memory)、硬碟(Hard Disk Drive,HDD)、固態硬碟(Solid State Drive,SSD)或類似元件或上述元件的組合。電腦程式碼可以是組合語言指令、指令集架構指令、機器指令、機器相關指令、微指令、韌體指令、或者以一種或多種程式語言的任意組合編寫的原始碼或目的碼(Object Code),所述程式語言包括物件導向的程式語言,如:Common Lisp、Python、C++、Objective-C、Smalltalk、Delphi、Java、Swift、C#、Perl、Ruby與PHP等,以及常規的程序式(Procedural)程式語言,如:C語言或類似的程式語言。It should be noted that, the table deployment system 100 disclosed in this application can be implemented in various ways, including software, hardware, or any combination thereof. In one embodiment, the table deployment system 100 can be, but is not limited to, a microprocessor, a microcontroller, a complex instruction set arithmetic microprocessor, a reduced instruction set arithmetic microprocessor, a very long instruction block microprocessor, Parallel instruction set computing microprocessor, graphics processor, digital signal processor or any other type of processor. In another embodiment, the table deployment system 100 may include a processor and a memory, and the memory stores a computer program code that can be accessed and executed by the processor. The functions of the deployment manager 110, a plurality of deployment executors 112, and a deployment monitor 114 are implemented in this case when the computer code in the memory is executed by the processor. Elements for reading instructions, such as but not limited to read only memory (ROM), random access memory (RAM), erasable programmable read only memory (erasable programmable read only memory); EPROM), and electronically erasable programmable read only memory (EEPROM). The account database 140 can be any type of fixed or removable random access memory (Random Access Memory, RAM), read-only memory (Read-Only Memory, ROM), flash memory (flash memory), Hard Disk Drive (HDD), Solid State Drive (SSD) or similar components or a combination of the above components. Computer code can be assembled language instructions, instruction set architecture instructions, machine instructions, machine-related instructions, microinstructions, firmware instructions, or source code or object code written in any combination of one or more programming languages, The programming languages include object-oriented programming languages, such as: Common Lisp, Python, C++, Objective-C, Smalltalk, Delphi, Java, Swift, C#, Perl, Ruby and PHP, etc., as well as conventional procedural programs language, such as C or a similar programming language.

第2圖所繪示為本發明一較佳實施例佈署管理器執行方法流程圖。佈署管理器執行方法200,首先於步驟202接收表格包,包括判斷是否有異常未完成分派之工作表格包。路徑,並建立工作目錄以將表格包檔案複製到工作目錄中。在一實施例中,假設一ERP系統中包含有1000張欲更新工作表格的一表格包,表格佈署系統100中之佈署管理器110接收此表格包檔案路徑,並在欲進行表格更新的ERP系統中建立一工作目錄以將此表格包檔案複製到工作目錄中。FIG. 2 is a flowchart of a method for executing a deployment manager according to a preferred embodiment of the present invention. The deployment manager executes the method 200, and firstly receives the form package in step 202, including determining whether there is an abnormal undistributed work form package. path, and establish a working directory to copy the form package archive into the working directory. In one embodiment, it is assumed that an ERP system includes a form package containing 1000 work forms to be updated. The deployment manager 110 in the form deployment system 100 receives the file path of the form package, and executes the form package in the form to be updated. A working directory is created in the ERP system to copy the form package file into the working directory.

於步驟204,將表格包解開,在一實施例中,佈署管理器110將表格包解開以還原出1000張欲更新之工作表格。In step 204, the form package is unpacked. In one embodiment, the deployment manager 110 unpacks the form package to restore 1000 worksheets to be updated.

於步驟206,根據一設定將所有工作表格依照一定數量拆分成複數個表格工作包,並進行表格工作包分配。在一實施例中,佈署管理器110可將1000張欲更新之工作表格依照一定數量進行拆分,例如,依照5張的一定數量將1000張欲更新工作表格拆分成250個表格工作包,因此,每一個表格工作包均包括有5張欲更新工作表格。在其他實施例中,可依照其他數量進行欲更新工作表格之拆分,不以上述實施例為限。In step 206, according to a setting, all worksheets are divided into a plurality of worksheets according to a certain number, and worksheets are allocated. In one embodiment, the deployment manager 110 may split the 1000 worksheets to be updated according to a certain number, for example, split the 1000 worksheets to be updated into 250 worksheets according to a certain number of 5 sheets , therefore, each form work package includes 5 work forms to be updated. In other embodiments, the worksheet to be updated may be split according to other quantities, which is not limited to the above-mentioned embodiment.

於步驟208,判斷是否已經分配完所有表格工作包。在一實施例中,當佈署管理器110根據一設定將所有工作表格依照一定數量拆分成複數個表格工作包後,即可根據系統處理資源將此複數個表格工作包依序分派給後續之多個佈署執行器112,並判斷是否已經分配完所有表格工作包。若尚有未分配之表格工作包,執行步驟210,判斷是否已達到可用系統資源上限。在一實施例中,由於系統資源尚須執行其他日常工作,因此,僅容許有一定數量的佈署執行器112在同一時間中執行工作表格更新程序,因此,在步驟210中,佈署管理器110會先判斷是否已達到可用以執行工作表格更新之系統資源上限,若尚未達到系統資源上限系統資源上限,在步驟212,佈署管理器110持續進行分派程序,在一實施例中,佈署管理器110會呼叫一佈署執行器112,來分派一尚未執行更新的表格工作包給該佈署執行器112,執行解開表格工作包及進行工作表格異動程序,並設定初始紀錄,例如初始更新紀錄,供後續檢查之用,並再次執行步驟208判斷是否已經分配完所有表格工作包。另一方面,若於步驟210判斷已達到可用系統資源上限,佈署管理器110暫停執行分派,再次執行步驟208,判斷是否已經分配完所有表格工作包。In step 208, it is determined whether all form work packages have been allocated. In one embodiment, after the deployment manager 110 divides all worksheets into a plurality of worksheets according to a certain number according to a setting, the plurality of worksheets can be sequentially assigned to subsequent worksheets according to system processing resources. multiple deployment executors 112 and determine whether all form work packages have been allocated. If there is still an unassigned form work package, step 210 is executed to determine whether the upper limit of available system resources has been reached. In one embodiment, since system resources still have to perform other routine tasks, only a certain number of deployment executors 112 are allowed to execute the worksheet update procedure at the same time. Therefore, in step 210, the deployment manager 110 will first determine whether the upper limit of system resources that can be used to perform worksheet updates has been reached. If the upper limit of system resources has not been reached, in step 212, the deployment manager 110 continues the dispatching process. In one embodiment, the deployment The manager 110 will call a deployment executor 112 to assign a form work package that has not yet been updated to the deployment executor 112, execute the unpack form work package and the work form change procedure, and set the initial record, such as the initial The record is updated for subsequent checking, and step 208 is executed again to determine whether all form work packages have been allocated. On the other hand, if it is determined in step 210 that the upper limit of available system resources has been reached, the deployment manager 110 suspends the execution of the assignment, and executes step 208 again to determine whether all the table work packages have been allocated.

若於步驟208,判斷已經分派完所有表格工作包後,於步驟214,判斷是否有異常未完成之表格工作包。若沒有異常未完成之表格工作包,則於步驟218完成表格工作包之佈署。反之,若有異常未完成之表格工作包,例如,在進行表格包拆分成複數個表格工作包時造成表格工作包異常未完成,則於步驟216將此異常無法完成分派之表格工作包之更新狀態紀錄為更新異動失敗。If, in step 208, it is determined that all form work packages have been dispatched, in step 214, it is determined whether there are abnormal uncompleted form work packages. If there is no abnormal uncompleted form work package, the deployment of the form work package is completed in step 218 . On the other hand, if there is an abnormally uncompleted form work package, for example, when the form package is split into a plurality of form work packages, the form work package is abnormally uncompleted, then in step 216, the abnormal uncompleted form work package is assigned. The update status record is that the update transaction failed.

第3圖所繪示為本發明一較佳實施例佈署執行器執行方法流程圖。佈署執行器執行方法300,首先於步驟302接收表格工作包。包括接收表格工作包路徑,並建立工作目錄以將表格工作包檔案複製到工作目錄中。在一實施例中,表格佈署系統100中之佈署執行器112接收此表格工作包檔案路徑,並在欲進行表格更新的ERP系統中建立一工作目錄以將此表格工作包檔案複製到工作目錄中。FIG. 3 is a flowchart of a method for executing a deployment executor according to a preferred embodiment of the present invention. The deployment executor executes the method 300 and first receives the form work package in step 302 . Include the path to receive the form work package and create a working directory to copy the form work package archive into the working directory. In one embodiment, the deployment executor 112 in the form deployment system 100 receives the form work package file path, and creates a work directory in the ERP system where the form update is to be performed to copy the form work package file to the work package. in the directory.

於步驟304,將表格工作包解開,在一實施例中,佈署執行器110將表格工作包解開以還原出5張欲更新之工作表格。於步驟306,依照表格工作包內清單排序工作表格執行順序。在一實施例中,佈署執行器110根據一設定執行程序排序此5張工作表格以依此順序執行工作表格更新異動程序。於步驟308,呼叫表格異動程序進行工作表格更新異動程序。在一實施例中,佈署執行器110呼叫一表格異動程序來進行工作表格更新異動程序。於步驟310,佈署執行器110判斷工作表格更新異動程序是否發生異常。若工作表格更新異動程序發生異常,於步驟312,標示更新異動失敗。在一實施例中,佈署執行器110在進行一工作表格更新異動程序時,若發生異常狀況,例如,無法執行更新程序,佈署執行器110將工作表格之更新狀況標示為異常,接著執行步驟314,判斷是否還有未執行表格更新異動程序的工作表格。另一方面,於步驟310若佈署執行器110判斷工作表格更新異動程序未發生異常狀況,亦接著執行步驟314,判斷表格工作包中是否還有未執行表格異動程序的工作表格。In step 304, unpack the form work package. In one embodiment, the deployment executor 110 unpacks the form work package to restore five work forms to be updated. In step 306, the worksheet execution order is sorted according to the list in the worksheet work package. In one embodiment, the deployment executor 110 sorts the five worksheets according to a set execution procedure to execute the worksheet update transaction procedure in this order. In step 308, the table transaction program is called to perform the work table update transaction program. In one embodiment, the deployment executor 110 calls a table transaction procedure to perform the work table update transaction procedure. In step 310, the deployment executor 110 determines whether an abnormality occurs in the worksheet update transaction procedure. If an exception occurs in the worksheet update transaction procedure, in step 312, it is indicated that the update transaction failed. In one embodiment, when the deployment executor 110 is performing a worksheet update transaction procedure, if an abnormal condition occurs, for example, the update procedure cannot be executed, the deployment executor 110 marks the update status of the worksheet as abnormal, and then executes the Step 314, it is determined whether there is any work form for which the form update transaction procedure has not been executed. On the other hand, in step 310, if the deployment executor 110 determines that no abnormality has occurred in the worksheet update procedure, then step 314 is executed to determine whether there are worksheets in the sheet work package for which the sheet transition procedure has not been executed.

若還有未執行表格異動程序的工作表格,再次執行步驟308,呼叫表格異動程序進行工作表格更新異動。反之,若已經執行完一表格工作包中所有工作表格的異動程序,執行步驟316,若其中有一工作表格異動異常則將此表格工作包之紀錄標示為更新異動失敗,並於步驟318完成表格工作包的異動程序。If there are still work forms for which the form change program has not been executed, step 308 is executed again, and the form change program is called to perform the work form update change. On the other hand, if the transaction procedure of all the worksheets in a worksheet has been executed, step 316 is executed. If there is an abnormality in one worksheet, the record of this worksheet is marked as failed to update the worksheet, and the work of the form is completed in step 318. Package handlers.

第4圖所繪示為本發明一較佳實施例佈署監控器執行方法流程圖。佈署監控器執行方法400,首先於步驟402擷取各表格工作包之紀錄,並進行顯示。在一實施例中,表格佈署系統100中之佈署監控器114會擷取各表格工作包之紀錄,並顯示擷取結果,工端工作人員確認各表格工作包之執行結果。於步驟404,等候一周期時間,並於步驟406,再次擷取各表格工作包之紀錄,以更新各表格工作包之執行結果。在一實施例中,由於佈署執行器110是持續對工作表格進行更新,因此佈署監控器114會週期性,如每3秒鐘,擷取佈署執行器110執行表格工作包之紀錄,以更新表格工作包之異動結果。在其他實施例中,此週期不以3秒為限。於步驟408,判斷是否有人為指定重新執行其中一表格工作包。在一實施例中,當其中一表格工作包之紀錄顯示為異常時,一後端工作人員可指定重新執行此表格工作包之異動程序。依此,佈署監控器114接收一重新執行指令,並於步驟410,佈署監控器114呼叫佈署執行器112重新執行此表格工作包之異動程序。在一實施例中,佈署執行器在收到佈署監控器呼叫後,會再次重新執行此表格工作包,對此表格工作包進行解包以及呼叫一表格異動程序來對工作表格進行更新。在另一實施例中,若於步驟408,判斷並未有人為指定重新執行其中一表格工作時,執行步驟412,判斷是否有人為按下離開按鈕。若是有人為按下離開按鈕,則於步驟414,結束此監控程序。反之,若於步驟412中,判斷並未有人為按下離開按鈕,則重新執行步驟404,等候一周期時間後,再次擷取各表格工作包之紀錄,以更新各表格工作包之執行結果。FIG. 4 is a flow chart illustrating an execution method for deploying a monitor according to a preferred embodiment of the present invention. To execute the method 400 for the deployment monitor, firstly, in step 402, records of each form work package are captured and displayed. In one embodiment, the deployment monitor 114 in the table deployment system 100 will capture the records of each table work package, and display the retrieval result, and the worker at the construction end will confirm the execution result of each table work package. In step 404, waiting for a period of time, and in step 406, the records of each form work package are retrieved again to update the execution result of each form work package. In one embodiment, since the deployment executor 110 continuously updates the work table, the deployment monitor 114 periodically, for example, every 3 seconds, captures the records of the table work package executed by the deployment executor 110 . to update the transaction result of the table work package. In other embodiments, this period is not limited to 3 seconds. In step 408, it is determined whether one of the form work packages has been re-executed manually. In one embodiment, when the record of one of the form work packages is displayed as abnormal, a back-end worker can specify to re-execute the change procedure of the form work package. Accordingly, the deployment monitor 114 receives a re-execution command, and in step 410 , the deployment monitor 114 calls the deployment executor 112 to re-execute the transaction procedure of the table work package. In one embodiment, after receiving the call from the deployment monitor, the deployment executor will re-execute the table work package again, unpack the table work package and call a table change program to update the work table. In another embodiment, if it is determined in step 408 that one of the form jobs has not been designated to be re-executed, step 412 is executed to determine whether someone has manually pressed the leave button. If someone manually presses the leave button, in step 414, the monitoring procedure ends. On the other hand, if it is determined in step 412 that no one presses the leave button, step 404 is re-executed, and after waiting for a period of time, the records of each form work package are retrieved again to update the execution result of each form work package.

依此,本案在執行工作表格更新異動時,先由佈署管理器將大量工作表格分拆成多個包含一定數量工作表格之表格工作包,再將此些表格工作包依序分派給佈署執行器進行工作表格更新異動,另用佈署監控器進行更新異動的即時監控及排錯處理程序,因此,藉由上述生產排程機制,來處理大量且複雜的表格異動程序,減少需額外人工判斷及處理的時間,並相對提高了系統的可利用率及可靠度。此外,本發明除了可應用在大量表格更新的情況更可以使 用在少量表格更新的情況,符合少量多次更新的需求。Accordingly, in this case, when a worksheet update transaction is performed, the deployment manager first divides a large number of worksheets into a number of worksheets containing a certain number of worksheets, and then assigns these worksheets to the deployment in sequence. The executor performs the work table update transaction, and the deployment monitor is used for real-time monitoring and troubleshooting of the update transaction process. Therefore, the above production scheduling mechanism is used to process a large number of complex table transaction procedures, reducing the need for extra labor. The time of judgment and processing is relatively improved, and the availability and reliability of the system are relatively improved. In addition, the present invention can be used in the case of updating a small number of tables in addition to being applicable to a large number of table updates, which meets the needs of a small number of multiple updates.

雖然本案以實施例揭露如上,然其並非用以限定本案,任何熟習此技藝者,在不脫離本案之精神和範圍內,當可作各種之更動與潤飾,因此本案之保護範圍當視後附之申請專利範圍所界定者為準。Although this case is disclosed above with examples, it is not intended to limit this case. Anyone who is familiar with this technique can make various changes and modifications without departing from the spirit and scope of this case. Therefore, the protection scope of this case should be regarded as attached hereto. The one defined in the scope of the patent application shall prevail.

100:表格佈署系統 110:佈署管理器 112:佈署執行器 114:佈署監控器 200:佈署管理器執行方法 202-218:步驟 300:佈署執行器執行方法 302-318:步驟 400:佈署監控器執行方法 402-414:步驟 100: Form Deployment System 110: Deployment Manager 112: Deploy the executor 114: Deploy monitor 200: Deployment Manager Execution Method 202-218: Steps 300: Deploy the executor execution method 302-318: Steps 400: Deploy monitor execution method 402-414: Steps

此處的附圖被併入說明書中並構成本說明書的一部分,這些附圖示出了符合本發明的實施例,並與說明書一起用於說明本發明實施例的技術方案。 第1圖所繪示為本發明一較佳實施例之利用生產排程之表格佈署系統概略圖。 第2圖所繪示為本發明一較佳實施例佈署管理器執行方法流程圖。 第3圖所繪示為本發明一較佳實施例佈署執行器執行方法流程圖。 第4圖所繪示為本發明一較佳實施例佈署監控器執行方法流程圖。 The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, and these drawings illustrate embodiments consistent with the present invention, and together with the description, serve to explain the technical solutions of the embodiments of the present invention. FIG. 1 is a schematic diagram of a table deployment system using production scheduling according to a preferred embodiment of the present invention. FIG. 2 is a flowchart of a method for executing a deployment manager according to a preferred embodiment of the present invention. FIG. 3 is a flowchart of a method for executing a deployment executor according to a preferred embodiment of the present invention. FIG. 4 is a flow chart illustrating an execution method for deploying a monitor according to a preferred embodiment of the present invention.

100:表格佈署系統 100: Form Deployment System

110:佈署管理器 110: Deployment Manager

112:佈署執行器 112: Deploy the executor

114:佈署監控器 114: Deploy monitor

Claims (9)

一種表格佈署系統,包含:一佈署管理器,用以接收複數張工作表格,以及將該些張工作表格拆分為複數個表格工作包並依序進行分派,其中該些表格工作包均具有一特定數量的工作表格;複數個佈署執行器耦接該佈署管理器,該些個佈署執行器用以依序接收該佈署管理器所分派的該些個表格工作包,其中每一該些佈署執行器對應將所接收的該表格工作包進行解包出該特定數量的工作表格,以及對該特定數量的工作表格分別執行一更新異動程序;以及一佈署監控器耦接該些個佈署執行器,用以擷取該些個佈署執行器執行該更新異動程序之結果並進行顯示,其中該佈署管理器更判斷該些表格工作包是否均已分派完成。 A form deployment system, comprising: a deployment manager for receiving a plurality of work forms, and dividing the work forms into a plurality of form work packages and dispatching them in sequence, wherein the form work packages are all There is a specific number of work forms; a plurality of deployment executors are coupled to the deployment manager, and the deployment executors are used to sequentially receive the form work packages dispatched by the deployment manager, wherein each The deployment executors correspondingly unpack the received form work package to produce the specific number of work forms, and respectively execute an update transaction procedure for the specific number of work forms; and a deployment monitor is coupled to The deployment executors are used for retrieving and displaying the results of executing the update transaction procedure by the deployment executors, wherein the deployment manager further determines whether all the table work packages have been dispatched. 一種表格佈署方法,包含:使用一佈署管理器來接收複數張工作表格,以及將該些張工作表格拆分為複數個表格工作包並進行一分派程序來分派該些個表格工作包,其中該些表格工作包均具有一特定數量的工作表格;使用複數個佈署執行器依序接收該佈署管理器所分派的該些個表格工作包,其中每一該些佈署執行器對應將所接收的該表格工作包進行解包出該特定數量的工作表格,以及對該特定數量的工作表格分別執行一更新異動程序; 以及使用一佈署監控器擷取該些個佈署執行器執行該更新異動程序之結果並進行顯示,並使用該佈署管理器來判斷該些表格工作包是否均已分派完成。 A form deployment method, comprising: using a deployment manager to receive a plurality of work forms, and splitting the work forms into a plurality of form work packages and performing a dispatch procedure to distribute the form work packages, Each of the form work packages has a specific number of work forms; a plurality of deployment executors are used to sequentially receive the form work packages dispatched by the deployment manager, wherein each of the deployment executors corresponds to unpacking the received form work package to produce the specific number of work forms, and respectively executing an update and change program for the specific number of work forms; and a deployment monitor is used to capture and display the results of executing the update transaction procedure by the deployment executors, and use the deployment manager to determine whether all the table work packages have been dispatched. 如請求項2所述之表格佈署方法,其中當該佈署管理器判斷該些表格工作包已分派完成,更包括判斷該些表格工作包中是否有異常之表格工作包;其中當該些表格工作包中不存在異常之表格工作包,則該佈署管理器完成該分派程序,以及其中當該些表格工作包中存在異常之表格工作包,則該佈署管理器將該異常之表格工作包之一更新紀錄狀態標示為更新異動失敗。 The form deployment method according to claim 2, wherein when the deployment manager determines that the form work packages have been dispatched, it further includes judging whether there are abnormal form work packages in the form work packages; There is no abnormal table work package in the table work package, the deployment manager completes the dispatching process, and when there is an abnormal table work package in the table work package, the deployment manager completes the abnormal table work package. One of the work packages has an update record status marked as update transaction failed. 如請求項2所述之表格佈署方法,其中當該佈署管理器判斷該些表格工作包並未分派完成,更包括判斷是否已達到一系統資源使用上限;其中當達到該系統資源使用上限,該佈署管理器暫停該分派程序,以及其中當未達到該系統資源使用上限,該佈署管理器繼續該分派程序,分派一尚未執行更新的表格工作包給該佈署執行器。 The table deployment method according to claim 2, wherein when the deployment manager determines that the table work packages have not been dispatched, it further includes determining whether a system resource usage upper limit has been reached; wherein when the system resource usage upper limit is reached , the deployment manager suspends the dispatching process, and wherein when the system resource usage limit is not reached, the deployment manager continues the dispatching process and dispatches a table work package that has not yet been updated to the deployment executor. 如請求項2所述之表格佈署方法,其中更 包括使用該些個佈署執行器來判斷在對該特定數量的工作表格分別執行該更新異動程序時是否發生異常。 The form deployment method as described in claim 2, further It includes using the deployment executors to determine whether an exception occurs when the update transaction procedure is respectively executed for the specific number of worksheets. 如請求項5所述之表格佈署方法,其中當執行該更新異動程序發生異常時,該佈署執行器將對應工作表格之一更新紀錄狀態標示為一更新異動失敗,以及其中當執行該更新異動程序並未發生異常時,該佈署執行器更判斷是否還有尚未執行該更新異動程序的工作表格。 The form deployment method as claimed in claim 5, wherein when an exception occurs when executing the update transaction procedure, the deployment executor marks an update record status of the corresponding work form as an update transaction failure, and wherein when executing the update When no exception occurs in the transaction procedure, the deployment executor further determines whether there is still a work form for which the update transaction procedure has not been executed. 如請求項6所述之表格佈署方法,其中當該佈署執行器判斷未有尚未執行該更新異動程序的工作表格,該佈署執行器更將具有該更新異動失敗標示的工作表格的對應表格工作包之一更新紀錄狀態標示為失敗。 The form deployment method of claim 6, wherein when the deployment executor determines that there is no work form for which the update transaction procedure has not been executed, the deployment executor further assigns the corresponding work form with the update transaction failure flag The update record status of one of the form work packages is marked as failed. 如請求項2所述之表格佈署方法,其中使用該佈署監控器擷取該些個佈署執行器執行該更新異動程序之結果更包括:使用該佈署監控器來週期性擷取每一該些表格工作包之該更新紀錄狀態。 The table deployment method of claim 2, wherein using the deployment monitor to capture the results of executing the update transaction procedure by the plurality of deployment executors further comprises: using the deployment monitor to periodically capture each the update record status of the form work packages. 如請求項8所述之表格佈署方法,其中更包括使用該佈署監控器接收一重新執行指令,以根據該重新執行指令呼叫一對應佈署執行器對對應的表格工作包重新執行該更新異動程序。 The table deployment method as claimed in claim 8, further comprising receiving a re-execution command by using the deployment monitor to call a corresponding deployment executor to re-execute the update to the corresponding table work package according to the re-execution command Variation program.
TW110123019A 2021-06-23 2021-06-23 Table deployment system and method thereof TWI768982B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW110123019A TWI768982B (en) 2021-06-23 2021-06-23 Table deployment system and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW110123019A TWI768982B (en) 2021-06-23 2021-06-23 Table deployment system and method thereof

Publications (2)

Publication Number Publication Date
TWI768982B true TWI768982B (en) 2022-06-21
TW202301175A TW202301175A (en) 2023-01-01

Family

ID=83104082

Family Applications (1)

Application Number Title Priority Date Filing Date
TW110123019A TWI768982B (en) 2021-06-23 2021-06-23 Table deployment system and method thereof

Country Status (1)

Country Link
TW (1) TWI768982B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100380262C (en) * 2002-08-20 2008-04-09 东京毅力科创株式会社 Method for processing data based on data context
TWI329817B (en) * 2005-02-24 2010-09-01 Nahava Inc Method and apparatus for efficient indexed storage for unstructured content
CN103026631A (en) * 2010-06-01 2013-04-03 甲骨文国际公司 A method and system for compressing xml documents
WO2015020811A1 (en) * 2013-08-09 2015-02-12 Fusion-Io, Inc. Persistent data structures
TW202111520A (en) * 2019-09-12 2021-03-16 開曼群島商創新先進技術有限公司 Log-structured storage systems

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100380262C (en) * 2002-08-20 2008-04-09 东京毅力科创株式会社 Method for processing data based on data context
TWI329817B (en) * 2005-02-24 2010-09-01 Nahava Inc Method and apparatus for efficient indexed storage for unstructured content
CN103026631A (en) * 2010-06-01 2013-04-03 甲骨文国际公司 A method and system for compressing xml documents
WO2015020811A1 (en) * 2013-08-09 2015-02-12 Fusion-Io, Inc. Persistent data structures
TW202111520A (en) * 2019-09-12 2021-03-16 開曼群島商創新先進技術有限公司 Log-structured storage systems

Also Published As

Publication number Publication date
TW202301175A (en) 2023-01-01

Similar Documents

Publication Publication Date Title
TWI838596B (en) Electronic apparatus for managing logistics information and control method thereof
US11704610B2 (en) Benchmarking for automated task management
EP2600246A1 (en) Batch processing of business objects
JPH0683841A (en) Work flow management system and method
US5987251A (en) Automated document checking tool for checking sufficiency of documentation of program instructions
CN103593236A (en) Computer equipment, method and device for scheduling service process
US9454727B2 (en) Methods, systems, and computer program product for implementing expert assessment of a product
US20180188713A1 (en) Method and Apparatus for Automatically Maintaining Very Large Scale of Machines
TWI768982B (en) Table deployment system and method thereof
CN118034887A (en) Big data platform task management method and system
CN113419835A (en) Job scheduling method, device, equipment and medium
CN110019144A (en) A kind of method and system of big data platform data O&M
CN115481612B (en) Form deployment system and method thereof
US8661343B2 (en) Computer-implemented systems and methods for an automated application interface
JP7246301B2 (en) Program development support system and program development support method
JP6201459B2 (en) Project rescheduling method and program
US20150235151A1 (en) Workflow Tracking System
US11501226B1 (en) Monitoring and creating customized dynamic project files based on enterprise resources
US11244269B1 (en) Monitoring and creating customized dynamic project files based on enterprise resources
US11244260B1 (en) Monitoring and creating customized dynamic project files based on enterprise resources
CN114237634B (en) Application release risk identification methods, devices, equipment, media, and program products
JP2002014829A (en) Parallel processing control system, method, and medium storing program for parallel processing control
CN117055499A (en) Production management system and production management method
US20090228377A1 (en) Evaluating Total Cost of Ownership
US20180089344A1 (en) Adaptive methodology framework system and method thereof