TWI452464B - System and method for testing computers - Google Patents
System and method for testing computers Download PDFInfo
- Publication number
- TWI452464B TWI452464B TW098129320A TW98129320A TWI452464B TW I452464 B TWI452464 B TW I452464B TW 098129320 A TW098129320 A TW 098129320A TW 98129320 A TW98129320 A TW 98129320A TW I452464 B TWI452464 B TW I452464B
- Authority
- TW
- Taiwan
- Prior art keywords
- test
- computer
- tested
- project
- document
- Prior art date
Links
Landscapes
- Debugging And Monitoring (AREA)
Description
本發明涉及一種測試系統及方法,尤其是一種電腦測試系統及方法。 The present invention relates to a test system and method, and more particularly to a computer test system and method.
隨著電腦功能的日益複雜,週邊設備日漸增多,對電腦本身穩定性、相容性要求隨之提高。這同時也對電腦的測試精度和測試效率提出了更高的要求,否則日益複雜、繁重的測試任務將會極大地影響新產品的開發進度和品質。 With the increasing complexity of computer functions, the number of peripheral devices is increasing, and the requirements for stability and compatibility of the computer itself are increasing. At the same time, it also puts higher requirements on the test accuracy and test efficiency of the computer. Otherwise, the increasingly complex and heavy test tasks will greatly affect the development progress and quality of the new product.
通常電腦產品(例如個人電腦、伺服器等)的測試方法,都是針對不同類型的電腦開發不同的測試文檔。但是,這種方法缺點在於:需要根據不同配置的電腦開發不同的測試文檔,操作不方便,浪費開發人員的時間,降低了測試效率,不能滿足日益增長的對電腦測試效率的需求。 Usually, the test methods of computer products (such as personal computers, servers, etc.) are different test documents developed for different types of computers. However, the disadvantage of this method is that different test documents need to be developed according to different configurations of the computer, the operation is inconvenient, the developer's time is wasted, the test efficiency is lowered, and the increasing demand for computer test efficiency cannot be met.
鑒於以上內容,有必要提供一種電腦測試系統及方法,可以根據不同類型待測電腦的測試專案在測試文檔中選取相對應的測試程式,操作方便,節省了時間,提高了工作效率。 In view of the above, it is necessary to provide a computer test system and method, which can select a corresponding test program in a test document according to different types of test programs of the computer to be tested, which is convenient to operate, saves time and improves work efficiency.
一種電腦測試系統,該系統運行於測試伺服器中,該測試伺服器與資料庫和待測電腦相連,該電腦測試系統包括:分類模組,用於將資料庫中所儲存的電腦測試文檔進行分類以得到一個分類後 的電腦測試文檔,所述分類後的電腦測試文檔包括測試各個類型硬體的硬體測試文檔和測試各個類型軟體的軟體測試文檔;獲取模組,用於從待測電腦中獲取測試參數,根據所述待測電腦的測試參數在分類後的電腦測試文檔中選取相對應的測試程式;生成模組,用於根據所述選取的測試程式及所述測試參數生成測試指令;發送模組,用於將所述測試指令發送給待測電腦;及測試模組,用於控制所述待測電腦執行接收的測試指令進行測試,獲取並儲存每個測試專案的測試資料,根據所述測試參數對測試資料進行分析,獲取並儲存測試資料的分析結果。 A computer test system running on a test server connected to a database and a computer to be tested, the computer test system comprising: a classification module for performing computer test documents stored in the database Classification to get a classification The computer test document, the classified computer test document includes a hardware test document for testing various types of hardware and a software test document for testing each type of software; and an acquisition module for obtaining test parameters from the computer to be tested, according to The test parameter of the computer to be tested selects a corresponding test program in the classified computer test document; and generates a module for generating a test command according to the selected test program and the test parameter; And sending the test instruction to the computer to be tested; and the test module, configured to control the test instruction of the computer to be tested to perform the test, obtain and store the test data of each test project, according to the test parameter The test data is analyzed to obtain and store the analysis results of the test data.
一種電腦測試方法,該方法運行於測試伺服器中,該測試伺服器與資料庫和待測電腦相連,該方法包括如下步驟:將資料庫中所儲存的電腦測試文檔進行分類以得到一個分類後的電腦測試文檔,所述分類後的電腦測試文檔包括測試各個類型硬體的硬體測試文檔和測試各個類型軟體的軟體測試文檔;從待測電腦中獲取測試參數;根據所述待測電腦的測試參數在分類後的電腦測試文檔中選取相對應的測試程式;根據所述選取的測試程式及所述測試參數生成測試指令;將所述測試指令發送給待測電腦;控制所述待測電腦執行接收的測試指令進行測試,獲取並儲存每個測試專案的測試資料;及根據所述測試參數對測試資料進行分析,獲取並儲存測試資料的分析結果。 A computer test method, the method running on a test server, the test server being connected to a database and a computer to be tested, the method comprising the steps of: classifying computer test documents stored in the database to obtain a classification The computer test document, the classified computer test document includes a hardware test document for testing various types of hardware and a software test document for testing each type of software; obtaining test parameters from the computer to be tested; according to the computer to be tested The test parameter selects a corresponding test program in the classified computer test document; generates a test command according to the selected test program and the test parameter; sends the test command to the computer to be tested; and controls the computer to be tested Execute the received test instructions to test, obtain and store the test data of each test project; and analyze the test data according to the test parameters, and obtain and store the analysis results of the test data.
相較於習知技術,所述的電腦測試系統及方法,可以得到一個包括測試所有類型硬體的硬體測試文檔和測試所有類型軟體的軟體測試文檔的電腦測試文檔,在測試時,可以根據不同類型的待測電腦的測試專案在該測試文檔中選取相對應的測試程式,操作方 便,節省了時間,提高了工作效率。 Compared with the prior art, the computer test system and method can obtain a computer test document including a hardware test document for testing all types of hardware and a software test document for testing all types of software. The test program of different types of computers to be tested selects the corresponding test program in the test document, and the operator This saves time and improves work efficiency.
1‧‧‧訊號量測儀器 1‧‧‧ Signal measuring instrument
2‧‧‧待測物 2‧‧‧Test object
10‧‧‧訊號檢測系統 10‧‧‧Signal Detection System
11‧‧‧資料庫 11‧‧‧Database
12‧‧‧顯示幕 12‧‧‧ display screen
20‧‧‧接收模組 20‧‧‧ receiving module
21‧‧‧建立模組 21‧‧‧Building modules
22‧‧‧儲存模組 22‧‧‧ Storage Module
23‧‧‧判斷模組 23‧‧‧Judgement module
24‧‧‧調用模組 24‧‧‧call module
圖1係本發明電腦測試系統較佳實施例的硬體架構圖。 1 is a hardware architecture diagram of a preferred embodiment of the computer test system of the present invention.
圖2係圖1中所示電腦測試系統的功能模組圖。 Figure 2 is a functional block diagram of the computer test system shown in Figure 1.
圖3係本發明電腦測試方法較佳實施例的流程圖。 3 is a flow chart of a preferred embodiment of the computer testing method of the present invention.
如圖1所示,係本發明電腦測試系統較佳實施例的系統架構圖。該電腦測試系統20運行於測試伺服器2中,所述測試伺服器2透過網路3與一個或多個待測電腦1相連。待測電腦1中儲存有待測電腦1所屬類型的電腦的測試參數。網路3可以是企業內部網路(Intranet)、網際網路(Internet)或其他任意適用的通訊網路。測試伺服器2透過連接4與資料庫5相連。連接4為一資料庫連接,如開放式資料庫連接(Open Database Connectivity,ODBC),或Java資料庫連接(Java Database Connectivity,JDBC)等。 1 is a system architecture diagram of a preferred embodiment of the computer test system of the present invention. The computer test system 20 runs in a test server 2, which is connected to one or more computers 1 to be tested via a network 3. The test parameter of the computer to which the computer 1 to be tested belongs is stored in the computer 1 to be tested. Network 3 can be an intranet, an Internet, or any other suitable communication network. The test server 2 is connected to the database 5 via the connection 4. Connection 4 is a database connection, such as Open Database Connectivity (ODBC), or Java Database Connectivity (JDBC).
所述資料庫5用於儲存有多個電腦測試文檔,每個電腦測試文檔包括多個測試程式,用於測試一個類型的電腦,例如:一個類型的電腦的測試文檔包括該類型的電腦所使用處理器的測試程式、該類型的電腦所使用記憶體的測試程式、該類型的電腦所使用硬碟的測試程式、該類型的電腦所使用電池的測試程式、該類型的電腦所使用顯卡的測試程式及該類型的電腦所使用顯示器的測試程式。 The database 5 is configured to store a plurality of computer test documents, each computer test document includes a plurality of test programs for testing a type of computer, for example, a test file of a type of computer includes a computer of the type used. Test program for the processor, test program for the memory used by this type of computer, test program for the hard disk used for this type of computer, test program for the battery used for this type of computer, test for the graphics card used for this type of computer Program and test program for the display used by this type of computer.
如圖2所示,係圖1中所示電腦測試系統20的功能模組圖。所述電 腦測試系統20包括分類模組200、獲取模組202、生成模組204、發送模組206及測試模組208。本發明所稱的模組是完成一特定功能的電腦程式段,比程式更適合於描述軟體在電腦中的執行過程,因此在本發明以下對軟體描述中都以模組描述。 As shown in FIG. 2, it is a functional module diagram of the computer test system 20 shown in FIG. The electricity The brain testing system 20 includes a classification module 200, an acquisition module 202, a generation module 204, a transmission module 206, and a test module 208. The module referred to in the present invention is a computer program segment for performing a specific function, and is more suitable for describing the execution process of the software in the computer than the program. Therefore, the following description of the software is described in the module.
其中,所述分類模組200用於將資料庫5中所儲存的電腦測試文檔進行分類以得到一個分類後的電腦測試文檔。所述分類後的電腦測試文檔包括:測試各個類型硬體的硬體測試文檔和測試各個類型軟體的軟體測試文檔。在所述分類後的電腦測試文檔中,每一類型硬體的硬體測試文檔用於測試所有型號的該類型硬體,每一類型軟體的軟體測試文檔用於測試所有版本的該類型軟體。例如:所述測試各個類型硬體測試測試文檔包括:測試所有型號處理器的處理器測試文檔、測試所有型號記憶體的記憶體測試文檔、測試所有型號硬碟的硬碟測試文檔、測試所有型號電池的電池測試文檔、測試所有型號顯卡的顯卡測試文檔及測試所有型號顯示器的顯示器測試文檔等。其中,所述用於測試所有型號處理器的處理器測試文檔包括,但不限於,用於測試型號為Intel P3處理器的處理器測試程式、用於測試型號為Intel P4處理器的處理器測試程式、用於測試型號為AMD Athlon XP處理器的處理器測試程式等。 The classification module 200 is configured to classify the computer test documents stored in the database 5 to obtain a classified computer test document. The classified computer test document includes: a hardware test document for testing various types of hardware and a software test document for testing each type of software. In the classified computer test document, each type of hardware hardware test document is used to test all types of hardware of this type, and the software test document of each type of software is used to test all versions of the software of this type. For example: the test various types of hardware test test documents include: test processor test documents for all models of processors, test memory test files for all types of memory, test hard drive test files for all models of hard drives, test all models Battery test documentation for the battery, test card test documentation for all models of graphics cards, and monitor test documentation for all models. The processor test document for testing all types of processors includes, but is not limited to, a processor test program for testing an Intel P3 processor, and a processor test for testing an Intel P4 processor. Program, test processor test program for AMD Athlon XP processor.
所述獲取模組202用於從待測電腦1中獲取測試參數。所述測試參數包括:待測電腦1的類型(例如:商業型臺式電腦)、待測電腦1的測試專案、每個測試項目的標準值及測試結果儲存路徑等。所述測試專案包括待測電腦1的所有硬體和軟體,例如:Intel P3處理器。 The obtaining module 202 is configured to obtain test parameters from the computer 1 to be tested. The test parameters include: the type of the computer 1 to be tested (for example, a commercial desktop computer), the test project of the computer 1 to be tested, the standard value of each test item, and the storage path of the test result. The test project includes all the hardware and software of the computer 1 to be tested, such as an Intel P3 processor.
所述獲取模組202還用於根據所述待測電腦1的測試參數在分類後的電腦測試文檔中選取相對應的測試程式。例如:若待測電腦1的測試專案包括Intel P3處理器,則獲取模組201在分類後的電腦測試文檔中選取用於測試型號為Intel P3處理器的處理器測試程式。 The obtaining module 202 is further configured to select a corresponding test program from the classified computer test documents according to the test parameters of the computer 1 to be tested. For example, if the test project of the computer 1 to be tested includes an Intel P3 processor, the acquisition module 201 selects a processor test program for testing the model Intel P3 processor in the classified computer test document.
所述生成模組204用於根據所述選取的測試程式及所述測試參數生成測試指令。其中,所述測試指令包括:待測電腦1的測試專案、每個測試專案對應的測試程式、各測試專案的測試時間、各測試項目的標準值及測試結果儲存路徑。 The generating module 204 is configured to generate a test instruction according to the selected test program and the test parameter. The test instruction includes: a test project of the computer 1 to be tested, a test program corresponding to each test project, a test time of each test project, a standard value of each test item, and a storage path of the test result.
所述發送模組206用於將所述測試指令發送給待測電腦1。 The sending module 206 is configured to send the test command to the computer 1 to be tested.
所述測試模組208用於控制每個待測電腦1執行接收的測試指令進行測試,獲取每個測試專案的測試資料,並儲存至設定的測試結果儲存路徑中。例如,設定測試結果儲存路徑為:D:\Computer\Test。 The test module 208 is configured to control each test computer 1 to perform a test command for testing, obtain test data of each test project, and store the test data in the set test result storage path. For example, set the test result storage path to: D:\Computer\Test.
所述測試模組208還用於根據所述測試參數中每個測試項目的標準值對測試資料進行分析,以判斷每個測試專案的測試資料是否在設定的標準值範圍內,並將分析結果儲存至設定的測試結果儲存路徑中。 The test module 208 is further configured to analyze test data according to a standard value of each test item in the test parameter to determine whether the test data of each test project is within a set standard value range, and analyze the result. Save to the set test result storage path.
如圖3所示,係本發明電腦測試方法較佳實施例的流程圖。 3 is a flow chart of a preferred embodiment of the computer testing method of the present invention.
步驟S10,分類模組200將資料庫5中所儲存的電腦測試文檔中進行分類以得到一個分類後的電腦測試文檔。所述分類後的電腦測試文檔包括:測試各個類型硬體的硬體測試文檔和測試各個類型軟體的軟體測試文檔。在所述分類後的電腦測試文檔中,每一類 型硬體的硬體測試文檔用於測試所有型號的該類型硬體,每一類型軟體的軟體測試文檔用於測試所有版本的該類型軟體。 In step S10, the classification module 200 classifies the computer test documents stored in the database 5 to obtain a classified computer test document. The classified computer test document includes: a hardware test document for testing various types of hardware and a software test document for testing each type of software. In the classified computer test document, each category The hard hardware test documentation is used to test all types of hardware of this type, and the software test documentation for each type of software is used to test all versions of this type of software.
步驟S12,從待測電腦1中獲取測試參數。所述測試參數包括:待測電腦1的類型(例如:商業型臺式電腦)、待側電腦1的測試專案、每個測試項目的標準值及測試結果儲存路徑等。所述測試專案包括待測電腦1的所有硬體和軟體,例如:Intel P3處理器。 In step S12, the test parameters are obtained from the computer 1 to be tested. The test parameters include: the type of the computer 1 to be tested (for example, a commercial desktop computer), the test project of the computer 1 to be side, the standard value of each test item, and the storage path of the test result. The test project includes all the hardware and software of the computer 1 to be tested, such as an Intel P3 processor.
步驟S14,根據所述待測電腦1的測試參數在分類後的電腦測試文檔中選取相對應的測試程式。例如:若待測電腦1的測試專案包括Intel P3處理器,則獲取模組201在分類後的電腦測試文檔中選取用於測試型號為Intel P3處理器的處理器測試程式。 Step S14: Select a corresponding test program in the classified computer test document according to the test parameter of the computer 1 to be tested. For example, if the test project of the computer 1 to be tested includes an Intel P3 processor, the acquisition module 201 selects a processor test program for testing the model Intel P3 processor in the classified computer test document.
步驟S16,根據所述選取的測試程式及所述測試參數生成測試指令。其中,所述測試指令包括:待測電腦1的測試專案、每個測試專案對應的測試程式、各測試專案的測試時間、各測試項目的標準值及測試結果儲存路徑。 Step S16, generating a test instruction according to the selected test program and the test parameter. The test instruction includes: a test project of the computer 1 to be tested, a test program corresponding to each test project, a test time of each test project, a standard value of each test item, and a storage path of the test result.
步驟S18,將所述測試指令發送給待測電腦1。 In step S18, the test command is sent to the computer 1 to be tested.
步驟S20,控制每個待測電腦1執行接收的測試指令進行測試,獲取每個測試專案的測試資料,並儲存至設定的測試結果儲存路徑中。例如,設定測試結果儲存路徑為:D:\Computer\Test。 In step S20, each test computer 1 is controlled to execute the received test command for testing, and the test data of each test project is obtained and stored in the set test result storage path. For example, set the test result storage path to: D:\Computer\Test.
步驟S22,根據所述測試參數中每個測試項目的標準值對測試資料進行分析,以判斷每個測試專案的測試資料是否在設定的標準值範圍內,並將分析結果儲存至設定的測試結果儲存路徑中。 Step S22, analyzing the test data according to the standard value of each test item in the test parameter, to determine whether the test data of each test project is within a set standard value range, and storing the analysis result to the set test result. In the storage path.
綜上所述,本發明符合發明專利要件,爰依法提出專利申請。惟,以上所述者僅為本發明之較佳實施例,本發明之範圍並不以上 述實施例為限,舉凡熟悉本案技藝之人士援依本發明之精神所作之等效修飾或變化,皆應涵蓋於以下申請專利範圍內。 In summary, the present invention complies with the requirements of the invention patent and submits a patent application according to law. However, the above is only a preferred embodiment of the present invention, and the scope of the present invention is not above The equivalents of the embodiments of the present invention are intended to be within the scope of the following claims.
20‧‧‧電腦測試系統 20‧‧‧Computer Test System
200‧‧‧分類模組 200‧‧‧Classification module
202‧‧‧獲取模組 202‧‧‧Getting module
204‧‧‧生成模組 204‧‧‧Generation module
206‧‧‧發送模組 206‧‧‧Transmission module
208‧‧‧測試模組 208‧‧‧Test module
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW098129320A TWI452464B (en) | 2009-08-31 | 2009-08-31 | System and method for testing computers |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW098129320A TWI452464B (en) | 2009-08-31 | 2009-08-31 | System and method for testing computers |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201107968A TW201107968A (en) | 2011-03-01 |
TWI452464B true TWI452464B (en) | 2014-09-11 |
Family
ID=44835461
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW098129320A TWI452464B (en) | 2009-08-31 | 2009-08-31 | System and method for testing computers |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI452464B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI465901B (en) * | 2012-10-23 | 2014-12-21 | Taiwan Memory Qualification Ct Corp | Method and system for verification of computerized systems for cloud testing and remote monitoring of integrated circuit devices |
TWI470419B (en) * | 2012-12-11 | 2015-01-21 | Inventec Corp | Monitoring and displaying system for detection result of electronic device and method thereof |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6029257A (en) * | 1996-12-06 | 2000-02-22 | Intergraph Corporation | Apparatus and method for testing computer systems |
US6581169B1 (en) * | 1999-12-08 | 2003-06-17 | Inventec Corporation | Method and device for automatic computer testing on a plurality of computers through a local area network |
TW200923642A (en) * | 2007-11-30 | 2009-06-01 | Hon Hai Prec Ind Co Ltd | System and method for testing embedded systems |
-
2009
- 2009-08-31 TW TW098129320A patent/TWI452464B/en not_active IP Right Cessation
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6029257A (en) * | 1996-12-06 | 2000-02-22 | Intergraph Corporation | Apparatus and method for testing computer systems |
US6581169B1 (en) * | 1999-12-08 | 2003-06-17 | Inventec Corporation | Method and device for automatic computer testing on a plurality of computers through a local area network |
TW200923642A (en) * | 2007-11-30 | 2009-06-01 | Hon Hai Prec Ind Co Ltd | System and method for testing embedded systems |
Also Published As
Publication number | Publication date |
---|---|
TW201107968A (en) | 2011-03-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101996117B (en) | Computer test system and method thereof | |
Reddi et al. | Mlperf inference benchmark | |
CN110046087B (en) | Non-contact test platform | |
Pargaonkar | The Crucial Role of Inspection in Software Quality Assurance | |
US11755319B2 (en) | Code development management system | |
JP5586835B2 (en) | Clinical diagnostic analyzer performance estimator | |
US9009680B2 (en) | Selecting instrumentation points for an application | |
CN110990053A (en) | Method for creating and using machine learning scheme template and device | |
CN113822440A (en) | Method and system for determining feature importance of machine learning samples | |
TWI452464B (en) | System and method for testing computers | |
Atonge et al. | The development of data collectors in open-source system for energy efficiency assessment | |
US20230098596A1 (en) | Contextual Data Generation for Application Testing in Mixed Reality Simulations | |
GB2553896B (en) | Product test orchestration | |
Rajput et al. | FECoM: A Step towards Fine-Grained Energy Measurement for Deep Learning | |
US20160209908A1 (en) | Cloud-based integrated system for developing and evaluating energy efficient software | |
US11775419B2 (en) | Performing software testing with best possible user experience | |
Barve et al. | Upsara: A model-driven approach for performance analysis of cloud-hosted applications | |
Wienke et al. | Performance regression testing and run-time verification of components in robotics systems | |
CN117235527A (en) | End-to-end containerized big data model construction method, device, equipment and medium | |
Wang et al. | Cloud-based xai services for assessing open repository models under adversarial attacks | |
Zhu et al. | An empirical roofline model for extreme-scale i/o workload analysis | |
Mancebo et al. | GSMP: Green Software Measurement Process | |
US20230335293A1 (en) | Methods and systems for accelerating quantitative systems pharmacology (qsp) models | |
US20240265332A1 (en) | Quality management apparatus, quality management method and program | |
Matsuoka et al. | Preparing for the Future--Rethinking Proxy Apps |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
MM4A | Annulment or lapse of patent due to non-payment of fees |