Device and method for testing antenna performance of CPE terminal

By designing an antenna performance test device with automatic switching, the problem of low performance testing efficiency of 4G/5G-CPE terminal antennas is solved, and the testing process is simplified and the equipment usage efficiency is improved.

CN119959632APending Publication Date: 2025-05-09GUANGZHOU TOZED KANGWEI INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510292005.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-12
Publication Date
2025-05-09

AI Technical Summary

Technical Problem

In the prior art, the built-in and external antenna air port performance production line testing efficiency of 4G/5G-CPE terminals is low, the test process is complicated, and the shielded box is frequently opened and closed, which increases the operation complexity and the equipment use efficiency.

Method used

Design an antenna performance testing device for CPE terminals, including a shielding box, an antenna coupling board and an antenna switching control module, and realize automatic switching of built-in and external antennas through the switch control unit and the trigger switching unit to simplify the test process.

Benefits of technology

It significantly improves the efficiency of CPE terminal antenna performance testing, reduces operation steps and time, reduces error rate, and improves the efficiency of testing equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119959632A_ABST
    Figure CN119959632A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of wireless communication testing, and discloses a CPE terminal antenna performance testing device and method, and the device comprises an antenna switching control module which comprises a switch control unit and a trigger switching unit. The antenna switching control module is provided with a built-in antenna interface, a switching radio frequency interface and an interconnection radio frequency interface. The switch control unit is respectively connected with one end of the built-in antenna interface and one end of the trigger switching unit, and the other end of the trigger switching unit is connected with the switching radio frequency interface. When the trigger switching unit is in the working state, the antenna state of the CPE terminal is switched to the external antenna path, so that the performance test of the external antenna can be carried out. On the contrary, when the trigger switching unit is not in the working state, the performance test of the built-in antenna is carried out. Therefore, by designing the switch control unit and the trigger switching unit, the testing device capable of automatically switching and efficiently testing the performance of the built-in antenna and the external antenna of the CPE terminal is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of wireless communication testing, and in particular to a device and method for testing antenna performance of a CPE terminal. Background Art

[0002] 4G / 5G-CPE (Customer Premises Equipment) is a device that converts mobile network signals into Wi-Fi signals and is widely used in homes, businesses and other scenarios. In order to meet the needs of different users and application scenarios, 4G / 5G CPE usually has a built-in antenna that is directly integrated into the CPE terminal device to provide basic wireless signal reception and transmission capabilities; it also includes an external antenna provided as an optional accessory. The external antenna can provide higher gain and more flexible directional adjustment, which helps to improve the quality of CPE terminal device signal reception in environments where the signal is weak or requires specific directional coverage, and significantly improves the performance of CPE terminal devices.

[0003] However, in the relevant technologies, the industrial-scale production line test of the air interface performance of the built-in and external antennas of 4G / 5G-CPE is generally carried out in a single thread in a small shielding box environment. The test process is often complicated and time-consuming, and the test instrument utilization efficiency and test efficiency are low. It is necessary to improve the test equipment and methods to improve the efficiency of the production line CPE terminal antenna performance test. Summary of the invention

[0004] The present application aims to solve at least one of the technical problems in the related art to a certain extent. To this end, the present application proposes an antenna performance test device and method for a CPE terminal. The main technical solutions adopted by the present application include:

[0005] In the first aspect, an embodiment of the present application provides an antenna performance test device for a CPE terminal, wherein the CPE terminal is provided with a built-in antenna and an external antenna interface; the test device includes a shielding box, an antenna coupling plate and an antenna switching control module, wherein the antenna coupling plate and the antenna switching control module are arranged in the shielding box; the antenna switching control module includes a switch control unit and a trigger switching unit; the antenna switching control module is provided with a built-in antenna interface, a switching RF interface and an interconnected RF interface; the switch control unit is respectively connected to the built-in antenna interface and one end of the trigger switching unit, and the other end of the trigger switching unit is connected to the switching RF interface; the interconnected RF interface is suitable for connecting a test instrument; the switching RF interface is suitable for connecting an external antenna interface, so that when the trigger switching unit is in a working state, the antenna state of the CPE terminal is switched to the external antenna path for antenna performance testing; the built-in antenna interface is suitable for being connected to the RF interface of the antenna coupling plate, so that when the trigger switching unit is not in a working state, the antenna state of the CPE terminal is switched to the built-in antenna path for antenna performance testing.

[0006] In the second aspect, an embodiment of the present application provides an antenna switching control module, which is applied to the antenna performance test process of a CPE terminal, wherein the CPE terminal is provided with a built-in antenna and an external antenna interface; the antenna switching control module is arranged in a shielding box, and an antenna coupling board is also arranged in the shielding box; the antenna switching control module includes a switch control unit and a trigger switching unit; the antenna switching control module is provided with a built-in antenna interface, a switching RF interface and an interconnected RF interface; the switch control unit is respectively connected to the built-in antenna interface and one end of the trigger switching unit, and the other end of the trigger switching unit is connected to the switching RF interface; the interconnected RF interface is suitable for connecting a test instrument; the switching RF interface is suitable for connecting an external antenna interface, so that when the trigger switching unit is in a working state, the antenna state of the CPE terminal is switched to the external antenna path for antenna performance testing; the built-in antenna interface is suitable for being connected to the RF interface of the antenna coupling board, so that when the trigger switching unit is not in a working state, the antenna state of the CPE terminal is switched to the built-in antenna path for antenna performance testing.

[0007] In a third aspect, an embodiment of the present application provides an antenna performance testing method for a CPE terminal, the method comprising: an antenna performance testing device as mentioned in any of the above items receives a control signal sent by a host computer; triggers a switching unit to switch to a working state through the control signal, so that the antenna state of the CPE terminal is switched to an external antenna path for antenna performance testing.

[0008] In a fourth aspect, the present application further provides a computer device including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any of the above methods when executing the computer program.

[0009] In a fifth aspect, the present application also provides a computer-readable storage medium having a computer program stored thereon, which implements the steps of any of the above methods when the computer program is executed by a processor.

[0010] In a sixth aspect, the present invention provides a computer program product, comprising a computer program, which implements the steps of any of the above methods when executed by a processor.

[0011] In the above embodiment, for a CPE terminal provided with a built-in antenna and an external antenna interface, a test device including an antenna switching control module is designed, which includes a switch control unit and a trigger switching unit. The antenna switching control module is provided with a built-in antenna interface, a switching radio frequency interface and an interconnection radio frequency interface. The switch control unit is connected to the built-in antenna interface and one end of the trigger switching unit respectively, and the other end of the trigger switching unit is connected to the switching radio frequency interface. The interconnection radio frequency interface is suitable for connecting a test instrument, and the switching radio frequency interface is suitable for connecting an external antenna interface. When the trigger switching unit is in a working state, the antenna state of the CPE terminal will switch to the external antenna path to perform a performance test of the external antenna. On the contrary, when the trigger switching unit is not in a working state, the antenna state of the CPE terminal will switch to the built-in antenna path to perform a performance test of the built-in antenna. So far, by designing a switch control unit and a trigger switching unit, a test device that can automatically switch and efficiently test the performance of the built-in and external antennas of the CPE terminal is realized. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] In order to more clearly illustrate the specific implementation methods of the present application or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0013] Figure 1 A structural block diagram of an antenna performance testing device for a CPE terminal provided according to an embodiment of the present application;

[0014] Figure 2 A circuit schematic diagram of a switch control unit provided according to an embodiment of the present application;

[0015] Figure 3a A structural block diagram of an antenna performance testing device provided according to another embodiment of the present application;

[0016] Figure 3b A circuit schematic diagram of a trigger switching unit provided according to another embodiment of the present application;

[0017] Figure 4 A circuit schematic diagram of a time delay unit provided according to an embodiment of the present application;

[0018] Figure 5 A circuit schematic diagram of a logic reverse conversion circuit provided according to an embodiment of the present application;

[0019] Figure 6 A structural block diagram of an antenna performance testing device provided according to another embodiment of the present application;

[0020] Figure 7 A structural block diagram of an antenna switching control module provided according to another embodiment of the present application;

[0021] Figure 8 A flowchart of a method for testing antenna performance of a CPE terminal according to an embodiment of the present application;

[0022] Fig. 9 A flowchart of antenna performance result evaluation provided according to one embodiment of the present application;

[0023] Fig.10 A flowchart of the working process of a dual plug system provided according to an embodiment of the present application;

[0024] Fig.11 The figure is a diagram of the internal structure of a computer device provided according to one embodiment of the present application. DETAILED DESCRIPTION

[0025] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.

[0026] 4G / 5G-CPE (Customer Premises Equipment) is a device that converts mobile network signals into Wi-Fi signals. It is widely used in homes, businesses and other scenarios. In order to meet the needs of different users and application scenarios, 4G / 5G CPE usually has a built-in antenna that is directly integrated into the CPE terminal device to provide basic wireless signal reception and transmission capabilities. The design of the built-in antenna makes the CPE terminal device look neater, easier to install and use, and suitable for most home and office environments, especially in areas with good signal coverage. In addition to the built-in antenna, 4G / 5G-CPE terminal devices also usually include an external antenna provided as an optional accessory, which can provide higher gain and more flexible directional adjustment, helping to improve signal reception quality in environments where the signal is weak or requires specific directional coverage, significantly improving the performance of the CPE.

[0027] Therefore, it is necessary to conduct air interface performance tests on both internal and external antennas to ensure that the CPE terminal equipment can meet technical specifications and performance requirements under different usage conditions. However, there are usually two situations for the external antenna of 4G / 5G-CPE. One is that there is no need to switch, that is, there is only an external antenna, and the other is that the internal antenna and the external antenna need to be switched. This product has a circuit for external antenna insertion detection. By inserting an external antenna with a resistor, the port voltage of the judgment circuit changes, and then it is determined whether there is an external antenna connected and the path is switched. During the production process, the internal antenna and the external antenna will be tested. Usually, the internal antenna is tested through a coupling board, and the external antenna is completed through a secondary test.

[0028] Based on this, in industrial-scale production, the production line test of the air interface performance of the built-in and external antennas of 4G / 5G-CPE in related technologies is generally carried out in a small shielding box environment, which can be roughly divided into the following two situations:

[0029] 1. When the measurements are completed at the same workstation: first measure the air interface performance of the built-in antenna, generate a corresponding report to determine whether the air interface performance under the built-in antenna configuration meets the design requirements; then connect the external antenna, measure the air interface performance of the external antenna, and generate a corresponding report to determine the air interface performance under the external antenna configuration.

[0030] 2. Completion of measurements at different workstations: Use different workstations to measure the air interface performance of the built-in and external antennas respectively, and generate corresponding reports to determine whether the air interface performance of the built-in and external antennas meets the design requirements.

[0031] Among them, the disadvantage of completing the measurement at the same workstation is that the steps are complicated, time-consuming and labor-intensive. Specifically, on the one hand, the measurement steps completed at the same workstation are as follows: first, open the shielding box, place the 4G (5G) -CPE and power it on (time T1 is about 10s), the 4G (5G) -CPE startup time is T2 (about 60s), close the shielding box (time T3 is about 5s), measure the air interface performance of the built-in antenna, and form a corresponding report to determine whether the air interface performance of each frequency band under the built-in antenna configuration meets the design requirements, and the measurement time is T4 (about 60s); open the shielding box, screw on two external antennas (time T5 is about 15s), close the shielding box (time T6 is about 5s), measure the air interface performance of the external antenna, and form a corresponding report to determine whether the air interface performance of each frequency band under the external antenna configuration meets the design requirements, and the measurement time is T7 (about 60s), open the shielding box, unscrew the two external antennas, and unplug the power plug of the shielding box adapter (time T8 is about 15s), and the test is completed. For each CPE in the continuous production test state, the tester needs to open the shielding box twice, close the shielding box twice, and control the computer to measure twice, which takes a total of time.

[0032] T1+T2+T3+T4+T5+T6+T7+T8=230s, and each station measures about 16 units per hour. The efficiency of instrument use and measurement is low, and the testers have many operating steps, which are prone to errors. On the other hand, to complete the measurement at different stations, it is necessary to use different stations to measure the air interface performance of the built-in and external antennas respectively, and form corresponding reports to determine whether the air interface performance of the built-in and external antennas meet the design requirements. Specifically, station A measures the air interface performance of the built-in antenna, and station B measures the air interface performance of the external antenna. The testers at a single station have fewer operating steps, are less likely to make mistakes, and have a faster production line flow speed, but the required test instrument is increased by one set and one person is increased, which increases the equipment and labor costs.

[0033] Based on this, the embodiment of this specification provides an antenna performance test device 100 for a CPE terminal, such as Figure 1 As shown, the CPE terminal 102 is provided with a built-in antenna 104 and an external antenna interface 106 , and the test device 100 includes a shielding box 108 , an antenna coupling board 110 and an antenna switching control module 112 , and the antenna coupling board 110 and the antenna switching control module 112 are arranged in the shielding box 108 .

[0034] The antenna switching control module 112 includes a switch control unit 114 and a trigger switching unit 116. The antenna switching control module 112 is provided with a built-in antenna interface 118, a switching radio frequency interface 120 and an interconnection radio frequency interface 122.

[0035] The switch control unit 114 is connected to the built-in antenna interface 118 and one end of the trigger switch unit 116 respectively, and the other end of the trigger switch unit 116 is connected to the switch RF interface 120 .

[0036] The antenna switching control module 112 may be a control module capable of switching the antenna state of the CPE terminal 102 to meet the requirements of the antenna performance test of the CPE terminal.

[0037] Specifically, the switch control unit 114 can be understood as a switch switching unit, which is used to manage the signal path and build and switch the transmission path of the test signal during the antenna performance test of the CPE terminal. Exemplarily, based on the received control signal, the switch control unit triggers and switches the RF switching switch inside the switch control unit, performs a logic control operation, and controls which antenna test path in the RF network should be connected or disconnected to ensure that the signal can be correctly communicated and transmitted between the test instrument end and the CPE terminal. Specifically, the antenna switching control module 112 receives the control signal sent by the operating computer end (i.e., the host computer) through the serial port to switch the antenna state of the CPE terminal 102 to the external antenna path for antenna performance testing, or switches the antenna state of the CPE terminal 102 to the internal antenna path for antenna performance testing.

[0038] Further, the trigger switching unit 116 may be a unit for triggering the antenna state of the CPE terminal to switch between the internal antenna and the external antenna, and is used to receive the logic control signal sent from the operating computer end (i.e., the host computer) through the serial port, and activate the switching mechanism inside the trigger switching unit according to these signals. Specifically, when a certain logic control signal sent from the operating computer end (i.e., the host computer) through the serial port is received, thereby activating the trigger switching unit, the trigger switching unit is put into a working state at this time, so that the antenna state of the CPE terminal is automatically switched to the external antenna path, so as to perform a performance test of the external antenna of the CPE terminal. On the contrary, when a logic control signal sent from the operating computer end (i.e., the host computer) through the serial port is received, but the trigger switching unit is not activated, the trigger switching unit is not in a working state at this time, and the antenna state of the CPE terminal will be switched to the internal antenna path, so as to perform a performance test of the internal antenna of the CPE terminal.

[0039] The interconnected RF interface 122 is suitable for connecting to a test instrument 124. The switching RF interface 120 is suitable for connecting to the external antenna interface 106, so that when the trigger switching unit 116 is in the working state, the antenna state of the CPE terminal 102 is switched to the external antenna path for antenna performance testing. The internal antenna interface 118 is suitable for connecting to the RF interface 126 of the antenna coupling board 110, so that when the trigger switching unit 116 is not in the working state, the antenna state of the CPE terminal 102 is switched to the internal antenna path for antenna performance testing.

[0040] Please continue to refer to Figure 1 The built-in antenna path may refer to a signal transmission path between the test meter and the built-in antenna state of the CPE terminal constructed by the test device. Specifically, the built-in antenna 104 on the CPE terminal 102 receives or sends a test signal and reaches the switch control unit 114 through the built-in antenna interface 118 via the RF cable through the RF cable, and then transmits it to the test meter 124 through the interconnected RF interface 122, finally realizing the interconnected transmission path of the test signal from the test meter to the built-in antenna state of the CPE terminal, that is, the built-in antenna path.

[0041] The external antenna path may refer to a signal transmission path between the test meter and the external antenna state of the CPE terminal constructed by the test device. Specifically, when the trigger switching unit is in the working state, the antenna state of the CPE terminal will automatically switch to the external antenna state, and the test signal is transmitted through the external antenna interface 106 of the CPE terminal 102 through the RF cable to the switching RF interface 120 of the antenna switching control module 112 and reaches the switch control unit 114, and then transmitted to the test meter 124 through the interconnection RF interface 122, and finally realizes the interconnection transmission path of the test signal from the test meter to the external antenna state of the CPE terminal, that is, the external antenna path.

[0042] Further, the switching RF interface 120 can be an SMA, N-type or other standard RF coaxial connector, which is suitable for connecting to the external antenna interface 106 located on the CPE terminal 102, so as to select to connect to the internal antenna or the external antenna and perform performance test on the internal or external antenna of the CPE terminal based on the state of the trigger switching unit during the test process. Specifically, when the switch control unit 114 receives the control signal sent by the operating computer end (i.e., the host computer) through the serial port, it performs a logical control operation to connect the test path of the external antenna in the RF network. At this time, the trigger switching unit 116 is in a working state, switches to the external antenna test path, and switches the RF interface 120 to allow the test signal to be correctly communicated and transmitted between the test instrument end and the CPE terminal. It can also be understood that when the trigger switching unit 116 receives the control signal sent by the operating computer end (i.e., the host computer) through the serial port and is in a working state, it is also necessary to interconnect the signal with the CPE terminal 102 through the switching RF interface 120, so that the antenna state of the CPE terminal 102 can be switched to the external antenna path for antenna performance testing.

[0043] Similarly, the built-in antenna interface 118 can also be an SMA, N-type or other standard RF coaxial connector, suitable for connecting to the RF interface 126 of the antenna coupling board 110, allowing the test signal to be transmitted to the built-in antenna of the CPE terminal 102 for performance testing. It is understandable that the CPE terminal 102 can be initialized in advance so that its antenna state is in the built-in antenna state. When receiving a logic control signal sent from the operating computer end (i.e., the host computer) through the serial port, but the trigger switching unit is not activated, the trigger switching unit 116 is not in working state at this time, and the switch control unit is configured to connect the built-in antenna path. The built-in antenna interface 118 of the switch control unit 114 will interconnect signals with the CPE terminal 102 via the RF interface 126 of the antenna coupling board 110 to perform a performance test of the built-in antenna of the CPE terminal.

[0044] Similarly, the interconnection RF interface 122 may also be an SMA, N-type or other standard RF coaxial connector, which is used to connect the antenna switching control module 112 and the test meter 124, and allows the test meter 124 to communicate with the antenna switching control module 112. The test meter 124 is a key component for testing and evaluating the performance of the CPE terminal antenna, which can be understood as a base station in the field of communication transmission, which is used to send and receive test signals to measure the antenna performance parameters of the CPE terminal 102. Exemplarily, the test meter can be a comprehensive instrument including a signal generator, a signal receiver and a display. Specifically, the test meter generates a test RF signal of a specific frequency and power to stimulate the antenna of the CPE terminal and stimulate its response. The test meter also has the ability to record and analyze the return signal, which can be used to measure parameters such as the antenna's receiving sensitivity and return loss. For example, when performing an antenna performance test sent by a CPE terminal, the CPE terminal is controlled by the test software to send a signal according to the test requirements, and the test instrument receives and analyzes the signal sent by the antenna of the CPE terminal, and finally calculates the antenna performance parameters of the CPE terminal; when performing an antenna performance test received by the CPE terminal, the test instrument sends a test signal, receives and analyzes the signal reflected or transmitted back by the antenna of the CPE terminal, and finally calculates the antenna performance parameters of the CPE terminal. Optionally, the preset performance index and performance threshold can also be written into the test instrument, and the test results based on the data recorded during the antenna performance test are compared with the standard performance parameter index, and finally evaluate whether the performance of the CPE terminal antenna meets the design requirements.

[0045] It can be understood that the trigger switching unit 116 is a unit that determines whether to switch the internal and external antenna paths based on the received control signal; and the switch control unit 114 is a unit that performs different logic control operations accordingly when receiving the control signal and the trigger switching unit is in different working states, so as to determine which antenna test path in the RF network should be connected or disconnected, and works in conjunction with the trigger switching unit to perform antenna performance testing. Therefore, the switch control unit 114 and the trigger switching unit 116 are collaborative working units that work in conjunction with the logic control signal sent from the operating computer through the serial port to ensure that the signal is correctly transmitted to the currently tested antenna.

[0046] Furthermore, when the trigger switching unit 116 is not in a working state, the built-in antenna 104 on the CPE terminal 102 receives or sends a test signal and passes through the RF interface 126 on the antenna coupling board 110, reaches the switch control unit 114 through the built-in antenna interface 118 via the RF cable, and then is transmitted to the test meter 124 via the interconnected RF interface 122, ultimately achieving interconnection and interoperability of the test signal from the test meter to the CPE terminal in the built-in antenna state to perform a performance test of the built-in antenna; on the contrary, when the trigger switching unit is in a working state, the antenna state of the CPE terminal will automatically switch to the external antenna state, and the test signal is transmitted through the external antenna interface 106 of the CPE terminal 102 through the RF cable to the switching RF interface 120 and reaches the switch control unit 114, and then is transmitted to the test meter 124 via the interconnected RF interface 122, ultimately achieving interconnection and interoperability of the test signal from the test meter to the CPE terminal in the external antenna state to perform a performance test of the external antenna.

[0047] In the above embodiment, a test device including an antenna switching control module is designed for a CPE terminal provided with a built-in antenna and an external antenna interface. It includes a switch control unit and a trigger switching unit. The antenna switching control module is provided with a built-in antenna interface, a switching radio frequency interface and an interconnection radio frequency interface. The switch control unit is connected to the built-in antenna interface and one end of the trigger switching unit respectively, and the other end of the trigger switching unit is connected to the switching radio frequency interface. The interconnection radio frequency interface is suitable for connecting a test instrument, and the switching radio frequency interface is suitable for connecting an external antenna interface. When the trigger switching unit is in a working state, the antenna state of the CPE terminal will switch to the external antenna path so as to perform a performance test of the external antenna. On the contrary, when the trigger switching unit is not in a working state, the antenna state of the CPE terminal will switch to the built-in antenna path to perform a performance test of the built-in antenna. So far, by designing a switch control unit and a trigger switching unit, a test device that can automatically switch and efficiently test the performance of the built-in and external antennas of the CPE terminal is realized.

[0048] In some embodiments, when the trigger switching unit is not in a working state, the switch control unit is configured to connect the internal antenna path; when the trigger switching unit is in a working state, the switch control unit is configured to connect the external antenna path.

[0049] Among them, the built-in antenna path may refer to the signal transmission path between the built-in antenna state from the test meter to the CPE terminal via the test device. The external antenna path may refer to the signal transmission path between the external antenna state from the test meter to the CPE terminal via the test device. The switch control unit can be understood as a switch switching unit, which is used to manage the signal path and build and switch the transmission path of the test signal during the antenna performance test of the CPE terminal. Specifically, the switch control unit switches and triggers the switch inside the unit based on the received control signal, and performs logic control operations, thereby realizing which antenna test path in the RF network should be connected or disconnected.

[0050] For example, Figure 2 For the circuit diagram of the switch control unit, please refer to Figure 2 The switch control unit includes an interconnection RF interface 122 for interconnection with the test instrument, a built-in antenna interface 118 suitable for connecting to the antenna coupling board, an internal switching RF interface 202 suitable for interconnection and cooperation with the trigger switching control unit, and a RF switching switch S101. When the built-in antenna performance test of the CPE terminal is performed, the control signal can be a low-level signal. At this time, the trigger switching unit is not in a working state, and a low-level signal is input into the switch control unit, which will control the RF switching switch S101 to close the RF1 switch path, that is, connect the interconnection RF interface 122 and the built-in antenna interface 118 connected to the antenna coupling board, thereby connecting the built-in antenna path; when the external antenna performance test of the CPE terminal is performed, the control signal can be a high-level signal. At this time, the trigger switching unit is in a working state, and a high-level signal is input into the switch control unit, which will control the RF switching switch S101 to close the RF2 switch path, that is, connect the interconnection RF interface 122 and the internal switching RF interface 202 suitable for interconnection and cooperation with the trigger switching control unit, thereby connecting the external antenna path. Furthermore, it is ensured that the test signal can be correctly communicated and transmitted on the corresponding antenna paths at the test instrument end and the CPE terminal.

[0051] In the above embodiment, the integrated switch control unit and trigger switching unit allow the test device to switch between the internal antenna and the external antenna without manual intervention, reducing the complexity of operation and the possibility of error. And through the automated switching mechanism, the test time is significantly reduced. The tester no longer needs to open and close the shielding box many times, nor does he need to manually change the antenna. The internal and external antennas can be tested continuously, which simplifies the test process and further improves the test efficiency per hour.

[0052] In some implementations, the antenna switching control module is further provided with a communication interface, and the communication interface is configured to communicate with a host computer.

[0053] The host computer may refer to a computer or control device in a control system or test system that is responsible for issuing control instructions and processing data. For example, the host computer may be a personal computer, workstation, PLC (programmable logic controller) or other industrial control device that runs specific software to manage the antenna performance test device to implement the test process. For details, please refer to Figure 3a The antenna switching control module 112 is further provided with a communication interface 128 , and the communication interface 128 is configured to communicate with the host computer 130 .

[0054] The trigger switching unit is also configured to trigger whether to switch to the working state through the control signal when the switch control unit receives the control signal sent by the host computer.

[0055] The trigger switching unit includes a transistor 302 and a voltage-dividing resistor 304, a first end of the transistor 302 is connected to the communication interface 128, a second end of the transistor 302 is grounded, a third end of the transistor 302 is connected to one end of the voltage-dividing resistor 304, and the other end of the voltage-dividing resistor 304 is connected to the switching RF interface 120. Optionally, the trigger switching unit also includes an internal switching RF interface 202 suitable for interconnecting and cooperating with the switch control unit, and the switching RF interface 202 is connected to the switching RF interface 120 via a capacitor C202.

[0056] For example, Figure 3b This is the circuit diagram of the trigger switching unit, please refer to Figure 3b When the performance test of the external antenna of the CPE terminal is performed, the control signal can be a high-level signal. The switch control unit receives the high-level signal to connect the external antenna path. At the same time, when the high-level signal is transmitted to the transistor Q201 in the trigger switching unit, it will cause it to turn on, and the trigger switching unit is in working state. After Q201 is turned on, it can be regarded as a wire directly connecting the third end (collector) and the second end (emitter) of the transistor, which means that one end of the voltage divider resistor R201 is equivalent to being directly connected to the ground (GND), thereby forming a grounding path and forming a voltage divider circuit with the DC power supply of the CPE terminal. It should be understood that if an external antenna is inserted into the CPE terminal, a level judgment will be performed inside it, and the internal antenna state will be automatically switched to the external antenna state through its pre-set logic requirements. Furthermore, due to the action of the voltage divider resistor R201 being grounded and dividing the voltage, the CPE terminal will determine that the CPE terminal has been inserted with an external antenna, so the internal and external switches in the CPE terminal will open the external antenna switch path, that is, the CPE terminal automatically switches to the external antenna state. At the same time, when the trigger switching unit is in working state, the switch control unit is synchronously configured to connect the external antenna path so as to perform performance test of the external antenna of the CPE terminal.

[0057] Similarly, when the performance test of the built-in antenna of the CPE terminal is performed, the control signal can be a low-level signal, and the CPE terminal can be initialized in advance and its antenna state is in the built-in antenna state. At this time, the switch control unit receives a low-level signal to connect the built-in antenna path, but when the low-level signal is transmitted to the Q201 transistor in the trigger switching unit, it is not turned on. At this time, the trigger switching unit is not in a working state. That is, when the Q201 transistor receives a low voltage signal or no signal, the channel inside the transistor Q201 is cut off, so that the voltage-dividing resistor R201 will not be grounded, and the voltage across the voltage-dividing resistor R201 is equal to the power supply voltage, and no voltage-dividing effect occurs. This means that no conductive path will be formed between the voltage-dividing resistor R201 and the ground, and no voltage-dividing circuit will be formed with the DC power supply of the CPE terminal. In this case, the trigger switching unit will not be forced to be in a working state, and only the switch control unit is configured to connect the built-in antenna path to perform the performance test of the built-in antenna of the CPE terminal.

[0058] In the above implementation, the control signal is sent by the host computer through the serial port and input into the trigger switching unit and the switch control unit. In essence, the conduction and cutoff of the transistor in the trigger switching unit are used to simulate whether the external antenna is connected to the CPE terminal. This can omit the step of opening the shielding box to actually plug in the external antenna, and complete the process of automatically switching to the external antenna port for testing after the internal antenna test is completed. The tester no longer needs to open and close the shielding box multiple times, nor does he need to manually replace the antenna, and can continuously test the internal and external antennas without opening the shielding box, thereby simplifying the test process and improving work efficiency.

[0059] In some embodiments, the antenna switching control module also includes a time delay unit connected to the trigger switching unit, which is configured to delay the switching moment of the trigger switching unit when the trigger switching unit needs to switch to a working state, so that the moment when the switch control unit connects to the external antenna path is earlier than the switching moment of the trigger switching unit.

[0060] It is understandable that because the control signal sent by the host computer is input to the trigger switching unit and the switch control unit at the same time, it is possible that when the trigger switching unit is already in the working state, the switch control unit has not yet switched the antenna path to the external antenna state, resulting in a misalignment of the test time and mismeasurement. Based on this, the antenna switching control module also includes a time delay unit connected to the trigger switching unit. Among them, the time delay unit can be a circuit component, which can introduce a short waiting time to control the trigger switching unit to be able to perform the internal and external antenna path switching operation in a timely manner. Specifically, when the external antenna performance test of the CPE terminal is to be performed, the time delay unit will control the trigger switching unit to switch to the external antenna path before the switch control unit is ready to switch to the working state.

[0061] Specifically, the time lag unit may be connected to the trigger switching unit. Figure 4 This is the circuit diagram of the time-delay unit, please refer to Figure 4 , the hysteresis unit 402 may be located between the first end of the transistor 302 of the trigger switching unit and the communication interface 128, that is, the input end of the hysteresis unit 402 may be the communication interface 128, and the output end of the hysteresis unit 402 may be connected to the first end of the transistor 302 of the trigger switching unit. Further, the hysteresis unit 402 includes level conversion resistors R211 and R212, MOS tubes Q201 and Q203 for controlling the logic to be turned on or off, and capacitors C207 and C208 for adjusting the hysteresis time. Optionally, a diode D102 may also be included to accelerate the path of the discharge voltage.

[0062] Exemplarily, when the performance test of the external antenna of the CPE terminal is to be performed, the control signal can be a high-level signal. The communication interface 128 sends a high-level control signal to the time delay unit, and the capacitor C207 and the capacitor C208 are charged. When the charging state is not reached, the MOS tube Q203 is in the off state, and then the gate of the MOS tube Q202 is also in a high-level state and cannot be turned on. The resistor R211 and the resistor R212 have no voltage output, and the control signal received by the transistor Q201 in the trigger switching unit is still a low-level signal. After the capacitor C207 and the capacitor C208 are fully charged, the MOS tube Q203 is at a low level, that is, the MOS tube Q203 is in the on state. At this time, the gate of the MOS tube Q202 is pulled low, so that the MOS tube Q202 is in the on state. At this time, the communication interface 128 sends a high-level control signal to the MOS tube Q202, which is provided to the transistor Q201 in the trigger switching unit after the voltage is divided by the resistor R211 and the resistor R212, thereby realizing the next step of the external antenna switching operation.

[0063] In the above embodiment, by controlling the time delay circuit to trigger the switching unit to switch to the working state later than the switch control unit, it can be ensured that the test signal is prepared at the appropriate time and transmitted to the correct antenna, thereby improving the accuracy and reliability of the test.

[0064] In some embodiments, the switch control unit further includes a logic inversion conversion circuit configured to synchronously configure the control signal when the switch control unit is connected to the external antenna path.

[0065] Understandably, please continue to refer to Figure 2 , because when the built-in antenna path needs to be connected, the switch control unit receives the control signal sent by the host computer and controls the RF switching switch S101 to close the RF1 switch path; when the external antenna path needs to be connected, the switch control unit receives the control signal sent by the host computer and controls the RF switching switch S101 to close the RF2 switch path. However, the RF switching switch S101 actually used may have multiple logic levels. For example, there may be the following situation: when the built-in antenna path needs to be connected, a high-level signal is used as a control signal, but the control logic VC1 of the RF switching switch S101 requires a low-level signal to complete the function of closing the RF1 switch path; or when the external antenna path needs to be connected, a low-level signal is used as a control signal, but the control logic VC1 of the RF switching switch S101 requires a high-level signal to complete the function of closing the RF2 switch path. Based on this, the switch control unit also includes a logic inversion conversion circuit. Among them, the logic inversion conversion circuit is a circuit component that can realize a specific logic operation, which can invert the state of the input logic signal. Exemplarily, if a high-level signal is input, a low-level signal is output after passing through the logic reverse conversion circuit; if a low-level signal is input, a high-level signal is output after passing through the logic reverse conversion circuit.

[0066] Specifically, the logic reverse conversion circuit can be connected to the switch control unit. Figure 5 This is the circuit diagram of the logic reverse conversion circuit, please refer to Figure 5, the logic reverse conversion circuit 502 can be located between the RF switch S101 of the switch control unit and the communication interface of the host computer to send the control signal, and the control signal sent by the host computer is used as the input of the logic reverse conversion circuit, and the output end of the logic reverse conversion circuit can be connected to the signal input end of the RF switch S101. Exemplarily, the logic reverse conversion circuit 502 includes an opposite switch switch S102 and an opposite switch switch S103, a MOS tube Q201 and other peripheral circuits. Among them, two switching paths are formed based on the opposite switch: the switching path one is a logic reverse path including the MOS tube Q201, and the switching path two is a normal path that does not require reverse processing. Specifically, the selection of the switching path can be determined according to the model of the RF switch S101 actually used by the switch control unit. Exemplarily, if the logic signal of the RF switch S101 actually used is the same as the triggering requirement of the control signal sent by the host computer, then when the control signal is a high-level signal and the built-in antenna path needs to be connected, the control logic VC1 of the RF switch S101 also needs a high-level signal to complete the function of closing the RF1 switch path. Specifically, a high-level signal is input to the opposite switching switch S103 to close the RF1 switch path, and is input to the opposite switching switch S102 to output a high-level signal to the switch control unit via the RF1 path, that is, no logic reverse operation is performed, and the logic reverse conversion circuit is normally connected to the switching path 2; if the logic signal of the RF switching switch S101 actually used is opposite to the trigger requirement of the control signal sent by the host computer, then when the control signal is a high-level signal and the built-in antenna path needs to be connected, the control logic VC1 of the RF switching switch S101 at this time requires a low-level signal to complete the function of closing the RF1 switch path. Specifically, the high-level signal is input to the logic phase conversion circuit, and after being converted into a low-level logic inversion control signal, it is input to the opposite switching switch S103 to control it to close the RF2 switch path, and is input to the opposite switching switch S102 to output a low-level signal to the switch control unit via the RF2 path. That is, a logic reverse operation is performed, and the logic reverse conversion circuit switches to the switching path 1.

[0067] In the above implementation, by designing the logic inversion conversion circuit, it is ensured that even if the level of the control signal is inconsistent with the triggering requirement of the RF switch, the signal can be adapted through the logic inversion conversion circuit to meet the triggering requirement of the RF switch. And the logic inversion conversion circuit provides additional operational flexibility, allowing the system to seamlessly switch between different level requirements that may exist in different components. Further, it is ensured that the switch control unit can correctly receive the triggering requirements behind the high and low levels of the control signal to ensure that the test signal can be correctly communicated and transmitted on the corresponding antenna path in the test instrument end and the CPE terminal.

[0068] In some embodiments, the number of switching RF interfaces is greater than or equal to 1, the number of switching RF interfaces is equal to the number of trigger switching units, the switching RF interfaces are connected to the trigger switching units in a one-to-one correspondence, and each trigger switching unit is respectively connected to the switch control unit.

[0069] It is understandable that different types of CPE terminals may have multiple external antenna interfaces. When performing antenna performance testing, it is necessary to perform antenna transmission performance testing on each external antenna interface of the CPE terminal. For example, taking two antennas as an example, please refer to Figure 6 The CPE terminal 102 is provided with a first external antenna interface 606 and a second external antenna interface 628. The test device includes a shielding box 108, an antenna coupling plate 110 and an antenna switching control module 112. The antenna coupling plate 110 and the antenna switching control module 112 are arranged in the shielding box 108. The antenna switching control module 112 includes a switch control unit 114, a first trigger switching unit 616 and a second trigger switching unit 630. The antenna switching control module 112 is provided with a built-in antenna interface 118, a first switching RF interface 620, a second switching RF interface 632 and an interconnection RF interface 122.

[0070] The switch control unit 114 is respectively connected to the built-in antenna interface 118, one end of the first trigger switching unit 616 and one end of the second trigger switching unit 630, the other end of the first trigger switching unit 616 is connected to the first switching RF interface 620, and the other end of the second trigger switching unit 630 is connected to the second switching RF interface 632. The interconnection RF interface 122 is suitable for connecting the test instrument 124. The first switching RF interface 620 is suitable for connecting to the first external antenna interface 606, so that when the first trigger switching unit 616 is in the working state, the antenna state of the CPE terminal 102 is switched to the first external antenna path for antenna performance testing. The second switching RF interface 632 is suitable for connecting to the second external antenna interface 628, so that when the second trigger switching unit 630 is in the working state, the antenna state of the CPE terminal 102 is switched to the second external antenna path for antenna performance testing.

[0071] Exemplarily, when the external antenna performance test of the CPE terminal is performed, the host computer sends a first control signal and a second control signal to the antenna switching control module 112. Wherein, when the first control signal is a high level signal and the second control signal is a low level signal, the first trigger switching unit 616 is in a working state, the high level signal is input into the switch control unit 114, the internal path of the RF switching switch inside it is closed, and the interconnection RF interface 122 and the first switching RF interface 620 are connected, and finally the first external antenna path from the interconnection RF interface 122 to the first external antenna interface 606 on the CPE terminal 102 is switched; when the second control signal is a high level signal and the first control signal is a low level signal, the second trigger switching unit 630 is in a working state, the high level signal is input into the switch control unit 114, the internal path of the RF switching switch inside it is closed, and the interconnection RF interface 122 and the second switching RF interface 632 are connected, and finally the second external antenna path from the interconnection RF interface 122 to the second external antenna interface 628 on the CPE terminal 102 is switched.

[0072] Optionally, different types of CPE terminals may also have multiple built-in antennas. Taking two antennas as an example, please continue to refer to Figure 6 The CPE terminal is also provided with a first built-in antenna 604 and a second built-in antenna 634. The built-in antenna interface 118 is adapted to be connected to the radio frequency interface 126 of the antenna coupling board 110, so that when the first trigger switching unit 616 and the second trigger switching unit 630 are not in the working state, the antenna state of the CPE terminal 102 is switched to the built-in antenna path to perform antenna performance testing. Specifically, the control software can be used to control the CPE terminal to use the first built-in antenna 604 or the second built-in antenna 634 to respectively interconnect signals with the test instrument 124, so as to perform the built-in antenna performance test of the CPE terminal.

[0073] In the above implementation, the number of trigger switching units is flexibly designed corresponding to different types of terminals, allowing different types and numbers of antennas to be tested. By simply adjusting the working states of different trigger switching units through control signals, the performance test of all antennas of the CPE terminal can be achieved without repeating the step of opening the shielding box to manually switch the antenna. It has good flexibility and scalability and can adapt to different models of CPE terminals.

[0074] In some implementations, an antenna switching control module is also provided, such as Figure 7 As shown, in the antenna performance test process applied to the CPE terminal, the CPE terminal 102 is provided with a built-in antenna 104 and an external antenna interface 106; the antenna switching control module 112 is provided in the shielding box 108, and the shielding box 108 is also provided with an antenna coupling plate 110.

[0075] The antenna switching control module 112 includes a switch control unit 114 and a trigger switching unit 116; the antenna switching control module 112 is provided with a built-in antenna interface 118, a switching radio frequency interface 120 and an interconnection radio frequency interface 122; the switch control unit 114 is respectively connected to the built-in antenna interface 118 and one end of the trigger switching unit 116, and the other end of the trigger switching unit 116 is connected to the switching radio frequency interface 120. The interconnection radio frequency interface 122 is suitable for connecting to a test instrument 124. The switching radio frequency interface 120 is suitable for connecting to an external antenna interface 106, so that when the trigger switching unit 116 is in a working state, the antenna state of the CPE terminal 102 is switched to the external antenna path for antenna performance testing. The built-in antenna interface 118 is suitable for connecting to the radio frequency interface 726 of the antenna coupling board 710, so that when the trigger switching unit 116 is not in a working state, the antenna state of the CPE terminal 102 is switched to the built-in antenna path for antenna performance testing.

[0076] For example, when performing an antenna performance test for sending or receiving by a CPE terminal, the CPE test software controls the CPE terminal or test instrument to transmit signals according to the test requirements, and the trigger switching unit 116 and the switch control unit 114 in the antenna switching control module 112 work together to implement the antenna performance test process. Specifically, when the trigger switching unit 116 is not in a working state, the built-in antenna 104 on the CPE terminal 102 receives or sends a test signal and passes through the RF interface 126 on the antenna coupling board 110, reaches the switch control unit 114 through the built-in antenna interface 118 via the RF cable, and then is transmitted to the test meter 124 through the interconnected RF interface 122, ultimately achieving interconnection and interoperability of the test signal from the test meter to the CPE terminal in the built-in antenna state and performing a performance test of the built-in antenna; on the contrary, when the trigger switching unit is in a working state, the antenna state of the CPE terminal will automatically switch to the external antenna state, and the test signal will be transmitted to the switching RF interface 120 through the external antenna interface 106 of the CPE terminal 102 through the RF cable and reaches the switch control unit 114, and then is transmitted to the test meter 124 through the interconnected RF interface 122, ultimately achieving interconnection and interoperability of the test signal from the test meter to the CPE terminal in the external antenna state and performing a performance test of the external antenna.

[0077] In the above implementation, for a CPE terminal provided with a built-in antenna and an external antenna interface, an antenna switching control module applied to the antenna performance test process of the CPE terminal is designed. It includes a switch control unit and a trigger switching unit. When the trigger switching unit is in a working state, the antenna state of the CPE terminal will switch to the external antenna path to perform a performance test of the external antenna. On the contrary, when the trigger switching unit is not in a working state, the antenna state of the CPE terminal is switched to the built-in antenna path to perform a performance test of the built-in antenna. So far, by designing the switch control unit and the trigger switching unit, the steps of opening the shielding box to actually unplug and plug the external antenna are omitted, and the process of automatically switching to the external antenna port for testing is completed after the built-in antenna test is completed, thereby simplifying the test process and improving work efficiency.

[0078] The antenna performance test device of the CPE terminal in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions. Each module in the antenna performance test device of the above CPE terminal can be implemented in whole or in part through software, hardware and a combination thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0079] This embodiment provides a method for testing the antenna performance of a CPE terminal. Figure 8 As shown, the method comprises the following steps:

[0080] S810. The antenna performance test device receives a control signal sent by a host computer.

[0081] S820. Trigger the switching unit to switch to a working state through a control signal, so that the antenna state of the CPE terminal is switched to an external antenna path to perform an antenna performance test.

[0082] Among them, the antenna performance test device is a device for testing the antenna performance of the CPE terminal. Specifically, the CPE terminal is provided with a built-in antenna and an external antenna interface. The test device includes a shielding box, an antenna coupling plate and an antenna switching control module, and the antenna coupling plate and the antenna switching control module are arranged in the shielding box. The antenna switching control module includes a switch control unit and a trigger switching unit. The antenna switching control module is provided with a built-in antenna interface, a switching radio frequency interface and an interconnection radio frequency interface. The switch control unit is respectively connected to the built-in antenna interface and one end of the trigger switching unit, and the other end of the trigger switching unit is connected to the switching radio frequency interface. Further, the interconnection radio frequency interface is suitable for connecting a test instrument. The switching radio frequency interface is suitable for connecting an external antenna interface, so that when the trigger switching unit is in a working state, the antenna state of the CPE terminal is switched to the external antenna path for antenna performance testing. The built-in antenna interface is suitable for connecting to the radio frequency interface of the antenna coupling plate, so that when the trigger switching unit is not in a working state, the antenna state of the CPE terminal is switched to the built-in antenna path for antenna performance testing.

[0083] For example, reference may be made to Figure 3a The antenna switching control module 112 in the antenna performance test device receives the control signal sent by the host computer 130 through the communication interface 128. The control signal can be used to represent a certain level signal sent to the antenna switching control module by the host computer. Figure 3bWhen the performance test of the external antenna of the CPE terminal is performed, the control signal can be a high-level signal. The switch control unit receives the high-level signal to connect the external antenna path. At the same time, when the high-level signal is transmitted to the transistor Q201 in the trigger switching unit, it will cause it to turn on, and the trigger switching unit is in working state. After Q201 is turned on, it can be regarded as a wire directly connecting the third end (collector) and the second end (emitter) of the transistor, which means that one end of the voltage divider resistor R201 is equivalent to being directly connected to the ground (GND), thereby forming a grounding path and forming a voltage divider circuit with the DC power supply of the CPE terminal. It should be understood that if an external antenna is inserted into the CPE terminal, a level judgment will be performed inside it, and the internal antenna state will be automatically switched to the external antenna state through its pre-set logic requirements. Furthermore, due to the action of the voltage divider resistor R201 being grounded and dividing the voltage, the CPE terminal will determine that the CPE terminal has been inserted with an external antenna, so the internal and external switches in the CPE terminal will open the external antenna switch path, that is, the CPE terminal automatically switches to the external antenna state. At the same time, when the trigger switching unit is in working state, the switch control unit is synchronously configured to connect the external antenna path so as to perform the performance test of the external antenna of the CPE terminal. Finally, the test signal from the test instrument to the CPE terminal external antenna state is interconnected and the performance test of the external antenna is performed.

[0084] In the above implementation, the antenna performance test device receives a control signal sent by the host computer, and the trigger switching unit in the antenna performance test device is triggered by the control signal to switch to the working state, so that the antenna state of the CPE terminal is switched to the external antenna path for antenna performance testing. The use of an automated antenna switching control module and control software can reduce the steps of manual antenna switching and repeated operations, significantly improving the efficiency of the test process. And by accurately controlling the signal path and automating the test process, more accurate test data can be obtained, thereby improving the reliability of the test results.

[0085] In some embodiments, the antenna performance test device is connected to a test instrument, and the test instrument is connected to a host computer. Fig. 9 , the method further comprises:

[0086] S910: The test instrument receives a first test signal in the working frequency band of the CPE terminal, and sends a second test signal in the working frequency band of the CPE terminal through the test instrument.

[0087] Among them, the working frequency band of the CPE terminal may refer to a specific frequency range that the CPE terminal is designed for normal communication. Exemplarily, for 4G or 5G devices, the working frequency band may be a specific frequency bandwidth, such as 2.4GHz or 5GHz; for 4G CPE, the working frequency band may be an LTE frequency band; for 5G CPE, the working frequency band may be a 5G NR frequency band such as n41 and n78. The first test signal and the second test signal may be used to represent the signals sent and received by the CPE terminal during the test to evaluate the performance of the CPE terminal. Exemplarily, the first test signal may be a signal sent by the CPE terminal within the working frequency band, which is used to test its transmission performance, including parameters such as power or modulation quality. The second test signal may be a signal sent by a test instrument to the CPE terminal, which is used to test its receiving performance, such as parameters such as signal receiving sensitivity and quality.

[0088] S920. The test instrument sends a first test result of the first test signal and a second test result of the second test signal to a host computer.

[0089] The first test result and the second test result may be used to represent the relevant test data of the CPE terminal obtained after the antenna performance test. Specifically, the first test result and the second test result may include parameters such as signal strength, frequency, modulation error and EVM (error vector magnitude).

[0090] Specifically, the test instrument is equipped with a communication interface for data transmission with a host computer. The host computer can send a control signal to the test instrument through a serial port control system to control the test instrument to perform an antenna performance test. Optionally, after obtaining the first test result and the second test result, the test instrument can also perform preliminary processing on the collected data, and send the processed test results to the host computer through its communication interface and data transmission protocol.

[0091] S930: The host computer determines whether the performance of the external antenna interface of the CPE terminal meets the design requirements according to the first test result, the second test result and the theoretical insertion loss data of the antenna performance test device.

[0092] The insertion loss data may refer to the measurement data of the reduction of the signal strength due to the reflection and absorption of energy when the signal passes through a network or antenna in a radio frequency network. Specifically, the insertion loss data is usually expressed in decibels (dB) and can be obtained through experimental measurement or theoretical calculation.

[0093] It is understandable that when the performance test of the external antenna of the CPE terminal is conducted based on the antenna performance test device, the control signal is sent by the host computer through the serial port and input into the trigger switching unit and the switch control unit. In essence, the conduction and cutoff of the transistor in the trigger switching unit are used to simulate whether the external antenna is connected to the CPE terminal, and the external antenna is not actually connected to the CPE terminal to measure its performance. Therefore, when judging the performance results of the external antenna interface of the CPE terminal, the theoretical insertion loss data of the circuit can be calculated based on the actual RF network of the trigger switching unit in the antenna performance test device, and compared with the first test result and the second test result measured by the test instrument, so as to judge whether the performance of the external antenna interface of the CPE terminal meets the design requirements.

[0094] In the above implementation, a method of simulating the external antenna access to the CPE terminal is adopted, and the connection and disconnection of the external antenna are simulated by triggering the transistor in the switching unit, so as to calculate the theoretical insertion loss data according to the actual circuit and judge whether the performance of the external antenna interface of the CPE terminal meets the design requirements. The measurement data can be quickly integrated into the test software without going through a complicated prototype selection process. The test parameters can be flexibly adjusted according to different test requirements and frequency band requirements, and stable and accurate insertion loss data can be calculated without redesigning or adjusting the physical test equipment, which improves the convenience and efficiency of the operation process while ensuring the reliability of the test results.

[0095] For the specific definition of a method for testing the antenna performance of a CPE terminal, please refer to the definition of a device for testing the antenna performance of a CPE terminal mentioned above, which will not be repeated here. It should be understood that although the various steps in the above flowchart are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise clearly stated in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, at least part of the steps in the above flowchart may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be executed in turn or alternating with other steps or at least part of the steps or stages in other steps.

[0096] In some implementations, the number of CPE terminals is multiple, including a first device and a second device, the first device is used as a test device, and the second device is used as a device to be tested. The device to be tested is provided with a pre-power-on interface and a test power supply port. The method also includes:

[0097] Place the test equipment in a shielded box for testing, and power the test equipment through the first branch power supply; power the device under test through the second branch power supply to pre-power the device under test during the antenna performance test of the test equipment. After the test equipment completes the test, place the device under test in a shielded box for testing, connect the first branch power supply to the test power supply port of the device under test, and after the first branch power supply powers the device under test, disconnect the second branch power supply from the pre-power-on interface.

[0098] Among them, the first branch power supply and the second branch power supply may refer to branch power supplies in the main power supply, and the first branch power supply is used to provide power to the test equipment that is undergoing antenna performance test; the first branch power supply is used to provide power to the device under test that needs to undergo antenna performance test next. Specifically, the test CPE terminal device is placed in the shielding box, and the first branch power supply is used to power the test CPE terminal. Further, the system hardware is connected and the antenna performance of the test equipment is tested. During the test, the first branch power supply and the power input end of the test equipment are always connected to ensure that the test equipment has a continuous power supply during the test. It can be understood that after providing a stable power supply to the CPE terminal, the device needs to go through an initialization startup process before it can start to operate normally, that is, only after a period of startup time, the device can be fully started and enter the working state. Therefore, based on this, when there is a CPE terminal in the shielding box that is undergoing the antenna performance test, the second branch power supply can be used synchronously to power the next device under test that needs to undergo antenna performance test, so as to pre-start the device under test, and ensure that after the test equipment completes the antenna performance test, the antenna performance test can be immediately performed on the device under test that is already in the working state.

[0099] For example, please refer to Fig.10, the device under test 1002 is provided with a first pre-power-on interface 1004 and a test power supply port 1006. During the test process of the test device 1008 performing the antenna performance test, the second branch power supply 1010 is connected to the first pre-power-on interface 1004, and when the test device 1008 performs the antenna performance test, the device under test 1002 is powered synchronously to pre-start the device under test 1002. Further, after the test device 1008 completes the test, the device under test 1002 is placed in the shielding box 108 for testing, and the first branch power supply 1014 is connected to the test power supply port 1006 of the device under test 1002. After the first branch power supply 1014 powers the device under test 1002, the second branch power supply 1010 is disconnected from the first pre-power-on interface 1004. Optionally, during the antenna performance test of the device under test 1002, the second branch power supply 1010 can be connected to the second pre-power-on interface 1018 of the next device under test 1016. When the device under test 1002 is performing the antenna performance test, the next device under test 1016 can be powered on synchronously to pre-start the next device under test 1016.

[0100] In the above implementation, by pre-powering and starting the device under test, the preparation time during the test process can be saved. This method also allows the continuity of the test process, makes full use of the waiting time of the test equipment for testing, pre-powers on and initializes the device under test, and when the test equipment completes the test, the device under test is ready, so that the next round of testing can be started immediately, increasing the number of devices that complete the test per unit time, improving the test throughput, and thus improving the overall efficiency of the test.

[0101] The embodiment of the present application also provides a computer device, which may be a terminal, and its internal structure diagram may be as follows: Fig.11 As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a method for testing the antenna performance of a CPE terminal is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.

[0102] Those skilled in the art will understand that Fig.11 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0103] The embodiment of the present application also provides a computer-readable storage medium. The above method according to the embodiment of the present application can be implemented in hardware, firmware, or implemented as a computer code that can be recorded in a storage medium, or is implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.

[0104] The embodiment of the present application provides a computer program product, which includes computer instructions, which are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the method of any embodiment of the present application.

[0105] The antenna performance test device and method of a CPE terminal described in the above embodiment can be implemented by a computer chip or entity, or by a product with a certain function. A typical implementation device is a computer. Specifically, the computer can be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0106] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0107] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0108] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0109] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0110] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0111] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0112] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0113] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0114] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. Since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0115] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

[0116] Although the embodiments of the present application are described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present application, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A CPE terminal antenna performance test device, characterized in that: The CPE terminal is provided with a built-in antenna and an external antenna interface; the test device comprises a shielding box, an antenna coupling plate and an antenna switching control module, and the antenna coupling plate and the antenna switching control module are arranged in the shielding box; The antenna switching control module includes a switch control unit and a trigger switching unit; the antenna switching control module is provided with a built-in antenna interface, a switching radio frequency interface and an interconnection radio frequency interface; the switch control unit is respectively connected to the built-in antenna interface and one end of the trigger switching unit, and the other end of the trigger switching unit is connected to the switching radio frequency interface; The interconnected radio frequency interface is suitable for connecting a test instrument; The switching radio frequency interface is adapted to be connected to the external antenna interface, so that when the trigger switching unit is in a working state, the antenna state of the CPE terminal is switched to the external antenna path to perform antenna performance testing; The built-in antenna interface is suitable for connecting to the radio frequency interface of the antenna coupling board, so that when the trigger switching unit is not in a working state, the antenna state of the CPE terminal is switched to the built-in antenna path to perform antenna performance testing.

2. The device according to claim 1, characterized in that When the trigger switching unit is not in a working state, the switch control unit is configured to connect the built-in antenna path; When the trigger switching unit is in a working state, the switch control unit is configured to connect the external antenna path.

3. The device according to claim 2, characterized in that The antenna switching control module further includes a time lag unit connected to the trigger switching unit; The time delay unit is configured to delay the switching moment of the trigger switching unit when the trigger switching unit needs to switch to the working state, so that the time when the switch control unit connects to the external antenna path is earlier than the switching moment of the trigger switching unit.

4. The device according to claim 2, characterized in that The antenna switching control module is also provided with a communication interface, and the communication interface is configured to communicate with the host computer; The trigger switching unit is further configured to trigger whether to switch to the working state through the control signal when the switch control unit receives the control signal sent by the host computer.

5. The device according to claim 4, characterized in that The switch control unit also includes a logic inversion conversion circuit; The logic inversion conversion circuit is configured to synchronously configure the control signal when the switch control unit is connected to the external antenna path.

6. The device according to claim 1, characterized in that The antenna switching control module is also provided with a communication interface, and the communication interface is configured to communicate with the host computer; The trigger switching unit includes a transistor and a voltage dividing resistor; The first end of the transistor is connected to the communication interface, the second end of the transistor is grounded, the third end of the transistor is connected to one end of the voltage-dividing resistor, and the other end of the voltage-dividing resistor is connected to the switching RF interface.

7. The device according to claim 1, characterized in that The number of the switching radio frequency interfaces is greater than or equal to 1; the number of the switching radio frequency interfaces is equal to the number of the trigger switching units; The switching radio frequency interface is connected to the trigger switching unit in a one-to-one correspondence; Each of the trigger switching units is connected to the switch control unit respectively.

8. An antenna switching control module, characterized in that: The antenna performance test process is applied to a CPE terminal, wherein the CPE terminal is provided with a built-in antenna and an external antenna interface; the antenna switching control module is provided in a shielding box, and an antenna coupling plate is also provided in the shielding box; The antenna switching control module includes a switch control unit and a trigger switching unit; the antenna switching control module is provided with a built-in antenna interface, a switching radio frequency interface and an interconnection radio frequency interface; the switch control unit is respectively connected to the built-in antenna interface and one end of the trigger switching unit, and the other end of the trigger switching unit is connected to the switching radio frequency interface; The interconnected radio frequency interface is suitable for connecting a test instrument; The switching radio frequency interface is adapted to be connected to the external antenna interface, so that when the trigger switching unit is in a working state, the antenna state of the CPE terminal is switched to the external antenna path to perform antenna performance testing; The built-in antenna interface is suitable for connecting to the radio frequency interface of the antenna coupling board, so that when the trigger switching unit is not in a working state, the antenna state of the CPE terminal is switched to the built-in antenna path to perform antenna performance testing.

9. A method for testing antenna performance of a CPE terminal, characterized in that: The method comprises: The antenna performance test device according to any one of claims 1 to 7 receives a control signal sent by a host computer; The trigger switching unit is triggered to switch to the working state through the control signal, so that the antenna state of the CPE terminal is switched to the external antenna path to perform antenna performance testing.

10. The method according to claim 9, characterized in that The antenna performance test device is connected to a test instrument, and the test instrument is connected to the host computer; the method also includes: The test meter receives a first test signal in the working frequency band of the CPE terminal, and sends a second test signal in the working frequency band of the CPE terminal through the test meter; The test instrument sends a first test result of the first test signal and a second test result of the second test signal to the host computer; The host computer determines whether the performance of the external antenna interface of the CPE terminal meets the design requirements according to the first test result, the second test result and the theoretical insertion loss data of the antenna performance testing device.