CN101388805B - Test monitoring method and system - Google Patents

Test monitoring method and system Download PDF

Info

Publication number
CN101388805B
CN101388805B CN 200710154051 CN200710154051A CN101388805B CN 101388805 B CN101388805 B CN 101388805B CN 200710154051 CN200710154051 CN 200710154051 CN 200710154051 A CN200710154051 A CN 200710154051A CN 101388805 B CN101388805 B CN 101388805B
Authority
CN
China
Prior art keywords
test
operation
module
testing
name
Prior art date
Application number
CN 200710154051
Other languages
Chinese (zh)
Other versions
CN101388805A (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 CN 200710154051 priority Critical patent/CN101388805B/en
Publication of CN101388805A publication Critical patent/CN101388805A/en
Application granted granted Critical
Publication of CN101388805B publication Critical patent/CN101388805B/en

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing
    • Y02D10/40Reducing energy consumption at software or application level
    • Y02D10/45Information retrieval in databases

Abstract

The invention relates to a test monitoring method and a system, which is applied to a testing system which is connected with a service end and a plurality of user ends through a network, the testing system is provided with a testing module for testing the service end and a plurality of the user ends and generating testing results, the test monitoring method comprises the following steps: firstly building a database to memorize the name of testing tools of the testing system and testing process identifying information which is corresponding to the name of the testing tools, secondly, selectingthe name of the to-be monitored testing tools from the database and searching the testing process identifying information which is corresponding to the name of the testing tools from the database according to the selected name of the testing tools, and respectively monitoring whether a plurality of the user ends and the testing module of the service end finish the testing operation according to the identifying information, thirdly collecting the testing results of the testing module of a plurality of the user ends and the service end through the network when the testing module of a plurality of the user ends and the service end is monitored finishing the testing operation, and then memorizing the results to a preset memory, finally implementing the shutdown operation to close the user ends and the service end to save electrical energy.

Description

测试监控方法及系统 Test monitoring method and system

技术领域 FIELD

[0001] 本发明涉及一种测试监控方法及系统,尤指一种应用于透过网络连接有服务端与数个客户端的测试系统中的测试监控方法及系统。 [0001] The present invention relates to a method for monitoring and testing system, especially applicable to one kind of test monitors are connected through the network server with several clients test system method and system.

背景技术 Background technique

[0002] 计算机在个人生活及工作各方面的使用越来越广泛,似乎已成为现代社会中不可或缺的生活必需品。 [0002] Computer use in all aspects of personal life and work more and more extensive, modern society seems to have become indispensable necessities of life. 由于计算机使用普及率高的情况下,除加速计算机科技的发展,也带动网络科技的进步,故使计算机业者更是积极地投入服务器的开发。 Because computer use at a high penetration rate case, in addition to accelerating the development of computer technology, has also led to advances in network technology, so the computer industry is actively engaged in the development server.

[0003] 无论是个人计算机或服务器等计算机装置的运作效能提升与否,使用者最为重视的不外乎是系统的可靠性和稳定性。 Operational efficiency computer equipment [0003] either a personal computer or a server upgrade or not and so on, the user is nothing more than the most important reliability and stability of the system. 故,计算机生产厂商会在产品出场前对计算机装置进行多项的计算机装置的稳定度或性能测试,以确保产品的品质。 Therefore, computer manufacturers will be more stability or performance testing of computer devices computer equipment before the product appearance, to ensure product quality. 举例来说,通过设定计算机装置所需的各种工作电压及工作温度的测试,即,使计算机装置工作于较严苛的工作环境下(例如工作电压少于标准电压10%,工作温度为摄氏40度),并使计算机装置执行高负载的软件程序(例如,视窗软件)或重复性的硬件测试项目等。 For example, by the operating voltage and the operating temperature of the test apparatus is set to the desired computer, i.e. the computer device operating under harsher operating environment (e.g., the operating voltage of less than 10% of the standard voltage, operating temperature 40 degrees Celsius), and the computer device to perform high-load software program (e.g., windows), or a repetitive test hardware projects.

[0004] 然而,现有技术中对计算机装置进行测试时,尤其是对利用网络连接有服务器与数个客户机进行测试操作时,经常会遇到该类情况,亦即,有些客户机的测试程序已经结束了测试,但是服务器与数个客户机却还在继续工作,特别是测试人员不在测试现场的情况下,无法对已经完成测试操作的服务器与数个客户机实施及时关机,这样就会造成电力资源的极度浪费。 When [0004] However, the prior art testing apparatus to the computer, especially for use with a network server connected to a plurality of clients for a test operation, often encounter such situation, i.e., some clients test the case of the test program is over, but the server with a number of clients still goes to work, especially the testers do not test site, not to have to complete the test operation of the server with several clients implement promptly shut down, which would resulting in huge wastage of power resources. 以一台750W的服务器来说,加上相关的测试设备,其功耗一般在2000W左右,那么在完成测试以后,如果多运行一个小时,将会多出2000W的电力浪费,长此以往,造成的电力成本将是一个惊人的数字。 With a 750W of servers, plus related test equipment, power consumption is generally about 2000W, then after completion of the test, if you run more than an hour will waste the extra power of 2000W long run, causing power the cost is a staggering figure.

[0005] 与此同时,如不及时关闭已经完成测试操作的服务器与数个客户机,不但会缩短相关测试设备的寿命,而且还会因为测试设备的继续运转产生很大的噪音污染。 [0005] At the same time, if not shut down the server has completed the test operation with a number of clients, not only will shorten the life of the related test equipment, and will continue to operate as test equipment generates a lot of noise pollution.

[0006] 因此,如何提供一种可对该测试系统实施监控的方法及系统,使其能够及时关闭完成测试操作的计算机装置,来弥补上述种种缺失,实为相关领域的业者目前亟待解决的问题。 [0006] Therefore, how to provide a method and system can monitor the implementation of the test system, so that it can close the computer device to complete the test operation to make up for all these missing, in fact, the industry related fields present problems to be solved .

发明内容 SUMMARY

[0007] 为解决上述现有技术的缺失,本发明之一目的在于提供一种测试监控方法及系统,藉以节省电力能源。 [0007] In order to solve the above-described prior art deletions, one object of the present invention is to provide a method and a system to monitor the test, thereby saving electric power.

[0008] 本发明的另一目的在于提供一种测试监控方法及系统,以避免噪音污染。 [0008] Another object of the present invention is to provide a method for monitoring and testing system, in order to avoid noise pollution.

[0009] 为达上述目的及其他目的,本发明即揭露一种测试监控方法及系统,该测试监控方法应用于透过网络连接有服务端与数个客户端的测试系统中。 [0009] To achieve the above objects and other objects, the present invention, i.e., discloses a method and a system to monitor the test, the test method is applied to monitoring server connected through a network with a number of clients in a test system. 且该测试系统具有用以测试该服务端与该数个客户端并生成测试结果的测试模块,该测试监控方法包括:首先建立一数据库以存储该测试系统的测试工具名称以及与该测试工具名称所对应的测试进程识别信息;尔后自该数据库中选择待监控的测试工具名称并依据所选择的测试工具名称,自该数据库中搜索该测试工具名称所对应的测试进程识别信息,并据以分别侦测该数个客户端以及该服务端的测试模块是否均已完成测试操作;于侦测该服务端以及该数个客户端的测试模块均已完成测试操作时,透过该网络收集该该数个客户端及服务端的测试模块的测试结果并存储至预设的存储器中;最后关闭该数个客户端,以及确认该数个客户端是否均已关闭,并于确认完成后关闭该服务端藉以节省电力能源。 And the test system used for testing the server with the client and the plurality of test module generating the test results, the test monitoring method comprising: establishing a first database to store the name of the test system and test tools and test tools name testing process identification information corresponding; and later choose to be monitored from the database testing tool name and according to the test tool name selected, search the testing process identification information of the test tool name corresponding to from the database, and accordingly, respectively detecting the number of client and server-side test module testing whether the operation have been completed; the time to detect the server and the client several test module testing operations have been completed, the number of collected through the network the test results the client and service side of the test module and stored in the preset memory; and finally close the number of clients, as well as to confirm whether or not the number of clients have been closed, and to confirm the complete shut down the server so as to save power supply.

[0010] 本发明的测试监控系统,应用于透过网络连接有服务端与数个客户端的测试系统中,且该测试系统具有用以测试该服务端与该数个客户端并生成测试结果的测试模块,该测试监控系统包括:数据库、选择模块、侦测模块、收集模块以及关机控制模块。 [0010] Test monitoring system according to the present invention, used to connect with a server with several clients through the network test system and the test system with the test results to the test server and to generate the plurality of client test module, the test monitoring system comprising: a database, a selection module, a detection module, control module, and an off collection module. 该数据库存储有该测试系统的测试工具名称以及与该测试工具名称所对应的测试进程识别信息;该选择模块,自该数据库中选择待监控的测试工具名称,并输出一侦测信息;该侦测模块,接受到该选择模块输出的侦测信息后,依据该选择模块选择的测试工具名称,自该数据库中搜索该测试工具名称所对应的测试进程识别信息,据以侦测该测试模块是否已完成测试操作;并侦测结果为该测试模块已完成测试操作时,输出一收集信息;该收集模块接受到该侦测模块输出的收集信息后,收集该测试模块的测试结果并存储该测试结果至预设的存储器中,并输出一关机信息;以及该关机控制模块,用于接受收集模块所输出的关机信息,关闭该客户端及服务端藉以节省电力能源。 The database stores a name of the test system, test tools and test processes with the test tool identification information corresponding to the name; the selection module, selecting from the database name test tools to be monitored, and outputs a detection information; the investigation test module, the module receives the selected output detection information, according to the selection module selects a name test tools, test search process identification information of the corresponding test tool name from the database, it is to detect whether the test module completed test operation; and when the detection result for the operation test module testing has been completed, the output of a collection of information; after collecting the information collection module receives the detection output of the module, the test module to collect and store test results of the test results to a predetermined memory, and outputs a shutdown message; and shutdown control module for receiving the information collection module shutdown output close the client and the server thereby saving electricity.

[0011] 相较于现有技术,本发明的测试监控方法及系统首先创建一存储有该测试系统的测试工具名称以及与该测试工具名称所对应的测试进程识别信息的数据库;尔后于该数据库中选择测试工具名称,并依据该数据库中的测试进程识别信息侦测该测试模块是否已完成测试操作,若是,则收集该测试模块的测试结果并保存至预设的存储器中,最后输出一关机信息,以执行关机操作以关闭该客户端及服务端,如此不但节省了电力能源,还避免了噪音污染。 [0011] Compared to the prior art, testing and system monitoring method according to the present invention first creates a test tool stores the name of the test system and test processes database with the identification information corresponding to the test tool name; later in the database select the name of test tools, testing and detection process based on the identification information in the database if the test module testing operations have been completed, and if so, collect test results of the test module and save it to the preset memory, the final output of a shutdown information, to perform a shutdown to close the client and the server, so not only saves electrical energy, but also to avoid noise pollution.

附图说明[0012 [0013 [0014 [0015 [0016 [0017 [0018 [0019 [0020 [0021 [0022 [0023 [0024 BRIEF DESCRIPTION [0012 [0013 [0014 [0015 [0016 [0017 [0018 [0019 [0020 [0021 [0022 [0023 [0024

图1显示本发明的测试监控方法的流程图;以及图2显示本发明的测试监控系统的功能方块图。 1 shows a flowchart of a test monitoring method according to the invention; Figure 2 shows the functional test and monitoring system block diagram of the present invention. 【主要元件符号说明】 Main reference numerals DESCRIPTION

1 测试系统10 测试模块11 测试监控系统110 数据库111 选择模块112 侦测模块113 收集模块114 关机控制模块116 判断单元Sl 〜S15 步骤具体实施方式 Test module testing system 1 10 11 111 Test monitoring system 110 database selection module 112 to collect detecting module 113 module 116 module 114 off control unit determines in step Sl ~S15 DETAILED DESCRIPTION

[0025] 以下通过特定的具体实例说明本发明的实施方式,熟悉本领域的技术人员可由本说明书所揭示的内容轻易地暸解本发明的其他优点与功效。 [0025] Hereinafter, an embodiment of the present invention by certain specific examples, those skilled in the art may be disclosed in the present specification easily understand other advantages and effects of the present invention. 本发明亦可通过其他不同的具体实例加以实施或应用,本说明书中的各项细节亦可基于不同观点与应用,在不悖离本发明的精神下进行各种修饰与变更。 The present invention can also be applied by other different embodiments or specific examples, the details of the specification may also, that various modifications and variations without departing from the spirit of the present invention based on various concepts and applications.

[0026] 请参阅图1,图1显示本发明的测试监控方法饿流程图。 [0026] Referring to FIG. 1, FIG. 1 shows the test method of the present invention to monitor a flowchart hungry. 本发明的测试监控方法应用于透过网络连接有服务端与数个客户端(未图示)的测试系统中,且该测试系统具有用以测试该服务端与该数个客户端并生成测试结果的测试模块。 Test monitoring method of the present invention is used to connect with a server through a network with a number of clients (not shown) of the test system and the test system to test the service end and generates the plurality of client test the results of the test module. 在本实施例中,该服务端与客户端分别为服务器及客户机;该测试系统可为各种对计算机装置进行多项的计算机装置稳定度或性能的测试系统,此非本申请讨论的重点,故不作赘述。 In the present embodiment, the server and the client to the server and client, respectively; the test system can be more of stability or performance of the computer device testing system for a variety of computer devices, this non discussed herein focus , it is not described in detail here. 在本实施例中,该测试模块(未图示)还具有记录单元以对测试的结果进行记录,该测试监控方法包括以下步骤: In the present embodiment, the test module (not shown) further has a recording unit to record the results of tests, the test monitoring method comprising the steps of:

[0027] 如图1所示,首先执行步骤Si,创建一数据库,该数据库用于存储该测试系统的测试工具名称以及与该测试工具名称所对应的测试进程识别信息;在本实施例中,该测试进程识别信息用于识别例如LinuxVss-ktc,Netherc->smb等测试程序所对应的测试进程; 该数据库可添加或删除该测试工具名称以及与该测试工具名称所对应的测试进程的关联信息。 [0027] 1, the first step Si, to create a database, the name of the test system, test tools and test processes with the test tool identification information corresponding to the name database for storing; In the present embodiment, the test process identification information for identifying the test process LinuxVss-ktc, Netherc-> smb test procedure and the like corresponding to, for example,; the database can be added or removed, and the test tool name associated with the test tool name information corresponding to the test processes . 接着进至步骤S2; Then proceeds to step S2;

[0028] 在步骤S2中,自该数据库中选择待监控的测试工具名称;在本实施例中,该选择步骤为输入动作,即输入测试工具名称。 [0028] In step S2, from the database, select the name of the test tool to be monitored; in the present embodiment, the selecting step as an input operation, i.e., the input test tool name. 接着进至步骤S3 ; Then proceeds to step S3;

[0029] 在步骤S3中,输出一侦测信息;接着进至步骤S4 ; [0029] In step S3, it outputs a detection information; then proceeds to step S4;

[0030] 在步骤S4中,接受到该侦测信息后,执行第一侦测操作,在本实施例中,该第一侦测操作自该数据库中搜索该测试工具名称所对应的测试进程识别信息,分别侦测该数个客户端的测试模块是否均已完成测试操作,若是,则进至步骤S5,若否,则返至步骤S3 ; [0030] In step S4, the detection information is received after performing a first detecting operation in the present embodiment, the search operation of the first detection test tool name corresponding test processes from the identification database information, respectively, to detect whether or not the number of client test module testing operations have been completed, if so, proceeds to step S5, and if not, return to step S3;

[0031] 在步骤S5中,输出一收集信息;接着进至步骤S6 ; [0031] In step S5, the output of a collection of information; then proceeds to step S6;

[0032] 在步骤S6中,接受到该收集信息后,执行第一收集操作,在本实施例中,该第一收集操作于该客户端的测试模块完成测试操作后,收集该客户端的测试模块的测试结果,并存储该测试结果至预设的存储器中;该收集的测试模块的测试结果透过预设的保存路径保存至该预设的存储器中;接着进至步骤S7 ; After [0032] In step S6, after the collecting received information, performing a first collection operation, in the present embodiment, the first collection operation to the client module to complete the test operation of the test, the client's collection of test modules the test results, and stores the test result to the preset memory; the result of the test module stored collected through a predetermined path to save the preset memory; then proceeds to step S7;

[0033] 在步骤S7中,再输出一侦测信息;接着进至步骤S8 ; [0033] In step S7, and then outputs a detection information; then proceeds to step S8;

[0034] 在步骤S8中,接受到该侦测信息后,执行第二侦测操作,在本实施例中,该第二侦测操作自该数据库中搜索该测试工具名称所对应的测试进程识别信息,侦测该服务端的测试模块是否已完成测试操作,若是,则进至步骤S9,若否,则返至步骤S7 ; [0034] In step S8, after the detection information received, a second detection operation, in the present embodiment, the search operation of the second detection test tool name corresponding test processes from the identification database information, detecting the end of the service test module testing operations have been completed, if yes, proceeds to step S9, and if not, return to step S7;

[0035] 需要特别说明地是,在本实施例的执行该第一侦测操作以及该第二侦测操作中, 判断该测试模块10是否已完成测试操作的依据为侦测该测试模块10是否具有该测试进程。 [0035] The need to be a special note, in the present embodiment performs the detection operation of the first and the second detection operation, it is determined whether or not the test module 10 has completed a test operation is based on detecting whether the test module 10 the test has a process. 若有,则证明测试还在进行,若否,则证明测试已经完成,例如,判断该LirmXVSS->CtC 测试程序是否完成,则只需要对etc这个进程是否还在系统里面就可以判断LinuxVss这个测试是否已经完成了测试。 If so, then prove that the test is still in progress, if not, then prove that the test has been completed, for example, to determine the LirmXVSS-> CtC test program is complete, we only need to whether this process is still etc system which can determine LinuxVss this test whether the test has been completed.

[0036] 在步骤S9中,输出再一收集信息;接着进至步骤SlO ; [0036] In step S9, and then outputs a collection of information; then proceeds to step SlO;

[0037] 在步骤SlO中,接受到收集信息后,执行第二收集操作,在本实施例中,该第二收集操作于该服务端的测试模块完成测试操作后,收集该服务端的测试模块的测试结果,并存储该测试结果至预设的存储器中;该收集的测试模块的测试结果透过预设的保存路径保存至该预设的存储器中;接着进至步骤Sll ; After [0037] In step SlO, the collected information is received after performing a second collection operation, in the present embodiment, the second collection operation is completed in a test operation of the test module server, the test server collection module test As a result, and stores the test result to the preset memory; the result of the test module to collect stored in the preset memory through a predetermined path preservation; then proceeds to step Sll;

[0038] 需要特别说明地是,在本实施例中,该预设的存储器可例如位于该服务端、客户端、或任意一与该服务端具有网络数据传输功能的第三方终端电子装置中(例如移动电话、个人数字助理PDA等),且该存储器可为设置于该服务端、客户端、或第三方终端电子装置中的硬盘或为连接于上述各电子装置的随身碟。 [0038] the need of special note, in the present embodiment, the predetermined memory may be located, for example, the server, client, or any third-party terminal electronic device having a data transmission function in the network to the server ( such as a mobile phone, a personal digital assistant (PDA), etc.), and the memory may be provided to the server, client, or third-party terminal the electronic apparatus connected to a hard disk or flash disk to the respective electronic device.

[0039] 在步骤Sll中,输出一关机信息;在本实施例中,该关机信息为第一关机信息,接着进至步骤S12 ; [0039] In step Sll, the output of a shutdown message; In the present embodiment, the first shut off information message, and then proceeds to step S12;

[0040] 在步骤S12中,接受到该第一关机信息后,分别关闭该数个客户端;接着进至步骤S13 ; [0040] In step S12, after receiving the information that the first shutdown, respectively, to close the plurality of clients; then proceeds to step S13;

[0041] 在步骤S13中,判断所有该数个客户端是否关闭,若是,接着进至步骤S14;若否, 则返至步骤Sll ; [0041] In step S13, it is determined that all of the plurality of clients is closed, if so, then goes to step S14; if not, return to Step Sll;

[0042] 在步骤S14中,输出一关机信息,在本实施例中,该关机信息为第二关机信息,接着进至步骤S15 ; [0042] In step S14, outputs a shutdown message, in the present embodiment, the second shut off information is information, and then proceeds to step S15;

[0043] 在步骤S15中,接受到该第二关机信息后,关闭该服务端。 [0043] In step S15, the received information is the second shut, shut down the server. 至此,该测试监控方法步骤执行完毕,以达到关闭机器节省电力能源的目的。 At this point, the test monitoring method steps are finished, turn off the machine in order to achieve the purpose of saving electrical energy.

[0044] 请参阅图2,图2为本发明的测试监控系统11的功能方块图。 [0044] Referring to FIG. 2, a functional block diagram of FIG. 2 Measurement System 11 of the present invention. 须特别说明的是,本发明的测试监控系统11另可包括其他构件,为简化图式及说明,此处的基本架构仅显示与本发明有关的构件。 It shall be particularly noted that the test monitoring system 11 of the invention can further include other components, in order to simplify the drawings and described here only shows the basic structure of the present invention is related to the member. 测试监控系统11应用于透过网络连接有服务端(未图示)与数个客户端(未图示)的测试系统1中,且测试系统1具有用以测试该服务端与该数个客户端并生成测试结果的测试模块10。 Test monitoring system 11 used to connect with a server through a network (not shown) with a number of clients (not shown) in a test system and the test system used to test the service 1 having the plurality of client terminal and the end of the test module generating the test results 10. 在本实施例中,该服务端与客户端分别为服务器及客户机; 测试系统1可为各种对计算机装置进行多项的计算机装置稳定度或性能的测试系统,此非本申请讨论的重点,故不作赘述。 In the present embodiment, the server and the client to the server and client, respectively; the test system can be more of a stability or performance of the computer device testing system for a variety of computer devices, the focus of the present application discussed in this non- , it is not described in detail here. 在本实施例中,测试模块10还具有记录单元以对测试的结果进行记录。 In the present embodiment, the test module 10 further has a recording unit to record the results of tests.

[0045] 测试监控系统11包括:数据库110,选择模块111,侦测模块112,收集模块113以及关机控制模块114。 [0045] 11 test monitoring system comprising: a database 110, selection module 111, a detecting module 112, the collection module 113 and control module 114 off.

[0046] 数据库110存储有该测试系统1的测试工具名称以及与该测试工具名称所对应的测试进程识别信息;在本实施例中,该测试进程识别信息用于识别例如LinUXVSS->CtC, Netherc->smb等测试程序所对应的测试进程;该数据库110可添加或删除该测试工具名称以及与该测试工具名称所对应的测试进程的关联信息。 [0046] The database 110 stores the name of a test system and the test tool to test the process of test tool identification information corresponding to the name; in the present embodiment, the test process, for example, identification information for identifying LinUXVSS-> CtC, Netherc -> smb and other test procedures corresponding test process; the database 110 may add or delete information associated with the name of the test tools and test processes with the name of the corresponding test tools.

[0047] 选择模块111自该数据库中选择待监控的测试工具名称,并输出一侦测信息;在本实施例中,选择模块111为提供输入动作,即输入测试工具名称。 [0047] The selection module 111 selects from the database name test tools to be monitored, and outputs a detection information; in the present embodiment, the selection module 111 to provide an input action, i.e., the input test tool name.

[0048] 侦测模块112接受到该选择模块111输出的侦测信息后,依据该选择模块111选择的测试工具名称,自该数据库110中搜索该测试工具名称所对应的测试进程识别信息, 据以侦测该测试模块10是否已完成测试操作;并侦测结果为该测试模块10已完成测试操作时,输出一收集信息。 [0048] After detecting module 112 receives the selection information 111 output from the detection module, the selection module 111 according to the selection of the test tool name, searches from the database 110 the identification information of the test processes corresponding to the name of the test tool, according to the test module 10 to detect whether a test operation has been completed; and a detection result when the test module 10 for testing operation has been completed, the output of a collection of information. 在本实施例中,判断该测试模块10是否已完成测试操作的依据为侦测该测试模块10是否具有该测试进程。 In the present embodiment, the test module 10 determines whether the operation has been completed according to the test for detecting the test module 10 tests whether the process. 若有,则证明测试还在进行,若否,则证明测试已经完成,例如,判断该Linuxvss->ctc测试程序是否完成,则只需要对CtC这个进程是否还在系统里面就可以判断LinuxVss这个测试是否已经完成了测试。 If so, then prove that the test is still in progress, if not, then prove that the test has been completed, for example, to determine the Linuxvss-> ctc test program is complete, you only need to CtC whether this process is still inside the system can determine LinuxVss this test whether the test has been completed. [0049] 需要特别说明的是,该侦测模块112的侦测操作分为第一侦测操作及第二侦测操作。 [0049] Of particular note, the detection operation of the detection module 112 into a first and a second detection operation of detecting operation. 其中,该第一侦测操作自该数据库110中搜索该测试工具名称所对应的测试进程识别信息,分别侦测该数个客户端的测试模块10是否均已完成测试操作,若是,则输出收集信息,若否,则继续侦测操作;该第二侦测操作自该数据库110中搜索该测试工具名称所对应的测试进程识别信息,侦测该服务端的测试模块10是否已完成测试操作,若是,则输出收集信息,若否,则继续侦测操作;且该第一侦测操作优先于该第二侦测操作,即该第一侦测操作先于该第二侦测操作执行。 Wherein detecting the first search operation test process identification information corresponding to the test tool name from the database 110, respectively, detecting the plurality of clients if the test module 10 tests have been completed the operation, if yes, collects information output if not, continue to detect operation; detecting the second search operation testing process identification information of the corresponding test tool name from the database 110, the detection of the server-side test module 10 has completed the test operation, and if so, collecting information is output, and if not, continues to detect operation; a first detection and the second detection operation precedes the operation, i.e., the first detection operation prior to the second detection operation is performed.

[0050] 收集模块113接受到该侦测模块112输出的收集信息后,收集该测试模块10的测试结果并存储该测试结果至该服务端,并输出一关机信息;在本实施例中,收集模块113收集的测试模块10的测试结果透过预设的保存路径保存至预设的存储器中。 After [0050] The collection module 113 receives the detection output module 112 collects information, collecting the test result of the test module 10 and stores the test result to the server, and outputs a shutdown message; In the present embodiment, the collection test results module 113 to collect test module 10 is stored in the memory to a predetermined path through a preset saved.

[0051] 需要特别说明的是,该收集模块113的收集操作对应该第一侦测操作及第二侦测操作分别具有第一收集操作及第二收集操作,其中,该第一收集操作于该客户端的测试模块10完成测试操作后,收集该客户端的测试模块的测试结果,并存储该测试结果至该预设的存储器中;该第二收集操作于该服务端之测试模块10完成测试操作后,收集该服务端的测试模块的测试结果,并存储该测试结果至该预设的存储器中。 [0051] Of particular note is that the collection module 113 for collecting the operation should the first detection operation and a second operation detection respectively have a first and a second collection operation collection operation, wherein, in the operation of the first collection after the second collection is finished test operation to the service side of the test module 10; the client test module 10 to complete the test operation, collecting the test result of the client test module, and stores the test result to the predetermined memory collect test results of the test modules of the server, and stores the test result to the predetermined memory. 且该第一收集操作优先于该第二收集操作,即该第一收集操作先于该第二收集操作执行。 And collecting the first operation precedes the second collection operation, i.e. before the first collection operation performed in the second collection operation.

[0052] 需要特别说明的是,在本实施例中,该预设的存储器可例如位于该服务端、客户端、或任意一与该服务端具有网络数据传输功能的第三方终端电子装置中(例如移动电话、个人数字助理PDA等),且该存储器可为设置于该服务端、客户端、或第三方终端电子装置中的硬盘或为连接于上述各电子装置的随身碟。 [0052] Of particular note, in the present embodiment, the predetermined memory may be located, for example, the server, client, or any third-party terminal electronic device having a data transmission function in the network to the server ( such as a mobile phone, a personal digital assistant (PDA), etc.), and the memory may be provided to the server, client, or third-party terminal the electronic apparatus connected to a hard disk or flash disk to the respective electronic device.

[0053] 关机控制模块114用于接受收集模块113所输出饿关机信息,关闭该客户端及服务端。 [0053] Shutdown control module 114 for receiving the collection module 113 outputs information hungry off to close the client and the server. 在本实施例中,该关机控制模块114还包括一判断单元116,该判断单元116判断所有该数个客户端是否已关闭,若是,则关闭该个服务端,若否,则重新关闭所有尚未被关闭的客户端。 In the present embodiment, the shutdown control module 114 further includes a determination unit 116, the determining unit 116 determines whether or not all of the plurality of clients is closed, if yes, turn off the one server, and if not, re-close all Not It closed the client.

[0054] 综上所述,本发明的测试监控方法及系统首先创建一存储有该测试系统的测试工具名称以及与该测试工具名称所对应的测试进程识别信息的数据库;尔后于该数据库中选择测试工具名称,并依据该数据库中的测试进程识别信息侦测该测试模块是否已完成测试操作,若是,则收集该测试模块的测试结果并保存至预设的存储器中,最后输出一关机信息,以执行关机操作以关闭该客户端及服务端,如此不但节省了电力能源,还避免了噪音污染。 [0054] In summary, the test monitoring method and system according to the present invention first creates a test tool stores the name of the test system and test processes database with the identification information corresponding to the name of the test tool; thereafter selected in the database testing tool name, according to the test process to detect and identify the information in the database if the test module testing operations have been completed, and if so, collect test results of the test module and save it to the preset memory, the final output of a shutdown message, to perform the shutdown operation to close the client and the server, so not only saves electrical energy, but also to avoid noise pollution. 因此,应用本发明可克服现有技术的前述诸多缺点,而具高度产业利用价值。 Thus, application of the present invention overcomes many shortcomings of the prior art, the use of highly industrial value.

[0055] 上述实施例仅为例示性说明本发明的原理及其功效,而非用于限制本发明。 [0055] The above-described embodiment is merely exemplary embodiments illustrating the principles and effect of the present invention, the present invention is not intended to be limiting. 任何熟习本领域的技术人员均可在不违背本发明的精神及范畴下,对上述实施例进行修饰与变化。 Any one skilled in the art can be found in the art without departing from the spirit and scope of the invention, the above-described embodiments can be modified and changed. 因此,本发明的权利保护范围,应如权利要求所列。 Accordingly, the scope of the present invention as claimed, should be listed as claimed in claim.

Claims (12)

1. 一种测试监控方法,应用于透过网络连接有服务端与数个客户端的测试系统中,且该测试系统具有用以测试该服务端与该数个客户端并生成测试结果的测试模块,该测试监控方法包括以下步骤:建立数据库以存储该测试系统的测试工具名称以及与该测试工具名称所对应的测试进程识别信息;自该数据库中选择待监控的测试工具名称;依据所选择的测试工具名称,自该数据库中搜索该测试工具名称所对应的测试进程识别信息,并据以分别侦测该数个客户端以及该服务端的测试模块是否均已完成测试操作;于侦测该服务端以及该数个客户端的测试模块均已完成测试操作时,透过该网络收集该数个客户端及该服务端的测试模块的测试结果,并存储至预设的存储器中;关闭该数个客户端;以及确认该数个客户端是否均已关闭,并于确认完成后,关闭该服 1. A test method for monitoring, through the network used to connect with a server with several clients test system and the test system used for testing the server with the client and the plurality of test module generating the test result the test monitoring method comprising the steps of: establishing a test process identification information database to store the test system for testing a tool name and the test tool name corresponding; selecting test tool name to be monitored from the database; based on the selected testing tool name, search the testing process identification information of the corresponding test tool name from the database and detect respectively, according to the number of client and server-side test module testing whether the operation have been completed; in detecting the service when the end of the plurality of clients and a test module testing operations have been completed, the collected test results of the plurality of client and server modules through the test network, and stored in the preset memory; close the plurality of client end; and after confirming whether or not the number of clients have been closed, and the confirmation is complete, close the service 端。 End.
2.如权利要求1所述的测试监控方法,还包括一判断步骤,判断所有该数个客户端是否关闭,若是,则关闭该服务端,若否,则重新关闭所有尚未被关闭的客户端。 2. The test method of monitoring as claimed in claim 1, further comprising a determination step of determining the number of all the client is closed, if yes, turn off the server, if not, then closed again closed Not all clients .
3.如权利要求1所述的测试监控方法,其中,该数据库可添加或删除该测试系统的测试工具名称以及与该测试工具名称所对应的测试进程识别信息。 Wherein the database can be added or removed name test system testing tools and test process identification information of the test tool name corresponding test monitoring method according to claim 1.
4.如权利要求1所述的测试监控方法,其中,该收集的测试模块的测试结果透过预设的保存路径保存至该预设的存储器中。 Test method of monitoring as claimed in claim 1, wherein the result of the test module to save the collected predetermined preset memory through the saving path.
5.如权利要求1所述的测试监控方法,其中,该侦测步骤分为第一侦测操作及第二侦测操作,该第一侦测操作自该数据库中搜索该测试工具名称所对应的测试进程识别信息, 分别侦测该数个客户端的测试模块是否均已完成测试操作,若是,则输出收集信息,若否, 则继续侦测操作;该第二侦测操作自该数据库中搜索该测试工具名称所对应的测试进程识别信息,侦测该服务端的测试模块是否已完成测试操作,若是,则输出收集信息,若否,则继续侦测操作;且该第一侦测操作优先于该第二侦测操作。 5. The test method of monitoring as claimed in claim 1, wherein the detection step into a first detection operation and a second detecting operation, the detecting operation of the first search database from the names of the corresponding test tool the test process identification information, respectively, to detect whether the number of clients test module testing operations have been completed, and if so, collect information output, if not, continues to detect operation; detecting the second search operation from the database test process the test tool identification information corresponding to the name, the server detected test module testing operations have been completed, if the output information collection, if not, continues to detect operation; a first detection operation and the precedence the second detection operation.
6.如权利要求5所述的测试监控方法,其中,于该透过该网络收集该数个客户端及该服务端的测试模块的测试结果,并存储至预设的存储器中的步骤中,对应该第一侦测操作及第二侦测操作分别具有第一收集操作及第二收集操作,该第一收集操作于该数个客户端的测试模块完成测试操作后,收集该数个客户端的测试模块的测试结果,并存储该测试结果至该预设的存储器中;该第二收集操作于该服务端的测试模块完成测试操作后,收集该服务端的测试模块的测试结果,并存储该测试结果至该预设的存储器中;且该第一收集操作优先于该第二收集操作。 6. The test method of monitoring according to claim 5, wherein, in the collecting through the network of the plurality of client server and test results of the test module, and stored in the preset memory step, a pair of should the first detection operation and a second operation detection respectively have a first and a second collection operation collection operation, the first collection operation is completed in a test operation of the plurality of test modules client, collecting the plurality of test modules client test results, and stores the test result to the predetermined memory; after the second collection is finished test operation to the service side of the test module, collecting the test result of the server test module, and stores the test result to the preset memory; and collecting the first operation precedes the second collection operation.
7. 一种测试监控系统,应用于透过网络连接有服务端与数个客户端的测试系统中,且该测试系统具有用以测试该服务端与该数个客户端并生成测试结果的测试模块,该测试监控系统包括:数据库,存储有该测试系统的测试工具名称以及与该测试工具名称所对应的测试进程识别信息;选择模块,自该数据库中选择待监控的测试工具名称,并输出一侦测信息;侦测模块,接受该选择模块输出的侦测信息后,依据该选择模块选择的测试工具名称, 自该数据库中搜索该测试工具名称所对应的测试进程识别信息,据以侦测该测试模块是否已完成测试操作,并于侦测结果为该测试模块已完成测试操作时,输出一收集信息;收集模块,接受该侦测模块输出的收集信息后,收集该测试模块的测试结果并存储该测试结果至预设的存储器中,并输出一关机信息;以及关 A test monitoring system, used in connection with a server through a network with a number of clients in the test system and the test system with the test results to the test server, and generates the plurality of test modules client the test monitoring system comprising: a database storing a test tool name of the test system and test the process identification information of the test tool name corresponding; selection module, selecting be monitored testing tool name from the database, and outputs a detection information; a detection module, after receiving the selected module outputs detection information, according to the selection module selects a name test tools, test search process identification information of the corresponding test tool name from the database, according to detect whether the operation test module testing has been completed, and the detection result to the test module is a test operation has been completed, a collection of information for output; collection module after receiving the detection module to collect information outputted collect test results of this test module and storing the test result to a predetermined memory, and outputs a shutdown message; and off 机控制模块,用于接受收集模块所输出之关机信息,关闭该数个客户端及该服务端。 Control module, for receiving the shutdown output information collection module, the plurality of close client and the server.
8.如权利要求7所述的测试监控系统,其中,该关机控制模块还包括一判断单元,该判断单元判断所有该数个客户端是否已关闭,若是,则关闭该服务端,若否,则重新关闭所有尚未被关闭的客户端。 8. The test monitoring system of claim 7, wherein the control module further includes a shutdown determination means, the determination means determines whether or not all of the plurality of clients is closed, if yes, turn off the server, if not, Close all has not been re-closed the client.
9.如权利要求7所述的测试监控系统,其中,该数据库可添加或删除该测试系统的测试工具名称以及与该测试工具名称所对应的测试进程识别信息。 Testing of the monitoring system as claimed in claim 7, wherein the database to add or remove the name of the test system, test tools and test processes with the identification information corresponding to the name of the test tool.
10.如权利要求7所述的测试监控系统,其中,该收集模块收集的测试模块的测试结果透过预设的保存路径保存至该预设的存储器中。 10. The test system of monitoring according to claim 7, wherein the test results collected by the collection module to the test module is stored in a predetermined memory storage through a predetermined path.
11.如权利要求7所述的测试监控系统,其中,该侦测模块的侦测操作分为第一侦测操作及第二侦测操作,该第一侦测操作自该数据库中搜索该测试工具名称所对应的测试进程识别信息,分别侦测该数个客户端的测试模块是否均已完成测试操作,若是,则输出收集信息,若否,则继续侦测操作;该第二侦测操作自该数据库中搜索该测试工具名称所对应的测试进程识别信息,侦测该服务端的测试模块是否已完成测试操作,若是,则输出收集信息, 若否,则继续侦测操作;且该第一侦测操作优先于该第二侦测操作。 11. The test system of monitoring according to claim 7, wherein the detection operation of the detection module is divided into a first and a second detection operation of detecting operations, the search operation of the first detection from the test database testing process identification information corresponding to the name of the tool, respectively, to detect whether the number of clients test module testing operations have been completed, and if so, collect information output, if not, continues to detect operation; the second detection operation from the test database search process identification information of the corresponding test tool name, to detect whether the service side of the test module has completed testing operations, if so, to collect information output, if not, continues to detect operation; and the first investigation sensing operation in preference to the second detection operation.
12.如权利要求11所述的测试监控系统,其中,该收集模块的收集操作对应该第一侦测操作及第二侦测操作分别具有第一收集操作及第二收集操作,该第一收集操作于该数个客户端的测试模块完成测试操作后,收集该数个客户端的测试模块的测试结果,并存储该测试结果至该预设的存储器中;该第二收集操作于该服务端的测试模块完成测试操作后, 收集该服务端的测试模块的测试结果,并存储该测试结果至该预设的存储器中;且该第一收集操作优先于该第二收集操作。 12. The test system of monitoring the collected first claim, wherein the collecting collection operation module corresponding to the first operation and a second detection operation of detecting each having a first and a second collection operation collection operation, after the operation is completed the test operation to the plurality of client test module, collecting the plurality of test results client test module, and stores the test result to the predetermined memory; the second collection operation to the service side of the test module after completion of the test operation, the test result of the server to collect the test module, and stores the test result to the predetermined memory; and collecting the first operation precedes the second collection operation.
CN 200710154051 2007-09-13 2007-09-13 Test monitoring method and system CN101388805B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200710154051 CN101388805B (en) 2007-09-13 2007-09-13 Test monitoring method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200710154051 CN101388805B (en) 2007-09-13 2007-09-13 Test monitoring method and system

Publications (2)

Publication Number Publication Date
CN101388805A CN101388805A (en) 2009-03-18
CN101388805B true CN101388805B (en) 2011-06-15

Family

ID=40478001

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200710154051 CN101388805B (en) 2007-09-13 2007-09-13 Test monitoring method and system

Country Status (1)

Country Link
CN (1) CN101388805B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101694634B (en) * 2009-10-30 2013-06-26 迈普通信技术股份有限公司 Device allocation method in automatic test system
TWI476586B (en) * 2011-07-13 2015-03-11 Inst Information Industry Cloud-based test system, method and computer readable storage medium storing thereof
WO2013119862A1 (en) 2012-02-07 2013-08-15 Mts Systems Corporation A mobile or cloud communication platform for test system applications, a mobile application tool and graphical user interface
CN104426715B (en) * 2013-09-03 2018-03-09 北京信威通信技术股份有限公司 A kind of distributed testing tool control method
CN103473175A (en) * 2013-09-11 2013-12-25 江苏中科梦兰电子科技有限公司 Extraction method for software testing case set
US10255156B2 (en) 2013-09-30 2019-04-09 Mts Systems Corporation Mobile application interactive user interface for a remote computing device monitoring a test device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US1355435A (en) 1919-10-04 1920-10-12 Farm Specialty Mfg Company Hog-feeder
CN1988472A (en) 2005-12-20 2007-06-27 英业达股份有限公司 System and method for control on-and-off machine

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US1355435A (en) 1919-10-04 1920-10-12 Farm Specialty Mfg Company Hog-feeder
CN1988472A (en) 2005-12-20 2007-06-27 英业达股份有限公司 System and method for control on-and-off machine

Also Published As

Publication number Publication date
CN101388805A (en) 2009-03-18

Similar Documents

Publication Publication Date Title
US7877681B2 (en) Automatic context management for web applications with client side code execution
US9396094B2 (en) Software test automation systems and methods
US9064056B2 (en) Completing functional testing
Lou et al. Mining Invariants from Console Logs for System Problem Detection.
CN100382624C (en) Method and apparatus for automatically testing CDMA cell phone software
US20050021708A1 (en) Method and framework for tracking/logging completion of requests in a computer system
US8667334B2 (en) Problem isolation in a virtual environment
US20110054878A1 (en) Automated performance prediction for cloud services
US9208053B2 (en) Method and system for predicting performance of software applications on prospective hardware architecture
JP4872945B2 (en) Operation management apparatus, operation management system, information processing method, and operation management program
JP2009199533A (en) Operation management device, operation management system, information processing method, and operation management program
CN1248114C (en) Method for checking software memory leak
US7131032B2 (en) Method, system, and article of manufacture for fault determination
Zhao et al. An accelerated life testing model involving performance degradation
JP2003091432A (en) Software evaluation system and software evaluation tool
CN102841789B (en) A kind of method and apparatus of recording with playback that user in browser is operated
EP1286167B1 (en) Apparatus and method for processor power measurement in a digital signal processor using trace data and simulation techniques
US6470290B1 (en) Device having an improved apparatus and method for setting power management mode
US20030188298A1 (en) Test coverage framework
JP5425699B2 (en) Information processing apparatus, test case generation method, program, and recording medium
US20020147942A1 (en) Method and system for performing load testings on software applications
CN102436376A (en) Model checking for distributed application validation
CN1955945A (en) Method and device for automatic generating test executive routine sequence of software test process
WO2011079685A1 (en) Method and device for magaging regression test
US7805675B2 (en) Methods, systems, and computer program products for recreating events occurring within a web application

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C14 Grant of patent or utility model
CB03
TR01
TR01