TW202301104A - Device and method of building test file - Google Patents
Device and method of building test file Download PDFInfo
- Publication number
- TW202301104A TW202301104A TW110121938A TW110121938A TW202301104A TW 202301104 A TW202301104 A TW 202301104A TW 110121938 A TW110121938 A TW 110121938A TW 110121938 A TW110121938 A TW 110121938A TW 202301104 A TW202301104 A TW 202301104A
- Authority
- TW
- Taiwan
- Prior art keywords
- request
- file
- test file
- user
- building
- Prior art date
Links
Images
Landscapes
- Computer And Data Communications (AREA)
- Maintenance And Management Of Digital Transmission (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
本發明相關於一種用於建置測試檔的裝置及方法。The invention relates to a device and method for building test files.
當使用者欲修改基本輸入輸出系統程式碼時,使用者須通知建置人員,以透過建置人員修改基本輸入輸出系統程式碼以及建置用於測試基本輸入輸出系統的測試檔。在建置人員建置測試檔後,從建置人員,使用者接收建置的測試檔以及據以測試基本輸入輸出系統。然而,上述涉及建置人員的人為操作不僅會增加人力資源的消耗,也會提升失誤的風險。此些問題在建置人員重覆地操作的情況下更趨嚴重。因此,如何在減少人力資源的消耗及降低失誤的風險的情況下建置用於測試基本輸入輸出系統的測試檔是一亟待解決的問題。When the user wants to modify the BIOS code, the user must notify the builder, so that the builder can modify the BIOS code and create a test file for testing the BIOS. After the builder builds the test file, the builder and the user receive the built test file and use it to test the basic input/output system. However, the above-mentioned manual operations involving construction personnel will not only increase the consumption of human resources, but also increase the risk of mistakes. These problems are aggravated when builders operate repeatedly. Therefore, how to build test files for testing the basic input and output system while reducing the consumption of human resources and the risk of errors is an urgent problem to be solved.
本發明提供了一種建置測試檔的裝置及方法,用來建置測試檔,以解決上述問題。The present invention provides a device and method for building test files, which are used to build test files to solve the above problems.
本發明揭露一種用於建置(Build)一測試檔的裝置,包含有:一接收模組,用來接收一第一使用者的一第一請求及分析該第一請求,以及通知該第一請求的一分析結果到該第一使用者;一建置模組,耦接於該接收模組,用來根據一任務佇列(Task Queue)中的該第一請求,建置該測試檔;以及一傳送模組,耦接於該建置模組,用來通知該測試檔的一建置結果到該第一使用者。The invention discloses a device for building a test file, including: a receiving module, used to receive a first request from a first user, analyze the first request, and notify the first An analysis result of the request is sent to the first user; a building module, coupled to the receiving module, is used to build the test file according to the first request in a task queue (Task Queue); and a sending module, coupled to the building module, for notifying a building result of the test file to the first user.
本發明另揭露一種用於建置一測試檔的方法,用以建置上述測試檔。The present invention also discloses a method for building a test file, which is used for building the above test file.
第1圖為本發明實施例一建置測試檔的裝置10的示意圖。如第1圖所示,建置測試檔的裝置10包含有一接收模組100、一建置模組110及一傳送模組120。詳細來說,接收模組100可用來接收第一使用者的第一請求及分析(例如解讀或解析)第一請求,以及可通知第一請求的分析結果到第一使用者。建置模組110耦接於接收模組100,可用來根據任務佇列(Task Queue)中的第一請求,建置測試檔。傳送模組120耦接於建置模組110,可用來通知(例如傳送)測試檔的建置結果到第一使用者。FIG. 1 is a schematic diagram of a
在一實施例中,透過監控(例如週期性地詢問)通訊軟體(例如其中的資料夾),接收模組100可接收第一使用者的第一請求。在一實施例中,透過通訊軟體,接收模組100可通知第一請求的分析結果到第一使用者。在一實施例中,透過通訊軟體,傳送模組120可通知測試檔的建置結果到第一使用者。在一實施例中,通訊軟體可包含有電子郵件軟體(例如Outlook或Gmail)、即時通訊軟體(例如Skype)或其組合,但不限於此。In one embodiment, the
在一實施例中,在通知第一請求的分析結果到第一使用者的運作中,當分析結果是成功的時,接收模組100可在任務佇列中加入第一請求,以及可通知第一請求是被接收的到第一使用者。此外,接收模組100可接收第二請求。在一實施例中,當分析結果是不成功的時,接收模組100可通知第一請求是失敗的到第一使用者。此外,接收模組100可接收第二請求。在一實施例中,從第一使用者或第二使用者,接收模組100可接收第二請求。In one embodiment, in the operation of notifying the first user of the analysis result of the first request, when the analysis result is successful, the receiving
在一實施例中,在根據任務佇列中的第一請求建置測試檔的運作中,建置模組110可根據任務佇列中的第一請求決定(例如分析)第一請求的平台(Platform)。建置模組110可產生用於平台的腳本(Script)。建置模組110可執行腳本以及可等待腳本被成功地執行。當腳本被成功地執行時,建置模組110可建置測試檔。在一實施例中,腳本可包含有用來建置測試檔的指令。在一實施例中,指令可被預先地決定或動態地決定。In one embodiment, during the operation of building the test file according to the first request in the task queue, the
在一實施例中,平台可包含有作業系統。在一實施例中,作業系統可包含有WINDOWS XP、WINDOWS VISTA、WINDOWS 7、WINDOWS 8、WINDOWS 10、上述WINDOWS作業系統版本間的任一版本或WINDOWS 10的後續版本,但不限於此。In one embodiment, the platform may include an operating system. In one embodiment, the operating system may include WINDOWS XP, WINDOWS VISTA, WINDOWS 7, WINDOWS 8, WINDOWS 10, any version among the above WINDOWS operating system versions or a subsequent version of WINDOWS 10, but not limited thereto.
在一實施例中,第一請求或第二請求可包含有基本輸入輸出系統(Basic Input Output System,BIOS)的版本或機器類型。在一實施例中,根據版本或機器類型,建置模組110可決定(例如分析)第一請求或第二請求的平台。In an embodiment, the first request or the second request may include a Basic Input Output System (BIOS) version or a machine type. In one embodiment, according to the version or machine type, the
在一實施例中,第一請求或第二請求可包含有壓縮檔,壓縮檔可包含有路徑(例如連結)、原始碼(source code)、關聯於原始碼的資訊或上述資訊的組合,但不限於此。在一實施例中,根據上述資訊或其組合,建置模組110可決定(例如分析)第一請求或第二請求的平台。在一實施例中,測試檔可包含有用於測試基本輸入輸出系統的二進制檔、描述檔(description file)或資訊檔(Information file)。In one embodiment, the first request or the second request may include a compressed file, and the compressed file may include a path (such as a link), source code (source code), information related to the source code, or a combination of the above information, but Not limited to this. In one embodiment, according to the above information or a combination thereof, the
在一實施例中,在通知測試檔的建置結果到第一使用者的運作中,根據測試檔的錯誤碼,傳送模組120可決定是否發生錯誤。在一實施例中,當錯誤發生時,傳送模組120可分析測試檔的事件紀錄檔(Log)以及可通知建置結果到第一使用者。建置結果可包含有關聯於錯誤碼的錯誤訊息。在一實施例中,當錯誤未發生時,傳送模組120可傳送測試檔到檔案傳輸空間,以及可通知建置結果到第一使用者。在一實施例中,建置結果可包含有第一請求是被建置成功地及檔案傳輸空間的存取資訊。In one embodiment, during the operation of notifying the first user of the construction result of the test file, the
在一實施例中,在傳送測試檔到檔案傳輸空間的運作中,傳送模組120可壓縮測試檔以產生壓縮的測試檔,以及可傳送壓縮的測試檔到檔案傳輸空間。在一實施例中,透過資料壓縮軟體,傳送模組120可壓縮測試檔以產生壓縮的測試檔。在一實施例中,資料壓縮軟體可包含有ZIP、RAR或7z,但不限於此。In one embodiment, during the operation of transmitting the test file to the file transmission space, the
在一實施例中,在傳送測試檔到檔案傳輸空間的運作中,根據檔案傳輸協定(File Transfer Protocol,FTP),傳送模組120可傳送測試檔到檔案傳輸空間。在一實施例中,存取資訊可包含有存取連結或至少一通訊埠,但不限於此。在一實施例中,至少一通訊埠可包含有指令通訊埠(Command Port)(例如通訊埠21)或資料通訊埠(Data Port)(例如通訊埠20),但不限於此。In one embodiment, during the operation of transmitting the test file to the file transmission space, according to the File Transfer Protocol (FTP), the
前述建置測試檔的裝置10的建置方法可歸納為第2圖的一流程20。流程20包含有以下步驟:The aforementioned method for building the
步驟200:開始。Step 200: start.
步驟202:接收第一使用者的第一請求及分析第一請求,以及通知第一請求的分析結果到第一使用者。Step 202: Receive a first request from a first user and analyze the first request, and notify the first user of the analysis result of the first request.
步驟204:根據任務佇列中的第一請求,建置測試檔。Step 204: Create a test file according to the first request in the task queue.
步驟206:通知測試檔的建置結果到第一使用者。Step 206 : Notify the first user of the test file construction result.
步驟208:結束。Step 208: end.
前述接收模組100的接收方法可歸納為第3圖的一流程30。流程30包含有以下步驟:The aforementioned receiving method of the receiving
步驟300:開始。Step 300: start.
步驟302:接收第一使用者的第一請求。Step 302: Receive a first request from a first user.
步驟304:分析第一請求的分析結果是否為成功的。Step 304: Analyze whether the analysis result of the first request is successful.
步驟306a:當分析結果是成功的時,在任務佇列中加入第一請求,以及通知第一請求是被接收的到第一使用者。
步驟306b:當分析結果是不成功的時,通知第一請求是失敗的到第一使用者。
步驟308:接收第二請求。Step 308: Receive a second request.
步驟310:結束。Step 310: end.
前述建置模組110的建置方法可歸納為第4圖的一流程40。流程40包含有以下步驟:The aforementioned construction method of the
步驟400:開始。Step 400: start.
步驟402:根據任務佇列中的第一請求決定第一請求的平台。Step 402: Determine the platform of the first request according to the first request in the task queue.
步驟404:產生用於平台的腳本。Step 404: Generate a script for the platform.
步驟406:執行腳本。Step 406: Execute the script.
步驟408:等待腳本被成功地執行。Step 408: Wait for the script to be executed successfully.
步驟410:當腳本被成功地執行時,建置測試檔。Step 410: When the script is executed successfully, build a test file.
步驟412:結束。Step 412: end.
前述傳送模組120的傳送方法可歸納為第5圖的一流程50。流程50包含有以下步驟:The transmission method of the
步驟500:開始。Step 500: start.
步驟502:根據測試檔的錯誤碼,決定是否發生錯誤。Step 502: Determine whether an error occurs according to the error code of the test file.
步驟504a:當錯誤發生時,分析測試檔的事件紀錄檔,以及通知關聯於錯誤碼的錯誤訊息到第一使用者。
步驟504b:當錯誤未發生時,傳送測試檔到檔案傳輸空間,以及通知第一請求是被建置成功地及檔案傳輸空間的存取資訊到第一使用者。
步驟506:結束。Step 506: end.
需注意的是,上述“第一"及“第二"是為了區別相關陳述,而非用來限制相關陳述的次序。It should be noted that the above "first" and "second" are used to distinguish the relevant statements, not to limit the order of the relevant statements.
需注意的是,建置測試檔的裝置10(及其中的接收模組100、建置模組110、傳送模組120)的實現方式可有很多種。舉例來說,可將上述模組整合為一或多個模組。此外,建置測試檔的裝置10(及其中的接收模組100、建置模組110、傳送模組120)可透過硬體(例如電路或晶片)、軟體、韌體(為硬體裝置與電腦指令與資料的結合,且電腦指令與資料屬於硬體裝置上的唯讀軟體)、電子系統、或上述模組的組合來實現,但不限於此。前述的所有流程的步驟可可透過硬體(例如電路或晶片)、軟體(例如程式碼)、韌體(為硬體裝置與電腦指令與資料的結合,且電腦指令與資料屬於硬體裝置上的唯讀軟體)、電子系統、或上述模組的組合來實現,但不限於此。It should be noted that there are many ways to implement the
綜上所述,本發明提供了一種用於建置測試檔的裝置及方法,當使用者欲修改基本輸入輸出系統程式碼時,透過通訊軟體,使用者可通知建置測試檔的裝置其請求。建置測試檔的裝置可自動地接收請求、可自動地建置用於測試基本輸入輸出系統的測試檔,以及可自動地傳送建置完成的測試檔到使用者。也就是說,在建置測試檔的過程中未涉及建置人員的人為操作。因此,先前技術中建置人員的人為操作所產生的問題可被解決。 以上所述僅為本發明之較佳實施例,凡依本發明申請專利範圍所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。 In summary, the present invention provides a device and method for building test files. When the user wants to modify the basic input and output system code, the user can notify the device for building the test file of his request through the communication software. . The device for building test files can automatically receive requests, can automatically build test files for testing the basic input output system, and can automatically send the completed test files to users. That is to say, in the process of building the test file, no manual operation of the builder is involved. Therefore, the problems caused by manual operation of builders in the prior art can be solved. The above descriptions are only preferred embodiments of the present invention, and all equivalent changes and modifications made according to the scope of the patent application of the present invention shall fall within the scope of the present invention.
10:建置測試檔的裝置
100:接收模組
110:建置模組
120:傳送模組
20、30、40、50:流程
200、202、204、206、208、300、302、304、306a、306b、308、310、400、402、404、406、408、410、412、500、502、504a、504b、506:步驟
10: Device for building test files
100: receiving module
110: Build modules
120:
第1圖為本發明實施例一建置測試檔的裝置的示意圖。 第2圖為本發明實施例一流程的流程圖。 第3圖為本發明實施例一流程的流程圖。 第4圖為本發明實施例一流程的流程圖。 第5圖為本發明實施例一流程的流程圖。 FIG. 1 is a schematic diagram of a device for building test files according to Embodiment 1 of the present invention. Fig. 2 is a flow chart of the process of Embodiment 1 of the present invention. Fig. 3 is a flow chart of the process of Embodiment 1 of the present invention. Fig. 4 is a flow chart of the first embodiment of the present invention. Fig. 5 is a flow chart of the first embodiment of the present invention.
20:流程 20: Process
200、202、204、206、208:步驟 200, 202, 204, 206, 208: steps
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW110121938A TW202301104A (en) | 2021-06-16 | 2021-06-16 | Device and method of building test file |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW110121938A TW202301104A (en) | 2021-06-16 | 2021-06-16 | Device and method of building test file |
Publications (1)
Publication Number | Publication Date |
---|---|
TW202301104A true TW202301104A (en) | 2023-01-01 |
Family
ID=86658101
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW110121938A TW202301104A (en) | 2021-06-16 | 2021-06-16 | Device and method of building test file |
Country Status (1)
Country | Link |
---|---|
TW (1) | TW202301104A (en) |
-
2021
- 2021-06-16 TW TW110121938A patent/TW202301104A/en unknown
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8640096B2 (en) | Configuration of componentized software applications | |
CN108416449B (en) | Operation and maintenance method and device | |
WO2020259551A1 (en) | Method and apparatus for handling network connection fault | |
CN103269384A (en) | Rich client abnormality processing method, processing device and processing system | |
CN113890879A (en) | Load balancing method and device for data access, computer equipment and medium | |
CN111694620A (en) | Interaction method, device and equipment of third-party service and computer storage medium | |
CN109710479B (en) | Processing method, first device and second device | |
CN113658351A (en) | Product production method and device, electronic equipment and storage medium | |
TW202301104A (en) | Device and method of building test file | |
WO2023206963A1 (en) | Data processing method and system, and related components | |
CN111447273A (en) | Cloud processing system and data processing method based on cloud processing system | |
CN116204214A (en) | BMC upgrading method, device and system, electronic equipment and storage medium | |
CN115509714A (en) | Task processing method and device, electronic equipment and storage medium | |
CN115454731A (en) | Device and method for building test file | |
CN113923258A (en) | Data processing method and data processing system | |
CN111679899B (en) | Task scheduling method, device, platform equipment and storage medium | |
CN111371586B (en) | Log data transmission method, device and equipment | |
CN113242292A (en) | Message transmission method, device, equipment, medium and product | |
CN113779021A (en) | Data processing method, device, computer system and readable storage medium | |
CN112070391A (en) | Workshop production task management system, method and device | |
CN111240867A (en) | Information communication system and method | |
CN109597576B (en) | Method, device, readable storage medium and system for improving response speed of NCQ command | |
CN114490202B (en) | Password equipment testing method and device, electronic equipment and storage medium | |
CN100362491C (en) | Detecting system and method | |
US9628544B2 (en) | Distributed build and compile statistics |