CN105262638A - Method for simultaneously testing plurality of electronic products - Google Patents

Method for simultaneously testing plurality of electronic products Download PDF

Info

Publication number
CN105262638A
CN105262638A CN201510589932.9A CN201510589932A CN105262638A CN 105262638 A CN105262638 A CN 105262638A CN 201510589932 A CN201510589932 A CN 201510589932A CN 105262638 A CN105262638 A CN 105262638A
Authority
CN
China
Prior art keywords
address
message
test
devices
switch
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
CN201510589932.9A
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.)
Taicang T&W Electronics Co Ltd
Original Assignee
Taicang T&W Electronics Co 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 Taicang T&W Electronics Co Ltd filed Critical Taicang T&W Electronics Co Ltd
Priority to CN201510589932.9A priority Critical patent/CN105262638A/en
Publication of CN105262638A publication Critical patent/CN105262638A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Abstract

The invention relates to the field of electronic product testing and especially relates to a method for simultaneously testing a plurality of electronic products. The method comprises the steps that a port 1 of a switch is connected with a testing computer, the other n ports are respectively connected with n devices to be tested, and the switch sets a VLAN for each port of the n ports; management addresses of all the devices to be tested are the same main IP address; and if a target IP address of an emitted message is one of n IP addresses, then the target IP address of the message is modified to the main IP address, and the corresponding VLAN is added to the front of the message. According to the invention, when testing software on the testing computer emits a testing instruction, a plurality of different messages can be emitted aimed at the plurality of products, and the messages are converted into receivable data through the software and reach the devices to be tested, so that mutual communication is realized, the single computer is enabled to operate the plurality of devices to be tested, and the production efficiency is improved.

Description

A kind of method of simultaneously testing multiple stage electronic product
Technical field
The present invention relates to electronic product field tests, particularly relate to a kind of method of simultaneously testing multiple stage electronic product.
Background technology
General electronic product all needs when producing to carry out writing value and test, normally be connected to product by test computer, use test software carries out parameters and detection to product, as write MAC Address (equipment physical address) and inspection MAC Address.
Existing write and test mode are all connect one to one to carry out writing or detecting under normal circumstances, and namely a test computer same time can only operate a product, and its efficiency is low and cost is high.
Summary of the invention
The object of the present invention is to provide a kind of method of simultaneously testing multiple stage electronic product, solve the current write to electronic product or test man-to-man single operation, causing under write and testing efficiency, and the problem that equipment cost is high.
For solving the problem, the technical solution used in the present invention is:
Test a method for multiple stage electronic product simultaneously, comprise the following steps:
Step one, configure the switch that a test computer being loaded with testing software and have vlan management function, switch has 1+n port;
Step 2, is connected the port one in described switch with test computer, and remaining n port is connected with n Devices to test respectively, and switch is the corresponding VLAN of each port arrangement in n port;
Step 3, is set to same primary ip address by the management address of all Devices to tests, and available telnet is managed for configuration;
Step 4, test computer sends the message of the individual different object IP address of n simultaneously, after message encapsulation, is sent to test computer network interface card;
Step 5, test computer is by software supervision test computer network interface card, if the message object IP address sent is one in n IP address, then primary ip address is revised as in the object IP address of message, and add corresponding VLAN identification field at the data link layer head of message, then sent to switch by the network interface card of test computer;
Step 6, it is one or more that message to be distributed in n port according to different VLAN by switch, before Devices to test receives message, the port of switch removes the VLAN field in message, for the purpose of message then often received by platform Devices to test is equal, IP address is the message of primary ip address, and does not have VLAN to identify;
Step 7, during Devices to test response test computer, sending source IP address is the message of primary ip address;
Step 8, switch, when receiving the message of each Devices to test, adds corresponding VLAN field respectively before message, then is sent to test computer network interface card through the port one of switch.
Step 9, after test computer network interface card receives response message, software in test computer can identify according to different VLAN and the source IP address of message is revised as the individual different IP address of corresponding n, and the VLAN mark removed in message, undertaken receiving and decapsulation by test computer again, complete the communication process of the corresponding multiple devices of a computer.
Further technical scheme is, described switch has 9 ports, and port one is connected with test computer, and all the other 8 ports respectively with 8 Devices to tests are connected.
Further technical scheme is, described primary ip address is decided to be 192.168.1.1, and the object IP address that 8 Devices to tests are corresponding is 192.168.1.2 respectively ... 192.168.1.9.
The beneficial effect adopting technique scheme to produce is: the present invention can send the different message of many groups for multiple stage product when the testing software on test computer sends test instruction simultaneously, and by software convert to can receive data arrive Devices to test, realize intercoming mutually, multiple stage Devices to test can be operated, the effect of enhancing productivity to reach single personal computer simultaneously.
Accompanying drawing explanation
Fig. 1 is the system connection layout of one embodiment of the invention.
In figure, 1 is that test computer, 2 is for switch, 3 Devices to tests.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Fig. 1 shows an a kind of embodiment of simultaneously testing the method for multiple stage electronic product of the present invention: a kind of method of simultaneously testing multiple stage electronic product, comprises the following steps:
Step one, configure the switch that a test computer being loaded with testing software and have vlan management function, switch has 1+n port;
Step 2, is connected the port one in described switch with test computer, and remaining n port is connected with n Devices to test respectively, and switch is the corresponding VLAN of each port arrangement in n port;
Step 3, the management address of all Devices to tests is set to same primary ip address (during equipment batch production, ordinary circumstance IP address is identical), and available telnet is managed for configuration;
Step 4, test computer sends the message of the individual different object IP address of n simultaneously, after message encapsulation, is sent to test computer network interface card;
Step 5, test computer is by software supervision test computer network interface card, if the message object IP address sent is one in n IP address, then primary ip address is revised as in the object IP address of message, and add corresponding VLAN identification field at the data link layer head of message, then sent to switch by the network interface card of test computer;
Step 6, it is one or more that message to be distributed in n port according to different VLAN by switch, before Devices to test receives message, the port of switch removes the VLAN field in message, for the purpose of message then often received by platform Devices to test is equal, IP address is the message of primary ip address, and does not have VLAN to identify;
Step 7, during Devices to test response test computer, sending source IP address is the message of primary ip address;
Step 8, switch, when receiving the message of each Devices to test, adds corresponding VLAN field respectively before message, then is sent to test computer network interface card through the port one of switch.
Step 9, after test computer network interface card receives response message, software in test computer can identify according to different VLAN and the source IP address of message is revised as the individual different IP address of corresponding n, and the VLAN mark removed in message, undertaken receiving and decapsulation by test computer again, complete the communication process of the corresponding multiple devices of a computer.
Fig. 1 also show a kind of another embodiment of simultaneously testing the method for multiple stage electronic product of the present invention, described switch has 9 ports, port one is connected with test computer, all the other 8 ports respectively with 8 Devices to tests are connected, i.e. Port-1, Port-2 in Fig. 1 ... Port-9, VLAN and Vlan2-9 corresponding respectively, Vlan2, Vlan3 ... Vlan9.
According to a kind of another embodiment of testing the method for multiple stage electronic product of the present invention simultaneously, described primary ip address is decided to be 192.168.1.1, and the object IP address that 8 Devices to tests are corresponding is 192.168.1.2 respectively ... 192.168.1.9.
Although with reference to multiple explanatory embodiment of the present invention, invention has been described here, but, should be appreciated that, those skilled in the art can design a lot of other amendment and execution mode, these amendments and execution mode will drop within spirit disclosed in the present application and spirit.More particularly, in the scope of, accompanying drawing open in the application and claim, multiple modification and improvement can be carried out to the building block of subject combination layout and/or layout.Except the distortion carried out building block and/or layout and improving, to those skilled in the art, other purposes also will be obvious.

Claims (3)

1. test a method for multiple stage electronic product simultaneously, it is characterized in that comprising the following steps:
Step one, configure the switch that a test computer being loaded with testing software and have vlan management function, switch has 1+n port;
Step 2, is connected the port one in described switch with test computer, and remaining n port is connected with n Devices to test respectively, and switch is the corresponding VLAN of each port arrangement in n port;
Step 3, is set to same primary ip address by the management address of all Devices to tests, and available telnet is managed for configuration;
Step 4, test computer sends the message of the individual different object IP address of n simultaneously, after message encapsulation, is sent to test computer network interface card;
Step 5, test computer is by software supervision test computer network interface card, if the message object IP address sent is one in n IP address, then primary ip address is revised as in the object IP address of message, and add corresponding VLAN identification field at the data link layer head of message, then sent to switch by the network interface card of test computer;
Step 6, it is one or more that message to be distributed in n port according to different VLAN by switch, before Devices to test receives message, the port of switch removes the VLAN field in message, for the purpose of message then often received by platform Devices to test is equal, IP address is the message of primary ip address, and does not have VLAN to identify;
Step 7, during Devices to test response test computer, sending source IP address is the message of primary ip address;
Step 8, switch, when receiving the message of each Devices to test, adds corresponding VLAN field respectively before message, then is sent to test computer network interface card through the port one of switch.
Step 9, after test computer network interface card receives response message, software in test computer can identify according to different VLAN and the source IP address of message is revised as the individual different IP address of corresponding n, and the VLAN mark removed in message, undertaken receiving and decapsulation by test computer again, complete the communication process of the corresponding multiple devices of a computer.
2. a kind of method of simultaneously testing multiple stage electronic product according to claim 1, it is characterized in that: described switch has 9 ports, and port one is connected with test computer, all the other 8 ports respectively with 8 Devices to tests are connected.
3. a kind of method of simultaneously testing multiple stage electronic product according to claim 2, is characterized in that: described primary ip address is decided to be 192.168.1.1, and the object IP address that 8 Devices to tests are corresponding is 192.168.1.2 respectively ... 192.168.1.9.
CN201510589932.9A 2015-09-16 2015-09-16 Method for simultaneously testing plurality of electronic products Pending CN105262638A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510589932.9A CN105262638A (en) 2015-09-16 2015-09-16 Method for simultaneously testing plurality of electronic products

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510589932.9A CN105262638A (en) 2015-09-16 2015-09-16 Method for simultaneously testing plurality of electronic products

Publications (1)

Publication Number Publication Date
CN105262638A true CN105262638A (en) 2016-01-20

Family

ID=55102155

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510589932.9A Pending CN105262638A (en) 2015-09-16 2015-09-16 Method for simultaneously testing plurality of electronic products

Country Status (1)

Country Link
CN (1) CN105262638A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105790834A (en) * 2016-04-19 2016-07-20 深圳极智联合科技股份有限公司 Optical network unit testing system and testing method
CN108540217A (en) * 2018-07-13 2018-09-14 太仓市同维电子有限公司 A kind of test method improving OLT test ONT or ONU efficiency
CN109560980A (en) * 2018-06-19 2019-04-02 深圳极智联合科技股份有限公司 A kind of multimachine test method and system based on telnet agreement
CN109995603A (en) * 2017-12-29 2019-07-09 中国移动通信集团山东有限公司 The method, apparatus and electronic equipment that packet loss measures under a kind of Tag model
CN110243621A (en) * 2019-07-12 2019-09-17 连云港杰瑞电子有限公司 A kind of aging testing system and ageing testing method of semaphore
CN111314168A (en) * 2020-01-15 2020-06-19 上海剑桥科技股份有限公司 Flow and port data testing method and system for switch without management function
CN112187568A (en) * 2020-09-14 2021-01-05 杭州海康威视数字技术股份有限公司 Message transmission method, device and system
CN116760756A (en) * 2023-08-15 2023-09-15 湖南天冠电子信息技术有限公司 Method for testing terminal equipment based on test switch and test switch network

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090164625A1 (en) * 2007-12-21 2009-06-25 Jonathan Roll Methods and apparatus for performing non-intrusive network layer performance measurement in communication networks
CN202455371U (en) * 2011-09-30 2012-09-26 深圳市共进电子股份有限公司 Multi-machine testing system
CN104158613A (en) * 2014-09-04 2014-11-19 太仓市同维电子有限公司 Board test calibration test method for use in wireless radio frequency test
CN104468316A (en) * 2014-12-19 2015-03-25 国家电网公司 Method and device for rapidly detecting virtual local area network configuration of intelligent substation
CN104661256A (en) * 2015-03-04 2015-05-27 太仓市同维电子有限公司 Method for multi-machine test of wireless throughput

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090164625A1 (en) * 2007-12-21 2009-06-25 Jonathan Roll Methods and apparatus for performing non-intrusive network layer performance measurement in communication networks
CN202455371U (en) * 2011-09-30 2012-09-26 深圳市共进电子股份有限公司 Multi-machine testing system
CN104158613A (en) * 2014-09-04 2014-11-19 太仓市同维电子有限公司 Board test calibration test method for use in wireless radio frequency test
CN104468316A (en) * 2014-12-19 2015-03-25 国家电网公司 Method and device for rapidly detecting virtual local area network configuration of intelligent substation
CN104661256A (en) * 2015-03-04 2015-05-27 太仓市同维电子有限公司 Method for multi-machine test of wireless throughput

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105790834A (en) * 2016-04-19 2016-07-20 深圳极智联合科技股份有限公司 Optical network unit testing system and testing method
CN109995603A (en) * 2017-12-29 2019-07-09 中国移动通信集团山东有限公司 The method, apparatus and electronic equipment that packet loss measures under a kind of Tag model
CN109995603B (en) * 2017-12-29 2020-12-15 中国移动通信集团山东有限公司 Method and device for measuring packet loss under Tag model and electronic equipment
CN109560980A (en) * 2018-06-19 2019-04-02 深圳极智联合科技股份有限公司 A kind of multimachine test method and system based on telnet agreement
CN108540217A (en) * 2018-07-13 2018-09-14 太仓市同维电子有限公司 A kind of test method improving OLT test ONT or ONU efficiency
CN108540217B (en) * 2018-07-13 2021-08-17 太仓市同维电子有限公司 Test method for improving OLT test ONT or ONU efficiency
CN110243621A (en) * 2019-07-12 2019-09-17 连云港杰瑞电子有限公司 A kind of aging testing system and ageing testing method of semaphore
CN111314168A (en) * 2020-01-15 2020-06-19 上海剑桥科技股份有限公司 Flow and port data testing method and system for switch without management function
CN112187568A (en) * 2020-09-14 2021-01-05 杭州海康威视数字技术股份有限公司 Message transmission method, device and system
CN116760756A (en) * 2023-08-15 2023-09-15 湖南天冠电子信息技术有限公司 Method for testing terminal equipment based on test switch and test switch network
CN116760756B (en) * 2023-08-15 2023-12-01 湖南天冠电子信息技术有限公司 Method for testing terminal equipment by test switch and test switch networking system

Similar Documents

Publication Publication Date Title
CN105262638A (en) Method for simultaneously testing plurality of electronic products
US10484206B2 (en) Path detection method in VxLAN, controller, and network device
US9602375B2 (en) Tracing host-originated logical network packets
CN106664261B (en) A kind of methods, devices and systems configuring flow entry
CN103081409B (en) Network system and network management method
CN104506408A (en) Data transmission method and device based on SDN
US9654374B2 (en) Method and system for stream testing by using switching hub
CN104579855A (en) Testing method of interchanger product MINI LTT
CN103107924A (en) Testing method for performance of network device with high-rate port by utilizing low-rate port
CN104506396B (en) The method of testing and system of the full port Full Mesh performances of equipment
US10374899B2 (en) Method and device for reporting OpenFLow switch capability
CN106452880B (en) Network wiring detection method and device
AU2016334122B2 (en) System and method to reconcile cabling test results with cabling test configurations
CN203706058U (en) CAN bus based multi-I/O board card expansion structure
CN106603332A (en) Method for simultaneously testing internet accesses of to-be-tested product
CN102299862A (en) Quick forwarding equipment and method for two-layer tunnel
CN106059964A (en) Message forwarding method and apparatus
US8750299B2 (en) Multicast tree discovery using 802.1ag
CN109005080B (en) Distributed packet forwarding implementation method, implementation system and automatic test method
CN102984034A (en) Testing structure
US9900180B2 (en) Information processing method and switch
CN105049294A (en) Automatic testing method for port state switching of EAPS (Ethernet Automatic Protection Switching) protocol MASTER switch
CN101510901B (en) Communication method, communication apparatus and system between distributed equipment
CN105516029A (en) Network grouping system and network grouping method thereof
CN112543142B (en) Method and device for realizing RSTP ring network protocol based on FPGA

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160120