[go: up one dir, main page]

TWI890625B - Bios default detection method - Google Patents

Bios default detection method

Info

Publication number
TWI890625B
TWI890625B TW113145055A TW113145055A TWI890625B TW I890625 B TWI890625 B TW I890625B TW 113145055 A TW113145055 A TW 113145055A TW 113145055 A TW113145055 A TW 113145055A TW I890625 B TWI890625 B TW I890625B
Authority
TW
Taiwan
Prior art keywords
option
tested
default value
unit
test
Prior art date
Application number
TW113145055A
Other languages
Chinese (zh)
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 TW113145055A priority Critical patent/TWI890625B/en
Application granted granted Critical
Publication of TWI890625B publication Critical patent/TWI890625B/en

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

A BIOS default detection method is implemented by a detection unit. The detection unit is connected to a unit under test and stores a structure data. The structured data includes a plurality of options to be tested and their respective corresponding multiple target values. The BIOS default detection method ​​include: (A) For each option to be tested, generate and send a plurality of operation instructions for obtaining the default value of the option to be tested to the unit under test, so that the unit under test returns the default value of the option to be tested to the detection unit; (B) For each option to be tested that has obtained the default value, determine whether the default value corresponding to the option to be tested is the same as the target value corresponding to the option to be tested; (C) When it is determined that the default value corresponding to the option to be tested is different from the target value corresponding to the option to be tested, the option to be tested is regarded as a setting error option.

Description

基本輸入輸出系統的預設值檢測方法Basic Input Output System Default Value Detection Method

本發明是有關於一種電腦檢測方法,特別是指一種應用於基本輸入輸出系統之預設值的檢測方法。The present invention relates to a computer detection method, and more particularly to a method for detecting default values of a basic input/output system.

目前的關於BIOS之預設值(default)的檢查方式有(1)以人工操作電腦檢查所有選項對應的預設值,此方式效率差且錯誤率高;(2)以攝影機取代人工肉眼方式,自動化分析所擷取到的BIOS設定畫面中所有選項對應的預設值,但這也因需比對大量圖片,而消耗大量的記憶體資源。The current methods for checking BIOS default values include: (1) manually checking the default values corresponding to all options on a computer. This method is inefficient and has a high error rate; (2) using a camera instead of the human eye to automatically analyze the default values corresponding to all options in the captured BIOS setup screen. However, this method also consumes a lot of memory resources because it requires comparing a large number of images.

有鑑於此,實有必要尋求一解決方案,以克服先前檢查方式過度耗損人力或硬體資源的問題。In view of this, it is necessary to find a solution to overcome the problem of excessive consumption of manpower or hardware resources by previous inspection methods.

因此,本發明的目的,即在提供一種應用於基本輸入輸出系統之預設值的檢測方法。Therefore, the object of the present invention is to provide a method for detecting a default value of a basic input/output system.

於是,本發明基本輸入輸出系統的預設值檢測方法,適用於檢驗一待測單元之一基本輸入輸出系統中之每一待測選項的一預設值是否符合該待測選項所對應的一目標值,該基本輸入輸出系統包含多個選單,每一選單包括多個選項,每一選項用於指示出與其所在選單相關聯的另一選單或對應有該預設值,每一待測選項為對應有該預設值的該等選項之其中一者,並藉由一訊號連接該待測單元的一檢測單元來實施,該檢測單元儲存有一樹狀結構化資料,該樹狀結構化資料指示出另一基本輸入輸出系統中每一對應有該目標值的選項之所在選單的一路徑及該選項於所在選單中的一順序位置,且包含該選項所對應的該目標值,該基本輸入輸出系統與該另一本輸入輸出系統具有相同的該等選單及該等選項,該基本輸入輸出系統的預設值檢測方法包含步驟(A)、步驟(B)及步驟(C)。Therefore, the default value detection method of the basic input/output system of the present invention is applicable to detecting whether a default value of each test option in a basic input/output system of a unit to be tested meets a target value corresponding to the test option. The basic input/output system includes a plurality of menus, each menu includes a plurality of options, each option is used to indicate another menu associated with the menu in which it is located or corresponds to the default value. Each test option is one of the options corresponding to the default value, and is connected to the unit to be tested via a signal. The method is implemented by a detection unit, wherein the detection unit stores tree-structured data. The tree-structured data indicates a path of a menu in another basic input/output system where each option corresponding to the target value is located, a sequential position of the option in the menu, and includes the target value corresponding to the option. The basic input/output system and the other basic input/output system have the same menus and options. The default value detection method for the basic input/output system includes steps (A), (B), and (C).

步驟(A)是對於每一待測選項,藉由該檢測單元,根據該結構化資料,產生並傳送一連串多個模擬鍵盤按鍵操作並用於取得該待測選項之該預設值的操作指令至該待測單元,以使該待測單元將該待測選項的該預設值傳送至該檢測單元。In step (A), for each test option, the test unit generates and transmits a series of multiple operation instructions simulating keyboard key operations based on the structured data and used to obtain the default value of the test option to the test unit, so that the test unit transmits the default value of the test option to the test unit.

步驟(B)是對於每一已獲得對應之該預設值的待測選項,藉由該檢測單元,根據該結構化資料,判定該待測選項所對應的該預設值與該待測選項所對應的該目標值是否相同。Step (B) is to determine, for each test option that has obtained the corresponding preset value, whether the preset value corresponding to the test option is the same as the target value corresponding to the test option based on the structured data.

步驟(C)是當判定出該待測選項所對應的該預設值與該待測選項所對應的該目標值不同時,藉由該檢測單元,將該待測選項作為一設定錯誤選項。In step (C), when it is determined that the preset value corresponding to the option to be tested is different from the target value corresponding to the option to be tested, the testing unit sets the option to be tested as a setting error option.

本發明的功效在於:藉由該檢測單元可透過該樹狀結構化資料,查詢得知每一待測選項位於的所在選單,且為所在選單中的第幾個選項,進而傳送對應該待測選項的該等操作指令至該待測單元,以獲得對應該待測選項的該預設值,最後比較該待測選項的該預設值與該目標值,當判定出不同時,將該待測選項作為該設定錯誤選項,以自動化且無需判定圖片而耗費過多記憶體資源的方式進行BIOS預設值檢測。The utility of the present invention lies in that the testing unit can query the menu in which each option to be tested is located and the number of options in the menu through the tree-structured data. The testing unit then transmits the operation instructions corresponding to the option to be tested to the testing unit to obtain the default value corresponding to the option to be tested. Finally, the default value of the option to be tested is compared with the target value. If a difference is determined, the option to be tested is identified as the setting error option. This allows for automated BIOS default value testing without the need for image determination and the consumption of excessive memory resources.

在本發明被詳細描述之前,應當注意在以下的說明內容中,類似的元件是以相同的編號來表示。Before the present invention is described in detail, it should be noted that similar elements are denoted by the same reference numerals in the following description.

參閱圖1,本發明基本輸入輸出系統的預設值檢測方法之一實施例,適用於檢驗一待測單元1之一基本輸入輸出系統(BIOS)中之每一待測選項的一預設值(default)是否符合該待測選項所對應的一目標值,並藉由一系統100來實施。該系統100包含一待測單元1、一標準規格單元2一經由一通訊網路900訊號連接該待測單元1與該標準規格單元2的檢測單元3。Referring to FIG. 1 , an embodiment of a BIOS default value detection method of the present invention is applicable to verifying whether a default value of each test option in a BIOS of a unit under test 1 meets a target value corresponding to the test option. The method is implemented using a system 100. The system 100 includes a unit under test 1, a standard unit 2, and a detection unit 3 signal-connected to the unit under test 1 and the standard unit 2 via a communication network 900.

該待測單元1包含一經由該通訊網路900訊號連接該檢測單元3的控制裝置11,及一經由一使用者資料電報協定(UDP,User Datagram Protocol)訊號連接該控制裝置11的待測裝置12。The unit under test 1 includes a control device 11 connected to the detection unit 3 via the communication network 900 signal, and a device under test 12 connected to the control device 11 via a User Datagram Protocol (UDP) signal.

該控制裝置11用於將接收到來自該檢測單元3的指令的傳送至該待測裝置12。The control device 11 is used to transmit the command received from the detection unit 3 to the device under test 12 .

該待測裝置12具有該基本輸入輸出系統。其中,該基本輸入輸出系統包含多個選單,每一選單包括多個選項,每一選項用於指示出與其所在選單相關聯的另一選單,或對應有該預設值。其中,每一待測選項為對應有該預設值的該等選項之其中一者。具體來說,每一選項所對應的該另一選單包含該選項所連接之下一層的該選單。The device under test 12 has a basic input/output system. The basic input/output system includes multiple menus, each menu including multiple options. Each option is used to indicate another menu associated with the menu it is in, or corresponds to a default value. Each option under test is one of the options corresponding to the default value. Specifically, the other menu corresponding to each option includes the menu in the next layer to which the option is connected.

該標準規格單元2包含一經由該通訊網路900訊號連接該檢測單元3的標準控制裝置21,及一經由該使用者資料電報協定訊號連接該標準控制裝置21的標準規格裝置22。The standard specification unit 2 includes a standard control device 21 connected to the detection unit 3 via the communication network 900 signal, and a standard specification device 22 connected to the standard control device 21 via the UDP signal.

該標準控制裝置21用於將接收到來自該檢測單元3的指令的傳送至該標準規格裝置22。The standard control device 21 is used to transmit the instruction received from the detection unit 3 to the standard specification device 22.

該標準規格裝置22具有另一基本輸入輸出系統。其中,該另一基本輸入輸出系統包含該等選單,每一選單包括該等選項,每一選項用於指示出與其所在選單相關聯的另一選單,或對應有該目標值。其中,該基本輸入輸出系統與該另一本輸入輸出系統具有相同的該等選單及該等選項。The standard device 22 has another basic input/output system. The other basic input/output system includes the menus, each menu including the options, each option indicating another menu associated with the menu in which it is located, or corresponding to the target value. The basic input/output system and the other basic input/output system have the same menus and options.

該檢測單元3包含一經由該通訊網路900訊號連接該控制裝置11與該標準控制裝置21的檢測伺服器31,及一經由該通訊網路900訊號連接該檢測伺服器31的使用端裝置32。The detection unit 3 includes a detection server 31 connected to the control device 11 and the standard control device 21 via the communication network 900 , and a user device 32 connected to the detection server 31 via the communication network 900 .

該檢測伺服器31包含一訊號連接該控制裝置11與該標準控制裝置21與該使用端裝置32的伺服端通訊模組311、一伺服端儲存模組312,及一電連接該伺服端通訊模組311與該伺服端儲存模組312的伺服端處理模組313。The detection server 31 includes a server communication module 311 signal-connected to the control device 11, the standard control device 21, and the user device 32, a server storage module 312, and a server processing module 313 electrically connected to the server communication module 311 and the server storage module 312.

該伺服端儲存模組312儲存有一指示出該標準規格裝置22之該另一基本輸入輸出系統中每一對應有該目標值的選項之所在選單的一路徑及該選項於所在選單中的一順序位置,且包含該選項所對應的該目標值及該選項所對應之一註解字串的樹狀結構化資料(如圖3所示)。其中,每一對應有該目標值的選項所對應的該註解字串用於指示出所對應之該選項的一目標類型,該目標類型為多個類型之其中一者。其中,該基本輸入輸出系統中每一對應有該預設值的選項之所在選單的該路徑及該選項於所在選單中的該順序位置,與該另一基本輸入輸出系統中相對應具有該目標值的選項之所在選單的該路徑及該選項於所在選單中的該順序位置皆相同。值得一提的是,該樹狀結構化資料為JSON檔案或CSV檔案,但不以此為限。The server-side storage module 312 stores tree-structured data (as shown in FIG3 ) indicating a path to a menu containing each option corresponding to the target value in the alternative basic input/output system of the standard device 22 and the sequential position of the option within the menu. The tree-structured data also includes the target value corresponding to the option and an annotation string corresponding to the option. The annotation string corresponding to each option corresponding to the target value indicates a target type of the corresponding option, which can be one of multiple types. The path of each menu corresponding to the option with the default value in the basic input/output system and the sequential position of each option in the menu are identical to the path of each menu corresponding to the option with the target value in the other basic input/output system and the sequential position of each option in the menu. It is worth noting that the tree-structured data is a JSON file or a CSV file, but is not limited thereto.

該使用端裝置32由一使用者所操作,並包含一訊號連接該檢測伺服器31的使用端通訊模組321、一使用端輸入模組322、一使用端顯示模組323,及一電連接該使用端通訊模組321與該使用端輸入模組322與該使用端顯示模組323的使用端處理模組324。The user device 32 is operated by a user and includes a user communication module 321 signal-connected to the detection server 31, a user input module 322, a user display module 323, and a user processing module 324 electrically connecting the user communication module 321, the user input module 322, and the user display module 323.

該控制裝置11與該標準控制裝置21可為一控制盒(Control Box),但不以此為限。The control device 11 and the standard control device 21 may be a control box, but is not limited thereto.

該待測裝置12與該標準規格裝置22可為一伺服器或一個人電腦,但不以此為限。The device under test 12 and the standard device 22 can be a server or a personal computer, but are not limited thereto.

該檢測伺服器31可為一伺服器或一個人電腦,但不以此為限。The detection server 31 can be a server or a personal computer, but is not limited thereto.

該使用端裝置32可為一個人電腦、一平板電腦、一筆記型電腦或一智慧型手機,但不以此為限。The user end device 32 can be a personal computer, a tablet computer, a notebook computer or a smart phone, but is not limited thereto.

以下將配合本發明基本輸入輸出系統的預設值檢測方法之該實施例,來說明該系統100裝置中各元件的運作細節,該基本輸入輸出系統的預設值檢測方法之該實施例包含一樹狀結構化資料獲得程序,及一檢測程序。The following will be used in conjunction with the embodiment of the default value detection method of the basic input and output system of the present invention to explain the operating details of each component in the system 100 device. The embodiment of the default value detection method of the basic input and output system includes a tree-structured data acquisition process and a detection process.

參閱圖2,該樹狀結構化資料獲得程序包含步驟S501~S506。Referring to Figure 2, the tree-structured data acquisition process includes steps S501 to S506.

在步驟S501中,該使用端處理模組324回應該使用端輸入模組322經由該使用者操作所產生的輸入訊號,產生一用於獲得該標準規格裝置22之該另一基本輸入輸出系統中所有選項之相關資訊的擷取指令,並透過該使用端通訊模組321將該擷取指令傳送至該檢測伺服器31。In step S501, the client processing module 324 generates an extraction command for obtaining relevant information of all options in the other basic input and output system of the standard specification device 22 in response to the input signal generated by the user operation of the client input module 322, and transmits the extraction command to the detection server 31 through the client communication module 321.

在步驟S502中,該伺服端處理模組313在透過該伺服端通訊模組311接收到該擷取指令後,利用一基本輸入輸出系統自動化設定工具( Automation Bios Setting Tool ),產生一連串多個模擬鍵盤按鍵操作並用於取得該等選項之該目標值的讀取指令,並透過該伺服端通訊模組311將該等讀取指令傳送至該標準控制裝置21。In step S502, after receiving the capture instruction through the server communication module 311, the server processing module 313 uses an Automation BIOS Setting Tool to generate a series of multiple read instructions that simulate keyboard key operations and are used to obtain the target values of the options, and transmits the read instructions to the standard control device 21 through the server communication module 311.

在步驟S503中,該標準控制裝置21將該等讀取指令傳送至該標準規格裝置22。In step S503 , the standard control device 21 transmits the read commands to the standard specification device 22 .

在步驟S504中,該標準規格裝置22在接收到該等讀取指令後,將該另一基本輸入輸出系統的一選項資訊傳送至該標準控制裝置21。其中,該選項資訊包含該另一基本輸入輸出系統之每一對應有該目標值的選項之所在選單的該路徑、該選項於所在選單中的該順序位置、該選項所對應的該目標值,及該選項所對應之該註解字串。In step S504, after receiving the read commands, the standard specification device 22 transmits option information of the alternative BIOS to the standard control device 21. The option information includes the path of the menu containing each option corresponding to the target value in the alternative BIOS, the sequential position of the option in the menu, the target value corresponding to the option, and the comment string corresponding to the option.

在步驟S505中,該標準控制裝置21接收到該選項資訊後,將該選項資訊傳送至該檢測伺服器31。In step S505 , after receiving the option information, the standard control device 21 transmits the option information to the detection server 31 .

在步驟S506中,該伺服端處理模組313在透過該伺服端通訊模組311接收到該選項資訊後,根據該選項資訊,產生該樹狀結構化資料(如圖3所示)。In step S506, after receiving the option information through the server communication module 311, the server processing module 313 generates the tree structured data (as shown in FIG. 3 ) based on the option information.

參閱圖3,舉例說明該樹狀結構化資料表示出該標準規格裝置22的該另一基本輸入輸出系統,main選單包含 Product Name選項、System Language選項,及System Date選項。其中,在第一位置的Product Name選項對應有該註解字串(comments)為「Information only. Displays the Product Name string」及該目標值(value)為「<Product Name string>所表示的動態字串」;在第二位置的System Language選項對應有該註解字串為「Selection only. Choose the System Language String.」及該目標值為「English;;中文」;在第三位置的System Date選項對應有該註解字串為「Information of changeable. This field initially …range ?? 01/01/2021.」及該目標值為「[MM/DD/YYYY]所表示的動態數值」。值得說明的是,「English;;中文」表示有English和中文兩個設定值供選擇,兩個設定值之間用『;;』隔開,在第一順位的English為當前所使用的設定值,但不以此表示方法為限。Referring to FIG. 3 , the tree-structured data representation shows the alternative basic input/output system of the standard specification device 22. The main menu includes a Product Name option, a System Language option, and a System Date option. The first item in the Product Name option has a comment string corresponding to "Information only. Displays the Product Name string" and a target value corresponding to "The dynamic string represented by <Product Name string>"; the second item in the System Language option has a comment string corresponding to "Selection only. Choose the System Language String." and a target value corresponding to "English;;中文"; and the third item in the System Date option has a comment string corresponding to "Information of changeable. This field initially ...range ?? 01/01/2021." and a target value corresponding to "The dynamic value represented by [MM/DD/YYYY]." It is worth noting that "English;;中文" indicates that there are two setting values to choose from, English and Chinese, separated by ";;". The English value in the first position is the current setting value, but this representation method is not limited to this.

參閱圖4,該檢測程序包含步驟S601~S617。Referring to FIG. 4 , the detection procedure includes steps S601 to S617.

在步驟S601中,該使用端處理模組324回應該使用端輸入模組322經由該使用者操作所產生的輸入訊號,產生一用於驗證該待測裝置12之該基本輸入輸出系統中該等待測選項的檢測指令,並透過該使用端通訊模組321將該檢測指令傳送至該檢測伺服器31。In step S601, the client processing module 324 generates a detection instruction for verifying the waiting test option in the basic input/output system of the device under test 12 in response to the input signal generated by the user operation of the client input module 322, and transmits the detection instruction to the detection server 31 through the client communication module 321.

在步驟S602中,對於每一對應有該目標值的選項,該伺服端處理模組313在透過該伺服端通訊模組311接收到該檢測指令後,根據該樹狀結構化資料,判定該選項所對應的該註解字串是否包含至少一關鍵詞之其中一者。當該伺服端處理模組313判定出該選項所對應的該註解字串包含該至少一關鍵詞之其中一者時,進行流程步驟S603;當該伺服端處理模組313判定出該選項所對應的該註解字串不包含該至少一關鍵詞之其中任一者時,不執行任何動作。值得特別說明的是,在本實施例中,該至少一關鍵詞包含「Information only」及「Selection only」,但不以此為限。In step S602, for each option corresponding to the target value, the server-side processing module 313, after receiving the detection instruction through the server-side communication module 311, determines whether the annotation string corresponding to the option contains at least one of the keywords based on the tree-structured data. When the server-side processing module 313 determines that the annotation string corresponding to the option contains one of the at least one keyword, the process step S603 is performed; when the server-side processing module 313 determines that the annotation string corresponding to the option does not contain any of the at least one keyword, no action is performed. It is worth noting that in this embodiment, the at least one keyword includes "Information only" and "Selection only", but is not limited to this.

在步驟S603中,該伺服端處理模組313將該選項作為該待測選項,藉此獲得所有待測選項。每一待測選項所對應的該目標類型包含一用於顯示該待測裝置12之資訊的資訊顯示類型(Information only)及一用於選擇設定該待測裝置12的選擇專用類型(Selection only)之其中一者。In step S603, the server-side processing module 313 uses the option as the option to be tested, thereby obtaining all the options to be tested. The target type corresponding to each option to be tested includes one of an information display type (Information only) for displaying information about the device to be tested 12 and a selection type (Selection only) for selecting and configuring the device to be tested 12.

在步驟S604中,對於每一待測選項,該伺服端處理模組313根據該結構化資料,利用該基本輸入輸出系統自動化設定工具,產生一連串多個模擬鍵盤按鍵操作並用於取得該待測選項之該預設值的操作指令,並透過該伺服端通訊模組311將該等操作指令傳送至該控制裝置11。需進一步說明的是,該伺服端處理模組313系將該樹狀結構化資料作為參照藍圖,以獲得每一對應有該目標值的選項之所在選單的該路徑及該選項於所在選單中的該順序位置,進而產生對應該選項的該等操作指令,以確實使該待測裝置12能讀取到對應該選項的該預設值。其中,該等操作指令例如:上、下、左、右方向鍵及Enter鍵相關的操作指令,但不以此為限。In step S604, for each option to be tested, the server-side processing module 313 uses the basic input/output system automation configuration tool based on the structured data to generate a series of operation instructions that simulate keyboard key operations and are used to obtain the default value of the option to be tested, and transmits these operation instructions to the control device 11 via the server-side communication module 311. It should be further explained that the server-side processing module 313 uses the tree-structured data as a reference blueprint to obtain the path of the menu corresponding to each option with the target value and the sequential position of the option in the menu, and then generates the operation instructions corresponding to the option to ensure that the device under test 12 can read the default value corresponding to the option. Among them, such operation instructions include, but are not limited to, operation instructions related to the up, down, left, right arrow keys and the Enter key.

在步驟S605中,對於每一待測選項,該控制裝置11在接收到關於該待測選項的該等操作指令後,將關於該待測選項的該等操作指令傳送至該待測裝置12。In step S605 , for each option to be tested, after receiving the operation instructions related to the option to be tested, the control device 11 transmits the operation instructions related to the option to be tested to the device to be tested 12 .

在步驟S606中,對於每一待測選項,該待測裝置12根據關於該待測選項的該等操作指令,獲得該待測選項的該預設值,或是一指示出無法獲得該待測選項的該預設值的無法讀取訊息並傳送至該控制裝置11。In step S606, for each option to be tested, the device to be tested 12 obtains the default value of the option to be tested according to the operation instructions related to the option to be tested, or sends a read-unable message indicating that the default value of the option to be tested cannot be obtained to the control device 11.

在步驟S607中,對於每一待測選項,該控制裝置11在接收到關於該待測選項的該預設值,或是該待測選項所對應的該無法讀取訊息後,將該待測選項的該預設值,或是該待測選項所對應的該無法讀取訊息傳送至該檢測伺服器31。In step S607, for each option to be tested, the control device 11 receives the default value of the option to be tested or the unreadable message corresponding to the option to be tested, and then transmits the default value of the option to be tested or the unreadable message corresponding to the option to be tested to the detection server 31.

在步驟S608中,對於每一待測選項,該伺服端處理模組313在透過該伺服端通訊模組311接收到該待測選項的該預設值,或是該待測選項對應的該無法讀取訊息後,判定是否有獲得該待測選項的該預設值。當該伺服端處理模組313判定出有無法獲得該待測選項的該預設值時,進行流程步驟S609;當該伺服端處理模組313判定出有獲得該待測選項的該預設值時,進行流程步驟S610。In step S608, for each option to be tested, the server-side processing module 313, after receiving the default value for the option to be tested or the corresponding read-unable message for the option to be tested via the server-side communication module 311, determines whether the default value for the option to be tested has been obtained. If the server-side processing module 313 determines that the default value for the option to be tested has not been obtained, the process proceeds to step S609. If the server-side processing module 313 determines that the default value for the option to be tested has been obtained, the process proceeds to step S610.

在步驟S609中,該伺服端處理模組313將該待測選項作為一無法判定選項。值得特別說明的是,在其他較佳實施態樣中,該伺服端處理模組313還能將該待測選項進行分析並分類,彙整出無法獲得預設值的原因。In step S609, the server-side processing module 313 treats the option to be tested as an undeterminable option. It is worth noting that in other preferred implementations, the server-side processing module 313 can also analyze and classify the option to be tested to summarize the reasons why the default value cannot be obtained.

在步驟S610中,對於每一已獲得對應之該預設值的待測選項,該伺服端處理模組313根據該結構化資料,判定該待測選項所對應的該預設值與該待測選項所對應的該目標值是否相同。當該伺服端處理模組313判定出該待測選項所對應的該預設值與該待測選項所對應的該目標值不相同時,進行流程步驟S611;當該伺服端處理模組313判定出該待測選項所對應的該預設值與該待測選項所對應的該目標值相同時,進行流程步驟S612。In step S610, for each test option that has a corresponding default value, the server-side processing module 313 determines, based on the structured data, whether the default value corresponding to the test option is the same as the target value corresponding to the test option. If the server-side processing module 313 determines that the default value corresponding to the test option is different from the target value corresponding to the test option, the process proceeds to step S611. If the server-side processing module 313 determines that the default value corresponding to the test option is the same as the target value corresponding to the test option, the process proceeds to step S612.

在步驟S611中,該伺服端處理模組313將該待測選項作為一設定錯誤選項。In step S611, the server-side processing module 313 uses the option to be tested as a setting error option.

在步驟S612中,該伺服端處理模組313將該待測選項作為一設定正確選項。In step S612, the server-side processing module 313 uses the option to be tested as a correctly configured option.

在步驟S613中,該伺服端處理模組313產生並傳送一關於所有無法判定選項的無法判定日誌檔至該使用端裝置32。其中,該無法判定日誌檔包含所有無法判定選項、每一無法判定選項所對應的該路徑,以及每一無法判定選項對應的該目標值其中至少一者。In step S613, the server-side processing module 313 generates and transmits an undetermined log file of all undetermined options to the client device 32. The undetermined log file includes at least one of all undetermined options, the path corresponding to each undetermined option, and the target value corresponding to each undetermined option.

在步驟S614中,該使用端處理模組324在透過該使用端通訊模組321接收到該無法判定日誌檔後,將該無法判定日誌檔顯示於該使用端顯示模組323。In step S614 , after receiving the undetermined log file through the client communication module 321 , the client processing module 324 displays the undetermined log file on the client display module 323 .

在步驟S615中,該伺服端處理模組313產生並傳送一關於所有設定錯誤選項的設定錯誤日誌檔至該使用端裝置32。其中,該設定錯誤日誌檔包含所有設定錯誤選項、每一設定錯誤選項所對應的該路徑,以及每一設定錯誤選項對應的該預設值與該目標值。In step S615, the server processing module 313 generates and transmits a configuration error log file about all configuration error options to the client device 32. The configuration error log file includes all configuration error options, the path corresponding to each configuration error option, and the default value and the target value corresponding to each configuration error option.

在步驟S616中,該使用端處理模組324在透過該使用端通訊模組321接收到該設定錯誤日誌檔後,將該設定錯誤日誌檔顯示於該使用端顯示模組323。In step S616 , after receiving the configuration error log file through the client communication module 321 , the client processing module 324 displays the configuration error log file on the client display module 323 .

在步驟S617中,該伺服端處理模組313產生並傳送一關於所有設定正確選項的設定正確日誌檔至該使用端裝置32。其中,該設定正確日誌檔包含所有設定正確選項、每一設定正確選項所對應的該路徑,以及每一設定正確選項對應的該目標值。In step S617, the server-side processing module 313 generates and transmits a configuration correct log file of all configuration correct options to the client device 32. The configuration correct log file includes all configuration correct options, the path corresponding to each configuration correct option, and the target value corresponding to each configuration correct option.

在步驟S618中,該使用端處理模組324在透過該使用端通訊模組321接收到該設定正確日誌檔後,將該設定正確日誌檔顯示於該使用端顯示模組323。In step S618 , after receiving the configuration correct log file through the client communication module 321 , the client processing module 324 displays the configuration correct log file on the client display module 323 .

綜上所述,本發明基本輸入輸出系統的預設值檢測方法,藉由該檢測單元3可利用該基本輸入輸出系統自動化設定工具讀取該樹狀結構化資料,得知每一待測選項位於的所在選單,且為所在選單中的位置,進而傳送對應該待測選項的該等操作指令至該待測單元1,以獲得對應該待測選項的該預設值,並且比較該待測選項的該預設值與該目標值,最後根據前述分析步驟所獲得的分析結果,將所有待測選項分類為該無法判定選項、該設定錯誤選項,及該設定正確選項之其中一者,以遠端自動化且無需攝影機及因判定圖片而耗費過多硬體資源的方式進行BIOS預設值檢測,故確實能達成本發明的目的。In summary, the present invention provides a method for detecting the default value of a basic input/output system. The detection unit 3 can use the basic input/output system automatic configuration tool to read the tree-structured data, and learn the menu in which each option to be tested is located, and the position of each option in the menu. The detection unit 3 then transmits the operation instructions corresponding to the option to be tested to the unit to be tested 1 to obtain the default value corresponding to the option to be tested, and The default value of the option to be tested is compared with the target value. Finally, based on the analysis results obtained in the aforementioned analysis step, all the options to be tested are classified as either the undetermined option, the incorrectly configured option, or the correctly configured option. BIOS default value detection is performed remotely and automatically without the need for a camera or excessive hardware resources consumed by image detection, thereby effectively achieving the purpose of the present invention.

惟以上所述者,僅為本發明的實施例而已,當不能以此限定本發明實施的範圍,凡是依本發明申請專利範圍及專利說明書內容所作的簡單的等效變化與修飾,皆仍屬本發明專利涵蓋的範圍內。However, the above description is merely an example of the present invention and should not be used to limit the scope of the present invention. All simple equivalent changes and modifications made according to the scope of the patent application and the content of the patent specification of the present invention are still within the scope of the present patent.

900:通訊網路 1:待測單元 11:控制裝置 12:待測裝置 2:標準規格單元 21:標準控制裝置 22:標準規格裝置 3:檢測單元 31:檢測伺服器 311:伺服端通訊模組 312:伺服端儲存模組 313:伺服端處理模組 32:使用端裝置 321:使用端通訊模組 322:使用端輸入模組 323:使用端顯示模組 324:使用端處理模組 S501~S506:步驟 S601~S618:步驟900: Communication Network 1: Unit Under Test 11: Control Device 12: Device Under Test 2: Standard Unit 21: Standard Control Device 22: Standard Device 3: Detection Unit 31: Detection Server 311: Server Communication Module 312: Server Storage Module 313: Server Processing Module 32: User Device 321: User Communication Module 322: User Input Module 323: User Display Module 324: User Processing Module S501-S506: Steps S601-S618: Steps

本發明的其他的特徵及功效,將於參照圖式的實施方式中清楚地呈現,其中: 圖1是一方塊圖,說明一用於執行本發明基本輸入輸出系統的預設值檢測方法之一實施例的一系統; 圖2是一流程圖,說明本發明基本輸入輸出系統的預設值檢測方法之該實施例的一樹狀結構化資料獲得程序; 圖3是一示意圖,說明該實施例的一狀結構化資料; 圖4是一流程圖,說明本發明基本輸入輸出系統的預設值檢測方法之該實施例的一檢測程序之步驟S601~S607;及 圖5是一流程圖,說明本發明基本輸入輸出系統的預設值檢測方法之該實施例的該檢測程序之步驟S608~S618。 Other features and functions of the present invention are clearly illustrated in the accompanying drawings, wherein: Figure 1 is a block diagram illustrating a system for executing an embodiment of a method for detecting a default value of a basic input/output system according to the present invention; Figure 2 is a flow chart illustrating a tree-structured data acquisition process according to the embodiment of the method for detecting a default value of a basic input/output system according to the present invention; Figure 3 is a schematic diagram illustrating a tree-structured data acquisition process according to the embodiment; Figure 4 is a flow chart illustrating steps S601 to S607 of a detection process according to the embodiment of the method for detecting a default value of a basic input/output system according to the present invention; and FIG5 is a flow chart illustrating steps S608 to S618 of the detection procedure of the embodiment of the default value detection method for the basic input/output system of the present invention.

S601~S607:步驟 S601~S607: Steps

Claims (7)

一種基本輸入輸出系統的預設值檢測方法,適用於檢驗一待測單元之一基本輸入輸出系統中之每一待測選項的一預設值是否符合該待測選項所對應的一目標值,該基本輸入輸出系統包含多個選單,每一選單包括多個選項,每一選項用於指示出與其所在選單相關聯的另一選單或對應有該預設值,每一待測選項為對應有該預設值的該等選項之其中一者,並藉由一訊號連接該待測單元的一檢測單元來實施,該檢測單元儲存有一樹狀結構化資料,該樹狀結構化資料指示出另一基本輸入輸出系統中每一對應有該目標值的選項之所在選單的一路徑及該選項於所在選單中的一順序位置,且包含該選項所對應的該目標值,該基本輸入輸出系統與該另一本輸入輸出系統具有相同的該等選單及該等選項,該基本輸入輸出系統的預設值檢測方法包含以下步驟: (A) 對於每一待測選項,藉由該檢測單元,根據該結構化資料,產生並傳送一連串多個模擬鍵盤按鍵操作並用於取得該待測選項之該預設值的操作指令至該待測單元,以使該待測單元將該待測選項的該預設值傳送至該檢測單元; (B) 對於每一已獲得對應之該預設值的待測選項,藉由該檢測單元,根據該結構化資料,判定該待測選項所對應的該預設值與該待測選項所對應的該目標值是否相同;及 (C) 當判定出該待測選項所對應的該預設值與該待測選項所對應的該目標值不同時,藉由該檢測單元,將該待測選項作為一設定錯誤選項。 A method for detecting a default value of a basic input/output system is provided, which is suitable for detecting whether a default value of each option to be tested in a basic input/output system of a unit to be tested meets a target value corresponding to the option to be tested. The basic input/output system includes a plurality of menus, each menu includes a plurality of options, each option is used to indicate another menu associated with the menu in which it is located or corresponds to the default value. Each option to be tested is one of the options corresponding to the default value and is connected to the unit to be tested via a signal. The method is implemented by a detection unit of a detection unit. The detection unit stores tree-structured data. The tree-structured data indicates a path in a menu of another basic input/output system where each option corresponding to the target value is located, a sequential position of the option in the menu, and includes the target value corresponding to the option. The basic input/output system and the other basic input/output system have the same menus and options. The default value detection method of the basic input/output system includes the following steps: (A) For each test option, the test unit generates, based on the structured data, and transmits a series of operation instructions simulating keyboard key operations to the test unit for obtaining the default value of the test option, so that the test unit transmits the default value of the test option to the test unit. (B) For each test option for which a corresponding default value has been obtained, the test unit determines, based on the structured data, whether the default value corresponding to the test option is the same as the target value corresponding to the test option. (C) When it is determined that the default value corresponding to the test option is different from the target value corresponding to the test option, the test unit sets the test option as a setting error option. 如請求項1所述的基本輸入輸出系統的預設值檢測方法,該檢測單元包含一訊號連接該待測單元的檢測伺服器,及一訊號連接該檢測伺服器的使用端裝置,其中, 在步驟(A)中,對於每一待測選項,藉由該檢測伺服器,根據該結構化資料,產生並傳送該等操作指令至該待測單元,以使該待測單元將該待測選項的該預設值傳送至該檢測伺服器; 在步驟(B)中,對於每一已獲得對應之該預設值的待測選項,藉由該檢測伺服器,根據該結構化資料,判定該待測選項所對應的該預設值與該待測選項所對應的該目標值是否相同; 在步驟(C)中,當判定出該待測選項所對應的該預設值與該待測選項所對應的該目標值不同時,藉由該檢測伺服器,將該待測選項作為該設定錯誤選項;及 在步驟(C)之後,還包含以下步驟: (D) 藉由該檢測伺服器產生並傳送一關於所有設定錯誤選項的設定錯誤日誌檔傳送至該使用端裝置。 The method for detecting a default value of a basic input/output system as described in claim 1, wherein the detection unit includes a detection server signal-connected to the unit under test, and a user device signal-connected to the detection server, wherein: In step (A), for each option under test, the detection server generates and transmits the operation instructions to the unit under test based on the structured data, so that the unit under test transmits the default value of the option under test to the detection server; In step (B), for each option under test that has obtained a corresponding default value, the detection server determines, based on the structured data, whether the default value corresponding to the option under test is the same as the target value corresponding to the option under test; In step (C), when it is determined that the default value corresponding to the option to be tested is different from the target value corresponding to the option to be tested, the test server identifies the option to be tested as a configuration error option; and After step (C), the method further includes the following steps: (D) generating and transmitting a configuration error log file containing all configuration error options to the user device by the test server. 如請求項2所述的基本輸入輸出系統的預設值檢測方法,其中,在步驟(A)與(B)之間,還包含以下步驟: (E) 對於每一無法獲得對應之該預設值的待測選項,藉由該檢測伺服器,將該待測選項作為一無法判定選項;及 在步驟(E)之後,還包還以下步驟: (F) 藉由該檢測伺服器,產生並傳送一關於所有無法判定選項的無法判定日誌檔至該使用端裝置。 The default value detection method for a basic input/output system as described in claim 2, further comprising the following step between steps (A) and (B): (E) for each option to be tested for which the corresponding default value cannot be obtained, the detection server identifies the option to be tested as an undeterminable option; and After step (E), further comprising the following step: (F) generating and transmitting, by the detection server, an undeterminable log file for all undeterminable options to the user device. 如請求項2所述的基本輸入輸出系統的預設值檢測方法,其中,在步驟(B)之後,還包含以下步驟: (G) 當判定出該待測選項所對應的該預設值與該待測選項所對應的該目標值相同時,藉由該檢測伺服器,將該待測選項作為一設定正確選項;及 在步驟(G)之後,還包還以下步驟: (H) 藉由該檢測伺服器,產生並傳送一關於所有設定正確選項的設定正確日誌檔至該使用端裝置。 The default value detection method for a basic input/output system as described in claim 2, further comprising the following step after step (B): (G) when it is determined that the default value corresponding to the option to be tested is the same as the target value corresponding to the option to be tested, determining, by the detection server, the option to be tested as a correctly configured option; and After step (G), further comprising the following step: (H) generating, by the detection server, and transmitting a configuration correctness log file of all correctly configured options to the user device. 如請求項2所述的基本輸入輸出系統的預設值檢測方法,該樹狀結構化資料還包含該另一基本輸入輸出系統中每一對應有該目標值的選項所對應之一註解字串,每一註解字串用於指示出所對應之該選項的一目標類型,該目標類型為多個類型之其中一者,其中,在步驟(A)之前,還包還以下步驟: (I) 對於每一對應有該目標值的選項,藉由該檢測伺服器,根據該樹狀結構化資料,判定該選項所對應的該註解字串是否包含至少一關鍵詞之其中一者;及 (J) 當判定出該選項所對應的該註解字串包含該至少一關鍵詞之其中一者時,藉由該檢測伺服器,將該選項作為該待測選項。 The default value detection method for a basic input/output system as described in claim 2, wherein the tree-structured data further includes an annotation string corresponding to each option corresponding to the target value in the other basic input/output system, each annotation string being used to indicate a target type of the corresponding option, the target type being one of a plurality of types, and wherein, before step (A), the method further includes the following steps: (I) For each option corresponding to the target value, determining by the detection server, based on the tree-structured data, whether the annotation string corresponding to the option contains at least one of the keywords; and (J) When it is determined that the annotation string corresponding to the option contains one of the at least one keyword, the option is used as the option to be tested by the detection server. 如請求項5所述的基本輸入輸出系統的預設值檢測方法,其中,在步驟(J)中,該待測選項所對應的該註解字串指示出該待測選項的目標類型包含一用於顯示該待測單元之資訊的資訊顯示類型,及一用於選擇設定該待測單元的選擇專用類型之其中一者。A default value detection method for a basic input/output system as described in claim 5, wherein, in step (J), the annotation string corresponding to the option to be tested indicates that the target type of the option to be tested includes one of an information display type for displaying information of the unit to be tested and a selection-specific type for selecting and setting the unit to be tested. 如請求項1所述的基本輸入輸出系統的預設值檢測方法,該檢測單元包含一訊號連接該待測單元的檢測伺服器,及一訊號連接該檢測伺服器的使用端裝置,該檢測伺服器還訊號連接一具有該另一本輸入輸出系統的標準規格單元,其中,在步驟(A)之前,還包還以下步驟: (K) 藉由該使用端裝置,產生並傳送一用於獲得該標準規格單元之該另一基本輸入輸出系統之資訊的擷取指令至該檢測伺服器; (L) 藉由該檢測伺服器,利用一基本輸入輸出系統自動化設定工具,產生並傳送一連串多個模擬鍵盤按鍵操作並用於取得該等選項之該目標值的讀取指令至該標準規格單元,以使該標準規格單元將該另一基本輸入輸出系統之每一對應有該目標值的選項之所在選單的該路徑、該選項於所在選單中的該順序位置,及該選項所對應的該目標值傳送至該檢測伺服器;及 (M) 藉由該檢測伺服器,根據該另一基本輸入輸出系統之每一對應有該目標值的選項之所在選單的該路徑、該選項於所在選單中的該順序位置,及該選項所對應的該目標值,產生該樹狀結構化資料。 The method for detecting default values of a basic input/output system as described in claim 1, wherein the detection unit includes a detection server signal-connected to the unit to be tested, and a user device signal-connected to the detection server, wherein the detection server is further signal-connected to a standard unit having the alternative basic input/output system, wherein, before step (A), the method further includes the following steps: (K) generating and transmitting, by the user device, an acquisition command for obtaining information about the alternative basic input/output system of the standard unit to the detection server; (L) The detection server, utilizing a BIOS automated configuration tool, generates and transmits a series of multiple read commands simulating keyboard keystrokes and used to obtain the target values of the options to the standard specification unit, causing the standard specification unit to transmit the path of the menu containing each option corresponding to the target value in the other BIOS, the sequential position of the option in the menu, and the target value corresponding to the option to the detection server; and (M) The detection server generates the tree-structured data based on the path of the menu containing each option corresponding to the target value in the other BIOS, the sequential position of the option in the menu, and the target value corresponding to the option.
TW113145055A 2024-11-22 2024-11-22 Bios default detection method TWI890625B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW113145055A TWI890625B (en) 2024-11-22 2024-11-22 Bios default detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW113145055A TWI890625B (en) 2024-11-22 2024-11-22 Bios default detection method

Publications (1)

Publication Number Publication Date
TWI890625B true TWI890625B (en) 2025-07-11

Family

ID=97228359

Family Applications (1)

Application Number Title Priority Date Filing Date
TW113145055A TWI890625B (en) 2024-11-22 2024-11-22 Bios default detection method

Country Status (1)

Country Link
TW (1) TWI890625B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090144585A1 (en) * 2007-12-04 2009-06-04 Ting-Chun Lu Debugging method of the basic input/output system
TW202044033A (en) * 2019-05-23 2020-12-01 神雲科技股份有限公司 Bios setting method
TW202225960A (en) * 2020-12-28 2022-07-01 神雲科技股份有限公司 Method for generating bios setup menu
CN114764345A (en) * 2021-01-11 2022-07-19 昆达电脑科技(昆山)有限公司 Method for generating BIOS setting menu
CN117032818A (en) * 2023-07-12 2023-11-10 苏州浪潮智能科技有限公司 A basic input and output system BIOS option configuration method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090144585A1 (en) * 2007-12-04 2009-06-04 Ting-Chun Lu Debugging method of the basic input/output system
TW202044033A (en) * 2019-05-23 2020-12-01 神雲科技股份有限公司 Bios setting method
TW202225960A (en) * 2020-12-28 2022-07-01 神雲科技股份有限公司 Method for generating bios setup menu
CN114764345A (en) * 2021-01-11 2022-07-19 昆达电脑科技(昆山)有限公司 Method for generating BIOS setting menu
CN117032818A (en) * 2023-07-12 2023-11-10 苏州浪潮智能科技有限公司 A basic input and output system BIOS option configuration method and device

Similar Documents

Publication Publication Date Title
CN108683562B (en) Anomaly detection and positioning method, device, computer equipment and storage medium
US10705946B2 (en) Techniques for real time server testing in a production environment
EP3259679A1 (en) An automatically invoked unified visualization interface
CN113835996A (en) Method and apparatus for generating test script
JP2023504956A (en) Performance detection method, device, electronic device and computer readable medium
KR102298395B1 (en) System and Method for User Behavior Analysis and Agent for Collection of Event
US20220261527A1 (en) Information processing apparatus and non-transitory computer readable medium
CN105515909B (en) A kind of data acquisition test method and apparatus
WO2022100075A1 (en) Method and apparatus for performance test, electronic device and computer-readable medium
CN115474040A (en) A testing method and device for network video recording equipment, electronic equipment and storage medium
TWI890625B (en) Bios default detection method
US20150370687A1 (en) Unit test generation
WO2023220902A1 (en) User interface testing methods and apparatus
CN119829433A (en) Information processing method, computer device, and computer program product
CN110532186B (en) Method, device, electronic device and storage medium for testing using verification code
CN119127691A (en) A regression testing method, device, equipment and medium based on SDK
CN111522732A (en) Method and device for displaying test data
CN119166526A (en) Agent-based testing method, device, electronic device and storage medium
CN105391602A (en) Data acquisition test method and device
JP6798050B1 (en) Generator, generation method and generation program
WO2023055993A1 (en) Data triage in microscopy systems
CN114842476A (en) Watermark detection method and device, model training method and device
CN116541263A (en) Buried point testing method and device, electronic equipment and storage medium
CN107870854B (en) Method and device for testing data accuracy of chart library
CN114860576B (en) A testing method, device, electronic equipment and storage medium