CN115396351B - Automatic router testing method, device, equipment and storage medium - Google Patents

Automatic router testing method, device, equipment and storage medium Download PDF

Info

Publication number
CN115396351B
CN115396351B CN202211028026.8A CN202211028026A CN115396351B CN 115396351 B CN115396351 B CN 115396351B CN 202211028026 A CN202211028026 A CN 202211028026A CN 115396351 B CN115396351 B CN 115396351B
Authority
CN
China
Prior art keywords
router
preset
tested
data throughput
data
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.)
Active
Application number
CN202211028026.8A
Other languages
Chinese (zh)
Other versions
CN115396351A (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.)
Guangdong Gaofeng Technology Co ltd
Original Assignee
Guangdong Gaofeng Technology 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 Guangdong Gaofeng Technology Co ltd filed Critical Guangdong Gaofeng Technology Co ltd
Priority to CN202211028026.8A priority Critical patent/CN115396351B/en
Publication of CN115396351A publication Critical patent/CN115396351A/en
Application granted granted Critical
Publication of CN115396351B publication Critical patent/CN115396351B/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/50Testing arrangements
    • 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

Landscapes

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

Abstract

The application relates to a router automatic test method, a device, equipment and a storage medium, which are applied to the field of communication, wherein the method comprises the following steps: acquiring actual angle parameters of a rotating device; calculating an angle difference value between the actual angle parameter and a first preset angle parameter; controlling the rotating device to adjust to an angle corresponding to the first preset angle parameter; acquiring a group of data throughput rates of a router to be tested; comparing the data throughput rate with a first abnormal value range, and recording a first abnormal data number corresponding to the data throughput rate; if the number of the first abnormal data is zero, controlling the rotating device to adjust to an angle corresponding to the second preset angle parameter, and obtaining a group of data throughput rates of the tested router; and if the number of the first abnormal data corresponding to the data throughput rate is zero, storing the equipment number corresponding to the tested router into a qualified database. The application has the technical effects that: the possibility of requiring a tester to manually adjust the router under test is reduced.

Description

Automatic router testing method, device, equipment and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method, an apparatus, a device, and a storage medium for automatically testing a router.
Background
A router is a hardware device that connects two or more networks, acting as a gateway between the networks, and is a special network device that reads the address in each packet and then decides how to transmit. In the evaluation of the product performance of the router, a test link is indispensable, and when the throughput performance of the whole router is tested, the whole test process is carried out in a closed environment, generally, in the hardware structure of the router, an antenna is a wireless interface between the router and an external propagation medium, and the antenna placement angle of the router has great influence on the throughput performance of the router.
In the related art, when the receiving and transmitting performance of the router is tested, after the angle of the antenna of the router is required to be manually adjusted by a tester, the throughput performance of the router is tested, so that the throughput performance of the router can be ensured to meet the daily demands of families under any angle of the antenna of the router.
In carrying out the present application, the inventors have found that at least the following problems exist in this technique: when the receiving and transmitting performance of the router is tested, a tester needs to manually adjust the antenna angle of the router, the process is complicated, and the duration of the testing process is prolonged.
Disclosure of Invention
In order to reduce the possibility of requiring a tester to manually adjust a router to be tested, the application provides an automatic router test method, device, equipment and storage medium.
In a first aspect, the present application provides a method, an apparatus, a device, and a storage medium method for automatically testing a router, which adopts the following technical schemes: the method comprises the following steps:
when a detection instruction is received, acquiring an actual angle parameter of the rotating device;
calculating an angle difference value between the actual angle parameter and a first preset angle parameter in a preset angle parameter database;
controlling the rotating device to adjust to an angle corresponding to a first preset angle parameter according to the angle difference value;
acquiring a group of data throughput rates of the router to be tested in a preset time range;
Comparing the acquired data throughput rates with a preset first abnormal value range in sequence, and recording the number of first abnormal data corresponding to the data throughput rates in the first abnormal value range;
Comparing the number of the first abnormal data with zero, and if the number of the first abnormal data is zero, controlling the rotating device to adjust to an angle corresponding to the second preset angle parameter;
acquiring a group of data throughput rates of the router to be tested under the second preset angle parameters;
Comparing the acquired data throughput rates with a preset first abnormal value range in sequence, and recording the number of first abnormal data corresponding to the data throughput rates in the first abnormal value range;
And comparing the number of the first abnormal data with zero, and if the number of the first abnormal data corresponding to the group of data throughput rates of the router to be tested under the second preset angle parameter is zero, storing the equipment number corresponding to the router to be tested into a preset qualified database.
According to the technical scheme, the router automatic test system is used for respectively testing the data throughput rates of the tested routers when the antennas of the tested routers are at different angles by adjusting the angle of the rotating device, judging the tested routers corresponding to the data throughput rates as qualified if all the acquired data throughput rates are within a standard range, and storing equipment numbers corresponding to the tested routers into preset qualified data; the automatic router testing system can indirectly control the antenna angle of the router to be tested through the control rotating device, reduces the possibility of manual adjustment of the router to be tested by a tester, further helps to reduce the workload of the tester and improves the testing speed.
In a specific implementation manner, if the first abnormal data number reaches a preset first standard number value, storing the equipment number corresponding to the tested router into a preset disqualified database;
If the number of the first abnormal data does not reach the preset first standard value and is not zero, continuing to acquire the data throughput rate of the tested router until the number of the first abnormal data in the acquired group of data throughput rates is zero.
According to the technical scheme, the router automatic test system counts the number of the data throughput rates in the first abnormal value range, namely the first abnormal data number, compares the first abnormal data number with the first standard value, judges the tested router with more abnormal data number in the data throughput rates as unqualified, stores the equipment number corresponding to the tested router into preset qualified data, and waits for overhauling of overhaulers; if the number of the first abnormal data does not reach the first standard number, the number of the abnormal data in the data throughput rate of the tested router is smaller, so that the abnormal data throughput rate is most likely to be caused by the failure of the router automatic test system, the router automatic test system can repeatedly acquire the data throughput rate corresponding to the tested router until a group of data throughput rates meet the standard, and the method is beneficial to reducing the situation that the measured data is wrong due to the failure of the router automatic test system.
In a specific embodiment, a set of data throughput rates of the router under test is obtained;
comparing the acquired data throughput rates with a preset first abnormal value range in sequence, and recording a sequencing number corresponding to the data throughput rate in the first abnormal value range;
If the number of times of acquiring the data throughput rate of the router to be tested reaches a preset standard number, comparing the sequencing numbers corresponding to the data throughput rates in the first abnormal value range in a group of data throughput rates acquired each time;
If the ordering numbers corresponding to the data throughput rates in the first abnormal value range are consistent, sending alarm information to the intelligent terminal of the tester, and storing the equipment numbers corresponding to the tested router into a preset qualified database.
According to the technical scheme, when the number of times of acquiring the data throughput rate reaches the standard value, the automatic router test system compares the sequence numbers corresponding to the abnormal data in the data throughput rate acquired each time, if the sequence numbers corresponding to the abnormal data in the data throughput rate acquired each time are consistent, the automatic router test system acquires the data throughput rate at random without a rule, and the sequence numbers corresponding to the abnormal data in the data throughput rate have a certain rule, so that the abnormal data in the data throughput rate is most likely to be caused by the self test error of the automatic router test system, and at the moment, the equipment numbers corresponding to the tested routers are stored in the qualified database, so that the situation that the automatic router test system misjudges the qualified router performance due to the self fault is reduced, and the subsequent maintenance workload of the unqualified router is reduced.
In a specific implementation manner, a sorting number corresponding to the last data throughput rate in the first outlier range in the data throughput rates is recorded;
calculating the number corresponding to the data throughput rate after the sequencing number;
And if the number corresponding to the data throughput rate after the sequencing number reaches a preset second standard number value, storing the equipment number corresponding to the tested router into a preset qualified database.
By the technical scheme, if the abnormal data in the group of data throughput rates acquired by the router automatic test system only appear in the first few bits in the group of data throughput rates, the abnormal data is very likely to be data fluctuation of the tested router due to initial use and is not failure of the tested router, so that the abnormal data in the group of data throughput rates acquired by the router automatic test system only appear in the first few bits in the group of data throughput rates, the tested router is judged to be qualified, and the situation that measured data is wrong due to data fluctuation generated by initial use is further reduced.
In a specific embodiment, a first actual position of the rotating device relative to a preset standard position is obtained, wherein the first actual position comprises a relative distance;
calculating a distance difference between the relative distance and a first preset distance parameter;
Controlling the rotating device to adjust to a position corresponding to a first preset distance parameter according to the distance difference value;
Acquiring a group of data throughput rates of the router to be tested in a preset time range;
Comparing the data throughput rate with the first outlier range;
Recording a second abnormal data number corresponding to the data throughput rate in the first abnormal value range;
If the number of the second abnormal data is zero, controlling the rotating device to adjust to a position corresponding to a second preset distance parameter;
Acquiring the data throughput rate of the router to be tested under the second preset distance parameter;
And if the number of the second abnormal data corresponding to the group of data throughput rates of the router to be tested under the second preset distance parameter is zero, storing the equipment number corresponding to the router to be tested into a preset qualified database.
According to the technical scheme, the distance between the router to be tested and the testing device is adjusted by changing the position of the rotating device, and when the router to be tested is located at different positions, the data throughput rate of the router to be tested is measured respectively, and the router with the data throughput rate meeting the standard is judged to be qualified, so that the probability that some routers which cannot meet long-distance data transmission pass the test when leaving the factory is reduced.
In a specific embodiment, the temperature detection device is used for detecting the environmental temperature value of the router to be detected;
calculating a temperature difference between the ambient temperature value and a preset first preset temperature parameter;
Controlling the temperature changing device to adjust the temperature of the environment where the router to be tested is positioned to a temperature value corresponding to a first preset temperature parameter according to the temperature difference value;
acquiring a group of data throughput rates of the router to be tested in a preset time range;
comparing the data throughput rate with a preset first abnormal value range;
Recording a third abnormal data number corresponding to a group of data throughput rates in the first abnormal value range;
if the number of the third abnormal data is zero, controlling a temperature changing device to adjust the environmental temperature of the router to be tested to a temperature value corresponding to a second preset temperature parameter and acquiring a group of data throughput rates of the router to be tested under the second preset temperature parameter;
And if the number of the third abnormal data corresponding to the group of data throughput rates of the router to be tested under the second preset temperature parameter is zero, storing the equipment number corresponding to the router to be tested into a preset qualified database.
According to the technical scheme, the temperature of the environment where the router is located is adjusted through the temperature changing device, the data throughput rates of the router to be tested at different temperatures are measured respectively, and the router with the data throughput rate which does not meet the standard is judged to be unqualified, so that the router which cannot keep good data transmission in a low-temperature or higher-temperature environment can be screened out, and the overall quality of the router passing the test can be improved.
In a specific implementation manner, data packets are sent to the router to be tested according to preset time intervals;
recording a plurality of forwarding delays of the router to be tested;
Comparing the forwarding delays with a preset second abnormal value range;
Recording the number of fourth abnormal data corresponding to the forwarding delay in the second abnormal value range;
and if the number of the fourth abnormal data is zero, storing the equipment number corresponding to the tested router into a preset qualified database.
Through the technical scheme, the forwarding time delay of the router to be tested is measured, so that the content of the whole automatic test is more comprehensive, and the router passing the whole test is more comprehensive in performance.
In a second aspect, the present application provides a method, an apparatus, a device, and a storage medium apparatus for automatically testing a router, which adopts the following technical scheme: the device comprises:
The actual parameter acquisition module is used for acquiring the actual angle parameter of the rotating device when receiving the detection instruction;
The parameter data processing module is used for calculating an angle difference value between the actual angle parameter and a first preset angle parameter in a preset angle parameter database;
The first rotation control module is used for controlling the rotation device to adjust to an angle corresponding to a first preset angle parameter according to the angle difference value;
the first data acquisition module is used for acquiring a group of data throughput rates of the router to be tested in a preset time range;
the first data comparison module is used for sequentially comparing the acquired group of data throughput rates with a preset first abnormal value range and recording first abnormal data numbers corresponding to the data throughput rates in the first abnormal value range;
The second rotation control module is used for comparing the number of the first abnormal data with zero, and if the number of the first abnormal data is zero, the rotation device is controlled to be adjusted to an angle corresponding to a second preset angle parameter;
The second data acquisition module is used for acquiring a group of data throughput rates of the router to be tested under the second preset angle parameters;
The second data comparison module is used for sequentially comparing the acquired group of data throughput rates with a preset first abnormal value range and recording the number of first abnormal data corresponding to the data throughput rate in the first abnormal value range;
And the test result judging module is used for comparing the number of the first abnormal data with zero, and if the number of the first abnormal data corresponding to the data throughput rate of the group of the tested router under the second preset angle parameter is zero, storing the equipment number corresponding to the tested router into a preset qualified database.
In a third aspect, the present application provides a computer device, which adopts the following technical scheme: the router automatic test method, device and equipment comprise a memory and a processor, wherein the memory stores a computer program capable of being loaded by the processor and executing any router automatic test method, device and equipment and storage medium method.
In a fourth aspect, the present application provides a computer readable storage medium, which adopts the following technical solutions: a computer program capable of being loaded by a processor and executing any one of the router automatic test methods, apparatuses, devices and storage medium methods described above is stored.
In summary, the present application includes at least one of the following beneficial technical effects:
1. The router automatic test system respectively tests the data throughput rate of the router to be tested when the antenna of the router to be tested is at different angles by adjusting the angle of the rotating device, if the collected data throughput rates are all within the standard range, the router to be tested corresponding to the data throughput rate is judged to be qualified, and the equipment number corresponding to the router to be tested is stored in preset qualified data; the router automatic test system can indirectly control the antenna angle of the router to be tested through the control rotating device, so that the possibility that a tester is required to manually adjust the router to be tested is reduced, further the workload of the tester is reduced, and the test speed is improved;
2. The router automatic test system counts the number of the data throughput rates in the first abnormal value range, namely the first abnormal data number, compares the first abnormal data number with the first standard number, judges the tested router with more abnormal data number in the data throughput rates as unqualified, stores the equipment number corresponding to the tested router into preset qualified data, and waits for overhauling of overhaulers; if the number of the first abnormal data does not reach the first standard number, the number of the abnormal data in the data throughput rate of the tested router is smaller, so that the abnormal data throughput rate is most likely to be caused by the failure of the router automatic test system, the router automatic test system can repeatedly acquire the data throughput rate corresponding to the tested router until a group of data throughput rates meet the standard, and the method is beneficial to reducing the situation that the measured data is wrong due to the failure of the router automatic test system.
Drawings
Fig. 1 is a flowchart of a router automatic test method in an embodiment of the present application.
FIG. 2 is a schematic illustration of a test in an embodiment of the application.
Fig. 3 is a block diagram of a router automatic test equipment according to an embodiment of the present application.
Reference numerals: 301. an actual parameter acquisition module; 302. a parameter data processing module; 303. a first rotation control module; 304. a first data acquisition module; 305. a first data comparison module; 306. a second rotation control module; 307. a second data acquisition module; 308. a second data comparison module; 309. and a test result judging module.
Detailed Description
The application is described in further detail below with reference to fig. 1-3.
The embodiment of the application discloses an automatic router testing method, which is applied to an automatic router testing system, an instruction corresponding to the method is prestored in a control center in the automatic router testing system, data transmission is carried out between router testing and a tested router through a network, the automatic router testing system comprises a rotating device which is used for placing the tested router and can rotate and move, a temperature changing device which is used for adjusting the temperature in a shielding room and a temperature measuring device which is used for measuring the temperature in the shielding room, the rotating device comprises a bearing plate which is specially used for placing the tested router, the temperature changing device in the embodiment not only has a heating function, but also has a cooling function, such as an air conditioner, the temperature measuring device can be a temperature sensor, the automatic router testing system is arranged in the testing device, the testing device is respectively provided with data transmission with the rotating device, the temperature changing device and the temperature testing device, the testing device comprises an input device and an output device, the input device can be a keyboard and a mouse, and the output device can be a display screen.
As shown in fig. 1 and 2, the method comprises the steps of:
S10, when a detection instruction is received, acquiring an actual angle parameter of the rotating device, and calculating an angle difference value between the actual angle parameter and a first preset angle parameter in a preset angle parameter database.
Specifically, a tester firstly places a router to be tested on a bearing plate of a rotating device, and it is worth mentioning that the rotating device is positioned in a shielding chamber, and the shielding chamber can shield external electromagnetic interference, so that test data are more accurate; after the tested router is placed, a maintainer leaves the shielding room and starts the router automatic test system, wherein the mode of starting the router automatic test system can be a mode of clicking a 'start test' area on a display screen of the test device by pressing a start button positioned on the test device or inputting a corresponding instruction to the router automatic test system through a keyboard and the like; after receiving the detection instruction, the router automatic test system sends a start instruction to the router to be tested, and the router to be tested is started after receiving the start instruction, so that the router automatic test system tests the router to be tested according to a preset router start time value in consideration of different time spent for starting routers of different brands.
The router automatic test system detects whether the router to be tested is started up or not by acquiring a state signal of the router to be tested, wherein the state signal of the router to be tested comprises a working state and a shutdown state, and if the acquired state signal is the shutdown state, the router automatic test system sends a starting instruction to the router to be tested again to try to start the router to be tested; after the router to be tested is started, the testing device can measure the actual angle parameter of the rotating device according to the angle sensor preset on the rotating device, and the actual angle parameter is the angle value between the bearing plate and the horizontal plane.
The angle parameter database is preset in the router automatic test system and mainly stores a plurality of preset angle parameters, the router automatic test system needs to adjust the rotating device according to the preset angle parameters in the subsequent test process, and the preset angle parameters comprise first preset angle parameters.
S20, controlling the rotating device to adjust to an angle corresponding to the first preset angle parameter according to the angle difference value.
Specifically, in this embodiment, the rotating device includes a motor control unit and a motor unit, the router testing device performs data transmission with the motor control unit of the rotating device through a network, in the testing process, the router automatic testing system generates a corresponding control instruction according to the calculated angle difference value, and sends the control instruction to the motor control unit on the rotating device, where the above mentioned control instruction is used to control the rotating device to adjust to an angle corresponding to a first preset angle parameter, and after receiving the control instruction sent by the router testing device, the motor control unit realizes rotation of the rotating device in horizontal and vertical directions by driving the motor unit, so that the angle corresponding to the antenna of the router to be tested changes, and when the rotating device rotates to an angle corresponding to the first preset angle parameter, the router automatic testing system tests the data throughput rate of the router to be tested when the antenna is located at the first preset angle parameter, so as to achieve the purpose of testing the information receiving and transmitting performance of the router to be tested.
S30, acquiring a group of data throughput rates of the router to be tested in a preset time range, sequentially comparing the acquired group of data throughput rates with a preset first abnormal value range, and recording the number of first abnormal data corresponding to the data throughput rates in the first abnormal value range.
Specifically, the router automatic test system can continuously acquire a plurality of data throughput rates within a preset time range; for example: the preset time range is 5 seconds, the router automatic test system continuously acquires 10 data throughput rates in 5 seconds, the 10 data throughput rates are a group of data throughput rates, if a certain data throughput rate is located in a first abnormal value range, the data throughput rate indicates that the router to be tested is in an abnormal working state, whether the router to be tested is in the abnormal working state frequently can be judged by recording the first abnormal data number in the group of data throughput rates, and further the transceiving performance of the router to be tested is evaluated to obtain whether the router to be tested is in a fault.
S40, comparing the number of the first abnormal data with zero, and if the number of the first abnormal data is zero, controlling the rotating device to adjust to an angle corresponding to the second preset angle parameter.
Specifically, the fact that the number of the first abnormal data is zero indicates that the router to be tested can work normally when the antenna is at the angle corresponding to the first preset angle parameter, and if the number of the first abnormal data is more, the router to be tested is in an abnormal working state when the antenna is at the angle corresponding to the first preset angle parameter; the router automatic test system detects that if the router to be tested can work normally when the antenna is at an angle corresponding to a first preset angle parameter, the router automatic test system controls the rotating device to rotate to an angle corresponding to a second preset angle parameter; if the device number is detected by the router automatic test system, the tested router cannot work normally when the antenna is at the angle corresponding to the first preset angle parameter, and then the router automatic test system stores the device number corresponding to the tested router to the unqualified database, wherein the unqualified database is used for storing the device number of the tested router which does not pass through the router automatic test system, so that a subsequent maintenance personnel can find the corresponding router according to the device number in the unqualified database.
S50, acquiring a group of data throughput rates of the router to be tested under a second preset angle parameter, sequentially comparing the acquired group of data throughput rates with a preset first abnormal value range, and recording the number of first abnormal data corresponding to the data throughput rates in the first abnormal value range.
Specifically, the router automatic test system acquires a group of data throughput rates of the router to be tested again, and at the moment, the antenna of the router to be tested is positioned at an angle corresponding to the second preset angle parameter; the obtained group of data throughput rates are the data throughput rates when the rotating device is at the angle corresponding to the second preset angle parameter.
S60, comparing the number of the first abnormal data with zero, and if the number of the first abnormal data corresponding to the data throughput rate of the group of the tested router under the second preset angle parameter is zero, storing the equipment number corresponding to the tested router into a preset qualified database.
Specifically, the router automatic test system judges whether the first abnormal data number in the obtained set of data throughput rates is zero or not, if the first abnormal data number is zero, the router automatic test system indicates that the tested router can work normally when the antenna is at an angle corresponding to a second preset angle parameter, in order to further test the transceiving performance of the tested router, in this embodiment, the router automatic test system continues to adjust the angle of the rotating device according to the preset angle parameter in the angle parameter database until the first abnormal data number in the data throughput rates of the tested router under different preset angle parameters is zero, then the tested router is judged to pass the test, the router automatic test system stores the equipment number of the tested router into a preset qualified database, and the qualified database is used for storing the equipment number of the tested router passing through the router automatic test system; the router automatic test system changes the angle corresponding to the rotating device according to the preset angle parameter in the preset angle parameter database, so that the angle corresponding to the antenna of the router to be tested is changed, the data throughput rate of the router to be tested when the antenna is positioned at different angle positions is measured, the purpose of testing the transceiving performance of the router to be tested is achieved, the possibility that a tester needs to manually adjust the antenna of the router to be tested is reduced, and the duration of the test process is reduced.
In one embodiment, considering that the obtained data throughput rate may be wrong due to the failure of the router automatic test system itself, after recording the first abnormal data number corresponding to the data throughput rate within the first abnormal value range, the following steps may be further performed:
Comparing the number of the first abnormal data in the obtained set of data throughput rates with a preset first standard number, wherein the first standard number is the maximum value of the number of the data throughput rates in the first abnormal value range when the tested router can meet the daily requirement of users, if the number of the first abnormal data in the obtained set of data throughput rates reaches the standard number, directly judging that the tested router is unqualified, storing the equipment number corresponding to the tested router into an unqualified database, and if the number of the first abnormal data in the obtained set of data throughput rates does not reach the standard number and is not zero at the same time, re-obtaining the set of data throughput rates of the tested router at the current angle position of the antenna by the router automatic test system until the number of the first abnormal data corresponding to the obtained set of data throughput rates is zero; and when the number of the first abnormal data in the acquired group of data throughput rates is smaller and the standard number of the data throughput rates are not reached, retesting the router to be tested by a mode of reacquiring the data throughput rates for a plurality of times is beneficial to reducing the possibility of errors in the judgment of the transceiving performance of the router to be tested due to the fact that the automatic test system of the router fails to cause the acquired data throughput rates to be problematic or distorted.
In one embodiment, to further reduce the possibility of problems or distortions in the acquired data throughput rate caused by the failure of the router automatic test system, the method for continuously acquiring the data throughput rate of the router under test until the first abnormal data number in the acquired set of data throughput rates is zero may be performed as follows:
The router automatic test system acquires a group of data throughput rates of the router to be tested again, at the moment, the antenna of the router to be tested is still at an angle corresponding to the first preset angle parameter, the router automatic test system compares the data throughput rates in the acquired group of data throughput rates with a first abnormal value range in sequence, and records the sequence numbers of the data throughput rates in the first abnormal range, and the sequence numbers of the data throughput rates represent the sequence of one data throughput rate in one group of data throughput rates; for example, there are ten data throughput rates in a set of data throughput rates, wherein the third and fifth data throughput rates lie in the first outlier range, and the ranking numbers of the data throughput rates in the first outlier range in the set of data throughput rates are three and five, respectively.
In order to reduce the possibility that the router automatic test system is in a dead loop of continuously acquiring the data throughput rate of the tested router when the tested router fails, the router automatic test system compares the sequence numbers corresponding to the data throughput rate in the first abnormal value range in the group of data throughput rates acquired each time, if the sequence numbers corresponding to the data throughput rate in the first abnormal value range in the group of data throughput rates acquired each time are consistent, the router automatic test system generates alarm information and sends the alarm information to an intelligent terminal of a tester, the router automatic test system inquires whether the angle data has an angle value which is not adjusted to a preset angle value corresponding to the preset angle parameter in the test process when the router automatic test system reacquires the alarm information, if the angle data has the preset angle parameter which is not adjusted to the preset angle parameter in the test process, the router automatic test system continuously adjusts the angle data to the preset angle parameter, if the router automatic test system is not adjusted to the preset angle value, and if the router automatic test system is not adjusted to the preset angle value is not stored in the test device, and if the router automatic test system is not adjusted to the preset angle parameter is not tested, and the alarm information is generated.
It should be noted that, in this embodiment, the alarm information generated by the router automatic test system is used to inform the tester that the router test device may have a fault, and the router test device needs to be overhauled, the standard order value is the maximum value of the number of times that the router automatic test system allows to reacquire the data throughput rate of the tested router, and considering that the time spent in testing a tested router is not too long, the standard order value may be set to 5 times in this embodiment, and the ranking number corresponding to the data throughput rate in the first abnormal value range in the data throughput rate record in this embodiment does not include the first data throughput rate obtained when the rotation device adjusts to the angle value corresponding to the current preset angle parameter.
For example: based on the foregoing example, when the measured router is at the angle value corresponding to the current preset angle parameter, the number of the data throughput rates in the first abnormal value range in the obtained first group of data throughput rates is 1, the first standard value is 2, the router automatic test system continues to obtain 10 data throughput rates in the time range of 5 seconds, the numbers of the data throughput rates in the first abnormal value range in the subsequently re-obtained 4 groups of data throughput rates are all 1, and the ordering numbers corresponding to the data throughput rates in the first abnormal value range are all 3, so that the router automatic test system determines that the transceiving performance of the measured router is qualified when the antenna is at the current angle value.
The time for acquiring the data throughput rate by the automatic router testing system is random, no rule exists, and a certain rule exists in the ordering numbers corresponding to the abnormal data in the data throughput rate, so that the abnormal data in the data throughput rate is very likely to be caused by the self-test errors of the automatic router testing system, the ordering numbers corresponding to the data throughput rate in the first abnormal value range in the data throughput rate are recorded and compared, the situation that the router automatic testing system misjudges the qualified router performance due to the self-failure is reduced, and the workload of subsequent maintenance personnel for overhauling the router judged to be unqualified is reduced.
In one embodiment, considering that the device number corresponding to the router to be tested may have a large fluctuation of the data throughput rate in the early stage of the first use after the router to be tested is manufactured, the storing of the device number corresponding to the router to be tested into a preset disqualified database may be performed as follows:
When the number corresponding to the data throughput rate in the first abnormal value range in the obtained group of data throughput rates reaches a first standard number, recording the ranking number of the last data throughput rate in the first abnormal value range in the group of data throughput rates as the maximum ranking number, calculating the number of the residual data throughput rate after the maximum ranking number, comparing the number of the residual data throughput rate with a preset second standard number, and if the number of the residual data throughput rate reaches the preset second standard number, storing the equipment number corresponding to the tested router into a qualified database by the router automatic test system.
For example: based on the foregoing example, the second standard number is 7, the number of data throughput rates in the first abnormal value range in the obtained 10 data throughput rates is 2, and the corresponding sorting numbers are 2 and 3, so that the number of the remaining data throughput rates after the largest sorting number is 7, the number reaches the second standard number, the router automatic test system judges that the transceiving performance of the tested router is qualified when the antenna is at the angle value corresponding to the current preset angle parameter, and if the transceiving performance of the tested router passes the test when the antenna is at the angle value corresponding to any preset angle parameter in the angle parameter database, the router automatic test system stores the equipment number corresponding to the tested router into the qualified database; recording the maximum sorting number corresponding to the last data throughput rate in the first abnormal value range in the acquired set of data throughput rates, and comparing whether the number corresponding to the data throughput rate after the maximum sorting number reaches a preset second standard number value is helpful for reducing the probability of occurrence of the situation that the data throughput rate fluctuates greatly in the early stage of first use after the router to be tested is manufactured, so that the router automatic test system misjudges the transceiving performance of the router to be tested.
In one embodiment, considering that when a user uses the router, there may be a possibility that the user is far away from the router and the received signal strength is poor, the router to be tested should have a good transceiving capability even when the router is far away from the user, and the device number corresponding to the router to be tested is stored in a preset qualified database, which may be specifically implemented as follows:
The router automatic test system acquires a first actual position of the rotating device relative to a preset standard position by using a position measurement sensor, and it is worth mentioning that the preset standard position is a specific position of the router automatic test system in the shielding, the first actual position comprises a deflection angle and a relative distance of the rotating device relative to the router automatic test system, then the router automatic test system calculates a distance difference value between the acquired relative distance and a first preset distance parameter, and the rotating device is controlled to be adjusted to a position corresponding to the first preset distance parameter according to the distance difference value.
It is worth mentioning that the first preset distance parameter is preset by a tester and stored in a preset distance parameter database, the distance parameter database is preset in a router automatic test system, when the rotating device reaches the position corresponding to the first distance parameter, the router automatic test system obtains a group of data throughput rates of a group of routers to be tested when the rotating device reaches the position corresponding to the first distance parameter, the number of the data throughput rates of the group of routers in the first abnormal value range, namely the number of the second abnormal data, is calculated, if the number of the second abnormal data is not zero, the number of the equipment corresponding to the router to be tested is judged to be not passed through the test, otherwise, the router automatic test system controls the rotating device to be adjusted to the position corresponding to the second preset distance parameter in the distance parameter database, the data throughput rates of the group of routers to be tested when the router to be tested is located at the position corresponding to the second preset distance parameter are obtained, if the number of the second data throughput rates of the group of the routers to be tested in the position corresponding to the second abnormal value range is judged to be zero, and if the number of the second data throughput rates of the router to be tested in the position corresponding to the second preset distance parameter is judged to be passed through the test zero, and if the number of the equipment corresponding to be tested to be passed through the test is judged to be zero.
In order to further test the transceiving performance of the tested router at different positions, a plurality of preset distance parameters can be stored in a preset distance parameter database, the router automatic test system can adjust the position of the rotating device according to the preset distance parameters in the distance parameter database, and the transceiving performance of the tested router at different positions is tested, so that the tested router can still maintain good transceiving capability even if the tested router is far away from a user.
In one embodiment, in order to enable the router to be tested passing the above test to maintain good transceiving performance in a low-temperature or high-temperature environment, storing the device number corresponding to the router to be tested in a preset qualified database may be specifically performed as:
the automatic router testing system controls the temperature detection device to measure the current ambient temperature of the router to be tested, and it is worth mentioning that the current ambient temperature value of the router to be tested is the ambient temperature value around the router to be tested, then the automatic router testing system calculates the difference between the obtained ambient temperature value and the first preset temperature parameter in the preset temperature parameter database, generates a temperature control instruction according to the calculated temperature difference, and sends the temperature control instruction to the temperature changing device, specifically, considering that the automatic router testing system needs to test the performance of a plurality of routers to be tested in a short time, the temperature changing device not only has a heating function, but also has a cooling function, and can rapidly start testing the next router to be tested after completing the testing process of one router to be tested.
When the environmental temperature value of the router to be tested reaches the temperature value corresponding to the first preset temperature parameter, the router automatic test system acquires a group of data throughput rates when the router to be tested is at the current environmental temperature value, calculates a third abnormal data number of the data throughput rates of the acquired group of routers in the first abnormal value range, specifically, the third abnormal data number is the data throughput rate corresponding to the data throughput rate of the group of routers in the first abnormal value range, if the third abnormal data number is not zero, the router to be tested is judged to not pass the test, the equipment number corresponding to the router to be tested is stored in the unqualified database, otherwise, the router automatic test system controls the temperature changing device to adjust the environmental temperature value of the router to be tested to the position corresponding to the second preset temperature parameter in the temperature parameter database, acquires the data throughput rate of the router to be tested when the router to be tested is at the position corresponding to the second preset temperature parameter, judges whether the data throughput rate of the router to be tested in the group of the data throughput rate corresponding to the first abnormal value range is zero, if the router to be tested is not passed the test, and if the data throughput rate of the router to be tested in the group of the data throughput rate corresponding to the second preset temperature parameter is judged to pass the zero.
In order to further test the transceiving performance of the tested router when the tested router is in different environment temperature values, a plurality of preset temperature parameters can be stored in a preset temperature parameter database, the router automatic test system can adjust the environment temperature value of the tested router according to the preset temperature parameters in the temperature parameter database, and it is worth mentioning that in order to enable the tested router to better meet the demands of users, the preset environment temperature in the temperature parameter database can be the environment temperature value of the area to which the tested router is sold; for example: the range of the preset environmental temperature value can be-30 ℃ to 35 ℃ if the router to be tested is sold to northeast areas, and the range of the preset environmental temperature value can be 10 ℃ to 40 ℃ if the router to be tested is sold to southwest areas; testing the transceiver performance of the router under test in different environmental temperatures helps to enable the router under test passing the test to maintain better transceiver capability even when the router is at an extreme environmental temperature such as low temperature or high temperature.
In one embodiment, in order to make the performance of the tested router tested by the router automatic test system more fully complete, storing the device number corresponding to the tested router into a preset qualified database, the method may specifically be performed as follows:
the router automatic test system can send data packets to the tested router according to a preset time interval, when the router automatic test system sends the data packets, the software in the router automatic test system can be used for measuring the forwarding time delay of the tested router to obtain a plurality of forwarding time delay data of the tested router, the obtained forwarding time delay data are compared with a preset second abnormal value range, the number of fourth abnormal values corresponding to the forwarding time delay in the second abnormal value range is recorded, and if the forwarding time delay of the tested router is in the second abnormal value range at a certain moment, the forwarding speed of the tested router cannot meet the daily requirement of a user at the moment, if the number of the fourth abnormal values is not zero, the forwarding speed of the tested router is slow, the requirement of the user cannot be met, therefore the tested router is judged to be unqualified, the corresponding equipment number is stored in the unqualified database, the forwarding time delay of the tested router is tested, and the overall performance of the tested router can be guaranteed.
FIG. 1 is a flow chart of a method, apparatus, device and storage medium for automatically testing a router in one embodiment. It should be understood that, although the steps in the flowchart of fig. 1 are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows; the steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders; and at least some of the steps in fig. 1 may include a plurality of sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor does the order in which the sub-steps or stages are performed necessarily occur in sequence, but may be performed alternately or alternately with at least some of the other steps or sub-steps of other steps.
Based on the method, the embodiment of the application also discloses a router automatic test method, a device, equipment and a storage medium device.
As shown in fig. 3, the apparatus comprises the following modules:
the actual parameter obtaining module 301 is configured to obtain an actual angle parameter of the rotating device when receiving the detection instruction;
The parameter data processing module 302 is configured to calculate an angle difference between the actual angle parameter and a first preset angle parameter in a preset angle parameter database;
the first rotation control module 303 is configured to control the rotation device to adjust to an angle corresponding to the first preset angle parameter according to the angle difference value;
a first data obtaining module 304, configured to obtain, in a preset time range, a set of data throughput rates of the router under test;
A first data comparison module 305, configured to compare the acquired set of data throughput rates with a preset first abnormal value range in sequence, and record a first number of abnormal data corresponding to the data throughput rates located in the first abnormal value range;
The second rotation control module 306 is configured to compare the number of the first abnormal data with zero, and if the number of the first abnormal data is zero, control the rotation device to adjust to an angle corresponding to the second preset angle parameter;
a second data obtaining module 307, configured to obtain a set of data throughput rates of the router under test under a second preset angle parameter;
The second data comparison module 308 is configured to compare the acquired set of data throughput rates with a preset first abnormal value range in sequence, and record a first number of abnormal data corresponding to the data throughput rates located in the first abnormal value range;
the test result judging module 309 is configured to compare the number of the first abnormal data with zero, and if the number of the first abnormal data corresponding to the data throughput rate of the group of the tested router under the second preset angle parameter is zero, store the device number corresponding to the tested router into a preset qualified database.
In one embodiment, the first data comparison module 305 is further configured to store the device number corresponding to the tested router in a preset maintenance database if the first number of abnormal data reaches a preset first standard value;
The first data obtaining module 304 is further configured to, if the number of the first abnormal data does not reach the preset first standard number and is not zero, continue to obtain the data throughput rate of the router under test until the number of the first abnormal data in the obtained set of data throughput rates is zero.
In one embodiment, the first data comparison module 305 is further configured to compare the acquired set of data throughput rates with a preset first outlier range in sequence, and record a ranking number corresponding to the data throughput rate located in the first outlier range;
If the number of times of acquiring the data throughput rate of the router to be tested reaches a preset standard number, comparing the sequencing numbers corresponding to the data throughput rates in the first abnormal value range in a group of data throughput rates acquired each time;
the test result judging module 309 is further configured to send alarm information to the intelligent terminal of the tester when the ordering numbers corresponding to the data throughput rates in the first abnormal value range are consistent, and store the device number corresponding to the tested router in a preset qualified database.
In one embodiment, the first data comparison module 305 is further configured to record a ranking number corresponding to a last data throughput rate in the first outlier range among the data throughput rates;
calculating the number corresponding to the data throughput rate after the sequencing numbering;
The test result judging module 309 is further configured to store, when the number corresponding to the data throughput rate after the sequence number reaches a preset second standard number, the device number corresponding to the tested router into a preset qualified database.
In one embodiment, the actual parameter obtaining module 301 is further configured to obtain a first actual position of the rotating device relative to a preset standard position, where the first actual position includes a relative distance;
The parameter data processing module 302 is further configured to calculate a distance difference between the relative distance and the first preset distance parameter;
the first rotation control module 303 is further configured to control the rotation device to adjust a position corresponding to the first preset distance parameter according to the distance difference value;
the first data obtaining module 304 is further configured to obtain, in a preset time range, a set of data throughput rates of the router under test;
the first data comparison module 305 is further configured to compare the data throughput rate with the first abnormal value range, and record a second abnormal data number corresponding to the data throughput rate in the first abnormal value range;
The second rotation control module 306 is further configured to control the rotation device to adjust to a position corresponding to the second preset distance parameter if the number of the second abnormal data is zero;
The second data obtaining module 307 is further configured to obtain a data throughput rate of the router under test under a second preset distance parameter;
The test result judging module 309 is further configured to store, when the number of the second abnormal data corresponding to the data throughput rate of the tested router under the second preset distance parameter is zero, the device number corresponding to the tested router into a preset qualified database.
In one embodiment, the actual parameter obtaining module 301 is further configured to detect an ambient temperature value of the router under test by using a temperature detecting device;
the first data processing module is also used for calculating a temperature difference value between the environmental temperature value and a preset first preset temperature parameter;
The environment temperature control module is used for controlling the temperature changing device to adjust the environment temperature of the router to be measured to a temperature value corresponding to a first preset temperature parameter according to the temperature difference value;
the first data obtaining module 304 is further configured to obtain, in a preset time range, a set of data throughput rates of the router under test;
The first data comparison module 305 is further configured to compare the data throughput rate with a preset first abnormal value range, and record a third abnormal data number corresponding to the data throughput rate located in the first abnormal value range;
The environment temperature control module is further used for controlling the temperature changing device to adjust the environment temperature of the router to be tested to a temperature value corresponding to a second preset temperature parameter if the number of the third abnormal data is zero and acquiring the data throughput rate of the router to be tested under the second preset temperature parameter;
The second data obtaining module 307 is further configured to obtain a set of data throughput rates of the router under test under a second preset angle parameter;
The test result judging module 309 is further configured to store, when the number of the third abnormal data corresponding to the data throughput rate of the tested router is zero under the second preset temperature parameter, the device number corresponding to the tested router into a preset qualified database.
In one embodiment, the data signal sending module is configured to send a data packet to the router under test at a preset time interval;
The first data obtaining module 304 is further configured to record a plurality of forwarding delays of the router under test;
The first data comparison module 305 is further configured to compare the plurality of forwarding delays with a preset second abnormal value range, record a fourth abnormal data number corresponding to the forwarding delay in the second abnormal value range,
The test result judging module 309 is further configured to store, when the number of the fourth abnormal data is zero, the device number corresponding to the tested router into a preset qualified database.
The embodiment of the application also discloses computer equipment.
Specifically, the computer device includes a memory and a processor, and the memory stores a computer program capable of being loaded by the processor and executing the router automatic test method, the router automatic test device and the storage medium method.
The embodiment of the application also discloses a computer readable storage medium.
Specifically, the computer readable storage medium stores a computer program capable of being loaded by a processor and executing the router automatic test method, apparatus, device and storage medium method as described above, the computer readable storage medium for example includes: a usb disk, a removable hard disk, a Read-only memory (ROM), a random access memory (RandomAccessMemory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The present embodiment is only for explanation of the present invention and is not to be construed as limiting the present invention, and modifications to the present embodiment, which may not creatively contribute to the present invention as required by those skilled in the art after reading the present specification, are all protected by patent laws within the scope of claims of the present invention.

Claims (8)

1. An automatic router testing method, which is applied to an automatic router testing system, wherein the automatic router testing system comprises a rotating device which is used for placing a tested router and can rotate, and the method comprises the following steps:
when a detection instruction is received, acquiring an actual angle parameter of the rotating device;
calculating an angle difference value between the actual angle parameter and a first preset angle parameter in a preset angle parameter database;
controlling the rotating device to adjust to an angle corresponding to a first preset angle parameter according to the angle difference value;
acquiring a group of data throughput rates of the router to be tested in a preset time range;
Comparing the acquired data throughput rates with a preset first abnormal value range in sequence, and recording the number of first abnormal data corresponding to the data throughput rates in the first abnormal value range;
Comparing the number of the first abnormal data with zero, and if the number of the first abnormal data is zero, controlling the rotating device to adjust to an angle corresponding to the second preset angle parameter;
acquiring a group of data throughput rates of the router to be tested under the second preset angle parameters;
Comparing the acquired data throughput rates with a preset first abnormal value range in sequence, and recording the number of first abnormal data corresponding to the data throughput rates in the first abnormal value range;
Comparing the number of the first abnormal data with zero, and if the number of the first abnormal data corresponding to a group of data throughput rates of the router to be tested under a second preset angle parameter is zero, storing the equipment number corresponding to the router to be tested into a preset qualified database;
after the recording of the first abnormal data number corresponding to the data throughput rate within the first abnormal value range, the method further comprises:
If the number of the first abnormal data reaches a preset first standard value, storing the equipment number corresponding to the tested router into a preset unqualified database;
If the number of the first abnormal data does not reach a preset first standard value and is not zero, continuing to acquire the data throughput rate of the tested router until the number of the first abnormal data in the acquired group of data throughput rates is zero;
the step of continuing to acquire the data throughput rate of the router to be tested until the number of the first abnormal data in the acquired group of data throughput rates is zero, specifically includes:
Acquiring a group of data throughput rates of the router to be tested;
comparing the acquired data throughput rates with a preset first abnormal value range in sequence, and recording a sequencing number corresponding to the data throughput rate in the first abnormal value range;
If the number of times of acquiring the data throughput rate of the router to be tested reaches a preset standard number, comparing the sequencing numbers corresponding to the data throughput rates in the first abnormal value range in a group of data throughput rates acquired each time;
If the ordering numbers corresponding to the data throughput rates in the first abnormal value range are consistent, sending alarm information to the intelligent terminal of the tester, and storing the equipment numbers corresponding to the tested router into a preset qualified database.
2. The method of claim 1, wherein the storing the device number corresponding to the router under test in a preset reject database specifically includes:
recording a sequencing number corresponding to the last data throughput rate in the first abnormal value range in the data throughput rates;
calculating the number corresponding to the data throughput rate after the sequencing number;
And if the number corresponding to the data throughput rate after the sequencing number reaches a preset second standard number value, storing the equipment number corresponding to the tested router into a preset qualified database.
3. The method of claim 2, wherein the storing the device number corresponding to the router under test in a preset qualified database specifically includes:
acquiring a first actual position of the rotating device relative to a preset standard position, wherein the first actual position comprises a relative distance;
calculating a distance difference between the relative distance and a first preset distance parameter;
Controlling the rotating device to adjust to a position corresponding to a first preset distance parameter according to the distance difference value;
Acquiring a group of data throughput rates of the router to be tested in a preset time range;
Comparing the data throughput rate with the first outlier range;
Recording a second abnormal data number corresponding to the data throughput rate in the first abnormal value range;
If the number of the second abnormal data is zero, controlling the rotating device to adjust to a position corresponding to a second preset distance parameter;
Acquiring the data throughput rate of the router to be tested under the second preset distance parameter;
And if the number of the second abnormal data corresponding to the group of data throughput rates of the router to be tested under the second preset distance parameter is zero, storing the equipment number corresponding to the router to be tested into a preset qualified database.
4. The method according to claim 3, wherein the automatic test system further comprises a temperature changing device for adjusting the temperature of the environment where the router is located, and a temperature detecting device for detecting the temperature of the environment where the router is located, and the storing the device number corresponding to the router to be tested in a preset qualified database specifically includes:
detecting an environmental temperature value of the router to be detected by using the temperature detection device;
calculating a temperature difference between the ambient temperature value and a preset first preset temperature parameter;
Controlling the temperature changing device to adjust the temperature of the environment where the router to be tested is positioned to a temperature value corresponding to a first preset temperature parameter according to the temperature difference value;
acquiring a group of data throughput rates of the router to be tested in a preset time range;
comparing the data throughput rate with a preset first abnormal value range;
Recording a third abnormal data number corresponding to a group of data throughput rates in the first abnormal value range;
if the number of the third abnormal data is zero, controlling a temperature changing device to adjust the environmental temperature of the router to be tested to a temperature value corresponding to a second preset temperature parameter and acquiring a group of data throughput rates of the router to be tested under the second preset temperature parameter;
And if the number of the third abnormal data corresponding to the group of data throughput rates of the router to be tested under the second preset temperature parameter is zero, storing the equipment number corresponding to the router to be tested into a preset qualified database.
5. The method of claim 4, wherein the storing the device number corresponding to the router under test in a preset qualified database specifically includes:
Transmitting a data packet to the router to be tested according to a preset time interval;
recording a plurality of forwarding delays of the router to be tested;
Comparing the forwarding delays with a preset second abnormal value range;
Recording the number of fourth abnormal data corresponding to the forwarding delay in the second abnormal value range;
and if the number of the fourth abnormal data is zero, storing the equipment number corresponding to the tested router into a preset qualified database.
6. An automatic router testing apparatus, the apparatus comprising: the rotating device is used for placing the router to be tested and can rotate;
The actual parameter acquisition module (301) is used for acquiring the actual angle parameter of the rotating device when receiving the detection instruction;
a parameter data processing module (302) for calculating an angle difference between the actual angle parameter and a first preset angle parameter in a preset angle parameter database;
The first rotation control module (303) is used for controlling the rotation device to adjust to an angle corresponding to a first preset angle parameter according to the angle difference value; the rotating device is used for placing the router to be tested;
The first data acquisition module (304) is used for acquiring a group of data throughput rates of the router under test in a preset time range; if the number of the first abnormal data does not reach the preset first standard value and is not zero, continuing to acquire the data throughput rate of the tested router until the number of the first abnormal data in the acquired group of data throughput rates is zero; the step of continuing to acquire the data throughput rate of the router to be tested until the number of the first abnormal data in the acquired group of data throughput rates is zero, specifically includes: acquiring a group of data throughput rates of the router to be tested;
A first data comparison module (305) for comparing the acquired set of data throughput rates with a preset first abnormal value range in sequence, and recording a first abnormal data number corresponding to the data throughput rate in the first abnormal value range; if the number of the first abnormal data reaches a preset first standard number, storing the equipment number corresponding to the tested router into a preset unqualified database; the method is also used for comparing the acquired data throughput rates with a preset first abnormal value range in sequence and recording the sequencing numbers corresponding to the data throughput rates in the first abnormal value range;
If the number of times of acquiring the data throughput rate of the router to be tested reaches a preset standard number, comparing the sequencing numbers corresponding to the data throughput rates in the first abnormal value range in a group of data throughput rates acquired each time;
the second rotation control module (306) is used for comparing the number of the first abnormal data with zero, and if the number of the first abnormal data is zero, the rotation device is controlled to be adjusted to an angle corresponding to a second preset angle parameter;
A second data acquisition module (307) for acquiring a set of data throughput rates of the router under test under the second preset angle parameter;
The second data comparison module (308) is used for sequentially comparing the acquired group of data throughput rates with a preset first abnormal value range and recording the number of first abnormal data corresponding to the data throughput rate in the first abnormal value range;
The test result judging module (309) is configured to compare the number of first abnormal data with zero, and if the number of first abnormal data corresponding to a group of data throughput rates of the router under test under the second preset angle parameter is zero, store the device number corresponding to the router under test into a preset qualified database; and the device number corresponding to the tested router is stored in a preset qualified database.
7. A computer device comprising a memory and a processor, the memory having stored thereon a computer program capable of being loaded by the processor and performing the method according to any of claims 1 to 5.
8. A computer readable storage medium, characterized in that a computer program is stored which can be loaded by a processor and which performs the method according to any one of claims 1 to 5.
CN202211028026.8A 2022-08-25 2022-08-25 Automatic router testing method, device, equipment and storage medium Active CN115396351B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211028026.8A CN115396351B (en) 2022-08-25 2022-08-25 Automatic router testing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211028026.8A CN115396351B (en) 2022-08-25 2022-08-25 Automatic router testing method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115396351A CN115396351A (en) 2022-11-25
CN115396351B true CN115396351B (en) 2024-04-30

Family

ID=84122052

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211028026.8A Active CN115396351B (en) 2022-08-25 2022-08-25 Automatic router testing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115396351B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118101509B (en) * 2024-02-19 2024-08-13 江苏城乡建设职业学院 Intelligent security system based on multi-source data fusion and operation method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103441899A (en) * 2013-08-27 2013-12-11 上海斐讯数据通信技术有限公司 Performance testing method and system of wireless router
JP2015133616A (en) * 2014-01-14 2015-07-23 西日本電信電話株式会社 Communication quality measurement system
CN108199957A (en) * 2017-12-13 2018-06-22 深圳市共进电子股份有限公司 A kind of test system, method and device for router test
CN108712753A (en) * 2018-05-15 2018-10-26 四川斐讯信息技术有限公司 A kind of adjustable router test and management method and system of antenna
CN108924006A (en) * 2018-07-06 2018-11-30 四川斐讯信息技术有限公司 Automated testing method, system and the device of router far and near distance performance
CN111950747A (en) * 2020-08-28 2020-11-17 广州市网优优信息技术开发有限公司 Intelligent router automatic test system and method
CN212518978U (en) * 2020-06-03 2021-02-09 深圳星航物连科学技术有限公司 MIMO air interface data throughput rate test equipment
CN216959903U (en) * 2022-04-02 2022-07-12 深圳创维-Rgb电子有限公司 Throughput testing system and testing device of wireless router

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9107098B2 (en) * 2012-10-08 2015-08-11 Netgear, Inc. Near-field MIMO wireless test systems, structures, and processes

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103441899A (en) * 2013-08-27 2013-12-11 上海斐讯数据通信技术有限公司 Performance testing method and system of wireless router
JP2015133616A (en) * 2014-01-14 2015-07-23 西日本電信電話株式会社 Communication quality measurement system
CN108199957A (en) * 2017-12-13 2018-06-22 深圳市共进电子股份有限公司 A kind of test system, method and device for router test
CN108712753A (en) * 2018-05-15 2018-10-26 四川斐讯信息技术有限公司 A kind of adjustable router test and management method and system of antenna
CN108924006A (en) * 2018-07-06 2018-11-30 四川斐讯信息技术有限公司 Automated testing method, system and the device of router far and near distance performance
CN212518978U (en) * 2020-06-03 2021-02-09 深圳星航物连科学技术有限公司 MIMO air interface data throughput rate test equipment
CN111950747A (en) * 2020-08-28 2020-11-17 广州市网优优信息技术开发有限公司 Intelligent router automatic test system and method
CN216959903U (en) * 2022-04-02 2022-07-12 深圳创维-Rgb电子有限公司 Throughput testing system and testing device of wireless router

Also Published As

Publication number Publication date
CN115396351A (en) 2022-11-25

Similar Documents

Publication Publication Date Title
JP4215600B2 (en) Operation management system, operation management method and program for wireless communication system
JP5714117B2 (en) Achieving improved test efficiency using acknowledgment signal suppression
US7039017B2 (en) System and method for detecting and locating interferers in a wireless communication system
US20030162539A1 (en) System and method for remote monitoring of basestations
US8693351B2 (en) System and method for deterministic testing of packet error rate in electronic devices
CN115396351B (en) Automatic router testing method, device, equipment and storage medium
EP1150458B1 (en) Apparatus, and associated method, for measuring radio operating characteristics of a radio device
US10819616B2 (en) System and method for testing a data packet signal transceiver
CN110719359A (en) Terminal performance test method and system
KR102424694B1 (en) Apparatus and method for monitoring performance of network device in wireless communication system
CN114785432B (en) Electronic product testing method and system
CN102388644A (en) Method and system for detecting sleep zone
CN108141291A (en) For testing the method for low-power radio frequency (RF) data packet signal transceiver
US10666542B1 (en) System and method for testing a data packet signal transceiver
CN103037239A (en) System and method for testing receiving performance of digital video receiving terminal
JP2003046431A (en) Device and method for measuring power transmitter from mobile terminal
CN107888457B (en) Port packet loss detection method and device and communication equipment
Serrano et al. Assessing the fidelity of COTS 802.11 sniffers
CN106850097A (en) Noise measuring system and method in a kind of radar equipment
CN101646189A (en) Wireless network cell performance test method and device
CN113485157B (en) Wafer simulation test method, device and wafer test method
Gvozdenovic et al. SDR-based PHY characterization of ZigBee devices
CN112584413B (en) Wireless communication link self-checking protection method, device, equipment and storage medium
TWI663841B (en) System and method for capturing and enabling analysis of test data packets from a radio frequency data packet signal transceiver
CN118175064A (en) Configurable automatic port network state detection system and detection method

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