Search

CN-122001496-A - Antenna testing device, system and method, electronic equipment and storage medium

CN122001496ACN 122001496 ACN122001496 ACN 122001496ACN-122001496-A

Abstract

The embodiment of the application provides an antenna testing device, an antenna testing method, electronic equipment and a medium. The antenna testing device comprises a communication module and a processing module. A first link and a second link are arranged between the communication module and the equipment to be tested. When the WiFi index of the device to be tested is tested, the first device performs information interaction with the device to be tested through the communication module and the second link. Therefore, the device to be tested can timely acquire the WiFi instruction, the first device can timely acquire the result of the device to be tested executing the WiFi instruction, and the processing module is controlled to test the WiFi index of the device to be tested based on the result of the device to be tested executing the WiFi instruction. It is not necessary to wait for the host to send a test instruction at the next time stamp, thus contributing to improved test efficiency.

Inventors

  • Li Xiaocha
  • KONG RONGRONG
  • LI YONGJIE
  • WANG GUOLIANG
  • BAI JIAN

Assignees

  • 荣耀终端股份有限公司

Dates

Publication Date
20260508
Application Date
20241105

Claims (20)

  1. 1. An antenna testing device is characterized by comprising a communication module and a processing module; The system comprises a communication module, a processing module, a first device, a second device, a first link and a second link, wherein the communication module is at least provided with the first link and the second link, the first link is different from the second link, the first link is a wireless link without WiFi, and the second link is a Bluetooth link; the communication module is used for: Receiving first indication information from the first equipment, wherein the first indication information indicates the mapping relation between signal parameters and WiFi instructions; transmitting the first indication information to the equipment to be tested through the second link; receiving control information from the first equipment, and switching a link with the equipment to be tested into the first link; receiving second instruction information from the first device, and sending a first signal to the device to be tested through the first link, wherein the first signal is used for determining a first WiFi instruction corresponding to the signal parameter of the first signal based on the mapping relation between the signal parameter and the WiFi instruction; receiving a second signal from the device to be tested, and sending the second signal to the first device, wherein a signal parameter of the second signal indicates an execution result of the device to be tested to execute an operation corresponding to the first WiFi instruction; the processing module is used for receiving an implicit or displayed test instruction from the first device and testing the WiFi index of the device to be tested.
  2. 2. The apparatus of claim 1, wherein the control information is a bluetooth shutdown instruction, and the communication module is specifically configured to: Receiving a Bluetooth starting instruction from the first equipment, starting a first communication function, enabling the communication module to establish the second link with the equipment to be tested, or receiving a Bluetooth closing instruction sent by the first equipment, starting a second communication function, switching a link with the equipment to be tested into the first link, wherein the first communication function is different from the second communication function, the first communication function is a Bluetooth function, and the second communication function is a wireless communication function not used for WiFi.
  3. 3. The apparatus of claim 2, wherein the second communication function comprises at least one of an on-air recording function and an optical communication function.
  4. 4. The apparatus of claim 3, wherein if the second communication function is a broadcast recording function, the second instruction information includes a broadcast instruction and a recording instruction, and the communication module is configured to receive the second instruction information from the first device, and send a first signal to the device to be tested, and specifically includes: the method comprises the steps of receiving the broadcasting instruction and the recording instruction from first equipment, and sending a first signal to the equipment to be tested to be first audio data, wherein the broadcasting instruction at least comprises the frequency of the first audio data, the first audio data is used for determining a first WiFi instruction corresponding to the frequency of the first audio data based on the mapping relation between the frequency of the audio data and the WiFi instruction, and the recording instruction is used for recording second audio data, and the frequency of the second audio data indicates the result of the equipment to be tested executing the operation corresponding to the first WiFi instruction; The communication module is configured to receive a second signal from the device under test, and send the second signal to the first device, and specifically includes: And receiving the second signal sent by the equipment to be tested as the second audio data according to the recording instruction, and sending the second audio data to the first equipment.
  5. 5. The apparatus of claim 4, wherein the frequency of the second audio data is a sound source frequency, the frequency range of the second audio data is 4 KHz-18 KHz, and the second audio data comprises 4KHz and 18KHz.
  6. 6. The apparatus of claim 4, wherein the mapping of the frequency of the audio data to the WiFi instruction comprises at least: If the frequency of the audio data is the first frequency, the WiFi instruction is a WiFi starting instruction, and the WiFi starting instruction instructs the equipment to be tested to receive and send WiFi signals for testing the WiFi index; If the frequency of the audio data is the second frequency, the WiFi instruction is a WiFi closing instruction, and the WiFi closing instruction instructs the equipment to be tested to close the instruction of receiving and sending the WiFi signal; If the frequency of the audio data is the third frequency, the WiFi instruction is a response success instruction, and the response success instruction indicates that the equipment to be tested successfully executes the operation corresponding to the WiFi starting instruction; if the frequency of the audio data is the fourth frequency, the WiFi instruction is a response failure instruction, and the response failure instruction indicates that the device to be tested does not successfully execute the operation corresponding to the WiFi start instruction.
  7. 7. The apparatus of any of claims 1-6, wherein the apparatus and the device under test are disposed in a first unit, the first unit configured to shield interference from external signals on the apparatus, the external signals being signals external to the first unit.
  8. 8. An antenna testing device is characterized by comprising a communication module and a processing module; The device is in communication connection with second equipment, at least a first link and a second link are arranged between the second equipment and equipment to be tested, and the first link and the second link are different, wherein the first link is a wireless link which is not WiFi, and the second link is a Bluetooth link; The communication module is used for sending first indication information to the second equipment, wherein the first indication information is used for indicating the mapping relation between signal parameters and WiFi instructions; transmitting second instruction information to the second device, wherein the second instruction information is used for instructing the second device to transmit a first signal, and the first signal is used for determining a first WiFi instruction corresponding to the signal parameter of the first signal based on the mapping relation between the signal parameter and the WiFi instruction; The communication module is used for receiving a second signal from the equipment to be tested, and signal parameters of the second signal indicate the result of the operation corresponding to the first WiFi instruction executed by the equipment to be tested; the processing module is used for sending an implicit or displayed test instruction to the second device, wherein the test instruction indicates to test the WiFi index of the device to be tested.
  9. 9. The apparatus of claim 8, wherein the control information is a bluetooth shutdown instruction, and the communication module is specifically configured to: The method comprises the steps that a Bluetooth opening instruction is sent to second equipment, the Bluetooth opening instruction indicates to open a first communication function, a second link is established between the second equipment and equipment to be detected, or a Bluetooth closing instruction is sent to the second equipment, the Bluetooth closing instruction closes the second communication function, the first link is established between the second equipment and the equipment to be detected, the first communication function is different from the second communication function, the first communication function is a Bluetooth function, and the second communication function is a wireless communication function not being WiFi.
  10. 10. The apparatus of claim 9, wherein if the second communication function is a broadcast recording function, the second indication information includes a broadcast instruction and a recording instruction, the first signal is first audio data, and the second signal is second audio data; The broadcasting instruction at least comprises the frequency of first audio data, wherein the first audio data is used for determining a first WiFi instruction corresponding to the frequency of the first audio data based on the mapping relation between the frequency of the audio data and the WiFi instruction, the recording instruction is used for recording second audio data, and the frequency of the second audio data indicates the result of the device to be tested executing the operation corresponding to the first WiFi instruction.
  11. 11. An antenna test system comprising an antenna test apparatus as claimed in any one of claims 1 to 6 and an antenna test apparatus as claimed in any one of claims 7 to 10.
  12. 12. The antenna testing method is characterized by being applied to an antenna testing device, the antenna testing device comprises a communication module and a processing module, at least a first link and a second link are arranged between the communication module and equipment to be tested, the first link is different from the second link, the first link is a wireless link which is not WiFi, the second link is a Bluetooth link, the communication module is in communication connection with the first equipment, and the processing module is in communication connection with the first equipment and the equipment to be tested respectively, and the method comprises the following steps: Receiving first indication information from the first equipment, wherein the first indication information indicates the mapping relation between signal parameters and WiFi instructions; transmitting the first indication information to the equipment to be tested through the second link; receiving control information from the first equipment, and switching a link with the equipment to be tested into the first link; receiving second instruction information from the first device, and sending a first signal to the device to be tested through the first link, wherein the first signal is used for determining a first WiFi instruction corresponding to the signal parameter of the first signal based on the mapping relation between the signal parameter and the WiFi instruction; receiving a second signal from the device to be tested, and sending the second signal to the first device, wherein a signal parameter of the second signal indicates an execution result of the device to be tested to execute an operation corresponding to the first WiFi instruction; and receiving an implicit or display test instruction from the first equipment, and testing the WiFi index of the equipment to be tested.
  13. 13. The method of claim 12, wherein the second link is a link between the communication module and the device under test after receiving a bluetooth on command from the first device to open a first communication function.
  14. 14. The method of claim 13, wherein the control information is a bluetooth shutdown command, and wherein the receiving the control information from the first device switches a link with the device under test to the first link comprises: and receiving the Bluetooth closing instruction sent by the first equipment, starting a second communication function, and switching a link between the first communication function and the equipment to be tested into the first link, wherein the first communication function is different from the second communication function, the first communication function is a Bluetooth function, and the second communication function is a wireless communication function not used for WiFi.
  15. 15. The apparatus of claim 13, wherein the second communication function comprises at least one of an on-air recording function and an optical communication function.
  16. 16. The apparatus of claim 13, wherein if the second communication function is a broadcast recording function, the second instruction information includes a broadcast instruction and a recording instruction, the receiving the second instruction information from the first device, and transmitting the first signal to the device under test comprises: The method comprises the steps of receiving the broadcasting instruction and the recording instruction from first equipment, and sending first audio data to the equipment to be tested, wherein the broadcasting instruction at least comprises the frequency of the first audio data, the first audio data is used for determining a first WiFi instruction corresponding to the frequency of the first audio data based on the mapping relation between the frequency of the audio data and the WiFi instruction, and the recording instruction is used for recording second audio data, and the frequency of the second audio data indicates the result of the equipment to be tested to execute the operation corresponding to the first WiFi instruction; the receiving the second signal from the device under test, and sending the second signal to the first device, includes: And receiving the second audio data sent by the equipment to be tested according to the recording instruction, and sending the second audio data to the first equipment.
  17. 17. The apparatus of claim 16, wherein the frequency of the second audio data is a sound source frequency, the frequency of the second audio data ranges from 4KHz to 18KHz, and includes 4KHz and 18KHz.
  18. 18. The antenna testing method is characterized by being applied to an antenna testing device, wherein the antenna testing device comprises a communication module and a processing module, the device is in communication connection with second equipment, at least a first link and a second link are arranged between the second equipment and equipment to be tested, the first link and the second link are different, the first link is a wireless link which is not WiFi, and the second link is a Bluetooth link, and the method comprises the following steps: sending first indication information to the second equipment, wherein the first indication information is used for indicating the mapping relation between signal parameters and WiFi instructions; Transmitting second instruction information to the second device, wherein the second instruction information is used for instructing the second device to transmit a first signal, and the first signal is used for determining a first WiFi instruction corresponding to the signal parameter of the first signal based on the mapping relation between the signal parameter and the WiFi instruction; Receiving a second signal from the equipment to be tested, wherein a signal parameter of the second signal indicates a result of the equipment to be tested to execute an operation corresponding to the first WiFi instruction; and when the signal parameters of the second signal indicate that the execution is successful, acquiring a test instruction, and sending the test instruction to the second equipment, wherein the test instruction indicates to test the WiFi index of the equipment to be tested.
  19. 19. The electronic device is characterized by comprising a processor, a memory and a signal transceiver, wherein the processor is coupled with the memory and is respectively connected with the signal transceiver; the memory stores computer instructions that, when executed by the processor and the signal transceiver, cause the electronic device to perform the antenna test method of any one of claims 12-17 or the antenna test method of claim 18.
  20. 20. A computer readable storage medium comprising computer instructions which, when executed, perform the antenna test method of any one of claims 12-17 or the antenna test method of claim 18.

Description

Antenna testing device, system and method, electronic equipment and storage medium Technical Field The present application relates to the field of communications technologies, and in particular, to an antenna testing device, a method, an electronic device, and a medium. Background An antenna is an essential element in an electronic device with wireless communication capabilities. After the antenna is installed in the electronic device, the actual communication performance of the electronic device needs to be determined after the antenna test system tests. An antenna test system generally includes a host (also referred to as a first device) and a test device (also referred to as a second device). The host computer is in communication connection with the electronic device through Bluetooth or wireless fidelity (WIRELESS FIDELITY, WIFI) and is used for issuing a test instruction to the electronic device so as to control the communication state of the electronic device. The test equipment is used for testing various indexes of the electronic equipment in different communication states. At present, a host encounters a scenario where bluetooth communication and WiFi communication cannot coexist, specifically a scenario where the host includes a bluetooth communication function, but does not include a WiFi communication function. In this scenario, the host, because it does not have a WiFi communication function, cannot establish a WiFi connection with the electronic device, which may cause the test device to fail to test the WiFi index of the electronic device. Disclosure of Invention The embodiment of the application provides an antenna testing device, an antenna testing method, electronic equipment and a storage medium, which can achieve the purpose of testing WiFi indexes of the electronic equipment under the condition that Bluetooth communication and WiFi communication do not coexist. The technical scheme is as follows. The embodiment of the application provides an antenna testing device, which comprises a communication module and a processing module, wherein at least a first link and a second link are arranged between the communication module and equipment to be tested, the first link is different from the second link, the first link is a wireless link without WiFi, the second link is a Bluetooth link, the communication module is in communication connection with the first equipment, the processing module is respectively in communication connection with the first equipment and the equipment to be tested, the communication module is used for receiving first indication information from the first equipment, the first indication information indicates the mapping relation between signal parameters and WiFi instructions, the first indication information is sent to the equipment to be tested through the second link, control information from the first equipment is received, the link with the equipment to be tested is switched into the first link, second indication information from the first equipment is received, the first signal is sent to the equipment to be tested through the first link, the first signal is used for determining a first WiFi instruction corresponding to the signal parameters of the first signal, the second signal is sent to the first equipment to be tested, the second signal is sent to the first equipment, the second signal is sent to the first equipment is indicated by the signal parameters of the first WiFi instruction corresponding to the signal parameters, the first WiFi instruction is used for executing the first instruction, and the first instruction is used for executing the implicit test instruction or the first instruction is used for executing the implicit test instruction. The antenna test device is a second device, and a first link and a second link are arranged between the host and the device to be tested through a first communication module of the second device. At least 2 different communication links are arranged between the first communication module and the equipment to be tested, one is a non-WiFi link, and the other is a Bluetooth link. When the WiFi index of the device to be tested is tested, the first device performs information interaction with the device to be tested through the first communication module and the non-WiFi link. Therefore, the device to be tested can timely acquire the WiFi instruction, the first device can timely acquire the result of the device to be tested executing the WiFi instruction, and the first processing module is controlled to test the WiFi index of the device to be tested based on the result of the device to be tested executing the WiFi instruction. That is, when the WiFi index of the device to be tested is tested, the first device communicates with the device to be tested in real time through the non-WiFi link, so that the problem of low measurement accuracy caused by that the first device cannot communicate with the device to be tested in real t