[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN110031688B - Antenna test method, antenna test device and computer readable storage medium - Google Patents

Antenna test method, antenna test device and computer readable storage medium Download PDF

Info

Publication number
CN110031688B
CN110031688B CN201910235846.6A CN201910235846A CN110031688B CN 110031688 B CN110031688 B CN 110031688B CN 201910235846 A CN201910235846 A CN 201910235846A CN 110031688 B CN110031688 B CN 110031688B
Authority
CN
China
Prior art keywords
control logic
input signal
antenna
stored
frequency
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910235846.6A
Other languages
Chinese (zh)
Other versions
CN110031688A (en
Inventor
俞斌
杨维琴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CERTUSNET CORP
Original Assignee
Huizhou TCL Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201910235846.6A priority Critical patent/CN110031688B/en
Publication of CN110031688A publication Critical patent/CN110031688A/en
Application granted granted Critical
Publication of CN110031688B publication Critical patent/CN110031688B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R29/00Arrangements for measuring or indicating electric quantities not covered by groups G01R19/00 - G01R27/00
    • G01R29/08Measuring electromagnetic field characteristics
    • G01R29/10Radiation diagrams of antennas

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the application discloses a test method, a test device and a computer readable storage medium of an antenna, wherein the test method is applied to a mobile terminal and comprises the following steps: acquiring an input signal; determining a target control logic of the antenna according to the input signal; and testing the antenna according to the target control logic. The method and the device for testing the antenna determine the target control logic of the antenna according to the input signal and test the antenna according to the determined target control logic, so that a tester can adjust the control logic of the antenna by changing the input signal, and the test efficiency is improved.

Description

Antenna test method, antenna test device and computer readable storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for testing an antenna, and a computer-readable storage medium.
Background
The call is one of the most basic functions of the mobile terminal, and the call of the mobile terminal is to receive voice signals, process the voice signals to a certain degree and send the voice signals out in an electromagnetic wave form through an antenna. The antenna of the mobile terminal is generally arranged on the surface of the mobile terminal, and because the surface area of the mobile terminal is limited, and many places on the surface of the mobile terminal are not suitable for arranging the antenna, for example, the antenna near the loudspeaker is susceptible to magnetic field interference and is not suitable for arranging the antenna. The limited number of antennas usually entail more different antenna requirements, and especially for LTE (Long Term Evolution ) high frequency (LTE B7/B38/B40/B41, etc.), the antenna performance requirements are more strict. The mobile terminal is short in cycle such as production and development, the control logic of the antenna needs to be debugged in a short time, so that the work of an engineer is heavy, the control logic of the antenna needs to be readjusted once according to test data, and the antenna control logic is fixed in the test and cannot be modified in software in the whole test process, so that the problems of long test process, high possibility of errors, need of manufacturing software of different control logics and the like exist.
That is, in the prior art, the control logic of the antenna cannot be adjusted, and the test efficiency is reduced.
Disclosure of Invention
The embodiment of the application provides a test method of a communication module, a mobile terminal and a computer readable storage medium, which can adjust the control logic of an antenna and improve the test efficiency.
In order to solve the above problem, in a first aspect, the present application provides a method for testing an antenna, where the method is applied to a mobile terminal, and the method includes:
acquiring an input signal;
determining target control logic of the antenna according to the input signal;
and testing the antenna according to the target control logic.
Wherein the determining target control logic for the antenna from the input signal comprises:
detecting a frequency of the input signal;
judging whether pre-stored control logic matched with the frequency of the input signal is stored or not, wherein signals with different frequencies correspond to different pre-stored control logic;
and if a pre-stored control logic matched with the frequency of the input signal is stored, determining the pre-stored control logic matched with the frequency of the input signal as the target control logic.
Wherein, the test method further comprises:
and if the prestored control logic matched with the frequency of the input signal is not stored, sending out prompt information.
Wherein the testing the antenna according to the target control logic includes:
and controlling the antenna to transmit signals according to the target control logic so as to test the performance of the antenna.
Wherein, the mobile terminal includes a signal input interface, and the acquiring the input signal includes:
enabling the signal input interface;
the input signal is obtained from a signal generator through the signal input interface.
Wherein the determining the target control logic of the antenna based on the input signal comprises:
disabling the signal input interface to stop acquiring the input signal.
In order to solve the above problem, in a second aspect, the present application provides an antenna testing apparatus, applied to a mobile terminal, including:
the acquisition module is used for acquiring an input signal;
a determining module for determining a target control logic of the antenna according to the input signal;
and the test module is used for testing the antenna according to the target control logic.
Wherein, the testing device also comprises a frequency detection module, a judgment module and a control logic storage module,
the frequency detection module is used for detecting the frequency of the input signal;
the control logic storage module is used for storing the corresponding relation between signals with different frequencies and different pre-stored control logics;
the judging module is used for judging whether pre-stored control logic matched with the frequency of the input signal is stored or not, wherein signals with different frequencies correspond to different pre-stored control logic;
the determining module is further configured to determine, when a pre-stored control logic matched with the frequency of the input signal is stored, the pre-stored control logic matched with the frequency of the input signal as the target control logic.
The determining module is further used for sending out prompt information when no prestored control logic matched with the frequency of the input signal is stored.
In order to solve the above problem, in a third aspect, the present application provides a computer-readable storage medium having stored therein a plurality of instructions adapted to be loaded by a processor to perform the method for testing an antenna of any one of the above.
The beneficial effect of this application is: different from the prior art, the application provides a method for testing an antenna, the method is applied to a mobile terminal, and the method comprises the following steps: acquiring an input signal; determining a target control logic of the antenna according to the input signal; and testing the antenna according to the target control logic. The method and the device for testing the antenna determine the target control logic of the antenna according to the input signal and test the antenna according to the determined target control logic, so that a tester can adjust the control logic of the antenna by changing the input signal, and the test efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of an embodiment of a method for testing an antenna according to an embodiment of the present application;
fig. 2 is a schematic flowchart of another embodiment of a method for testing an antenna according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a device for testing an antenna according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application;
fig. 5 is another schematic structural diagram of a mobile terminal according to an embodiment of the present application.
DETAILED DESCRIPTION OF EMBODIMENT (S) OF INVENTION
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the description of the present application, it is to be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", and the like indicate orientations or positional relationships based on those shown in the drawings, and are used merely for convenience of description and for simplicity of description, and do not indicate or imply that the referenced device or element must have a particular orientation, be constructed in a particular orientation, and be operated, and thus should not be considered as limiting the present application. Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more features. In the description of the present application, "a plurality" means two or more unless specifically limited otherwise.
In this application, the word "exemplary" is used to mean "serving as an example, instance, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments. The following description is presented to enable any person skilled in the art to make and use the application. In the following description, details are set forth for the purpose of explanation. It will be apparent to one of ordinary skill in the art that the present application may be practiced without these specific details. In other instances, well-known structures and processes are not set forth in detail in order to avoid obscuring the description of the present application with unnecessary detail. Thus, the present application is not intended to be limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features disclosed herein.
The application provides a test method, a test device and a computer readable storage medium of an antenna, wherein the test method is applied to a mobile terminal and comprises the following steps: acquiring an input signal; determining a target control logic of the antenna according to the input signal; and testing the antenna according to the target control logic. The following are detailed below.
Referring to fig. 1, fig. 1 is a flowchart illustrating an embodiment of a method for testing an antenna according to the present application. The method for testing the antenna in the embodiment can be applied to the mobile terminal, and the mobile terminal can be intelligent equipment such as a smart phone, a smart watch, an ipad and a tablet personal computer, which is not limited in the application. The specific flow of the antenna test method can be as follows:
s11: an input signal is acquired.
In this embodiment, the mobile terminal obtains the input signal through the signal generator. The signal generator is disposed on the mobile terminal or independent of the mobile terminal, and can generate signals of various frequencies/amplitudes, such as triangular waves, square waves, and sine waves, which can be set by a user according to specific situations, and which is not limited in this application. Specifically, the input signal is acquired in a wireless or wired manner, which is not limited in the present application.
In a specific embodiment, a signal input interface is provided on the mobile terminal, and the mobile terminal obtains the input signal through the signal input interface.
S12: the target control logic of the antenna is determined from the input signal.
In this embodiment, after the input signal is acquired, the target control logic of the antenna is determined according to the input signal. Specifically, the target control logic of the antenna may be determined according to a preset parameter of the input signal, where the preset parameter is at least one of a frequency, a waveform, and an amplitude of the input signal. The target control logic of the antenna includes one or more combinations of control logic of a Global System for Mobile Communication (GSM) band antenna, control logic of a Wideband Code Division Multiple Access (WCDMA) band antenna, control logic of a Time Division-Synchronous Code Division Multiple Access (TD-SCDMA) band antenna, control logic of a Time Division Long Term Evolution (TD-LTE) band antenna, or control logic of a frequency Division duplex Long Term Evolution (FDD-LTE) band antenna, which is not limited in this application. For example, the target control logic for the antenna includes a combination of one or more of LTE B7 control logic, LTEB38 control logic, LTEB40 control logic, and LTEB41 control logic.
S13: and testing the antenna according to the target control logic.
In this embodiment, after the target control logic of the antenna is determined according to the input signal, the antenna is tested according to the target control logic. That is, the determined target control logic is applied to the antenna test. For example, if the target control logic is determined to be the LTEB40 control logic, the control logic for the antenna test point is set to be the LTEB40 control logic, and then the antenna test point outputs a signal corresponding to the LTEB40 to the antenna to test the antenna performance.
Different from the prior art, the application provides a method for testing an antenna, the method is applied to a mobile terminal, and the method comprises the following steps: acquiring an input signal; determining a target control logic of the antenna according to the input signal; and testing the antenna according to the target control logic. The method and the device for testing the antenna determine the target control logic of the antenna according to the input signal and test the antenna according to the determined target control logic, so that a tester can adjust the control logic of the antenna by changing the input signal, and the test efficiency is improved.
For a more clear description of the antenna testing method of the present application, please refer to fig. 2, and fig. 2 is a schematic flowchart of another embodiment of the antenna testing method according to the present application.
As shown in fig. 2, the specific flow of the antenna testing method is as follows:
s21: the signal input interface is enabled.
In this embodiment, after receiving the instruction to test the antenna, the signal input interface is enabled.
In one embodiment, the mobile terminal is interfaced with the input via a transistor enable signal. For example, the signal input interface is connected with a controller of the mobile terminal through a triode, a collector and an emitter of the triode are respectively connected with the signal input interface and the controller, and a base of the triode is connected with the controller. So that the mobile terminal can enable the signal input interface through the controller. For example, if the base of the triode outputs a high level, the signal input interface is conducted with the controller of the mobile terminal, and a signal can be input into the controller of the mobile terminal; and if the base electrode of the triode outputs low level, the signal input interface is disconnected with the controller of the mobile terminal, and the signal is not input into the controller of the mobile terminal.
After the signal input interface is enabled, the signal input interface is connected with the signal generator, and the input signal can be acquired from the signal generator through the signal input interface. In addition, the mobile terminal can disable the signal input interface through the controller according to needs to stop acquiring the input signal.
S22: an input signal is obtained from a signal generator through a signal input interface.
In this embodiment, after the mobile terminal enables the signal input interface, the signal input interface is connected to the signal generator, and the input signal is acquired from the signal generator through the signal input interface.
In a specific embodiment, the signal input interface includes a first pin, a second pin and a third pin, and the first pin of the signal input interface is connected to the power supply module to obtain the bias voltage. And the second pin of the signal input interface is used for being connected with the frequency detection module and detecting the frequency through the frequency detection module. The third pin is used for grounding.
S23: the frequency of the input signal is detected.
In this embodiment, after the input signal is acquired, the frequency of the input signal is detected. In other real-time modes, if the target control logic of the antenna is determined according to other preset parameters, other preset parameters may also be detected here and set according to specific situations, which is not limited in the present application.
In a specific embodiment, the time difference between the rising edge or the falling edge of two consecutive signals is obtained, and the reciprocal of the time difference is taken as the frequency of the output signal.
S24: and judging whether prestored control logic matched with the frequency of the input signal is stored.
In this embodiment, the mobile terminal stores in advance the correspondence between signals with different frequencies and different pre-stored control logics. The signals with different frequencies correspond to different pre-stored control logics, and the specific corresponding relation is set according to specific conditions. For example, if the frequency of the input signal is 100KHz, the corresponding pre-stored control logic is the control logic transmitted by LTE B7; if the frequency of the input signal is 1500KHz, the corresponding pre-stored control logic is the control logic transmitted by using LTE B7 for 5 seconds, and then the control logic is switched to LTE B41 for transmission.
In this embodiment, if the pre-stored control logic matching the frequency of the input signal is stored, S25 is executed; if the pre-stored control logic matching the frequency of the input signal is not stored, S26 is performed.
And S25, determining the pre-stored control logic matched with the frequency of the input signal as the target control logic.
In this embodiment, if the pre-stored control logic matched with the frequency of the input signal is stored, it indicates that the available pre-stored control logic is available, and the pre-stored control logic matched with the frequency of the input signal is determined as the target control logic without testing according to other control logic. For example, if the frequency of the input signal is 100KHz, the corresponding pre-stored control logic is the control logic transmitted by LTE B7, and the control logic transmitted by LTE B7 is determined as the target control logic.
And S26, sending out prompt information.
In this embodiment, if the pre-stored control logic matching the frequency of the input signal is not stored, it indicates that the frequency of the input signal is not within the stored effective frequency range, and it may be considered that the signal input interface is poorly connected to the signal generator or the input is incorrect, and a prompt message is sent.
In a specific embodiment, the prompting information includes prompting the user to re-input, prompting the user to check the connection of the instrument, prompting the user to perform other operations, and the like; the manner of sending out the prompt information may be voice prompt, blinking prompt, vibration prompt, etc., which is not limited in the present application. For example, if the frequency of the input signal is 90KHz, no pre-stored control logic matching the frequency of the input signal is stored, and a prompt message is sent to prompt the user to re-input.
S27: and controlling the antenna to transmit signals according to the target control logic so as to test the performance of the antenna.
In this embodiment, the pre-stored control logic matched with the frequency of the input signal is determined as the target control logic, and the antenna is controlled to transmit the signal according to the target control logic, so as to test the performance of the antenna. For example, if the frequency of the input signal is 100KHz, the corresponding pre-stored control logic is the control logic transmitted by LTE B7, the control logic transmitted by LTE B7 is determined as the target control logic, and the antenna test point outputs the transmission signal corresponding to LTEB7 to the antenna to test the performance of the antenna during LTE B7 transmission.
In a specific embodiment, after the pre-stored control logic matched with the frequency of the input signal is determined as the target control logic, the signal input interface is disabled to stop acquiring the input signal, and then the antenna is controlled to transmit the signal according to the target control logic to test the performance of the antenna. By disabling the signal input interface, the acquisition of the input signal is stopped, the interference of the input signal to the antenna test process can be avoided when the antenna test is carried out, and the energy consumption is reduced.
Different from the prior art, the application provides a method for testing an antenna, the method is applied to a mobile terminal, and the method comprises the following steps: acquiring an input signal; determining a target control logic of the antenna according to the input signal; and testing the antenna according to the target control logic. The method and the device for testing the antenna determine the target control logic of the antenna according to the input signal and test the antenna according to the determined target control logic, so that a tester can adjust the control logic of the antenna by changing the input signal, and the test efficiency is improved.
Referring to fig. 3, fig. 3 is a schematic structural diagram of an antenna testing apparatus according to an embodiment of the present application. As shown in fig. 3, the antenna test apparatus 600 is applied to a mobile terminal, and the test apparatus 600 is connected to the signal input interface 609, and includes: an obtaining module 601, a frequency detecting module 602, a judging module 603, a control logic storing module 604, a determining module 605, and a testing module 606, wherein:
test module 606 is used to enable signal input interface 609.
In this embodiment, after receiving the instruction of testing the antenna, the testing module 606 enables the signal input interface 609.
In one embodiment, the test device 600 inputs the signal through the interface 609 via a transistor. For example, the signal input interface 609 is connected to the controller of the testing apparatus 600 through a transistor, a collector and an emitter of the transistor are respectively connected to the signal input interface 609 and the controller of the testing apparatus 600, and a base of the transistor is connected to the controller. So that the test apparatus 600 can enable the signal input interface 609 through the controller. For example, if the base of the transistor outputs a high level, the signal input interface 609 is connected to the controller of the testing apparatus 600, and a signal can be input to the controller of the testing apparatus 600; when the base of the transistor outputs a low level, the signal input interface 609 is disconnected from the controller of the test apparatus 600, and a signal is not input to the controller of the test apparatus 600.
After the signal input interface 609 is enabled, the signal input interface 609 is connected to the signal generator, so that an input signal can be obtained from the signal generator through the signal input interface 609. In addition, the test apparatus 600 can disable the signal input interface 609 by the controller as needed to stop acquiring the input signal.
The acquisition module 601 acquires the input signal from the signal generator through the signal input interface 609.
In this embodiment, after the test module 606 enables the signal input interface 609, the signal input interface 609 is connected to the signal generator, and the obtaining module 601 obtains an input signal from the signal generator through the signal input interface 609.
In a specific embodiment, the signal input interface 609 includes a first pin, a second pin, and a third pin, and the first pin of the signal input interface 609 is connected to the power supply module to obtain the bias voltage. The second pin of the signal input interface 609 is used for connecting with the obtaining module 601 and detecting the frequency through the frequency detecting module 602. The third pin is used for grounding.
The frequency detection module 602 is configured to detect a frequency of an input signal.
In this embodiment, after the obtaining module 601 obtains the input signal, the frequency detecting module 602 detects the frequency of the input signal. In other real-time modes, if the target control logic of the antenna is determined according to other preset parameters, other preset parameters may also be detected here and set according to specific situations, which is not limited in the present application.
In a specific embodiment, the time difference between the rising edge or the falling edge of two consecutive signals is obtained, and the reciprocal of the time difference is taken as the frequency of the output signal.
The determining module 603 is configured to determine whether pre-stored control logic matched with the frequency of the input signal is stored, where the signals with different frequencies correspond to different pre-stored control logic.
In this embodiment, the control logic storage module 604 stores in advance the corresponding relationship between signals with different frequencies and different pre-stored control logics. The signals with different frequencies correspond to different pre-stored control logics, and the specific corresponding relation is set according to specific conditions. For example, if the frequency of the input signal is 100KHz, the corresponding pre-stored control logic is the control logic transmitted by LTE B7; if the frequency of the input signal is 1500KHz, the corresponding pre-stored control logic is the control logic transmitted by using LTE B7 for 5 seconds, and then the control logic is switched to LTE B41 for transmission.
In this embodiment, if the control logic storage module 604 stores the pre-stored control logic matched with the frequency of the input signal, the determining module 605 determines the pre-stored control logic matched with the frequency of the input signal as the target control logic; if no pre-stored control logic matching the frequency of the input signal is stored, the determination module 605 issues a prompt.
The determination module 605 is configured to determine a pre-stored control logic matching the frequency of the input signal as the target control logic.
In this embodiment, if the pre-stored control logic matching the frequency of the input signal is stored, it indicates that the available pre-stored control logic is available, and the determining module 605 determines the pre-stored control logic matching the frequency of the input signal as the target control logic without performing a test according to other control logic. For example, if the frequency of the input signal is 100KHz, the corresponding pre-stored control logic is the control logic transmitted by LTE B7, and the control logic transmitted by LTE B7 is determined as the target control logic.
The determining module 605 is also configured to send out a prompt message.
In this embodiment, if the pre-stored control logic matching the frequency of the input signal is not stored, it indicates that the frequency of the input signal is not within the stored effective frequency range, and the determination module 605 sends a prompt message if the connection between the signal input interface 609 and the signal generator is poor or the input is wrong.
In a specific embodiment, the prompting information includes prompting the user to re-input, prompting the user to check the connection of the instrument, prompting the user to perform other operations, and the like; the manner of sending out the prompt information may be voice prompt, blinking prompt, vibration prompt, etc., which is not limited in the present application. For example, if the frequency of the input signal is 90KHz, no pre-stored control logic matching the frequency of the input signal is stored, and a prompt message is sent to prompt the user to re-input.
The test module 606 is configured to control the antenna to transmit a signal according to the target control logic, so as to test the performance of the antenna.
In this embodiment, after the determining module 605 determines the pre-stored control logic matched with the frequency of the input signal as the target control logic, the testing module 606 controls the antenna to transmit the signal according to the target control logic, so as to test the performance of the antenna. For example, if the frequency of the input signal is 100KHz, the corresponding pre-stored control logic is the control logic transmitted by LTE B7, the control logic transmitted by LTE B7 is determined as the target control logic, and the antenna test point outputs the transmission signal corresponding to LTE B7 to the antenna to test the performance of the antenna during LTE B7 transmission.
In one specific embodiment, after determining the pre-stored control logic matching the frequency of the input signal as the target control logic, the test module 606 disables the signal input interface 609 to stop obtaining the input signal, and then controls the antenna to transmit the signal according to the target control logic to test the performance of the antenna. The input signal is disabled through the disable signal input interface 609 to stop obtaining the input signal, so that interference of the input signal to the antenna test process can be avoided when the antenna test is performed, and energy consumption is reduced.
Different from the prior art, the application provides a test device of an antenna, which is applied to a mobile terminal and is used for obtaining an input signal; determining a target control logic of the antenna according to the input signal; and testing the antenna according to the target control logic. The method and the device for testing the antenna determine the target control logic of the antenna according to the input signal and test the antenna according to the determined target control logic, so that a tester can adjust the control logic of the antenna by changing the input signal, and the test efficiency is improved.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a mobile terminal according to an embodiment of the present disclosure. The mobile terminal can be a smart phone, a tablet computer and other devices. As shown in fig. 4, the mobile terminal 400 includes a processor 401, a memory 402. The processor 401 is electrically connected to the memory 402.
The processor 401 is a control center of the mobile terminal 400, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by running or loading an application program stored in the memory 402 and calling data stored in the memory 402, thereby integrally monitoring the mobile terminal.
In this embodiment, the processor 401 in the mobile terminal 400 loads instructions corresponding to processes of one or more application programs into the memory 402 according to the following steps, and the processor 401 runs the application programs stored in the memory 402, thereby implementing various functions:
acquiring an input signal;
determining a target control logic of the antenna according to the input signal;
and testing the antenna according to the target control logic.
Referring to fig. 5, fig. 5 is another schematic structural diagram of a mobile terminal according to an embodiment of the present disclosure. Fig. 5 shows a specific structural block diagram of a mobile terminal provided in an embodiment of the present application, where the mobile terminal 300 may be used to implement the antenna testing method provided in the foregoing embodiment. The mobile terminal 300 may be a smart phone or a tablet computer.
The RF circuit 310 is used for receiving and transmitting electromagnetic waves, and performing interconversion between the electromagnetic waves and electrical signals, thereby communicating with a communication network or other devices. RF circuitry 310 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. RF circuit 310 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices over a wireless network. The wireless network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network. The Wireless network may use various Communication standards, protocols, and technologies, including, but not limited to, Global System for Mobile Communication (GSM), Enhanced Data GSM Environment (EDGE), Wideband Code Division Multiple Access (WCDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (Wi-Fi) (e.g., IEEE802.11 a, IEEE802.11 b, IEEE802.1 g, and/or IEEE802.1 n standards), Voice over Internet Protocol (VoIP), world wide Internet Protocol (Microwave Access), wimax, other suitable short message protocols, and may even include those protocols that have not yet been developed.
The memory 320 may be used to store software programs and modules, such as program instructions/modules corresponding to the antenna testing method and the terminal positioning device in the above embodiments, and the processor 380 executes various functional applications and data processing by running the software programs and modules stored in the memory 320, so as to implement the function of positioning the terminal. The memory 320 may include high speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 320 may further include memory located remotely from the processor 380, which may be connected to the mobile terminal 300 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input unit 330 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 330 may include a touch-sensitive surface 331 as well as other input devices 332. The touch-sensitive surface 331, also referred to as a touch screen or touch pad, may collect touch operations by a user on or near the touch-sensitive surface 331 (e.g., operations by a user on or near the touch-sensitive surface 331 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 331 may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 380, and can receive and execute commands sent by the processor 380. In addition, the touch-sensitive surface 331 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 330 may comprise other input devices 332 in addition to the touch sensitive surface 331. In particular, other input devices 332 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 340 may be used to display information input by or provided to the user and various graphical user interfaces of the mobile terminal 300, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 340 may include a Display panel 341, and optionally, the Display panel 341 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, touch-sensitive surface 331 may overlay display panel 341, and when touch-sensitive surface 331 detects a touch operation thereon or thereabout, communicate to processor 380 to determine the type of touch event, and processor 380 then provides a corresponding visual output on display panel 341 in accordance with the type of touch event. Although in FIG. 5, touch-sensitive surface 331 and display panel 341 are implemented as two separate components for input and output functions, in some embodiments, touch-sensitive surface 331 and display panel 341 may be integrated for input and output functions.
The mobile terminal 300 may also include at least one sensor 350, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 341 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 341 and/or the backlight when the mobile terminal 300 is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which may be further configured on the mobile terminal 300, detailed descriptions thereof are omitted.
Audio circuitry 360, speaker 361, and microphone 362 may provide an audio interface between a user and the mobile terminal 300. The audio circuit 360 may transmit the electrical signal converted from the received audio data to the speaker 361, and the audio signal is converted by the speaker 361 and output; on the other hand, the microphone 362 converts the collected sound signal into an electrical signal, which is received by the audio circuit 360 and converted into audio data, which is then processed by the audio data output processor 380 and then transmitted to, for example, another terminal via the RF circuit 310, or the audio data is output to the memory 320 for further processing. The audio circuit 360 may also include an earbud jack to provide communication of a peripheral headset with the mobile terminal 300.
The mobile terminal 300, which may assist the user in e-mail, web browsing, streaming media access, etc., through the transmission module 370 (e.g., a Wi-Fi module), provides the user with wireless broadband internet access. Although fig. 5 shows the transmission module 370, it is understood that it does not belong to the essential constitution of the mobile terminal 300 and may be omitted entirely within the scope not changing the essence of the invention as needed.
The processor 380 is a control center of the mobile terminal 300, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the mobile terminal 300 and processes data by operating or executing software programs and/or modules stored in the memory 320 and calling data stored in the memory 320, thereby integrally monitoring the mobile phone. Optionally, processor 380 may include one or more processing cores; in some embodiments, processor 380 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 380.
The mobile terminal 300 also includes a power supply 390 (e.g., a battery) that provides power to the various components and, in some embodiments, may be logically coupled to the processor 380 via a power management system to manage charging, discharging, and power consumption management functions via the power management system. The power supply 390 may also include any component including one or more of a dc or ac power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the mobile terminal 300 may further include a camera (e.g., a front camera, a rear camera), a bluetooth module, etc., which will not be described herein. Specifically, in this embodiment, the display unit of the mobile terminal is a touch screen display, the mobile terminal further includes a memory, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for:
acquiring an input signal;
determining a target control logic of the antenna according to the input signal;
and testing the antenna according to the target control logic.
In specific implementation, the above modules and units may be implemented as independent entities, or may be combined arbitrarily and implemented as one or several entities, and specific implementations of the above modules and units may refer to the foregoing method embodiments, and are not described herein again.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor. To this end, embodiments of the present application provide a storage medium, in which a plurality of instructions are stored, where the instructions can be loaded by a processor to execute the steps in any one of the methods for testing an antenna provided in the embodiments of the present application.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium can execute the steps in the method for testing any antenna provided in the embodiments of the present application, the beneficial effects that can be achieved by the method for testing any antenna provided in the embodiments of the present application can be achieved, which are detailed in the foregoing embodiments and will not be described again here.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (8)

1. A method for testing an antenna is applied to a mobile terminal, and comprises the following steps:
acquiring an input signal;
detecting a frequency of the input signal;
judging whether pre-stored control logic matched with the frequency of the input signal is stored or not, wherein signals with different frequencies correspond to different pre-stored control logic;
if a pre-stored control logic matched with the frequency of the input signal is stored, determining the pre-stored control logic matched with the frequency of the input signal as a target control logic;
and testing the antenna according to the target control logic.
2. The testing method of claim 1, further comprising:
and if the prestored control logic matched with the frequency of the input signal is not stored, sending out prompt information.
3. The method of claim 2, wherein the testing the antenna according to the target control logic comprises:
and controlling the antenna to transmit signals according to the target control logic so as to test the performance of the antenna.
4. The testing method according to any one of claims 1 to 3, wherein the mobile terminal comprises a signal input interface, and the obtaining the input signal comprises:
enabling the signal input interface;
the input signal is obtained from a signal generator through the signal input interface.
5. The method of claim 4, wherein determining the target control logic for the antenna based on the input signal comprises:
disabling the signal input interface to stop acquiring the input signal.
6. A testing device for an antenna is applied to a mobile terminal, and comprises:
the acquisition module is used for acquiring an input signal;
a frequency detection module for detecting the frequency of the input signal;
the control logic storage module is used for storing the corresponding relation between the signals with different frequencies and different pre-stored control logics;
the judging module is used for judging whether pre-stored control logic matched with the frequency of the input signal is stored or not, wherein signals with different frequencies correspond to different pre-stored control logic;
the determining module is used for determining the pre-stored control logic matched with the frequency of the input signal as a target control logic when the pre-stored control logic matched with the frequency of the input signal is stored;
and the test module is used for testing the antenna according to the target control logic.
7. The test device of claim 6,
the determining module is further used for sending out prompt information when no prestored control logic matched with the frequency of the input signal is stored.
8. A computer-readable storage medium having stored thereon a plurality of instructions adapted to be loaded by a processor to perform a method of testing an antenna according to any one of claims 1 to 5.
CN201910235846.6A 2019-03-27 2019-03-27 Antenna test method, antenna test device and computer readable storage medium Active CN110031688B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910235846.6A CN110031688B (en) 2019-03-27 2019-03-27 Antenna test method, antenna test device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910235846.6A CN110031688B (en) 2019-03-27 2019-03-27 Antenna test method, antenna test device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110031688A CN110031688A (en) 2019-07-19
CN110031688B true CN110031688B (en) 2021-08-03

Family

ID=67236676

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910235846.6A Active CN110031688B (en) 2019-03-27 2019-03-27 Antenna test method, antenna test device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110031688B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101426219A (en) * 2008-11-25 2009-05-06 芯通科技(成都)有限公司 Detection method for TD-SCDMA multichannel radio frequency remote unit antenna system
WO2011075832A1 (en) * 2009-12-22 2011-06-30 Aeromechanical Services Ltd. Multiple satellite modem system using a single antenna
CN103297151A (en) * 2012-02-22 2013-09-11 德赛电子(惠州)有限公司 Method for testing antenna of mobile terminal
CN105406891A (en) * 2015-11-28 2016-03-16 广东欧珀移动通信有限公司 Carrier aggregation mode setting method for communication terminal and communication terminal
CN105704745A (en) * 2016-04-29 2016-06-22 北京小米移动软件有限公司 Mobile terminal antenna transmit-receive state control method and device
CN106230492A (en) * 2016-07-29 2016-12-14 广东欧珀移动通信有限公司 The changing method of a kind of terminal antenna, device and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101426219A (en) * 2008-11-25 2009-05-06 芯通科技(成都)有限公司 Detection method for TD-SCDMA multichannel radio frequency remote unit antenna system
WO2011075832A1 (en) * 2009-12-22 2011-06-30 Aeromechanical Services Ltd. Multiple satellite modem system using a single antenna
CN103297151A (en) * 2012-02-22 2013-09-11 德赛电子(惠州)有限公司 Method for testing antenna of mobile terminal
CN105406891A (en) * 2015-11-28 2016-03-16 广东欧珀移动通信有限公司 Carrier aggregation mode setting method for communication terminal and communication terminal
CN105704745A (en) * 2016-04-29 2016-06-22 北京小米移动软件有限公司 Mobile terminal antenna transmit-receive state control method and device
CN106230492A (en) * 2016-07-29 2016-12-14 广东欧珀移动通信有限公司 The changing method of a kind of terminal antenna, device and mobile terminal

Also Published As

Publication number Publication date
CN110031688A (en) 2019-07-19

Similar Documents

Publication Publication Date Title
CN106131345B (en) Control method and device of proximity sensor and mobile terminal
US9325189B2 (en) Battery, and method, device, and system for battery protection
US20170094048A1 (en) Light control method and apparatus for user equipment, and user terminal
CN112415367B (en) Drive chip abnormality detection method, drive chip abnormality detection device, electronic device and readable storage medium
CN112199246B (en) Terminal test method and device, storage medium and mobile terminal
CN106936516B (en) Display screen display state control method, storage medium and terminal
CN109639370B (en) Near field communication antenna detection method and device, mobile terminal and storage medium
CN110958345B (en) Method and device for detecting rear cover of mobile terminal and computer readable storage medium
CN112243259A (en) Network disconnection method, device, storage medium and mobile terminal
CN111045737A (en) Equipment identifier acquisition method and device, terminal equipment and storage medium
CN110031688B (en) Antenna test method, antenna test device and computer readable storage medium
CN112486350B (en) Detection method and device for touch screen of mobile terminal, storage medium and mobile terminal
CN105635379B (en) Noise suppression method and device
CN110849407B (en) Sensor testing method and device, storage medium and electronic equipment
CN110995324B (en) Bluetooth communication method, device, storage medium and terminal equipment
CN112286849A (en) Wireless charging base data switching method and system, storage medium and terminal equipment
CN111651299A (en) Wireless chip reset control method and device, storage medium and mobile terminal
CN111048056A (en) Terminal equipment brightness adjusting method and system, storage medium and terminal equipment
CN109995441B (en) Communication information processing method, device and storage medium
CN112202464B (en) Identification card detection method and device, storage medium and mobile terminal
CN111026486B (en) Application sorting method, application sorting device and computer readable storage medium
CN112367701B (en) Mobile terminal control method, device, storage medium and mobile terminal
CN105278967B (en) System updating method, device and system of mobile terminal
CN110457180B (en) Method and device for loading mobile terminal software package and storage medium
CN111988059B (en) Wireless data transmission method, device, storage medium and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20240108

Address after: 518000, 109-111, Building 17, Maker Town, No. 4109 Liuxian Avenue, Pingshan Community, Taoyuan Street, Nanshan District, Shenzhen, Guangdong Province

Patentee after: Yuanyuan (Shenzhen) Technology Transfer Co.,Ltd.

Address before: 516006 Zhongkai hi tech Zone, Huizhou, Guangdong, 86 Chang seven Road West

Patentee before: HUIZHOU TCL MOBILE COMMUNICATION Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240221

Address after: 210000 building 18, 699-22 Xuanwu Avenue, Xuanwu District, Nanjing City, Jiangsu Province

Patentee after: CERTUSNET Corp.

Country or region after: China

Address before: 518000, 109-111, Building 17, Maker Town, No. 4109 Liuxian Avenue, Pingshan Community, Taoyuan Street, Nanshan District, Shenzhen, Guangdong Province

Patentee before: Yuanyuan (Shenzhen) Technology Transfer Co.,Ltd.

Country or region before: China

TR01 Transfer of patent right