CN114301550A - Radio frequency test method, intelligent terminal and storage medium - Google Patents

Radio frequency test method, intelligent terminal and storage medium Download PDF

Info

Publication number
CN114301550A
CN114301550A CN202111637929.1A CN202111637929A CN114301550A CN 114301550 A CN114301550 A CN 114301550A CN 202111637929 A CN202111637929 A CN 202111637929A CN 114301550 A CN114301550 A CN 114301550A
Authority
CN
China
Prior art keywords
test
radio frequency
target
unit
switch
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.)
Pending
Application number
CN202111637929.1A
Other languages
Chinese (zh)
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.)
Chongqing Chuanyin Communication Technology Co ltd
Original Assignee
Chongqing Chuanyin Communication Technology 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 Chongqing Chuanyin Communication Technology Co ltd filed Critical Chongqing Chuanyin Communication Technology Co ltd
Priority to CN202111637929.1A priority Critical patent/CN114301550A/en
Publication of CN114301550A publication Critical patent/CN114301550A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides a radio frequency test method, an intelligent terminal and a storage medium, which are applied to a control end, wherein the control end is connected with a radio frequency unit and a test unit, the radio frequency unit and the test unit are respectively connected with a switch, the radio frequency unit comprises at least one test port, the switch comprises at least one switch channel, and the method comprises the following steps: and sending a target calibration instruction to the radio frequency unit so that the radio frequency unit controls the target switch channel to be conducted, and controlling the test unit to test and/or calibrate the target test port through the target switch channel. The problem of each part occupy great inner space among the current connected mode, restricted inside spare part of complete machine and put is solved, also reduced the complete machine cost simultaneously.

Description

Radio frequency test method, intelligent terminal and storage medium
Technical Field
The application relates to the technical field of radio frequency testing, in particular to a radio frequency testing method, an intelligent terminal and a storage medium.
Background
In the design and production processes of the terminal equipment, in order to ensure the accuracy of the radio frequency performance of each part, the radio frequency test needs to be carried out on each part, and the parts can be assembled after the radio frequency performance test of each part is passed, so that the whole machine is obtained.
In the course of conceiving and implementing the present application, the inventors found that at least the following problems existed: when the radio frequency performance of each part is tested in the above manner, the antenna of each part needs to be correspondingly provided with a radio frequency test seat or a radio frequency connector. Because the number of the antennas is large, the number of the radio frequency test seats or the radio frequency connectors which are correspondingly needed is also greatly increased, a large internal space is occupied, the placing mode of all parts in the whole machine is limited, and meanwhile, the cost of the whole machine is also increased.
The foregoing description is provided for general background information and is not admitted to be prior art.
Disclosure of Invention
In view of the above technical problems, the present application provides a radio frequency test method, an intelligent terminal and a storage medium, so as to reduce the space occupied by a radio frequency test socket, and further reduce the overall cost.
In order to solve the above technical problem, the present application provides a radio frequency testing method, which is applied to a control end, the control end is connected to a radio frequency unit and a testing unit, the radio frequency unit and the testing unit are respectively connected to a switch, the radio frequency unit includes at least one testing port, the switch includes at least one switch channel, and the method includes:
s10: sending a target calibration instruction to the radio frequency unit so that the radio frequency unit controls a target switch channel to be conducted;
s20: and controlling the test unit to test and/or calibrate a target test port through the target switch channel.
Optionally, the S20 includes:
acquiring target compensation calibration data corresponding to the target switch channel;
and controlling the test unit to test and/or calibrate the target test port according to the target compensation calibration data through the target switch channel.
Optionally, before the S10, the method further includes:
acquiring an actual loss value corresponding to each input port in the switch and a reference loss value corresponding to each switch channel;
and performing difference processing on the reference loss value and the actual loss value to obtain compensation calibration data corresponding to each switching channel.
Optionally, after the S20, the method further includes:
receiving a calibration abnormity prompt sent by the test unit, and judging whether the times of the calibration abnormity prompt exceed a preset time threshold value;
if not, the step S10 is executed again;
and if so, outputting a calibration failure prompt.
Optionally, the S10 includes:
determining the calibration sequence of each test port according to a calibration rule;
determining or generating a calibration instruction for the test port according to the calibration sequence, and sequentially executing the step S10 according to the calibration instruction.
Optionally, the S20 includes:
if the number of the switch channels is at least two, controlling the test unit to test and/or calibrate the first target test port through the first target switch channel;
after the first target test port is tested and/or calibrated, the test unit is controlled to sequentially test and/or calibrate at least one second target test port through a second target switch channel.
Optionally, if the calibration rule is to calibrate according to the type of the test port, the S20 includes:
if the number of the switch channels is at least two, controlling the test unit to test and/or calibrate the first target test port through the first target switch channel;
after the first target test port is tested and/or calibrated, controlling the test unit to sequentially test and/or calibrate at least one second target test port through a second target switch channel, wherein the port types of the first target test port and the second target test port are different.
The present application further provides a radio frequency test system, comprising: the device comprises a control end, a switch, a radio frequency unit and a test unit; wherein:
the radio frequency unit and the test unit are respectively connected with the switch, the radio frequency unit comprises at least one test port, and the switch comprises at least one switch channel;
the control end is used for sending a target calibration instruction to the radio frequency unit so as to enable the radio frequency unit to control the conduction of a target switch channel and control the test unit to test and/or calibrate a target test port through the target switch channel.
Optionally, the test unit includes a radio frequency connector and a test instrument, one end of the radio frequency connector is connected to any one input end of the switch, the other end of the radio frequency connector is connected to the test instrument, and the test instrument is connected to the control end.
The application also provides an intelligent terminal, including: the device comprises a memory and a processor, wherein the memory stores a radio frequency test program, and the radio frequency test program realizes the steps of the method when being executed by the processor.
The present application also provides a computer-readable storage medium, which stores a computer program that, when executed by a processor, performs the steps of the method as described above.
As described above, the radio frequency test method of the present application is applied to a control terminal, where the control terminal is connected to a radio frequency unit and a test unit, the radio frequency unit and the test unit are respectively connected to a switch, the radio frequency unit includes at least one test port, and the switch includes at least one switch channel. The control end sends a target calibration instruction to the radio frequency unit so that the radio frequency unit controls the target switch channel to be conducted, and the test unit is controlled to test and/or calibrate the target test port through the target switch channel. Through the technical scheme, the purpose of reducing the radio frequency test seats or the radio frequency connectors can be achieved, the problems that parts occupy larger internal space in the existing connection mode and the arrangement of parts in the whole machine is limited are solved, and meanwhile the cost of the whole machine is also reduced.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application. In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic diagram of a hardware structure of an intelligent terminal implementing various embodiments of the present application;
fig. 2 is a communication network system architecture diagram according to an embodiment of the present application;
fig. 3 is a schematic flow chart illustrating a radio frequency test method according to a first embodiment;
FIG. 4 is a schematic flow chart diagram illustrating a radio frequency testing method according to a second embodiment;
fig. 5 is a schematic structural diagram illustrating a radio frequency test procedure according to a fifth embodiment;
fig. 6 is another schematic diagram of the rf test process according to the fifth embodiment.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings. With the above figures, there are shown specific embodiments of the present application, which will be described in more detail below. These drawings and written description are not intended to limit the scope of the inventive concepts in any manner, but rather to illustrate the inventive concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, the recitation of an element by the phrase "comprising an … …" does not exclude the presence of additional like elements in the process, method, article, or apparatus that comprises the element, and optionally, identically named components, features, and elements in different embodiments of the present application may have different meanings, as may be determined by their interpretation in the embodiment or by their further context within the embodiment.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope herein. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context. Also, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context indicates otherwise. It will be further understood that the terms "comprises," "comprising," "includes" and/or "including," when used in this specification, specify the presence of stated features, steps, operations, elements, components, items, species, and/or groups, but do not preclude the presence, or addition of one or more other features, steps, operations, elements, components, species, and/or groups thereof. The terms "or," "and/or," "including at least one of the following," and the like, as used herein, are to be construed as inclusive or mean any one or any combination. For example, "includes at least one of: A. b, C "means" any of the following: a; b; c; a and B; a and C; b and C; a and B and C ", again for example," A, B or C "or" A, B and/or C "means" any of the following: a; b; c; a and B; a and C; b and C; a and B and C'. An exception to this definition will occur only when a combination of elements, functions, steps or operations are inherently mutually exclusive in some way.
It should be understood that, although the steps in the flowcharts in the embodiments of the present application are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least some of the steps in the figures may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, in different orders, and may be performed alternately or at least partially with respect to other steps or sub-steps of other steps.
The words "if", as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
It should be noted that step numbers such as S10 and S20 are used herein for the purpose of more clearly and briefly describing the corresponding content, and do not constitute a substantial limitation on the sequence, and those skilled in the art may perform S20 first and then S10 in specific implementation, which should be within the scope of the present application.
It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for the convenience of description of the present application, and have no specific meaning in themselves. Thus, "module", "component" or "unit" may be used mixedly.
The smart terminal may be implemented in various forms. For example, the smart terminal described in the present application may include smart terminals such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and fixed terminals such as a Digital TV, a desktop computer, and the like.
While the following description will be given by way of example of a smart terminal, those skilled in the art will appreciate that the configuration according to the embodiments of the present application can be applied to a fixed type terminal in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of an intelligent terminal for implementing various embodiments of the present application, the intelligent terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the intelligent terminal architecture shown in fig. 1 does not constitute a limitation of the intelligent terminal, and that the intelligent terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
The following specifically describes each component of the intelligent terminal with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex-Long Term Evolution), TDD-LTE (Time Division duplex-Long Term Evolution, Time Division Long Term Evolution), 5G, and so on.
WiFi belongs to short-distance wireless transmission technology, and the intelligent terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the smart terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the smart terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the smart terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The smart terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Optionally, the light sensor includes an ambient light sensor and a proximity sensor, the ambient light sensor may adjust the brightness of the display panel 1061 according to the brightness of ambient light, and the proximity sensor may turn off the display panel 1061 and/or the backlight when the smart terminal 100 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a 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 fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the intelligent terminal. Alternatively, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Optionally, the touch detection device detects a touch orientation of a user, detects a signal caused by a 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 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Optionally, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited thereto.
Alternatively, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the smart terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the smart terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the smart terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the smart terminal 100 or may be used to transmit data between the smart terminal 100 and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a program storage area and a data storage area, and optionally, the program storage area may store an operating system, an application program (such as a sound playing function, an image playing function, and the like) required by at least one function, and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the intelligent terminal, connects various parts of the entire intelligent terminal using various interfaces and lines, and performs various functions of the intelligent terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the intelligent terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor, optionally, the application processor mainly handles operating systems, user interfaces, application programs, etc., and the modem processor mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The intelligent terminal 100 may further include a power supply 111 (such as a battery) for supplying power to each component, and preferably, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
Although not shown in fig. 1, the smart terminal 100 may further include a bluetooth module or the like, which is not described herein.
In order to facilitate understanding of the embodiments of the present application, a communication network system on which the intelligent terminal of the present application is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present disclosure, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Optionally, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Alternatively, the eNodeB2021 may be connected with other enodebs 2022 through a backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, and a PCRF (Policy and Charging Rules Function) 2036, and the like. Optionally, the MME2031 is a control node that handles signaling between the UE201 and the EPC203, providing bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present application is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems (e.g. 5G), and the like.
Based on the above intelligent terminal hardware structure and communication network system, various embodiments of the present application are provided.
First embodiment
Fig. 3 is a schematic flowchart of a radio frequency testing method according to a first embodiment, as shown in fig. 3, in this embodiment, the radio frequency testing method is applied to a control terminal, the control terminal is connected to a radio frequency unit and a testing unit, the radio frequency unit and the testing unit are respectively connected to a switch, the radio frequency unit includes at least one testing port, the switch includes at least one switch channel, and the method includes:
s10: and sending a target calibration instruction to the radio frequency unit so that the radio frequency unit controls the target switch channel to be conducted.
In this embodiment, before each part inside the intelligent terminal is assembled into a complete machine, each part may be tested and/or calibrated first, and after the testing and/or calibration is completed, each part is assembled into a complete machine. When testing and/or calibrating each component, each test port can be tested and/or calibrated by the test unit.
Optionally, the number of the test ports is at least one, different switch channels may correspond to different test ports, and when each test port is tested and/or calibrated by the test unit, a target calibration instruction may be sent to the radio frequency unit first, so that the radio frequency unit sequentially switches on the target switch channels corresponding to the target test ports according to the target calibration instruction.
Alternatively, the control terminal may be a server or an intelligent terminal, and the like, which may deploy a relevant control program. Optionally, the intelligent terminal may be the intelligent terminal disclosed in the above embodiment.
S20: and controlling the test unit to test and/or calibrate the target test port through the target switch channel.
In this embodiment, after the target switch channel is turned on, the test unit may be controlled to test and/or calibrate the target test port corresponding to the target switch channel through the target switch channel.
Optionally, the test unit may include a radio frequency connector and a test instrument, one end of the radio frequency connector is connected to any one input end of the switch, the other end of the radio frequency connector is connected to the test instrument, and the test instrument is connected to the control end. The radio frequency connector can be used as an on-off switch for radio frequency testing, the antenna is disconnected in a testing state and is externally connected to a testing instrument through a testing line, and then the control end can test and/or calibrate the testing port by controlling the testing instrument.
Optionally, the test instrument may be a radio frequency comprehensive tester, and when the test port is calibrated by the radio frequency comprehensive tester, the frequency may be calibrated, the receive gain may be calibrated, and the transmit power may also be calibrated.
Through the technical scheme, the purpose of reducing the radio frequency test seats or the radio frequency connectors can be achieved, the problems that parts occupy larger internal space in the existing connection mode and the arrangement of parts in the whole machine is limited are solved, and meanwhile the cost of the whole machine is also reduced.
Second embodiment
Fig. 4 is a schematic flowchart of a radio frequency testing method according to a second embodiment, as shown in fig. 4, in this embodiment, the S20 may specifically include:
s201: and acquiring target compensation calibration data corresponding to the target switch channel.
S202: and controlling the test unit to test and/or calibrate the target test port according to the target compensation calibration data through the target switch channel.
In this embodiment, there is only one common rf connector, so when testing and/or calibrating the test ports, it is necessary to test and/or calibrate each test port through different switch channels, and the corresponding transmission links are different. However, due to the influence of factors such as the length of the wires in the transmission link and the radian of the wires, the transmission links are different, and the loss of each test port in the test and/or calibration process is also different. Therefore, the transmission loss difference corresponding to different switch channels can be predetermined and used as compensation calibration data of the switch channel, and then when the test unit is controlled to test and/or calibrate the target test port through the target switch channel, the target compensation calibration data corresponding to the target switch channel is obtained first, and then the test unit is controlled to test and/or calibrate the target test port according to the target compensation calibration data through the target switch channel.
Optionally, assuming that the switch is a DPDT switch, the antenna without the rf connector is a second antenna, and the antenna with the rf connector is a first antenna, since the impedance line states from the two antennas to the DPDT switch are different, the signal loss is also different. Optionally, when the ornament is in a development stage, the measured power of the rf connector corresponding to the first antenna is 24dBm, since the second antenna has no rf connector, a coaxial line needs to be temporarily welded at the second antenna, and then the measured power of the coaxial line is 22dBm, so that a difference value of 2db is obtained, that is, the compensation calibration data corresponding to the target switch channel is 2 db. In the actual mass production stage, when the target switch channel is controlled to be switched on, the control end can control the test unit to test and/or calibrate the target test port according to the compensation calibration data 2db through the target switch channel.
The accuracy of the calibration of the test port is improved by combining the compensation calibration data to test and/or calibrate the test port.
Optionally, before the S10, the method may further include: and acquiring actual loss values corresponding to input ports in the switch and reference loss values corresponding to switch channels. And performing difference processing on the reference loss value and the actual loss value to obtain compensation calibration data corresponding to each switching channel.
Optionally, when determining the compensation calibration data corresponding to each switch channel, an actual loss value corresponding to each input port in the switch may be determined first, that is, a loss value measured when each input port is connected to a radio frequency connector or a radio frequency test socket. And then determining a reference loss value corresponding to each switch channel, namely determining a loss value corresponding to an input port when only one input port is connected with the radio frequency connector. And performing difference processing on the reference loss value and each actual loss value to obtain compensation calibration data corresponding to each switch channel.
Optionally, the switch has three input ports A, B, C, with input port a having an actual loss value of 24dBm, input port B having an actual loss value of 23dBm, and input port C having an actual loss value of 22 dBm. In practical application, the radio frequency connector is connected to the input port C, and the reference loss value corresponding to each switch channel is 22dBm, so that the compensation calibration data of the switch channel corresponding to the input port a is 24dBm-22 dBm-2 dBm, and the compensation calibration data of the switch channel corresponding to the input port B is 23dBm-22 dBm-1 dBm.
Optionally, after the S20, the method may further include: receiving a calibration abnormity prompt sent by the test unit, and judging whether the times of the calibration abnormity prompt exceed a preset time threshold value; if the number of times of the abnormal calibration prompt does not exceed the preset number threshold, executing the step S10 again; and if the times of the abnormal calibration prompt exceed a preset time threshold, outputting a calibration failure prompt.
In this embodiment, during the process of testing and/or calibrating the test port by the test unit, an abnormality may occur in the test process or the calibration process due to a transmission link or a network failure, and in order to ensure normal implementation of the calibration process and the test process, a calibration abnormality prompt may be sent to the control terminal when the calibration process or the test process is abnormal. After receiving the calibration abnormal prompt, the control end can further process according to whether the frequency of the abnormal prompt exceeds a preset frequency threshold value. Optionally, when the number of times does not exceed the number threshold, the target calibration instruction may be sent to the radio frequency unit again, so that the radio frequency unit controls the target switch channel to be turned on, and controls the test unit to test and/or calibrate the target test port through the target switch channel. If the number of times exceeds the threshold value, a calibration failure prompt is output, the situation that the cyclic judgment is always carried out is avoided, and the timeliness and the accuracy of calibration are improved.
Third embodiment
The S10 may include: determining the calibration sequence of each test port according to a calibration rule; determining or generating calibration instructions for the test ports according to the calibration sequence, and executing the step S10 according to the calibration instructions in sequence.
In this embodiment, when calibrating each test port, a calibration order of each test port may be determined according to a calibration rule, then a calibration instruction for the test port is determined or generated according to the calibration order, and a target calibration instruction is sequentially sent to the radio frequency unit according to the calibration instruction, so that the radio frequency unit controls the target switch channel to be turned on, and controls the test unit to test and/or calibrate the target test port through the target switch channel.
In one implementation, the calibration rule may be a random calibration rule, that is, the test ports may be randomly tested and/or calibrated without limiting the calibration order of the test ports. For example, assuming that there are two test ports, namely a first test port and a second test port, the first test port may be calibrated first, and then the second test port may be calibrated. The second test port can be calibrated firstly, then the first test port is calibrated, and the flexibility and convenience of calibration are improved in a mode of not limiting the port calibration sequence.
In another implementation, if the calibration rule is calibration according to the type of the test port, the S20 may include: and if the number of the switch channels is at least two, controlling the test unit to test and/or calibrate the first target test port through the first target switch channel.
Optionally, after the testing and/or calibration of the first target test port is completed, the testing unit is controlled to sequentially test and/or calibrate at least one second target test port through a second target switch channel, where port types of the first target test port and the second target test port are different.
Illustratively, the first target test port is a 5G type port, the second target test port is a 4G type port, and the second target test port is at least one, and the calibration rule is to calibrate the 5G type port first and then calibrate the 4G type port, so that the test unit may be controlled to test and/or calibrate the first target test port through the first target switch channel, and after the test and/or calibration of the first target test port is completed, the test unit may be controlled to test and/or calibrate at least one second target test port sequentially through the second target switch channel.
In addition, the present application only lists a few specific ways of determining the calibration order, and other ways of determining the calibration order are within the scope of the present application.
Optionally, the S20 may include: if the number of the switch channels is at least two, controlling the test unit to test and/or calibrate the first target test port through the first target switch channel; after the first target test port is tested and/or calibrated, the test unit is controlled to sequentially test and/or calibrate at least one second target test port through a second target switch channel.
In this embodiment, the switch types corresponding to different numbers of test ports are different, and if there are two test ports, that is, one first target test port and one second target test port, the switch type is NPNT (N Pole N through, N Pole N through switch), the first target test port may be tested and/or calibrated through the first target switch channel, and the second target test port may be tested and/or calibrated through the second target switch channel.
Alternatively, if there are three test ports, i.e., a first target test port and two second target test ports, and the switch type is 3P3T (3Pole 3 thru, three Pole three Throw switch), the first target test port can be tested and/or calibrated through the first target switch channel, and the remaining two second target test ports can be tested and/or calibrated through the second target switch channel. Alternatively, the number of second target test ports may be more than two, for example, three, five, etc., which are not listed in detail herein.
Fig. 5 is a schematic structural diagram of an RF testing process according to a fifth embodiment, in which a switch is a DPDT, and as shown in fig. 5, a first target testing port and a second target testing port are provided in the RF unit, the testing unit includes an RF connector and a testing meter, a first input terminal of the DPDT is connected to one end of the RF connector, another end of the DPDT is connected to the testing meter through a testing line, a first output terminal of the DPDT is connected to the first target testing port (which may be referred to as an RF port1) in the RF unit, and a second output terminal of the DPDT is connected to the second target testing port (which may be referred to as an RF port0) in the RF unit. The radio frequency unit is connected with the DPDT through an internal control line and is used for controlling the first input end of the DPDT to be respectively communicated with the first output end and the second output end according to a target calibration instruction when the target calibration instruction sent by the control end is received. Optionally, after the first input terminal of the DPDT is controlled to communicate with the first output terminal, the control terminal may test and/or calibrate the first target test port through the connected test instrument. After the first input end of the DPDT is controlled to be communicated with the second output end, the control end can test and/or calibrate the second target test port through the connected test instrument.
Optionally, the other end of the rf connector is disconnected from the first antenna in the test state, and may be connected to the first antenna through the coaxial line after the test is completed. The second input terminal of the DPDT is connected to the second antenna.
Fig. 6 is another schematic diagram of an rf test procedure according to a fifth embodiment, in which the switch is 3P3T (3Pole 3 thru, a three-Pole, three-Throw switch), as shown in fig. 6, there are a first target test port and two second target test ports in the radio frequency unit, the test unit includes a radio frequency connector and a test meter, a first input terminal of 3P3T is connected to one end of the radio frequency connector, the other end of the radio frequency connector is connected to the test meter through a test line, a first output terminal of 3P3T is connected to the first target test port (which may be referred to as RF port2) in the radio frequency unit, a second output terminal of 3P3T is connected to one second target test port (which may be referred to as RF port1) in the radio frequency unit, and another second output terminal of 3P3T is connected to another second target test port (which may be referred to as RF port0) in the radio frequency unit. The radio frequency unit is connected with the 3P3T and is used for controlling the first input end of the 3P3T to be respectively communicated with the first output end and the plurality of second output ends according to a target calibration instruction when receiving the target calibration instruction sent by the control end. Wherein, after the first input end of the control 3P3T is communicated with the first output end, the control end can test and/or calibrate the first target test port through the connected test instrument. After the first input terminal of the control 3P3T is respectively communicated with each second output terminal, the control terminal can respectively test and/or calibrate the second target test port connected with each second output terminal through the connected test instrument.
Optionally, the other end of the rf connector is disconnected from the first antenna in the test state, and may be connected to the first antenna through the coaxial line after the test is completed. The second input end of the 3P3T is connected with the second antenna, and the third input end of the 3P3T is connected with the third antenna.
Fourth embodiment
The present application further provides a radio frequency test system, the system comprising: the device comprises a control end, a switch, a radio frequency unit and a test unit; the radio frequency unit and the test unit are respectively connected with the switch, the radio frequency unit comprises at least one test port, and the switch comprises at least one switch channel; the control end is used for sending a target calibration instruction to the radio frequency unit so as to enable the radio frequency unit to control the conduction of a target switch channel and control the test unit to test and/or calibrate a target test port through the target switch channel.
Optionally, the test unit includes a radio frequency connector and a test instrument, one end of the radio frequency connector is connected to any one input end of the switch, the other end of the radio frequency connector is connected to the test instrument, and the test instrument is connected to the control end.
Optionally, the control end is further configured to: acquiring target compensation calibration data corresponding to the target switch channel; and controlling the test unit to test and/or calibrate the target test port according to the target compensation calibration data through the target switch channel.
Optionally, the control end is further configured to: acquiring an actual loss value corresponding to each input port in the switch and a reference loss value corresponding to each switch channel; and performing difference processing on the reference loss value and the actual loss value to obtain compensation calibration data corresponding to each switching channel.
Optionally, the control end is further configured to: receiving a calibration abnormity prompt sent by the test unit, and judging whether the times of the calibration abnormity prompt exceed a preset time threshold value; if the frequency of the abnormal calibration prompt does not exceed the preset frequency threshold, executing the sending of the target calibration instruction to the radio frequency unit again so that the radio frequency unit controls the conduction of a target switch channel and controls the test unit to test and/or calibrate a target test port through the target switch channel; and if the times of the abnormal calibration prompt exceed a preset time threshold, outputting a calibration failure prompt.
Optionally, the control end is further configured to: determining the calibration sequence of each test port according to a calibration rule; determining or generating a calibration instruction for the test port according to the calibration sequence, and sequentially executing the step S10 according to the calibration instruction.
Optionally, the control end is further configured to: if the number of the switch channels is at least two, controlling the test unit to test and/or calibrate the first target test port through the first target switch channel; after the first target test port is tested and/or calibrated, the test unit is controlled to sequentially test and/or calibrate at least one second target test port through a second target switch channel.
Fifth embodiment
The present application further provides a radio frequency testing device, which is applied to a control end, the control end is connected with a radio frequency unit and a testing unit, the radio frequency unit and the testing unit are respectively connected with a switch, the radio frequency unit includes at least one testing port, the switch includes at least one switch channel, the device includes:
and the sending module is used for sending a target calibration instruction to the radio frequency unit so as to enable the radio frequency unit to control the target switch channel to be conducted.
And the control module is used for controlling the test unit to test and/or calibrate the target test port through the target switch channel.
Optionally, the control module is further configured to: acquiring target compensation calibration data corresponding to the target switch channel; and controlling the test unit to test and/or calibrate the target test port according to the target compensation calibration data through the target switch channel.
Optionally, the control module is further configured to: acquiring an actual loss value corresponding to each input port in the switch and a reference loss value corresponding to each switch channel; and performing difference processing on the reference loss value and the actual loss value to obtain compensation calibration data corresponding to each switching channel.
Optionally, the control module is further configured to: receiving a calibration abnormity prompt sent by the test unit, and judging whether the times of the calibration abnormity prompt exceed a preset time threshold value; if not, executing the target calibration instruction again to the radio frequency unit so that the radio frequency unit controls the target switch channel to be conducted, and controlling the test unit to test and/or calibrate the target test port through the target switch channel; and if so, outputting a calibration failure prompt.
Optionally, the sending module is further configured to: determining the calibration sequence of each test port according to a calibration rule; and determining or generating a calibration instruction for the test port according to the calibration sequence, and sequentially executing target calibration instructions to be sent to the radio frequency unit according to the calibration instruction so as to enable the radio frequency unit to control a target switch channel to be conducted.
Optionally, the control module is further configured to: if the number of the switch channels is at least two, controlling the test unit to test and/or calibrate the first target test port through the first target switch channel; after the first target test port is tested and/or calibrated, the test unit is controlled to sequentially test and/or calibrate at least one second target test port through a second target switch channel.
The application also provides an intelligent terminal, which comprises a memory and a processor, wherein the memory stores a radio frequency test program, and the radio frequency test program is executed by the processor to realize the steps of the radio frequency test method in any embodiment.
The present application further provides a computer-readable storage medium, in which a radio frequency test program is stored, and when being executed by a processor, the radio frequency test program implements the steps of the radio frequency test method in any of the above embodiments.
In the embodiments of the intelligent terminal and the computer-readable storage medium provided in the present application, all technical features of any one of the embodiments of the radio frequency testing method may be included, and the expanding and explaining contents of the specification are basically the same as those of the embodiments of the method, and are not described herein again.
Embodiments of the present application also provide a computer program product, which includes computer program code, when the computer program code runs on a computer, the computer is caused to execute the method in the above various possible embodiments.
Embodiments of the present application further provide a chip, which includes a memory and a processor, where the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that a device in which the chip is installed executes the method in the above various possible embodiments.
It is to be understood that the foregoing scenarios are only examples, and do not constitute a limitation on application scenarios of the technical solutions provided in the embodiments of the present application, and the technical solutions of the present application may also be applied to other scenarios. For example, as can be known by those skilled in the art, with the evolution of system architecture and the emergence of new service scenarios, the technical solution provided in the embodiments of the present application is also applicable to similar technical problems.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
The steps in the method of the embodiment of the application can be sequentially adjusted, combined and deleted according to actual needs.
The units in the device in the embodiment of the application can be merged, divided and deleted according to actual needs.
In the present application, the same or similar term concepts, technical solutions and/or application scenario descriptions will be generally described only in detail at the first occurrence, and when the description is repeated later, the detailed description will not be repeated in general for brevity, and when understanding the technical solutions and the like of the present application, reference may be made to the related detailed description before the description for the same or similar term concepts, technical solutions and/or application scenario descriptions and the like which are not described in detail later.
In the present application, each embodiment is described with emphasis, and reference may be made to the description of other embodiments for parts that are not described or illustrated in any embodiment.
The technical features of the technical solution of the present application may be arbitrarily combined, and for brevity of description, all possible combinations of the technical features in the embodiments are not described, however, as long as there is no contradiction between the combinations of the technical features, the scope of the present application should be considered as being described in the present application.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, a controlled terminal, or a network device) to execute the method of each embodiment of the present application.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions according to the embodiments of the present application are all or partially generated when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, digital subscriber line) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, memory Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are included in the scope of the present application.

Claims (10)

1. A radio frequency test method is applied to a control end, the control end is connected with a radio frequency unit and a test unit, the radio frequency unit and the test unit are respectively connected with a switch, the radio frequency unit comprises at least one test port, the switch comprises at least one switch channel, and the method comprises the following steps:
s10: sending a target calibration instruction to the radio frequency unit so that the radio frequency unit controls a target switch channel to be conducted;
s20: and controlling the test unit to test and/or calibrate a target test port through the target switch channel.
2. The method according to claim 1, wherein the S20 includes:
acquiring target compensation calibration data corresponding to the target switch channel;
and controlling the test unit to test and/or calibrate the target test port according to the target compensation calibration data through the target switch channel.
3. The method according to claim 2, further comprising, before the S10:
acquiring an actual loss value corresponding to each input port in the switch and a reference loss value corresponding to each switch channel;
and performing difference processing on the reference loss value and the actual loss value to obtain compensation calibration data corresponding to each switching channel.
4. The method according to any one of claims 1 to 3, further comprising, after the S20:
receiving a calibration abnormity prompt sent by the test unit, and judging whether the times of the calibration abnormity prompt exceed a preset time threshold value;
if not, the step S10 is executed again;
and if so, outputting a calibration failure prompt.
5. The method according to any one of claims 1 to 3, wherein the S10 includes:
determining the calibration sequence of each test port according to a calibration rule;
determining or generating a calibration instruction for the test port according to the calibration sequence, and sequentially executing the step S10 according to the calibration instruction.
6. The method according to any one of claims 1 to 3, wherein the S20 includes:
if the number of the switch channels is at least two, controlling the test unit to test and/or calibrate the first target test port through the first target switch channel;
after the first target test port is tested and/or calibrated, the test unit is controlled to sequentially test and/or calibrate at least one second target test port through a second target switch channel.
7. A radio frequency test system, comprising: the device comprises a control end, a switch, a radio frequency unit and a test unit; wherein:
the radio frequency unit and the test unit are respectively connected with the switch, the radio frequency unit comprises at least one test port, and the switch comprises at least one switch channel;
the control end is used for sending a target calibration instruction to the radio frequency unit so as to enable the radio frequency unit to control the conduction of a target switch channel and control the test unit to test and/or calibrate a target test port through the target switch channel.
8. The system of claim 7, wherein the test unit comprises a radio frequency connector and a test meter, one end of the radio frequency connector is connected with any input end of the switch, the other end of the radio frequency connector is connected with the test meter, and the test meter is connected with the control end.
9. An intelligent terminal, characterized in that, intelligent terminal includes: memory, processor, wherein the memory has stored thereon a radio frequency test program which, when executed by the processor, implements the steps of the radio frequency test method of any one of claims 1 to 6.
10. A computer-readable storage medium, characterized in that the storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the radio frequency testing method according to any one of claims 1 to 6.
CN202111637929.1A 2021-12-29 2021-12-29 Radio frequency test method, intelligent terminal and storage medium Pending CN114301550A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111637929.1A CN114301550A (en) 2021-12-29 2021-12-29 Radio frequency test method, intelligent terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111637929.1A CN114301550A (en) 2021-12-29 2021-12-29 Radio frequency test method, intelligent terminal and storage medium

Publications (1)

Publication Number Publication Date
CN114301550A true CN114301550A (en) 2022-04-08

Family

ID=80970788

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111637929.1A Pending CN114301550A (en) 2021-12-29 2021-12-29 Radio frequency test method, intelligent terminal and storage medium

Country Status (1)

Country Link
CN (1) CN114301550A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117890681A (en) * 2024-03-14 2024-04-16 荣耀终端有限公司 Insertion loss calibration method and calibration system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117890681A (en) * 2024-03-14 2024-04-16 荣耀终端有限公司 Insertion loss calibration method and calibration system

Similar Documents

Publication Publication Date Title
US11848773B2 (en) Transmit antenna switching method and terminal device
US11444675B2 (en) Beam failure recovery request transmission method, reception method, devices and system
CN108600520B (en) Reception state control method, mobile terminal, and computer-readable storage medium
CN107172605B (en) Emergency call method, mobile terminal and computer readable storage medium
US20210092630A1 (en) Method for cell management, terminal, and network-side device
CN113645345A (en) Data transmission method, mobile terminal and storage medium
CN112261535A (en) Major-minor switching method and device for wireless earphone and readable storage medium
US20220110036A1 (en) Random access method and terminal
CN114301489A (en) Radio frequency front-end module, signal processing method, mobile terminal and storage medium
CN107465469B (en) Receiving sensitivity testing method, testing device and computer readable storage medium
CN107911778B (en) Playing method based on parallel loudspeaker, mobile terminal and readable storage medium
CN113326012A (en) Processing method, mobile terminal and storage medium
CN114301550A (en) Radio frequency test method, intelligent terminal and storage medium
CN113132964A (en) Communication module, control method thereof, and computer-readable storage medium
CN112423211A (en) Multi-audio transmission control method, equipment and computer readable storage medium
CN115086479A (en) Terminal control method, intelligent terminal and storage medium
CN113805837A (en) Audio processing method, mobile terminal and storage medium
CN114070930A (en) Intelligent terminal control method, intelligent terminal and storage medium
CN113329347A (en) Processing method of Bluetooth device, mobile terminal and storage medium
CN113824176A (en) Charging method, earphone, terminal and storage medium
CN216389737U (en) Antenna module and intelligent terminal
CN107682551B (en) Control method, terminal and storage medium of intelligent power amplifier
CN114900865B (en) Data processing method, intelligent terminal and storage medium
CN216595830U (en) Drive circuit and mobile terminal
EP4266794A1 (en) Processing method, communication device, and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication