TWI766480B - Test management cloud platform and method - Google Patents

Test management cloud platform and method Download PDF

Info

Publication number
TWI766480B
TWI766480B TW109144523A TW109144523A TWI766480B TW I766480 B TWI766480 B TW I766480B TW 109144523 A TW109144523 A TW 109144523A TW 109144523 A TW109144523 A TW 109144523A TW I766480 B TWI766480 B TW I766480B
Authority
TW
Taiwan
Prior art keywords
test
cloud platform
module
software
management cloud
Prior art date
Application number
TW109144523A
Other languages
Chinese (zh)
Other versions
TW202225958A (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 TW109144523A priority Critical patent/TWI766480B/en
Application granted granted Critical
Publication of TWI766480B publication Critical patent/TWI766480B/en
Publication of TW202225958A publication Critical patent/TW202225958A/en

Links

Images

Abstract

The present invention provides a test management cloud platform and method, wherein the test management cloud platform includes a connection module, an automatic function test module and a database module; the connection module is configured to establish a communication connection with a testing machine; the database module is configured to store an installation application of a software; the automatic function test module is configured to establish a communication connection with the test machine through the connection module, and install the corresponding software into the test machine remotely according to the software information required by the test item, and remotely control the test machine to execute the test item after the installation is completed. The test management method includes remotely controlling the test machine to execute test item through a test management cloud platform. The present invention discloses establishing the connection between the test management cloud platform and the test machine by building a network, which greatly improves the test efficiency of function verification.

Description

測試管理雲平台和方法Test management cloud platform and method

本發明涉及伺服器驗證測試技術領域,特別是一種測試管理雲平台和方法。The invention relates to the technical field of server verification testing, in particular to a test management cloud platform and method.

目前,在伺服器設計的項目開發時,需要進行伺服器功能驗證,即測試前後或測試中上電運行伺服器,檢查伺服器或測試部件運行的各項參數。現有技術中,針對基於伺服器的功能驗證測試,一般需要工程師完成以下步驟:通過U盤等儲存設備拷貝相關的安裝程式後,到指定的伺服器上完成安裝作業系統、更新BMC/BIOS(例如更新伺服器中的組件參數設置)、安裝測試部件驅動程式和安裝測試工具等操作;之後才能執行相關的功能測試並獲取測試數據。上述測試過程需要工程師完成大量繁瑣的步驟,同時需要工程師掌握不同軟體的安裝方法,存在工作效率低和學習成本過高的問題。At present, in the development of the server design project, it is necessary to verify the function of the server, that is, power on and run the server before and after the test or during the test, and check various parameters of the server or test components. In the prior art, for server-based functional verification tests, engineers generally need to complete the following steps: after copying the relevant installation program through a storage device such as a USB flash drive, install the operating system on a designated server and update the BMC/BIOS (for example, Update the component parameter settings in the server), install the test component driver, and install the test tool; only then can the relevant functional tests be performed and test data obtained. The above testing process requires engineers to complete a large number of tedious steps, and also requires engineers to master the installation methods of different software, which has the problems of low work efficiency and high learning cost.

針對目前項目測試存在的上述指出的效率較低的技術問題,本發明旨在提供一種測試管理雲平台。Aiming at the technical problem of low efficiency pointed out above in the current project test, the present invention aims to provide a test management cloud platform.

依據本發明一實施例的,包含:According to an embodiment of the present invention, including:

本發明的目的採用以下技術方案來實現:The object of the present invention adopts the following technical solutions to realize:

第一方面,本發明示出一種測試管理雲平台,該測試管理雲平台包括連接模組、自動功能測試模組和資料庫模組;其中自動功能測試模組分別與連接模組和資料庫模組通訊連接;連接模組用於與測試機台建立通訊連接;資料庫模組用於儲存軟體的安裝程式;自動功能測試模組用於通過連接模組與測試機台建立通訊連接,根據測試項目所需的軟體訊息將相應的軟體遠端安裝到測試機台中,並在軟體安裝完畢後對測試機台進行遠端控制以執行測試項目。In the first aspect, the present invention shows a test management cloud platform, the test management cloud platform includes a connection module, an automatic function test module and a database module; wherein the automatic function test module is respectively connected with the connection module and the database module. Group communication connection; the connection module is used to establish a communication connection with the test machine; the database module is used to store the software installation program; the automatic function test module is used to establish a communication connection with the test machine through the connection module, according to the test The software information required by the project will install the corresponding software into the test machine remotely, and after the software installation is completed, the test machine will be remotely controlled to execute the test project.

一種實施方式中,測試管理雲平台還包括web前端模組;web前端模組用於供用戶通過web界面登錄測試管理雲平台。In one embodiment, the test management cloud platform further includes a web front-end module; the web front-end module is used for users to log in to the test management cloud platform through a web interface.

一種實施方式中,軟體包括作業系統、驅動程式和測試工具。In one embodiment, the software includes an operating system, drivers, and testing tools.

一種實施方式中,自動功能測試模組包括任務管理單元、自動化測試單元、遠端控制單元和記錄單元;任務管理單元用於對測試項目進行管理,包括建立測試項目、更新測試項目的狀態;自動化測試單元用於與測試機台建立通訊連接,根據測試項目所需的軟體訊息產生相應的PXE安裝配置,並將相應的軟體遠端安裝到測試機台;遠端控制單元用於在測試機台安裝好相應的軟體後,與測試機台建立遠端控制連接,供用戶對測試機台進行遠端控制以完成測試項目;記錄單元用於獲取測試機台在完成測試項目過程中產生的測試數據,產生測試日誌並儲存到資料庫模組中。In one embodiment, the automatic function test module includes a task management unit, an automatic test unit, a remote control unit and a recording unit; the task management unit is used to manage test items, including establishing test items and updating the status of test items; automation The test unit is used to establish a communication connection with the test machine, generate the corresponding PXE installation configuration according to the software information required by the test project, and remotely install the corresponding software to the test machine; the remote control unit is used for the test machine. After installing the corresponding software, establish a remote control connection with the test machine for users to remotely control the test machine to complete the test project; the recording unit is used to obtain the test data generated by the test machine in the process of completing the test project. , generate a test log and store it in the database module.

一種實施方式中,自動化測試單元中,測試項目所需的軟體訊息為用戶通過web界面選擇的軟體列表。In one embodiment, in the automated testing unit, the software information required by the test item is a software list selected by the user through the web interface.

一種實施方式中,測試管理雲平台還包括管理模組;管理模組用於對測試項目進行管理,包括顯示、統計、分析測試項目訊息。In one embodiment, the test management cloud platform further includes a management module; the management module is used to manage test items, including displaying, counting, and analyzing test item information.

一種實施方式中,測試管理雲平台還包括論壇模組;論壇模組用於供用戶上傳測試過程中遇到的技術問題或提供技術問題的解決方案,並將技術問題和相應的解決方案記錄到技術字典中。In one embodiment, the test management cloud platform further includes a forum module; the forum module is used for users to upload technical problems encountered in the test process or provide solutions to technical problems, and record the technical problems and corresponding solutions to the in the technical dictionary.

一種實施方式中,資料庫模組還包括管理單元;管理單元用於對資料庫模組中的軟體進行管理,包括軟體的錄入和更新。In one embodiment, the database module further includes a management unit; the management unit is used to manage the software in the database module, including software entry and update.

第二方面,本發明示出一種測試管理方法,其特徵在於,該方法基於上述第一方面中任一項的測試管理雲平台進行,該方法包括:登錄測試管理雲平台;根據測試項目選擇測試機台和軟體,以使得測試管理雲平台與該測試機台建立通訊連接,並將該軟體遠端安裝到測試機台中;通過測試管理雲平台遠端控制該測試機台執行測試項目。In a second aspect, the present invention shows a test management method, which is characterized in that the method is performed based on the test management cloud platform of any one of the above-mentioned first aspects, and the method includes: logging in to the test management cloud platform; selecting a test according to a test item machine and software, so that the test management cloud platform establishes a communication connection with the test machine, and the software is remotely installed in the test machine; the test management cloud platform is used to remotely control the test machine to execute the test project.

本發明的有益效果為:The beneficial effects of the present invention are:

1)通過搭建網路建立測試管理雲平台和測試機台的連接,工程師僅需登錄測試管理雲平台,便能夠通過測試管理雲平台自動完成測試機台的軟體安裝,以及遠端控制目標測試機台完成相關的測試項目,大大提升功能驗證的測試效率。1) By building a network to establish the connection between the test management cloud platform and the test machine, engineers only need to log in to the test management cloud platform, and then they can automatically complete the software installation of the test machine and remotely control the target test machine through the test management cloud platform. The relevant test items are completed on the platform, which greatly improves the test efficiency of functional verification.

2)工程師僅需通過web界面選擇測試項目所需的軟體即可由訊息管理系統完成相關的軟體安裝,有助於降低工程師針對不同軟體安裝步驟和安裝指令的學習成本和培訓成本。2) The engineer only needs to select the software required for the test project through the web interface, and the relevant software installation can be completed by the information management system, which helps to reduce the learning cost and training cost of the engineer for different software installation steps and installation instructions.

3)通過測試管理雲平台對已完成或待測試的測試項目進行統一管理,記錄測試項目的相關訊息,方便管理者對測試進度、具體測試項目測試結果等進行管理,提高了項目測試的管理水準。3) Unified management of completed or to-be-tested test items through the test management cloud platform, record relevant information of test items, facilitate managers to manage test progress, test results of specific test items, etc., and improve the management level of project testing .

以上之關於本揭露內容之說明及以下之實施方式之說明係用以示範與解釋本發明之精神與原理,並且提供本發明之專利申請範圍更進一步之解釋。The above description of the present disclosure and the following description of the embodiments are used to demonstrate and explain the spirit and principle of the present invention, and provide further explanation of the scope of the patent application of the present invention.

以下在實施方式中詳細敘述本發明之詳細特徵以及優點,其內容足以使任何熟習相關技藝者了解本發明之技術內容並據以實施,且根據本說明書所揭露之內容、申請專利範圍及圖式,任何熟習相關技藝者可輕易地理解本發明相關之目的及優點。以下之實施例係進一步詳細說明本發明之觀點,但非以任何觀點限制本發明之範疇。The detailed features and advantages of the present invention are described in detail below in the embodiments, and the content is sufficient to enable any person skilled in the relevant art to understand the technical content of the present invention and implement it accordingly, and according to the content disclosed in this specification, the scope of the patent application and the drawings , any person skilled in the related art can easily understand the related objects and advantages of the present invention. The following examples further illustrate the viewpoints of the present invention in detail, but do not limit the scope of the present invention in any viewpoint.

結合以下應用場景對本發明作進一步描述。The present invention will be further described with reference to the following application scenarios.

參見圖1,其示出本發明提出的一種測試管理雲平台的框架結構圖其示出本發明提出的一種測試管理雲平台10的框架結構圖,其中測試管理雲平台10(TE&MS Cloud Platform;TE&MS:Test Engineering & Management System)可以運行在自行搭建的伺服器和區域網路中,待測機台通過交換機連接到區域網路,與測試管理雲平台建立通訊連接,用戶通過用戶終端連接到測試管理雲平台。其中測試機台為伺服器與測試管理雲平台10建立通訊連接,用戶通過用戶終端20連接到測試管理雲平台10。其中測試機台30為伺服器。Referring to FIG. 1, it shows a frame structure diagram of a test management cloud platform proposed by the present invention, which shows a frame structure diagram of a test management cloud platform 10 proposed by the present invention, wherein the test management cloud platform 10 (TE&MS Cloud Platform; TE&MS Cloud Platform; TE&MS Cloud Platform 10) : Test Engineering & Management System) can run in the self-built server and local area network, the machine to be tested is connected to the local area network through the switch, establishes a communication connection with the test management cloud platform, and the user connects to the test management through the user terminal cloud platform. The test machine is a server that establishes a communication connection with the test management cloud platform 10 , and the user connects to the test management cloud platform 10 through the user terminal 20 . The testing machine 30 is a server.

其中,該測試管理雲平台10包括連接模組11、自動功能測試模組12和資料庫模組13;其中自動功能測試模組12分別與連接模組11和資料庫模組13通訊連接;連接模組11用於與測試機台30建立通訊連接,其包括通過交換機分別與多個測試機台30建立通訊連接;資料庫模組13用於儲存軟體的安裝程式,其中軟體為測試項目所需軟體,包括作業系統(OS)、驅動程式(Driver)和測試工具(Rool)等,同時資料庫模組13也用於保存項目測試產生的測試數據以及測試管理雲平台10產生其他數據;自動功能測試模組12用於通過連接模組11與測試機台30建立通訊連接,根據測試項目所需的軟體訊息將相應的軟體遠端安裝到測試機台30中,並在軟體安裝完畢後對測試機台30進行遠端控制以執行測試項目。Wherein, the test management cloud platform 10 includes a connection module 11, an automatic function test module 12 and a database module 13; wherein the automatic function test module 12 is respectively connected to the connection module 11 and the database module 13 for communication and connection; The module 11 is used to establish a communication connection with the test machine 30, which includes establishing communication connection with a plurality of test machines 30 through a switch; the database module 13 is used to store the installation program of the software, wherein the software is required for the test project Software, including operating system (OS), driver (Driver), test tool (Rool), etc. Meanwhile, the database module 13 is also used to save the test data generated by the project test and other data generated by the test management cloud platform 10; automatic function The test module 12 is used to establish a communication connection with the test machine 30 through the connection module 11 , install the corresponding software into the test machine 30 remotely according to the software information required by the test project, and perform the test after the software is installed. The machine 30 is remotely controlled to execute the test items.

針對目前的基於伺服器功能驗證項目存在低效和學習成本高的技術問題,即工程師需要手動執行伺服器作業系統、驅動程式以及測試工具軟體的安裝,而且安裝過程工程師熟練使用大量的操作和指令,存在效率較低和學習成本太高的問題。本申請上述實施方式中,通過建構測試管理雲平台10,在資料庫模組13中預先保存了測試項目所需的軟體,同時通過自動功能測試模組12在於測試機台30建立遠端通訊連接後,將所需的軟體通過遠端安裝的方式安裝到測試機台30中,並在軟體安裝完成後通過遠端控制的方式操作伺服器執行相應的項目測試,能夠有效降低工程師在伺服器功能驗證過程中的操作步驟,實現對多台測試機同時操作的功能,有助於提高效率和便捷度。For the current server-based functional verification projects, there are technical problems of inefficiency and high learning costs, that is, engineers need to manually install the server operating system, drivers and test tool software, and the installation process engineers are skilled in using a large number of operations and instructions , there are problems of low efficiency and high learning cost. In the above-mentioned embodiment of the present application, by constructing the test management cloud platform 10, the software required for the test project is pre-stored in the database module 13, and at the same time, a remote communication connection is established on the test machine 30 through the automatic function test module 12. After that, install the required software into the test machine 30 by means of remote installation, and operate the server by means of remote control to execute the corresponding project test after the software installation is completed, which can effectively reduce the engineer's workload on the server function. The operation steps in the verification process realize the function of operating multiple test machines at the same time, which helps to improve efficiency and convenience.

一種實施方式中,測試管理雲平台10還包括web前端模組14;web前端模組14用於供用戶通過web界面登錄測試管理雲平台10。In one embodiment, the test management cloud platform 10 further includes a web front-end module 14; the web front-end module 14 is used for a user to log in to the test management cloud platform 10 through a web interface.

工程師操作用戶終端20(OA電腦或筆記本等),通過web界面便能夠登錄測試管理雲平台10,對測試管理雲平台10中的功能模組進行操作,使用十分便捷,同時用戶在測試管理雲平台10中的操作記錄或產生的測試數據全部能夠通過線上記錄,有助於對驗證測試項目進行管理。The engineer operates the user terminal 20 (OA computer or laptop, etc.), and can log in to the test management cloud platform 10 through the web interface, and operate the functional modules in the test management cloud platform 10, which is very convenient to use. At the same time, the user is in the test management cloud platform. All the operation records or generated test data in 10 can be recorded online, which is helpful for the management of verification test items.

一種實施方式中,測試管理雲平台10還包括管理模組15;管理模組15用於對測試項目進行管理,包括顯示、統計、分析測試項目訊息等。In one embodiment, the test management cloud platform 10 further includes a management module 15; the management module 15 is used to manage test items, including display, statistics, and analysis of test item information.

管理者通過登錄測試管理雲平台10,能夠對工程師進行的各測試項目進行統一管理,包括查閱資料庫模組13中儲存的針對各測試項目相應的測試數據和測試日誌、對各工程師執行的測試項目進行統計、指派測試項目給指定的工程師、測試項目報表或圖表的輸出、用戶權限管理、監測平台負荷和運行狀態、以及維護資料庫模組13等,便於管理者對伺服器功能驗證測試項目進行整體的管理。By logging into the test management cloud platform 10, the administrator can manage the test items performed by engineers in a unified manner, including consulting the test data and test logs corresponding to each test item stored in the database module 13, and the tests performed by each engineer. Project statistics, assign test projects to designated engineers, output test project reports or charts, manage user rights, monitor platform load and operating status, and maintain database modules 13, etc., to facilitate administrators to verify test projects on server functions Carry out overall management.

一種示例性的測試管理雲平台的管理結構如圖2所示:管理員作為系統的維護者,作用是管理用戶,分配用戶權限,監控平台的負載和運行狀態,維護資料庫,必要時手動補充資料庫。An exemplary management structure of the test management cloud platform is shown in Figure 2: the administrator, as the maintainer of the system, is responsible for managing users, assigning user permissions, monitoring the load and running status of the platform, maintaining the database, and supplementing manually if necessary database.

工程師是測試管理雲平台中測試任務的執行者,保存測試數據,提交測試報告,更新測試進度。Engineers are the executors of test tasks in the test management cloud platform, save test data, submit test reports, and update test progress.

項目經理/部門主管用戶通過管理平台可以查看本項目/本部門的測試任務和進度,有創建/編輯測試任務的權限,他們是測試任務的發佈者和監督者。Project manager/department supervisor users can view the test tasks and progress of the project/department through the management platform, and have the authority to create/edit test tasks. They are the publishers and supervisors of test tasks.

高階主管用戶通過管理平台可以查看所有測試任務統計,查看月/年度報表。Senior executive users can view all test task statistics and monthly/annual reports through the management platform.

資料庫模組用來儲存用戶帳戶數據,OS/Driver等軟體,需要定期更新。The database module is used to store user account data, OS/Driver and other software, and needs to be updated regularly.

PXE模組設置在自動功能測試模組中,用來產生測試管理雲平台10的安裝配置,執行OS/Driver等軟體的安裝。The PXE module is set in the automatic function test module, and is used to generate the installation configuration of the test management cloud platform 10 and execute the installation of software such as OS/Driver.

遠端控制設置在自動功能測試模組中,遠端控制權限開放給工程師用戶,工程師在OA電腦上操作待測機台進行功能測試。The remote control is set in the automatic function test module, and the remote control authority is open to the engineer user, and the engineer operates the machine to be tested on the OA computer for functional testing.

文件系統用於儲存測試數據/log,測試報告,執行文件簽核流程。The file system is used to store test data/logs, test reports, and execute the file sign-off process.

Online待測機台事先由工程師組好並接入區域網路中,工程師可以同時連接多個待測機台。The online test machines are set up by engineers in advance and connected to the local area network, and engineers can connect multiple test machines at the same time.

一種實施方式中,測試管理雲平台10還包括論壇模組16;論壇模組16用於供用戶上傳測試過程中遇到的技術問題或提供技術問題的解決方案,並將技術問題和相應的解決方案記錄到技術字典中。In one embodiment, the test management cloud platform 10 further includes a forum module 16; the forum module 16 is used for users to upload technical problems encountered in the test process or provide solutions to technical problems, and combine the technical problems and corresponding solutions. The scheme is recorded in the technical dictionary.

工程師在執行項目測試的過程中,可以將自己遇到的技術問題上傳至論壇模組16中,也可以對論壇模組16中對其他工程師提出的技術問題進行解答,提供解決該技術問題的技術方案,在技術問題成功解答後,將該技術問題以及對應的解決技術方案錄入到技術字典中;其中技術字典記錄各技術問題以及相應的解決方案,形成有效的問題與解答(lesson&learn)資料庫,以及供工程師進行查閱或調用。通過論壇模組16的設置,能夠為工程師提供線上、集中的交流平台,同時對技術問題和相應的解決方案形成系統的管理,有助於進一步降低交流和學習成本。Engineers can upload the technical problems they encounter to the forum module 16 in the process of executing the project test, and can also answer the technical questions raised by other engineers in the forum module 16, and provide the technology to solve the technical problems. After the technical problem is successfully answered, the technical problem and the corresponding technical solution are entered into the technical dictionary; the technical dictionary records each technical problem and the corresponding solution, forming an effective question and answer (lesson&learn) database, And for engineers to consult or call. The setting of the forum module 16 can provide engineers with an online and centralized communication platform, and at the same time form a systematic management of technical problems and corresponding solutions, which helps to further reduce communication and learning costs.

一種實施方式中,測試管理雲平台10還包括擴展模組;擴展模組用於對測試管理雲平台10的擴展功能模組開發,例如第三方功能模組兼容等,供管理者對測試管理雲平台10的功能模組進行進一步的開發。In one embodiment, the test management cloud platform 10 further includes an extension module; the extension module is used to develop the extension function modules of the test management cloud platform 10, such as compatibility with third-party function modules, etc. The functional modules of the platform 10 are further developed.

一種實施方式中,資料庫模組13還包括管理單元;管理單元用於對資料庫中的軟體進行管理,包括軟體的錄入和更新。In one embodiment, the database module 13 further includes a management unit; the management unit is used to manage the software in the database, including software entry and update.

針對項目測試所需的軟體種類繁多,而且軟體的版本不斷更新,因此通過管理單元能夠對資料庫模組13中儲存的軟體進行維護和管理,例如是添加新的軟體安裝程式或者對以後軟體的安裝程式進行更新等,以保持資料庫模組13中的軟體庫的有效性。There are many kinds of software required for project testing, and the software versions are constantly updated. Therefore, the software stored in the database module 13 can be maintained and managed through the management unit, such as adding new software installers or updating future software. The installer performs updates, etc., to maintain the validity of the software libraries in the database module 13 .

自動功能測試模組10作為測試管理雲平台10中的核心模組,一種示例性的自動功能測試模組工作流程如圖3所示。The automatic function test module 10 is a core module in the test management cloud platform 10 , and an exemplary workflow of the automatic function test module is shown in FIG. 3 .

一種實施方式中,自動功能測試模組12包括任務管理單元、自動化測試單元、遠端控制單元和記錄單元;任務管理單元用於對測試項目進行管理,包括建立測試項目、更新測試項目的狀態;自動化測試單元用於與測試機台30建立通訊連接,根據測試項目所需的軟體訊息產生相應的PXE安裝配置,並將相應的軟體遠端安裝到測試機台30;遠端控制單元用於在測試機台30安裝好相應的軟體後,與測試機台30建立遠端控制連接,供用戶對測試機台30進行遠端控制以完成測試項目;記錄單元用於獲取測試機台30在完成測試項目過程中產生的測試數據,產生測試日誌並儲存到資料庫模組13中。In one embodiment, the automatic function test module 12 includes a task management unit, an automated test unit, a remote control unit and a recording unit; the task management unit is used to manage the test items, including establishing the test items and updating the status of the test items; The automated test unit is used to establish a communication connection with the test machine 30, generate the corresponding PXE installation configuration according to the software information required by the test item, and remotely install the corresponding software to the test machine 30; the remote control unit is used to After the test machine 30 is installed with the corresponding software, a remote control connection is established with the test machine 30 for the user to perform remote control of the test machine 30 to complete the test item; the recording unit is used to obtain the test machine 30 when the test is completed. The test data generated in the project process generates a test log and stores it in the database module 13 .

一種實施方式中,自動化測試單元中,測試項目所需的軟體訊息為用戶通過web界面選擇的軟體列表。In one embodiment, in the automated testing unit, the software information required by the test item is a software list selected by the user through the web interface.

當工程師登入自動功能測試模組12後,工程師能夠通過任務管理單元對測試項目(item)進行管理,包括獲取測試任務列表、新建測試項目等,當工程師確認需要進行測試的測試項目後,工程師進入自動化測試單元,通過web界面選擇相應的測試機台30,並通過web界面選擇需要安裝的軟體,由自動化測試單元於相應的測試機台30建立連接,並根據選擇的軟體產生相應的PXE配置,將軟體遠端安裝到測試機台30中。在安裝完畢後,通過web界面反饋安裝完成訊息給工程師;此時工程師通過遠端控制單元與測試機台30建立遠端控制連接,通過遠端控制控制測試機台30執行測試,測試機台30在完成測試項目後,測試數據日誌自動保存到資料庫模組13中,並更新測試項目的狀態。After the engineer logs into the automatic functional testing module 12, the engineer can manage the test items (item) through the task management unit, including obtaining the test task list, creating a new test item, etc. After the engineer confirms the test item that needs to be tested, the engineer enters The automated test unit selects the corresponding test machine 30 through the web interface, and selects the software to be installed through the web interface, the automated test unit establishes a connection with the corresponding test machine 30, and generates the corresponding PXE configuration according to the selected software, The software is remotely installed into the testing machine 30 . After the installation is completed, the installation completion message is fed back to the engineer through the web interface; at this time, the engineer establishes a remote control connection with the test machine 30 through the remote control unit, and controls the test machine 30 through the remote control to execute the test, and the test machine 30 After completing the test item, the test data log is automatically saved in the database module 13, and the status of the test item is updated.

針對任務管理單元中對測試項目進行管理,一種示例性的項目管理單元工作流程如圖4所示;在項目管理單元中,測試項目(item)可以由工程師新建,也可以由主管或者管理員新建,其中測試項目可以是通過新建的方式建立,也可以是通過指派的方式,由管理員指派給指定的工程師執行;當工程師開始執行某一項測試項目時,測試項目顯示的狀態變更為“測試中”;在工程師通過自動化測試單元完成功能測試後,更新測試項目的狀態並上傳相應的測試報告,項目管理單元將測試報告發送給主管終端,由主管對該測試報告進行審核後,更新測試項目的狀態為“測試完成”。For the management of test items in the task management unit, an exemplary workflow of the project management unit is shown in Figure 4; in the project management unit, test items (item) can be created by engineers, or by supervisors or administrators. , in which the test project can be created by creating a new method, or it can be assigned by the administrator to the designated engineer for execution; when the engineer starts to execute a test project, the status displayed by the test project changes to "Testing" "Medium"; after the engineer completes the functional test through the automated test unit, update the status of the test project and upload the corresponding test report, the project management unit will send the test report to the supervisor terminal, and the supervisor will review the test report and update the test project The status is "Test Complete".

針對自動化測試單元的工作流程,一種示例性的自動化測試單元工作流程如圖5所示;工程師能夠通過電腦或者移動終端登錄WEB前端,通過web界面選定指定的測試機台30後,工程師能夠在web界面上連接到指定的測試機台30,針對不同的測試機台30以及測試項目的需要,工程師通過web界面選擇相應的軟體(包括OS\Driver\BMC\Tool),產生相應的PXE配置,由自動化測試單元啓動遠端安裝,將相應的軟體安裝到指定的測試機台30中。安裝完成後通過遠端控制單元進入遠端控制模式,在測試機台30中運行測試的軟體工具,進行功能驗證測試。並在測試完成後獲取由測試機台30產生的測試數據和測試日誌。並在數據獲取後斷開與測試機台30的連接。For the workflow of the automated test unit, an exemplary workflow of the automated test unit is shown in Figure 5; the engineer can log in to the WEB front-end through a computer or mobile terminal, and after selecting the designated test machine 30 through the web interface, the engineer can The interface is connected to the designated test machine 30. According to the needs of different test machines 30 and test items, the engineer selects the corresponding software (including OS\Driver\BMC\Tool) through the web interface to generate the corresponding PXE configuration, which is set by The automated testing unit starts the remote installation, and installs the corresponding software into the designated testing machine 30 . After the installation is completed, the remote control unit is used to enter the remote control mode, and the test software tool is run in the test machine 30 to perform the function verification test. And after the test is completed, the test data and test log generated by the test machine 30 are acquired. And disconnect the connection with the testing machine 30 after the data is acquired.

其中上述OS為作業系統,根據不同測試機台30(伺服器)的類型或者測試軟體的運行環境需要,可以選擇如Linux7.2、Linux7.6、CentOS、Windows Server等不同的作業系統;上述BMC為對伺服器BMC(Baseboard Manager Controller,基板管理控制器)的配置參數,例如在伺服器散熱測試中,可通過更新BMC控制伺服器風扇模組的開啓與關閉等;上述Driver為驅動程式,根據伺服器運行需要選擇相關組件如GPU、NIC、MOC、HBA的驅動程式;上述Tool為測試工具軟體,包括ilvss、BurnIn、Nvqual等測試工具。The above OS is the operating system. According to the type of different test machines 30 (server) or the operating environment of the test software, different operating systems such as Linux7.2, Linux7.6, CentOS, Windows Server, etc. can be selected; the above-mentioned BMC For the configuration parameters of the server BMC (Baseboard Manager Controller, baseboard management controller), for example, in the server cooling test, the server fan module can be turned on and off by updating the BMC; the above Driver is the driver, according to To run the server, you need to select drivers for related components such as GPU, NIC, MOC, and HBA. The above tools are test tool software, including ilvss, BurnIn, Nvqual and other test tools.

以對伺服器進行壓力測試為例,對本發明上述提出的管理測試雲平台做進一步說明如下:一種應用場景中,工程師通過OA電腦登錄管理測試雲平台,進入自動功能測試模組12後,建立針對伺服器進行壓力測試的測試項目,並根據該測試項目從web界面選擇相應伺服器設備和勾選相關的軟體,由測試管理雲平台10與該伺服器設備建立通訊連接,並將所需的軟體遠端安裝到該伺服器設備中。安裝完成後,工程師與伺服器設備建立遠端控制連接,遠端控制伺服器設備進行測試項目,針對伺服器壓力測試,控制伺服器將所有硬體(CPU\GPU等)負載滿載運行,通過伺服器設備上的感測器記錄伺服器中每個元器件的溫度數據作為測試項目的測試數據,工程師能夠根據獲取的溫度數據優化伺服器散熱結構,更改相關的設計,有利於進一步對伺服器的設計進行優化。在測試完成後,工程師將伺服器輸出的數據日誌和根據該數據獲取的分析結果整理出測試報告,將測試報告上傳到管理測試雲平台中,與該測試項目進行綁定儲存,作為伺服器設備優化、設計、調整的依據。Taking the stress test of the server as an example, the above-mentioned management and testing cloud platform of the present invention is further described as follows: In an application scenario, the engineer logs into the management and testing cloud platform through the OA computer, and after entering the automatic function testing module 12, establishes The test item of the stress test for the server, and according to the test item, select the corresponding server device from the web interface and check the relevant software, and the test management cloud platform 10 establishes a communication connection with the server device, and the required software Remotely installed into this server device. After the installation is completed, the engineer establishes a remote control connection with the server device, and the remote control server device performs the test project. For the server stress test, the control server will run all the hardware (CPU\GPU, etc.) at full load. The sensor on the server equipment records the temperature data of each component in the server as the test data of the test project. The engineer can optimize the heat dissipation structure of the server according to the obtained temperature data and change the relevant design, which is conducive to further improving the performance of the server. Design is optimized. After the test is completed, the engineer organizes the test report from the data log output by the server and the analysis results obtained from the data, uploads the test report to the management and test cloud platform, and binds and stores it with the test project as a server device. The basis for optimization, design and adjustment.

在另一種應用場景中,測試項目也可以是針對伺服器的單個散熱模組性能進行測試,例如是對伺服器設備進行跌落測試,分析具體某個散熱模組在跌落測試前後的散熱性能比較數據。In another application scenario, the test item can also be used to test the performance of a single cooling module of the server, for example, a drop test of the server equipment, to analyze the comparison data of the cooling performance of a specific cooling module before and after the drop test .

上述實施方式中,本發明測試管理雲平台具有如下優點:高效的工作方式。對工程師來講,機器的功能驗證只需要登錄用戶終端20遠端操作,尤其對於多台機器同時測試的場景,一個工程師可以操作多台機器,大大提升功能驗證的測試效率。In the above embodiment, the test management cloud platform of the present invention has the following advantages: an efficient working mode. For engineers, the functional verification of the machine only needs to log in to the user terminal 20 for remote operation, especially in the scenario where multiple machines are tested at the same time, one engineer can operate multiple machines, which greatly improves the test efficiency of functional verification.

極低的學習成本和培訓成本。工程師不需要記憶和學習安裝系統、安裝driver等等功能驗證的各個步驟和命令,只需要在WEB界面選擇即可,對於新員工來講,大大降低培訓成本。Extremely low learning and training costs. Engineers do not need to memorize and learn the steps and commands of functional verification such as installing the system and installing the driver. They only need to select them on the WEB interface. For new employees, the training cost is greatly reduced.

提高了測試管理水準。測試管理雲平台記錄每一次測試的相關訊息,可以查看測試進度,統計測試數量和完成率,提升了管理水準。Improve the level of test management. The test management cloud platform records the relevant information of each test, you can check the test progress, count the number of tests and the completion rate, which improves the management level.

針對上述提供的測試管理雲平台,本發明還提出一種測試管理方法,該測試管理基於上述任一項的測試管理雲平台進行,該方法包括:登錄測試管理雲平台;根據測試項目選擇測試機台和軟體,以使得測試管理雲平台與該測試機台建立通訊連接,並將該軟體遠端安裝到測試機台中;通過測試管理雲平台遠端控制該測試機台執行測試項目。Aiming at the test management cloud platform provided above, the present invention also provides a test management method. The test management is performed based on any of the above test management cloud platforms. The method includes: logging in to the test management cloud platform; selecting a test machine according to a test item and software, so that the test management cloud platform establishes a communication connection with the test machine, and the software is remotely installed in the test machine; the test management cloud platform is used to remotely control the test machine to execute the test project.

需要說明的是,上述測試管理方法對上述的如圖1所示的一種測試管理雲平台進行操作,該測試管理方法能夠對應上述各功能模組的具體操作流程,特別是實現圖3-圖5所示的工作流程,在此不再重複叙述。It should be noted that the above-mentioned test management method operates on the above-mentioned test management cloud platform as shown in FIG. 1 , and the test management method can correspond to the specific operation process of the above-mentioned functional modules, especially the realization of FIG. 3 to FIG. 5 . The shown work flow will not be repeated here.

需要說明的是,在本發明各個實施例中的各功能單元/模組可以集成在一個處理單元/模組中,也可以是各個單元/模組單獨物理存在,也可以是兩個或兩個以上單元/模組集成在一個單元/模組中。上述集成的單元/模組既可以採用硬體的形式實現,也可以採用軟體功能單元/模組的形式實現。It should be noted that each functional unit/module in each embodiment of the present invention may be integrated into one processing unit/module, or each unit/module may exist physically alone, or two or two The above units/modules are integrated into one unit/module. The above-mentioned integrated units/modules may be implemented in the form of hardware, or may be implemented in the form of software functional units/modules.

通過以上的實施方式的描述,所屬領域的技術人員可以清楚地瞭解應當理解,可以以硬體、軟體、固件、中間件、代碼或其任何恰當組合來實現這裡描述的實施例。對於硬體實現,處理器可以在一個或多個下列單元中實現:專用積體電路(ASIC)、數位訊號處理器(DSP)、數位訊號處理設備(DSPD)、可程式邏輯元件(PLD)、現場可程式閘陣列(FPGA)、處理器、控制器、微控制器、微處理器、設計用於實現這裡所描述功能的其他電子單元或其組合。對於軟體實現,實施例的部分或全部流程可以通過電腦程式來指令相關的硬體來完成。實現時,可以將上述程式儲存在電腦可讀取媒體中或作為電腦可讀取媒體上的一個或多個指令或代碼進行傳輸。電腦可讀取媒體包括電腦儲存媒體和通訊媒體,其中通訊媒體包括便於從一個地方向另一個地方傳送電腦程式的任何媒體。儲存媒體可以是電腦能夠存取的任何可用媒體。電腦可讀媒體可以包括但不限於RAM、ROM、EEPROM、CD-ROM或其他光盤儲存、磁盤儲存媒體或者其他磁儲存設備、或者能夠用於携帶或儲存具有指令或數據結構形式的期望的程式代碼並能夠由電腦存取的任何其他媒體。From the above description of the embodiments, those skilled in the art can clearly understand and understand that the embodiments described herein can be implemented in hardware, software, firmware, middleware, code or any appropriate combination thereof. For hardware implementation, the processor may be implemented in one or more of the following units: Application Specific Integrated Circuit (ASIC), Digital Signal Processor (DSP), Digital Signal Processing Device (DSPD), Programmable Logic Device (PLD), Field Programmable Gate Arrays (FPGAs), processors, controllers, microcontrollers, microprocessors, other electronic units designed to implement the functions described herein, or combinations thereof. For software implementation, part or all of the processes of the embodiments may be completed by instructing the relevant hardware through a computer program. When implemented, the above programs can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media includes both computer storage media and communication media, where communication media includes any medium that facilitates transfer of a computer program from one place to another. Storage media can be any available media that the computer can access. Computer readable media may include, but are not limited to, RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage media or other magnetic storage devices, or can be used to carry or store desired program code in the form of instructions or data structures and any other media that can be accessed by the computer.

雖然本發明以前述之實施例揭露如上,然其並非用以限定本發明。在不脫離本發明之精神和範圍內,所為之更動與潤飾,均屬本發明之專利保護範圍。關於本發明所界定之保護範圍請參考所附之申請專利範圍。Although the present invention is disclosed in the foregoing embodiments, it is not intended to limit the present invention. Changes and modifications made without departing from the spirit and scope of the present invention belong to the scope of patent protection of the present invention. For the protection scope defined by the present invention, please refer to the attached patent application scope.

10:測試管理雲平台 11:連接模組 12:自動功能測試模組 13:資料庫模組 14:web前端模組 15:管理模組 16:論壇模組 20:用戶終端 30:測試機台10: Test Management Cloud Platform 11: Connect the module 12: Automatic functional test module 13:Database module 14: web front-end module 15: Management Modules 16: Forum Mods 20: User terminal 30: Test machine

利用附圖對本發明作進一步說明,但附圖中的實施例不構成對本發明的任何限制,對於本領域的通常知識者,在不付出創造性勞動的前提下,還可以根據以下附圖獲得其它的附圖。 圖1為本發明一種示例性的測試管理雲平台的框架結構示意圖。 圖2為本發明一種示例性的測試管理雲平台的管理結構示意圖。 圖3為本發明一種示例性的自動功能測試模組工作流程示意圖。 圖4為本發明一種示例性的項目管理單元工作流程示意圖。 圖5為本發明一種示例性的自動化測試單元工作流程示意圖。 The present invention will be further described by using the accompanying drawings, but the embodiments in the accompanying drawings do not constitute any limitation to the present invention. For those skilled in the art, without creative work, other Attached. FIG. 1 is a schematic diagram of the framework structure of an exemplary test management cloud platform of the present invention. FIG. 2 is a schematic diagram of the management structure of an exemplary test management cloud platform of the present invention. FIG. 3 is a schematic diagram of an exemplary workflow of an automatic function test module of the present invention. FIG. 4 is a schematic diagram of an exemplary workflow of the project management unit of the present invention. FIG. 5 is a schematic diagram of an exemplary workflow of an automated testing unit of the present invention.

10:測試管理雲平台 10: Test Management Cloud Platform

11:連接模組 11: Connect the module

12:自動功能測試模組 12: Automatic functional test module

13:資料庫模組 13:Database module

14:web前端模組 14: web front-end module

15:管理模組 15: Management Modules

16:論壇模組 16: Forum Mods

20:用戶終端 20: User terminal

30:測試機台 30: Test machine

Claims (9)

一種測試管理雲平台,該測試管理雲平台包括連接模組、自動功能測試模組和資料庫模組;其中所述自動功能測試模組分別與所述連接模組和所述資料庫模組通訊連接;所述連接模組用於與測試機台建立通訊連接;所述資料庫模組用於儲存軟體的安裝程式;以及所述自動功能測試模組用於通過所述連接模組與所述測試機台建立通訊連接,根據測試項目所需的軟體訊息將相應的軟體遠端安裝到所述測試機台中,並在所述軟體安裝完畢後對所述測試機台進行遠端控制以執行所述測試項目。A test management cloud platform, the test management cloud platform includes a connection module, an automatic function test module and a database module; wherein the automatic function test module communicates with the connection module and the database module respectively connection; the connection module is used to establish a communication connection with the test machine; the database module is used to store the installation program of the software; and the automatic function test module is used to communicate with the The test machine establishes a communication connection, remotely installs the corresponding software into the test machine according to the software information required by the test item, and performs remote control on the test machine after the software installation is completed to execute all Describe the test item. 如請求項1所述的測試管理雲平台,其中所述測試管理雲平台還包括web前端模組;所述web前端模組用於供用戶通過web界面登錄所述測試管理雲平台。The test management cloud platform according to claim 1, wherein the test management cloud platform further comprises a web front-end module; the web front-end module is used for a user to log in to the test management cloud platform through a web interface. 如請求項1所述的測試管理雲平台,其中所述軟體包括作業系統、驅動程式和測試工具。The test management cloud platform of claim 1, wherein the software includes an operating system, a driver and a test tool. 如請求項1所述的測試管理雲平台,其中所述自動功能測試模組包括任務管理單元、自動化測試單元、遠端控制單元和記錄單元;所述任務管理單元用於對所述測試項目進行管理,包括建立所述測試項目、更新所述測試項目的狀態;所述自動化測試單元用於與所述測試機台建立通訊連接,根據所述測試項目所需的軟體訊息產生相應的PXE安裝配置,並將相應的軟體遠端安裝到所述測試機台;所述遠端控制單元用於在所述測試機台安裝好相應的軟體後,與所述測試機台建立遠端控制連接,供用戶對所述測試機台進行遠端控制以完成所述測試項目;所述記錄單元用於獲取所述測試機台在完成所述測試項目過程中產生的測試數據,產生測試日誌並儲存到所述資料庫模組中。The test management cloud platform according to claim 1, wherein the automatic function test module includes a task management unit, an automatic test unit, a remote control unit and a recording unit; the task management unit is used to perform Management, including establishing the test item and updating the state of the test item; the automated test unit is used to establish a communication connection with the test machine, and generate a corresponding PXE installation configuration according to the software information required by the test item , and remotely install the corresponding software to the test machine; the remote control unit is used to establish a remote control connection with the test machine after the corresponding software is installed in the test machine, for The user performs remote control on the test machine to complete the test item; the recording unit is used to obtain the test data generated by the test machine in the process of completing the test item, generate a test log and store it in the test log. in the database module described above. 如請求項4所述的測試管理雲平台,其中所述自動化測試單元中,所述測試項目所需的軟體訊息為用戶透過web界面選擇的軟體列表。The test management cloud platform according to claim 4, wherein in the automated test unit, the software information required by the test item is a software list selected by a user through a web interface. 如請求項1所述的測試管理雲平台,其中所述測試管理雲平台還包括管理模組;所述管理模組用於對所述測試項目進行管理,包括顯示、統計、分析測試項目訊息。The test management cloud platform according to claim 1, wherein the test management cloud platform further includes a management module; the management module is used to manage the test items, including displaying, counting, and analyzing test item information. 如請求項1所述的測試管理雲平台,其中所述測試管理雲平台還包括論壇模組;所述論壇模組用於供用戶上傳測試過程中遇到的技術問題或提供技術問題的解決方案,並將技術問題和相應的解決方案記錄到技術字典中。The test management cloud platform according to claim 1, wherein the test management cloud platform further includes a forum module; the forum module is used for users to upload technical problems encountered in the test process or provide solutions to technical problems , and record technical problems and corresponding solutions in the technical dictionary. 如請求項1所述的測試管理雲平台,其中所述資料庫模組還包括管理單元;所述管理單元用於對所述資料庫模組中的軟體進行管理,包括軟體的錄入和更新。The test management cloud platform according to claim 1, wherein the database module further includes a management unit; the management unit is used to manage the software in the database module, including software entry and update. 一種測試管理方法,該方法基於上述請求項1-8中任一項所述的測試管理雲平台進行,該方法包括:登錄所述測試管理雲平台;根據所述測試項目選擇所述測試機台和所述軟體,以使得所述測試管理雲平台與該測試機台建立通訊連接,並將該軟體遠端安裝到所述測試機台中;以及通過所述測試管理雲平台遠端控制該測試機台執行所述測試項目。A test management method, the method is performed based on the test management cloud platform described in any one of the above request items 1-8, the method includes: logging in to the test management cloud platform; selecting the test machine according to the test item and the software, so that the test management cloud platform establishes a communication connection with the test machine, and the software is remotely installed in the test machine; and the test machine is remotely controlled by the test management cloud platform The platform executes the test project.
TW109144523A 2020-12-16 2020-12-16 Test management cloud platform and method TWI766480B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW109144523A TWI766480B (en) 2020-12-16 2020-12-16 Test management cloud platform and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW109144523A TWI766480B (en) 2020-12-16 2020-12-16 Test management cloud platform and method

Publications (2)

Publication Number Publication Date
TWI766480B true TWI766480B (en) 2022-06-01
TW202225958A TW202225958A (en) 2022-07-01

Family

ID=83103573

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109144523A TWI766480B (en) 2020-12-16 2020-12-16 Test management cloud platform and method

Country Status (1)

Country Link
TW (1) TWI766480B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201416853A (en) * 2012-10-23 2014-05-01 Taiwan Memory Qualification Ct Corp Method and system for cloud testing and remote monitoring of integrated circuit device in validation of computerized system
US20150120893A1 (en) * 2013-10-30 2015-04-30 Oracle International Corporation System and method for test to production support in a cloud platform environment
CN109240271A (en) * 2018-10-18 2019-01-18 东南(福建)汽车工业有限公司 A kind of the cloud platform test macro and method of full-vehicle control equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201416853A (en) * 2012-10-23 2014-05-01 Taiwan Memory Qualification Ct Corp Method and system for cloud testing and remote monitoring of integrated circuit device in validation of computerized system
US20150120893A1 (en) * 2013-10-30 2015-04-30 Oracle International Corporation System and method for test to production support in a cloud platform environment
CN109240271A (en) * 2018-10-18 2019-01-18 东南(福建)汽车工业有限公司 A kind of the cloud platform test macro and method of full-vehicle control equipment

Also Published As

Publication number Publication date
TW202225958A (en) 2022-07-01

Similar Documents

Publication Publication Date Title
US10310968B2 (en) Developing software project plans based on developer sensitivity ratings detected from monitoring developer error patterns
US20170315522A1 (en) Virtual simulator and building management system including the same
CN101411123B (en) Method, system and computer program for the centralized system management on endpoints of a distributed data processing system
CN103778038B (en) Method and system for verifying cloud test and remote monitoring integrated circuit device
CN100589422C (en) A simulated single board and its simulation method
CN110955457A (en) Batch automatic operation and maintenance management method for operating systems
US10649808B2 (en) Outcome-based job rescheduling in software configuration automation
CN113658351B (en) Method and device for producing product, electronic equipment and storage medium
TWI766480B (en) Test management cloud platform and method
CN112416805A (en) Test management cloud platform and method
CN117290255A (en) Batch interface performance test method based on Python and Locut frameworks
CN113127009A (en) Automatic deployment method and device for big data management platform
KR20060098679A (en) A system for checking a system in communication system and system method thereof
TWI803829B (en) Integrated intelligent building management system
US20230021715A1 (en) Simulated Data Center
US20230009170A1 (en) System for Performing a Data Center Asset Bridging Operation
KR20030056301A (en) System hindrance integration management method
CN113986263A (en) Code automation test method, device, electronic equipment and storage medium
CN112199273A (en) Virtual machine pressure/performance testing method and system
US20110208491A1 (en) Apparatus and method for iterative simulation of an operation of a device
KR102602534B1 (en) Test automation system and method for testing system-on-chip design validation
CA2863186A1 (en) Methods and systems in an automation system for viewing a current value of a point identified in code of a corresponding point control process
CN117251328B (en) USB peripheral remote adaptation method and system
CN110555218A (en) Production model update system, apparatus, method, and computer-readable medium
US20240073101A1 (en) Enhanced network automation