[go: up one dir, main page]

CN101431445A - Network awakening test system and method thereof - Google Patents

Network awakening test system and method thereof Download PDF

Info

Publication number
CN101431445A
CN101431445A CNA2007101703019A CN200710170301A CN101431445A CN 101431445 A CN101431445 A CN 101431445A CN A2007101703019 A CNA2007101703019 A CN A2007101703019A CN 200710170301 A CN200710170301 A CN 200710170301A CN 101431445 A CN101431445 A CN 101431445A
Authority
CN
China
Prior art keywords
wake
test
terminal
network
testing
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CNA2007101703019A
Other languages
Chinese (zh)
Other versions
CN101431445B (en
Inventor
陈建霖
杨登智
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inventec Corp
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to CN2007101703019A priority Critical patent/CN101431445B/en
Publication of CN101431445A publication Critical patent/CN101431445A/en
Application granted granted Critical
Publication of CN101431445B publication Critical patent/CN101431445B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

A network wake-up test system and method thereof are mainly applied to a network wake-up test system composed of a testing end, a tested end and a network domain under a master-slave framework of an ILO remote management operation platform with an HP server, and the purpose of automatic network wake-up test is realized through a network wake-up test module.

Description

网络唤醒测试系统及其方法 Wake-on-LAN test system and method thereof

技术领域 technical field

本发明是一种网络唤醒(Wake On LAN,WOL)测试系统及其方法,特别是指一种应用在ILO(Integrated Lights-Out)远程管理操作平台的主从架构下的自动化网络唤醒测试的系统及其方法。The present invention is a Wake On LAN (Wake On LAN, WOL) test system and method thereof, in particular to a system for automatic network wake-up testing applied under the master-slave architecture of an ILO (Integrated Lights-Out) remote management operating platform and its methods.

背景技术 Background technique

在现有的网络卡的网络唤醒功能(Wake On LAN,WOL)测试环境中,电脑操作系统(Operation System,OS)的QA测试工程师在测试网络卡的网络唤醒功能(Wake On LAN,WOL)时,必需以人工手动方式在唤醒端与被唤醒端之间来回测试。其具体过程,首先,唤醒端必须有一部具备DHCP server功能的电脑,连接具有交换功能的集线器(switch hub),再安装WOL软件(如AMD PowerMagic Utility)。而在被唤醒端须以人工方式进入其RBSU(ROM-Based SetupUtility)或是OS中,抄写下被唤醒端电脑中所有网络卡的卡号(MAC Address或MAC ID),并将被唤醒端连接至唤醒端的网域(Network Domain)。在进行唤醒测试时,在被唤醒端的电脑启用休眠功能或电源关机,再至唤醒端的电脑执行WOL软件,以手动输入被唤醒端的MAC ID,并通过WOL软件送出远程唤醒数据包(WOL Magic Packet)。最后,再至被唤醒端检查电脑是否被唤醒。如此程序,才算完成仅一张网络卡的单次测试,而若欲测试所有被唤醒端网络卡,则必须不断重复上述步骤,直到所有网络卡都测试完毕。In the existing Wake On LAN (WOL) test environment of the network card, the QA test engineer of the computer operating system (Operation System, OS) is testing the Wake On LAN (WOL) function of the network card. , it is necessary to manually test back and forth between the wake-up terminal and the wake-up terminal. The specific process, first of all, the wake-up end must have a computer with DHCP server function, connected to a hub with switching function (switch hub), and then install WOL software (such as AMD PowerMagic Utility). And the awakened end must manually enter its RBSU (ROM-Based Setup Utility) or OS, copy down the card numbers (MAC Address or MAC ID) of all network cards in the awakened end computer, and connect the awakened end to Wake up the network domain (Network Domain) of the end. During the wake-up test, enable the sleep function or power off the computer at the wake-up end, and then execute the WOL software on the computer at the wake-up end to manually input the MAC ID of the wake-up end, and send a remote wake-up data packet (WOL Magic Packet) through the WOL software . Finally, go to the awakened terminal to check whether the computer is awakened. Only such a procedure can be considered to complete the single test of only one network card, and if you want to test all the awakened network cards, you must continue to repeat the above steps until all the network cards are tested.

除此之外,测试的项目还包括了:Windows OS下的休眠后的WOL测试、系统关机后的WOL测试、Windows OS下电源按钮触发休眠后的WOL测试、Windows OS下电源按钮触发关机后的WOL测试、Unix&Unix-Like电源按钮触发关机后的WOL测试等不同状况下的网络唤醒测试。In addition, the test items also include: WOL test after sleep under Windows OS, WOL test after system shutdown, WOL test after power button triggers sleep under Windows OS, WOL test after power button triggers shutdown under Windows OS WOL test, WOL test after Unix&Unix-Like power button triggers shutdown, etc. Wake-on-LAN test under different conditions.

以目前作法,必须对一项网络唤醒测试,重复上述过程设定对一张网络卡的测试,再重复同样的动作接着测试第二张网络卡,直到所有网络卡测试完毕,其动作重复性高。而测试过程及操作上,必须消耗大量的时间在一些如人工查询、抄写下受测的被唤醒端所有网络卡的MAC ID、再从唤醒端输入MAC ID与传送WOL封包等不可省略的人为操作步骤上。且采用人力测试,难免会产生一些人为疏失与错误。并且,无法精简测试者必须于唤醒端与被唤醒端两者之间来回的确认时间。因此,以目前作法仍存在上述诸多缺点。With the current practice, it is necessary to perform a wake-on-lan test, repeat the above process to set up a network card test, repeat the same action and then test the second network card until all network cards are tested, and the action is highly repeatable . In terms of testing process and operation, a lot of time must be spent on some human operations that cannot be omitted, such as manual query, copying the MAC IDs of all network cards on the awakened end under test, inputting MAC IDs from the awakened end, and sending WOL packets. step up. And the use of human testing will inevitably lead to some human errors and errors. Moreover, the confirmation time that the tester has to go back and forth between the wake-up terminal and the wake-up terminal cannot be reduced. Therefore, still there are above-mentioned many shortcomings with present practice.

发明内容 Contents of the invention

本发明提出一种网络唤醒(Wake On LAN,WOL)测试系统及其方法,适用于Windows操作系统、Unix或Linux操作系统,由Client/Server的主从架构的施测端(Server)与受测端(Client)所组成。通过模块将受测端所有网络卡的MAC ID传送至施测端,且通过模块从施测端搜集到的MAC ID清单中,自动提取受测端的MAC ID,再自动将MAC ID包含于唤醒数据包(WOL MagicPacket)中,再传送唤醒数据包至受测端以进行网络唤醒(WOL)。The present invention proposes a Wake On LAN (Wake On LAN, WOL) test system and method thereof, which are applicable to Windows operating systems, Unix or Linux operating systems. End (Client) composition. The module transmits the MAC IDs of all network cards of the tested terminal to the testing terminal, and automatically extracts the MAC ID of the tested terminal from the MAC ID list collected by the testing terminal through the module, and then automatically includes the MAC ID in the wake-up data Packet (WOL MagicPacket), and then send a wake-up packet to the end under test for WOL (WOL).

该网络唤醒测试系统包括一网域(Network Domain);一施测端,为该网域内的一伺服器端,具有一网络唤醒测试模块,该网络唤醒测试模块提供一操作介面供设定一测试组态,并依照该测试组态发送一唤醒数据包(Magic Packet);至少一受测端,为该网域内的一客户端,具有一网络唤醒模块,提供抓取至少一网络卡卡号(MAC ID)并上传至该施测端,且当网络唤醒模块该接收到该唤醒数据包时将该受测端网络唤醒(WOL);以及一ILO远程管理平台,指该施测端的ILO(Integrated Lights-Out)远程管理芯片所提供的一远程管理技术平台,供该施测端直接远程查询该受测端的状态,并远程操作该受测端。The network wake-up test system includes a network domain (Network Domain); a testing terminal, which is a server end in the network domain, has a network wake-up test module, and the network wake-up test module provides an operation interface for setting a test configuration, and send a wake-up data packet (Magic Packet) according to the test configuration; at least one tested end, a client in the network domain, has a network wake-up module to provide at least one network card number (MAC ID) and uploaded to the testing terminal, and when the wake-up module receives the wake-up data packet, the tested terminal wakes up on network (WOL); and an ILO remote management platform refers to the ILO (Integrated Lights) of the testing terminal -Out) a remote management technology platform provided by the remote management chip, for the testing terminal to directly query the status of the testing terminal remotely and remotely operate the testing terminal.

本发明针对HP伺服器的ILO inside server platform,通过由ILO远程管理技术的远程管理平台的沟通,精准的获得模块自动操作过程中测试目标的开关机状况,即当送出“关机(Shutdown)”或“休眠(Hibernate)”指令后,可通过ILO的查询得知受测端电脑的状态,及该指令是否被正确执行。因此,当本发明的网络唤醒测试系统送出WOL数据包后,可以马上得知受测端电脑是否进行开机。若当WOL数据包传送失败后,可以马上自动再传送,与人为测试中的错误排除反应时间一样快,同时也免去人工输入的时间。但若WOL数据包传送多次都失败的情况下,可以通过ILO直接对受测端电脑送出“PowerOn”数据包,让机台开机以进行下一个阶段测试,不必因此而中断测试。The present invention aims at the ILO inside server platform of the HP server, through the communication of the remote management platform of the ILO remote management technology, accurately obtains the on/off status of the test target during the automatic operation of the module, that is, when sending "Shutdown" or After the "Hibernate" command, the state of the computer under test and whether the command is executed correctly can be known through the ILO query. Therefore, after the WOL data packet is sent by the WOL testing system of the present invention, it can be known immediately whether the computer under test is powered on. If the transmission of WOL data packets fails, it can be automatically retransmitted immediately, which is as fast as the reaction time of error elimination in human testing, and also saves the time of manual input. However, if the WOL data packet transmission fails many times, you can directly send a "PowerOn" data packet to the computer under test through the ILO, so that the machine can be turned on for the next stage of testing, without interrupting the test.

通过本发明的网络唤醒(WOL)测试系统的模块操作介面,设定自动化的测试组态,将前述繁琐的设定过程,在模块中通过应用编程接口API(ApplicationProgram Interface)或是对系统传送信息(System Message Post)或事件(EventPost),自动对受测端的电脑完成“启用休眠”、“系统关机”等环境变量设定的动作,将所有繁琐的动作简化。同时,本发明的网络唤醒(WOL)测试方法以循序的方式,对所有网络卡,针对测试工程师的选择,做整体的自动化测试,从环境变量设定到系统关机或休眠、MAC ID输入、WOL数据包封装传递、WOL唤醒,到转换目标网络卡继续测试,都改为自动化。改善以往WOL测试只能完全依赖人力,因此将可节省许多测试人力及时间。再者,本发明的网络唤醒测试模块操作介面,更可将测试结果输出成HTML档的资料形式以供事后查验。采用HTML档可以将结果以强调的方式表示,如:失败以红色,成功以蓝色显示等以不同颜色显示测试结果,使得测试结果便于查询。Through the module operation interface of the Wake-on-Line (WOL) test system of the present invention, the automatic test configuration is set, and the aforementioned tedious setting process is transmitted in the module through the application programming interface API (Application Program Interface) or to the system. (System Message Post) or event (EventPost), automatically complete the actions of setting environment variables such as "enable hibernation" and "system shutdown" on the computer under test, simplifying all tedious actions. Simultaneously, Wake-On-Line (WOL) test method of the present invention is in a sequential manner, to all network cards, for the selection of test engineer, does overall automated test, from environment variable setting to system shutdown or dormancy, MAC ID input, WOL Data packet encapsulation and delivery, WOL wake-up, and the conversion to the target network card to continue testing are all changed to automation. To improve the previous WOL test can only completely rely on manpower, so it will save a lot of test manpower and time. Furthermore, the operation interface of the wake-on-lan test module of the present invention can output the test results in the form of HTML files for later inspection. HTML files can be used to express the results in an emphasized way, such as: failure is displayed in red, success is displayed in blue, etc. The test results are displayed in different colors, making the test results easy to query.

因此,通过本发明的网络唤醒(WOL)测试系统,可取代采用人力测试时以人工查询,省去查询动作的时间消耗,同时可避免传统做法中人为操作上的疏失,减少人为失误以提高网络唤醒(WOL)测试的整体效益。再者,通过本发明的网络唤醒(WOL)测试方法,以循序的方式按照测试工程师的设定,对所有网络卡做整体的自动化测试,从环境变量设定、系统关机或休眠、MAC ID输入、WOL数据包封装传递、WOL唤醒,到转换目标网络卡继续测试,都改为自动化。以本发明所提供的软件方法,总测试时间仅需30~50分钟甚至更少,相较于传统作法的总和测试时间约近1~1.5小时,其时间效率提升约40~50%,且自动化测试使整体效益更为提升。Therefore, the wake-up on network (WOL) test system of the present invention can replace manual query when using manpower testing, save the time consumption of query action, and can avoid the negligence of human operation in traditional methods at the same time, reduce human errors to improve network performance. Overall benefit of wake-up (WOL) testing. Furthermore, through the wake-up on network (WOL) test method of the present invention, according to the setting of the test engineer in a sequential manner, an overall automated test is performed on all network cards, from environment variable setting, system shutdown or sleep, MAC ID input , WOL data packet encapsulation and delivery, WOL wake-up, and the conversion to the target network card to continue testing are all changed to automation. With the software method provided by the present invention, the total test time is only 30-50 minutes or less, compared with the total test time of the traditional method of about 1-1.5 hours, the time efficiency is increased by about 40-50%, and it is automated Testing makes the overall efficiency more improved.

下面结合附图和具体实施例对本发明进行详细描述,但不作为对本发明的限定。The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments, but not as a limitation of the present invention.

附图说明 Description of drawings

为让本发明的上述和其他目的、特征、优点与实施例能更明显易懂,所附附图的详细说明如下:In order to make the above and other objects, features, advantages and embodiments of the present invention more comprehensible, the detailed description of the accompanying drawings is as follows:

图1,为本发明的网络唤醒(WOL)测试系统的方块图;Fig. 1 is the block diagram of wake-on-lan (WOL) test system of the present invention;

图2A,为本发明的网络唤醒(WOL)测试方法的步骤流程图;Fig. 2A is a flow chart of the steps of the wake-on-LAN (WOL) testing method of the present invention;

图2B,为本发明的网络唤醒(WOL)测试方法的细部流程A;FIG. 2B is a detailed process A of the wake-on-LAN (WOL) testing method of the present invention;

图3,为本发明的网络唤醒(WOL)测试模块操作介面的示意图。FIG. 3 is a schematic diagram of the operation interface of the Wake-on-LAN (WOL) testing module of the present invention.

其中,附图标记Among them, reference signs

100:施测端100: testing end

110:网络唤醒测试模块110: LAN wake-up test module

120:网络唤醒测试模块操作介面120: Wake-on-LAN test module operation interface

121:MAC ID列表121: MAC ID list

122:测试组态列表122: Test configuration list

123:测试过程即时信息123: Instant information on testing process

124:测试功能选项124: Test function options

1241:关机/启动休眠选项1241: Shutdown/Initiate Hibernation Options

1242:关机测试选项1242: Shutdown test option

1243:电源启动休眠选项1243: Power On Hibernation Option

1244:休眠与恢复选项1244: Hibernation and Resume Options

1245:电源关机选项1245: Power Shutdown Options

1246:及开/关机循环选项1246: and on/off cycle option

125:测试项目列表125: List of test items

126:测试经过时间126: Test elapsed time

127:目前测试工作127: Current Test Work

130:ILO平台130: ILO platform

200~20n:受测端200~20n: tested terminal

2001~20n1:网络唤醒模块2001~20n1: Wake-on-LAN module

2002~20n2:网络卡2002~20n2: network card

300:网域300: domain

400~460:方法步骤400~460: method steps

具体实施方式 Detailed ways

本发明为一种网络唤醒(WOL)测试系统及其方法,主要利用具有ILO(Integrated Lights-Out)技术的远程管理操作平台,以Client/Server的主从架构的施测端(Server)与受测端(Client)组成的系统,通过一网络唤醒测试模块对受测端进行网络唤醒测试,并通过ILO远程管理即时得知网络唤醒的情况,而实现自动化WOL唤醒测试的目的。以下应用本发明方法技术的较佳实施例详细说明本发明方法的步骤流程。The present invention is a Wake-on-Line (WOL) test system and its method. It mainly utilizes a remote management operation platform with ILO (Integrated Lights-Out) technology, and uses a client/server master-slave architecture to test the testing end (Server) and the receiving end. The system composed of the test terminal (Client) performs network wake-up test on the tested terminal through a network wake-up test module, and realizes the purpose of automatic WOL wake-up test through ILO remote management to know the situation of network wake-up in real time. The following preferred embodiments of the application of the method technology of the present invention describe in detail the steps of the method of the present invention.

首先,请先配合参照图1,为本发明的网络唤醒(WOL)测试系统的方块图。本发明所提出的网络唤醒测试系统,主要利用于具有ILO技术的远程管理操作平台的施测端100、受测端200~20n、及网域300所组成的系统。受测端200~20n分别具有网络唤醒模块2001~20n1及网络卡2002~20n2。网络唤醒模块2001~20n1接收网络唤醒数据包(WOL Magic Packet)而将受测端200~20n电脑唤醒,具有提供抓取该网络卡卡号(MAC ID)并传送网络卡卡号至施测端100等上传资料信息的功能。施测端100至少包含一网络唤醒测试模块110、一网络唤醒测试模块操作介面120、及一ILO平台130。其中,ILO平台130指由Hewlett-Packard Development Company公司的HP伺服器内置的ILO(Integrated Lights-Out)远程管理芯片所提供的远程管理技术平台,使施测端100的伺服器可通过网络连线连接网络卡2002~20n2而远程操作受测端200的电脑。而网络唤醒测试模块操作介面120为网络唤醒测试模块110的操作介面。以下配合附图详细说明网络唤醒测试模块操作介面120所提供的功能。First of all, please refer to FIG. 1 , which is a block diagram of the WOL test system of the present invention. The network wake-up test system proposed by the present invention is mainly used in the system composed of the testing terminal 100, the testing terminals 200-20n, and the network domain 300 of the remote management operation platform with ILO technology. The tested terminals 200-20n respectively have wake-up-on-lan modules 2001-20n1 and network cards 2002-20n2. Wake-on-LAN modules 2001-20n1 receive the WOL Magic Packet and wake up the computers of the tested terminals 200-20n, and have the functions of capturing the network card number (MAC ID) and sending the network card number to the testing terminal 100, etc. The function of uploading data information. The testing terminal 100 at least includes a WOL test module 110 , a WLAN test module operation interface 120 , and an ILO platform 130 . Among them, the ILO platform 130 refers to the remote management technology platform provided by the built-in ILO (Integrated Lights-Out) remote management chip of the HP server of Hewlett-Packard Development Company, so that the server of the testing terminal 100 can be connected through the network Connect the network cards 2002-20n2 to remotely operate the computer of the terminal 200 under test. The WLAN test module operation interface 120 is the operation interface of the WLAN test module 110 . The functions provided by the operation interface 120 of the Wake-on-LAN test module will be described in detail below with reference to the accompanying drawings.

参见图3,为本发明的网络唤醒(WOL)测试模块操作介面的示意图。该网络唤醒模块操作介面120,提供使用者设定对至少一个该受测端200的测试组态。如图所示,该介面120至少具有提供MAC ID列表121、测试组态列表122、测试过程即时信息123、测试功能选项124及测试项目列表125、测试经过时间126、目前测试工作127等功能。其中,MAC ID列表121显示施测端100所搜集到的受测端200的网络卡2002~20n2的卡号(MAC ID)。测试组态列表122提供设定对至少一个该受测端200的测试组态,包括如一系统处理缓冲时间、一模块处理信息的缓冲时间、一唤醒数据包传送间隔时间、一唤醒成功次数、一唤醒失败次数等。测试过程即时信息123为在测试过程中即时以HTML格式产生的测试行程、结果。测试功能选项124为提供至少包含关机/启动休眠(Shutdown/Hibernate)选项1241、关机测试(Shutdown test)选项1242、电源启动休眠(Power Hibernate)选项1243、休眠与恢复(Hibernate&Resume)选项1244、电源关机(Power Shutdown)选项1245及开/关机循环(Power cycle)选项1246等项目的任意组合。而测试项目列表125为提供批次显示对该受测端200的所有的测试功能。测试经过时间126可显示测试所经历的总时间。目前测试工作127可显示目前所进行的受测端200的测试工作。Referring to FIG. 3 , it is a schematic diagram of the operation interface of the WOL test module of the present invention. The operation interface 120 of the Wake-on-LAN module provides the user with setting the test configuration of at least one terminal under test 200 . As shown in the figure, the interface 120 at least has the functions of providing MAC ID list 121, test configuration list 122, test process instant information 123, test function options 124 and test item list 125, test elapsed time 126, and current test work 127. Among them, the MAC ID list 121 displays the card numbers (MAC IDs) of the network cards 2002-20n2 of the tested terminal 200 collected by the testing terminal 100. The test configuration list 122 provides settings for at least one test configuration of the terminal under test 200, including a system processing buffer time, a module processing information buffer time, a wake-up data packet transmission interval, a wake-up success times, a The number of wake-up failures, etc. The test process instant information 123 is the test schedule and results generated in HTML format in real time during the test process. The test function option 124 is to provide at least shutdown/start dormancy (Shutdown/Hibernate) option 1241, shutdown test (Shutdown test) option 1242, power startup hibernation (Power Hibernate) option 1243, sleep and recovery (Hibernate&Resume) option 1244, power shutdown Any combination of items such as (Power Shutdown) option 1245 and on/off cycle (Power cycle) option 1246. The test item list 125 is to provide a batch display of all test functions of the terminal under test 200 . Test elapsed time 126 may display the total time elapsed for the test. The current test work 127 can display the current test work of the terminal under test 200 .

接着,配合参照图2A,为本发明的网络唤醒(WOL)测试方法的步骤流程图。如图2A所示,利用本发明所提出的网络唤醒(WOL)测试系统在Client/Server的主从架构的施测端100与受测端200。首先,施测端100的网络唤醒测试模块110搜集至少一个受测端200的一网络卡2001的卡号(步骤400)。接着,通过网络唤醒测试模块操作介面120设定一测试组态(步骤410)。然后即可进行网络唤醒测试,依该测试组态发送一唤醒数据包(Magic Packet)至一个该受测端200(步骤420)。待发送出唤醒数据包后,该施测端100通过ILO平台侦测该受测端200是否开机(步骤430)。在步骤430中若侦测到该受测端200已成功开机,即表示网络唤醒成功,因此接着判断该受测端200是否已达一唤醒成功次数(步骤440);但若在步骤430中该受测端200仍未开机,即表示网络唤醒失败,因此接着判断该受测端200是否已达一唤醒失败次数(步骤450)。在前述步骤440中,若受测端200已达唤醒成功次数,则再接着判断是否完成所有受测端200的网络唤醒测试(步骤460);但若受测端200未达唤醒成功次数,则回到步骤420继续进行重复测试。而在前述步骤450中,若受测端200未达唤醒失败次数,则回到步骤420再继续重复测试;但若受测端200已达唤醒失败次数,则记录该次网络唤醒失败的信息(步骤451),且该施测端100通过ILO平台130直接将该受测端200开机(步骤452),并放弃对该该受测端200的网络唤醒测试,然后接续到步骤460。最后,在上述步骤460中,若尚未完成所有该受测端200的该网络唤醒测试,则回到步骤420继续进行下一个该受测端200的网络唤醒测试;但若已完成所有该受测端200的测试,则结束本流程。Next, refer to FIG. 2A , which is a flow chart of the steps of the wake-on-on-LAN (WOL) testing method of the present invention. As shown in FIG. 2A , using the Wake-on-LAN (WOL) test system proposed by the present invention, the testing end 100 and the testing end 200 of the client/server master-slave architecture are used. Firstly, the WLAN test module 110 of the testing terminal 100 collects the card number of at least one network card 2001 of the testing terminal 200 (step 400 ). Next, set a test configuration through the operation interface 120 of the WOL test module (step 410 ). Then the network wake-up test can be performed, and a wake-up data packet (Magic Packet) is sent to a tested terminal 200 according to the test configuration (step 420). After sending the wake-up data packet, the testing terminal 100 detects whether the testing terminal 200 is powered on through the ILO platform (step 430 ). In step 430, if it is detected that the terminal under test 200 has successfully turned on, it means that the network wake-up is successful, so it is then judged whether the terminal under test 200 has reached a successful number of times of wake-up (step 440); but if in step 430 the If the terminal under test 200 is still not powered on, it means that the network wake-up fails, so it is then determined whether the terminal under test 200 has reached a number of wake-up failures (step 450 ). In the aforementioned step 440, if the terminal under test 200 has reached the number of times of successful wake-up, then it is then judged whether to complete the network wake-up test of all terminals under test 200 (step 460); but if the terminal under test 200 has not reached the number of times of successful wake-up, then Go back to step 420 and continue to repeat the test. And in the aforementioned step 450, if the terminal under test 200 has not reached the number of wake-up failures, then return to step 420 and continue to repeat the test; but if the terminal under test 200 has reached the number of times of wake-up failures, record the information of the network wake-up failure ( Step 451 ), and the testing terminal 100 directly powers on the testing terminal 200 through the ILO platform 130 (step 452 ), and abandons the wake-up test on the testing terminal 200 , and then proceeds to step 460 . Finally, in the above-mentioned step 460, if the wake-up test of the terminal under test 200 has not been completed, then return to step 420 to continue the next wake-up test of the terminal under test 200; If the test of the terminal 200 is completed, this process ends.

其中,前述步骤400更包含一细部流程A,接下来配合附图作进一步说明如下。参见图2B,为本发明网络唤醒(WOL)测试方法搜集网络卡卡号的细部流程A。首先,在一受测端200执行一网络唤醒模块2001(步骤401)。当该模块执行时,网络唤醒模块2001抓取该受测端200的网络卡2002的卡号(MACID)(步骤402)。然后,该网络唤醒模块2001连线至一施测端100并将该网络卡卡号回传至该施测端100(步骤403)。待进行步骤403之后,该施测端100即搜集了所有该受测端200的网络卡卡号(MAC ID)。如此完成细部流程A的步骤后,即可接续步骤410,通过网络唤醒测试模块操作介面120设定一测试组态。Wherein, the aforementioned step 400 further includes a detailed process A, which will be further described as follows with reference to the accompanying drawings. Referring to FIG. 2B , a detailed flow A of collecting network card numbers for the WOL test method of the present invention. Firstly, execute a wake-on-lan module 2001 on a terminal under test 200 (step 401 ). When this module is executed, the wake-on-lan module 2001 captures the card number (MACID) of the network card 2002 of the terminal under test 200 (step 402). Then, the Wake-on-LAN module 2001 is connected to a testing terminal 100 and returns the network card number to the testing terminal 100 (step 403 ). After step 403 is performed, the testing terminal 100 collects all the network card numbers (MAC ID) of the testing terminal 200. After completing the steps of the detailed process A, proceed to step 410 to set a test configuration through the operation interface 120 of the WOL test module.

借此,以循序的方式对网域中所有网络卡做整体的自动化测试。从环境变量设定到系统关机或休眠、MAC ID输入、WOL封包封装传递、WOL唤醒再转换目标网络卡继续测试,都可改为自动化测试的目的。In this way, an overall automated test is performed on all network cards in the network domain in a sequential manner. From environment variable setting to system shutdown or hibernation, MAC ID input, WOL packet encapsulation transfer, WOL wake-up and then switch target network card to continue testing, all can be changed to the purpose of automated testing.

当然,本发明还可有其他多种实施例,在不背离本发明精神及其实质的情况下,熟悉本领域的技术人员可根据本发明作出各种相应的改变和变形,但这些相应的改变和变形都应属于本发明所附的权利要求的保护范围。Certainly, the present invention also can have other multiple embodiments, without departing from the spirit and essence of the present invention, those skilled in the art can make various corresponding changes and deformations according to the present invention, but these corresponding changes All changes and modifications should belong to the scope of protection of the appended claims of the present invention.

Claims (10)

1.一网络唤醒测试系统,其特征在于,至少包含:1. A network wake-up test system, characterized in that it at least includes: 一网域;a domain; 一施测端,为该网域内的一伺服器端,具有一网络唤醒测试模块,该网络唤醒测试模块提供一操作介面供设定一测试组态,并依照该测试组态发送一唤醒数据包;A testing terminal, which is a server terminal in the network domain, has a wake-up test module, the wake-up test module provides an operation interface for setting a test configuration, and sends a wake-up data packet according to the test configuration ; 至少一受测端,为该网域内的一客户端,具有一网络唤醒模块,提供抓取至少一网络卡卡号并上传至该施测端,且当该网络唤醒模块接收到该唤醒数据包时将该受测端网络唤醒;以及At least one tested terminal is a client in the network domain, and has a wake-up module for capturing at least one network card number and uploading it to the testing terminal, and when the wake-up module receives the wake-up data packet Wake up the device under test from the network; and 一远程管理平台,指该施测端的远程管理芯片所提供的一远程管理技术平台,供该施测端直接远程查询该受测端的状态,并远程操作该受测端。A remote management platform refers to a remote management technology platform provided by the remote management chip of the testing terminal for the testing terminal to directly and remotely query the status of the testing terminal and remotely operate the testing terminal. 2.根据权利要求1所述的网络唤醒测试系统,其特征在于,该唤醒数据包为任何在网络通讯协定中包含欲被网络唤醒的电脑的该网络卡卡号的资料。2. The Wake-on-LAN test system according to claim 1, wherein the wake-up data packet is any data including the network card number of the computer to be woken up by the network in the network communication protocol. 3.根据权利要求1所述的网络唤醒测试系统,其特征在于,该网络唤醒测试模块的该操作介面至少包含一网络卡卡号列表、及一测试组态列表、一测试过程即时信息、一测试功能选项及一测试项目列表。3. The Wake-on-LAN test system according to claim 1, wherein the operation interface of the Wake-on-LAN test module at least includes a network card number list, a test configuration list, a test process instant message, and a test Function options and a list of test items. 4.一网络唤醒测试方法,其特征在于,至少包含步骤:4. A network wake-up testing method, characterized in that at least comprising steps: 一施测端的一网络唤醒测试模块搜集至少一个一受测端的一网络卡卡号;A Wake-on-LAN testing module of a testing terminal collects at least one network card number of a testing terminal; 通过该网络唤醒测试模块的一操作介面设定一测试组态;Setting a test configuration through an operation interface of the wake-on-LAN test module; 依该测试组态发送一唤醒数据包至一个该受测端;sending a wake-up data packet to a terminal under test according to the test configuration; 该施测端通过一远程管理平台查询该受测端是否开机;The testing terminal inquires whether the testing terminal is turned on through a remote management platform; 判断该受测端是否已达一唤醒成功次数;以及judging whether the tested end has reached a number of successful wake-ups; and 判断是否完成所有该受测端的网络唤醒测试。It is judged whether all wake-on-lan tests of the terminal under test are completed. 5.根据权利要求4所述的网络唤醒测试方法,其特征在于,判断是否完成所有该受测端的网络唤醒测试的步骤若判断结果为否,则该施测端继续进行下一个该受测端的网络唤醒测试。5. The Wake-on-LAN testing method according to claim 4, wherein, if the step of judging whether to complete the Wake-on-LAN tests of all the tested terminals is negative, the testing terminal proceeds to the next test of the tested terminal. Wake on LAN test. 6.根据权利要求4所述的网络唤醒测试方法,其特征在于,判断该受测端是否已达一唤醒成功次数的判断结果为否,则该施测端依该测试组态发送另一个该唤醒数据包至该受测端。6. The network wake-up test method according to claim 4, wherein the judgment result of judging whether the terminal under test has reached a number of successful wake-up times is no, then the test terminal sends another test configuration according to the test configuration. Wake up the data packet to the terminal under test. 7.根据权利要求4所述的网络唤醒测试方法,其特征在于,该施测端通过一远程管理平台查询该受测端是否开机的判断结果为否,再进一步包含步骤:7. The network wake-up test method according to claim 4, characterized in that, the testing terminal inquires whether the tested terminal is powered on through a remote management platform, and the judgment result is no, further comprising steps: 判断该受测端是否已达一唤醒失败次数;judging whether the tested end has reached a number of wake-up failures; 若该受测端已达该唤醒失败次数,则记录该次网络唤醒失败的信息;以及If the tested end has reached the number of wake-up failures, record the network wake-up failure information; and 该施测端通过该远程管理平台直接将该受测端开机。The testing terminal directly starts the testing terminal through the remote management platform. 8.根据权利要求4所述的网络唤醒测试方法,其特征在于,该远程管理平台指由远程管理芯片所提供的远程管理技术平台。8. The Wake-on-LAN testing method according to claim 4, wherein the remote management platform refers to a remote management technology platform provided by a remote management chip. 9.根据权利要求4所述的网络唤醒测试方法,其特征在于,该唤醒数据包为任何在网络通讯协定中包含欲被网络唤醒的电脑的该网络卡卡号的资料。9. The test method for wake-up on LAN according to claim 4, wherein the wake-up data packet is any data including the network card number of the computer to be woken up by the network in the network communication protocol. 10.根据权利要求4所述的网络唤醒测试方法,其特征在于,该网络唤醒测试模块的该操作介面至少包含一网络卡卡号列表、一测试组态列表、一测试过程即时信息、一测试功能选项、及一测试项目列表。10. The Wake-on-LAN test method according to claim 4, wherein the operation interface of the Wake-on-LAN test module at least includes a network card number list, a test configuration list, a test process instant message, and a test function options, and a list of test items.
CN2007101703019A 2007-11-08 2007-11-08 Wake-on-LAN test system and method thereof Expired - Fee Related CN101431445B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101703019A CN101431445B (en) 2007-11-08 2007-11-08 Wake-on-LAN test system and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101703019A CN101431445B (en) 2007-11-08 2007-11-08 Wake-on-LAN test system and method thereof

Publications (2)

Publication Number Publication Date
CN101431445A true CN101431445A (en) 2009-05-13
CN101431445B CN101431445B (en) 2011-04-13

Family

ID=40646624

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101703019A Expired - Fee Related CN101431445B (en) 2007-11-08 2007-11-08 Wake-on-LAN test system and method thereof

Country Status (1)

Country Link
CN (1) CN101431445B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102315982A (en) * 2010-07-09 2012-01-11 英业达股份有限公司 Testing method of built-in remote control expansion card
CN102413119A (en) * 2010-09-21 2012-04-11 巴比禄股份有限公司 Communication device and communication method thereof
CN103106128A (en) * 2011-11-14 2013-05-15 英业达科技有限公司 Cold startup switch machine test method and cold starting switch machine test system
CN105515918A (en) * 2016-01-13 2016-04-20 浪潮电子信息产业股份有限公司 Network awakening test method under SUSE Linux system
CN109783296A (en) * 2019-01-07 2019-05-21 郑州云海信息技术有限公司 A kind of method of automatic verifying network interface card WOL functional stabilization

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1294506C (en) * 2001-11-27 2007-01-10 纬创资通股份有限公司 System and method for controlling booting procedures of multiple computer devices using remote operation device
US7251736B2 (en) * 2003-06-25 2007-07-31 International Business Machines Corporation Remote power control in a multi-node, partitioned data processing system via network interface cards
CN1241093C (en) * 2003-08-25 2006-02-08 威盛电子股份有限公司 Network device for sustaining network wakeup function during undesired shutdown and method therefor
CN100378617C (en) * 2003-09-09 2008-04-02 华宇电脑股份有限公司 Network awakening device and method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102315982A (en) * 2010-07-09 2012-01-11 英业达股份有限公司 Testing method of built-in remote control expansion card
CN102413119A (en) * 2010-09-21 2012-04-11 巴比禄股份有限公司 Communication device and communication method thereof
CN103106128A (en) * 2011-11-14 2013-05-15 英业达科技有限公司 Cold startup switch machine test method and cold starting switch machine test system
CN105515918A (en) * 2016-01-13 2016-04-20 浪潮电子信息产业股份有限公司 Network awakening test method under SUSE Linux system
CN109783296A (en) * 2019-01-07 2019-05-21 郑州云海信息技术有限公司 A kind of method of automatic verifying network interface card WOL functional stabilization

Also Published As

Publication number Publication date
CN101431445B (en) 2011-04-13

Similar Documents

Publication Publication Date Title
CN101431443B (en) Wake-on-LAN test system and method thereof
CN100454817C (en) Computer remote wakeup method and device based on network
CN101431445B (en) Wake-on-LAN test system and method thereof
CN101924667B (en) A serial port-based modem abnormal detection and power-off restart control method
CN110300299A (en) Show facility switching machine method for testing pressure, device, equipment and storage medium
CN102087625A (en) Boot test system and test method
CN203366017U (en) Building talk-back intelligent terminal and crash restart system for same
CN102270168A (en) Method for automatically detecting serial port information
CN104899120A (en) Server stability testing method based on BMC (baseboard management controller) startup and shutdown functions
CN105335316A (en) Motor assembling line serial port server based on cloud computation
CN115515026B (en) Ammeter data transmission system, method, device, equipment and medium
CN110134447A (en) The system and method for BMC immediate updating hard disk information based on operating system
CN104866418A (en) Automatic testing method and system
CN107678949A (en) Realize the automated testing method of embedded device different communication mode
CN102609356A (en) Terminal product driver loading stability testing method
US7814370B2 (en) Wake on LAN (WOL) test system and method thereof
CN101547503A (en) Power management method of wireless network device and power manager thereof
CN103986588B (en) Remote control method for computer system and computer device
CN105141947A (en) Pressure testing device and method thereof
CN102819474B (en) Test method and device for system operation
WO2024193257A1 (en) Wake-up device
TW200920026A (en) A test system of wake on LAN (WOL) and method thereof
CN102045212B (en) Network connection test method
CN101281418B (en) Method for setting universal serial bus device and computer-readable recording medium
TW200920025A (en) A test system of wake on LAN (WOL) and method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110413

Termination date: 20161108