CN-122028086-A - Test method, test device and test system
Abstract
The application relates to a testing method, a testing device and a testing system, which comprise the steps of establishing wireless communication connection with mobile equipment to be tested, obtaining the maximum theoretical transmission rate of the mobile equipment to be tested for wireless communication, determining the target sending rate according to the maximum theoretical transmission rate, and continuously sending a data stream to the mobile equipment to be tested according to the target sending rate under the condition that the mobile equipment to be tested is in a mobile state, wherein the ratio of the target sending rate to the maximum theoretical transmission rate is greater than or equal to a preset threshold value, so that the communication performance of the mobile equipment to be tested under the preset communication pressure and the mobile state can be simulated. Under the condition that the mobile equipment to be tested continuously receives the data stream, a wireless communication test result of the mobile equipment to be tested is generated according to the communication state of the mobile equipment to be tested, so that the wireless communication performance of the mobile equipment to be tested in an actual mobile scene under the preset communication pressure can be simulated, and the test efficiency and the test accuracy are improved.
Inventors
- SUN LIUBO
- SHEN SHIMAO
- YUE ZHONGCHUN
Assignees
- 追觅创新科技(苏州)有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260119
Claims (10)
- 1. A test method for use with a test apparatus, the test method comprising: establishing wireless communication connection with mobile equipment to be tested; Acquiring the maximum theoretical transmission rate of the mobile equipment to be tested for wireless communication, and determining a target sending rate according to the maximum theoretical transmission rate, wherein the ratio between the target sending rate and the maximum theoretical transmission rate is greater than or equal to a preset threshold value; continuously transmitting a data stream to the mobile equipment to be tested according to the target transmission rate under the condition that the mobile equipment to be tested is in a mobile state; and under the condition that the mobile equipment to be tested continuously receives the data stream, generating a wireless communication test result of the mobile equipment to be tested according to the communication state of the mobile equipment to be tested.
- 2. The method according to claim 1, wherein the connection state includes disconnection, and wherein the generating the wireless communication test result of the mobile device under test according to the connection state of the mobile device under test includes: Acquiring an operation data packet of the mobile equipment to be tested under the condition that the communication state of the mobile equipment to be tested is disconnection; And generating the wireless communication test result according to the operation data packet.
- 3. The method according to claim 2, wherein, when the connection state of the mobile device under test is disconnection, the obtaining the operation data packet of the mobile device under test includes: monitoring the communication state of the mobile equipment to be detected at preset time intervals; And acquiring the operation data packet of the mobile equipment to be tested under the condition that the connection state is continuously disconnected for more than a preset number of times.
- 4. A method of testing according to claim 3, wherein said monitoring the connectivity status of the mobile device under test comprises: respectively monitoring the communication state of the mobile equipment to be detected and the wireless network equipment and the communication state between the mobile equipment to be detected and an external server; the continuous disconnection times of the communication state of the mobile equipment to be tested and the wireless router exceed the preset times, or The connection state between the mobile equipment to be tested and the external server is that the number of times of disconnection exceeds the preset number of times, or And the sum of the times that the mobile equipment to be tested is disconnected with the wireless router and the times that the mobile equipment to be tested is disconnected with the external server exceeds the preset times.
- 5. The test method according to claim 2 or 3, wherein the operation data packet includes a sub-operation data packet of the mobile device to be tested in an abnormal period, and the abnormal period is a period in which a time when the number of times of disconnection in the on state continuously exceeds a preset number of times is an intermediate time and is a preset duration.
- 6. A test method according to claim 2 or 3, wherein the run data packet comprises at least two of device status information, network status information and system log information, and a time corresponding to the at least two of device status information, network status information and system log information is obtained.
- 7. The method of testing of claim 2, wherein generating the wireless communication test result from the operational data packet comprises: Comparing the operation data packet with a corresponding preset standard data packet, and outputting an abnormal data packet under the condition that the difference value between the operation data packet and the standard data packet exceeds a preset range; and positioning the connection state as a reason of disconnection according to the abnormal data packet so as to generate the wireless communication test result.
- 8. The test method according to claim 1 or 2, further comprising; The method comprises the steps of outputting a moving instruction, wherein the moving instruction is used for indicating the mobile equipment to be tested to execute a target moving task to be in a moving state, and the target moving task comprises any one of obstacle avoidance movement, shuttle movement in different spaces and movement along a preset path in one space.
- 9. A test device, the test device comprising: the connection module is used for establishing wireless communication connection with the mobile device to be tested; the execution module is used for acquiring the maximum theoretical transmission rate of the mobile equipment to be detected for wireless communication and determining a target sending rate according to the maximum theoretical transmission rate, wherein the ratio between the target sending rate and the maximum theoretical transmission rate is greater than or equal to a preset threshold value; the transmission module is used for continuously transmitting a data stream to the mobile equipment to be tested according to the target transmission rate under the condition that the mobile equipment to be tested is in a mobile state; And the test module is used for generating a wireless communication test result of the mobile equipment to be tested according to the communication state of the mobile equipment to be tested under the condition that the mobile equipment to be tested continuously receives the data stream.
- 10. A test system, comprising: The mobile equipment to be tested is provided with a wireless communication module; a wireless network device; Test equipment for establishing a wireless communication connection with the wireless communication module of the mobile device under test via the wireless network equipment and executing the test method according to any one of claims 1 to 8.
Description
Test method, test device and test system Technical Field The present application relates to the field of testing technologies, and in particular, to a testing method, a testing device, and a testing system. Background Wireless communication technology is used as a core support for modern information interaction, and has been widely penetrated in various fields, and the wireless communication performance of the device directly determines the user experience, the industrial production efficiency and the stability of a public communication network. In order to ensure that the wireless communication equipment accords with industry standards and has reliable communication capability, development of wireless communication tests becomes an indispensable key link in full life cycle stages of equipment research and development, production detection, network access authentication and the like. Through carrying out wireless communication test, can in time discover the wireless communication defect of equipment, avoid unqualified equipment to lead to problems such as communication interruption, signal attenuation, network congestion after leaving the factory, ensure the interconnection interoperability between equipment and current communication network and other equipment simultaneously. However, current wireless communication testing schemes still suffer from significant scene adaptation drawbacks. For example, current test schemes are based on static testing, and some introduce dynamic testing or stress testing, but all have application limitations. In one aspect, during a static test, the wireless communication device under test is in a fixed position, a static state, and the spatial position, signal propagation path, interference source distribution, etc. of the test environment remain unchanged. On the other hand, in few dynamic test schemes, only the physical state of equipment movement is simulated, a high-concurrency and high-flow high-load pressure scene in practical application is not combined, and partial pressure test is limited to network load simulation in a static environment, so that dynamic communication change caused by equipment movement cannot be synchronously reproduced. Although the test mode can verify the basic communication performance of the device in a fixed scene or the dynamic/pressure tolerance capability of a single dimension, the test mode is seriously disjointed with the actual application scene of the wireless communication device, namely, part of the wireless communication device is a mobile device, and the wireless communication device is always in a mobile state in the actual working process, so that the change of the position of the device can cause the change of wireless signals. Because the current test scheme cannot simulate the dynamic communication environment and the high load pressure of actual work in the moving process of the equipment, the dynamic characteristics of signal propagation and the real-time response behavior of the equipment in the moving state cannot be captured, and the communication stability of the equipment in the dynamic scene cannot be verified under the high load pressure, so that the test result cannot truly reflect the wireless communication connection performance of the equipment in the actual moving scene. Disclosure of Invention In view of the foregoing, it is desirable to provide a test method, a test apparatus, and a test system capable of accurately testing wireless communication performance of a mobile device. In a first aspect, the present application provides a test method applied to a test apparatus, the test method comprising: establishing wireless communication connection with mobile equipment to be tested; Acquiring the maximum theoretical transmission rate of the mobile equipment to be tested for wireless communication, and determining a target sending rate according to the maximum theoretical transmission rate, wherein the ratio between the target sending rate and the maximum theoretical transmission rate is greater than or equal to a preset threshold value; continuously transmitting a data stream to the mobile equipment to be tested according to the target transmission rate under the condition that the mobile equipment to be tested is in a mobile state; and under the condition that the mobile equipment to be tested continuously receives the data stream, generating a wireless communication test result of the mobile equipment to be tested according to the communication state of the mobile equipment to be tested. In one embodiment, the connection state includes disconnection, and the generating a wireless communication test result of the mobile device to be tested according to the connection state of the mobile device to be tested includes: Acquiring an operation data packet of the mobile equipment to be tested under the condition that the communication state of the mobile equipment to be tested is disconnection; And generating the wire