Set top box performance test method and system
By using the upper computer to send enable and connect instructions in the set-top box performance test, obtaining RSSI values and comparing them with the preset range, the problems of vulnerability to interference, low accuracy and low efficiency in the prior art are solved, and higher test accuracy and efficiency are achieved.
Patent Information
- Application Number
- CN202510200565.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-24
- Publication Date
- 2025-05-09
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the prior art, set-top box WIFI performance testing is susceptible to interference, has low test accuracy and low test efficiency.
The upper computer sends enable commands to the set-top box to be tested and starts the WIFI module, and sends WIFI connection instructions according to multiple preset frequency bands to establish a WIFI connection, obtains the RSSI value, and compares with the preset RSSI range to determine whether the performance is qualified.
It improves the anti-interference ability of set-top box WIFI performance testing, enhances the accuracy of the test, breaks through the limitations of the traditional one-to-one testing mode, and improves the testing efficiency.
Smart Images

Figure HDA0005282926090000011 
Figure HDA0005282926090000021 
Figure HDA0005282926090000022
Abstract
Description
Technical Field
[0001] The present application relates to the field of set-top box testing, and in particular to a set-top box performance testing method and system. Background Art
[0002] As a key device that connects TVs to various digital signal sources, the control of set-top box production quality is crucial. In the production test of set-top boxes, traditional testing methods mainly rely on shielding boxes to test throughput to judge the performance of set-top boxes. However, there are various wireless communication devices and wireless signals generated by other electronic devices being tested in the production workshop, and these wireless signals interfere with each other. Although the shielding box can reduce external interference to a certain extent, it still cannot be completely isolated. This residual wireless signal interference leads to a low accuracy rate in set-top box testing, which may not only misjudge qualified products as unqualified, resulting in a waste of resources, but also may cause set-top boxes with potential problems to be misjudged as qualified, affecting product quality. On the other hand, the traditional throughput test method has obvious limitations. Each station can only test one device at the same time. This one-to-one test mode greatly limits the speed of production testing and cannot meet the needs of batch testing of set-top boxes in large-scale production.
[0003] Therefore, the set-top box WIFI performance test in the prior art is easily interfered, has low test accuracy and low test efficiency. Summary of the invention
[0004] The main purpose of the present application is to provide a set-top box performance testing method and system, aiming to solve the technical problems in the prior art that the set-top box WIFI performance test is easily interfered, has low test accuracy and low test efficiency.
[0005] To achieve the above-mentioned object, the present application provides a set-top box performance test method, which is applied to a set-top box performance test system, wherein the set-top box test system includes a host computer and multiple test routers, and the test router includes multiple test channels; the method includes: sending an enable instruction to a set-top box to be tested through the host computer, and starting a WIFI module of the set-top box to be tested according to the enable instruction, wherein the set-top box to be tested is connected to the host computer through a network cable; according to multiple preset frequency bands, the host computer sequentially sends WIFI connection instructions of corresponding frequency bands to the set-top box to be tested, and establishes a WIFI connection between the WIFI module and a target test channel according to the WIFI connection instruction, and obtains an RSSI value of the corresponding frequency band based on the WIFI connection to obtain multiple RSSI values, wherein the target test channel is a test channel corresponding to the set-top box to be tested; obtaining multiple preset RSSI ranges of multiple preset frequency bands, and comparing the multiple preset RSSI ranges with the multiple RSSI values respectively to obtain comparison results; and judging whether the performance of the set-top box to be tested is qualified according to the comparison results.
[0006] Optionally, the multiple preset frequency bands include at least a 2.4G frequency band and a 5G frequency band.
[0007] Optionally, according to multiple preset frequency bands, WIFI connection instructions of corresponding frequency bands are sent to the set-top box to be tested in sequence, a WIFI connection between the WIFI module and the target measurement channel is established according to the WIFI connection instruction, and an RSSI value of the corresponding frequency band is obtained based on the WIFI connection to obtain multiple RSSI values, including: selecting a first preset frequency band, wherein the first preset frequency band is any one of multiple preset frequency bands; sending a WIFI connection instruction of the first preset frequency band to the set-top box to be tested, and establishing a WIFI connection between the WIFI module and the target measurement channel in the first preset frequency band according to the WIFI connection instruction of the first preset frequency band; based on the WIFI connection of the first preset frequency band, obtaining a first RSSI value of the set-top box to be tested in the first preset frequency band; and sequentially executing the first RSSI value acquisition process for other preset frequency bands among the multiple preset frequency bands to respectively obtain RSSI values corresponding to other preset frequency bands, and generating the multiple RSSI values.
[0008] Optionally, after establishing a WIFI connection between the WIFI module and the target measurement channel in the first preset frequency band according to the WIFI connection instruction of the first preset frequency band, the method further includes: obtaining a network mask value of the set-top box to be tested; judging whether the set-top box to be tested obtains a network address corresponding to the target measurement channel according to the network mask value; if the set-top box to be tested obtains the network address, confirming that the WIFI connection of the first preset frequency band is successfully established.
[0009] Optionally, after starting the WIFI module of the set-top box to be tested according to the enable instruction, the method further includes: sending a calibration detection instruction to the set-top box to be tested through the host computer, and judging whether the WIFI module of the set-top box to be tested has been calibrated according to the calibration detection instruction; after confirming that the WIFI module has been calibrated, sending WIFI connection instructions of corresponding frequency bands to the set-top box to be tested in sequence.
[0010] Optionally, obtaining multiple preset RSSI ranges of multiple preset frequency bands, comparing the multiple preset RSSI ranges with the multiple RSSI values respectively, and obtaining comparison results, includes: obtaining a first preset RSSI range corresponding to the first preset frequency band, wherein the first preset RSSI range is used to characterize the signal reception strength requirement of the set-top box to be tested under the WIFI connection of the first preset frequency band; comparing the first RSSI value with the first preset RSSI range to obtain a first comparison result; and sequentially executing the first comparison result acquisition process for other preset frequency bands among the multiple preset frequency bands to obtain comparison results corresponding to other preset frequency bands, and obtaining the comparison result.
[0011] Optionally, determining whether the performance of the set-top box to be tested is qualified based on the comparison result includes: determining whether the multiple RSSI values are all within the corresponding preset RSSI range; if the multiple RSSI values are all within the corresponding preset RSSI range, determining that the performance of the set-top box to be tested is qualified; if any RSSI value among the multiple RSSI values exceeds the corresponding preset RSSI range, determining that the performance of the set-top box to be tested is unqualified.
[0012] Optionally, the host computer simultaneously performs performance tests on multiple set-top boxes to be tested through multiple test channels, wherein each set-top box to be tested corresponds to one test channel.
[0013] In addition, to achieve the above-mentioned purpose, the present application also provides a set-top box performance testing system for implementing the set-top box performance testing method, the system comprising: a host computer, used to communicate with the set-top box to be tested through a network port, and send function instructions to the set-top box to be tested; multiple test routers, each of the test routers comprising multiple test channels, wherein each of the test channels is used to establish a WIFI connection with one of the set-top boxes to be tested.
[0014] Optionally, the host computer includes: a WIFI enabling control unit, the WIFI enabling control unit is used to send an enabling instruction to the set-top box to be tested through the host computer, and start the WIFI module of the set-top box to be tested according to the enabling instruction, wherein the set-top box to be tested is connected to the host computer through a network cable; a WIFI connection test unit, the WIFI connection test unit is used to send WIFI connection instructions of corresponding frequency bands to the set-top box to be tested in sequence through the host computer according to multiple preset frequency bands, and establish the connection between the WIFI module and the target configuration according to the WIFI connection instruction. A WIFI connection of a test channel is measured, and based on the WIFI connection, an RSSI value of a corresponding frequency band is obtained to obtain multiple RSSI values, wherein the target test channel is a test channel corresponding to the set-top box to be tested; a signal strength comparison unit, the signal strength comparison unit is used to obtain multiple preset RSSI ranges of multiple preset frequency bands, and the multiple preset RSSI ranges are compared with the multiple RSSI values respectively to obtain comparison results; a test result determination unit, the test result determination unit is used to determine whether the performance of the set-top box to be tested is qualified according to the comparison results.
[0015] The beneficial effects that this application can achieve are as follows:
[0016] The host computer sends instructions to the set-top box to be tested, establishes a WIFI connection between the WIFI module of the set-top box to be tested and the target test channel in different preset frequency bands, and obtains the corresponding RSSI value and compares it with the preset RSSI range to determine whether the performance is qualified. Using the RSSI value as a test indicator, there is no need to use a shielding box for throughput testing, avoiding interference from external wireless signals and improving the anti-interference ability of the set-top box WIFI performance test; by obtaining the RSSI value and comparing it with the preset RSSI range, a clear performance judgment standard is established, which can accurately reflect the WIFI reception performance of the set-top box in different frequency bands and improve the accuracy of the test; the host computer can test multiple set-top boxes to be tested simultaneously through multiple test channels, breaking through the limitations of the traditional one-to-one test mode and improving the test efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 A flow chart of a set-top box performance testing method provided in this application;
[0018] Figure 2 A schematic diagram of the structure of a set-top box performance test system provided in this application;
[0019] Figure 3 A schematic diagram of the structure of the host computer provided in this application.
[0020] In the accompanying drawings, the components represented by the reference numerals are as follows:
[0021] A WIFI enabling control unit 11 , a WIFI connection testing unit 12 , a signal strength comparing unit 13 , and a testing result determining unit 14 .
[0022] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0023] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0024] It should be noted that all directional indications in the embodiments of the present invention (such as up, down, left, right, front, back, etc.) are only used to explain the relative position relationship, movement status, etc. between the components under a certain preset posture (as shown in the accompanying drawings). If the preset posture changes, the directional indication will also change accordingly.
[0025] In the present invention, unless otherwise clearly specified and limited, the terms "connection", "fixation", etc. should be understood in a broad sense. For example, "fixation" can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0026] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present invention, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the meaning of "and / or" appearing in the full text includes three parallel schemes. Taking "A and / or B" as an example, it includes scheme A, or scheme B, or a scheme that satisfies both A and B. In addition, the technical solutions between the various embodiments can be combined with each other, but it must be based on the ability of ordinary technicians in the field to implement. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0027] The first embodiment of the present application provides a set-top box performance test method, which is applied to a set-top box performance test system, wherein the set-top box test system includes a host computer and multiple test routers, and the test routers include multiple test channels. Figure 1 , the method comprising:
[0028] S1: sending an enable instruction to the set-top box to be tested through the host computer, and starting the WIFI module of the set-top box to be tested according to the enable instruction, wherein the set-top box to be tested is connected to the host computer through a network cable;
[0029] S2: According to a plurality of preset frequency bands, the host computer sequentially sends WIFI connection instructions of the corresponding frequency bands to the set-top box to be tested, establishes a WIFI connection between the WIFI module and a target test channel according to the WIFI connection instruction, and obtains the RSSI value of the corresponding frequency band based on the WIFI connection to obtain a plurality of RSSI values, wherein the target test channel is a test channel corresponding to the set-top box to be tested;
[0030] S3: Acquire multiple preset RSSI ranges of multiple preset frequency bands, and compare the multiple preset RSSI ranges with the multiple RSSI values respectively to obtain comparison results;
[0031] S4: Determine whether the performance of the set-top box to be tested is qualified according to the comparison result.
[0032] Specifically, the execution environment of the set-top box performance test method is a set-top box performance test system. The set-top box performance test system includes a host computer and multiple test routers, each test router has multiple test channels, wherein the host computer is used to connect to the set-top box to be tested and send instructions to the set-top box to be tested, and the test channel is used to establish a WIFI connection with the set-top box to be tested for performance testing.
[0033] First, the set-top box to be tested is physically connected to the host computer through a network cable to realize the control of the set-top box to be tested by the host computer. After the connection is established, the host computer sends an enable instruction to the set-top box to be tested. After the set-top box to be tested receives the enable instruction, the set-top box to be tested starts its WIFI module according to the enable instruction, so that the WIFI module of the set-top box to be tested is in an operable state, and is ready for subsequent WIFI performance testing. After the WIFI module of the set-top box to be tested is started, the host computer sequentially performs WIFI connection tests according to multiple preset frequency bands. Specifically, the host computer sends a WIFI connection instruction of the corresponding frequency band to the set-top box to be tested. After the set-top box to be tested receives the WIFI connection instruction, the WIFI module establishes a WIFI connection with the target matching channel, wherein the target matching channel is a dedicated matching channel pre-assigned to the set-top box to be tested. After the WIFI connection is established, the RSSI value under the frequency band is obtained. The host computer performs the above operations on each preset frequency band in sequence, and finally obtains multiple RSSI values for subsequent performance determination.
[0034] Subsequently, the preset RSSI range corresponding to each preset frequency band is obtained, and these preset RSSI ranges are used to characterize the signal reception strength standard that the set-top box to be tested needs to reach in different frequency bands. Then, the RSSI values of each frequency band obtained before are compared with the preset RSSI range of the corresponding frequency band, respectively, so as to obtain the comparison results under each frequency band. Through the comparison results, it can be judged whether the WIFI signal reception performance of the set-top box to be tested in each frequency band is up to standard. Then, according to the obtained comparison results, the WIFI performance of the set-top box to be tested is judged, and it is judged whether the RSSI values obtained in each frequency band are all within the preset RSSI range of the corresponding frequency band. When the RSSI values of all frequency bands are within the corresponding preset RSSI range, it indicates that the signal reception performance of the set-top box to be tested in each frequency band meets the requirements, and at this time, it is determined that the performance of the set-top box to be tested is qualified. If the RSSI value of any frequency band exceeds its preset RSSI range, it indicates that the signal reception performance of the set-top box to be tested in the frequency band is not up to standard, and at this time, it is determined that the performance of the set-top box to be tested is unqualified.
[0035] By using RSSI value as the test index, there is no need to use a shielding box for throughput testing, avoiding the influence of external wireless signal interference on the test results, thereby improving the anti-interference ability of the set-top box WIFI performance test. By obtaining the RSSI value of the set-top box to be tested in each preset frequency band and comparing it with the pre-set RSSI range, it can accurately reflect the WIFI receiving performance of the set-top box to be tested in different frequency bands, thereby improving the accuracy of the test. The method of controlling multiple test channels by the host computer to test multiple set-top boxes at the same time breaks through the limitations of the traditional one-to-one test mode, significantly improves the test efficiency, and meets the needs of batch testing of set-top boxes in large-scale production.
[0036] As an optional implementation, the multiple preset frequency bands include at least a 2.4G frequency band and a 5G frequency band.
[0037] Specifically, the multiple preset frequency bands include at least the 2.4G frequency band and the 5G frequency band. In actual use, the set-top box needs to support two WIFI frequency bands, 2.4G and 5G. Therefore, by testing these two frequency bands separately, the WIFI reception performance of the set-top box under test in different frequency bands can be fully evaluated. Among them, the 2.4G frequency band has strong penetration ability and a longer transmission distance, while the 5G frequency band has a larger transmission bandwidth and stronger anti-interference ability. By testing the performance of these two frequency bands, it can be ensured that the set-top box under test can work normally in different application scenarios.
[0038] As an optional implementation manner, according to multiple preset frequency bands, WIFI connection instructions of corresponding frequency bands are sent to the set-top box to be tested in sequence, a WIFI connection between the WIFI module and the target test channel is established according to the WIFI connection instruction, and the RSSI value of the corresponding frequency band is obtained based on the WIFI connection to obtain multiple RSSI values, including:
[0039] S21: selecting a first preset frequency band according to a plurality of preset frequency bands, wherein the first preset frequency band is any one of the plurality of preset frequency bands;
[0040] S22: Sending a WIFI connection instruction of a first preset frequency band to the set-top box to be tested, and establishing a WIFI connection between the WIFI module and the target test channel in the first preset frequency band according to the WIFI connection instruction of the first preset frequency band;
[0041] S23: Based on the WIFI connection of the first preset frequency band, obtaining a first RSSI value of the set-top box to be tested in the first preset frequency band;
[0042] S24: executing the first RSSI value acquisition process for other preset frequency bands in turn to respectively acquire RSSI values corresponding to other preset frequency bands in the multiple preset frequency bands, and generating the multiple RSSI values.
[0043] Specifically, during the WIFI connection test, a frequency band is first selected from a plurality of preset frequency bands as the first preset frequency band. The first preset frequency band is any one of a plurality of preset frequency bands. For example, the 2.4G frequency band can be selected as the first preset frequency band, or the 5G frequency band can be selected as the first preset frequency band. In this way, a specific test frequency band is determined for subsequent WIFI connection and performance testing. After determining the first preset frequency band, the host computer sends a WIFI connection instruction for the first preset frequency band to the set-top box to be tested. The set-top box to be tested establishes a WIFI connection of the first preset frequency band with the target matching channel through the WIFI module according to the received WIFI connection instruction. Specifically, if the first preset frequency band is the 2.4G frequency band, a WIFI connection of the 2.4G frequency band is established; if the first preset frequency band is the 5G frequency band, a WIFI connection of the 5G frequency band is established.
[0044] After establishing the WIFI connection of the first preset frequency band, start to detect the signal reception performance of the set-top box to be tested in the frequency band. Specifically, based on the established WIFI connection of the first preset frequency band, obtain the RSSI value of the set-top box to be tested in the frequency band, that is, the first RSSI value. The RSSI value reflects the signal reception strength of the set-top box to be tested in the first preset frequency band. After completing the test of the first preset frequency band, continue to test other preset frequency bands. Specifically, perform WIFI connection and RSSI value acquisition operations on other preset frequency bands in the same manner, so as to obtain the RSSI value corresponding to each frequency band. The first RSSI value and the RSSI values corresponding to other preset frequency bands are combined to form multiple RSSI values for subsequent performance determination.
[0045] As an optional implementation manner, after establishing a WIFI connection between the WIFI module and the target measurement channel in the first preset frequency band according to the WIFI connection instruction of the first preset frequency band, the method further includes:
[0046] S25: Obtaining the network mask value of the set-top box to be tested;
[0047] S26: judging whether the set-top box to be tested obtains the network address corresponding to the target test channel according to the network mask value;
[0048] S27: If the set-top box to be tested obtains the network address, it is confirmed that the WIFI connection of the first preset frequency band is established successfully.
[0049] Specifically, after establishing the WIFI connection of the first preset frequency band, verify that the WIFI connection between the set-top box to be tested and the target matching channel is truly established successfully. First, obtain the network mask value of the set-top box to be tested. Wherein, the network mask value is a network configuration parameter assigned by the network after the set-top box to be tested successfully establishes the WIFI connection, and the parameter can be used to determine whether the set-top box to be tested is truly connected to the WIFI network. After obtaining the network mask value, determine whether the set-top box to be tested obtains the network address corresponding to the target matching channel according to the network mask value. Specifically, when the set-top box to be tested successfully establishes the WIFI connection, the network address assigned by the target matching channel can be obtained, and the network address enables the set-top box to be tested to communicate in the WIFI network, so the establishment of the WIFI connection can be confirmed by determining whether the network address is obtained. When it is determined that the set-top box to be tested successfully obtains the network address, it can be confirmed that the WIFI connection between the set-top box to be tested and the target matching channel in the first preset frequency band has been successfully established. This connection confirmation mechanism ensures that the acquisition of the subsequent RSSI value is carried out when the WIFI connection is normal, thereby ensuring the validity of the test result.
[0050] As an optional implementation manner, after starting the WIFI module of the set-top box to be tested according to the enabling instruction, the method further includes:
[0051] S5: Sending a calibration detection instruction to the set-top box to be tested through the host computer, and judging whether the WIFI module of the set-top box to be tested has been calibrated according to the calibration detection instruction;
[0052] S6: After confirming that the WIFI module has been calibrated, sending WIFI connection instructions of corresponding frequency bands to the set-top box to be tested in sequence.
[0053] Specifically, after the WIFI module of the set-top box to be tested is started, it is first confirmed whether the WIFI module has completed factory calibration to ensure the accuracy of the WIFI performance test.
[0054] After the WIFI module of the set-top box to be tested is started, the host computer sends a calibration detection instruction to the set-top box to be tested. The set-top box to be tested detects the RF parameters according to the calibration detection instruction to determine whether the WIFI module has been calibrated at the factory. Through this detection step, it can be confirmed whether the basic parameters of the WIFI module have been calibrated to ensure the effectiveness of subsequent performance tests. After confirming that the WIFI module has been calibrated, the WIFI connection test is started. Specifically, the host computer sends WIFI connection instructions corresponding to different preset frequency bands to the set-top box to be tested in turn, and tests the WIFI performance of each frequency band. In this way, it is ensured that only calibrated WIFI modules can enter the performance test link, thereby ensuring the accuracy of the test results.
[0055] As an optional implementation manner, the acquiring multiple preset RSSI ranges of multiple preset frequency bands, and comparing the multiple preset RSSI ranges with the multiple RSSI values respectively to obtain the comparison results includes:
[0056] S31: Acquire a first preset RSSI range corresponding to the first preset frequency band, wherein the first preset RSSI range is used to represent a signal receiving strength requirement of the set-top box to be tested under a WIFI connection in the first preset frequency band;
[0057] S32: Compare the first RSSI value with the first preset RSSI range to obtain a first comparison result;
[0058] S33: executing the first comparison result acquisition process for other preset frequency bands in the plurality of preset frequency bands in sequence to acquire comparison results corresponding to the other preset frequency bands, thereby obtaining the comparison results.
[0059] Specifically, in the comparison process, the first preset RSSI range corresponding to the first preset frequency band is first obtained. Among them, the first preset RSSI range defines the signal reception strength requirement that the set-top box to be tested should reach under the WIFI connection of the first preset frequency band. By setting this range value, it can be clearly determined whether the WIFI reception performance of the set-top box to be tested in this frequency band meets the standard. After obtaining the first preset RSSI range, the first RSSI value obtained in the frequency band is compared with it. Through this comparison process, a first comparison result is obtained, which reflects whether the WIFI reception performance of the set-top box to be tested in the first preset frequency band meets the requirements. Subsequently, other preset frequency bands are processed in the same comparison method as the first preset frequency band, that is, the RSSI values of other preset frequency bands are respectively compared with the corresponding preset RSSI ranges. Finally, the first comparison result and the comparison results of other preset frequency bands are combined to obtain a complete comparison result for determining the overall performance of the set-top box to be tested.
[0060] As an optional implementation manner, determining whether the performance of the set-top box to be tested is qualified according to the comparison result includes:
[0061] S41: Determine whether the multiple RSSI values are all within the corresponding preset RSSI range;
[0062] S42: If the multiple RSSI values are all within the corresponding preset RSSI range, it is determined that the performance of the set-top box to be tested is qualified;
[0063] S43: If any RSSI value among the multiple RSSI values exceeds the corresponding preset RSSI range, it is determined that the performance of the set-top box to be tested is unqualified.
[0064] Specifically, for each set-top box to be tested, after obtaining the comparison results of all its preset frequency bands, all RSSI values are first checked and judged. Specifically, check whether the RSSI values obtained in each preset frequency band are all within the corresponding preset RSSI range. This judgment process covers the RSSI values of all preset frequency bands, which is used to confirm whether the WIFI reception performance of the set-top box to be tested in each frequency band meets the requirements. In the judgment process, if it is found that the RSSI values of all preset frequency bands are within the corresponding preset RSSI range, it indicates that the WIFI reception performance of the set-top box to be tested in each frequency band meets the expected standard, and the WIFI performance of the set-top box to be tested is determined to be qualified. If it is found that the RSSI value of any preset frequency band exceeds the corresponding preset RSSI range, it indicates that the WIFI reception performance of the set-top box to be tested in this frequency band does not meet the expected standard, and the WIFI performance of the set-top box to be tested is determined to be unqualified.
[0065] As an optional implementation manner, the host computer simultaneously performs performance tests on multiple set-top boxes to be tested through multiple test channels, wherein each set-top box to be tested corresponds to one test channel.
[0066] Specifically, the host computer can perform WiFi performance tests on multiple set-top boxes to be tested at the same time. Specifically, each set-top box to be tested is assigned a dedicated test channel. Through this one-to-one allocation method, multiple set-top boxes to be tested can be tested in parallel. The parallel testing mechanism enables the performance tests of multiple set-top boxes to be completed in the same time period, significantly improving the test efficiency and meeting the needs for rapid testing of set-top boxes in mass production.
[0067] Embodiment 2 of the present application provides a set-top box performance test system for implementing the set-top box performance test method, wherein the system includes a host computer and multiple test routers. The host computer is used to communicate with the set-top box to be tested through a network port and send function instructions to the set-top box to be tested; each of the multiple test routers includes multiple test channels, wherein each test channel is used to establish a WIFI connection with one of the set-top boxes to be tested.
[0068] Specifically, the set-top box performance test system includes a host computer and multiple test routers. The host computer establishes a physical connection with the set-top box to be tested through the network port. After the connection is established, the host computer can send various test instructions to the set-top box to be tested, including enable instructions, WIFI connection instructions, and calibration detection instructions, etc., so as to control the execution of the entire test process. Each test router contains multiple test channels, which are used to establish a WIFI connection with the set-top box to be tested. Each test channel corresponds to a set-top box to be tested. Through this one-to-one correspondence, it can be ensured that each set-top box to be tested can independently complete the WIFI performance test. This structural design not only ensures the accuracy of the test, but also realizes the parallel testing of multiple set-top boxes, thereby improving the test efficiency.
[0069] Reference Figure 2 , the set-top box performance test system includes a host computer and two test routers. Among them, the first test router provides test channels 1-8 for establishing WIFI connection with set-top boxes 1-8; the second test router provides test channels 9-16 for establishing WIFI connection with set-top boxes 9-16. In a specific application, the host computer establishes connections with the 16 set-top boxes to be tested through network cables. Each set-top box to be tested is assigned a dedicated test channel, for example, set-top box 1 corresponds to test channel 1, and set-top box 9 corresponds to test channel 9. Through this structural design, the host computer can simultaneously control 16 set-top boxes to be tested for WIFI performance testing, realizing efficient utilization of test stations and improving the test accuracy and efficiency of set-top boxes.
[0070] As an optional implementation, Figure 3 As shown, the host computer includes a WIFI enabling control unit 11, a WIFI connection testing unit 12, a signal strength comparing unit 13 and a testing result determining unit 14. Among them, the WIFI enabling control unit 11 is used to send an enabling instruction to the set-top box to be tested through the host computer, and start the WIFI module of the set-top box to be tested according to the enabling instruction, wherein the set-top box to be tested is connected to the host computer through a network cable; the WIFI connection testing unit 12 is used to send WIFI connection instructions of corresponding frequency bands to the set-top box to be tested in sequence through the host computer according to multiple preset frequency bands, establish a WIFI connection between the WIFI module and the target matching channel according to the WIFI connection instruction, and obtain the RSSI value of the corresponding frequency band based on the WIFI connection to obtain multiple RSSI values, wherein the target matching channel is the matching channel corresponding to the set-top box to be tested; the signal strength comparison unit 13 is used to obtain multiple preset RSSI ranges of multiple preset frequency bands, and compare the multiple preset RSSI ranges with the multiple RSSI values respectively to obtain comparison results; the test result determination unit 14 is used to determine whether the performance of the set-top box to be tested is qualified according to the comparison results.
[0071] As an optional implementation, the multiple preset frequency bands include at least a 2.4G frequency band and a 5G frequency band.
[0072] As an optional implementation, the WIFI connection test unit 12 includes a first frequency band selection subunit, a first WIFI connection subunit, a first RSSI value acquisition subunit and multiple RSSI value acquisition subunits. Among them, the first frequency band selection subunit is used to select a first preset frequency band according to multiple preset frequency bands, wherein the first preset frequency band is any one of the multiple preset frequency bands; the first WIFI connection subunit is used to send a WIFI connection instruction of the first preset frequency band to the set-top box to be tested, and establish a WIFI connection between the WIFI module and the target matching channel in the first preset frequency band according to the WIFI connection instruction of the first preset frequency band; the first RSSI value acquisition subunit is used to obtain the first RSSI value of the set-top box to be tested in the first preset frequency band based on the WIFI connection of the first preset frequency band; multiple RSSI value acquisition subunits are used to obtain RSSI values corresponding to other preset frequency bands and generate the multiple RSSI values.
[0073] As an optional implementation, this embodiment also includes a WIFI connection judgment unit, which is used to obtain the network mask value of the set-top box to be tested, and judge whether the set-top box to be tested obtains the network address corresponding to the target test channel according to the network mask value; if the set-top box to be tested obtains the network address, it is confirmed that the WIFI connection of the first preset frequency band is successfully established.
[0074] As an optional implementation, the WIFI module calibration judgment unit of this embodiment is used to send a calibration detection instruction to the set-top box to be tested through the host computer, and determine whether the WIFI module of the set-top box to be tested has been calibrated according to the calibration detection instruction. After confirming that the WIFI module has been calibrated, WIFI connection instructions of corresponding frequency bands are sent to the set-top box to be tested in sequence.
[0075] As an optional implementation, the signal strength comparison unit 13 includes a first preset RSSI range acquisition subunit, a first RSSI value comparison subunit and multiple RSSI value comparison subunits. The first preset RSSI range acquisition subunit is used to obtain the first preset RSSI range corresponding to the first preset frequency band, wherein the first preset RSSI range is used to characterize the signal reception strength requirement of the set-top box to be tested under the WIFI connection of the first preset frequency band; the first RSSI value comparison subunit is used to compare the first RSSI value with the first preset RSSI range to obtain a first comparison result; and multiple RSSI value comparison subunits are used to obtain comparison results corresponding to other preset frequency bands to obtain the comparison results.
[0076] As an optional implementation, the test result determination unit 14 includes an RSSI value determination unit, a qualified determination unit, and a unqualified determination unit. The RSSI value determination unit is used to determine whether the multiple RSSI values are all within the corresponding preset RSSI range; the qualified determination unit is used to determine that the performance of the set-top box to be tested is qualified if the multiple RSSI values are all within the corresponding preset RSSI range; the unqualified determination unit is used to determine that the performance of the set-top box to be tested is unqualified if any RSSI value among the multiple RSSI values exceeds the corresponding preset RSSI range.
[0077] As an optional implementation manner, the host computer simultaneously performs performance tests on multiple set-top boxes to be tested through multiple test channels, wherein each set-top box to be tested corresponds to one test channel.
[0078] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A set-top box performance testing method, characterized in that: Applied to a set-top box performance test system, the set-top box test system includes a host computer and multiple test routers, the test routers include multiple test channels; the method includes: Sending an enable instruction to the set-top box to be tested through the host computer, and starting the WIFI module of the set-top box to be tested according to the enable instruction, wherein the set-top box to be tested is connected to the host computer through a network cable; According to a plurality of preset frequency bands, the host computer sequentially sends WIFI connection instructions of the corresponding frequency bands to the set-top box to be tested, establishes a WIFI connection between the WIFI module and a target matching channel according to the WIFI connection instruction, and obtains an RSSI value of the corresponding frequency band based on the WIFI connection to obtain a plurality of RSSI values, wherein the target matching channel is a matching channel assigned to the set-top box to be tested; Acquire multiple preset RSSI ranges of multiple preset frequency bands, and compare the multiple preset RSSI ranges with the multiple RSSI values respectively to obtain comparison results; According to the comparison result, it is determined whether the performance of the set-top box to be tested is qualified.
2. The method according to claim 1, characterized in that The multiple preset frequency bands include at least a 2.4G frequency band and a 5G frequency band.
3. The method according to claim 1, characterized in that The method includes sending WIFI connection instructions of corresponding frequency bands to the set-top box to be tested in sequence according to multiple preset frequency bands, establishing a WIFI connection between the WIFI module and a target test channel according to the WIFI connection instruction, and obtaining an RSSI value of the corresponding frequency band based on the WIFI connection to obtain multiple RSSI values, including: Selecting a first preset frequency band, wherein the first preset frequency band is any one of a plurality of preset frequency bands; Sending a WIFI connection instruction of a first preset frequency band to the set-top box to be tested, and establishing a WIFI connection between the WIFI module and the target test channel in the first preset frequency band according to the WIFI connection instruction of the first preset frequency band; Based on the WIFI connection of the first preset frequency band, obtaining a first RSSI value of the set-top box to be tested in the first preset frequency band; The first RSSI value acquisition process is sequentially performed on other preset frequency bands among the multiple preset frequency bands to respectively acquire RSSI values corresponding to the other preset frequency bands, and generate the multiple RSSI values.
4. The method according to claim 3, characterized in that After establishing a WIFI connection between the WIFI module and the target measurement channel in the first preset frequency band according to the WIFI connection instruction of the first preset frequency band, the method further includes: Obtaining a network mask value of the set-top box to be tested; Determining whether the set-top box to be tested obtains the network address corresponding to the target test channel according to the network mask value; If the set-top box to be tested obtains the network address, it is confirmed that the WIFI connection of the first preset frequency band is successfully established.
5. The method according to claim 1, characterized in that After starting the WIFI module of the set-top box to be tested according to the enabling instruction, the method further includes: Sending a calibration detection instruction to the set-top box to be tested by the host computer, and judging whether the WIFI module of the set-top box to be tested has been calibrated according to the calibration detection instruction; After confirming that the WIFI module has been calibrated, WIFI connection instructions of corresponding frequency bands are sent to the set-top boxes to be tested in sequence.
6. The method according to claim 3, characterized in that The obtaining of multiple preset RSSI ranges of multiple preset frequency bands, and comparing the multiple preset RSSI ranges with the multiple RSSI values respectively to obtain comparison results includes: Obtaining a first preset RSSI range corresponding to the first preset frequency band, wherein the first preset RSSI range is used to characterize a signal reception strength requirement of the set-top box to be tested under a WIFI connection in the first preset frequency band; Compare the first RSSI value with the first preset RSSI range to obtain a first comparison result; The first comparison result acquisition process is sequentially performed on other preset frequency bands among the multiple preset frequency bands to acquire comparison results corresponding to other preset frequency bands, thereby obtaining the comparison results.
7. The method according to claim 1, characterized in that The step of determining whether the performance of the set-top box to be tested is qualified according to the comparison result includes: Determine whether the multiple RSSI values are all within the corresponding preset RSSI range; If the multiple RSSI values are all within the corresponding preset RSSI range, it is determined that the performance of the set-top box to be tested is qualified; If any RSSI value among the multiple RSSI values exceeds the corresponding preset RSSI range, it is determined that the performance of the set-top box to be tested is unqualified.
8. The method according to claim 1, characterized in that The host computer simultaneously performs performance tests on multiple set-top boxes to be tested through multiple test channels, wherein each set-top box to be tested corresponds to one test channel.
9. A set-top box performance test system, characterized in that: Used to implement the set-top box performance testing method according to any one of claims 1 to 8, the system comprises: The host computer is used to communicate with the set-top box to be tested through the network port and send function instructions to the set-top box to be tested; A plurality of test routers, each of which comprises a plurality of test channels, wherein each of the test channels is used to establish a WIFI connection with a set-top box to be tested.
10. The set-top box performance test system according to claim 9, characterized in that: The host computer comprises: A WIFI enabling control unit, the WIFI enabling control unit is used to send an enabling instruction to the set-top box to be tested through the host computer, and start the WIFI module of the set-top box to be tested according to the enabling instruction, wherein the set-top box to be tested is connected to the host computer via a network cable; A WIFI connection test unit, wherein the WIFI connection test unit is used to send WIFI connection instructions of corresponding frequency bands to the set-top box to be tested in sequence through the host computer according to multiple preset frequency bands, establish a WIFI connection between the WIFI module and a target matching channel according to the WIFI connection instruction, and obtain an RSSI value of the corresponding frequency band based on the WIFI connection to obtain multiple RSSI values, wherein the target matching channel is a matching channel corresponding to the set-top box to be tested; A signal strength comparison unit, the signal strength comparison unit is used to obtain multiple preset RSSI ranges of multiple preset frequency bands, compare the multiple preset RSSI ranges with the multiple RSSI values respectively, and obtain a comparison result; A test result determination unit is used to determine whether the performance of the set-top box to be tested is qualified according to the comparison result.
Citation Information
Patent Citations
Set top box testing method and device
CN107027024A
Double-frequency WIFI test method and system, server and storage medium
CN111193561A
WIFI antenna connection tightness detection method and detection device
CN111541503A
WIFI function testing method and system and electronic equipment
CN112333052A
Automatic test method and device for WiFi performance and terminal equipment
CN117615407A