[go: up one dir, main page]

TWI864454B - System for batched updating test flow script - Google Patents

System for batched updating test flow script Download PDF

Info

Publication number
TWI864454B
TWI864454B TW111138997A TW111138997A TWI864454B TW I864454 B TWI864454 B TW I864454B TW 111138997 A TW111138997 A TW 111138997A TW 111138997 A TW111138997 A TW 111138997A TW I864454 B TWI864454 B TW I864454B
Authority
TW
Taiwan
Prior art keywords
script
test process
server
update
production line
Prior art date
Application number
TW111138997A
Other languages
Chinese (zh)
Other versions
TW202416115A (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 TW111138997A priority Critical patent/TWI864454B/en
Publication of TW202416115A publication Critical patent/TW202416115A/en
Application granted granted Critical
Publication of TWI864454B publication Critical patent/TWI864454B/en

Links

Images

Landscapes

  • Computer And Data Communications (AREA)
  • Stored Programmes (AREA)
  • Debugging And Monitoring (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

A system is configured for batched updating test flow script. In the system, an arrangement setting device is applied to execute a test flow script arrangement program to link to a jump server to enter an arrangement setting web page and obtain a test flow script directory for a user to select an updating test flow script version for each of a plurality of production line servers, so as to accordingly built up a script corresponding relation, and make the jump server generate a batched updating order. After receiving the batched updating order, a proxy server transmits at least one test flow script to the production line servers according to the script corresponding relation so as to achieve batched updating.

Description

測試流程腳本之批次化更新系統Batch update system for test process scripts

本發明係有關於一種測試流程腳本更新系統,尤其是指一種測試流程腳本之批次化更新系統,用以批次化更新複數個產線伺服器之測試流程腳本。The present invention relates to a test process script update system, and more particularly to a test process script batch update system for batch updating the test process scripts of a plurality of production line servers.

隨著電子產品的精緻化,有越來越多功能精密的模組建構在電子產品內,為了更有效率地監控與管理電子產品生產線,必須結合使用大量的監視與控制模組,並利用物聯網、區域網路與網際網路等管道來傳遞大量的監視與控制數據,並加以儲存與管理。在此情況下,每一條生產線多半會配置至少一產線伺服器。As electronic products become more sophisticated, more and more modules with sophisticated functions are built into them. In order to monitor and manage electronic product production lines more efficiently, a large number of monitoring and control modules must be used in combination, and a large amount of monitoring and control data must be transmitted, stored and managed using channels such as the Internet of Things, local area networks and the Internet. In this case, each production line will most likely be equipped with at least one production line server.

因應產線監控與管理的需要,產線伺服器記載了大量的控制與管理規則。為了確保產線伺服器能夠依據適當的控制與管理規則來對產線進行正確而有效的管理,通常會在產線伺服器中安裝測試流程腳本,藉以對產線伺服器本身進行自我測試,或者對產線所能支援的模組進行測試。In response to the needs of production line monitoring and management, the production line server records a large number of control and management rules. In order to ensure that the production line server can correctly and effectively manage the production line according to appropriate control and management rules, a test process script is usually installed in the production line server to perform self-tests on the production line server itself or test the modules that the production line can support.

在以上背景下,每當產線中的生產條件有變更時,就有需要更新或更換測試流程腳本,以即時提供適當的控制與管理服務。上述的生產條件有變更時,舉例來說,譬如可能是生產線所生產的電子產品的成品或半成品有變動時,或者有新的產線管理要求時,或者在切換生產不同廠牌的產品而有需要消除部分資訊以進行保密時。In the above context, whenever the production conditions in the production line change, it is necessary to update or replace the test process script to provide appropriate control and management services in real time. When the above production conditions change, for example, there may be changes in the finished or semi-finished electronic products produced by the production line, or when there are new production line management requirements, or when switching to the production of different brands of products and needing to eliminate some information for confidentiality.

一般而言,在系統化生產的製造工廠中,往往有數條,甚至數十條生產線,每一生產線設置一個產線伺服器,將會有數個或數十個產線伺服器的測試流程腳本需要被更新或更換。由於每一條生產線的生產條件與屬性不盡相同,每一產線伺服器也不盡相同,導致每一產線伺服器所必須安裝、更換或更新的測試流程腳本也不同。Generally speaking, in a systematic manufacturing plant, there are often several or even dozens of production lines. Each production line is equipped with a production line server, and the test process scripts of several or dozens of production line servers need to be updated or replaced. Since the production conditions and properties of each production line are different, each production line server is also different, resulting in different test process scripts that must be installed, replaced or updated for each production line server.

為了確保每一產線伺服器都能安裝、更換或更新的最能滿足生產線現況要求的測試流程腳本。在先前技術中,必須倚賴至少一腳本管理人員利用一管理裝置逐一連線登入測試腳本資料庫與產線伺服器,然後依據實際需求來逐一操作進行測試流程腳本的更新。由於腳本管理人員必須利用管理裝置對應於多個產線伺服器而逐一重複執行連線、登入、選取、修改上傳等多項工作,將會耗費不少的更新時間,因而嚴重影響生產線的工作效率。In order to ensure that each production line server can install, replace or update the test process script that best meets the current requirements of the production line. In the previous technology, it is necessary to rely on at least one script manager to use a management device to log in to the test script database and the production line server one by one, and then update the test process script one by one according to actual needs. Because the script manager must use the management device to correspond to multiple production line servers and repeatedly perform multiple tasks such as connection, login, selection, modification and upload, it will consume a lot of update time, thus seriously affecting the work efficiency of the production line.

有鑒於先前技術中,普遍存在腳本管理人員必須利用管理裝置應於多個產線伺服器而逐一重複執行多項工作,因而嚴重影響生產線的工作效率,因此,本發明之主要目的在於提供一種測試流程腳本之批次化更新系統(以下簡稱「批次化更新系統」),期望能夠藉由進行一次設定,就可發揮到批次化更新的作用。In view of the fact that in the prior art, script managers generally have to use management devices to repeatedly execute multiple tasks on multiple production line servers, which seriously affects the work efficiency of the production line. Therefore, the main purpose of the present invention is to provide a batch update system for test process scripts (hereinafter referred to as "batch update system"), hoping that the batch update function can be achieved by setting it once.

因此,本發明為解決先前技術之問題所採用之必要技術手段為提供一種測試流程腳本之批次化更新系統(以下簡稱「批次化更新系統」)。批次化更新系統係用以批次化更新複數個產線伺服器所對應之複數個測試流程腳本,並且包含一中轉伺服器、一堡壘機伺服器與一部署設定裝置。Therefore, the necessary technical means adopted by the present invention to solve the problems of the prior art is to provide a batch update system for test process scripts (hereinafter referred to as "batch update system"). The batch update system is used to batch update a plurality of test process scripts corresponding to a plurality of production line servers, and includes a transfer server, a fortress server and a deployment setting device.

中轉伺服器係用以儲存複數個測試流程腳本,藉由一檔案傳輸協定(File Transfer Protocol;FTP)通信連結至產線伺服器,並依據測試流程腳本所對應之複數個腳本版次名稱而建立有一測試流程腳本目錄,藉以在測試流程腳本變動時,更新測試流程腳本目錄。The transit server is used to store multiple test process scripts, and is connected to the production line server via a file transfer protocol (FTP) communication link. A test process script directory is established according to multiple script version names corresponding to the test process scripts, so that the test process script directory is updated when the test process scripts are changed.

堡壘機伺服器係建立有一部署設定網頁,並在通信連結於中轉伺服器時,擷取測試流程腳本目錄。部署設定裝置係藉由執行一測試流程腳本部署程式而以一超文本傳輸協定 (Hyper Text Transfer Protocol; HTTP)通信連結至堡壘機伺服器而開啟部署設定網頁,以供一部署設定人員自該測試流程腳本目錄中,選取設定每一產線伺服器所應更新之該些腳本版次名稱中之一更新腳本版次名稱,藉以依據該些產線伺服器與更新腳本版次名稱而建立一腳本對應關係,使堡壘機伺服器依據腳本對應關係產生一批次化更新命令。The fortress server has a deployment configuration webpage, and when communicating with the relay server, it captures the test process script directory. The deployment configuration device connects to the fortress server via a Hyper Text Transfer Protocol (HTTP) communication link by executing a test process script deployment program to open the deployment configuration webpage, so that a deployment configuration personnel can select one of the script version names that should be updated for each production line server from the test process script directory to update the script version name, thereby establishing a script correspondence relationship based on the production line servers and the update script version name, so that the fortress server generates a batch update command based on the script correspondence relationship.

在批次化更新命令被傳送至中轉伺服器後,使中轉伺服器依據腳本對應關係將更新腳本版次名稱所對應之測試流程腳本以檔案傳輸協定批次化傳送至產線伺服器,藉以對產線伺服器完成批次化更新。After the batch update command is sent to the transit server, the transit server batches the test process scripts corresponding to the update script version name to the production line server using the file transfer protocol according to the script correspondence relationship, thereby completing the batch update of the production line server.

在上述必要技術手段的基礎下,所衍生出較佳附屬技術手段中,批次化更新系統可包含一認證裝置,認證裝置係通信連結於部署設定裝置與堡壘機伺服器,藉以在認證藉由部署設定裝置所輸入之一登入帳號與一登入密碼正確後,使部署設定裝置以超文本傳輸協定通信連結至堡壘機伺服器而開啟部署設定網頁。Among the preferred supplementary technical means derived from the above-mentioned necessary technical means, the batch update system may include an authentication device, which is communicatively connected to the deployment setting device and the fortress server, so that after authenticating that a login account and a login password input by the deployment setting device are correct, the deployment setting device is connected to the fortress server via a hypertext transfer protocol communication link to open the deployment setting webpage.

較佳者,批次化更新系統更可包含至少一測試流程腳本上傳模組,測試流程腳本上傳模組係藉由檔案傳輸協定通信連結於中轉伺服器,藉以將至少一新增測試流程腳本上傳至中轉伺服器以作為部分之測試流程腳本,並完成上傳後,使中轉伺服器在測試流程腳本目錄中新增對應於新增測試流程腳本之腳本版次名稱。Preferably, the batch update system may further include at least one test process script upload module, which is connected to the relay server via file transfer protocol communication to upload at least one newly added test process script to the relay server as a part of the test process script. After the upload is completed, the relay server adds a script version name corresponding to the newly added test process script in the test process script directory.

較佳者,中轉伺服器更可包含一版次更新監控模組,藉以在每一產線伺服器完成批次化更新,並記錄於產線伺服器之一伺服器日誌後,利用版次更新監控模組蒐集並記錄產線伺服器之更新腳本版次名稱。此外,中轉伺服器還可包含一更新信息發布模組,且更新信息發布模組係用以依據產線伺服器之更新腳本版次名稱而發布一腳本更新信息。Preferably, the transit server may further include a version update monitoring module, so that after each production line server completes the batch update and records it in a server log of the production line server, the version update monitoring module is used to collect and record the update script version name of the production line server. In addition, the transit server may also include an update information publishing module, and the update information publishing module is used to publish a script update information according to the update script version name of the production line server.

為了同時在部署設定網頁呈現每個產線伺服器目前所使用的腳本版次名稱,較佳者,堡壘機伺服器更包含一網頁更新模組,藉以在堡壘機伺服器接收到腳本更新信息後,在依據產線伺服器之更新腳本版次名稱更新部署設定網頁。In order to simultaneously present the script version name currently used by each production line server on the deployment configuration webpage, preferably, the fortress server further includes a webpage update module, so that after the fortress server receives the script update information, the deployment configuration webpage is updated according to the updated script version name of the production line server.

承上所述,由於在本發明所提供之測試流程腳本之批次化更新系統中,係利用堡壘機伺服器所建立之部署設定網頁供部署設定人員同時對多個產線伺服器所需的測試流程腳本進行一次性部署設定,使堡壘機伺服器依據部署設定產生批次化更新命令,並使中轉伺服器依據批次化更新命令自動對複數個產線伺服器進行批次化更新。毫無疑問地,將可以大幅縮減產線伺服器之測試流程腳本更新時間,進而大幅提升生產線的工作效率。As mentioned above, in the batch update system of the test process script provided by the present invention, the deployment setting webpage established by the fortress server is used for the deployment setting personnel to simultaneously deploy and set the test process scripts required by multiple production line servers at one time, so that the fortress server generates a batch update command according to the deployment setting, and the transit server automatically performs batch update on multiple production line servers according to the batch update command. Undoubtedly, the test process script update time of the production line server can be greatly reduced, thereby greatly improving the work efficiency of the production line.

由於本發明所提供之測試流程腳本之批次化更新系統,可廣泛運用於各種產線伺服器之測試流程腳本之批次化更新,故在此不再一一贅述,僅列舉其中較佳的一個實施例來加以具體說明。此外,在各實施例中的圖式均採用非常簡化的形式,各元件之間並非使用絕對精準的比例加以呈現,僅用以方便、明晰地輔助說明本發明實施例的目的與功效。Since the batch update system of the test process script provided by the present invention can be widely used in the batch update of the test process script of various production line servers, it will not be described here one by one, and only a preferred embodiment will be listed to provide a specific description. In addition, the drawings in each embodiment are all in a very simplified form, and the components are not presented in an absolutely accurate ratio, only to facilitate and clearly assist in explaining the purpose and effect of the embodiment of the present invention.

請參閱第一圖,其係顯示本發明較佳實施例所提供之測試流程腳本之批次化更新系統之功能方塊圖。如第一圖所示,一測試流程腳本之批次化更新系統(以下簡稱「批次化更新系統」)100,係用以批次化更新三個產線伺服器200a、200b與200c所對應之複數個測試流程腳本,產線伺服器200a、200b與200c中分別具有伺服器日誌201a、201b與201c。批次化更新系統100包含一中轉伺服器1、三個測試流程腳本上傳模組2a、2b與2c、一堡壘機伺服器3、一部署設定裝置4與一認證裝置5。Please refer to the first figure, which is a functional block diagram of a batch update system for test process scripts provided by a preferred embodiment of the present invention. As shown in the first figure, a batch update system for test process scripts (hereinafter referred to as "batch update system") 100 is used to batch update a plurality of test process scripts corresponding to three production line servers 200a, 200b and 200c, and the production line servers 200a, 200b and 200c have server logs 201a, 201b and 201c respectively. The batch update system 100 includes a transit server 1, three test process script upload modules 2a, 2b and 2c, a fortress server 3, a deployment setting device 4 and an authentication device 5.

中轉伺服器1係指一種用於傳輸檔案的代理伺服器(Proxy Server),其藉由一檔案傳輸協定(File Transfer Protocol;FTP)通信連結至產線伺服器200a、200b與200c,並且包含有一測試流程腳本資料庫11、一版次更新監控模組12與一更新信息發布模組13。測試流程腳本資料庫11中儲存複數個測試流程腳本(圖中僅繪製其中一個測試流程腳本111作為代表),並依據測試流程腳本111所對應之複數個腳本版次名稱(圖中未示)而建立有一測試流程腳本目錄112,藉以在測試流程腳本變動(如新增或刪除)時,更新測試流程腳本目錄112。The transit server 1 refers to a proxy server for transmitting files, which is connected to the production line servers 200a, 200b and 200c via a file transfer protocol (FTP) communication, and includes a test process script database 11, a version update monitoring module 12 and an update information publishing module 13. The test process script database 11 stores a plurality of test process scripts (only one test process script 111 is drawn as a representative in the figure), and a test process script directory 112 is established according to a plurality of script version names (not shown in the figure) corresponding to the test process script 111, so as to update the test process script directory 112 when the test process script is changed (such as added or deleted).

測試流程腳本上傳模組2a、2b與2c係藉由檔案傳輸協定通信連結於中轉伺服器1,藉以在獲得(自行開發出或對外採購獲得)至少一新版本測試流程腳本(以下稱「新增測試流程腳本」)時,將新增測試流程腳本上傳至中轉伺服器1以作為部分之測試流程腳本111。並完成上傳後,使中轉伺服器1在測試流程腳本目錄112中新增對應於新增測試流程腳本之腳本版次名稱。The test process script upload modules 2a, 2b and 2c are connected to the relay server 1 via file transfer protocol communication, so that when at least one new version of the test process script (hereinafter referred to as "the newly added test process script") is obtained (developed by the user or purchased from outside), the newly added test process script is uploaded to the relay server 1 as part of the test process script 111. After the upload is completed, the relay server 1 adds a script version name corresponding to the newly added test process script in the test process script directory 112.

堡壘機伺服器3係指設置於系統前端,具有強大防護能力以防止病毒或駭客入侵之前置伺服器(Jump Server),且堡壘機伺服器3建立有一部署設定網頁31,並且包含一網頁更新模組32。在堡壘機伺服器3通信連結於中轉伺服器1時,可擷取測試流程腳本目錄112。部署設定裝置4可為一電腦或一行動電子通信裝置,其中安裝有一測試流程腳本部署程式41,在一部署設定人員操作部署設定裝置4以執行測試流程腳本部署程式41時,會通信連結至認證裝置5,且認證裝置5通信連結於堡壘機伺服器3。在部署設定人員藉由部署設定裝置4輸入之一登入帳號與一登入密碼,且經過認證裝置5認證所輸入之登入帳號與登入密碼正確後,可使部署設定裝置4一超文本傳輸協定 (Hyper Text Transfer Protocol; HTTP)通信連結至堡壘機伺服器3而開啟部署設定網頁31。The jump server 3 is a front-end server (Jump Server) that is set at the front end of the system and has a strong protection capability to prevent viruses or hackers from invading. The jump server 3 has a deployment setting web page 31 established and includes a web page update module 32. When the jump server 3 is communicatively connected to the relay server 1, the test process script directory 112 can be captured. The deployment setting device 4 can be a computer or a mobile electronic communication device, in which a test process script deployment program 41 is installed. When a deployment setting personnel operates the deployment setting device 4 to execute the test process script deployment program 41, it will be communicatively connected to the authentication device 5, and the authentication device 5 is communicatively connected to the jump server 3. After the deployment configuration personnel inputs a login account and a login password through the deployment configuration device 4, and after the authentication device 5 authenticates that the input login account and login password are correct, the deployment configuration device 4 can establish a Hyper Text Transfer Protocol (HTTP) communication link to the fortress server 3 to open the deployment configuration web page 31.

在部署設定網頁31中,部署設定人員可自測試流程腳本目錄112中,選取設定每一產線伺服器200a~200c所應更新之該些腳本版次名稱中之一更新腳本版次名稱,藉以依據產線伺服器200a~200c與更新腳本版次名稱而建立一腳本對應關係,使堡壘機伺服器3依據腳本對應關係產生一批次化更新命令S1。In the deployment setting web page 31, the deployment setting personnel can select one of the script version names that should be updated for each production line server 200a~200c from the test process script directory 112 to update the script version name, thereby establishing a script correspondence relationship based on the production line server 200a~200c and the update script version name, so that the fortress server 3 generates a batch update command S1 based on the script correspondence relationship.

進一步舉例而言,腳本對應關係可藉由表一所示之腳本對應關係表加以呈現。如表一所示,產線伺服器代號S0001~S0003係分別代表產線伺服器200a~200c,在部署設定網頁31會自動呈現出產線伺服器代號與現行之腳本版次名稱這兩行欄位的內容。預計更新之更新腳本版次名稱這行欄位的內容是由部署設定人員自測試流程腳本目錄112中選取填入的。For further example, the script correspondence can be presented by the script correspondence table shown in Table 1. As shown in Table 1, the production line server codes S0001~S0003 represent the production line servers 200a~200c respectively, and the content of the two lines of the production line server code and the current script version name will be automatically presented on the deployment setting webpage 31. The content of the update script version name line of the expected update is selected and filled in by the deployment setting personnel from the test process script directory 112.

表一:腳本對應關係表 產線伺服器代號 現行之腳本版次名稱 預計更新之更新腳本版次名稱 S0001 TFS001.001 TFS001.003 S0002 TFS001.001 TFS001.001 S0003 TFS001.001 TFS002.004 Table 1: Script correspondence table Production line server code Current script version name Expected update script version name S0001 TFS001.001 TFS001.003 S0002 TFS001.001 TFS001.001 S0003 TFS001.001 TFS002.004

如表一所示,針對產線伺服器代號為S0001與S0003者,現行之腳本版次名稱與預計更新之更新腳本版次名稱不同,表示部署設定人員正在針對產線伺服器200a與200c進行更新部署。針對產線伺服器代號為S0002者,現行腳本版次名稱與預計更新之更新腳本版次名稱相同,表示部署設定人員決定沿用產線伺服器200b現行之腳本版次名稱所對應之測試流程腳本111。As shown in Table 1, for the production line servers coded S0001 and S0003, the current script version name is different from the expected update script version name, indicating that the deployment personnel are updating and deploying the production line servers 200a and 200c. For the production line server coded S0002, the current script version name is the same as the expected update script version name, indicating that the deployment personnel decided to use the test process script 111 corresponding to the current script version name of the production line server 200b.

在批次化更新命令S1被傳送至中轉伺服器1後,可使中轉伺服器1依據腳本對應關係將更新腳本版次名稱所對應之測試流程腳本以檔案傳輸協定批次化傳送至產線伺服器200a~200c,藉以對產線伺服器200a~200c完成測試流程腳本之批次化更新。After the batch update command S1 is transmitted to the relay server 1, the relay server 1 can batch transmit the test process scripts corresponding to the update script version name to the production line servers 200a~200c according to the script correspondence relationship using the file transfer protocol, thereby completing the batch update of the test process scripts for the production line servers 200a~200c.

中轉伺服器1之版次更新監控模組12,可以輪詢的方式監控產線伺服器200a~200c之完成批次化更新的進度,並在確認產線伺服器200a~200c都完成批次化更新,並記錄於產線伺服器200a~200c之伺服器日誌201a~201c後,蒐集並記錄產線伺服器200a~200c之更新腳本版次名稱。之後,中轉伺服器1之更新信息發布模組13可依據產線伺服器200a~200c之更新腳本版次名稱而發布一腳本更新信息。較佳者,腳本更新信息可利用電子郵件、短信、信息推播等方式傳送至堡壘機伺服器3與部署設定人員所操作之電子裝置(包含上述之部署設定裝置4),以讓部署設定人員知悉測試流程腳本111之批次化更新工作已經完成。The version update monitoring module 12 of the transit server 1 can monitor the progress of the batch update of the production line servers 200a~200c in a polling manner, and after confirming that the production line servers 200a~200c have completed the batch update and recorded in the server logs 201a~201c of the production line servers 200a~200c, collect and record the update script version names of the production line servers 200a~200c. Afterwards, the update information publishing module 13 of the transit server 1 can publish a script update information according to the update script version names of the production line servers 200a~200c. Preferably, the script update information can be sent to the fortress server 3 and the electronic device operated by the deployment and configuration personnel (including the above-mentioned deployment and configuration device 4) by means of e-mail, text message, information push, etc., so that the deployment and configuration personnel know that the batch update work of the test process script 111 has been completed.

為了同時在部署設定網頁31呈現產線伺服器200a~200c目前所使用的腳本版次名稱,較佳者,堡壘機伺服器3之網頁更新模組32更在堡壘機伺服器3接收到腳本更新信息後,再依據產線伺服器200a~200c之更新腳本版次名稱更新部署設定網頁31。經過更新後之部署設定網頁31中的腳本對應關係表如表二所示。In order to simultaneously present the script version name currently used by the production line servers 200a~200c on the deployment configuration webpage 31, preferably, the webpage update module 32 of the fortress machine server 3 further updates the deployment configuration webpage 31 according to the updated script version name of the production line servers 200a~200c after the fortress machine server 3 receives the script update information. The script correspondence table in the updated deployment configuration webpage 31 is shown in Table 2.

表二:更新後之腳本對應關係表 產線伺服器代號 現行之腳本版次名稱 預計更新之更新腳本版次名稱 S0001 TFS001.003 待選擇輸入 S0002 TFS001.001 待選擇輸入 S0003 TFS002.004 待選擇輸入 Table 2: Updated script correspondence table Production line server code Current script version name Expected update script version name S0001 TFS001.003 Input to be selected S0002 TFS001.001 Input to be selected S0003 TFS002.004 Input to be selected

如表二所示,在完成部署設定網頁31之更新後,會以完成更新後之更新腳本版次名稱作為現行之腳本版次名稱,而預計更新之更新腳本版次名稱的欄位必須等待下一次有批次化更新需求時,再由部署設定人員自測試流程腳本目錄112中選擇輸入。As shown in Table 2, after the update of the deployment configuration webpage 31 is completed, the updated script version name after the update is completed will be used as the current script version name, and the field of the updated script version name to be updated must wait until the next time there is a batch update requirement, and then the deployment configuration personnel will select and input it from the test process script directory 112.

綜合以上所述,由於在本發明所提供之批次化更新系統100中,係利用堡壘機伺服器3所建立之部署設定網頁31供部署設定人員同時對多個產線伺服器200a~200c所需的測試流程腳本111進行一次性部署設定,使堡壘機伺服器3依據部署設定產生批次化更新命令S1,並使中轉伺服器1依據批次化更新命令S1自動對多個產線伺服器200a~200c進行批次化更新。毫無疑問地,將可以大幅縮減產線伺服器200a~200c之測試流程腳本111更新時間,進而大幅提升生產線的工作效率。In summary, in the batch update system 100 provided by the present invention, the deployment setting webpage 31 established by the fortress server 3 is used for the deployment setting personnel to simultaneously perform one-time deployment setting of the test process script 111 required by multiple production line servers 200a~200c, so that the fortress server 3 generates a batch update command S1 according to the deployment setting, and the transit server 1 automatically performs batch update on multiple production line servers 200a~200c according to the batch update command S1. Undoubtedly, the update time of the test process script 111 of the production line servers 200a~200c can be greatly reduced, thereby greatly improving the work efficiency of the production line.

藉由以上較佳具體實施例之詳述,係希望能更加清楚描述本發明之特徵與精神,而並非以上述所揭露的較佳具體實施例來對本發明之範疇加以限制。相反地,其目的是希望能涵蓋各種改變及具相等性的安排於本發明所欲申請之專利範圍的範疇內。The above detailed description of the preferred specific embodiments is intended to more clearly describe the features and spirit of the present invention, but is not intended to limit the scope of the present invention by the preferred specific embodiments disclosed above. On the contrary, the purpose is to cover various changes and arrangements with equivalents within the scope of the patent application for the present invention.

100:批次化更新系統 1:中轉伺服器 11:測試流程腳本資料庫 111:測試流程腳本 112:測試流程腳本目錄 12:版次更新監控模組 13:更新信息發布模組 2a,2b,2c:測試流程腳本上傳模組 200a,200b,200c:產線伺服器 201a,201b,201c:伺服器日誌 3:堡壘機伺服器 31:部署設定網頁 32:網頁更新模組 4:部署設定裝置 41:測試流程腳本部署程式 5:認證裝置 S1:批次化更新命令 100: Batch update system 1: Transfer server 11: Test process script database 111: Test process script 112: Test process script directory 12: Version update monitoring module 13: Update information release module 2a, 2b, 2c: Test process script upload module 200a, 200b, 200c: Production line server 201a, 201b, 201c: Server log 3: Fortress server 31: Deployment setting web page 32: Web page update module 4: Deployment setting device 41: Test process script deployment program 5: Authentication device S1: Batch update command

第一圖係顯示本發明較佳實施例所提供之測試流程腳本之批次化更新系統之功能方塊圖。The first figure is a functional block diagram of a batch update system for the test process script provided by the preferred embodiment of the present invention.

100:批次化更新系統 100: Batch update system

1:中轉伺服器 1: Relay server

11:測試流程腳本資料庫 11: Test process script database

111:測試流程腳本 111:Test process script

112:測試流程腳本目錄 112: Test process script directory

12:版次更新監控模組 12: Version update monitoring module

13:更新信息發布模組 13: Update information release module

2a,2b,2c:測試流程腳本上傳模組 2a, 2b, 2c: Test process script upload module

200a,200b,200c:產線伺服器 200a, 200b, 200c: Production line server

201a,201b,201c:伺服器日誌 201a,201b,201c: Server log

3:堡壘機伺服器 3: Fortress Server

31:部署設定網頁 31: Deployment settings page

32:網頁更新模組 32: Web page update module

4:部署設定裝置 4: Deployment and configuration equipment

41:測試流程腳本部署程式 41:Test process script deployment program

5:認證裝置 5: Authentication device

S1:批次化更新命令 S1: Batch update command

Claims (5)

一種測試流程腳本之批次化更新系統,係用以批次化更新複數個產線伺服器所對應之複數個測試流程腳本,並且包含:一中轉伺服器,係用以儲存複數個測試流程腳本,藉由一檔案傳輸協定(File Transfer Protocol;FTP)通信連結至該些產線伺服器,並依據該些測試流程腳本所對應之複數個腳本版次名稱而建立有一測試流程腳本目錄,藉以在該些測試流程腳本變動時,更新該測試流程腳本目錄;一堡壘機伺服器,係建立有一部署設定網頁,並在通信連結於該中轉伺服器時,擷取該測試流程腳本目錄;一部署設定裝置,係藉由執行一測試流程腳本部署程式而以一超文本傳輸協定(Hyper Text Transfer Protocol;HTTP)通信連結至該堡壘機伺服器而開啟該部署設定網頁,以供一部署設定人員自該測試流程腳本目錄中,選取設定每一該些產線伺服器所應更新之該些腳本版次名稱中之一更新腳本版次名稱,藉以依據該些產線伺服器與至少一上述之更新腳本版次名稱而建立一腳本對應關係,使該堡壘機伺服器依據該腳本對應關係產生一批次化更新命令;以及一認證裝置,係通信連結於該部署設定裝置與該堡壘機伺服器,藉以在認證藉由該部署設定裝置所輸入 之一登入帳號與一登入密碼正確後,使該部署設定裝置以該超文本傳輸協定通信連結至該堡壘機伺服器而開啟該部署設定網頁,其中,該批次化更新命令係被傳送至該中轉伺服器,使該中轉伺服器依據該腳本對應關係將該至少一更新腳本版次名稱所對應之測試流程腳本以該檔案傳輸協定批次化傳送至該些產線伺服器,藉以對該些產線伺服器完成批次化更新。 A batch update system for test process scripts is used to batch update a plurality of test process scripts corresponding to a plurality of production line servers, and includes: a transfer server for storing a plurality of test process scripts, and a file transfer protocol (File Transfer Protocol) for transferring the test process scripts to the server. A test process script directory is established according to the multiple script version names corresponding to the test process scripts, so as to update the test process script directory when the test process scripts are changed; a fortress server is established with a deployment setting webpage, and when the communication link is connected to the relay server, the test process script directory is captured; a deployment setting device is established by executing a test process script deployment program and using a Hyper Text Transfer Protocol (HTP) to transmit the test process script directory to the production line servers; Protocol; HTTP) communication link to the fortress machine server to open the deployment setting webpage, so that a deployment setting personnel can select one of the script version names to be updated for each of the production line servers from the test process script directory, so as to establish a script correspondence relationship based on the production line servers and at least one of the above-mentioned update script version names, so that the fortress machine server generates a batch update command based on the script correspondence relationship; and an authentication device, which is communication-connected between the deployment setting device and the The fortress server, after verifying that a login account and a login password input by the deployment configuration device are correct, enables the deployment configuration device to connect to the fortress server through the hypertext transfer protocol communication to open the deployment configuration webpage, wherein the batch update command is transmitted to the transit server, so that the transit server batches the test process scripts corresponding to the at least one update script version name to the production line servers according to the script correspondence relationship through the file transfer protocol, thereby completing the batch update of the production line servers. 如請求項1所述之測試流程腳本之批次化更新系統,更包含至少一測試流程腳本上傳模組,該測試流程腳本上傳模組係藉由該檔案傳輸協定通信連結於該中轉伺服器,藉以將至少一新增測試流程腳本上傳至該中轉伺服器以作為部分之該些測試流程腳本,並完成上傳後,使該中轉伺服器在該測試流程腳本目錄中新增對應於該至少一新增測試流程腳本之至少一上述腳本版次名稱。 The batch update system of the test process script as described in claim 1 further comprises at least one test process script upload module, which is connected to the relay server through the file transfer protocol communication to upload at least one newly added test process script to the relay server as part of the test process scripts, and after the upload is completed, the relay server adds at least one script version name corresponding to the at least one newly added test process script in the test process script directory. 如請求項1所述之測試流程腳本之批次化更新系統,其中,該中轉伺服器更包含一版次更新監控模組,藉以在每一該些產線伺服器完成批次化更新,並記錄於每一該些產線伺服器之一伺服器日誌後,利用該版次更新監控模組蒐集並記錄該些產線伺服器之更新腳本版次名稱。 The batch update system of the test process script as described in claim 1, wherein the transit server further includes a version update monitoring module, so that after each of the production line servers completes the batch update and records it in a server log of each of the production line servers, the version update monitoring module is used to collect and record the update script version names of the production line servers. 如請求項3所述之測試流程腳本之批次化更新系統,其中,該中轉伺服器更包含一更新信息發布模組,該更新信息發布模組係用以依據該些產線伺服器之更新腳本版次名稱而發布一腳本更新信息。 The batch update system of the test process script as described in claim 3, wherein the transit server further includes an update information publishing module, and the update information publishing module is used to publish a script update information according to the update script version name of the production line servers. 如請求項4所述之測試流程腳本之批次化更新系統,其中,該堡壘機伺服器更包含一網頁更新模組,藉以在堡壘機伺服器接收到該腳本更新信息後,在依據該些產線伺服器之更新腳本版次名稱更新該部署設定網頁。 The batch update system of the test process script as described in claim 4, wherein the fortress server further includes a web page update module, so that after the fortress server receives the script update information, the deployment setting web page is updated according to the update script version name of the production line servers.
TW111138997A 2022-10-14 2022-10-14 System for batched updating test flow script TWI864454B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW111138997A TWI864454B (en) 2022-10-14 2022-10-14 System for batched updating test flow script

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW111138997A TWI864454B (en) 2022-10-14 2022-10-14 System for batched updating test flow script

Publications (2)

Publication Number Publication Date
TW202416115A TW202416115A (en) 2024-04-16
TWI864454B true TWI864454B (en) 2024-12-01

Family

ID=91622495

Family Applications (1)

Application Number Title Priority Date Filing Date
TW111138997A TWI864454B (en) 2022-10-14 2022-10-14 System for batched updating test flow script

Country Status (1)

Country Link
TW (1) TWI864454B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI253560B (en) * 2003-05-20 2006-04-21 Inventec Corp Fabrication method of master disk for testing
CN101206604A (en) * 2006-12-22 2008-06-25 英业达股份有限公司 Test method for automatically updating test script
TW201113811A (en) * 2009-10-07 2011-04-16 Syscom Comp Engineering Co Programmable provision system and method
US20150058831A1 (en) * 2013-08-22 2015-02-26 Peter Warren Web application development platform with relationship modeling
US20190250906A1 (en) * 2017-05-30 2019-08-15 Microsoft Technology Licensing, Llc Autonomous upgrade of deployed resources in a distributed computing environment
CN112527904A (en) * 2020-12-17 2021-03-19 平安科技(深圳)有限公司 Automatic synchronization method and device for associated scripts, computer equipment and storage medium
TW202113601A (en) * 2019-09-19 2021-04-01 英業達股份有限公司 Automated integrated test system and method thereof
US20220075636A1 (en) * 2020-09-09 2022-03-10 Servicenow, Inc. System and method for versioned script management
US20220156168A1 (en) * 2019-02-01 2022-05-19 Dell Products L.P. Smart selection of test scripts for commodity testing on manufacturing floor
US20220237107A1 (en) * 2021-01-26 2022-07-28 The Toronto-Dominion Bank System and Method for Facilitating Performance Testing

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI253560B (en) * 2003-05-20 2006-04-21 Inventec Corp Fabrication method of master disk for testing
CN101206604A (en) * 2006-12-22 2008-06-25 英业达股份有限公司 Test method for automatically updating test script
TW201113811A (en) * 2009-10-07 2011-04-16 Syscom Comp Engineering Co Programmable provision system and method
US20150058831A1 (en) * 2013-08-22 2015-02-26 Peter Warren Web application development platform with relationship modeling
US20190250906A1 (en) * 2017-05-30 2019-08-15 Microsoft Technology Licensing, Llc Autonomous upgrade of deployed resources in a distributed computing environment
US20220156168A1 (en) * 2019-02-01 2022-05-19 Dell Products L.P. Smart selection of test scripts for commodity testing on manufacturing floor
TW202113601A (en) * 2019-09-19 2021-04-01 英業達股份有限公司 Automated integrated test system and method thereof
US20220075636A1 (en) * 2020-09-09 2022-03-10 Servicenow, Inc. System and method for versioned script management
CN112527904A (en) * 2020-12-17 2021-03-19 平安科技(深圳)有限公司 Automatic synchronization method and device for associated scripts, computer equipment and storage medium
US20220237107A1 (en) * 2021-01-26 2022-07-28 The Toronto-Dominion Bank System and Method for Facilitating Performance Testing

Also Published As

Publication number Publication date
TW202416115A (en) 2024-04-16

Similar Documents

Publication Publication Date Title
KR100620054B1 (en) Device Management System and Method in Device Management Technology
JP4709214B2 (en) System and method for integrating, securing and automating out-of-band access to nodes in a data network
US7395322B2 (en) Method and apparatus for provisioning network devices using instructions in Extensible Markup Language
TW200404439A (en) Remote dynamic configuration of a web server to facilitate capacity on demand
JP2011081809A (en) Apparatus for managing network resources
CN112929188B (en) Device connection method, system, apparatus and computer readable storage medium
JP2004086904A (en) System and method for remotely controlling test equipment on a network
KR102108376B1 (en) Inspection system for inspecting computers in computer systems on the inspection network
CN101018155A (en) Network element management method, system and network element
CN118075057A (en) Method for managing FTTR master-slave gateway based on TR069+MQTT mode
TWI864454B (en) System for batched updating test flow script
CN112039708A (en) Network equipment operation and maintenance method
JP5771741B2 (en) Communications system
Elezi et al. On automating network systems configuration management
US20150082088A1 (en) System and method for taking sequence of dynamic recovery actions
US8656011B2 (en) Method and management apparatus for detecting communication apparatus coupled to communication network
CN106533716B (en) A kind of management method and system of northbound interface
CN108011870A (en) A kind of remote software online upgrading information automatic identification management method
CN108234165A (en) A kind of method and apparatus that gateway is configured
US20060109800A1 (en) Communication management network system and method for managing a communication network
JP2004274675A (en) Equipment management system
CN118555219A (en) Client-oriented HTTPS request automatic test method, device and computer readable storage medium
CN118101454A (en) A method and device for automatic configuration of network equipment
CN101212346A (en) Software version management method and device of a network element management system
JP6927930B2 (en) Programs, devices and methods for creating a network status model for each contract line for each subscriber