CN108092842A - A kind of router production test method for burn-recording - Google Patents

A kind of router production test method for burn-recording Download PDF

Info

Publication number
CN108092842A
CN108092842A CN201710180917.8A CN201710180917A CN108092842A CN 108092842 A CN108092842 A CN 108092842A CN 201710180917 A CN201710180917 A CN 201710180917A CN 108092842 A CN108092842 A CN 108092842A
Authority
CN
China
Prior art keywords
router
mac
burn
detection
address information
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
CN201710180917.8A
Other languages
Chinese (zh)
Other versions
CN108092842B (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.)
B-LINK ELECTRONIC Ltd
Original Assignee
B-LINK ELECTRONIC Ltd
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 B-LINK ELECTRONIC Ltd filed Critical B-LINK ELECTRONIC Ltd
Priority to CN201710180917.8A priority Critical patent/CN108092842B/en
Publication of CN108092842A publication Critical patent/CN108092842A/en
Application granted granted Critical
Publication of CN108092842B publication Critical patent/CN108092842B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/14Arrangements for monitoring or testing data switching networks using software, i.e. software packages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0888Throughput
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of router production test method for burn-recording, comprise the following steps:Test PC machine with router burning inspection software is connected by cable with router;Obtain the mac address information of router;After routing powers on, router handling capacity is detected;LAN mouthfuls and WAN mouthfuls of network-in-dialing situation is detected respectively;LAN MAC, WAN MAC, WLAN MAC and 5G WLAN MAC are write successively;The key-value pair that subregion in router configuration file writes value is read, is respectively written into, judges final result, if above all successful, shows PASS;Otherwise, display failure;The lower electricity of detection, software terminate.The present invention carries out burning detection using the mac address information mode for obtaining router, operating personnel no longer need matched in advance burn recording software for different model product, can burning program directly be realized into burning by test machine, reduction operation difficulty reduces production cost.

Description

A kind of router production test method for burn-recording
Technical field
The present invention relates to a kind of for testing the test method of gateway device, specifically refers to a kind of router production test and burns Recording method.
Background technology
It is for connecting multiple logically separate networks, institute that router (Router), which is also known as gateway device (Gateway), It is to represent an individual network or a subnet to call logical network.When data are transferred to another subnet from a subnet When, it can be completed by the routing function of router.Therefore, router has the work(for judging network address and selecting IP paths Can, it can establish flexible connection, can use entirely different packet and media access method in Multi net voting Interconnection Environment Various subnets are connected, router only receives source station or the information of other routers, belongs to a kind of InterWorking Equipment of network layer.
At present, router product will be tested using the burn recording software of installation on computers.When the routing of multiple models When device product test simultaneously, the burning test of router product test then needs the process being programmed according to different routers Burning is switched over, is respectively completed with multiple burning, and then manual setting enters test pattern so that burn recording software can be further Judge whether the burning program succeeds.For different router products, production test burning side that the prior art can only be different Method is realized, is caused later maintenance more complicated and difficult, is caused production efficiency not high, and manual setting reduces production effect Rate.
The content of the invention
The purpose of the present invention is overcoming shortcoming of the prior art, testing efficiency can be improved but also drop by providing one kind The router production test method for burn-recording of low-maintenance cost.
The purpose of the present invention is what is be achieved through the following technical solutions:
A kind of router production test method for burn-recording, comprises the following steps:
S1, the test PC machine with router burning inspection software is connected by cable and router;
S2, the mac address information for obtaining router;
After S3, routing power on, router handling capacity is detected, if handling capacity is up to standard, into next step;If testing throughput It is not up to standard, then skip to step S7;
S4, LAN mouthfuls and WAN mouthfuls of network-in-dialing situation is detected respectively, if connecting successfully, into next step;If it loses It loses, then skips to step S7;
S5, LAN MAC, WAN MAC, WLAN MAC and 5G WLAN MAC are write successively;If writing successfully, enter In next step;If writing one failure, step S7 is adjusted to;
S6, the key-value pair that subregion in router configuration file writes value is read, be respectively written into, then into next step;If one Failure, then skip to step S7;
S7, judge final result, if above all successful, show PASS;Otherwise, display failure;
S8, the lower electricity of detection, software terminate.
It is specifically, further comprising the steps of between the step S7 and step S8:
Test record and result are uploaded to ftp server, the ftp server has been opened and connected with test computer.
One kind as said program is optional, and the mac address information that router is obtained in the step S2 is specially:
The bar code parsing scanned on router product after software is opened to obtain.
Another kind as said program is optional, and the mac address information that router is obtained in the step S2 is specially:From Configuration file reads mac address information and obtains.
One kind as said program is preferably, further comprising the steps of between the step S2 and S3:
Range detection, length detection and the parity detection of mac address information are carried out, if detection meets the requirements, is entered In next step;If one fails, step S7 is skipped to.
One kind as said program is preferably, further comprising the steps of between the step S2 and S3:
Detection router powers on, if powering on success, closes shielded box by serial ports simultaneously;If detection powers on failure or pass Shielded box failure is closed, then skips to step S7.
The present invention has the following advantages compared with prior art and advantageous effect:
Based on above-mentioned, the MAC Address letter of router production test method for burn-recording use acquisition router provided by the invention Breath mode carries out burning detection, and operating personnel no longer need matched in advance burn recording software for different model product, can directly by Burning program realizes burning by test machine, and reduction operation difficulty reduces production cost, improves labor productivity.
Description of the drawings
Fig. 1 is a kind of realization flow chart of router production test method for burn-recording provided by the invention.
Specific embodiment
With reference to embodiment and attached drawing, the present invention is described in further detail, but embodiments of the present invention are unlimited In this.
Embodiment
Such as Fig. 1, the present embodiment provides a kind of router production test method for burn-recording, comprise the following steps:
S1, the test PC machine with router burning inspection software is connected by cable and router;
S2, the mac address information for obtaining router;
After S3, routing power on, router handling capacity is detected, if handling capacity is up to standard, into next step;If testing throughput It is not up to standard, then skip to step S7;
S4, LAN mouthfuls and WAN mouthfuls of network-in-dialing situation is detected respectively, if connecting successfully, into next step;If it loses It loses, then skips to step S7;
S5, LAN MAC, WAN MAC, WLAN MAC and 5G WLAN MAC are write successively;If writing successfully, enter In next step;If writing one failure, step S7 is adjusted to;
S6, read subregion in router configuration file and write the key-value pair of value, be respectively written into the configuration information of router, then into Enter in next step;If one fails, step S7 is skipped to;
S7, judge final result, if above all successful, show PASS;Otherwise, display failure;
S8, the lower electricity of detection, software terminate.
In the present embodiment, the handling capacity is up to standard to refer to the total of the data volume of transmission over networks in a performance test process With specific numerical value of weighing is limited according to the test request of different product.
In order to realize the synchronization of data, beneficial to subsequent retrospect, following step is further included between the step S7 and step S8 Suddenly:
Test record and result are uploaded to ftp server, the ftp server has been opened and connected with test computer.
One kind as said program is optional, and the mac address information that router is obtained in the step S2 is specially:
The bar code parsing scanned on router product after software is opened to obtain.Wherein, the bar code is bar code or two dimension Code.
Another kind as said program is optional, and the mac address information that router is obtained in the step S2 is specially:From Configuration file reads mac address information and obtains.
One kind as said program is preferably, further comprising the steps of between the step S2 and S3:
Range detection, length detection and the parity detection of mac address information are carried out, if detection meets the requirements, is entered In next step;If one fails, step S7 is skipped to.It, can be to prevent by detecting the scope, length and parity of mac address information Only operating personnel flow out defective products.
One kind as said program is preferably, further comprising the steps of between the step S2 and S3:
Detection router powers on, if powering on success, closes shielded box by serial ports simultaneously;If detection powers on failure or pass Shielded box failure is closed, then skips to step S7.By increasing shielded box, it is ensured that the stability in test process avoids external Interference.
Above-described embodiment is the preferable embodiment of the present invention, but embodiments of the present invention and from above-described embodiment Limitation, other any Spirit Essences without departing from the present invention with made under principle change, modification, replacement, combine, simplification, Equivalent substitute mode is should be, is included within protection scope of the present invention.

Claims (6)

1. a kind of router production test method for burn-recording, which is characterized in that comprise the following steps:
S1, the test PC machine with router burning inspection software is connected by cable and router;
S2, the mac address information for obtaining router;
After S3, routing power on, router handling capacity is detected, if handling capacity is up to standard, into next step;If testing throughput does not reach Mark, then skip to step S7;
S4, LAN mouthfuls and WAN mouthfuls of network-in-dialing situation is detected respectively, if connecting successfully, into next step;If failure, Skip to step S7;
S5, LAN MAC, WAN MAC, WLAN MAC and 5G WLAN MAC are write successively;If it writes successfully, into next Step;If writing one failure, step S7 is adjusted to;
S6, the key-value pair that subregion in router configuration file writes value is read, be respectively written into, then into next step;If one fails, Then skip to step S7;
S7, judge final result, if above all successful, show PASS;Otherwise, display failure;
S8, the lower electricity of detection, software terminate.
2. a kind of router production test method for burn-recording according to claim 1, it is characterised in that:The step S7 and step It is further comprising the steps of between rapid S8:
Test record and result are uploaded to ftp server, the ftp server has been opened and connected with test computer.
3. a kind of router production test method for burn-recording according to claim 1, it is characterised in that:It is obtained in the step S2 The mac address information for taking router is specially:
The bar code parsing scanned on router product after software is opened to obtain.
4. a kind of router production test method for burn-recording according to claim 1, it is characterised in that:It is obtained in the step S2 The mac address information for taking router is specially:Mac address information is read from configuration file to obtain.
5. a kind of router production test method for burn-recording according to claim 3 or 4, it is characterised in that:The step S2 It is further comprising the steps of between S3:
The range detection of mac address information, length detection and parity detection are carried out, if detection meets the requirements, into next Step;If one fails, step S7 is skipped to.
6. a kind of router production test method for burn-recording according to claim 3 or 4, it is characterised in that:The step S2 It is further comprising the steps of between S3:
Detection router powers on, if powering on success, closes shielded box by serial ports simultaneously;If detection powers on failure or closes screen Case failure is covered, then skips to step S7.
CN201710180917.8A 2017-03-24 2017-03-24 Router production test burning method Active CN108092842B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710180917.8A CN108092842B (en) 2017-03-24 2017-03-24 Router production test burning method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710180917.8A CN108092842B (en) 2017-03-24 2017-03-24 Router production test burning method

Publications (2)

Publication Number Publication Date
CN108092842A true CN108092842A (en) 2018-05-29
CN108092842B CN108092842B (en) 2020-10-16

Family

ID=62171654

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710180917.8A Active CN108092842B (en) 2017-03-24 2017-03-24 Router production test burning method

Country Status (1)

Country Link
CN (1) CN108092842B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050141296A1 (en) * 2003-12-26 2005-06-30 Zhang Su S. Burn-in apparatus
CN102045591A (en) * 2009-10-10 2011-05-04 上海广联电子有限公司 Method for recording media access control (MAC) address and K code of set top box of disposable recorder
US20140016642A1 (en) * 2009-07-21 2014-01-16 Maurizio Portolani Extended Subnets
CN104077222A (en) * 2014-07-03 2014-10-01 上海斐讯数据通信技术有限公司 Method for automated testing of wireless router throughput
CN104079686A (en) * 2014-07-17 2014-10-01 福州瑞芯微电子有限公司 Setting method and distributing method for terminal equipment MAC address
CN104349346A (en) * 2014-11-13 2015-02-11 广东欧珀移动通信有限公司 Mobile terminal WiFi throughout automatic testing method
CN104601737A (en) * 2013-10-31 2015-05-06 上海斐讯数据通信技术有限公司 Method for AP (Access Point) to acquire IP (Internet Protocol) addresses of clients
CN104916327A (en) * 2015-05-22 2015-09-16 深圳创维-Rgb电子有限公司 Method and system of simultaneously burning multiple television KEY codes on line
CN105357709A (en) * 2015-12-17 2016-02-24 上海斐讯数据通信技术有限公司 Wireless router throughput testing method and system as well as router
CN105573743A (en) * 2015-11-19 2016-05-11 深圳市芯海科技有限公司 Chip burning system and method and electronic equipment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050141296A1 (en) * 2003-12-26 2005-06-30 Zhang Su S. Burn-in apparatus
US20140016642A1 (en) * 2009-07-21 2014-01-16 Maurizio Portolani Extended Subnets
CN102045591A (en) * 2009-10-10 2011-05-04 上海广联电子有限公司 Method for recording media access control (MAC) address and K code of set top box of disposable recorder
CN104601737A (en) * 2013-10-31 2015-05-06 上海斐讯数据通信技术有限公司 Method for AP (Access Point) to acquire IP (Internet Protocol) addresses of clients
CN104077222A (en) * 2014-07-03 2014-10-01 上海斐讯数据通信技术有限公司 Method for automated testing of wireless router throughput
CN104079686A (en) * 2014-07-17 2014-10-01 福州瑞芯微电子有限公司 Setting method and distributing method for terminal equipment MAC address
CN104349346A (en) * 2014-11-13 2015-02-11 广东欧珀移动通信有限公司 Mobile terminal WiFi throughout automatic testing method
CN104916327A (en) * 2015-05-22 2015-09-16 深圳创维-Rgb电子有限公司 Method and system of simultaneously burning multiple television KEY codes on line
CN105573743A (en) * 2015-11-19 2016-05-11 深圳市芯海科技有限公司 Chip burning system and method and electronic equipment
CN105357709A (en) * 2015-12-17 2016-02-24 上海斐讯数据通信技术有限公司 Wireless router throughput testing method and system as well as router

Also Published As

Publication number Publication date
CN108092842B (en) 2020-10-16

Similar Documents

Publication Publication Date Title
TWI647934B (en) Method and system for simulating a network topology with a physical machine
CN104780070B (en) Network system and network management
CN106603507A (en) Method and system for automatically completing network security self checking
CN103795707B (en) Enterprise network security automatization test system and method
CN106919242A (en) Server system and its management method and computer-readable storage multimedia
CN107154940A (en) A kind of Internet of Things vulnerability scanning system and scan method
CN102427445B (en) Safe auditing method of IT simulation infrastructure offline compliance
CN107317695A (en) Mthods, systems and devices for debugging network node Intranet failure
CN110364214A (en) A kind of replacement method, device, equipment and storage medium for reading failed storage unit
CN107659434A (en) A kind of automatic test approach of Devices to test, apparatus and system
CN101873230A (en) Method and device for discovering physical network topology
JP2006025433A (en) Method and system for testing mobile device
CN109479014A (en) Method, system and the computer-readable medium for carrying out network test configuration are scanned using virtual LAN (VLAN)
CN105956987A (en) Road traffic engineering test detection data acquisition and evaluation system
CN108449236A (en) A kind of router feature test system
CN107820262A (en) Method for parameter configuration, apparatus and system
US20160218952A1 (en) Testing by simulation using variations of real-time traffic
CN107070752A (en) A kind of method of testing and test system of long connection capacity
CN105376163A (en) Discovery method and device of network topological structure
CN103314554B (en) DynamicHost configuration file for option mod
CN108092842A (en) A kind of router production test method for burn-recording
CN103647680A (en) Method for testing size of MAC address table of switch product
CN1992653A (en) Testing system and method for automation test of Ethernet switch access control system
CN108696713A (en) Safety detecting method, device and the test equipment of code stream
CN108234201A (en) Computer network, main equipment wherein and its configuration method and computer program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant