CN101945016A - Method and device for testing stability of device webmaster - Google Patents

Method and device for testing stability of device webmaster Download PDF

Info

Publication number
CN101945016A
CN101945016A CN2009101589563A CN200910158956A CN101945016A CN 101945016 A CN101945016 A CN 101945016A CN 2009101589563 A CN2009101589563 A CN 2009101589563A CN 200910158956 A CN200910158956 A CN 200910158956A CN 101945016 A CN101945016 A CN 101945016A
Authority
CN
China
Prior art keywords
webmaster
equipment
packet data
function
predetermined packet
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.)
Pending
Application number
CN2009101589563A
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE 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 ZTE Corp filed Critical ZTE Corp
Priority to CN2009101589563A priority Critical patent/CN101945016A/en
Publication of CN101945016A publication Critical patent/CN101945016A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a method for testing the stability of a device webmaster, comprising the following steps: utilizing a network card to send a reserved data packet to the device webmaster; calling an operation function for normal operation of the device webmaster; and determining whether the operation of the device webmaster is normal or not. The invention also provides a device for testing the stability of a device webmaster. In the invention, the computer network card is utilized to send various webmaster attack messages and inquire the current state of a network element, thus the stability of the webmaster is automatically tested, the practical application environment of simulation equipment is achieved, and the testing efficiency is improved.

Description

Equipment webmaster stability test method and device
Technical field
The present invention relates to field tests, more specifically, relate to the method for testing and the device of equipment webmaster stability.
Background technology
In field tests, the test of the webmaster of equipment is an important test event.In actual network environment, except normal webmaster operation, the webmaster side of equipment also might receive some improper special data package, and these packets will cause the equipment webmaster and produce action, if there is defective in the webmaster module, will cause the network management function of equipment to occur unusual.Can causing webmaster, to produce the packet kind of action a lot, comprise that the webmaster of mistake wraps alternately, the packet of special address, the packet of certain port number, special protocol package etc.When carrying out the webmaster stability test of equipment, carry out attack test with regard to simulating various packets.During test, can the use test instrument make various packets and carry out attack test, perhaps use packet catcher to catch related data packets, send by network interface card after the correct, to reach the purpose of attack equipment.
Yet, the following weak point that this measuring technology exists:
1. for the packet that will cause the webmaster action,, consider the different of port numbers and bag length, have a large amount of combinations because the kind of this packet is a lot.Give out a contract for a project with tester and to carry out the test of this project, need the different packet of structure to test item by item, cause test process loaded down with trivial details, use manual packet capturing, give out a contract for a project and just test more trouble;
2. be difficult in service for a long time, the situation of monitoring equipment can not be carried out corresponding action immediately after equipment goes wrong;
3. when attacking network element, be difficult to automatically normal webmaster operation be monitored, comprise monitoring PING bag, TELNET and SNMP (Simple Network Management Protocol) associative operation of etc.ing, so in the stability test process, can't relevant action occur carrying out when unusual in these functions;
4. in long stability test, method of testing in the past can only be seen final test result, and a period of time is appearred in test period, and the final fault of falling that disappears again can't write down and analyze.
Therefore, need a kind of solution that equipment webmaster stability is tested of being used for, can solve at least one problem in the above-mentioned correlation technique.
Summary of the invention
The objective of the invention is at above-mentioned the deficiencies in the prior art, the testing scheme that proposes a kind of webmaster of equipment efficiently stability substitutes the equipment such as network tester that test needs, and test data is monitored and discriminatory analysis in real time.
According to an aspect of the present invention, provide a kind of equipment webmaster stability test method, may further comprise the steps: utilized network interface card to send predetermined packet data to the equipment webmaster of equipment under test; Call the handling function that makes the normal running of equipment webmaster; And whether the operation of definite equipment webmaster is normal.
Wherein, predetermined packet data makes the equipment webmaster produce action.
Wherein, predetermined packet data comprises following at least a: the webmaster of mistake wraps alternately, the packet of special address, the packet of certain port number and special protocol package.
Wherein, network interface card sends a plurality of predetermined packet data continuously, and the order and the speed that send are variable.
Wherein, handling function comprises: PING function, TELNET function and SNMP function.
Wherein, this method is further comprising the steps of: at the each test that utilizes each predetermined packet data to carry out, whether the operation of all writing down the current state of equipment under test and equipment webmaster is normal.
According to another aspect of the present invention, provide a kind of equipment webmaster stability test device, having comprised: network interface card is used for sending predetermined packet data to the equipment webmaster of equipment under test; The function call module is used to call the handling function that makes the normal running of equipment webmaster; And determination module, be used for determining whether the operation of equipment webmaster is normal.
Wherein, predetermined packet data makes the equipment webmaster produce action.
Wherein, predetermined packet data comprises following at least a: the webmaster of mistake wraps alternately, the packet of special address, the packet of certain port number and special protocol package.
Wherein, network interface card sends a plurality of predetermined packet data continuously, and the order and the speed that send are variable.
Wherein, handling function comprises: PING function, TELNET function and SNMP function.
Wherein, this device also comprises logging modle, is used at the each test that utilizes each predetermined packet data to carry out, and whether the operation of all writing down the current state of equipment under test and equipment webmaster is normal.
Technical scheme of the present invention has realized following beneficial effect:
1. introduce packet bottom storehouse and improved testing efficiency, and new when causing data flow that webmaster moves when occurring, also it can be added in the packet bottom storehouse, be convenient to carry out the expansion of content measurement;
2. in the stability test process, can monitor the webmaster normal running automatically, check whether functions such as PING, TELNET, SNMP occur unusually;
3. can the automatic analysis equipment current state, as amenable to process occurs unusually then and set and carry out relevant action.Not only can observe the final result of stability test like this, also can carry out record analysis whole test process; And
4. use a computer and simulate rather than use network tester, can reduce, save testing cost the taking of test resource.
Other features and advantages of the present invention will be set forth in the following description, and, partly from specification, become apparent, perhaps understand by implementing the present invention.Purpose of the present invention and other advantages can realize and obtain by specifically noted structure in the specification of being write, claims and accompanying drawing.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 shows the flow chart of equipment webmaster stability test method according to an embodiment of the invention;
Fig. 2 shows the block diagram of equipment webmaster stability test device according to an embodiment of the invention;
Fig. 3 shows the flow chart of equipment webmaster stability test method according to another embodiment of the present invention; And
Fig. 4 shows the schematic diagram that carries out equipment webmaster stability test according to another embodiment of the present invention.
Embodiment
Describe embodiments of the invention in detail below in conjunction with accompanying drawing.
Fig. 1 shows the flow chart of equipment webmaster stability test method according to an embodiment of the invention.With reference to Fig. 1, the equipment webmaster stability test method among this embodiment may further comprise the steps: step S102, utilize network interface card to send predetermined packet data to the equipment webmaster of equipment under test; Step S104 calls the handling function that makes the normal running of equipment webmaster; And step S106, determine whether the operation of equipment webmaster is normal.
Wherein, predetermined packet data makes the equipment webmaster produce action.
Wherein, predetermined packet data comprises following at least a: the webmaster of mistake wraps alternately, the packet of special address, the packet of certain port number and special protocol package.
Wherein, network interface card sends a plurality of predetermined packet data continuously, and the order and the speed that send are variable.
Wherein, handling function comprises: PING function, TELNET function and SNMP function.
Wherein, this method is further comprising the steps of: at the each test that utilizes each predetermined packet data to carry out, whether the operation of all writing down the current state of equipment under test and equipment webmaster is normal.
Fig. 2 shows the block diagram of equipment webmaster stability test device according to an embodiment of the invention. and with reference to Fig. 2, the equipment webmaster stability test device 200 of this embodiment comprises: network interface card 202 is used for sending predetermined packet data to the equipment webmaster of equipment under test; Function call module 204 is used to call the handling function that makes the normal running of equipment webmaster; And determination module 206, be used for determining whether the operation of equipment webmaster is normal.
Wherein, predetermined packet data makes the equipment webmaster produce action.
Wherein, predetermined packet data comprises following at least a: the webmaster of mistake wraps alternately, the packet of special address, the packet of certain port number and special protocol package.
Wherein, network interface card sends a plurality of predetermined packet data continuously, and the order and the speed that send are variable.
Wherein, handling function comprises: PING function, TELNET function and SNMP function.
Wherein, this device also comprises logging modle 208, is used at the each test that utilizes each predetermined packet data to carry out, and whether the operation of all writing down the current state of equipment under test and equipment webmaster is normal.
Fig. 3 shows the flow chart of equipment webmaster stability test method according to another embodiment of the present invention.Fig. 4 shows the schematic diagram of the equipment webmaster stability test of this embodiment.
With reference to Fig. 3, the method for testing among this embodiment comprises the steps:
Step S302, according to the mechanism of equipment webmaster, structure bottom data bag built-in function.
In this step, need the various meetings of structure cause the equipment webmaster to produce the packet of action, comprise that the webmaster of mistake wraps alternately, the packet of special address, the packet of certain port number, special protocol package etc.
Step S304, the required function library of structure webmaster normal running.
In this step, need the various function libraries relevant of structure with the webmaster normal running, comprise power functions such as PING, TELNET, SNMP.
Step S306 calls bottom data bag built-in function, sends selected packet and attacks equipment.
The packet of the selected attack network element that needs in program, and select to attack order and packet sending speed, give out a contract for a project the attack equipment webmaster that continues by specifying network interface card.
Step S308 calls webmaster normal running function, and the fetch equipment correlation behavior, analysis result.
Whether the fetch equipment current state, it is normal to observe the webmaster normal running.
Step S310, logging test results is also determined next step testing process.
The detail record whole test process, unusual if equipment occurs, the relevant action that carries out that carries out the program appointment.
Technical scheme of the present invention has realized following beneficial effect:
1. introduce packet bottom storehouse and improved testing efficiency, and new when causing data flow that webmaster moves when occurring, also it can be added in the packet bottom storehouse, be convenient to carry out the expansion of content measurement;
2. in the stability test process, can monitor the webmaster normal running automatically, check whether functions such as PING, TELNET, SNMP occur unusually;
3. can the automatic analysis equipment current state, as amenable to process occurs unusually then and set and carry out relevant action.Not only can observe the final result of stability test like this, also can carry out record analysis whole test process; And
4. use a computer and simulate rather than use network tester, can reduce, save testing cost the taking of test resource.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (12)

1. an equipment webmaster stability test method is characterized in that, may further comprise the steps:
Utilize network interface card to send predetermined packet data to the equipment webmaster of equipment under test;
Call the handling function that makes the normal running of described equipment webmaster; And
Whether the operation of determining described equipment webmaster is normal.
2. method according to claim 1 is characterized in that, described predetermined packet data makes described equipment webmaster produce action.
3. method according to claim 2 is characterized in that, described predetermined packet data comprises following at least a: the webmaster of mistake wraps alternately, the packet of special address, the packet of certain port number and special protocol package.
4. method according to claim 3 is characterized in that, described network interface card sends a plurality of described predetermined packet data continuously, and the order and the speed that send are variable.
5. according to each described method among the claim 1-4, it is characterized in that described handling function comprises: PING function, TELNET function and SNMP function.
6. according to each described method among the claim 1-4, it is characterized in that further comprising the steps of: at the each test that utilizes each predetermined packet data to carry out, whether the operation of all writing down the current state of equipment under test and described equipment webmaster is normal.
7. an equipment webmaster stability test device is characterized in that, comprising:
Network interface card is used for sending predetermined packet data to the equipment webmaster of equipment under test;
The function call module is used to call the handling function that makes the normal running of described equipment webmaster; And
Determination module is used for determining whether described equipment webmaster operation is normal.
8. device according to claim 7 is characterized in that, described predetermined packet data makes described equipment webmaster produce action.
9. device according to claim 8 is characterized in that, described predetermined packet data comprises following at least a: the webmaster of mistake wraps alternately, the packet of special address, the packet of certain port number and special protocol package.
10. device according to claim 9 is characterized in that, described network interface card sends a plurality of described predetermined packet data continuously, and the order and the speed that send are variable.
11. according to each described device in the claim 7 to 10, it is characterized in that described handling function comprises: PING function, TELNET function and SNMP function.
12., it is characterized in that according to each described device among the claim 7-10, also comprise logging modle, be used at the each test that utilizes each predetermined packet data to carry out, whether the operation of all writing down the current state of equipment under test and described equipment webmaster is normal.
CN2009101589563A 2009-07-09 2009-07-09 Method and device for testing stability of device webmaster Pending CN101945016A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101589563A CN101945016A (en) 2009-07-09 2009-07-09 Method and device for testing stability of device webmaster

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101589563A CN101945016A (en) 2009-07-09 2009-07-09 Method and device for testing stability of device webmaster

Publications (1)

Publication Number Publication Date
CN101945016A true CN101945016A (en) 2011-01-12

Family

ID=43436799

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101589563A Pending CN101945016A (en) 2009-07-09 2009-07-09 Method and device for testing stability of device webmaster

Country Status (1)

Country Link
CN (1) CN101945016A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102083061A (en) * 2011-02-18 2011-06-01 山东省计算中心 Attack testing method of routing table security of wireless sensor network
CN108111611A (en) * 2017-12-26 2018-06-01 福建中金在线信息科技有限公司 A kind of client detection method, device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1545256A (en) * 2003-11-11 2004-11-10 中兴通讯股份有限公司 Method for testing Ethernet switch stability
CN1750485A (en) * 2005-07-14 2006-03-22 牛伟 Network simulation detection system and method
CN101090295A (en) * 2007-07-25 2007-12-19 中兴通讯股份有限公司 Test system and method for ASON network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1545256A (en) * 2003-11-11 2004-11-10 中兴通讯股份有限公司 Method for testing Ethernet switch stability
CN1750485A (en) * 2005-07-14 2006-03-22 牛伟 Network simulation detection system and method
CN101090295A (en) * 2007-07-25 2007-12-19 中兴通讯股份有限公司 Test system and method for ASON network

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102083061A (en) * 2011-02-18 2011-06-01 山东省计算中心 Attack testing method of routing table security of wireless sensor network
CN102083061B (en) * 2011-02-18 2013-03-20 山东省计算中心 Attack testing method of routing table security of wireless sensor network
CN108111611A (en) * 2017-12-26 2018-06-01 福建中金在线信息科技有限公司 A kind of client detection method, device and electronic equipment
CN108111611B (en) * 2017-12-26 2021-08-24 福建中金在线信息科技有限公司 Client detection method and device and electronic equipment

Similar Documents

Publication Publication Date Title
KR100962532B1 (en) System for load regenerating using packets of load test and its method
CN107066390B (en) Dynamic memory leak detection method and system
CN105787364B (en) Automatic testing method, device and system for tasks
CN105025141B (en) Terminal electricity consumption weight testing method and its device
CN104731701B (en) Test system and the method and apparatus for performing test assignment
CN104834601B (en) The automated testing method of intelligent terminal RAM leakage based on android system
CN111881014B (en) System test method, device, storage medium and electronic equipment
CN110716872B (en) Vulnerability mining system and method for electric energy metering automation equipment
CN108519933A (en) Board card testing method and device, readable storage medium and computer equipment
CN106776346B (en) Test method and device of CCMTS (China center testing System) equipment
CN106407059A (en) Server node testing system and method
CN106681923A (en) Software evaluation method and device
CN106776350A (en) The accurate method of testing and device of a kind of program
CN111901200A (en) Power control protection industrial control protocol security test method and system
CN108111367A (en) Performance test methods and device
US20160105810A1 (en) Technique for testing wireless network load produced by mobile app-carrying devices
CN111585841B (en) Automatic test method and related device
CN101800672B (en) Equipment detection method and equipment
CN101945016A (en) Method and device for testing stability of device webmaster
CN108809677A (en) The system of testing characteristics of network
CN118018461A (en) WiFi performance test method and system for wireless router
CN112954725A (en) Test method, communication system and NB-IoT device
CN116244130A (en) Board card detection method, device, test equipment and storage medium
CN1932774A (en) Embedded system software fast testing system and method based on multi-serial port resource
US20100110899A1 (en) Stressing a network device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110112