Nothing Special   »   [go: up one dir, main page]

CN112469031A - Radio frequency parameter updating method, equipment, device and storage medium - Google Patents

Radio frequency parameter updating method, equipment, device and storage medium Download PDF

Info

Publication number
CN112469031A
CN112469031A CN202011336921.7A CN202011336921A CN112469031A CN 112469031 A CN112469031 A CN 112469031A CN 202011336921 A CN202011336921 A CN 202011336921A CN 112469031 A CN112469031 A CN 112469031A
Authority
CN
China
Prior art keywords
preset
radio frequency
parameters
frequency parameters
updating
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.)
Granted
Application number
CN202011336921.7A
Other languages
Chinese (zh)
Other versions
CN112469031B (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.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology 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 Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN202011336921.7A priority Critical patent/CN112469031B/en
Publication of CN112469031A publication Critical patent/CN112469031A/en
Application granted granted Critical
Publication of CN112469031B publication Critical patent/CN112469031B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4403Processor initialisation
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Transceivers (AREA)

Abstract

The invention discloses a method, equipment, a device and a storage medium for updating radio frequency parameters, wherein the method is applied to a terminal which is provided with a storage partition, the storage partition is internally provided with preset radio frequency parameters with preset groups, the preset radio frequency parameters with the preset groups are written into the preset storage partition after format conversion is carried out on the preset radio frequency parameters, when the startup of the terminal is detected, whether the preset storage partition is legal or not is determined, if the preset storage partition is legal, whether the radio frequency parameters need to be updated or not is determined through preset control conditions, and when the radio frequency parameters need to be updated, the preset radio frequency parameters are called from the preset storage partition so as to dynamically update the radio frequency parameters, so that the updating efficiency of the radio frequency parameters is improved.

Description

Radio frequency parameter updating method, equipment, device and storage medium
Technical Field
The present invention relates to the field of radio frequency technologies, and in particular, to a method, an apparatus, a device, and a storage medium for updating radio frequency parameters.
Background
At present, a group of radio frequency static parameters are required to be introduced into a communication terminal when the communication terminal is started for basic configuration of calibration and non-signaling test, most terminals based on a high-pass platform use a compressed file packet to realize the function, namely, the group of radio frequency parameters generate a compressed file packet and are downloaded to a partition of the terminal, the compressed file packet in the partition is set as the group of radio frequency static parameters when the terminal is started for the first time through full-erase downloading, but in the method, when the radio frequency static parameters are updated each time, the data of the partition of the terminal needs to be erased, so that the calibration parameters of the terminal are lost, and after the radio frequency static parameters are updated, the recalibration is required, so that repeated operation is performed for many times, resources and manpower are wasted, and the updating efficiency of the radio frequency static parameters is low.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a method, equipment, a device and a storage medium for updating radio frequency parameters, and aims to solve the technical problem that the updating efficiency of the radio frequency static parameters is low because the partition data of a terminal needs to be erased when the radio frequency static parameters are updated every time.
In order to achieve the above object, the present invention provides a method for updating radio frequency parameters, where the method for updating radio frequency parameters includes:
after format conversion is carried out on the preset radio frequency parameters of the preset group number, writing the preset radio frequency parameters into a preset storage partition;
when the terminal is detected to be started, determining whether the preset storage partition is legal or not;
if the preset storage partition is legal, determining whether the preset initial radio frequency parameters need to be updated or not through preset control conditions;
and when the preset initial radio frequency parameters need to be updated, calling the preset radio frequency parameters from the preset storage partition so as to dynamically update the preset initial radio frequency parameters.
Optionally, a basic version number is further set in the preset storage partition, where the basic version number corresponds to the preset group number of preset radio frequency parameters, and the step of determining whether the preset initial radio frequency parameters need to be updated according to a preset control condition includes:
determining whether a preset compiling time in the preset storage partition is consistent with a first compiling time, wherein the first compiling time is an updating time of the radio frequency parameters;
if the preset compiling time is consistent with the first compiling time, acquiring a radio frequency parameter to be updated so as to acquire a first version number corresponding to the radio frequency parameter to be updated, and determining whether the first version number is consistent with the basic version number;
and if the first version number is consistent with the basic version number, determining that the preset initial radio frequency parameter needs to be updated.
Optionally, the step of determining whether the first version number is consistent with the base version number includes:
if the first version number is not consistent with the basic version number, a first continuous starting instruction is obtained;
and starting the terminal according to the first startup continuing instruction.
Optionally, the step of determining whether the preset compiling time in the preset storage partition is consistent with the first compiling time includes:
in the preset storage partition, acquiring the preset compiling time and determining a preset identification file;
and acquiring the first compiling time from the preset identification file.
Optionally, the step of determining whether the preset compiling time in the storage partition is consistent with the first compiling time includes:
if the preset compiling time is inconsistent with the first compiling time, a second continuous starting-up instruction is obtained;
and starting the terminal according to the second startup continuing instruction.
Optionally, the preset radio frequency parameters of the preset group number include the preset initial radio frequency parameter, and the step of determining whether the preset storage partition is legal includes:
if the preset storage partition is illegal, a first storage partition is created;
writing the preset radio frequency parameters of the preset group number and the basic version number into the first storage partition;
and acquiring the preset initial radio frequency parameters from the preset radio frequency parameters of the preset group number, and sending an updating instruction to set the radio frequency parameters of the terminal as the preset initial radio frequency parameters.
Optionally, the step of calling the preset radio frequency parameter from the storage partition to dynamically update the preset initial radio frequency parameter includes:
acquiring radio frequency parameters to be updated, and acquiring target preset radio frequency parameters from preset radio frequency parameters of the preset group number according to the radio frequency parameters to be updated;
and sending an updating instruction to update the preset initial radio frequency parameter to the target preset radio frequency parameter.
In addition, to achieve the above object, the present invention further provides an apparatus for updating a radio frequency parameter, where the apparatus for updating a radio frequency parameter includes:
the format conversion module is used for performing format conversion on the preset radio frequency parameters with preset groups and writing the format converted radio frequency parameters into a preset storage partition;
the first judgment module is used for determining whether the preset storage partition is legal or not when the terminal is detected to be started;
the second judgment module is used for determining whether the preset initial radio frequency parameters need to be updated or not through preset control conditions if the preset storage partition is legal;
and the parameter updating module is used for calling the preset radio frequency parameters from the preset storage partition when the preset initial radio frequency parameters need to be updated so as to dynamically update the preset initial radio frequency parameters.
Optionally, the second determining module includes:
a first determining unit, configured to determine whether a preset compiling time in the preset storage partition is consistent with a first compiling time, where the first compiling time is an update time of the radio frequency parameter;
a second determining unit, configured to obtain a radio frequency parameter to be updated if the preset compiling time is consistent with the first compiling time, so as to obtain a first version number corresponding to the radio frequency parameter to be updated, and determine whether the first version number is consistent with the basic version number;
a first determining unit, configured to determine that the preset initial radio frequency parameter needs to be updated if the first version number is consistent with the basic version number.
Optionally, the radio frequency updating apparatus further includes:
the first obtaining unit is used for obtaining a first continuous starting instruction if the first version number is inconsistent with the basic version number;
and starting the terminal according to the first startup continuing instruction.
Optionally, the radio frequency updating apparatus further includes:
the second determining unit is used for acquiring the preset compiling time from the preset storage partition and determining a preset identification file;
and the second obtaining unit is used for obtaining the first compiling time from the preset identification file.
Optionally, the apparatus for updating radio frequency parameters further includes:
a third obtaining unit, configured to obtain a second startup continuation instruction if the preset compiling time is inconsistent with the first compiling time;
and starting the terminal according to the second startup continuing instruction.
Optionally, the apparatus for updating radio frequency parameters further includes:
the creating unit is used for creating a first storage partition if the preset storage partition is illegal;
a writing unit, configured to write the preset radio frequency parameters of the preset group number and the basic version number into the first storage partition;
and the first parameter updating unit is used for acquiring the preset initial radio frequency parameters from the preset group number of preset radio frequency parameters and sending an updating instruction so as to set the radio frequency parameters of the terminal as the preset initial radio frequency parameters.
Optionally, the apparatus for updating radio frequency parameters further includes:
a fourth obtaining unit, configured to obtain a radio frequency parameter to be updated, and obtain a target preset radio frequency parameter from the preset group number of preset radio frequency parameters according to the radio frequency parameter to be updated;
and the second parameter updating unit is used for sending an updating instruction so as to update the preset initial radio frequency parameter to the target preset radio frequency parameter.
Compared with the prior art that the updating efficiency of the radio frequency static parameters is low because the data of a terminal storage partition needs to be erased each time the radio frequency static parameters are updated, so that the calibration parameters of the terminal are lost, and the radio frequency static parameters need to be recalibrated after the radio frequency static parameters are updated, the updating method can write the radio frequency parameters into a preset storage partition after the radio frequency parameters are subjected to format conversion in batches, determine whether the preset storage partition is legal or not when the terminal is started, determine whether the preset initial radio frequency parameters need to be updated according to preset control conditions if the preset storage partition is legal, and call the preset radio frequency parameters from the preset storage partition when the preset initial radio frequency parameters need to be updated so as to dynamically update the preset initial radio frequency parameters and replace the original mode of replacing the whole storage partition data by a compressed file packet, and writing the radio frequency parameters into an update file in batch, calling the preset radio frequency parameters from the preset storage partition only by increasing the judgment condition for updating the radio frequency parameters each time, updating the initial radio frequency parameters, and avoiding loss of calibration parameters.
Drawings
FIG. 1 is a schematic diagram of a terminal \ device structure of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a first embodiment of a method for updating RF parameters according to the present invention;
fig. 3 is a detailed flowchart of step S30 in the first embodiment of the method for updating rf parameters according to the present invention;
FIG. 4 is a schematic diagram of an apparatus for updating RF parameters according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The terminal (also called terminal, equipment or terminal equipment) of the embodiment of the invention can be mobile terminal equipment with communication function, such as a smart phone, a watch and the like.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high speed RAM memory. The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein programs of an operating system, a network communication module, a user interface module, and an update method of radio frequency parameters.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call a program of the update method of the radio frequency parameter stored in the memory 1005, and the program of the update method of the radio frequency parameter implements the operation in the update method of the radio frequency parameter provided in the following embodiments when executed by the processor.
Based on the hardware structure of the device, the embodiment of the method for updating the radio frequency parameters is provided.
Referring to fig. 2 and 3, a first embodiment of the present invention provides a method for updating radio frequency parameters, where the method for updating radio frequency parameters includes steps S10-S40:
step S10, after format conversion is carried out on the preset radio frequency parameters with preset groups, writing the preset radio frequency parameters into a preset storage partition;
step S20, when the terminal is detected to be started, determining whether the preset storage partition is legal or not;
step S30, if the preset storage partition is legal, determining whether the preset initial radio frequency parameter needs to be updated according to preset control conditions;
step S40, when the preset initial rf parameter needs to be updated, the preset rf parameter is called from the preset storage partition, so as to dynamically update the preset initial rf parameter.
Specifically, in step S10, format conversion is performed on the preset radio frequency parameters of a preset number of groups, and then the converted preset radio frequency parameters are written into a preset storage partition;
in this embodiment, it should be noted that the radio frequency parameters include a frequency band, a frequency amplitude, a gain, an impedance, and the like, the update method of the radio frequency parameters is applied to a terminal, particularly a mobile terminal with a communication function, such as a mobile phone, a tablet computer, and the like, and the following description is given by taking the mobile phone as an application terminal, further, the terminal is provided with a storage partition and a signal converter, where the signal converter may be a modem. The storage partition is stored with preset radio frequency parameters, the preset radio frequency parameters can be multiple groups, and can be obtained by testing hardware equipment of the terminal through experiments, the terminal comprises multiple functions, a user can personally select preset options of different functions according to own preference or use habits, a group of optimal radio frequency parameters can be obtained through experiment tests according to possible combinations of all the preset options of all the functions and the preset options of different functions to serve as the preset radio frequency parameters, and when the user changes options of some functions, the radio frequency parameters need to be updated.
Step S20, when the terminal is detected to be started, determining whether the preset storage partition is legal or not;
and when detecting that the user starts the mobile phone, determining whether the preset storage partition is legal or not, wherein the purpose is to determine that the preset storage partition is not empty or is not damaged, and the operation is normal. Before the preset storage partition is determined to be legal, the preset storage partition needs to be detected, after a starting instruction triggered by a user is obtained, namely the user starts a mobile phone, whether the preset storage partition is damaged or is in an empty state or not is judged, and whether the preset storage partition is legal or not is determined.
Step S30, if the preset storage partition is legal, determining whether the preset initial radio frequency parameter needs to be updated according to preset control conditions;
if the storage partition is legal, determining whether a preset initial radio frequency parameter needs to be updated or not through a preset control condition, wherein the initial radio frequency parameter is a radio frequency parameter determined according to default setting options of each function when the mobile phone is produced, the preset control condition is a judgment condition, and determining whether the preset initial radio frequency parameter needs to be updated or not by comparing compiling time with a version number, wherein the compiling time comprises the preset compiling time stored in the storage partition and the updating time of the preset initial radio frequency parameter, and the version number comprises the basic version number and the version number in the modem. Whether the preset initial radio frequency parameters need to be updated or not can be determined through preset control conditions, so that the reading and writing times of the radio frequency parameters are reduced when the computer is started every time.
Determining whether the preset initial RF parameters need to be updated according to preset control conditions includes steps S31-S33:
step S31, determining whether a preset compiling time in the preset storage partition is consistent with a first compiling time, where the first compiling time is an updating time of the radio frequency parameter;
the preset storage partition is stored with a preset compiling time, the preset compiling time is an updating time of the preset initial radio frequency parameter obtained by the preset storage partition, namely, the modem records the updating time after updating the radio frequency parameter, namely, the first compiling time, the preset storage partition cannot immediately obtain the first compiling time after the modem is updated, when the mobile phone is restarted, namely, the mobile phone is started for the first time after updating the radio frequency parameter each time, the preset storage partition can update the first compiling time to determine whether the first compiling time is consistent with the second compiling time, wherein the preset storage partition is legal, namely, the preset storage partition is not empty or not damaged and operates normally, and the preset compiling time is the first compiling time stored by the preset storage partition, the first compilation time is a compilation time of the first version number.
Step S32, if the preset compiling time is consistent with the first compiling time, obtaining a radio frequency parameter to be updated so as to obtain a first version number corresponding to the radio frequency parameter to be updated, and determining whether the first version number is consistent with the basic version number;
if the first compiling time is not consistent with the second compiling time, it can be determined that the user starts the mobile phone for the first time after the radio frequency parameter is new, the preset compiling time is changed into the first compiling time, and a prerequisite judgment is performed through the compiling time, so as to determine whether the radio frequency parameter is updated by the modem after the user starts the mobile phone last time. After the preset compiling time is updated to the first compiling time, whether the first version number is consistent with the basic version number or not is determined, and whether the radio frequency parameter corresponding to the first version number is legal or not is determined, namely whether the radio frequency parameter is one group of preset radio frequency parameters in a preset group number or not is determined.
Step S33, if the first version number is consistent with the basic version number, determining that the preset initial rf parameter needs to be updated.
And if the first version number is consistent with the basic version number, determining that the radio frequency parameter to be updated corresponding to the first version number is legal, and determining that the preset initial radio frequency parameter needs to be updated.
After determining whether the first version number is consistent with the base version number, the method includes steps S34-S35:
step S34, if the first version number is not consistent with the basic version number, a first continuous starting instruction is obtained;
if the second version number is not consistent with the basic version number, it may be determined that the radio frequency parameter corresponding to the second version number is illegal, that is, not selected from a preset group of preset radio frequency parameters, and is not consistent with the preset radio frequency parameter, at this time, the radio frequency parameter is not updated, and if the illegal parameter is updated, the use of some functions of the mobile phone may be affected, so that the mobile phone needs to be recalibrated, and therefore, if the illegal parameter is the illegal radio frequency parameter, the preset initial radio frequency parameter is not updated.
And step S35, starting the terminal according to the first startup continuing instruction.
And after the fact that the second version number is illegal to one radio frequency parameter is determined, the radio frequency parameter does not need to be updated, the mobile phone is continuously started according to the starting instruction triggered by the user.
Before the determining whether the preset compilation time in the preset memory partition is consistent with the first compilation time, steps S36-S37 are included:
step S36, if the preset compiling time is inconsistent with the first compiling time, a second continued starting instruction is obtained;
if the first compiling time is consistent with the second compiling time, it is indicated that the starting of the mobile phone by the user is not the first starting after the radio frequency parameter is updated, and the radio frequency parameter is not updated by the modem when the user starts the mobile phone by triggering a starting instruction last time, so that the radio frequency parameter does not need to be updated.
And step S37, starting the terminal according to the second startup continuing instruction.
And if the radio frequency parameters do not need to be updated, continuing to start the mobile phone according to the starting instruction triggered by the user.
Before the determining whether the preset compilation time in the preset memory partition is consistent with the first compilation time, steps A1-A2 are included:
step A1, in the preset storage partition, acquiring the preset compiling time and determining a preset identification file;
a preset compiling time is stored in the preset storage partition, wherein the preset compiling time is the first compiling time acquired by the preset storage partition, namely, after the modem updates the radio frequency parameters, the modem records the update time, namely the first compiling time, the preset memory partition cannot immediately acquire the first compiling time after the modem is updated, and when the mobile phone is started again, that is, the preset memory partition can update the first compiling time only when the mobile phone is started for the first time after the radio frequency parameters are updated, the preset memory partition is provided with an identification file for storing the basic version number and the compiling time of the radio frequency parameter, after the first compiling time is obtained, determining a preset identification file from the preset storage partition, for example, storing storage location information or connection information.
Step a2, obtaining the first compiling time from the preset identification file.
And acquiring the second compiling time from the preset identification file so as to compare the first compiling time with the second compiling time and judge whether the first compiling time is consistent with the second compiling time.
Step S40, when the preset initial rf parameter needs to be updated, the preset rf parameter is called from the preset storage partition, so as to dynamically update the preset initial rf parameter.
And if the preset initial radio frequency parameters need to be updated, directly calling the preset radio frequency parameters from the preset storage partition, wherein the preset radio frequency parameters have multiple groups, and calling one group from the preset group number of preset radio frequency parameters according to updated radio frequency parameters so as to update the preset initial radio frequency parameters.
In this embodiment, a method for updating radio frequency parameters is provided, where radio frequency parameters are converted in batch in format and then written into a preset storage partition, when it is detected that a terminal is powered on, it is determined whether the preset storage partition is legal, if the preset storage partition is legal, it is determined whether a preset initial radio frequency parameter needs to be updated according to a preset control condition, when the preset initial radio frequency parameter needs to be updated, the preset radio frequency parameter is called from the preset storage partition to dynamically update the preset initial radio frequency parameter, and replace the original way of replacing the whole storage partition data with a compressed file packet, instead, the radio frequency parameters are written into an update file in batch, and by increasing a judgment condition for updating the radio frequency parameters, only the preset radio frequency parameters are called from the preset storage partition during each update, and the initial radio frequency parameters are updated, so that the loss of calibration parameters can not be caused, repeated calibration is not needed after the radio frequency parameters are updated, and the updating efficiency of the radio frequency parameters is improved.
On the basis of the above embodiment, another embodiment of the present invention is proposed, which is a step after step S20, and a refinement of step S40:
specifically, in step S20, after determining whether the preset storage partition is legal, the method includes steps B1-B3:
step B1, if the preset storage partition is illegal, a first storage partition is created;
if the preset storage partition is illegal, a storage partition, namely the first storage partition, needs to be created first, and if the preset storage partition is illegal, namely empty or damaged, the preset radio frequency parameter and the basic version number cannot be stored, so that the dynamic update of the preset initial radio frequency parameter cannot be performed, and therefore, when the preset storage partition is detected to be illegal, the first storage partition is automatically created.
Step B2, writing the preset radio frequency parameters of the preset group number and the basic version number into the first storage partition;
and writing the preset radio frequency parameters after the formats are converted in batches into the first storage subarea, and simultaneously writing the basic version number.
Step B3, obtaining the preset initial radio frequency parameters from the preset group number of preset radio frequency parameters, and sending an update instruction to set the radio frequency parameters of the terminal as the preset initial radio frequency parameters. And if the preset storage partition is illegal, a storage partition needs to be created, the preset radio frequency parameters of a preset group number are written into the created storage partition, and the preset initial parameters are determined from the preset radio frequency parameters. Sending the initial parameters to the modem, sending an updating instruction to the modem after acquiring the starting instruction triggered by a user, and setting the radio frequency parameters as the preset initial radio frequency parameters after the modem receives the updating instruction.
Step S40, when the preset initial rf parameters need to be updated, calling the preset rf parameters from the preset memory partition to dynamically update the preset initial rf parameters, including steps a1-a 2:
step A1, acquiring radio frequency parameters to be updated, and acquiring target preset radio frequency parameters from preset radio frequency parameters of the preset group number according to the radio frequency parameters to be updated;
if the second version number is consistent with the basic version number, it indicates that the radio frequency parameter corresponding to the second version number is legal, and the parameter to be updated may be change information that a modem determines which function options are changed by a user through obtaining an operation of the user on a mobile phone, and according to the change information, the radio frequency parameter to be updated and a version number corresponding to the parameter to be updated are determined, and if the second version number is consistent with the basic version number, the radio frequency parameter to be updated and the version number corresponding to the radio frequency parameter to be updated are obtained from the modem. And according to the parameters to be updated, determining target preset radio frequency parameters from the preset radio frequency parameters, wherein the target preset radio frequency parameters are one group in a preset group number, and calling a group of same parameters from the preset radio frequency parameters as the target preset radio frequency parameters according to the parameters to be updated acquired by the modem.
Step a2, sending an update instruction to update the preset initial rf parameter to the target preset rf parameter.
And reading the target preset radio frequency parameter from the preset storage partition, sending an updating instruction to the modem, and updating the preset initial radio frequency parameter to the target preset radio frequency parameter after the modem receives the updating instruction if the parameter to be updated is a legal parameter.
In this embodiment, when the preset initial rf parameter needs to be updated, a parameter to be updated is obtained from the modem, when it is determined that the rf parameter to be updated is legal, a target preset rf parameter is determined from the preset storage partition according to the parameter to be updated, the target preset rf parameter is called from the preset storage partition, and an update instruction is sent to the modem, after the modem receives the update instruction, the rf parameter is updated to the target preset rf parameter, and when the preset storage partition is illegal, a storage partition may be created and a plurality of sets of preset rf parameters corresponding to a basic version number may be written in batch, and the rf parameter is set as the initial rf parameter, and only the preset rf parameter is called from the preset storage partition every time without affecting calibration parameters, therefore, the calibration is not needed to be carried out again, the manual operation is reduced, and the manpower and the resources are saved.
Further, referring to fig. 4, a second embodiment of the present invention provides an apparatus for updating a radio frequency parameter, where the apparatus for updating a radio frequency parameter includes:
the format conversion module 10 is configured to perform format conversion on the preset radio frequency parameters of a preset group number and write the format converted radio frequency parameters into a preset storage partition;
the first judging module 20 is configured to determine whether the preset storage partition is legal or not when the terminal is detected to be powered on;
a second determining module 30, configured to determine whether the preset initial radio frequency parameter needs to be updated according to a preset control condition if the preset storage partition is legal;
a parameter updating module 40, configured to, when the preset initial radio frequency parameter needs to be updated, invoke the preset radio frequency parameter from the preset storage partition, so as to dynamically update the preset initial radio frequency parameter.
Optionally, the second determining module includes:
a first determining unit, configured to determine whether a preset compiling time in the preset storage partition is consistent with a first compiling time, where the first compiling time is an update time of the radio frequency parameter;
a second determining unit, configured to obtain a radio frequency parameter to be updated if the preset compiling time is consistent with the first compiling time, so as to obtain a first version number corresponding to the radio frequency parameter to be updated, and determine whether the first version number is consistent with the basic version number;
a first determining unit, configured to determine that the preset initial radio frequency parameter needs to be updated if the first version number is consistent with the basic version number.
Optionally, the radio frequency updating apparatus further includes:
the first obtaining unit is used for obtaining a first continuous starting instruction if the first version number is inconsistent with the basic version number;
and starting the terminal according to the first startup continuing instruction.
Optionally, the radio frequency updating apparatus further includes:
the second determining unit is used for acquiring the preset compiling time from the preset storage partition and determining a preset identification file;
and the second obtaining unit is used for obtaining the first compiling time from the preset identification file.
Optionally, the apparatus for updating radio frequency parameters further includes:
a third obtaining unit, configured to obtain a second startup continuation instruction if the preset compiling time is inconsistent with the first compiling time;
and starting the terminal according to the second startup continuing instruction.
Optionally, the apparatus for updating radio frequency parameters further includes:
the creating unit is used for creating a first storage partition if the preset storage partition is illegal;
a writing unit, configured to write the preset radio frequency parameters of the preset group number and the basic version number into the first storage partition;
and the first parameter updating unit is used for acquiring the preset initial radio frequency parameters from the preset group number of preset radio frequency parameters and sending an updating instruction so as to set the radio frequency parameters of the terminal as the preset initial radio frequency parameters.
Optionally, the apparatus for updating radio frequency parameters further includes:
a fourth obtaining unit, configured to obtain a radio frequency parameter to be updated, and obtain a target preset radio frequency parameter from the preset group number of preset radio frequency parameters according to the radio frequency parameter to be updated;
and the second parameter updating unit is used for sending an updating instruction so as to update the preset initial radio frequency parameter to the target preset radio frequency parameter.
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 system 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 system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
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 solution of the present invention 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) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A radio frequency parameter updating method is applied to a terminal, the terminal is provided with a storage partition, preset radio frequency parameters with preset groups are set in the storage partition, and the radio frequency parameter updating method comprises the following steps:
after format conversion is carried out on the preset radio frequency parameters of the preset group number, writing the preset radio frequency parameters into a preset storage partition;
when the terminal is detected to be started, determining whether the preset storage partition is legal or not;
if the preset storage partition is legal, determining whether the preset initial radio frequency parameters need to be updated or not through preset control conditions;
and when the preset initial radio frequency parameters need to be updated, calling the preset radio frequency parameters from the preset storage partition so as to dynamically update the preset initial radio frequency parameters.
2. The method for updating rf parameters according to claim 1, wherein the preset storage partition is further configured with a basic version number, the basic version number corresponds to the preset set of number of preset rf parameters, and the step of determining whether the preset initial rf parameters need to be updated according to preset control conditions includes:
determining whether a preset compiling time in the preset storage partition is consistent with a first compiling time, wherein the first compiling time is an updating time of the radio frequency parameters;
if the preset compiling time is consistent with the first compiling time, acquiring a radio frequency parameter to be updated so as to acquire a first version number corresponding to the radio frequency parameter to be updated, and determining whether the first version number is consistent with the basic version number;
and if the first version number is consistent with the basic version number, determining that the preset initial radio frequency parameter needs to be updated.
3. The method for updating radio frequency parameters according to claim 2, wherein the step of determining whether the first version number is consistent with the base version number comprises:
if the first version number is not consistent with the basic version number, a first continuous starting instruction is obtained;
and starting the terminal according to the first startup continuing instruction.
4. The method for updating rf parameters of claim 2, wherein the step of determining whether the pre-set compiling time in the pre-set memory partition is consistent with the first compiling time comprises:
in the preset storage partition, acquiring the preset compiling time and determining a preset identification file;
and acquiring the first compiling time from the preset identification file.
5. The method for updating radio frequency parameters according to claim 2, wherein the step of determining whether the preset compiling time in the memory partition is consistent with the first compiling time comprises:
if the preset compiling time is inconsistent with the first compiling time, a second continuous starting-up instruction is obtained;
and starting the terminal according to the second startup continuing instruction.
6. The method for updating rf parameters of claim 1, wherein the predetermined set of predetermined rf parameters includes the predetermined initial rf parameters, and the step of determining whether the predetermined memory partition is legal comprises:
if the preset storage partition is illegal, a first storage partition is created;
writing the preset radio frequency parameters of the preset group number and the basic version number into the first storage partition;
and acquiring the preset initial radio frequency parameters from the preset radio frequency parameters of the preset group number, and sending an updating instruction to set the radio frequency parameters of the terminal as the preset initial radio frequency parameters.
7. The method for updating rf parameters according to claim 1, wherein the step of calling the preset rf parameters from the memory partition to dynamically update the preset initial rf parameters comprises:
acquiring radio frequency parameters to be updated, and acquiring target preset radio frequency parameters from preset radio frequency parameters of the preset group number according to the radio frequency parameters to be updated;
and sending an updating instruction to update the preset initial radio frequency parameter to the target preset radio frequency parameter.
8. An apparatus for updating radio frequency parameters, comprising:
the format conversion module is used for performing format conversion on the preset radio frequency parameters with preset groups and writing the format converted radio frequency parameters into a preset storage partition;
the first judgment module is used for determining whether the preset storage partition is legal or not when the terminal is detected to be started;
the second judgment module is used for determining whether the preset initial radio frequency parameters need to be updated or not through preset control conditions if the preset storage partition is legal;
and the parameter updating module is used for calling the preset radio frequency parameters from the preset storage partition when the preset initial radio frequency parameters need to be updated so as to dynamically update the preset initial radio frequency parameters.
9. An apparatus for updating radio frequency parameters, comprising: a memory, a processor and a program stored on the memory for implementing the method for updating radio frequency parameters, the processor being configured to execute the program for implementing the method for updating radio frequency parameters to implement the steps of the method for updating radio frequency parameters according to any one of claims 1 to 7.
10. A storage medium having stored thereon a program for implementing an updating method of radio frequency parameters, the program being executed by a processor to implement the steps of the updating method of radio frequency parameters according to any one of claims 1 to 7.
CN202011336921.7A 2020-11-24 2020-11-24 Method, device, apparatus and storage medium for updating radio frequency parameters Active CN112469031B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011336921.7A CN112469031B (en) 2020-11-24 2020-11-24 Method, device, apparatus and storage medium for updating radio frequency parameters

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011336921.7A CN112469031B (en) 2020-11-24 2020-11-24 Method, device, apparatus and storage medium for updating radio frequency parameters

Publications (2)

Publication Number Publication Date
CN112469031A true CN112469031A (en) 2021-03-09
CN112469031B CN112469031B (en) 2023-11-07

Family

ID=74798411

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011336921.7A Active CN112469031B (en) 2020-11-24 2020-11-24 Method, device, apparatus and storage medium for updating radio frequency parameters

Country Status (1)

Country Link
CN (1) CN112469031B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461667A (en) * 2014-12-31 2015-03-25 广东欧珀移动通信有限公司 Root method and device for intelligent terminal
CN105574024A (en) * 2014-10-14 2016-05-11 中兴通讯股份有限公司 Non-volatile item storage method and apparatus
CN105740024A (en) * 2016-02-02 2016-07-06 广东欧珀移动通信有限公司 Terminal running method and apparatus
CN105898772A (en) * 2015-12-14 2016-08-24 乐视移动智能信息技术(北京)有限公司 Air-upgrade method for communication configuration of mobile terminal and mobile terminal
CN106102086A (en) * 2016-05-30 2016-11-09 努比亚技术有限公司 Data processing equipment and method
CN106789164A (en) * 2016-11-24 2017-05-31 努比亚技术有限公司 A kind of network parameter update method, the network equipment and mobile terminal
CN107222341A (en) * 2017-05-27 2017-09-29 上海创功通讯技术有限公司 The method and electronic equipment updated for radio frequency protocol parameter
CN109462446A (en) * 2019-01-10 2019-03-12 Oppo广东移动通信有限公司 A kind of RF calibration method, apparatus and computer readable storage medium
CN109739542A (en) * 2018-12-11 2019-05-10 成都智慧海派科技有限公司 A kind of method of high-pass platform nv parameter upgrading
CN110830127A (en) * 2019-10-29 2020-02-21 惠州Tcl移动通信有限公司 Radio frequency parameter processing method and device, mobile terminal and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105574024A (en) * 2014-10-14 2016-05-11 中兴通讯股份有限公司 Non-volatile item storage method and apparatus
CN104461667A (en) * 2014-12-31 2015-03-25 广东欧珀移动通信有限公司 Root method and device for intelligent terminal
CN105898772A (en) * 2015-12-14 2016-08-24 乐视移动智能信息技术(北京)有限公司 Air-upgrade method for communication configuration of mobile terminal and mobile terminal
CN105740024A (en) * 2016-02-02 2016-07-06 广东欧珀移动通信有限公司 Terminal running method and apparatus
CN106102086A (en) * 2016-05-30 2016-11-09 努比亚技术有限公司 Data processing equipment and method
CN106789164A (en) * 2016-11-24 2017-05-31 努比亚技术有限公司 A kind of network parameter update method, the network equipment and mobile terminal
CN107222341A (en) * 2017-05-27 2017-09-29 上海创功通讯技术有限公司 The method and electronic equipment updated for radio frequency protocol parameter
CN109739542A (en) * 2018-12-11 2019-05-10 成都智慧海派科技有限公司 A kind of method of high-pass platform nv parameter upgrading
CN109462446A (en) * 2019-01-10 2019-03-12 Oppo广东移动通信有限公司 A kind of RF calibration method, apparatus and computer readable storage medium
CN110830127A (en) * 2019-10-29 2020-02-21 惠州Tcl移动通信有限公司 Radio frequency parameter processing method and device, mobile terminal and storage medium

Also Published As

Publication number Publication date
CN112469031B (en) 2023-11-07

Similar Documents

Publication Publication Date Title
US9703542B2 (en) Preinstalled application management method for mobile terminal and mobile terminal
US7657884B2 (en) Electronic device supporting multiple update agents
KR100611537B1 (en) Server processing for updating dataset versions resident on a wireless device
US20090133014A1 (en) Methods, apparatuses and computer program product for automatic download of software dependencies on installation
CN111158738B (en) Headset firmware upgrading method and device and readable storage medium
EP1597668A2 (en) Electronic device supporting multiple update agents
CN110750286B (en) Management method, device, system, equipment and medium for upgrading Mbn through OTA
WO2004111845A1 (en) Controlling settings for mobile telecommunications apparatus
CN111290773A (en) System upgrading method, device and readable storage medium
CN112202920A (en) Vehicle machine system upgrading method and device
KR100974662B1 (en) Mobile commuication terminal and method for updating firmware thereof
CN112469031A (en) Radio frequency parameter updating method, equipment, device and storage medium
CN110764819B (en) RF Card client method and system for communication terminal
CN112631669A (en) Method, device, computer equipment and medium for starting embedded system
CN110321172B (en) Partition identification method, device, equipment and storage medium for network block equipment
CN110647433A (en) Function self-checking method and device and computer readable storage medium
CN110764809A (en) OTA APN upgrading method, device, equipment and medium
CN117235017A (en) Data upgrading method, device, equipment and storage medium
US6513075B1 (en) Method for preserving data through a processor softboot
KR100559710B1 (en) System And Method For Testing BlueTooth
CN109657455B (en) Application real-time switching method, device, storage medium and apparatus
CN113849198A (en) Method, device, equipment and medium for uninstalling application program
CN111522564A (en) Method and device for identifying system upgrading state and computer readable storage medium
CN108664259B (en) Method and terminal for installing application
EP1892620A1 (en) Auditing application activities

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