Test methods, systems, apparatuses, and media

By utilizing the sharing of target measurement parameters in beacon device testing, the problems of inaccurate test results and low efficiency caused by manual configuration are solved, and more efficient and accurate test results are achieved.

CN116094620BActive Publication Date: 2025-10-17BOE TECHNOLOGY GROUP CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202310086769.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-01-17
Publication Date
2025-10-17
Estimated Expiration
2043-01-17

AI Technical Summary

Technical Problem

In the beacon device testing, the existing technology requires manual editing of test configuration parameters, resulting in inaccurate test results and low efficiency.

Method used

By controlling a first test device among multiple test devices to test target measurement parameters and sharing the parameters with a second test device, the second test device performs testing based on the target measurement parameters, thereby avoiding manual estimation of configuration parameters.

Benefits of technology

This improves the accuracy and efficiency of test results and reduces the need for frequent manual editing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116094620B_ABST
    Figure CN116094620B_ABST
Patent Text Reader

Abstract

The embodiment of the present disclosure provides a test method, system, device and medium, which belong to the technical field of testing, and aims to improve test efficiency. The method comprises the following steps: in response to the test of a to-be-tested beacon device, a first test device in a plurality of test devices is controlled to test a first performance parameter of the to-be-tested beacon device, and the first performance parameter comprises a target measurement parameter which can be used by the plurality of test devices; the target measurement parameter is shared with a second test device; wherein the second test device is any test device in the plurality of test devices except the first test device, and the second test device is controlled to test a second performance parameter of the to-be-tested beacon device based on the target measurement parameter; wherein the first performance parameter is different from the second performance parameter, or the first performance parameter and the second performance parameter have intersection.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the technical field of testing, and in particular, to a testing method, system, device and medium. BACKGROUND

[0002] At present, many beacon devices need to calibrate and test various performance indicators of the beacon devices before delivery. For example, the actual transmitting power and receiving sensitivity of a WiFi module need to be tested.

[0003] In the process of testing the beacon device, there are many performance indicators to be tested, and multiple test devices are often needed to test the performance indicators that can be tested by each test device to achieve the purpose of testing all performance indicators.

[0004] In the related art, the test device needs to be manually edited for configuration during testing each time. Some configuration parameters in the test configuration are estimated by users based on experience, which results in inaccurate test results of the beacon device and low test efficiency. SUMMARY

[0005] In view of the above problems, a testing method, device, system and medium are provided to overcome the above problems or at least partially solve the above problems.

[0006] To solve the above problems, a first aspect of the present disclosure discloses a testing method, which comprises:

[0007] In response to testing of a to-be-tested beacon device, a first test device of a plurality of test devices is controlled to test a first performance parameter of the to-be-tested beacon device, the first performance parameter comprising a target measurement parameter that can be used by the plurality of test devices;

[0008] The target measurement parameter is shared with a second test device; wherein the second test device is any test device in the plurality of test devices except the first test device,

[0009] The second test device is controlled to test a second performance parameter of the to-be-tested beacon device based on the target measurement parameter; wherein the first performance parameter is different from the second performance parameter, or the first performance parameter and the second performance parameter have intersections.

[0010] Optionally, after the second test device is controlled to test the second performance parameter of the to-be-tested beacon device based on the target measurement parameter, the method further comprises:

[0011] From the first performance parameter and the second performance parameter obtained from the test, a third performance parameter belonging to a plurality of target test items is obtained respectively;

[0012] The third performance parameter is filled into the cells corresponding to a plurality of preset table headers in the preset test table to obtain a target test report;

[0013] Among them, a plurality of preset table headers correspond to a plurality of target test items.

[0014] Optionally, the plurality of target test items include test items of a first test mode and a second test mode, the preset test table includes a first worksheet for recording performance parameters of the first test mode and a second worksheet for recording performance parameters of the second test mode by a user, and the filling of the third performance parameter into the cells corresponding to the plurality of preset table headers in the preset test table to obtain the target test report includes:

[0015] The performance parameters of the test items belonging to the first test mode in the third performance parameter are filled into the cells corresponding to the corresponding preset table headers in the first worksheet;

[0016] The performance parameters of the test items belonging to the second test mode in the third performance parameter are filled into the cells corresponding to the corresponding preset table headers in the second worksheet.

[0017] Optionally, the preset test table includes a third worksheet corresponding to the first test device and a fourth worksheet corresponding to the second test device; and the filling of the third performance parameter into the cells corresponding to the plurality of preset table headers in the preset test table to obtain the target test report includes:

[0018] The third performance parameters belonging to the first test device are filled into the cells corresponding to the corresponding preset table headers in the third worksheet;

[0019] The third performance parameters belonging to the second test device are filled into the cells corresponding to the corresponding preset table headers in the fourth worksheet.

[0020] Optionally, the terminal is further in communication connection with a mechanical arm, the target measurement parameter includes a line loss value, and the controlling of the first test device in the plurality of test devices to test the first performance parameter of the to-be-tested beacon device includes:

[0021] The mechanical arm is controlled to connect two ends of a test line of the to-be-tested beacon device to two test ports of the first test device respectively;

[0022] The first test device is controlled to perform line loss test on the test line to obtain a line loss value corresponding to the to-be-tested beacon device.

[0023] Optionally, the first performance parameter comprises a performance parameter in a first test mode, the first test mode being a signal only transmitting or only receiving mode; the method further comprises:

[0024] controlling the mechanical arm to switch either end of the test line to be connected to an antenna interface of the to-be-tested beacon device to provide a test condition of the first test mode;

[0025] after the line loss value is written into the test configuration of the first test device, sending first working information to the to-be-tested beacon device to make the to-be-tested beacon device be in a first working state based on the first working information;

[0026] controlling the first test device to test a performance parameter of the to-be-tested beacon device when the to-be-tested beacon device is in the first working state.

[0027] Optionally, the second performance parameter comprises a performance parameter in a second test mode, the second test mode being a signal receiving and signal transmitting mode; the controlling the second test device to test the second performance parameter of the to-be-tested beacon device based on the target measurement parameter comprises:

[0028] based on the test configuration after the target measurement parameter is written, sending second working information to the to-be-tested beacon device to make the to-be-tested beacon device be in a second working state based on the second working information;

[0029] based on the second test mode, controlling the second test device to test a performance parameter of the to-be-tested beacon device when the to-be-tested beacon device is in the second working state.

[0030] Optionally, the second performance parameter comprises a performance parameter in a first test mode, the first test mode being a signal only transmitting or only receiving mode; the terminal is further in communication connection with a mechanical arm, and the controlling the second test device to test the second performance parameter of the to-be-tested beacon device based on the target measurement parameter comprises:

[0031] controlling the mechanical arm to connect one end of a test signal line to an antenna interface of the to-be-tested beacon device and connect the other end of the test signal line to a test port of the second test device to provide a working condition of the first test mode;

[0032] based on the test configuration after the target measurement parameter is written, sending first working information to the to-be-tested beacon device to make the to-be-tested beacon device be in the first working state based on the first working information;

[0033] The second test device is controlled to test the performance parameter of the to-be-tested beacon device in the first working state.

[0034] Optionally, the controlling the first test device of the plurality of test devices to test the first performance parameter of the to-be-tested beacon device comprises:

[0035] A first connection between the first test device and the to-be-tested beacon device is established in response to the testing of the to-be-tested beacon device.

[0036] The first test device is controlled to test the first performance parameter of the to-be-tested beacon device based on the first connection.

[0037] The second test device is controlled to test the second performance parameter of the to-be-tested beacon device based on the target measurement parameter, comprising:

[0038] The first connection is switched to a second connection between the second test device and the to-be-tested beacon device.

[0039] The second test device is controlled to test the second performance parameter of the to-be-tested beacon device based on the target measurement parameter based on the second connection.

[0040] Optionally, the establishing the first connection between the first test device and the to-be-tested beacon device comprises:

[0041] A first network segment in which the first test device is located is adjusted to be a target network segment in which the terminal is located, and the first connection is established in a local area network of the target network segment.

[0042] The first connection is switched to a second connection between the second test device and the to-be-tested beacon device, comprising:

[0043] A current network segment in which the terminal is located is switched to a second network segment in which the second test device is located, and the second connection is established in a local area network of the second network segment.

[0044] Optionally, the establishing the first connection between the first test device and the to-be-tested beacon device comprises:

[0045] An original network segment in which the first test device is located is adjusted to be a target network segment in which the terminal is located, and the first connection is established in a local area network of the target network segment.

[0046] The first connection is switched to a second connection between the second test device and the to-be-tested beacon device, comprising:

[0047] The first test device is switched from the target network segment to the original network segment, and an original network segment in which the second test device is located is switched to the target network segment.

[0048] establishing the second connection in a local area network of the target network segment.

[0049] Optionally, the target measurement parameter is shared to a second test device, comprising:

[0050] storing the target measurement parameter to a preset address, which is open to a plurality of test devices;

[0051] calling an interface corresponding to the second test device to read the target measurement parameter from the preset address and write into a test configuration of the second test device.

[0052] The present disclosure also provides a test system of a beacon device, comprising a terminal and at least two test devices.

[0053] The terminal is configured with an interface corresponding to each of the two test devices and a serial port connected to the beacon device to be tested, so as to call the test software corresponding to the test device through the interface and connect the beacon device to be tested through the serial port.

[0054] The terminal is used for the test method.

[0055] Optionally, it further comprises a mechanical arm in communication connection with the terminal, wherein:

[0056] The mechanical arm is used to connect two ends of a test line of the beacon device to be tested to two test ports of a first test device in response to the test of the target measurement parameter.

[0057] And, in response to the test of the first test mode, one end of the test line is connected to an antenna interface of the beacon device to be tested, and the other end is connected to a test port of the first test device or a test port of a second test device.

[0058] Optionally, the at least two test devices comprise a test device for measuring a line loss value and a test device for testing a performance parameter in a second test mode.

[0059] The second test mode is a signal sending and receiving mode.

[0060] Optionally, the test device for measuring the line loss value is also used to test the performance parameter in the first test mode; and / or, the test device for testing the performance parameter in the second test mode is also used to test the performance parameter in the first test mode.

[0061] The first test mode is a signal only sending or only receiving mode.

[0062] The present disclosure also provides a testing device, which is applied to a terminal and comprises:

[0063] A first testing module is configured to control a first testing device of the plurality of testing devices to test a first performance parameter of the to-be-tested beacon device in response to the testing of the to-be-tested beacon device, wherein the first performance parameter comprises a target measurement parameter that can be used by the plurality of testing devices.

[0064] A sharing module is configured to share the target measurement parameter to a second testing device, wherein the second testing device is any testing device of the plurality of testing devices except the first testing device.

[0065] A second testing module is configured to control the second testing device to test a second performance parameter of the to-be-tested beacon device based on the target measurement parameter, wherein the first performance parameter is different from the second performance parameter, or the first performance parameter and the second performance parameter have intersections.

[0066] The present disclosure also provides an electronic device, which comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the testing method according to the first aspect.

[0067] The fourth aspect of the present disclosure also provides a computer-readable storage medium, which stores a computer program that enables the processor to execute the testing method according to the first aspect of the present disclosure.

[0068] The testing method according to the present disclosure can control a first testing device of the plurality of testing devices to test a first performance parameter of the to-be-tested beacon device in response to the testing of the to-be-tested beacon device, and write a target measurement parameter measured by the first testing device into a test configuration of a second testing device; and then control the second testing device to test a second performance parameter of the to-be-tested beacon device based on the target measurement parameter.

[0069] Since the target measurement parameter of the to-be-tested beacon device is first tested by the first testing device, the target measurement parameter can be used by the plurality of testing devices, so that the terminal shares the target measurement parameter to the second testing device, and the second testing device can be configured with configuration parameters according to the real test results when the second testing device tests, instead of manually configuring the configuration parameters according to experience, thereby improving the accuracy of the test results. On the other hand, the terminal directly writes the target measurement parameter into the test configuration of the second testing device, instead of manually editing and inputting when switching the testing device, thereby reducing the frequent manual operations and improving the testing efficiency.

[0070] The above description is only a summary of the technical solutions of the present disclosure. In order to enable a clearer understanding of the technical means of the present disclosure, the contents of the specification can be implemented, and in order to enable the above and other purposes, features and advantages of the present disclosure to be more apparent and easy to understand, the following specific embodiments of the present disclosure will be described. BRIEF DESCRIPTION OF DRAWINGS

[0071] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following will briefly introduce the drawings needed to be used in the description of the embodiments of the present disclosure. Obviously, the drawings in the following description are only some embodiments of the present disclosure, and for those skilled in the art, other drawings can also be obtained without creative labor on the basis of these drawings.

[0072] Figure 1 is a schematic diagram of an application scenario of testing a beacon device in an embodiment of the present disclosure;

[0073] Figure 2 is a step flowchart of a testing method in an embodiment of the present disclosure;

[0074] Figure 3 is shown Figure 1 In the test scenario shown, a test process of testing the beacon device to be tested by two test devices;

[0075] Figure 4 is a schematic diagram of connecting the test line to the two test ports of the first test device by the mechanical arm in an embodiment of the present disclosure;

[0076] Figure 5 is a schematic diagram of controlling the first test device to test in the first test mode;

[0077] Figure 6 is a schematic diagram of an output data style in the related art;

[0078] Figure 7 is another output data style in the related art;

[0079] Figure 8 is an exemplary flow of a testing method in an embodiment of the present disclosure;

[0080] Figure 9 is a schematic diagram of a target test report in an embodiment of the present disclosure;

[0081] Figure 10 is a schematic diagram of a framework structure of a testing system in an embodiment of the present disclosure;

[0082] Figure 11 is a schematic diagram of a testing device in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0083] In order to make the above objectives, characteristics and advantages of the present disclosure more obvious and easy to understand, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those of ordinary skill in the art without creative labor fall within the protection scope of the present disclosure.

[0084] In view of the problems in the related art, the present disclosure provides a test method, and the main technical idea of the test method is that a test device is used to test target measurement parameters that need to be commonly used by multiple test devices, then the measured target measurement parameters are shared with other test devices, and then other test devices perform test configuration based on the target measurement parameters and then test the to-be-tested beacon device, thereby avoiding the problem of low accuracy of test results when the target measurement parameters are manually estimated, and also avoiding frequent operations of manual switching of test devices, thereby improving test efficiency.

[0085] The target measurement parameters can be different according to different to-be-tested beacon devices, for example, when the to-be-tested beacon device is a WiFi module, the target measurement parameter can be a line loss value of a test signal line.

[0086] Referring to FIG. 1, Figure 1 As shown in FIG. 1, an application scenario schematic diagram of testing of a beacon device of the present disclosure is shown, as shown in FIG. 2, Figure 1 As shown in FIG. 2, the application scenario schematic diagram of testing of the beacon device of the present disclosure includes a terminal, multiple test devices and a to-be-tested beacon device, Figure 1 The to-be-tested beacon device in FIG. 2 takes a WiFi module as an example, and the cases of two test devices, i.e., a test device 101 and a test device 102, are shown.

[0087] The terminal is integrated with an interface (API, Application Programming Interface, application programming interface) connected with test software of each test device, and the interface can be called by the terminal to call the test software corresponding to the test device to test the working performance parameters of the to-be-tested beacon device according to the test flow and test configuration of the test software.

[0088] Different test devices can be from different manufacturers, and their test software can also be different. In the present disclosure, the test device control API exposed by each test device can be acquired in advance, and these APIs can be integrated on the terminal, so that multiple test devices are integrated together. In this way, multiple test devices can be controlled by the software on the terminal, that is, the corresponding API is called by the software, so that the test software of the test device can be acquired, that is, the provided test software can be used to control the test device to test the to-be-tested beacon device.

[0089] The test software can be located in the test device or in the server corresponding to the manufacturer of the test device, which is not limited herein.

[0090] The to-be-tested beacon device and the terminal can be connected through a serial port.

[0091] During testing, the terminal can send working information to the to-be-tested beacon device. The working information can be understood as an incentive information. The to-be-tested beacon device can enter a corresponding mode of working state in response to the working information. The test device tests the performance parameters of the to-be-tested beacon device in the working state at this time, and feeds back the measured parameters to the test software on the terminal. The test software on the terminal obtains the test result based on the working parameters of the to-be-tested beacon device and the performance parameters measured by the test device.

[0092] The to-be-tested beacon device can be a WiFi module, a Bluetooth module, or other devices that can send and receive signals.

[0093] In combination with Figure 1 , a test method of the present disclosure is introduced.

[0094] Referring to Figure 2 , a step flowchart of the test method of the present disclosure is shown, which can specifically include the following steps: Figure 2

[0095] Step S201: In response to the test of the to-be-tested beacon device, a first test device in the multiple test devices tests a first performance parameter of the to-be-tested beacon device.

[0096] The first performance parameter includes a target measurement parameter that can be used by multiple test devices.

[0097] In the present embodiment, the user can perform a test operation on the terminal. Since the terminal integrates the APIs of multiple test devices, the user can trigger the test of the to-be-tested beacon device through the software interface provided by the terminal during testing.

[0098] ​In a specific implementation, the software interface provided by the terminal can be used for a user to select which test device tests which to-be-tested beacon device, and then the terminal can automatically use each test device to test the to-be-tested beacon device according to the to-be-tested beacon device and the test device selected by the user. The automatic process can be compiled into a program and written into the software. Specifically, the automatic testing process can be: the terminal determines the test sequence of each test device based on the to-be-tested beacon device and the test device selected by the user. The test sequence can be determined according to the target measurement parameter commonly used by each test device. Then, the corresponding test software is called through the integrated API (interface) according to the test sequence of each test device, and the test device is controlled by the test software to test the to-be-tested beacon device.

[0099] For example, taking a to-be-tested beacon device as a WiFi module as an example, two test devices are selected to test the performance parameters of the to-be-tested beacon device. The terminal determines that the target measurement parameter commonly used by the two test devices is a line loss value. Therefore, the test device that can measure the line loss value is used as the first test device, and the other test device is used as the second test device. Of course, this example is only an illustrative example for easy understanding, and does not represent a limitation on the present disclosure.

[0100] In this embodiment, the first test device can be used to test the target measurement parameter, and can also be used to test other performance parameters of the to-be-tested beacon device.

[0101] Specifically, when the first test device is controlled to test the first performance parameter of the to-be-tested beacon device, the terminal can call the test software of the first test device according to the first performance parameter to be tested, and obtain the test configuration parameter set by the user. The test configuration parameter is imported into the test software, and a working instruction is sent to the to-be-tested beacon device through the test software to make the to-be-tested beacon device in a working state. Then, the first test device starts to test the performance parameter of the to-be-tested beacon device in the working state.

[0102] The target measurement parameter can be commonly used by multiple test devices, that is, the target measurement parameter is used by multiple test devices when testing the performance of the to-be-tested beacon device. For example, the target measurement parameter can be a line loss value, which can be a line loss of a test line used to test the to-be-tested beacon device. The line loss value is used to correct the line loss of the test line during the testing of the performance of the to-be-tested beacon device, so as to improve the testing accuracy.

[0103] Of course, if the line loss value, the first test device only needs to test the line loss of the test line used by the to-be-tested beacon device when testing the line loss value.

[0104] Step S202: sharing the target measurement parameter to the second test device;

[0105] The second test device is any one of the test devices other than the first test device.

[0106] After obtaining the target measurement parameter through the first test device, the terminal can write the target measurement parameter into the test configuration corresponding to the second test device. Specifically, the terminal can call the test software of the second test device through the interface corresponding to the second test device, and then write the target measurement parameter into the test configuration of the test software of the second test device. Specifically, the test configuration can be understood as the configuration parameters required by the second test device when performing the test. The configuration parameters can include the transmission power of the to-be-tested beacon device, the EVM (Error Vector Magnitude) range, the reception sensitivity threshold, etc. The target measurement parameter can be written into the corresponding configuration parameter item. For example, if the target measurement parameter is the line loss value, the line loss value can be written into the configuration parameter item related to line loss correction in the test configuration, thereby providing a real and reliable line loss value for the test of the second test device.

[0107] The plurality of test devices can include one or more second test devices in addition to the first test device, that is, one second test device or a plurality of second test devices. In the case of a plurality of second test devices, the performance parameters of the to-be-tested beacon device tested by different second test devices can be different or the same.

[0108] For example, it is assumed that two second test devices are included. One of the second test devices can be used to test the performance parameter of the WiFi module in the signaling mode (hereinafter referred to as the second test mode), and the other second test device can be used to test the performance parameter of the WiFi module in the non-signaling mode (hereinafter referred to as the first test mode).

[0109] In practice, the target measurement parameter can be written into the test configuration of each second test device.

[0110] Step S203: controlling the second test device to test the second performance parameter of the to-be-tested beacon device based on the target measurement parameter;

[0111] The first performance parameter is different from the second performance parameter, or the first performance parameter and the second performance parameter have intersections.

[0112] In this embodiment, after the target measurement parameter is written into the test configuration of the second test device, the second test devices can be controlled in turn to test the second performance parameter of the to-be-tested beacon device based on the target measurement parameter according to the test order of the second test devices.

[0113] The test sequence of each second test device can be determined according to actual needs, and details are not described herein. When the second test device controls the test on the second performance parameter of the to-be-tested beacon device, the terminal can call the test software of the second test device according to the to-be-tested second performance parameter, and import the test configuration parameter into the test software based on the test configuration parameter of the target measurement parameter that has been written, send a working instruction to the to-be-tested beacon device through the test software, so that the to-be-tested beacon device is in a working state, and then the second test device starts to test the performance parameter of the to-be-tested beacon device in the working state.

[0114] The second performance parameter can be a performance parameter of the to-be-tested beacon device in a working state, and the second performance parameter can be different from the first performance parameter. For example, the first performance parameter is a performance parameter in a non-signaling mode, and the second performance parameter is a performance parameter in a signaling mode.

[0115] Alternatively, the first performance parameter and the second performance parameter have intersection, which means that the first performance parameter and the second performance parameter both include parameters under a unified test model, for example, both include performance parameters in a non-signaling mode.

[0116] By adopting the technical solutions of the embodiments of the present disclosure, the target measurement parameters required by each test device are tested first, and then the target measurement parameters are shared to the remaining test devices (second test devices) by writing the target measurement parameters into the test configuration of each second test device. Therefore, when the remaining second test devices perform the test, manual configuration of the configuration parameters according to experience is not needed, but the configuration parameters can be configured according to the real test results, thereby improving the accuracy of the test results.

[0117] In addition, since the terminal directly writes the target measurement parameters into the test configuration of the second test device, and does not need to manually edit and input the target measurement parameters and other parameter configurations when switching the test device, for example, when switching from the first test device to the second test device, the manual operation when switching the test device can be reduced, and the test efficiency is improved.

[0118] In some embodiments, the target measurement parameters can be stored in a shared address (hereinafter referred to as a preset address), and then read by the test software corresponding to the first test device and the test software corresponding to the second test device.

[0119] In specific implementation, the target measurement parameters can be stored in the preset address, and the interface corresponding to the second test device is called to read the target measurement parameters from the preset address and write the target measurement parameters into the target configuration item of the test configuration.

[0120] The preset address is opened to multiple test devices, that is, the test software corresponding to the multiple test devices can share the target measurement parameter in the preset address.

[0121] In actual use, when testing by the second test device, an interface corresponding to the second test device can be called, by which the test software corresponding to the second test device can be called, and the target measurement parameter in the preset address can be read. Then, the interface can transmit the target measurement parameter into the target configuration item of the corresponding test software as a test configuration parameter, without manual input and estimation.

[0122] In actual use, when testing, the terminal needs to send a test instruction to the test device and receive a test result of the test device. Therefore, the terminal needs to be connected with the multiple test devices.

[0123] In some embodiments, when testing the to-be-tested beacon device by one test device, to avoid test interference, the connection between the terminal and other test devices can be shielded, and the terminal can be enabled to automatically switch the test device. Correspondingly, the terminal can communicate with the test device based on network connection.

[0124] In actual implementation, when controlling the first test device of the multiple test devices to test the first performance parameter of the to-be-tested beacon device, a first connection between the terminal and the first test device can be established in response to the test of the to-be-tested beacon device. The first connection can be a dedicated connection between the terminal and the first test device, and a connection channel of the first connection is not used by the second test device.

[0125] The first connection can be an Ethernet connection, and in other embodiments, it can also be a standard serial port connection to realize the dedicated connection between the first test device and the terminal.

[0126] Correspondingly, the first test device can be controlled to test the first performance parameter of the to-be-tested beacon device based on the first connection.

[0127] Then, when the second test device is controlled to test the second performance parameter of the to-be-tested beacon device based on the target measurement parameter, the first connection can be switched to a second connection between the terminal and the second test device, and the second test device can be controlled to test the second performance parameter of the to-be-tested beacon device based on the target measurement parameter based on the second connection.

[0128] The second connection can be a dedicated connection between the terminal and the second test device, and a connection channel of the second connection is not used by the first test device.

[0129] The first connection can be an Ethernet connection, and in other embodiments, it can be a standard serial port connection to establish a dedicated connection between the first test device and the terminal. When switching, if the first connection is an Ethernet connection, the first connection can be switched to a second connection in a different Ethernet network from the first connection, and if the first connection is a standard serial port connection, the standard serial port connection can be switched from the first test device to the second test device.

[0130] In some embodiments, the terminal can be in the same local area network as the test device being tested to establish a network connection between the two while shielding the test interference from other test devices. In this case, the first connection and the second connection can be network communication connections.

[0131] In practice, when establishing the first connection, the network segment in which the terminal is located is adjusted to the first network segment in which the first test device is located, and the first connection is established in the local area network of the first network segment.

[0132] Correspondingly, when the first connection is switched to the second connection, the current network segment in which the terminal is located is switched to the second network segment in which the second test device is located, and the second connection is established in the local area network of the second network segment.

[0133] The network segment can be a field in an IP address that identifies the subnet in which it is located, such as IP address 191.167.0.X, where the last digit represents the host number, and the first three segments are the same, which is a network segment, such as IP address 191.167.0.1 and 191.167.0.5, which is a network segment.

[0134] In this embodiment, the network segment of the terminal is configured to be the same as the network segment in which the test device is located, so that the terminal and the corresponding test device (the first test device or the second test device) are in the same subnet. In the same subnet, the terminal and the corresponding test device can communicate within the local area network, i.e., the terminal broadcasts within the local area network, thereby establishing a connection between the terminal and the corresponding test device. When establishing the first connection in the local area network of the first network segment, the terminal can broadcast a connection request to the first test device in the local area network, and the first test device can establish a network connection with the terminal based on the connection request.

[0135] When the first connection is switched to the second connection, the network segment in the current IP address of the terminal can be modified to the second network segment in which the second test device is located, and a connection request to the second test device can be broadcast in the local area network of the second network segment, and the second test device can establish a network connection with the terminal based on the connection request.

[0136] Among them, during switching, since the terminal is already in a different network segment from the first test device, an exclusive connection can be achieved between the terminal and the second test device, avoiding test interference caused by the first test device when the terminal is connected to the second test device.

[0137] For example, Figure 1 As shown, the IP addresses required for local configuration within the two LANs of test device 101 and test device 102 can be written to the terminal software configuration file. Assuming IP1 represents the IP address required for connecting to test device 101, and IP2 represents the IP address required for connecting to test device 102, the line loss test is first conducted using test device 2. The terminal's IP address can then be configured to be in the same network segment as IP2 to conduct the line loss test. After the line loss test is completed, the terminal's IP address can be configured to be in the same network segment as IP1, and the second performance parameter test can then be conducted.

[0138] By using this implementation to establish a connection between the test device and the terminal, the IP address of the terminal can be directly modified according to the IP address of the test device, thereby facilitating the switching of communication connections between test devices, facilitating the automation of the entire test, and improving the automation efficiency of the terminal test control.

[0139] Of course, in some other embodiments, the network segment of the test device may be modified to achieve the purpose of establishing a connection between the terminal and the test device in the same local area network.

[0140] In specific implementation, when establishing the first connection, the original network segment where the first test device is located can be adjusted to the target network segment where the terminal is located, and the first connection can be established within the local area network of the target network segment; accordingly, when switching the first connection to the second connection, the first test device can be switched from the target network segment to the original network segment, and the original network segment where the second test device is located can be switched to the target network segment; and the second connection can be established within the local area network of the target network segment.

[0141] In this embodiment, the network segment where the test device is located can be modified so that the test device can actively be in the same network segment as the terminal to establish a connection. Specifically, in the local area network of the target network segment, when establishing the first connection, the test device can broadcast a connection request to establish a connection with the terminal in the local area network, so that the test device actively establishes the first connection with the terminal. Alternatively, the terminal can broadcast a connection request to establish a connection with the test device in the local area network, so that the first connection with the test device is established. Specifically, the process of establishing the second connection can refer to the description of this process.

[0142] The connection between the test device and the terminal is established by using the embodiment, the IP address of the test device can be modified based on the IP address of the terminal, so that they are in the same local area network, thereby it can be applied to the case that one test device is connected to multiple terminals, and the test device can be automatically connected to multiple terminals by modifying the IP address of the test device, so as to test different beacon devices.

[0143] Next, the whole test process is described.

[0144] Referring to Figure 3 As shown in Figure 1 In the test scenario shown in FIG. 10, the test process of testing the to-be-tested beacon device by two test devices is as follows: first, the test device 102 is used for testing, and the test configuration such as target power is input during the test. Then, the test device 102 tests the target measurement parameter, and after the test is completed, the target measurement parameter is written into the test configuration of the test device 101, and then based on the test configuration, the test device 101 tests the multiple performance parameters of the to-be-tested beacon device, and then the test results of the test device 101 and the test device 102 are processed to make the test results more intuitive and convenient for the user to analyze the performance parameters of the to-be-tested device.

[0145] In some embodiments, to improve the automation of the test process, the terminal can be connected to a mechanical arm, which can perform the connection operation of the test line in the test process to avoid frequent manual switching of the connection of the test line, thereby realizing high automation of the whole test process.

[0146] In some embodiments, to improve the automation of the test process, the terminal can be connected to a mechanical arm, which can perform the connection operation of the test line in the test process to avoid frequent manual switching of the connection of the test line, thereby realizing high automation of the whole test process.

[0147] In some embodiments, to improve the automation of the test process, the terminal can be connected to a mechanical arm, which can perform the connection operation of the test line in the test process to avoid frequent manual switching of the connection of the test line, thereby realizing high automation of the whole test process.

[0148] The mechanical arm is controlled to connect the two ends of the test line of the to-be-tested beacon device to the two test ports of the first test device, and the first test device is controlled to test the line loss of the test line to obtain the line loss value corresponding to the to-be-tested beacon device.

[0149] The test line can be a test line matched with the to-be-tested beacon device, that is, a line to be used by the to-be-tested beacon device in actual use. The terminal and the mechanical arm can be connected through wireless communication. When the first test device performs the test, the terminal can send a first control instruction to the mechanical arm, and the first control instruction is used to instruct the mechanical arm to connect two ends of the test line to the first test device. The mechanical arm can connect the two ends of the test line to the two test ports of the first test device in response to the first control instruction. Referring to Figure 4 FIG. 3 shows a schematic diagram in which the mechanical arm connects the test line to the two test ports of the first test device.

[0150] When the mechanical arm connects the two test ports of the first test device, the terminal can send a test instruction to the first test device, and the first test device can automatically perform the line loss test. The process of the line loss test can refer to the content of the prior art, which will not be described here.

[0151] After the line loss test is completed, the first test device can return a line loss value to the terminal, the terminal records the line loss value, and writes the line loss value into the test configuration of the second test device. In this implementation, the test line is connected to the first test device by the mechanical arm in the line loss test, avoiding manual operation, and thus the automation of the test is realized.

[0152] In some embodiments, the test generally includes testing performance parameters in a signaling mode (referred to as a second test mode) and performance parameters in a non-signaling mode (referred to as a first test mode).

[0153] The signaling mode refers to that the CMU 200, the CMW 500, or the 8960 and the like simulate a base station, the to-be-tested beacon device is connected to the base station simulated by the instrument (for example, the test device simulates an AP, and the to-be-tested beacon device is connected to the instrument as a sta), and then various tests are performed, for example, the WiFi module frequency test and the BQB test of the Bluetooth device need to test the performance parameters in the signaling mode.

[0154] The non-signaling mode refers to that the test device and the to-be-tested beacon device do not need to be connected through a connection similar to the signaling test, but are directly connected through a cable line (a radio frequency coaxial line). The test device only transmits signals or only receives signals, and the to-be-tested beacon device only receives signals or only transmits signals.

[0155] In some embodiments, the first test device can be configured to test the line loss value and the performance parameters in the non-signaling mode. Accordingly, the first performance parameters obtained through the test can further include performance parameters in the first test mode, and after the line loss test of the test line by the first test device is controlled, the test in the first test mode can be further performed. The first test mode is a signal transmission only mode or a signal reception only mode, that is, the non-signaling mode.

[0156] Specifically, the test process of the first test mode can be as follows:

[0157] The control mechanical arm switches either end of the test line to be connected with the antenna interface of the to-be-tested beacon device, thereby providing a test condition of the first test mode, writes the line loss value into the test configuration of the first test device, and sends first working information to the to-be-tested beacon device, so that the to-be-tested beacon device is in a first working state based on the first working information; then, the control first test device tests the performance parameter of the to-be-tested beacon device in the first working state.

[0158] Referring to Figure 5 , a scene diagram of controlling the first test device to test in the first test mode is shown. As Figure 5 shown, since the first test device has first performed line loss testing, the two ends of the test line are connected with the two ports of the first test device, and when the performance parameter testing in the first test mode is performed, since the first test mode is a mode of only transmitting or receiving signals, the to-be-tested beacon device needs to be connected with the first test device through the test line. In this case, the terminal can send a second control instruction to the mechanical arm, and the second control instruction is used to instruct the mechanical arm to switch one end of the test line to be connected with the antenna interface of the to-be-tested beacon device.

[0159] The antenna interface is an interface for transmitting and receiving signals of the to-be-tested beacon device. Specifically, as Figure 5 shown, the mechanical arm can remove either end of the test line from the test port of the first test device and connect it with the antenna interface. In this way, one end of the test line is connected with the to-be-tested beacon device, and the other end is connected with the first test device, thereby realizing the physical connection between the first test device and the to-be-tested beacon device.

[0160] Here, it should be noted that the connection between the test line and the test port can be coupling, lapping or other connection modes, as long as the electrical connection between the test line and the test port is realized. Similarly, the connection between the test line and the antenna interface can also be coupling, lapping or other connection modes.

[0161] When the mechanical arm completes the switching of the test line, the terminal can generate first working information based on the test configuration written with the target measurement parameter (for example, the line loss value), and send the first working information to the to-be-tested beacon device, so that the to-be-tested beacon device is in a first working state based on the first working information. The second working state can be a working state in which the to-be-tested beacon device only sends signals to the first test device, or can be a working state in which the to-be-tested beacon device only receives signals sent by the first test device;

[0162] Correspondingly, the first test device is only responsible for receiving the signal sent by the to-be-tested beacon device when the to-be-tested beacon device is in the working state of sending signals to the first test device only, and the first test device is only responsible for sending signals to the to-be-tested beacon device when the to-be-tested beacon device is in the working state of receiving signals sent by the first test device only.

[0163] In a specific implementation, the terminal sends the first test instruction to the first test device while sending the first working information to the to-be-tested beacon device, and the first test instruction is used to instruct the first test device to test the performance parameter of the to-be-tested beacon device based on the first test mode. For example, the to-be-tested beacon device only sends signals, and the first test device obtains the performance parameter of the to-be-tested beacon device based on the received signals; for example, the to-be-tested beacon device only receives signals, and the first test device obtains the performance parameter of the to-be-tested beacon device based on the sent signals.

[0164] The specific test process is described in detail through two examples as follows.

[0165] Example 1: The terminal sends the first working information to the to-be-tested beacon device and sends the first test instruction to the first test device, the to-be-tested beacon device is in the state of sending signals only based on the first working information, the first test device determines the received signals sent by the to-be-tested beacon device, and feeds back the measured signal strength, size and other performance parameters to the test software of the terminal, and the test software obtains the first performance parameter of the to-be-tested beacon device based on the configuration parameter in the first working information and the received performance parameter fed back by the first test device.

[0166] Example 2: The terminal sends the first working information to the to-be-tested beacon device and sends the first test instruction to the first test device, the to-be-tested beacon device is in the state of receiving signals only based on the first working information, the first test device sends signals to the to-be-tested beacon device, and feeds back the signal strength, size and other performance parameters of the sent signals to the test software of the terminal, and the to-be-tested beacon device also feeds back the received signals to the terminal through a serial port, and the test software obtains the first performance parameter of the to-be-tested beacon device based on the received signals of the to-be-tested beacon device and the sent signals of the first test device.

[0167] In practice, the first test device can be controlled to test the performance parameter of the to-be-tested beacon device when the to-be-tested beacon device only sends signals and to test the performance parameter of the to-be-tested beacon device when the to-be-tested beacon device only receives signals, and in this case, the two tests need to be performed separately.

[0168] In some embodiments, different test devices can be used to perform different tests, for example, a first test device can be used only for line loss test, one second test device can be used for non-signaling mode test, and another second test device can be used for signaling mode test; or the performance indicators tested by different test devices can overlap, for example, a first test device can be used for line loss test and non-signaling mode test, and a second test device can be used for non-signaling mode and signaling mode test.

[0169] Among them, for the second test device, it can perform signaling mode test, or it can perform signaling mode test, or it can perform both signaling mode test and signaling mode test.

[0170] Among them, in order to improve the test efficiency, when the first test device can perform line loss test and non-signaling mode test, in order to avoid the first test device and the second test device having test overlapping indicators, the second test device can perform signaling mode test. In this case, the second performance parameter includes the performance parameter when the second test mode is performed, and the second test mode is the mode of signal receiving and signal sending, that is, the signaling mode.

[0171] In specific implementation, when the second test device controls the second performance parameter of the to-be-tested beacon device based on the target measurement parameter, the second working information can be sent to the to-be-tested beacon device based on the test configuration after the target measurement parameter is written, so that the to-be-tested beacon device is in the second working state based on the second working information; and the performance parameter of the to-be-tested beacon device in the second working state is tested based on the second test mode.

[0172] In specific implementation, the terminal sends the second test instruction to the second test device at the same time when the second working information is sent to the to-be-tested beacon device, and the second test instruction is used to instruct the second test device to test the performance parameter of the to-be-tested beacon device based on the second test mode.

[0173] Among them, the to-be-tested beacon device can respond to the second working information and communicate with the second test device as an analog base station, in this case, the to-be-tested beacon device and the second test device can be connected without test line, then the sending and receiving of signals between the to-be-tested beacon device and the second test device, that is, the to-be-tested beacon device sends signals to the second test device while receiving signals sent by the second test device.

[0174] Then the first test device can test the performance parameter based on the received signal and the signal sent to the to-be-tested beacon device.

[0175] Through an example, the specific test process is described as follows:

[0176] In example 3, the terminal sends second working information to the to-be-tested beacon device and sends second test instructions to the second test equipment, the to-be-tested beacon device is in a working state of sending signals to the second test equipment and receiving signals sent by the second test equipment based on the second working information;

[0177] The second test equipment feeds back the following parameters to the test software of the terminal: signal strength, size and other performance parameters of the signals sent to the to-be-tested beacon device, and signal strength, size and other performance parameters of the received signals.

[0178] The terminal can obtain the following parameters of the to-be-tested beacon device: signal strength, size and other performance parameters of the signals sent to the second test equipment, and signal strength, size and other performance parameters of the received signals.

[0179] In this way, the test software of the terminal can obtain the second performance parameters of the to-be-tested beacon device based on the above parameters.

[0180] Of course, in other embodiments, in order to improve the test accuracy, so as to compare the test results of different test equipment for the same mode, thereby improving the test accuracy, the second test equipment can also be used for non-signaling mode test.

[0181] In this case, the second performance parameters include performance parameters in the first test mode, and the first test mode is a mode of only sending or receiving signals. Specifically, the process of controlling the second test equipment to perform non-signaling mode test can be as follows:

[0182] The mechanical arm is controlled to connect one end of the test signal line to the antenna interface of the to-be-tested beacon device and the other end to a test port of the second test equipment, so as to provide working conditions of the first test mode. Then, the first working information is sent to the to-be-tested beacon device based on the test configuration after the target measurement parameter is written, so that the to-be-tested beacon device is in the first working state based on the first working information. Then, the second test equipment is controlled to test the performance parameters of the to-be-tested beacon device in the first working state.

[0183] The process of controlling the second test equipment to test the performance parameters of the to-be-tested beacon device in the first working state can refer to the process of controlling the first test equipment to test the to-be-tested beacon device, which will not be described here.

[0184] Of course, in this embodiment, the second test equipment can also perform signaling mode test, wherein the signaling mode test can be performed first and then the non-signaling mode test, or the non-signaling mode test can be performed first and then the signaling mode test.

[0185] It should be noted that the first performance parameter measured in the first test mode can include a power attenuation parameter of a signal transmitted by the to-be-tested beacon device, a frequency offset of signals of different channels received by the to-be-tested beacon device, a receiving sensitivity parameter, and the like. The second performance parameter measured in the second test mode can include a power attenuation parameter of a signal transmitted by the to-be-tested beacon device, a frequency error, a frequency offset of signals of different channels received by the to-be-tested beacon device, a receiving sensitivity parameter, a signal quality parameter, and the like.

[0186] Wherein, after all the test devices complete the test on the to-be-tested beacon device, the test results of the test performed by each test device can be obtained. Since different test devices and test software can be produced by different manufacturers, the test results can be different data formats, resulting in different file formats output by the test software of each test device. Referring to Figure 6 and Figure 7 , a schematic diagram of two output data formats is shown.

[0187] As shown in Figure 6 , although the test item test results have been listed more clearly, it still requires a lot of effort to find the results under a certain channel and a certain rate; as shown in Figure 7 , although the entire performance parameters under a certain channel and a certain rate are relatively easy to distinguish, the comparison of different channels under the same rate is not very intuitive.

[0188] Therefore, the present disclosure unifies the test results of each test device for the convenience of user analysis and comparison. The user can conveniently view the test results of the to-be-tested beacon device tested by multiple test devices, and the user analysis and comparison are facilitated.

[0189] In specific implementation, the third performance parameter belonging to the multiple target test items can be obtained from the first performance parameter and the second performance parameter obtained by the test; the third performance parameter is filled into the cells corresponding to the multiple preset table headers in the preset test table to obtain a target test report.

[0190] Wherein, the multiple preset table headers correspond to the multiple target test items.

[0191] In the embodiment, the first performance parameter can be obtained from the test report output by the test software corresponding to the first test device, and the second performance parameter can be obtained from the test report output by the test software corresponding to the second test device. The second performance parameter and the first performance parameter can include performance parameters in the same test mode, for example, both can include performance parameters in the first test mode.

[0192] In practice, the first performance parameter and the second performance parameter can both include parameters of the same attribute, for example, both including a receiving sensitivity parameter, a frequency offset, and the like.

[0193] In this embodiment, the third performance parameter belonging to the plurality of target test items can be obtained from the first performance parameter, and the third performance parameter belonging to the plurality of target test items can be obtained from the second performance parameter.

[0194] The setting of the target test item can be set according to actual test requirements, one target test item corresponds to one performance index to be tested, for example, the power attenuation parameter corresponds to the performance index of the signal transmission power.

[0195] In specific implementation, the third performance parameter can be obtained and filled into the cells corresponding to the plurality of preset table headers in the preset test table, wherein each preset table header corresponds to a target test item, and when filling, the third performance parameter belonging to the target test item can be filled into the cells in the column where the preset table header is located according to the correspondence between the target test item and the preset table header. Of course, if a target test item includes a performance parameter obtained from the first performance parameter and a performance parameter obtained from the second performance parameter, the two performance parameters can be filled into two cells of the preset table header respectively, and the device identifier can be added in the header of the row (the leftmost cell in a row) to indicate the source of the third performance parameter of the cell.

[0196] The target test report can be generated based on the preset test table filled with the third performance parameter, and the target test report can be named with the identifier of the to-be-tested beacon device, or named with the identifier of the to-be-tested beacon device and the test time, so as to distinguish the test results of different beacon devices at different times.

[0197] In this way, in practice, the user can design the style of the preset test table in advance, so as to reorganize the results tested by different test devices according to the style of the preset test table, thereby facilitating the comparison and viewing of the user.

[0198] It should be noted that whether the first performance parameter and the second performance parameter are crossed or not, the desired data can be obtained from the first performance parameter, as long as the target test item is designed in advance.

[0199] In some embodiments, two unified schemes are given.

[0200] Scheme one: the test results of the first test mode and the second test mode are separated in two worksheets for comparison respectively.

[0201] In implementation, the performance parameter of the test item belonging to the first test mode in the third performance parameter can be filled into the cell corresponding to the preset table header in the first worksheet;

[0202] The performance parameter of the test item belonging to the second test mode in the third performance parameter can be filled into the cell corresponding to the preset table header in the second worksheet.

[0203] In the embodiment, the preset test table can include a first worksheet for recording the test result of the first test mode and a second worksheet for recording the test result of the second test mode; and the target test item can also include the test item of the first test mode and the test item of the second test mode. It should be noted that the test item of the first test mode and the test item of the second test mode can still have overlapping test items.

[0204] Since the test is performed according to a certain test mode each time, the first performance parameter and the second performance parameter can both include the performance parameter under each test mode. Therefore, after the performance parameter belonging to the target test item is obtained from the first performance parameter, the first test mode performance parameter and the second test mode performance parameter in the extracted performance parameter can be further classified according to the test mode. The performance parameter of the test item belonging to the first test mode can be filled into the cell corresponding to the preset table header in the first worksheet; and the performance parameter of the test item belonging to the second test mode can be filled into the cell corresponding to the preset table header in the second worksheet.

[0205] The extraction of the second performance parameter can refer to the above process. The style of the first worksheet and the style of the second worksheet can be different, and in practice, the style of the first worksheet and the style of the second worksheet can be designed by the user.

[0206] In this way, the performance parameters obtained by tests under different test modes can be displayed separately in two worksheets, which facilitates the comparison and viewing of the user.

[0207] Scheme two: separate the test results of different test devices in two worksheets for comparison.

[0208] In implementation, the third performance parameter belonging to the first test device can be filled into the cell corresponding to the preset table header in the third worksheet; and the third performance parameter belonging to the second test device can be filled into the cell corresponding to the preset table header in the fourth worksheet.

[0209] In this embodiment, the preset test table can include a first worksheet for recording test results of the first test, and a second worksheet for recording test results of the second test device; wherein, after obtaining the performance parameters belonging to the target test item from the first performance parameters, the extracted performance parameters are filled into the cells corresponding to the corresponding preset table headers in the third worksheet; after obtaining the performance parameters belonging to the target test item from the second performance parameters, the extracted performance parameters are filled into the cells corresponding to the corresponding preset table headers in the fourth worksheet.

[0210] By adopting this scheme, the performance parameters obtained by different test devices can be separated in two worksheets, so that the user can conveniently compare the test performances of test devices produced by different manufacturers, and comprehensively obtain the test results of multiple test devices, so as to obtain more accurate performance test results of the to-be-tested beacon device.

[0211] The filling process can refer to the description in the above embodiment.

[0212] In combination with the above scheme, further, in some embodiments, scheme three is provided:

[0213] In scheme three, the performance parameters belonging to the target test item of the second test mode in the third performance parameters are filled into the cells corresponding to the corresponding preset table headers in the fifth worksheet, and the performance parameters belonging to the target test item of the first test mode in the third performance parameters are filled into the cells corresponding to the corresponding preset table headers in the sixth worksheet and the cells corresponding to the corresponding preset table headers in the seventh worksheet.

[0214] The sixth worksheet is used for recording the performance parameters belonging to the target test item of the first test mode of the first test device, the seventh worksheet is used for recording the performance parameters belonging to the target test item of the first test mode of the second test device, and the fifth worksheet is used for recording the performance parameters belonging to the target test item of the second test mode of the two test devices.

[0215] When this embodiment is adopted, the test results of the test devices under the same test mode can be displayed in different worksheets, so as to facilitate the user to compare the test differences of test devices produced by different manufacturers for the same test mode.

[0216] Next, by means of a specific example, in combination with Figure 1 the application scenario shown in the figure, a test method of the present disclosure is described, and Figure 8 is shown, an exemplary flow of the test method of the present disclosure is shown, as Figure 8 shown:

[0217] S1: software integration, the test software of the two test devices is integrated into the terminal through the corresponding interface.

[0218] S2: Test preparation

[0219] The IP addresses of the two test devices are written into the configuration file of the terminal, and the IP address of the terminal is changed to the same network segment as the test device 102. Then the connectivity is detected. After no error is found, the connectivity between the test device 101 and the terminal is tested by the same method.

[0220] After the test is completed, the terminal pops up an interface, and the target power value of the WiFi module 802.11b / g / n / ac / ax written by the user on the interface is obtained (if other frequency offset, EVM threshold, etc. can also be written into this control group file);

[0221] Of course, during the test, the beacon device to be tested can include a beacon device as an actual device to be tested and a beacon device as a control group. Whether it is an actual beacon device to be tested or a beacon device as a control, the performance test method can follow the same process.

[0222] S3: Line loss test

[0223] The terminal controls the mechanical arm to install the two ends of the test line to port 1 and port 2 of the test device 102, and starts to measure the line loss. The test line can be an RF (Radio Frequency) test line.

[0224] S4: The measured line loss value is stored in the test configuration, specifically, it can be saved to a preset address.

[0225] S5: Non-signaling mode test

[0226] The end of the RF test line connected to port 1 is switched to be connected to the antenna interface of the WiFi module by controlling the mechanical arm, and the other end is still connected to the test device 102. The line loss value is read from the preset address and written into the test configuration of the first test device. When performing the non-signaling mode test, based on the test configuration after writing the line loss value, the first working information is sent to the WiFi module, and the WiFi module starts to only transmit signals to the test device 102. At this time, the test device 2 is controlled to perform the non-signaling mode test.

[0227] The test data obtained by the test device 102 during the test is fed back to the test software of the terminal. The test software outputs the first performance parameter based on the test data and the first working information.

[0228] S6: After the mechanical arm measures the line loss and the performance parameters in the non-signaling mode by the test device 102, the mechanical arm controls the connection of one end of the RF test line to port 2 to switch to the port connected to the test device 101, and starts the test in the non-signaling mode. At this time, the WiFi module can be tested to transmit signals to the test device 101 only, so as to facilitate the comparison between the two, and the test process refers to step S5.

[0229] S7: The mechanical arm disconnects the two ports of the RF test line from the test device 101 and the antenna interface of the WiFi module, and starts the test in the signaling mode.

[0230] During the test, the test device 101 simulates the base station to communicate with the WiFi module, and the WiFi module transmits signals to the test device 101 and receives signals transmitted by the test device 101.

[0231] The test data obtained by the test device 101 during the test is fed back to the test software of the terminal, and similarly, some parameters of the signals received and transmitted by the WiFi module during the test are also fed back to the test software of the terminal. The test software outputs the second performance parameters based on the received data.

[0232] S8: Obtain the test data and test report output by the test software corresponding to the test device 101 and the test software corresponding to the test device 102, wherein the test report contains the test data.

[0233] S9: Simplify and optimize the output data to form a target test report, and the target test report refers to Figure 9 as shown.

[0234] As Figure 9 shown, the target test items can include power, error vector magnitude, frequency error, power attenuation and other test items of the signal transmitted by the to-be-tested beacon device, and the third performance parameters belonging to these test items obtained from the second performance parameters and the first performance parameters are written into the corresponding positions of the power row. For example, the power of channel 1 is written into the cell under channel 1. According to this filling mode, the performance parameters measured by the two test devices can be displayed in one sample table, thereby facilitating the user to view.

[0235] Based on the same inventive concept, the present disclosure also provides a test system of a beacon device, which refers to Figure 10 as shown. The test system includes a terminal and at least two test devices.

[0236] The terminal is configured with an interface corresponding to each of the two test devices and a serial port connected to the to-be-tested beacon device, so as to call the test software corresponding to the test device through the interface and connect the to-be-tested beacon device through the serial port.

[0237] The terminal and the test device are connected through network communication, so as to switch different test devices for corresponding tests in the test process. The process of network communication and the process of switching different test devices can be found in the above-mentioned embodiments of the test method.

[0238] In some embodiments, the at least two test devices include a test device for measuring line loss value and a test device for testing performance parameters in a second test mode; the second test mode is a signal sending and receiving mode.

[0239] As described in the above embodiments, different test devices can be used for different tests. For example, the first test device can be used only for line loss test, and one second test device can be used for testing in the second test mode.

[0240] The test device for measuring line loss value is also used for testing performance parameters in a first test mode; and / or, the test device for testing performance parameters in a second test mode is also used for testing performance parameters in a first test mode; the first test mode is a signal sending only or receiving only mode.

[0241] In this embodiment, the first test device can be used for line loss test and non-signaling mode test, and the second test device can be used for non-signaling mode test and signaling mode test, so that the tests of the two devices overlap.

[0242] In order to realize high automation of the test process, the system further includes a mechanical arm, which is used to connect two ends of a test line of the to-be-tested beacon device to two test ports of the first test device in response to the test of the target measurement parameter; and is used to connect one end of the test line to an antenna interface of the to-be-tested beacon device and the other end to a test port of the first test device or a test port of the second test device in response to the test of the first test mode.

[0243] In the test of the first test mode, if the test is performed by the first test device, one end of the test line is connected to the antenna interface of the to-be-tested beacon device and the other end is connected to the test port of the first test device; similarly, if the test is performed by the second test device, one end of the test line is connected to the antenna interface of the to-be-tested beacon device and the other end is connected to the test port of the second test device.

[0244] Based on the same inventive concept, the present disclosure also provides a testing device, referring to Figure 11 As shown in FIG. 1, a structural schematic diagram of the testing device is shown, which can be located at a terminal, and specifically includes the following modules:

[0245] A first testing module 1101 is configured to control a first testing device of a plurality of testing devices to test a first performance parameter of a to-be-tested beacon device in response to a test on the to-be-tested beacon device, the first performance parameter including a target measurement parameter that can be used by the plurality of testing devices;

[0246] A sharing module 1102 is configured to share the target measurement parameter to a second testing device, wherein the second testing device is any testing device of the plurality of testing devices except the first testing device,

[0247] A second testing module 1103 is configured to control the second testing device to test a second performance parameter of the to-be-tested beacon device based on the target measurement parameter, wherein the first performance parameter is different from the second performance parameter, or the first performance parameter and the second performance parameter have intersections.

[0248] Optionally, the device further includes:

[0249] An extraction module is configured to obtain a third performance parameter belonging to a plurality of target test items from the first performance parameter and the second performance parameter obtained by testing, respectively;

[0250] A filling module is configured to fill the third performance parameter into cells corresponding to a plurality of preset table headers in a preset test table to obtain a target test report, wherein the plurality of preset table headers correspond to the plurality of target test items.

[0251] Optionally, the plurality of target test items include test items of a first test mode and a second test mode, and the preset test table includes a first worksheet and a second worksheet, and the filling module includes:

[0252] A first filling unit is configured to fill performance parameters of test items belonging to the first test mode in the third performance parameter into cells corresponding to the respective preset table headers in the first worksheet;

[0253] A second filling unit is configured to fill performance parameters of test items belonging to the second test mode in the third performance parameter into cells corresponding to the respective preset table headers in the second worksheet.

[0254] Optionally, the preset test table includes a third worksheet corresponding to the first testing device and a fourth worksheet corresponding to the second testing device, and the filling module includes:

[0255] a third filling unit, configured to fill a third performance parameter belonging to the first test device into a cell corresponding to a preset table header in the third worksheet;

[0256] a fourth filling unit, configured to fill a third performance parameter belonging to the second test device into a cell corresponding to a preset table header in the fourth worksheet.

[0257] Optionally, the terminal is further in communication connection with a mechanical arm, and the target measurement parameter includes a line loss value, and the first test module includes:

[0258] a first control unit, configured to control the mechanical arm to connect two ends of a test line of the to-be-tested beacon device to two test ports of the first test device, respectively;

[0259] a line loss test unit, configured to control the first test device to perform line loss test on the test line, to obtain a line loss value corresponding to the to-be-tested beacon device.

[0260] Optionally, the first performance parameter includes a performance parameter in a first test mode, and the first test mode is a signal-only transmitting or signal-only receiving mode; and the apparatus further includes:

[0261] a second control unit, configured to control the mechanical arm to switch any end of the test line to be connected to an antenna interface of the to-be-tested beacon device, to provide a test condition of the first test mode;

[0262] a first sending unit, configured to send first working information to the to-be-tested beacon device after the line loss value is written into a test configuration of the first test device, to enable the to-be-tested beacon device to be in a first working state based on the first working information;

[0263] a first test unit, configured to control the first test device to test a performance parameter of the to-be-tested beacon device in the first working state.

[0264] Optionally, the second performance parameter includes a performance parameter in a second test mode, and the second test mode is a signal receiving and signal transmitting mode; and the second test module includes:

[0265] a second sending unit, configured to send second working information to the to-be-tested beacon device based on a test configuration after the target measurement parameter is written, to enable the to-be-tested beacon device to be in a second working state based on the second working information;

[0266] The second test unit is configured to control the second test device to test a performance parameter of the to-be-tested beacon device in the second working state based on the second test mode.

[0267] Optionally, the second performance parameter comprises a performance parameter in a first test mode, and the first test mode is a signal transmitting-only or receiving-only mode.

[0268] The third control unit is configured to control the mechanical arm to connect one end of a test signal line to an antenna interface of the to-be-tested beacon device and connect the other end of the test signal line to a test port of the second test device, so as to provide a working condition of the first test mode.

[0269] The third sending unit is configured to send first working information to the to-be-tested beacon device based on the test configuration after the target measurement parameter is written, so that the to-be-tested beacon device is in the first working state based on the first working information.

[0270] The third test unit is configured to control the second test device to test a performance parameter of the to-be-tested beacon device in the first working state.

[0271] Optionally, the first test module comprises:

[0272] The connection establishing unit is configured to establish a first connection between the terminal and the first test device in response to the test of the to-be-tested beacon device.

[0273] The test unit is configured to control the first test device to test a first performance parameter of the to-be-tested beacon device based on the first connection.

[0274] The second test module comprises:

[0275] The switching unit is configured to switch the first connection to a second connection between the terminal and the second test device.

[0276] The test unit is configured to control the second test device to test a second performance parameter of the to-be-tested beacon device based on the target measurement parameter based on the second connection.

[0277] Optionally, the connection establishing unit is specifically configured to adjust a network segment in which the terminal is located to a first network segment in which the first test device is located, and establish the first connection in a local area network of the first network segment.

[0278] The switching unit is specifically configured to switch a current network segment in which the terminal is located to a second network segment in which the second test device is located, and establish the second connection in a local area network of the second network segment.

[0279] Optionally, the connection establishing unit is specifically configured to adjust the original network segment where the first test device is located to the target network segment where the terminal is located, and establish the first connection in the local area network of the target network segment.

[0280] The switching unit is specifically configured to switch the first test device from the target network segment to the original network segment, and switch the original network segment where the second test device is located to the target network segment; and establish the second connection in the local area network of the target network segment.

[0281] Optionally, the sharing module comprises:

[0282] A writing unit is configured to store the target measurement parameter to a preset address, and the preset address is open to multiple test devices.

[0283] A calling unit is configured to call an interface corresponding to the second test device, and write the target measurement parameter read from the preset address into the target configuration item of the test configuration.

[0284] It should be noted that the device embodiment is similar to the method embodiment, and therefore the description is relatively simple, and the related parts can be referred to the method embodiment.

[0285] Based on the same inventive concept, the present disclosure further provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the test method according to the embodiments when executed.

[0286] The present disclosure further provides a computer readable storage medium storing a computer program, which causes the processor to execute the test method according to the embodiments of the present disclosure.

[0287] Each embodiment in the present specification is described in a progressive manner, and each embodiment focuses on the difference from other embodiments. The same and similar parts between the embodiments can be referred to each other.

[0288] Those skilled in the art should understand that the embodiments of the present disclosure can be provided as a method, device, or computer program product. Therefore, the present disclosure can be in the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present disclosure can be in the form of a computer program product implemented on one or more computer usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer usable program code.

[0289] The computer program instructions can also be loaded onto a computer or other programmable data processing terminal apparatus to cause a series of operational steps to be performed on the computer or other programmable data terminal apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal apparatus provide steps for implementing the functions specified in the flowchart block or blocks. Figure 1 one or more flowcharts and / or blocks Figure 1 means for functionally implementing the steps listed in the flowchart block or blocks.

[0290] These computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing terminal apparatus to function in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture including instructions which implement the function specified in the flowchart block or blocks. Figure 1 one or more flowcharts and / or blocks Figure 1 means for functionally implementing the steps listed in the flowchart block or blocks.

[0291] The computer program instructions can also be loaded onto a computer or other programmable data processing terminal apparatus to cause a series of operational steps to be performed on the computer or other programmable data terminal apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal apparatus provide steps for implementing the functions specified in the flowchart block or blocks. Figure 1 one or more flowcharts and / or blocks Figure 1 Figure 1 means for functionally implementing the steps listed in the flowchart block or blocks.

[0292] While preferred embodiments of the present disclosure have been described, additional modifications and changes can occur to those skilled in the art once they gain an understanding of the basic inventive concepts. Therefore, it is intended that the appended claims shall be construed to include all such modifications and changes as fall within the true spirit and scope of the present disclosure.

[0293] Finally, it needs to be pointed out that in this article, the relationship terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between the entities or operations. Moreover, the terms "include", "contain" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or terminal device including a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such process, method, article or terminal device. Without more limitations, the element defined by the statement "including a" does not exclude the presence of other identical elements in the process, method, article or terminal device including the element.

[0294] The above describes in detail a test method, device, system and storage medium provided by the present disclosure. The principles and implementation modes of the present disclosure are described by applying specific examples in this article. The above description of the embodiments is only used to help understand the method of the present disclosure and its core idea; at the same time, for those skilled in the art, according to the idea of the present disclosure, the specific implementation mode and application range will be changed; in view of the above, the content of the specification should not be understood as a limitation of the present disclosure.

Claims

1. A testing method, characterized in that: Applied to a terminal, the method includes: In response to testing the beacon device to be tested, controlling a first test device among a plurality of test devices to test a first performance parameter of the beacon device to be tested, where the first performance parameter includes a target measurement parameter that can be used by the plurality of test devices; Sharing the target measurement parameter with a second test device; wherein the second test device is any test device among the plurality of test devices except the first test device; Controlling the second test device to test a second performance parameter of the beacon device to be tested based on the target measurement parameter; wherein the first performance parameter is different from the second performance parameter, or the first performance parameter and the second performance parameter have an intersection; The step of sharing the target measurement parameter with the second test device includes: storing the target measurement parameter to a preset address, where the preset address is open to a plurality of the test devices; An interface corresponding to the second test device is called to read the target measurement parameter from the preset address and write the target measurement parameter into the test configuration of the second test device.

2. The testing method according to claim 1, wherein: After controlling the second test device to test the second performance parameter of the beacon device to be tested based on the target measurement parameter, the method further includes: Obtaining third performance parameters belonging to multiple target test items from the first performance parameter and the second performance parameter obtained by the test; Filling the third performance parameter into cells corresponding to multiple preset table headers of a preset test table to obtain a target test report; Wherein, the plurality of preset headers correspond to the plurality of target test items.

3. The testing method according to claim 2, wherein: The multiple target test items include test items of a first test mode and a second test mode, the preset test table includes a first worksheet for recording performance parameters of the first test mode and a second worksheet for a user to record performance parameters of the second test mode, and the filling the third performance parameter into cells corresponding to multiple preset table headers of the preset test table includes: Filling the performance parameters of the test items belonging to the first test mode in the third performance parameters into the cells corresponding to the corresponding preset headers in the first worksheet; Fill the performance parameters of the test items belonging to the second test mode in the third performance parameters into the cells corresponding to the corresponding preset headers in the second worksheet.

4. The testing method according to claim 2, wherein: The preset test table includes a third work table corresponding to the first test device and a fourth work table corresponding to the second test device; Filling the third performance parameter into cells corresponding to a plurality of preset table headers of a preset test table includes: Filling the third performance parameter of the first test device into the cell corresponding to the corresponding preset table header in the third worksheet; Fill the third performance parameter of the second test device into the cell corresponding to the corresponding preset header in the fourth worksheet.

5. The testing method according to claim 1, wherein: The terminal is further in communication with the robotic arm, the target measurement parameter includes a line loss value, and controlling a first test device among the plurality of test devices to test a first performance parameter of the beacon device to be tested includes: Controlling the robotic arm to connect two ends of the test line of the beacon device to be tested to two test ports of the first test equipment respectively; Control the first test device to perform a line loss test on the test line to obtain a line loss value corresponding to the beacon device to be tested.

6. The testing method according to claim 5, characterized in that: The first performance parameter includes a performance parameter in a first test mode, where the first test mode is a signal-only transmission or signal-only reception mode. After controlling the first test device to perform a line loss test on the test line, the method further includes: Controlling the robotic arm to switch either end of the test line to be connected to the antenna interface of the beacon device to be tested, so as to provide the test conditions of the first test mode; After writing the line loss value into the test configuration of the first test device, sending first working information to the beacon device to be tested, so that the beacon device to be tested is in a first working state based on the first working information; Control the first testing device to test the performance parameters of the beacon device to be tested when it is in the first working state.

7. The testing method according to claim 1, wherein: The second performance parameter includes a performance parameter in a second test mode, and the second test mode is a signal receiving and signal sending mode; The controlling the second testing device to test the second performance parameter of the beacon device to be tested based on the target measurement parameter includes: sending second working information to the beacon device to be tested based on the test configuration after writing the target measurement parameters, so that the beacon device to be tested is in a second working state based on the second working information; Based on the second test mode, the second test device is controlled to test the performance parameters of the beacon device to be tested when it is in the second working state.

8. The testing method according to claim 1 or 7, characterized in that: The terminal is further in communication with the robotic arm, and controlling the second test device to test the second performance parameter of the beacon device to be tested based on the target measurement parameter includes: Controlling the robotic arm to connect one end of the test signal line to the antenna interface of the beacon device to be tested, and the other end to a test port of the second test device, so as to provide working conditions of a first test mode, where the first test mode is a mode of only sending or only receiving signals; sending first working information to the beacon device to be tested based on the test configuration after writing the target measurement parameters, so that the beacon device to be tested is in a first working state based on the first working information; Control the second testing device to test the performance parameters of the beacon device to be tested when it is in the first working state.

9. The testing method according to claim 1, wherein: The controlling a first test device among the plurality of test devices to test a first performance parameter of the beacon device to be tested includes: In response to testing the beacon device to be tested, establishing a first connection with the first test equipment; Based on the first connection, controlling the first testing device to test a first performance parameter of the beacon device to be tested; The controlling the second test device to test the second performance parameter of the beacon device to be tested based on the target measurement parameter includes: Switching the first connection to a second connection with the second test device; Based on the second connection, the second testing device is controlled to test a second performance parameter of the beacon device to be tested based on the target measurement parameter.

10. The testing method according to claim 9, characterized in that: The establishing a first connection with the first test device includes: Adjusting the network segment where the terminal is located to the first network segment where the first test device is located, and establishing the first connection in the local area network of the first network segment; Switching the first connection to a second connection with the second test device includes: The current network segment where the terminal is located is switched to the second network segment where the second test device is located, and the second connection is established in the local area network of the second network segment.

11. A beacon device testing system, characterized in that: Including a terminal, and at least two types of test equipment; The terminal is configured with interfaces corresponding to at least two of the test devices, and a serial port connected to the beacon device to be tested, so as to call the test software corresponding to the test device through the interface and connect to the beacon device to be tested through the serial port; wherein the terminal and the test device are connected via network communication; The terminal is used to execute the test method according to any one of claims 1 to 10.

12. The test system according to claim 11, characterized in that: Also included is a robotic arm in communication with the terminal; wherein: The robotic arm is used to connect two ends of the test line of the beacon device to be tested to two test ports of the first test equipment in response to the test of the target measurement parameter; and, for connecting one end of the test line to the antenna interface of the beacon device to be tested and the other end to the test port of the first test device or the test port of the second test device in response to a test in the first test mode; The first test mode is a signal-only transmission or signal-only reception mode.

13. The test system according to claim 11, wherein: The at least two test devices include: a test device for measuring line loss value, and a test device for testing performance parameters in a second test mode; The second test mode is a signal sending and signal receiving mode.

14. The test system according to claim 13, wherein: The test equipment for measuring line loss value is also used to test performance parameters in the first test mode; and / or, the test equipment for testing performance parameters in the second test mode is also used to test performance parameters in the first test mode.

15. A testing device, characterized in that: The device is applied to a terminal and includes: a first testing module, configured to control a first testing device among a plurality of testing devices to test a first performance parameter of the beacon device to be tested in response to a test of the beacon device to be tested, where the first performance parameter includes a target measurement parameter that can be used by the plurality of testing devices; a sharing module, configured to share the target measurement parameter with a second test device; wherein the second test device is any test device among the plurality of test devices except the first test device, a second testing module, configured to control the second testing device to test a second performance parameter of the beacon device to be tested based on the target measurement parameter; wherein the first performance parameter is different from the second performance parameter, or the first performance parameter and the second performance parameter overlap; The shared module includes: a writing unit, configured to store the target measurement parameter to a preset address, wherein the preset address is open to a plurality of the test devices; The calling unit is configured to call an interface corresponding to the second test device to read the target measurement parameter from the preset address and write the target measurement parameter into a test configuration of the second test device.

16. A computer-readable storage medium, characterized in that The computer program stored therein enables the processor to execute the testing method according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • Method and device for performing testing based on plurality of devices under test

    CN105573882A