CN112910736A - Delivery detection method and device for communication equipment and storage medium - Google Patents
Delivery detection method and device for communication equipment and storage medium Download PDFInfo
- Publication number
- CN112910736A CN112910736A CN202110136371.2A CN202110136371A CN112910736A CN 112910736 A CN112910736 A CN 112910736A CN 202110136371 A CN202110136371 A CN 202110136371A CN 112910736 A CN112910736 A CN 112910736A
- Authority
- CN
- China
- Prior art keywords
- test
- communication equipment
- hardware
- information
- communication
- 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
Links
- 238000004891 communication Methods 0.000 title claims abstract description 132
- 238000001514 detection method Methods 0.000 title claims abstract description 47
- 238000003860 storage Methods 0.000 title claims abstract description 12
- 238000012360 testing method Methods 0.000 claims abstract description 139
- 238000013142 basic testing Methods 0.000 claims description 7
- 238000012545 processing Methods 0.000 claims description 5
- 238000011056 performance test Methods 0.000 claims description 3
- 238000000034 method Methods 0.000 abstract description 9
- 230000010354 integration Effects 0.000 abstract description 5
- 230000032683 aging Effects 0.000 description 7
- 238000004519 manufacturing process Methods 0.000 description 7
- 230000002093 peripheral effect Effects 0.000 description 4
- 238000007726 management method Methods 0.000 description 2
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000002950 deficient Effects 0.000 description 1
- 239000000428 dust Substances 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 230000002269 spontaneous effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000010998 test method Methods 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/10—Active monitoring, e.g. heartbeat, ping or trace-route
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/12—Network monitoring probes
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Cardiology (AREA)
- General Health & Medical Sciences (AREA)
- Environmental & Geological Engineering (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention relates to a factory detection method, equipment and a storage medium of communication equipment, wherein the method comprises the following steps: receiving connection information sent by communication equipment, establishing connection with the communication equipment, and displaying equipment information and a test flow of the communication equipment; after the connection is established, judging whether a heartbeat message sent by the communication equipment is received within a preset time interval, and if not, prompting that the test fails; when a heartbeat message sent by the communication equipment is received within a preset time interval, a test item to be executed is issued to the communication equipment so that the communication equipment can carry out tool test; and receiving test information fed back by the communication equipment, wherein the test information is test error information or test result information. The invention solves the problems of low hardware testing efficiency, low integration level, incompleteness and high cost in the prior art.
Description
Technical Field
The present invention relates to the field of factory testing technology for communication devices, and in particular, to a factory testing method for a communication device, a device and a storage medium.
Background
Currently, the network environment is highly developed, and a system based on a Linux kernel is widely applied to various communication devices. Linux has a high reputation because it has extraordinary stability. But if the hardware is defective or the hardware drive is wrong, even the most stable operating system in the world can not play the advantages.
For the communication equipment, besides general reliability tests required by traditional hardware, such as safety regulations, electromagnetic compatibility, high and low temperature, water resistance, dust resistance, vibration, falling and the like, the particularity of the communication equipment also needs to be considered, and the stability of service under a network environment needs to be ensured.
Therefore, for communication equipment manufacturers, how to ensure that produced equipment has no hardware failure when shipped out of a factory, no drive error and the stability of the equipment in the using process is an extremely important quality index. Meanwhile, for production, how to simply and efficiently complete the stability detection of the whole hardware also greatly influences the whole production flow of the equipment.
At present, two common hardware test methods are available, one is by using peripheral test equipment, such as a flow tester, an oscilloscope, and the like, and the peripheral test equipment mainly detects single equipment and cannot meet the test requirements of mass production in factories. In addition, the peripheral test equipment is very costly and cannot be deployed in large quantities. And peripheral test tools require a high level of operator skill, this is primarily used in a laboratory environment and is not suitable for factory mass production. And the other method is to adopt some open source test programs to test specific hardware, although the method can be applied in a large area and has no complex operation. However, only specific testing can be performed on specific hardware, and the problems of poor compatibility, incomplete testing, incapability of integrating test results and poor readability exist, so that the requirements of performing comprehensive testing on each part in production testing, clear results and striking prompts cannot be met.
Therefore, the existing hardware testing method has the problems of low efficiency, low integration level, incompleteness, high cost and the like.
Disclosure of Invention
In view of the above, it is necessary to provide a factory testing method, a device and a storage medium for a communication device, so as to solve the problems of low hardware testing efficiency, low integration level, incomplete test and high cost in the prior art.
In a first aspect, the present invention provides a factory detection method for a communication device, including the following steps:
receiving connection information sent by communication equipment, establishing connection with the communication equipment, and displaying equipment information and a test flow of the communication equipment;
after the connection is established, judging whether a heartbeat message sent by the communication equipment is received within a preset time interval, and if not, prompting that the test fails;
when a heartbeat message sent by the communication equipment is received within a preset time interval, a test item to be executed is issued to the communication equipment so that the communication equipment can carry out tool test;
and receiving test information fed back by the communication equipment, wherein the test information is test error information or test result information.
Preferably, in the factory detection method for communication equipment, the connection information at least includes an IP address of the communication equipment, an equipment type, and a supported test item.
Preferably, in the factory detection method for the communication device, the preset time interval is 5 seconds.
Preferably, in the factory detection method for the communication device, the test items at least include a hardware basic test and a hardware aging test, and the communication device performs the hardware basic test by using a hardware driver module based on a Linux system.
Preferably, in the factory inspection method for communication equipment, the hardware basic test at least includes a performance test on all hardware and communication buses on the communication equipment.
Preferably, in the factory detection method for communication equipment, the hardware aging test is a test on a message processing capability of the communication equipment.
Preferably, in the factory testing method for communication equipment, the test result information at least includes hardware error-free information and hardware error information.
Preferably, in the factory detection method for communication equipment, the hardware error information at least includes specific error hardware and an error reason.
In a second aspect, the present invention further provides a factory testing device for a communication device, including: a processor and a memory;
the memory has stored thereon a computer readable program executable by the processor;
the processor implements the steps of the method for factory testing of a communication device as described above when executing the computer readable program.
In a third aspect, the present invention also provides a computer-readable storage medium, which stores one or more programs, where the one or more programs are executable by one or more processors to implement the steps in the factory detection method for a communication device as described above.
Compared with the prior art, the outgoing detection method, the outgoing detection equipment and the outgoing detection storage medium for the communication equipment provided by the invention have the advantages that the integration is strong, the management end can simultaneously test a plurality of pieces of equipment, the results are unified and summarized, the automation degree is high, the operation is simple and easy, the results are clearly displayed, higher technical capability is not needed, no external test equipment is needed, all data streams are generated by the equipment, and the production cost is lower.
Drawings
Fig. 1 is a flowchart of a factory testing method for a communication device according to a preferred embodiment of the present invention.
Detailed Description
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate preferred embodiments of the invention and together with the description, serve to explain the principles of the invention and not to limit the scope of the invention.
Referring to fig. 1, a method for factory testing of a communication device according to an embodiment of the present invention includes the following steps:
s100, receiving connection information sent by the communication equipment, establishing connection with the communication equipment, and displaying equipment information and a test flow of the communication equipment.
In this embodiment, the communication device actively initiates connection information, communicates with the factory detection device of the communication device through a network UDP packet, performs handshake negotiation, establishes connection with the communication device after receiving the connection information sent by the communication device, displays device information and a test flow of the communication device, and completes handshake negotiation. Wherein the connection information at least comprises an IP address of the communication equipment, equipment type and supported test items.
S200, after the connection is established, judging whether the heartbeat message sent by the communication equipment is received within a preset time interval, and if not, prompting that the test fails.
In this embodiment, after the handshake negotiation is completed, the communication device actively sends a heartbeat message according to a preset time interval, when the factory detection device of the communication device receives the heartbeat message, it is determined that the tooling test software on the communication device is not in a problem, otherwise, when the heartbeat message is not received within the preset time interval, a test failure is displayed, and it is prompted that the heartbeat message is not received. In specific implementation, the preset time interval is 5 seconds.
S300, when the heartbeat message sent by the communication equipment is received within a preset time interval, sending a test item to be executed to the communication equipment so that the communication equipment can carry out tool test.
In this embodiment, when it is determined that the tooling test software on the communication device is not faulty, the factory test equipment of the communication device starts to issue a test start command, so that the communication device starts tooling test. Specifically, the communication device sends the test items to be executed to the communication device one by one, so that the communication device performs the test one by one. The test items at least comprise hardware basic tests and hardware aging tests, and the communication equipment adopts a hardware driving module based on a Linux system to carry out the hardware basic tests.
The hardware basic test at least comprises performance tests of all hardware and communication buses on the communication equipment. Specifically, all basic hardware used by the communication device is comprehensively tested, a hardware driving system module based on a Linux system and various open source test software are adopted, and a test surface comprises a cpu, an internal memory, a flash, a hard disk, rtc, phy, a switching chip, a network card, a network interface, an optical module, bypass, a lamp, a power supply, poe, usb, sd, emmc, a fan and the like. The specific test items can be compatible and adaptive according to hardware designs of different devices, the test comprises basically all related hardware and buses, information which needs to be sent when each module is in error and is tested correctly is designed, and error information comprises specific error hardware and error reasons. Each hardware is tested according to the configuration in the test item issued by the factory detection equipment of the communication equipment, and during specific testing, multiple testing rounds can be performed according to the configuration possibility so as to improve the testing accuracy.
The hardware aging test is a test of the message processing capability of the communication equipment. Specifically, the aging test is mainly to perform a long-time spontaneous packet self-loop test according to an aging time set by factory detection of the communication device according to a requirement on stability of the communication device for message processing. The flow is not required to be beaten by an external tester, the communication equipment packages and sends and receives the flow, all the service ports needing to be tested carry out loop-back, and the test is carried out for more than 12 hours so as to meet the requirement of the communication equipment on the stability of message processing hardware. The test passing standard is an aging test class, the interface can not generate packet loss and packet error, and once the packet loss and packet error occur, the test fails.
S400, receiving test information fed back by the communication equipment, wherein the test information is test error information or test result information.
In this embodiment, after any test is completed, the communication device feeds back test information to the communication device factory detection device, if an error is found in the test, the test error information is fed back, if no error is found, the test result information is fed back, and the communication device factory detection device integrates all test result information and displays the test result information to an operator for checking, wherein the test result information at least includes hardware error-free information and hardware error information, and the hardware error information at least includes specific error hardware and error reasons.
For better understanding of the present invention, the following specific examples are provided to illustrate the technical solutions of the present invention:
the method comprises the following steps: the communication equipment delivery detection equipment loads a test configuration file of the communication equipment, wherein the test configuration file comprises an equipment type, test items to be carried out, a judgment condition of a test result of each test item, a round and time to be tested, and then waits for the communication equipment to initiate connection;
step two: loading a tool test program by the communication equipment, selecting a test mode, actively initiating connection to the outgoing detection equipment of the communication equipment, then receiving test configuration issued by the outgoing detection equipment end of the communication equipment, simultaneously establishing each test item thread according to the test item, and informing the outgoing detection equipment of the communication equipment of finishing preparation;
step three: the communication equipment delivery detection equipment starts to issue test start commands one by one according to configuration items, and waits for the communication equipment to upload test results;
step four: the communication equipment receives the test starting command, starts to call each driving module to start all hardware module tests, and feeds back the test result to the factory detection equipment of the communication equipment;
step five: and the communication equipment factory detection equipment receives the test results, collects and judges, prompts specific error items if errors occur, displays the testers according to the uploaded test error reasons, and stops all tests. If no error occurs, the next round of test is started.
Based on the delivery detection method of the communication equipment, the invention also correspondingly provides delivery detection equipment of the communication equipment, which comprises the following steps: a processor and a memory;
the memory has stored thereon a computer readable program executable by the processor;
the processor implements the steps of the factory detection method of the communication device according to the embodiments when executing the computer readable program.
In the invention, the factory detection equipment of the communication equipment is responsible for managing a plurality of communication equipment, configuring test items of each equipment, opening and closing the test and displaying the test process and the test result of each communication equipment. Software running on the communication equipment carries out specific tests of various items based on a linux hardware drive system and upper-layer message transceiving software, and sends test results to factory detection equipment of the communication equipment.
The factory detection equipment of the communication equipment communicates with the tool test software on the communication equipment through a network UDP message to complete service handshake, heartbeat detection, test start and end and test result transmission.
Since the factory detection method of the communication device has been described in detail above, it is not described herein again.
Based on the factory detection method for the communication device, the present invention further provides a computer-readable storage medium, where one or more programs are stored in the computer-readable storage medium, and the one or more programs are executable by one or more processors to implement the steps in the factory detection method for the communication device according to the embodiments.
Since the factory detection method of the communication device has been described in detail above, it is not described herein again.
In summary, the factory testing method, the factory testing device and the factory testing storage medium for the communication device provided by the invention have the advantages that the integration is strong, the management end can simultaneously test a plurality of devices, the results are unified and summarized, the automation degree is high, the operation is simple, the results are clearly displayed, higher technical capability is not needed, no external testing device is needed, all data streams are generated by the device, and the production cost is lower.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention.
Claims (10)
1. A factory detection method for communication equipment is characterized by comprising the following steps:
receiving connection information sent by communication equipment, establishing connection with the communication equipment, and displaying equipment information and a test flow of the communication equipment;
after the connection is established, judging whether a heartbeat message sent by the communication equipment is received within a preset time interval, and if not, prompting that the test fails;
when a heartbeat message sent by the communication equipment is received within a preset time interval, a test item to be executed is issued to the communication equipment so that the communication equipment can carry out tool test;
and receiving test information fed back by the communication equipment, wherein the test information is test error information or test result information.
2. The factory detection method for communication devices according to claim 1, wherein the connection information at least includes an IP address of the communication device, a device type, and a supported test item.
3. The factory detection method for communication devices according to claim 1, wherein the preset time interval is 5 seconds.
4. The factory detection method for communication equipment according to claim 1, wherein the test items at least include a hardware base test and a hardware burn-in test, and the communication equipment performs the hardware base test by using a hardware driver module based on a Linux system.
5. The factory detection method for communication equipment according to claim 4, wherein the hardware basic test at least includes a performance test for all hardware and communication buses on the communication equipment.
6. The factory detection method for communication equipment according to claim 4, wherein the hardware burn-in test is a test of a message processing capability of the communication equipment.
7. The factory detection method for communication equipment according to claim 1, wherein the test result information at least includes hardware error-free information and hardware error information.
8. The factory detection method for communication devices according to claim 7, wherein the hardware error information at least includes specific error hardware and error cause.
9. A factory testing device for a communication device, comprising: a processor and a memory;
the memory has stored thereon a computer readable program executable by the processor;
the processor, when executing the computer readable program, implements the steps in the factory testing method of the communication device according to any of claims 1-8.
10. A computer-readable storage medium, wherein the computer-readable storage medium stores one or more programs, which are executable by one or more processors to implement the steps in the factory detection method for a communication device according to any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110136371.2A CN112910736A (en) | 2021-02-01 | 2021-02-01 | Delivery detection method and device for communication equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110136371.2A CN112910736A (en) | 2021-02-01 | 2021-02-01 | Delivery detection method and device for communication equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112910736A true CN112910736A (en) | 2021-06-04 |
Family
ID=76120830
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110136371.2A Pending CN112910736A (en) | 2021-02-01 | 2021-02-01 | Delivery detection method and device for communication equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112910736A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114492861A (en) * | 2021-12-31 | 2022-05-13 | 北京航天测控技术有限公司 | Test data acquisition and analysis method |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101562547A (en) * | 2009-05-05 | 2009-10-21 | 西安新邮通信设备有限公司 | ATCA-framework-based method for testing single plate hardware circuit |
CN101699410A (en) * | 2009-11-11 | 2010-04-28 | 中兴通讯股份有限公司 | Single plate hardware fault detection method and device |
CN102185738A (en) * | 2011-05-13 | 2011-09-14 | 迈普通信技术股份有限公司 | Communication equipment hardware host testing system and testing method |
CN103036742A (en) * | 2012-12-19 | 2013-04-10 | 迈普通信技术股份有限公司 | Communication equipment batch testing control method and system thereof |
CN106970880A (en) * | 2017-04-28 | 2017-07-21 | 中国科学院软件研究所 | A kind of distributed automatization method for testing software and system |
CN110286281A (en) * | 2019-06-11 | 2019-09-27 | 上海龙旗科技股份有限公司 | A kind of method and apparatus of smart machine burn-in test |
CN110677317A (en) * | 2019-09-17 | 2020-01-10 | 京信通信系统(中国)有限公司 | Test method, test device, test equipment and storage medium |
-
2021
- 2021-02-01 CN CN202110136371.2A patent/CN112910736A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101562547A (en) * | 2009-05-05 | 2009-10-21 | 西安新邮通信设备有限公司 | ATCA-framework-based method for testing single plate hardware circuit |
CN101699410A (en) * | 2009-11-11 | 2010-04-28 | 中兴通讯股份有限公司 | Single plate hardware fault detection method and device |
CN102185738A (en) * | 2011-05-13 | 2011-09-14 | 迈普通信技术股份有限公司 | Communication equipment hardware host testing system and testing method |
CN103036742A (en) * | 2012-12-19 | 2013-04-10 | 迈普通信技术股份有限公司 | Communication equipment batch testing control method and system thereof |
CN106970880A (en) * | 2017-04-28 | 2017-07-21 | 中国科学院软件研究所 | A kind of distributed automatization method for testing software and system |
CN110286281A (en) * | 2019-06-11 | 2019-09-27 | 上海龙旗科技股份有限公司 | A kind of method and apparatus of smart machine burn-in test |
CN110677317A (en) * | 2019-09-17 | 2020-01-10 | 京信通信系统(中国)有限公司 | Test method, test device, test equipment and storage medium |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114492861A (en) * | 2021-12-31 | 2022-05-13 | 北京航天测控技术有限公司 | Test data acquisition and analysis method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10929260B2 (en) | Traffic capture and debugging tools for identifying root causes of device failure during automated testing | |
WO2017000424A1 (en) | Protocol detection method and apparatus | |
WO2018148405A1 (en) | Real-time capture of traffic upon failure for protocol debug | |
CN102279787B (en) | Method and device for testing average fault-free time | |
WO2021129551A1 (en) | Method and system for testing pcba board, and test device and micro control unit | |
US20120131385A1 (en) | Testing mehtod for unit under test | |
CN107193699A (en) | One kind tests the wide time-delay method of HCA cassette tapes automatically by RDMA modes | |
US20210270888A1 (en) | Eye diagram capture test during production | |
CN103077114A (en) | Automatic testing method based on communication protocol of temperature measuring device | |
CN101442448A (en) | Test system and method for knife blade server | |
CN103731663A (en) | Method and device for testing smart television | |
CN109428783B (en) | Network equipment testing method and device | |
CN112910736A (en) | Delivery detection method and device for communication equipment and storage medium | |
CN109660386B (en) | Software upgrading method for semiconductor memory aging test system | |
WO2020087956A1 (en) | Method, apparatus, device and system for capturing trace of nvme hard disc | |
CN101800672A (en) | Equipment detection method and equipment | |
CN116627861B (en) | Data processing method and system based on expander, electronic equipment and storage medium | |
TW202018312A (en) | Testing system | |
CN113450865B (en) | Memory test system and test method thereof | |
CN103678058A (en) | Hardware detection system and method | |
CN100426248C (en) | Test system and method for network additive storage device | |
US7168029B2 (en) | Method for testing a universal serial bus host controller | |
CN109379588B (en) | Automatic testing method and system for high-definition DVR | |
CN111722997B (en) | Abnormality detection method for automated test and computer-readable storage medium | |
US7721260B2 (en) | Embedded Test I/O Engine |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210604 |