CN111651310B - Radio frequency debugging method and device, storage medium and electronic equipment - Google Patents

Radio frequency debugging method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN111651310B
CN111651310B CN202010457307.XA CN202010457307A CN111651310B CN 111651310 B CN111651310 B CN 111651310B CN 202010457307 A CN202010457307 A CN 202010457307A CN 111651310 B CN111651310 B CN 111651310B
Authority
CN
China
Prior art keywords
debugging
radio frequency
current
allowance
test point
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
CN202010457307.XA
Other languages
Chinese (zh)
Other versions
CN111651310A (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.)
Huizhou TCL Mobile Communication Co Ltd
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 CN202010457307.XA priority Critical patent/CN111651310B/en
Publication of CN111651310A publication Critical patent/CN111651310A/en
Application granted granted Critical
Publication of CN111651310B publication Critical patent/CN111651310B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application discloses a radio frequency debugging method, a radio frequency debugging device, a storage medium and electronic equipment, wherein the method is applied to the electronic equipment and comprises the following steps: acquiring a plurality of controls on a radio frequency debugging interface, wherein the controls comprise a plurality of adjusting controls which are in one-to-one correspondence with a plurality of test points, and the test points correspond to different time points in a rising edge and a falling edge of a radio frequency power time curve of a terminal to be tested; and triggering each adjusting control through simulation, debugging the configuration value corresponding to each adjusting control, wherein the configuration value corresponding to the adjusting control is used for configuring the radio frequency power of the terminal to be tested at the testing point corresponding to the adjusting control. According to the embodiment of the application, the configuration values corresponding to the plurality of test points on the rising edge and the falling edge of the radio frequency power time curve are automatically modified, the radio frequency debugging is not required to be manually carried out, the radio frequency debugging efficiency is improved, the labor cost is saved, and the accuracy of the radio frequency debugging is improved.

Description

Radio frequency debugging method and device, storage medium and electronic equipment
Technical Field
The present application relates to the field of communications technologies, and in particular, to a radio frequency debugging method and apparatus, a storage medium, and an electronic device.
Background
In the radio frequency design architecture of the current intelligent terminal (such as a mobile phone) based on the MTK platform, the power amplifier part of the global system for mobile communication is generally made into an IC with a front-end radio frequency switch module, which is called a front-end module. Global System for Mobile Communications (GSM), a digital Mobile Communications standard developed by the european telecommunications standards institute ETSI, uses a time division multiple access technique for its air interface. According to the digital mobile communication standard, there is a prescribed requirement for a Power Time template of any one transmission slot in GSM, also called PVT (Power vs Time); there is also a requirement for out-of-carrier spectral spurs due to power rises and falls, called the Spectrum of switching (Spectrum product to switching). Both the power time template and the switch spectrum have an absolute relation with the radio frequency power time curve of the power amplifier of the GSM. The rf power time curve may also be referred to as a Ramp curve.
A radio frequency engineer usually needs to perform a large number of radio frequency debugs on the intelligent terminal to obtain a configuration file meeting the two standards, where the configuration file records a configuration value of each test point for controlling the output of the power amplifier, and each test point corresponds to a different time point in the power up/down process of the power amplifier of the intelligent terminal. Moreover, a configuration file is not necessarily universal for GSM power amplifiers of all manufacturers or projects, and therefore, each manufacturer or each project requires a lot of time for a radio frequency engineer to debug test points in the configuration file, so that both items meet the standard. Thus, debugging test points in a configuration file to meet both standards takes a significant amount of time.
The existing radio frequency engineers debug manually, but each test point usually needs a large amount of different data, and the different data are manually modified and debugged by the radio frequency engineers, so that the debugging efficiency is low, and the accuracy is not sufficient.
Disclosure of Invention
The embodiment of the application provides a radio frequency debugging method, a radio frequency debugging device, a storage medium and electronic equipment, which can automatically realize radio frequency debugging, so that a configuration value debugged from a test point accords with the standards of a time power template and a switch spectrum, and the radio frequency debugging efficiency and accuracy are improved.
The embodiment of the application provides a radio frequency debugging method, which comprises the following steps:
acquiring a plurality of controls on a radio frequency debugging interface, wherein the controls comprise a plurality of adjusting controls which are in one-to-one correspondence with a plurality of test points, and the test points correspond to different time points in a rising edge and a falling edge of a radio frequency power time curve of a terminal to be tested;
and triggering each adjusting control through simulation, debugging the configuration value corresponding to each adjusting control, wherein the configuration value corresponding to the adjusting control is used for configuring the radio frequency power of the terminal to be tested at the testing point corresponding to the adjusting control.
An embodiment of the present application further provides a radio frequency debugging apparatus, including:
the control acquiring unit is used for acquiring a plurality of controls on the radio frequency debugging interface, the controls comprise a plurality of adjusting controls which are in one-to-one correspondence with a plurality of test points, and the test points correspond to different time points in the rising edge and the falling edge of a radio frequency power time curve of the terminal to be tested;
and the debugging unit is used for triggering each adjusting control through simulation and debugging the configuration value corresponding to each adjusting control, and the configuration value corresponding to the adjusting control is used for configuring the radio frequency power of the terminal to be tested at the testing point corresponding to the adjusting control.
The embodiment of the present application further provides a computer-readable storage medium, where a plurality of instructions are stored in the computer-readable storage medium, and the instructions are suitable for being loaded by a processor to execute any one of the radio frequency debugging methods.
An embodiment of the present application further provides an electronic device, which includes a processor and a memory, where the processor is electrically connected to the memory, the memory is used to store instructions and data, and the processor is used in any one of the steps in the radio frequency debugging method.
According to the radio frequency debugging method, the radio frequency debugging device, the storage medium and the electronic equipment, the multiple adjusting controls on the radio frequency debugging interface are obtained, the configuration values of the test points corresponding to the adjusting controls on the radio frequency debugging interface are adjusted according to the adjusting controls, and therefore the initial configuration values corresponding to the multiple test points on the rising edge and the falling edge of the radio frequency power time curve are debugged. The radio frequency debugging is automatically carried out according to the plurality of adjusting controls which are in one-to-one correspondence with the test points, the configuration values corresponding to the plurality of test points on the rising edge and the falling edge of the radio frequency power time curve are automatically modified, the radio frequency debugging is not required to be carried out manually, the radio frequency debugging efficiency is improved, the labor cost is saved, and the accuracy of the radio frequency debugging is improved.
Drawings
The technical solution and other advantages of the present application will become apparent from the detailed description of the embodiments of the present application with reference to the accompanying drawings.
Fig. 1 is an exemplary diagram of a radio frequency debugging system according to an embodiment of the present application.
Fig. 2 is a schematic flowchart of a radio frequency debugging method according to an embodiment of the present application.
Fig. 3 is a schematic diagram of a radio frequency debugging interface provided in the embodiment of the present application.
Fig. 4 is another schematic flow chart of a radio frequency debugging method according to an embodiment of the present application.
Fig. 5 is another schematic flow chart of a radio frequency debugging method according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of a radio frequency debugging apparatus according to an embodiment of the present application.
Fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 8 is another schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
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.
The embodiment of the application provides a radio frequency debugging method, a radio frequency debugging device, a storage medium and electronic equipment. Any radio frequency debugging device provided by the embodiment of the application can be integrated in electronic equipment, and the electronic equipment can be a server or terminal equipment, including a desktop computer, a smart phone, a PAD, a portable computer, a Personal Digital Assistant (PDA), a robot, an embedded device and the like.
Referring to fig. 1, fig. 1 is a schematic diagram of a radio frequency debugging system provided in an embodiment of the present application, where the radio frequency debugging system includes an electronic device 10, a terminal 20 to be tested, and a comprehensive tester 30. The terminal 20 to be tested can be a terminal device such as a smart phone, a PAD, or a laptop. The electronic device 10 includes a radio frequency debugging apparatus 11 and a preset application 12 in the embodiment of the present application. The preset application 12 may be a META tool of the MTK platform, or may be another radio frequency debugging tool of the MTK platform. The preset application program comprises a radio frequency debugging interface, and a plurality of controls are arranged on the radio frequency debugging interface.
The terminal 20 to be tested, the electronic device 10 and the comprehensive tester 30 are in a Local Area Network (LAN), and the terminal 20 to be tested is connected to the electronic device 10 to communicate with the preset application program 12; the comprehensive tester 30 is connected with the electronic device 10 to communicate with the radio frequency debugging device 11; the radio frequency debugging device 11 communicates with the preset application 12. When the transmission control in the preset application 12 is triggered, the power amplifier of the terminal 20 to be tested outputs a radio frequency Signal (RF Signal); the comprehensive tester 30 detects the radio frequency signal to obtain a switch spectrum margin and a power time template margin; and sending the detected switch spectrum allowance and power time template allowance to the radio frequency debugging device 11, so that the radio frequency debugging device 11 can further judge the received switch spectrum allowance and power time template allowance subsequently.
It should be noted that, in the embodiment of the present application, to ensure that the integrated tester 30 is correctly connected to the electronic device 10, the terminal 20 to be tested is correctly connected to the electronic device 10, and then the radio frequency debugging can be normally performed. The integrated tester 30 and the electronic device 10 may be connected via a GPIB (General Purpose interface bus) interface, and communicate with each other.
Fig. 2 is a schematic flowchart of a radio frequency debugging method provided in an embodiment of the present application, where the radio frequency debugging method is applied to the radio frequency debugging apparatus 11. The radio frequency debugging method comprises the following steps:
101, acquiring a plurality of controls on a radio frequency debugging interface, wherein the controls comprise a plurality of adjusting controls in one-to-one correspondence with a plurality of test points, and the test points correspond to different time points in a rising edge and a falling edge of a radio frequency power time curve of a terminal to be tested.
It should be noted that before acquiring the plurality of controls on the radio frequency debugging interface, it is required to ensure that the current interface of the preset application program is already the radio frequency debugging interface. Specifically, before acquiring the plurality of controls on the radio frequency debugging interface, the method further includes: acquiring process information on the electronic equipment, and detecting whether a process corresponding to a preset application program exists in the process information; if so, acquiring a current interface identifier (an ID number, an interface name and the like corresponding to the current interface) of the preset application program; and if the current interface identification is the radio frequency debugging interface identification, determining that the current interface of the preset application program is the radio frequency debugging interface. If the process information includes a process corresponding to the preset application program, it means that the preset application program is already opened, and if the process information includes no process corresponding to the preset application program, it means that the preset application program is not opened. In addition, if the current interface of the preset application program is the radio frequency debugging interface, the preset application program is connected with the terminal to be tested. The preset application program comprises a plurality of interfaces, so that the current interface identification of the preset application program is obtained, and the method comprises the following steps: and if the acquired window handle corresponds to the window handle corresponding to the radio frequency debugging interface, determining that the current interface of the preset application program is the radio frequency debugging interface.
After the current interface of the preset application program is determined to be a radio frequency debugging interface, a plurality of controls on the radio frequency debugging interface are obtained. Specifically, control identifiers (handle information of a plurality of controls) of a plurality of controls on the radio frequency debugging interface are obtained, the corresponding plurality of controls are obtained according to the control identifiers, and display values of the plurality of controls can be further obtained. The control identification comprises a control ID, a control name and the like. The controls comprise an adjusting control, a function control, a setting control and the like on the radio frequency debugging interface.
Fig. 3 is an exemplary diagram of a radio frequency debugging interface provided in an embodiment of the present application. In the figure, at the top of the radio frequency debugging interface, GSM900, DCS1800, PCS1900, and GSM850 correspond to 4 frequency bands that may be supported by the terminal to be tested, and in the embodiment of the present application, DCS1800 is taken as an example for description. The corresponding input box behind the ARFCN character string on the radio frequency debugging interface is used for setting a channel, and the current channel is 512; 15, 14, 13, 12, 11, 10, 9 after PCL, the button corresponding to 0 is used to set a plurality of power levels of the current channel, and the current power level is 0; 0, 1, 2, 3, 4, 15 corresponding to the Ramp Up Profile is used for representing 16 test points in a rising edge of a Ramp curve, the test points correspond to different time points of the rising edge of the Ramp curve of the terminal to be tested, 16 input boxes are correspondingly arranged below 0, 1, 2, 3, 4, 15, and the 16 input boxes are used for modifying the radio frequency power of the terminal to be tested at a plurality of test points of the corresponding rising edge; the Ramp Down Profile corresponds to 16 test points in the falling edges of the Ramp curve, the test points correspond to different time periods of the falling edges of the Ramp curve of the terminal to be tested, 16 input boxes are correspondingly arranged below 0, 1, 2, 3, 4, 15, and the 16 input boxes are used for modifying the radio frequency power of the terminal to be tested at a plurality of test points of the corresponding falling edges. And < < >, > buttons are respectively further included before the input frame corresponding to the test point 0 and after the test point corresponding to the test point 15, so as to modify the configuration value of the selected input frame. The lowest part of the radio frequency debugging interface also comprises a Load from file button, the Load from file button is triggered, the configuration file of the terminal to be tested can be loaded, the configuration file comprises configuration values corresponding to different test points in a rising edge and a falling edge corresponding to the Ramp curve. And a Start button and a Stop button are further included near the input box corresponding to the ARFCN, and are a launching control and a stopping control respectively. Other controls on the radio frequency debugging interface are not specifically described in the present application. It should be noted that the radio frequency debugging interface described above is only an example for facilitating understanding of the contents in the embodiments of the present application, and does not constitute a limitation on the radio frequency debugging interface.
When the radio frequency debugging is performed on the terminal to be tested, modification is performed on a radio frequency debugging interface manually, for example, configuration values in 16 input frames corresponding to Ramp Up Profile and configuration values in 16 input frames corresponding to Ramp Down Profile are modified manually, and a transmitting control and a stopping control are clicked timely, so that configuration values corresponding to a plurality of test points in the rising edge and the falling edge of the terminal to be tested are debugged. The configuration values in each input box are modified and debugged, the workload is huge, a large amount of time and cost are required to be occupied, and the efficiency is extremely low; and when manual debugging, the configuration values to be debugged are easy to miss, resulting in insufficient accuracy. In the embodiment of the application, radio frequency debugging is automatically realized, and the problems of low efficiency and insufficient accuracy caused by the existing debugging mode are solved.
In an embodiment of the present application, the plurality of controls include a plurality of adjustment controls and function controls that correspond to the plurality of test points one to one. The multiple adjusting controls comprise 16 input boxes corresponding to Ramp Up Profile and 16 input boxes corresponding to Ramp Down Profile; the function controls include a launch control and a stop control, etc. The control further comprises a setting control and a loading control, wherein the setting control comprises an input box used for setting a channel, a button used for setting a power level and the like, and the loading control comprises a button used for loading a configuration file and the like.
And 102, triggering each adjusting control through simulation, debugging the configuration value corresponding to each adjusting control, wherein the configuration value corresponding to the adjusting control is used for configuring the radio frequency power of the terminal to be tested at the testing point corresponding to the adjusting control.
The radio frequency debugging device simulates and triggers each adjusting control by sending events such as key commands to the radio frequency debugging interface, and modifies the configuration values corresponding to the adjusting controls.
Specifically, step 102 includes: acquiring initial configuration values corresponding to a plurality of test points in the rising edge and the falling edge of the Ramp curve, taking one test point as a current test point, and taking the initial configuration value corresponding to the current test point as the current configuration value; and triggering an adjusting control corresponding to the current test point by simulation, and debugging the current configuration value corresponding to the adjusting control to obtain a debugging configuration value corresponding to the current test point so as to finish debugging the configuration value of the current test point until the debugging of the configuration values of the plurality of test points of Ramp is finished. The current test point can be sequentially obtained and determined according to the sequence of the test points.
If the radio frequency debugging interface has loaded the initial configuration values corresponding to the multiple testing points in the rising edge and the falling edge of the Ramp curve of the terminal to be tested, the initial configuration values corresponding to the multiple testing points are displayed in the adjusting control, so that the initial configuration values displayed in the adjusting control corresponding to the multiple testing points in the rising edge and the falling edge of the Ramp curve are obtained.
If the radio frequency debugging interface does not load the initial configuration values corresponding to the plurality of test points in the rising edge and the falling edge of the Ramp curve of the terminal to be tested, the step of obtaining the initial configuration values corresponding to the plurality of test points in the rising edge and the falling edge of the Ramp curve comprises the following steps: and sending a loading control instruction to a loading control to trigger the loading control, so that a configuration file stored in a preset directory of the electronic equipment is loaded through the loading control, wherein the configuration file corresponds to a configuration file of initial configuration values corresponding to a plurality of test points of a Ramp curve of the terminal to be tested. Sending the loading control instruction comprises sending a click operation event and the like corresponding to the loading control so as to simulate and trigger the loading control. Therefore, the configuration file is loaded through the radio frequency debugging interface, the initial configuration values corresponding to the multiple testing points of the Ramp curve are displayed in the adjusting controls corresponding to the multiple testing points on the radio frequency debugging interface, and the radio frequency debugging device obtains the initial configuration values corresponding to the multiple testing points displayed in the adjusting controls. Or may be obtained in other manners, for example, by directly loading the configuration file through the radio frequency debugging device, reading the initial configuration values corresponding to the multiple test points of the Ramp curve in the configuration file, and sending the read initial configuration values corresponding to the multiple test points to the radio frequency debugging interface, so as to display the initial configuration values in the adjustment controls corresponding to the multiple test points on the radio frequency debugging interface.
The configuration file may include initial configuration values corresponding to a plurality of Ramp curves corresponding to a plurality of power levels of a plurality of channels, where one power level of one channel corresponds to one Ramp curve, and one Ramp curve includes initial configuration values corresponding to a plurality of test points in a rising edge and a falling edge. Thus, step 102, comprises: acquiring a channel as a current channel, acquiring a power level of the current channel as a current power level, acquiring initial configuration values corresponding to a plurality of test points of a Ramp curve corresponding to the current power level, taking one test point as a current test point, and taking the initial configuration value corresponding to the current test point as the current configuration value; the method comprises the steps of triggering an adjusting control corresponding to a current test point through simulation, debugging a current configuration value corresponding to the adjusting control to obtain a debugging configuration value corresponding to the current test point, completing debugging of the configuration value of the current test point, further completing debugging of a plurality of test points of a Ramp curve corresponding to a current power level of a current channel, completing debugging of a plurality of test points of the Ramp curve corresponding to a next power level of the current channel, completing debugging of a plurality of test points of the Ramp curve corresponding to all power levels of the current channel, and completing debugging of the configuration values of all test points of all Ramp curves corresponding to all power levels of all channels.
As shown in fig. 4, triggering an adjustment control corresponding to a current test point by simulation, and debugging a current configuration value corresponding to the adjustment control to obtain a debugging configuration value corresponding to the current test point includes:
and 201, acquiring a switch spectrum margin and a power time template margin corresponding to the current debugging value.
Specifically, the radio frequency debugging device sends a transmission control instruction to the transmission control to trigger the transmission control, so that the terminal to be tested transmits a radio frequency signal according to the current debugging value. Launch control such as Start button in fig. 3. Sending the launch control instruction includes sending a click operation event and the like corresponding to the launch control so as to simulate and trigger the launch control. After the emission control is triggered in a simulating mode, the preset application program controls the terminal to be tested to emit a signal, and the signal is amplified through a power amplifier of the terminal to be tested and then a radio frequency signal is output. The comprehensive tester obtains the switch spectrum allowance and the power time template allowance corresponding to the current debugging value by detecting the radio frequency signal, and sends the obtained switch spectrum allowance and the obtained power time template allowance to the electronic equipment, so that the radio frequency debugging device obtains the switch spectrum allowance and the power time template allowance corresponding to the radio frequency signal. And after the switch spectrum allowance and the power time template allowance corresponding to the radio frequency signal are obtained, sending a stop control instruction to the stop control to trigger the stop control so that the equipment to be tested stops transmitting the radio frequency signal. The Stop control is a Stop button as in fig. 3. Sending the stop control instruction includes sending a click operation event and the like corresponding to the stop control so as to simulate and trigger the stop control. After the stopping control is triggered in a simulating mode, the preset application program controls the terminal to be tested to stop transmitting the radio frequency signals. And stopping transmitting the radio frequency signal so as to carry out next fine adjustment on the current debugging value or debug the configuration value of the next test point under the condition that the current debugging value does not need to be subjected to fine adjustment.
And 202, judging whether the switch spectrum margin and the power time template margin meet preset conditions.
Namely, whether the switch spectrum allowance and the power time template allowance corresponding to the radio frequency signal of the current test point meet the preset condition is judged. The preset conditions are that the switch spectrum allowance is within a first preset range, and the power time template allowance is within a second preset range. The first preset range is different from the second preset range, different values can be set according to the requirements of users, and the values corresponding to the first preset range and the second preset range can be set according to the standards of 3 GPP.
If the switch spectrum margin and the power time template margin meet the preset conditions, executing step 203; if the switch spectrum margin and the power time template margin do not satisfy the preset condition, step 204 is executed.
And 203, taking the current debugging value as a debugging configuration value corresponding to the current test point.
It can be understood that only one test is performed to find that the switch spectrum margin and the power time template margin corresponding to the radio frequency signal satisfy the preset condition, that is, the initial configuration value corresponding to the current test point is not required to be fine-tuned, and the initial configuration value corresponding to the current test point is the debugging configuration value corresponding to the current test point.
And 204, sending a fine tuning instruction to the adjusting control corresponding to the current test point, so as to debug the current debugging value according to the fine tuning instruction.
Sending the fine tuning instruction comprises sending a modification operation event and the like corresponding to the adjustment control so as to simulate and trigger the adjustment control, obtain a display numerical value (current configuration value) of the adjustment control, and modify, namely fine tuning, the display numerical value corresponding to the adjustment control. The fine adjustment may be an incremental fine adjustment or a decremental fine adjustment. If all the current test points needing fine tuning on the Ramp curve are subjected to incremental fine tuning; or performing descending fine adjustment on all current test points needing fine adjustment on the Ramp curve; or performing incremental fine adjustment and incremental fine adjustment respectively according to whether the current test point is the test point on the rising edge or the test point on the falling edge. Specifically, sending a fine tuning instruction to an adjustment control corresponding to the current test point includes: detecting whether the current test point is the test point corresponding to the rising edge or the test point corresponding to the falling edge; if the current test point is the test point corresponding to the rising edge, an incremental fine adjustment instruction is sent to an adjustment control corresponding to the current test point; and if the current test point is the test point corresponding to the falling edge, sending a decreasing fine tuning instruction to the adjusting control corresponding to the current test point. Therefore, the fine tuning direction for starting fine tuning is determined according to the points of the current test point on the rising edge and the falling edge, so that the fine tuning efficiency is improved.
Specifically, as shown in fig. 5, step 204 includes:
301, sending a fine tuning instruction to an adjustment control corresponding to the current test point, and performing fine tuning on the current debugging value according to the fine tuning instruction to obtain an adjusted test value.
For example, an adjustment control corresponding to the current test point is triggered in a simulated manner, the current test value corresponding to the adjustment control is obtained as 248, and the current test value corresponding to the adjustment control is subjected to fine tuning. If the current test value is gradually adjusted to 249, the adjusted test value is 249; if the test value is decreased and fine-tuned, the current test value is fine-tuned to 247, and the adjusted test value is 247.
Incremental fine tuning is illustrated here as an example. And after incremental fine adjustment is carried out, obtaining the switching spectrum margin and the power time template margin of the current test value after fine adjustment.
And 302, sending a transmitting control instruction to the transmitting control to trigger the transmitting control, so that the terminal to be tested transmits the radio frequency signal according to the current debugging value. Sending the launch control instruction includes sending a click operation event and the like corresponding to the launch control so as to simulate and trigger the launch control.
303, obtaining a switch spectrum margin and a power time template margin corresponding to the radio frequency signal.
And the comprehensive tester detects the radio frequency signal and sends the obtained switching spectrum margin and the power time template margin to a radio frequency debugging device through a GPIB interface. Or the radio frequency debugging device acquires the switch spectrum allowance and the power time template allowance in the comprehensive tester through the GPIB interface.
And 304, sending a stop control instruction to the stop control to trigger the stop control, so that the terminal to be tested stops transmitting the radio frequency signal. Sending the stop control instruction includes sending a click operation event and the like corresponding to the stop control so as to simulate and trigger the stop control.
And 305, judging whether the trimmed switch spectrum margin and the trimmed power time template margin are optimized.
It should be noted that, after the configuration values corresponding to the multiple test points of the Ramp curve are manually debugged, the obtained switch spectrum margin and the power time template margin are displayed on the graph, and the graph is manually judged to determine whether the optimization is obtained, so that the accuracy of manual judgment is greatly reduced, and the efficiency is also greatly reduced. The method and the device for automatically acquiring the switch spectrum margin and the power time template margin automatically judge whether the switch spectrum margin and the power time template margin are optimized, and therefore accuracy and efficiency are greatly improved.
If the trimmed switch spectrum margin and power time template margin are optimized compared with the last trimmed switch spectrum margin and power time template margin, that is, no deterioration occurs, then step 306 is executed; if the trimmed switch spectrum margin and power time template margin are degraded, go to step 309.
And 306, judging whether the switch spectrum margin and the power time template margin meet preset conditions.
It should be noted that, after the configuration values corresponding to the multiple test points of the Ramp curve are manually debugged, the obtained switch spectrum margin and the power time template margin are displayed on the graph, and the graph is manually judged to determine whether the preset condition is met, so that the accuracy of manual judgment is greatly reduced, and the efficiency is also greatly reduced. The automatic acquisition of the switch spectrum margin and the power time template margin in the embodiment of the application can be automatically judged, so that the accuracy and the efficiency are greatly improved.
If the preset condition is satisfied, go to step 307; if the predetermined condition is not satisfied, go to step 308.
307, taking the current debugging value as a debugging configuration value corresponding to the current test point.
308, sending a fine tuning instruction to the adjustment control corresponding to the current test point, and continuing fine tuning the current debugging value in the same direction according to the fine tuning instruction to obtain the fine tuned current debugging value. If the current test point was previously incrementally trimmed, then incremental trimming continues. Step 302 is then performed.
309 it is detected whether the fine tuning is performed in both directions.
If yes, the process is ended, otherwise, step 310 is executed.
And 310, sending a fine tuning instruction to an adjusting control corresponding to the current test point, and performing fine tuning on the current debugging value in the opposite direction according to the fine tuning instruction to obtain the fine-tuned current debugging value. If the current test paper is subjected to incremental fine adjustment at the previous time, and if the switch spectrum margin and the power time template margin after the incremental fine adjustment are deteriorated, the incremental fine adjustment is carried out. Step 302 is then performed.
For example, if incremental fine adjustment is performed when fine adjustment is started, and the margin of the switch spectrum and the margin of the power time template are optimized after the incremental fine adjustment, the fine adjustment is continued in the same direction, that is, the incremental fine adjustment is continued; if the starting time is the incremental fine adjustment, and the switch spectrum margin and the power time template margin are found to be deteriorated after the incremental fine adjustment, the fine adjustment is carried out in the opposite direction, namely the incremental fine adjustment is carried out. The fine adjustment is decreased gradually at the beginning, the fine adjustment is continued in the same direction, namely, the fine adjustment is continued to be decreased gradually, and the fine adjustment is conducted in the opposite direction, namely, the fine adjustment is increased gradually. It should be noted that if both directions are fine-tuned, the degradation occurs again, the flow of this step ends, and step 205 is executed.
It can be understood that, if the switch spectrum margin and the power time template margin do not satisfy the preset condition, the current test value is continuously fine-tuned in the same direction, and if the current test point is previously subjected to incremental fine tuning, the current test value is continuously subjected to incremental fine tuning until the switch spectrum margin and the power time template margin satisfy the preset condition or the fine-tuned switch spectrum margin and the power time template margin are not optimized any more; if the finely tuned switch spectrum allowance and power time template allowance are deteriorated, finely tuning the current debugging value in the opposite direction, if the current test paper is subjected to incremental fine tuning, and if the incrementally tuned switch spectrum allowance and power time template allowance are deteriorated, performing incremental fine tuning until the switch spectrum allowance and the power time template allowance meet preset conditions or the finely tuned switch spectrum allowance and power time template allowance are not optimized. And finally, stopping fine adjustment according to the condition that either the switch spectrum allowance and the power time template allowance meet the preset condition, or the switch spectrum allowance and the power time template allowance after fine adjustment are not optimized any more, and which of the two conditions is reached first corresponds to which of the two conditions is reached first.
And 205, obtaining a current configuration value corresponding to the debugged switch spectrum margin and the debugged power time template margin meeting a preset condition, or obtaining an optimized last current debugging value from the switch spectrum margin and the power time template margin.
And obtaining the optimized last current debugging value by the switch spectrum allowance and the power time template allowance, wherein the last current debugging value is the last current debugging value before the switch spectrum allowance and the power time template allowance are deteriorated. For example, the current debug value is 250, if the current debug value is set to 251, the switching spectrum margin and the power time template margin are deteriorated, and then 250 is used as the switching spectrum margin and the power time template margin to obtain the last optimized current debug value.
And 206, taking the obtained current configuration value as a debugging configuration value corresponding to the current test point.
The embodiment further defines how to trigger the adjustment control corresponding to the current test point through simulation, and automatically realizes debugging the current configuration value corresponding to the adjustment control to obtain the debugging configuration value corresponding to the current test point. According to the debugging mode of the current test point, the debugging of all test points to be debugged is automatically completed, and the efficiency and the accuracy of the radio frequency debugging are improved.
According to the method, the initial configuration values corresponding to the plurality of test points on the rising edge and the falling edge of the radio frequency power time curve are debugged by acquiring the plurality of controls on the radio frequency debugging interface, wherein the controls comprise a plurality of adjusting controls, transmitting controls, stopping controls and the like which are in one-to-one correspondence with the test points, and adjusting the configuration values of the test points on the radio frequency debugging interface corresponding to the adjusting controls according to the adjusting controls, the transmitting controls and the stopping controls. The radio frequency debugging is automatically carried out according to the plurality of adjusting controls which are in one-to-one correspondence with the test points, the terminal to be tested is automatically controlled to transmit the radio frequency signal and stop transmitting the radio frequency signal, the configuration values corresponding to the plurality of test points on the rising edge and the falling edge of the radio frequency power time curve are automatically modified, the radio frequency debugging is not required to be carried out manually, the radio frequency debugging efficiency is improved, the labor cost is saved, and the accuracy of the radio frequency debugging is improved.
According to the method described in the foregoing embodiment, the embodiment will be further described from the perspective of a radio frequency debugging apparatus, which may be specifically implemented as an independent entity, or integrated in an electronic device, where the electronic device may be a server, or a terminal device, and the electronic device includes a desktop, a smart phone, a PAD, a laptop, a Personal Digital Assistant (PDA), a robot, an embedded device, and the like.
Referring to fig. 6, fig. 6 specifically describes a radio frequency debugging apparatus provided in the embodiment of the present application, where the radio frequency debugging apparatus is applied to an electronic device, and the radio frequency debugging apparatus may include: a control acquiring unit 401 and a debugging unit 402. Wherein:
the control obtaining unit 401 is configured to obtain multiple controls on the radio frequency debugging interface, where the multiple controls include multiple adjustment controls corresponding to multiple test points one to one, and the multiple test points correspond to different time points in a rising edge and a falling edge of a radio frequency power time curve of the terminal to be tested.
The debugging unit 402 is configured to trigger each adjustment control through simulation, and debug the configuration value corresponding to each adjustment control, where the configuration value corresponding to the adjustment control is used to configure the radio frequency power of the terminal to be tested at the test point corresponding to the adjustment control.
The debugging unit 402 includes: the configuration acquisition unit 4021 and the point debugging unit 4022. The configuration obtaining unit 4021 is configured to obtain initial configuration values corresponding to the multiple test points in the rising edge and the falling edge of the Ramp curve, use one of the test points as a current test point, and use the initial configuration value corresponding to the current test point as the current configuration value. The point debugging unit 4022 is configured to trigger an adjustment control corresponding to the current test point through simulation, and debug the current configuration value corresponding to the adjustment control to obtain a debugging configuration value corresponding to the current test point, so as to complete debugging of the configuration value of the current test point until the debugging of the configuration values of the multiple test points of Ramp is completed.
The configuration obtaining unit 4021 may also be configured to obtain a channel as a current channel, obtain a power level of the current channel as a current power level, obtain initial configuration values corresponding to multiple test points of a Ramp curve corresponding to the current power level, use one of the test points as a current test point, and use the initial configuration value corresponding to the current test point as the current configuration value. The point debugging unit 4022 may also be configured to trigger an adjustment control corresponding to a current test point through simulation, debug a current configuration value corresponding to the adjustment control, obtain a debug configuration value corresponding to the current test point, to complete debugging of the configuration value of the current test point, further complete debugging of multiple test points of a Ramp curve corresponding to a current power level of a current channel, complete debugging of multiple test points of a Ramp curve corresponding to a next power level of the current channel, complete debugging of multiple test points of a Ramp curve corresponding to all power levels of the current channel, until completing debugging of configuration values of all test points of all Ramp curves corresponding to all power levels of all channels.
The configuration acquiring unit 4021, when executing the step of acquiring initial configuration values corresponding to the multiple test points in the rising edge and the falling edge of the Ramp curve, is specifically configured to: and sending a loading control instruction to the loading control to trigger the loading control, so that a configuration file stored in a preset directory of the electronic equipment is loaded through the loading control, wherein the configuration file corresponds to a configuration file of initial configuration values corresponding to a plurality of test points of a Ramp curve of the terminal to be tested. Therefore, the configuration file is loaded through the radio frequency debugging interface, the initial configuration values corresponding to the multiple testing points of the Ramp curve are displayed in the adjusting controls corresponding to the multiple testing points on the radio frequency debugging interface, and the radio frequency debugging device obtains the initial configuration values corresponding to the multiple testing points displayed in the adjusting controls. Or the configuration acquiring unit 4021, when executing the step of acquiring initial configuration values corresponding to the multiple test points in the rising edge and the falling edge of the Ramp curve, is specifically configured to: the configuration file is directly loaded through the radio frequency debugging device, initial configuration values corresponding to a plurality of test points of a Ramp curve in the configuration file are read, and the read initial configuration values corresponding to the plurality of test points are sent to the radio frequency debugging interface to be displayed in adjusting controls corresponding to the plurality of test points on the radio frequency debugging interface.
When executing the step of triggering the adjustment control corresponding to the current test point through simulation, debugging the current configuration value corresponding to the adjustment control, and obtaining the debugging configuration value corresponding to the current test point, the point debugging unit 4022 is specifically configured to: acquiring a switch spectrum allowance and a power time template allowance corresponding to a current debugging value; judging whether the switch spectrum allowance and the power time template allowance meet preset conditions or not; if so, taking the current debugging value as a debugging configuration value corresponding to the current test point; if the switch spectrum allowance and the power time template allowance do not meet the preset condition, sending a fine tuning instruction to an adjusting control corresponding to the current test point so as to debug the current debugging value according to the fine tuning instruction; acquiring corresponding current configuration values when the debugged switch spectrum allowance and the power time template allowance meet preset conditions, or acquiring an optimized last current debugging value by the switch spectrum allowance and the power time template allowance; and taking the obtained current configuration value as a debugging configuration value corresponding to the current test point.
Specifically, as shown in fig. 6, the point debugging unit 4022 includes a remaining amount acquiring unit 4022a, a determining unit 4022b, a configuration value determining unit 4022c, a fine tuning unit 4022d, and a debugging value acquiring unit 4022e.
The margin obtaining unit 4022a is configured to obtain a switch spectrum margin and a power time template margin corresponding to the current debugging value. Specifically, the remaining amount acquiring unit 4022a includes a transmitting unit, an excess amount acquiring unit, and a stopping unit. The transmitting unit is used for sending a transmitting control instruction to the transmitting control so as to trigger the transmitting control, and the terminal to be tested transmits the radio frequency signal according to the current debugging value. And the excess margin acquisition unit is used for acquiring the switch spectrum margin and the power time template margin corresponding to the radio frequency signal. And the stopping unit is used for sending a stopping control instruction to the stopping control so as to trigger the stopping control, so that the terminal to be tested stops transmitting the radio frequency signal.
The determining unit 4022b is configured to determine whether the switching spectrum margin and the power time template margin satisfy a preset condition.
And the configuration value determining unit 4022c is configured to take the current debugging value as the debugging configuration value corresponding to the current test point if the switching spectrum margin and the power time template margin meet the preset condition.
The fine tuning unit 4022d is configured to send a fine tuning instruction to the adjustment control corresponding to the current test point if the switching spectrum margin and the power time template margin do not satisfy the preset condition, and to debug the current debug value according to the fine tuning instruction.
The fine tuning unit 4022d is specifically configured to send a fine tuning instruction to the adjustment control corresponding to the current test point, so as to perform fine tuning on the current debug value according to the fine tuning instruction, and obtain a fine-tuned current debug value; obtaining the switch spectrum allowance and the power time template allowance of the current debugging value after fine adjustment; judging whether the trimmed switch spectrum margin and the trimmed power time template margin are optimized; if the finely adjusted switch spectrum allowance and the power time template allowance are optimized, judging whether the switch spectrum allowance and the power time template allowance meet preset conditions or not; if so, taking the current debugging value as a debugging configuration value corresponding to the current test point; if not, continuously fine-tuning the current debugging value in the same direction until the switch spectrum allowance and the power time template allowance meet the preset condition or the fine-tuned switch spectrum allowance and the power time template allowance are not optimized; and if the finely adjusted switch spectrum allowance and power time template allowance are deteriorated, finely adjusting the current debugging value in the opposite direction until the switch spectrum allowance and the power time template allowance meet the preset conditions or the finely adjusted switch spectrum allowance and the power time template allowance are not optimized any more.
The fine tuning unit 4022d, when executing the step of sending the fine tuning instruction to the tuning control corresponding to the current test point, specifically executes: detecting whether the current test point is the test point corresponding to the rising edge or the test point corresponding to the falling edge; if the current test point is the test point corresponding to the rising edge, an incremental fine adjustment instruction is sent to an adjustment control corresponding to the current test point; and if the current test point is the test point corresponding to the falling edge, sending a decreasing fine tuning instruction to the adjusting control corresponding to the current test point.
A debugging value obtaining unit 4022e, configured to obtain a current configuration value corresponding to the debugged switch spectrum margin and the power time template margin meeting a preset condition, or obtain an optimized current debugging value.
The configuration value determining unit 4022c is configured to use the obtained current configuration value as a debugging configuration value corresponding to the current test point.
In a specific implementation, each of the modules and/or units may be implemented as an independent entity, or may be implemented as one or several entities by any combination, where the specific implementation of each of the modules and/or units may refer to the foregoing method embodiment, and specific achievable beneficial effects also refer to the beneficial effects in the foregoing method embodiment, which are not described herein again.
In addition, an embodiment of the present application further provides an electronic device, where the electronic device includes a desktop, a smart phone, a PAD, a laptop, a Personal Digital Assistant (PDA), a robot, an embedded device, and the like. As shown in fig. 7, the electronic device 500 includes a processor 501, a memory 502. The processor 501 is electrically connected to the memory 502.
The processor 501 is a control center of the electronic device 500, connects various parts of the whole electronic device by using various interfaces and lines, executes various functions of the electronic device and processes data by running or loading an application program stored in the memory 502 and calling the data stored in the memory 502, thereby performing overall monitoring of the electronic device.
In this embodiment, the processor 501 in the electronic device 500 loads instructions corresponding to processes of one or more application programs into the memory 502 according to the following steps, and the processor 501 runs the application programs stored in the memory 502, so as to implement various functions:
acquiring a plurality of controls on a radio frequency debugging interface, wherein the controls comprise a plurality of adjusting controls which are in one-to-one correspondence with a plurality of test points, and the test points correspond to different time points in a rising edge and a falling edge of a radio frequency power time curve of a terminal to be tested;
and triggering each adjusting control through simulation, debugging the configuration value corresponding to each adjusting control, wherein the configuration value corresponding to each adjusting control is used for configuring the radio frequency power of the terminal to be tested at the testing point corresponding to the adjusting control.
The electronic device can implement the steps in any embodiment of the radio frequency debugging method provided in the embodiment of the present application, and therefore, the beneficial effects that can be achieved by any radio frequency debugging method provided in the embodiment of the present invention can be achieved, which are detailed in the foregoing embodiments and will not be described herein again.
Fig. 8 is a specific block diagram of an electronic device provided in an embodiment of the present invention, where the electronic device may be used to implement the radio frequency debugging method provided in the foregoing embodiment. The electronic device 600 includes a desktop, a smart phone, a PAD, a laptop, a Personal Digital Assistant (PDA), a robot, an embedded device, and the like.
The RF circuit 610 is used for receiving and transmitting electromagnetic waves, and performs interconversion between the electromagnetic waves and electrical signals, thereby communicating with a communication network or other devices. RF circuit 610 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. The RF circuit 610 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 (Code Division Access,
CDMA), time Division Multiple Access (TDMA), wireless Fidelity (Wi-Fi) (e.g., IEEE802.11a, IEEE802.11 b, IEEE802.11g, and/or IEEE802.11 n, the institute of electrical and electronics engineers standard), voice over Internet Protocol (VoIP), worldwide Interoperability for Microwave Access (Wi-Max), other protocols for mail, instant messaging, and short messaging, and any other suitable communication Protocol, including even those that are not currently developed.
The memory 620 may be used to store software programs and modules, such as the corresponding program instructions/modules in the above-described embodiments, and the processor 680 may execute various functional applications and data processing by operating the software programs and modules stored in the memory 620. The memory 620 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 620 can further include memory located remotely from the processor 680, which can be connected to the electronic device 600 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 630 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 630 may include a touch sensitive surface 631 as well as other input devices 632. The touch-sensitive surface 631, also referred to as a touch display screen (touch screen) or a touch pad, may collect touch operations by a user (e.g., operations by a user on or near the touch-sensitive surface 631 using any suitable object or attachment such as a finger, a stylus, etc.) and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 631 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 680, and can receive and execute commands sent by the processor 680. In addition, the touch sensitive surface 631 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 630 may include other input devices 632 in addition to the touch-sensitive surface 631. In particular, other input devices 632 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 640 may be used to display information input by or provided to a user and various graphical user interfaces of the electronic device 600, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 640 may include a Display panel 641, and optionally, the Display panel 641 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch sensitive surface 631 may overlay the display panel 641, and when a touch operation is detected on or near the touch sensitive surface 631, the touch operation is transmitted to the processor 680 to determine the type of the touch event, and then the processor 680 provides a corresponding visual output on the display panel 641 according to the type of the touch event. Although in the figure the touch sensitive surface 631 and the display panel 641 implement input and output functions as two separate components, it will be appreciated that the touch sensitive surface 631 and the display panel 641 implement input and output functions integrally.
The electronic device 600 may also include at least one sensor 650, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 641 according to the brightness of ambient light, and a proximity sensor that may generate an interrupt when the folder is closed or closed. 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 can be configured in the electronic device 600, further description is omitted here.
Audio circuit 660, speaker 661, and microphone 662 can provide an audio interface between a user and electronic device 600. The audio circuit 660 may transmit the electrical signal converted from the received audio data to the speaker 661, and convert the electrical signal into an audio signal through the speaker 661 for output; on the other hand, the microphone 662 converts the collected sound signal into an electrical signal, which is received by the audio circuit 660 and converted into audio data, which is then processed by the audio data output processor 680 and then passed through the RF circuit 610 to be transmitted to, for example, another terminal, or output to the memory 620 for further processing. The audio circuit 660 may also include an earbud jack to provide communication of peripheral headphones with the electronic device 600.
The electronic device 600, via the transport module 670 (e.g., a Wi-Fi module), may assist the user in receiving requests, sending information, etc., which provides the user with wireless broadband internet access. Although the transmission module 670 is illustrated, it is understood that it does not belong to the essential constitution of the electronic device 600 and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 680 is a control center of the electronic device 600, connects various parts of the entire cellular phone using various interfaces and lines, and performs various functions of the electronic device 600 and processes data by operating or executing software programs and/or modules stored in the memory 620 and calling data stored in the memory 620, thereby integrally monitoring the electronic device. Optionally, processor 680 may include one or more processing cores; in some embodiments, processor 680 may integrate an application processor, which handles primarily the operating system, user interface, applications, etc., and a modem processor, which handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 680.
Electronic device 600 also includes a power supply 690 (e.g., a battery) that provides power to the various components, and in some embodiments may be logically coupled to processor 680 via a power management system that may perform functions such as managing charging, discharging, and power consumption. The power supply 690 may also include any component including one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown, the electronic device 600 further includes a camera (e.g., a front camera, a rear camera), a bluetooth module, and the like, which are not described in detail herein. Specifically, in this embodiment, the display unit of the electronic device is a touch screen display, the electronic device 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 a plurality of controls on a radio frequency debugging interface, wherein the controls comprise a plurality of adjusting controls which are in one-to-one correspondence with a plurality of test points, and the test points correspond to different time points in a rising edge and a falling edge of a radio frequency power time curve of a terminal to be tested;
and triggering each adjusting control through simulation, debugging the configuration value corresponding to each adjusting control, wherein the configuration value corresponding to the adjusting control is used for configuring the radio frequency power of the terminal to be tested at the testing point corresponding to the adjusting control.
In specific implementation, the above modules may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and specific implementation of the above modules may refer to the foregoing method embodiments, which 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, an embodiment of the present invention provides a storage medium, in which a plurality of instructions are stored, where the instructions can be loaded by a processor to execute the steps of any embodiment of the radio frequency debugging method provided in the embodiment of the present invention.
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 may execute the steps in any embodiment of the radio frequency debugging method provided in the embodiment of the present invention, beneficial effects that any radio frequency debugging method provided in the embodiment of the present invention can achieve may be achieved, which are detailed in the foregoing embodiments and will not be described herein again.
The radio frequency debugging method, the radio frequency debugging device, the storage medium and the electronic device provided by the embodiments of the present application are introduced in detail, and a specific example is applied in the present application to explain the principle and the implementation of the present application, and the description of the above embodiments is only used to help understanding the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A radio frequency debugging method is characterized by comprising the following steps:
acquiring process information on electronic equipment, and detecting whether a process corresponding to a preset application program exists in the process information, wherein the preset application program comprises a radio frequency debugging interface;
if so, acquiring a window handle of a current interface of the preset application program;
if the acquired window handle corresponds to a window handle corresponding to a radio frequency debugging interface, determining that the current interface of the preset application program is the radio frequency debugging interface;
acquiring a plurality of controls on a radio frequency debugging interface, wherein the controls comprise a plurality of adjusting controls which are in one-to-one correspondence with a plurality of test points, and the test points correspond to different time points in a rising edge and a falling edge of a radio frequency power time curve of a terminal to be tested;
triggering each adjusting control through simulation, debugging a configuration value corresponding to each adjusting control, wherein the configuration value corresponding to each adjusting control is used for configuring the radio frequency power of the terminal to be tested at a testing point corresponding to the adjusting control;
the step of triggering each adjusting control through simulation and debugging the configuration value corresponding to each adjusting control comprises the following steps: and sending a key command event to the radio frequency debugging interface to simulate and trigger each adjusting control, and modifying the configuration value corresponding to each adjusting control so as to debug the configuration value corresponding to each adjusting control.
2. The radio frequency debugging method of claim 1, wherein the triggering each adjustment control through simulation to debug the configuration value corresponding to each adjustment control comprises:
acquiring initial configuration values corresponding to a plurality of test points in the rising edge and the falling edge of the radio frequency power time curve, taking one test point as a current test point, and taking the initial configuration value corresponding to the current test point as a current configuration value;
and triggering an adjusting control corresponding to the current test point through simulation, debugging the current configuration value corresponding to the adjusting control to obtain a debugging configuration value corresponding to the current test point, so as to complete debugging of the configuration value of the current test point until the debugging of the configuration values of the plurality of test points of the radio frequency power time curve is completed.
3. The radio frequency debugging method of claim 2, wherein the triggering an adjustment control corresponding to the current test point through simulation to debug the current configuration value corresponding to the adjustment control to obtain the debugging configuration value corresponding to the current test point comprises:
acquiring a switch spectrum margin and a power time template margin corresponding to a current debugging value, wherein the current debugging value is the current configuration value when the adjusting control starts debugging;
judging whether the switch spectrum allowance and the power time template allowance meet preset conditions or not;
and if so, taking the current debugging value as a debugging configuration value corresponding to the current test point.
4. The radio frequency debugging method of claim 3, wherein the controls further comprise a transmission control and a stop control, and the obtaining of the switch spectrum margin and the power time template margin corresponding to the current debugging value comprises:
sending a transmitting control instruction to the transmitting control to trigger the transmitting control, so that the terminal to be tested transmits a radio frequency signal according to the current debugging value;
acquiring a switch spectrum allowance and a power time template allowance corresponding to the radio frequency signal;
and sending a stop control instruction to the stop control to trigger the stop control so that the terminal to be tested stops transmitting the radio frequency signal.
5. The radio frequency debugging method of claim 3, further comprising:
if the switch spectrum margin and the power time template margin do not meet the preset condition, sending a fine adjustment instruction to an adjustment control corresponding to the current test point so as to debug the current debugging value according to the fine adjustment instruction;
obtaining the current debugging value corresponding to the debugged switch spectrum allowance and the debugged power time template allowance when the preset conditions are met, or obtaining the optimized last current debugging value by the switch spectrum allowance and the power time template allowance;
and taking the obtained current debugging value as a debugging configuration value corresponding to the current test point.
6. The radio frequency debugging method of claim 5, wherein the sending a fine tuning instruction to the tuning control corresponding to the current test point to debug the current debugging value according to the fine tuning instruction comprises:
sending a fine tuning instruction to an adjusting control corresponding to the current test point so as to perform fine tuning on the current debugging value according to the fine tuning instruction, and obtaining the fine-tuned current debugging value;
obtaining the switch spectrum allowance and the power time template allowance of the current debugging value after fine adjustment;
judging whether the trimmed switch spectrum allowance and the trimmed power time template allowance are optimized or not;
if the finely adjusted switch spectrum allowance and power time template allowance are optimized, judging whether the switch spectrum allowance and the power time template allowance meet preset conditions or not;
if so, taking the current debugging value as a debugging configuration value corresponding to the current testing point;
if not, continuously fine-tuning the current debugging value in the same direction until the switch spectrum allowance and the power time template allowance meet preset conditions or the fine-tuned switch spectrum allowance and the power time template allowance are not optimized any more;
and if the finely tuned switch spectrum allowance and power time template allowance are deteriorated, finely tuning the current debugging value in the opposite direction until the switch spectrum allowance and the power time template allowance meet preset conditions or the finely tuned switch spectrum allowance and power time template allowance are not optimized.
7. The radio frequency debugging method of claim 6, wherein the sending of the fine tuning instruction to the adjustment control corresponding to the current test point comprises:
detecting whether the current test point is the test point corresponding to the rising edge or the test point corresponding to the falling edge;
if the current test point is the test point corresponding to the rising edge, sending an incremental fine adjustment instruction to an adjustment control corresponding to the current test point;
and if the current test point is the test point corresponding to the falling edge, sending a decreasing fine adjustment instruction to the adjustment control corresponding to the current test point.
8. A radio frequency commissioning apparatus, comprising:
the control acquiring unit is used for acquiring process information on the electronic equipment and detecting whether a process corresponding to a preset application program exists in the process information, wherein the preset application program comprises a radio frequency debugging interface; if so, acquiring a window handle of a current interface of the preset application program; if the acquired window handle corresponds to a window handle corresponding to a radio frequency debugging interface, determining that the current interface of the preset application program is the radio frequency debugging interface; acquiring a plurality of controls on a radio frequency debugging interface, wherein the controls comprise a plurality of adjusting controls which are in one-to-one correspondence with a plurality of test points, and the test points correspond to different time points in a rising edge and a falling edge of a radio frequency power time curve of a terminal to be tested;
and the debugging unit is used for sending a key command event to the radio frequency debugging interface to simulate and trigger each adjusting control, modifying the configuration value corresponding to each adjusting control to debug the configuration value corresponding to each adjusting control, and the configuration value corresponding to the adjusting control is used for configuring the radio frequency power of the terminal to be tested at the testing point corresponding to the adjusting control.
9. A computer-readable storage medium having stored thereon a plurality of instructions adapted to be loaded by a processor to perform the radio frequency commissioning method of any one of claims 1 to 7.
10. An electronic device comprising a processor and a memory, wherein the processor is electrically connected to the memory, wherein the memory is used for storing instructions and data, and wherein the processor is used for executing the steps of the radio frequency debugging method according to any one of claims 1 to 7.
CN202010457307.XA 2020-05-26 2020-05-26 Radio frequency debugging method and device, storage medium and electronic equipment Active CN111651310B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010457307.XA CN111651310B (en) 2020-05-26 2020-05-26 Radio frequency debugging method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010457307.XA CN111651310B (en) 2020-05-26 2020-05-26 Radio frequency debugging method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN111651310A CN111651310A (en) 2020-09-11
CN111651310B true CN111651310B (en) 2023-04-07

Family

ID=72343036

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010457307.XA Active CN111651310B (en) 2020-05-26 2020-05-26 Radio frequency debugging method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN111651310B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109144864A (en) * 2018-08-13 2019-01-04 北京百度网讯科技有限公司 Method and device for test window

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1805313A (en) * 2005-11-21 2006-07-19 海信集团有限公司 Quick parallel radio frequency test system and test method for mobile terminals
CN101930397B (en) * 2010-04-22 2012-07-25 成都芯通科技股份有限公司 Implementation method of radio frequency module power amplification universal debugging interface
CN102404057B (en) * 2011-07-08 2013-10-02 展讯通信(上海)有限公司 Method for increasing radiation performance of radio-frequency emission part of Global System for Mobile Communications (GSM) terminal
CN102830298B (en) * 2012-07-27 2017-04-12 中兴通讯股份有限公司 Method and device for testing radio frequency index and wireless index of active antenna system
CN105611559B (en) * 2016-02-17 2019-02-12 Oppo广东移动通信有限公司 A kind of adjustment method and debugging system of terminal radio frequency

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109144864A (en) * 2018-08-13 2019-01-04 北京百度网讯科技有限公司 Method and device for test window

Also Published As

Publication number Publication date
CN111651310A (en) 2020-09-11

Similar Documents

Publication Publication Date Title
CN108268366B (en) Test case execution method and device
CN104516812A (en) Method and device for testing software
CN112311930A (en) Terminal testing method and device, storage medium and mobile terminal
CN107251536A (en) A kind of mobile terminal shows the method and mobile terminal of multiple application widgets
CN108073495B (en) Method and device for positioning crash reason of application program
CN106776301B (en) Subelement testing method and device
CN107908407B (en) Compiling method and device and terminal equipment
CN110830127B (en) Radio frequency parameter processing method and device, mobile terminal and storage medium
CN107066374B (en) Data processing method and mobile terminal
CN109245195A (en) The method, apparatus and storage device of mobile terminal and charging process
CN112199246B (en) Terminal test method and device, storage medium and mobile terminal
CN113868132A (en) Application program testing method and device, electronic equipment and storage medium
CN109062643A (en) A kind of display interface method of adjustment, device and terminal
CN111026457B (en) Hardware configuration method and device, storage medium and terminal equipment
CN104244448B (en) Reduce the method and system of data transmission delay
CN110730013B (en) Method for improving transmission stray and mobile terminal
CN111651310B (en) Radio frequency debugging method and device, storage medium and electronic equipment
WO2019101012A1 (en) Method and device for power calibration, and computer readable storage device
CN112415367B (en) Drive chip abnormality detection method, drive chip abnormality detection device, electronic device and readable storage medium
CN113076201B (en) Mutual exclusion checking method for task instruction and electronic equipment
CN113961380A (en) Cross-application repair method, device, equipment and storage medium
CN110849407A (en) Sensor testing method and device, storage medium and electronic equipment
CN111045742A (en) Card changing method and device of terminal equipment, storage medium and terminal equipment
CN105278967B (en) System updating method, device and system of mobile terminal
CN108491285A (en) Data guard method and Related product applied to testing for electrical equipment

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