CN110209529A - The guard method of radio frequency parameter and electronic equipment - Google Patents
The guard method of radio frequency parameter and electronic equipment Download PDFInfo
- Publication number
- CN110209529A CN110209529A CN201910356103.4A CN201910356103A CN110209529A CN 110209529 A CN110209529 A CN 110209529A CN 201910356103 A CN201910356103 A CN 201910356103A CN 110209529 A CN110209529 A CN 110209529A
- Authority
- CN
- China
- Prior art keywords
- radio frequency
- frequency parameter
- backup
- subregion
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1458—Management of the backup or restore process
- G06F11/1469—Backup restoration techniques
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention provides a kind of guard method of radio frequency parameter and electronic equipments.The guard method of radio frequency parameter includes: to obtain the backup list comprising one or more radio frequency parameter type files;Obtain the target radio frequency supplemental characteristic that each radio frequency parameter type file is included in one or more radio frequency parameter type files that the backup list includes;The backup list and the target radio frequency supplemental characteristic are backed up to backup subregion by control;When receiving recovery request, control will be in the target radio frequency parameter for including in backup subregion write-in radio frequency parameter subregion.Backup Data in backup subregion can be by being restored the stability for being conducive to raising system to radio frequency parameter subregion by the present invention.
Description
Technical field
The present invention relates to fields of communication technology, and in particular to a kind of guard method of radio frequency parameter and electronic equipment.
Background technique
The radio frequency parameter of communication module stores RF (Radio Frequency, radio frequency) parameter, MAC (Media Access
Control Address, media access control address), IMEI (International Mobile Equipment
Identity, international mobile equipment identification number) etc. information.Radio frequency parameter may include static radio frequency parameter and dynamic radio frequency parameter,
Wherein, static radio frequency parameter is customized by developer, the static radio frequency parameter of each communication module be it is identical, move
State radio frequency parameter is generated after being calibrated by instrument to communication module after burning static state radio frequency parameter, thus, often
The dynamic parameter of one communication module is possibly different from.
These radio frequency parameters will not be lost under normal circumstances, however, when system exception power down, it will probabilityly
There is the damage of radio frequency parameter, and then lead to the exception of the communication function of equipment (such as mobile phone), paralysis situation, reduces system
Stability.
Summary of the invention
The embodiment of the invention provides a kind of guard method of radio frequency parameter and electronic equipments, and the stabilization of system can be improved
Property.
First aspect of the embodiment of the present invention provides a kind of guard method of radio frequency parameter, comprising:
Obtain the backup list comprising one or more radio frequency parameter type files;
Obtain each radio frequency parameter type text in one or more radio frequency parameter type files that the backup list includes
The target radio frequency supplemental characteristic that part is included;
The backup list and the target radio frequency supplemental characteristic are backed up to backup subregion by control;
When receiving recovery request, radio frequency parameter is written in the target radio frequency parameter for including in the backup subregion by control
In subregion.
Second aspect of the embodiment of the present invention provides a kind of communication module, comprising:
Memory, including radio frequency parameter subregion and backup subregion, the radio frequency parameter partitioned storage have stored up one or more
Radio frequency parameter data;
Processor, is connected to the memory, and the processor is penetrated according to the one or more stored in the memory
Frequency supplemental characteristic obtains the backup list comprising one or more radio frequency parameter type files;The processor determines one
Or each included target radio frequency supplemental characteristic of radio frequency parameter type file in multiple radio frequency parameter type files, and control institute
It states backup list and the target radio frequency supplemental characteristic backs up to the backup subregion;The processor is also asked receiving recovery
When asking control by the target radio frequency parameter for including in the backup subregion write described in enter radio frequency parameter subregion in.
Compared with the existing technology, the guard method of above-mentioned radio frequency parameter and electronic equipment pass through the static state according to electronic equipment
After radio frequency parameter information and dynamic radio frequency parameter information generate backup list, mesh corresponding to the index value that includes by backup list
Mark radio frequency parameter data are stored in backup subregion, in this way, when needing to execute recovery operation to radio frequency parameter subregion, it is convenient to
The Backup Data in backup subregion is read to complete recovery operation, is so conducive to the stability of raising system.Even if repeatedly
In the case where power down, system still be can work normally.When communication module occurs abnormal, machine can be restored with automatic trigger
System, guarantees the stability of communication function.To which maintenance cost be greatly saved, while increasing customer experience.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is the process step figure of the guard method of radio frequency parameter in one embodiment of the application.
Fig. 2 is the schematic diagram of the storage organization of backup list in radio frequency parameter subregion in one embodiment of the application.
Fig. 3 is the storage organization schematic diagram of backup subregion in one embodiment of the application.
Fig. 4 is the schematic diagram of the storage organization of the data combination of one embodiment backup nonvolatile type of the application.
Fig. 5 is the schematic diagram of the storage organization of the data combination of one embodiment backup encrypted file system type of the application.
Fig. 6 is the step flow chart that radio frequency parameter partition recovery operates in one embodiment of the application.
Fig. 7 is the step flow chart of the guard method of radio frequency parameter in one embodiment of the application.
Fig. 8 is the hardware block diagram of electronic equipment in one embodiment of the application.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Description and claims of this specification and term " first " in above-mentioned attached drawing, " second " etc. are for distinguishing
Different objects, are not use to describe a particular order.In addition, term " includes " and " having " and their any deformations, it is intended that
It is to cover and non-exclusive includes.Such as the process, method, system, product or equipment for containing a series of steps or units do not have
It is defined in listed step or unit, but optionally further comprising the step of not listing or unit, or optionally also wrap
Include other step or units intrinsic for these process, methods, product or equipment.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments
Containing at least one embodiment of the present invention.Each position in the description occur the phrase might not each mean it is identical
Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and
Implicitly understand, embodiment described herein can be combined with other embodiments.
Referring to Fig. 1, showing the process step figure of the guard method of radio frequency parameter in one embodiment of the application, the radio frequency
The guard method of parameter includes the following steps:
Step 100, the backup list comprising one or more radio frequency parameter type files is obtained.
In the present embodiment, electronic equipment includes communication module, and communication module is used to complete the various functions of electronic equipment, packet
It includes but is not limited to: communication function, for supporting GPRS and short message dual-channel transmission data;Support multicenter data communication;It adopts
Collect function, for acquiring serial equipment data, such as serial ports instrument, collector, PLC;Remote management capability, it is long-range for supporting
The operations such as parameter setting, program upgrading.
Communication module may include storage medium (such as Flash) and processor, and communication module may include depositing in storage medium
The independent partitions of radio frequency parameter are stored up, radio frequency parameter subregion is such as provided with, therefore, electronic equipment can there will be the static radio frequency before verifying
Dynamic radio frequency parameter information after parameter information and verification is stored in the radio frequency parameter subregion in communication module.Electronic equipment work
When making, the storage medium of communication module carries out carry usually in the form of file system.According to the difference of access mode, radio frequency ginseng
Number is further divided into NV (Non Volatile, non-volatile) and EFS (Encrypting File System, encryption file
System) item, wherein NV are expressed as (for example, NV index values can by the radio frequency parameter that positive integer index value is indexed
Can be the call number of the positive integers such as 3,5), EFS (examples are expressed as by the radio frequency parameter that file path index value is indexed
Such as, EFS index values may be/nv/item_files/a.txt or/nv/item_files/test.txt etc.).Therefore,
The type of radio frequency parameter in communication module can be divided into 4 kinds of radio frequency parameter types, be static non-volatile type (static NV respectively
Type), Dynamic Nonvolatile type (dynamic N V type), static encryption file system type (static EFS type) and dynamic plus
The radio frequency parameter type of close file system type (dynamic EFS type).
In the present embodiment, communication module can obtain static radio frequency parameter information and the dynamic being stored in radio frequency parameter subregion
Radio frequency parameter information, and backup list is generated according to static radio frequency parameter information and dynamic radio frequency parameter information.Wherein, mould is communicated
The dynamic radio frequency that the static radio frequency parameter information that block can will acquire is stored in file src.qcn, and can will acquire
Parameter information is stored in src_cal.qcn.By file src.qcn and file the src_cal.qcn index value for being included and
Radio frequency parameter data are relatively difficult to distinguish specific content, and therefore, file src.qcn can be converted to xml document (such as by communication module
Obtain src.xml), file src_cal.qcn can also be converted to xml document (such as obtaining src_cal.xml), in this way, electronics
Equipment can determine index value corresponding to the radio frequency parameter data specifically backed up according to the xml document after conversion.
In the present embodiment, communication module can carry out analysis according to the xml document after conversion and compare to obtain penetrating of being backed up
The index value of frequency supplemental characteristic, to generate corresponding backup list Config List.For example, communication module obtains src.xml text
The index value of the radio frequency parameter data for the static non-volatile type for including in static radio frequency parameter information in part, to generate first
Radio frequency parameter type file (such as obtains nv_dft_list file);Obtain the static encryption file system for including in src.xml file
The index value of the radio frequency parameter data for type of uniting (such as obtains efs_dft_list text to generate the second radio frequency parameter type file
Part);The index value of the radio frequency parameter data for the Dynamic Nonvolatile type for including is obtained in src_cal.xml file, with life
At third radio frequency parameter type file (such as obtaining nv_cal_list file);Obtain the dynamic for including in src_cal.xml file
The index value of the radio frequency parameter data of encrypted file system type (such as obtains efs_ to generate the 4th radio frequency parameter type file
Cal_list file).
In this way, backup list confi_list may include 4 files, respectively nv_dft_list file, nv_cal_
List file, efs_dft_list file and efs_cal_list file.In other embodiments, user also can to electronic equipment into
Row setting, so that communication module obtains one or more of above-mentioned 4 files, each radio frequency parameter type file is included
Index value can also carry out it is customized.For example, the index value that nv_dft_list file includes may be 3,10,15 positive integer
Call number, if user define an archive index value be 3,10 positive integer call number static non-volatile type radio frequency
When supplemental characteristic, the call number of the positive integer of index value 3,10 also can be only stored in nv_dft_list file by electronic equipment.
In the present embodiment, for the integrality of the content of protection backup list, communication module can verify backup list,
With the backup list after being verified, in this way, it is subsequent read backup list again when, can be first standby to what is read according to check value
Part inventory carries out detection operation, and when the detection of backup list operation passes through, electronic equipment can obtain specific in backup list again
Content;When backup list detection operation not over when, electronic equipment then exportable prompt information to user.
Referring to Figure 2 together, it show the storage organization of backup list in radio frequency parameter subregion in one embodiment of the application
Schematic diagram.Since communication module can automatically verify the data of storage, communication module can be clear by obtained backup
Singly be stored in radio frequency parameter subregion, with by communication module to backup list carry out verification operation, wherein verification operation include but
It is not limited to CRC check (Cyclic Redundancy Check, cyclic redundancy check), in this way, containing backup list pair
The check code answered.As shown in Fig. 2, backup list is stored at the storage location where static encryption file system type.
Step 102, each radio frequency ginseng in one or more radio frequency parameter type files that the backup list includes is determined
Number the included target radio frequency supplemental characteristic of type file.
In the present embodiment, since the radio frequency parameter type file in backup list contains one or more index values, because
This, communication module determines the corresponding radio frequency parameter number of the index value according to the index value that each radio frequency parameter type file includes
According to for corresponding target radio frequency supplemental characteristic.For example, communication module can join according to the index value in backup list from static radio frequency
Radio frequency parameter data corresponding to index value are obtained in number information and dynamic radio frequency parameter information, to obtain each radio frequency parameter class
The target radio frequency supplemental characteristic that type file is included.In one embodiment, communication module can carry out detection operation to backup list,
CRC check operation is executed, such as to judge the correctness of backup list.When backup list is by detection operation, communication module is obtained
The index value for including in backup list is taken, and obtains index value institute from static radio frequency parameter information and dynamic radio frequency parameter information
Corresponding target radio frequency supplemental characteristic.
For example, when nv_dft_list storing data index value is 1,3,10, then it represents that static NV type needs standby
The radio frequency parameter data that part NV index value is 1,3,10;When the index value that efs_cal_list is is "/nv/item_files/
When a.txt ", "/nv/item_files/test.txt ", then it represents that it is "/nv/ that dynamic EFS type, which needs to back up file road,
The file of the file of item_files/a.txt " and "/nv/item_files/a.txt ".
Step 104, the backup list and the target radio frequency supplemental characteristic are backed up to backup subregion by control.
Also referring to Fig. 3, it show the storage organization schematic diagram of backup subregion in one embodiment of the application.Backup subregion
Including count section (Misc) and data store, wherein data store includes head child partition (Head) and data child partition.
Wherein, count section stores statistical information, and communication module is in the radio frequency parameter data pair using data store in backup subregion
When radio frequency parameter subregion is restored, electronic equipment can be to the statistical information of count section after the recovery for completing radio frequency parameter subregion
It is updated, for example, the statistical information of count section can add 1 when every radio frequency parameter data for restoring a radio frequency parameter subregion.
In the present embodiment, communication module when backup list and target radio frequency supplemental characteristic are backed up in backup subregion,
Electronic equipment target radio frequency supplemental characteristic according to corresponding to the index value and the index value that each radio frequency parameter type file includes
Corresponding data combination is generated, and controls and stores the combination of data corresponding to each radio frequency parameter type file to backup subregion
Data store in data child partition in.
Referring to Figure 4 together, it show the storage knot of the data combination of one embodiment backup nonvolatile type of the application
The schematic diagram of structure.The data combination of each nonvolatile type includes header fields (Head) and data field, wherein head word
Section includes that data effective field, index value field and data length field, data field store target radio frequency supplemental characteristic
Occurrence.It is " 1 ", indexes value field " 3 " and data length field as shown in figure 4, the data group of NV type is combined into effective field
" 6 ", data field are " abcdef ", i.e., the data group is combined into effective data combination, and corresponding index value is " 3 ", corresponding
Target radio frequency supplemental characteristic is " abcdef ", and the length of target radio frequency supplemental characteristic is 6.In the present embodiment, in communication module root
When obtaining corresponding target radio frequency supplemental characteristic according to index value, if the corresponding target radio frequency supplemental characteristic of the index value can be from static state
When radio frequency parameter information or dynamic radio frequency parameter information are found, the data where communication module setting index value in data combination have
Imitating field is " 1 ";If the corresponding target radio frequency supplemental characteristic of the index value can not be from static radio frequency parameter information or dynamic radio frequency
When parameter information is found, the data effective field where index value is arranged in communication module in data combination is " 0 ", in this way, passing through
The value of data effective field in data combination is believed come the static radio frequency parameter information or dynamic radio frequency parameter for judging communication module
Target radio frequency supplemental characteristic of the breath with the presence or absence of the corresponding index value.
Please refer to fig. 5, showing depositing for the data combination of one embodiment backup encrypted file system type of the application
The schematic diagram of storage structure.The data combination of each encrypted file system type includes header fields (Head), path field and number
According to field, wherein header fields include data effective field, data length field and path length field, data field storage
The path values of target radio frequency supplemental characteristic.As shown in figure 5, it is that " 1 ", data are long that the data group of EFS type, which is combined into effective field,
Field " 10 " and path field " 33 " are spent, data field is " Zxcvbnmasd ", and path field is "/nv/item_files/
Test.txt ", the i.e. data group are combined into effective data combination, and corresponding path is "/nv/item_files/test.txt "
And path length is " 33 ", corresponding target radio frequency supplemental characteristic is the length of " Zxcvbnmasd " and target radio frequency supplemental characteristic
It is 10.ESF type data combination effective field specifically value combined with the data of above-mentioned NV type in effective field is set
Method it is identical, therefore details are not described herein.
In the present embodiment, when communication module control stores the combination of data corresponding to each radio frequency parameter type to backup
After in data child partition in the data store of subregion, the data combination that communication module is stored according to data child partition updates standby
The content of head child partition in part subregion.In the present embodiment, the head child partition for backing up subregion stores each data combination and is depositing
Initial address and offset address etc. of position in storage media, including but not limited to the data combination in storage medium, in this way, side
Just communication module obtains the content of data combination according to the content of head child partition.In one embodiment, the head of subregion is backed up
Child partition further includes effectively identifying;When completing the backup of backup list and data combination, head child partition there can be criterion
Knowledge is set as effective.Electronic equipment also the data stored to data child partition can combine the verification for carrying out obtaining after verification operation
Value is stored in the child partition of head, to the complete of data combination before accessing so as to the data combination stored to data child partition
Property carries out detection operation.
Step 106, when receiving recovery request, control will include that the write-in of target radio frequency parameter is penetrated in the backup subregion
In frequency parameter subregion.
When the radio frequency parameter data in communication module in radio frequency parameter subregion have damage, electronic equipment may be affected
Communication function, at this point, communication module can receive recovery request, the backup list and target that will be stored in backup subregion
Radio frequency parameter restores to radio frequency parameter subregion.
Referring to Figure 6 together, it is shown the step flow chart that radio frequency parameter partition recovery operates in one embodiment of the application,
The steps included are as follows for the recovery operation process:
Step 600, whether detection backup subregion is effective;When backup subregion is effective, step 602 is executed;When backup subregion
When invalid, this process terminates.
In the present embodiment, when receiving recovery request, if backup subregion does not have Backup Data, radio frequency point can not be restored
Radio frequency parameter data in area, therefore, this process terminates or issues prompt information, to prompt user, and discharges resource, exits extensive
Multiple operation.
Step 602, storage medium (such as internal counter foil row initialization operation) is initialized, obtains head point of backup subregion
The data in area, and judge whether the data of head child partition are effective;When the data in the child partition of head are effective, such as head point
When being effectively identified as effective of area executes step 604;When the data invalid of head child partition, this process terminates or issues to mention
Show information, to prompt user, and discharges resource, exit recovery operation.
Step 604, the statistical information of count section in backup subregion is obtained.
When restoring to radio frequency parameter subregion, after completing to restore, communication module may be updated storing in backup subregion
Statistical information.
Step 606, the backup list and target radio frequency supplemental characteristic of data store storage in backup subregion are obtained.
Since data store stores backup list and target radio frequency supplemental characteristic in backup subregion, wherein target radio frequency
Supplemental characteristic includes the data combination of NV type and the data combination of EFS type, and therefore, communication module can be read in backup subregion
Backup list, NV type data combination EFS type data be incorporated into initialized memory.
Step 608, judge whether the data of the data child partition of backup subregion are effective;When the data child partition of backup subregion
Data it is effective when, execute step 610;When the data invalid of the data child partition of backup subregion, this process terminates.
In the present embodiment, due to being stored with the check value of data child partition in the head child partition of backup subregion, lead to
Letter module can carry out verification operation to data child partition to obtain new check value, and can be by new check value and head child partition
The check value of interior storage compares, and when the check value stored in new check value and head child partition is not identical, can determine whether
There is the possibility modified in the data of data child partition, at this point, terminating this process;When new check value and head child partition memory
When the check value of storage is identical, step 610 can be continued to execute.In one embodiment, due to the head of the data combination of each type
Field has data effective field, and it is the combination of effective data that data effective field in header fields, which may be selected, in electronic equipment, with
Obtain corresponding target radio frequency supplemental characteristic.
Step 610, control restores target radio frequency supplemental characteristic to radio frequency parameter subregion.
In the present embodiment, communication module can be combined the data of NV type in storage medium in the data combination of EFS type
Target radio frequency supplemental characteristic write-in radio frequency parameter subregion in, to complete the recovery operation of radio frequency parameter subregion.In an embodiment
In, communication module can be by the target in the data combination of the data combination EFS type of backup list, NV type in storage medium
Radio frequency parameter data are written in radio frequency parameter subregion, to complete the recovery operation of radio frequency parameter subregion, in this way, when need again to penetrating
When frequency parameter subregion executes backup, electronic equipment directly can obtain backup list from radio frequency parameter subregion, and according to acquiring
Backup list execute backup operation.
Step 612, judge whether the recovery operation of radio frequency parameter subregion succeeds;When radio frequency parameter subregion recovery operation at
When function, step 614 is executed;When the recovery operation of radio frequency parameter subregion failure, this process terminates.
In the present embodiment, penetrated when by the target in the data combination of the data combination of backup list, NV type and EFS type
After radio frequency parameter subregion is written in frequency supplemental characteristic, communication module can also to the backup list and target radio frequency supplemental characteristic of write-in with
Comparing and analyzing before write-in respectively, to determine whether the recovery operation of radio frequency parameter subregion succeeds.
Step 614, the statistical information of count section in backup subregion is updated.Such as when the recovery operation for completing radio frequency parameter subregion
Afterwards, the statistical information of count section in backup subregion can be increased by 1 by electronic equipment.
Step 616, resource when recovery operation is discharged.Releasably extensive after completing the recovery operation of radio frequency parameter subregion
The shared resource of multiple operating process, including but not limited to storage resource and computing resource etc..
The guard method of above-mentioned radio frequency parameter according to the static radio frequency parameter information and dynamic radio frequency of electronic equipment by joining
After number information generate backup lists, target radio frequency supplemental characteristic corresponding to index value that backup list includes is stored in backup
Subregion, in this way, when needing to execute recovery operation to radio frequency parameter subregion, it is convenient to read the Backup Data in backup subregion
It completes recovery operation, is so conducive to the stability of raising system.Even if system still can be in the case where power down repeatedly
It works normally.When communication module occurs abnormal, it can guarantee the stability of communication function with automatic trigger Restoration Mechanism.From
And maintenance cost is greatly saved, while increasing customer experience.
Referring to Fig. 7, showing the step flow chart of the guard method of radio frequency parameter in one embodiment of the application.The radio frequency
The guard method of parameter includes the following steps:
Step 700, the backup list comprising one or more radio frequency parameter type files is obtained.
In the present embodiment step 700 in above-described embodiment the step of step 100 it is identical, therefore details are not described herein.
Step 702, the backup list is imported the radio frequency parameter subregion by control.
Communication module can verify backup list, with the backup list after being verified, due to communication module can from
Dynamic to verify to the data of storage, therefore, obtained backup list can be stored in radio frequency parameter subregion by communication module, with
Verification operation is carried out to backup list by communication module, wherein verification operation includes but is not limited to CRC check (Cyclic
Redundancy Check cyclic redundancy check).
Step 704, it controls to the backup list after being verified after backup list execution verification operation.
After backup list is stored in radio frequency parameter subregion, communication module obtains after carrying out verification operation to backup list
Backup list after verification, i.e. backup list contain corresponding check code.
Step 706, it obtains comprising radio frequency parameter information corresponding to the radio frequency parameter subregion of backup list after verification, to obtain
To intermediate RF Parameter File.
Since the backup list after verification is stored in radio frequency parameter subregion, it, can to obtain the backup list after verification
Radio frequency parameter information corresponding to the radio frequency parameter subregion comprising backup list after verification that will acquire is stored in centre and penetrates
Frequency Parameter File (such as tmp.qcn).
Step 708, the backup list for including in intermediate RF Parameter File is obtained, and will be in intermediate RF Parameter File
Backup list imports in static radio frequency parameter information, to obtain target radio frequency Parameter File.
In the present embodiment, the backup list for including in intermediate RF Parameter File is added to static radio frequency and joined by communication module
In number information (such as src.qcn), to obtain target radio frequency Parameter File (release.qcn), in this way, other electronic equipments
(electronic equipment such as to be backed up) also can be calibrated and be completed according to target radio frequency Parameter File to back up.
Step 710, the target radio frequency Parameter File is written in electronic equipment to be backed up for control.
When needing that electronic equipment to be backed up is calibrated, backed up, need by target radio frequency Parameter File be written to
In the electronic equipment of backup, target radio frequency Parameter File is such as written to the storage medium of communication module in electronic equipment to be backed up
It is interior.
Step 712, it controls electronic equipment to be backed up and obtains the backup list after verification, and is clear according to the backup
It is single to obtain corresponding target radio frequency supplemental characteristic.
Due to having contained backup list in electronic equipment to be backed up, electronic equipment to be backed up can obtain school
Backup list after testing, later, electronic equipment to be backed up can obtain manipulative indexing value comprising index value according in backup list
Target radio frequency supplemental characteristic, including but not limited to static non-volatile type (static NV type), Dynamic Nonvolatile type
(dynamic N V type), static encryption file system type (static EFS type) and dynamic encryption file system type (dynamic EFS
Type) radio frequency parameter type target radio frequency supplemental characteristic.In the present embodiment, due to having included in target radio frequency Parameter File
Static radio frequency parameter information, therefore, it is clear that electronic equipment to be backed up can directly acquire backup from target radio frequency Parameter File
The radio frequency parameter data of corresponding static state radio frequency parameter type in list.In addition, the dynamic radio frequency parameter data of each electronic equipment can
Can be different, therefore, when corresponding to the radio frequency parameter data of dynamic radio frequency parameter type in obtaining backup list, electronics to be backed up
Equipment can obtain dynamic radio frequency parameter data relevant to itself according to index value.
Step 714, the backup list and the target radio frequency supplemental characteristic are backed up to backup subregion by control.It is to be backed up
Electronic equipment backup list and target radio frequency supplemental characteristic can be backed up in the backup subregion of itself, specific step with it is upper
It is essentially identical to state step 104 in embodiment, therefore details are not described herein.
Step 716, it when receiving recovery request, controls standby by include in the backup subregion of electronic equipment to be backed up
In part inventory and target radio frequency parameter write-in radio frequency parameter subregion.
When the radio frequency parameter exception of the radio frequency parameter subregion of electronic equipment to be backed up, electronic equipment to be backed up can be incited somebody to action
The radio frequency parameter being stored in backup subregion restores to radio frequency parameter subregion, step in specific step and above-described embodiment
106 is essentially identical, therefore details are not described herein.
The guard method of above-mentioned radio frequency parameter according to the static radio frequency parameter information and dynamic radio frequency of electronic equipment by joining
After number information generate backup lists, target radio frequency supplemental characteristic corresponding to index value that backup list includes is stored in another
The backup subregion of electronic equipment, in this way, when needing the radio frequency parameter subregion to another electronic equipment to execute recovery operation, it can be square
Just the Backup Data in the backup subregion of another electronic equipment itself is read to complete recovery operation, is so conducive to improve system
The stability of system.Even if system still can work normally in the case where power down repeatedly.When communication module occurs abnormal
It waits, can guarantee the stability of communication function with automatic trigger Restoration Mechanism.To which maintenance cost be greatly saved, increase simultaneously
Customer experience.In addition, examples detailed above example realizes the separation of data and code, i.e. data are stored separately in radio frequency parameter,
Code is only concerned about logical process, is such as stored in backup list and is used to instruct to back up in radio frequency parameter subregion, code is then only concerned
Logical process.Such design reduces the maintenance cost in later period, improves maintenance efficiency, saves system resource.
Referring to Fig. 8, showing the hardware block diagram of electronic equipment in one embodiment of the application.The electronic equipment 50
It may include that processor 500, one or more memories 502, telecommunication circuit 504 and bus 508, processor 500 pass through bus
508 carry out data exchange with storage device 502 and telecommunication circuit 504.
Processor 500 can be central processing unit (Central Processing Unit, CPU), can also be other
General processor, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng.
The memory 502 can be used for storing the computer program and/or module, and the processor 500 passes through operation
Or the computer program and/or module being stored in the memory 502 are executed, and call and be stored in memory 502
Data realize the various functions of the guard method of the radio frequency parameter.The memory 502 can mainly include radio frequency parameter subregion
And backup subregion, the radio frequency parameter subregion are used to store the static radio frequency parameter information and dynamic of communication module or electronic equipment
Radio frequency parameter information, the backup subregion is for being backup list and target radio frequency parameter information.In addition, memory 502 can
It, can also be hard including non-volatile memory device, such as hard disk, memory, plug-in type to include high random access storage device
Disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card
(Flash Card), at least one disk storage device part, flush memory device or other volatile solid-state storage device parts.For example,
When there are multiple memories 502, multiple memories 502 may respectively be memory, flash memory etc..Processor 500 is by reading storage
The executable program code stored in device 502 is run, with the protection side for executing radio frequency parameter in any embodiment of front
The step of method.In one embodiment, the step of the guard method of radio frequency parameter in any embodiment of front also can be performed in communication module
Suddenly.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment
Point, reference can be made to the related descriptions of other embodiments.
The embodiment of the present invention has been described in detail above, specific case used herein to the principle of the present invention and
Embodiment is expounded, and the above description of the embodiment is only used to help understand the method for the present invention and its core ideas;
At the same time, for those skilled in the art can in specific embodiments and applications according to the thought of the present invention
There is change place, in conclusion the contents of this specification are not to be construed as limiting the invention.
Claims (10)
1. a kind of guard method of radio frequency parameter is applied to electronic equipment, which is characterized in that the guard method of the radio frequency parameter
Include:
Obtain the backup list comprising one or more radio frequency parameter type files;
Obtain each radio frequency parameter type file institute in one or more radio frequency parameter type files that the backup list includes
The target radio frequency supplemental characteristic for including;
The backup list and the target radio frequency supplemental characteristic are backed up to backup subregion by control;
When receiving recovery request, radio frequency parameter subregion is written in the target radio frequency parameter for including in the backup subregion by control
It is interior.
2. the guard method of radio frequency parameter as described in claim 1, which is characterized in that the acquisition is penetrated comprising one or more
The backup list of frequency parameter type file, comprising:
Obtain the static radio frequency parameter information for being included before the corresponding electronic equipment verification;
Obtain the dynamic radio frequency parameter information for being included after the corresponding electronic equipment verification;
The backup list is generated according to the static radio frequency parameter information and the dynamic radio frequency parameter information.
3. the guard method of radio frequency parameter as claimed in claim 2, which is characterized in that the radio frequency parameter in the backup list
Type includes static non-volatile type, Dynamic Nonvolatile type, static encryption file system type and dynamic encryption file
One of system type is a variety of, described to be generated according to the static radio frequency parameter information and the dynamic radio frequency parameter information
The backup list, comprising:
The index value of the radio frequency parameter data for the static non-volatile type for including in the static radio frequency parameter information is obtained, with
Generate the first radio frequency parameter type file;And/or
Obtain the index of the radio frequency parameter data for the static encryption file system type for including in the static radio frequency parameter information
Value, to generate the second radio frequency parameter type file;And/or
The index value of the radio frequency parameter data for the Dynamic Nonvolatile type for including in the dynamic radio frequency parameter information is obtained, with
Generate third radio frequency parameter type file;And/or
Obtain the index of the radio frequency parameter data for the dynamic encryption file system type for including in the dynamic radio frequency parameter information
Value, to generate the 4th radio frequency parameter type file;
According to the first acquired radio frequency parameter type file, the second radio frequency parameter type file, third radio frequency parameter type text
Part and/or the 4th radio frequency parameter type file generate the backup list.
4. the guard method of radio frequency parameter as claimed in claim 3, which is characterized in that the determination backup list includes
One or more radio frequency parameter type files in each radio frequency parameter type file target radio frequency supplemental characteristic for being included, packet
It includes:
Determine that the corresponding radio frequency parameter data of the index value are pair according to the index value that each radio frequency parameter type file includes
The target radio frequency supplemental characteristic answered;And
The target radio frequency supplemental characteristic is obtained, to obtain the target radio frequency parameter number that each radio frequency parameter type file is included
According to.
5. the guard method of radio frequency parameter as claimed in claim 4, which is characterized in that the first radio frequency parameter type file
The index value for including is the call number of positive integer, and the index value that the second radio frequency parameter type file includes is the rope of positive integer
Quotation marks, the index value that the third radio frequency parameter type file includes are file path, the 4th radio frequency parameter type file
The index value for including is file path.
6. the guard method of radio frequency parameter as claimed in claim 4, which is characterized in that the backup subregion includes data storage
Portion, the data store include head child partition and data child partition, and the control is by the backup list and the target
Radio frequency parameter data backup is to backing up subregion, comprising:
According to target radio frequency supplemental characteristic corresponding to the index value and the index value that each radio frequency parameter type file includes
Generate corresponding data combination;
Control stores the data combination that each radio frequency parameter type file is included to the data child partition;
The head child partition is updated according to the combination of the data of the data partitioned storage.
7. the guard method of radio frequency parameter as claimed in claim 2, which is characterized in that described according to the static radio frequency parameter
Information and the dynamic radio frequency parameter information generate after the backup list, comprising:
The backup list is imported the radio frequency parameter subregion by control;
It controls and the backup list after verification operation is verified is executed to the backup list of importing.
8. the guard method of radio frequency parameter as claimed in claim 7, which is characterized in that the backup of the control to importing
Inventory executes after the backup list after verification operation is verified, comprising:
The backup list after verification is added in the static radio frequency parameter information by control, to obtain comprising after verification
The static radio frequency parameter information of backup list;
Static radio frequency parameter information comprising the backup list after verification is written in electronic equipment to be backed up for control;
It controls the electronic equipment to be backed up and obtains the backup list after verification;
Control the radio frequency parameter type file that the electronic equipment to be backed up is included according to the backup list after verification
Index value obtain corresponding target radio frequency supplemental characteristic;
Control by after verification the backup list and the target radio frequency supplemental characteristic electronic equipment to be backed up is written
Backup subregion in.
9. the guard method of radio frequency parameter as claimed in claim 2, which is characterized in that the backup subregion further includes counting
Portion, the control are wrapped in the backup list and target radio frequency parameter that include in the backup subregion write-in radio frequency parameter subregion
It includes:
Obtain the backup list in the backup subregion;
Obtain the target radio frequency supplemental characteristic in the backup subregion;
The backup list and the target radio frequency supplemental characteristic are written in the rf data subregion for control;
It is described control will include in the backup subregion backup list and target radio frequency parameter be written radio frequency parameter subregion in it
Afterwards, comprising:
The meter is updated after the backup list and the target radio frequency supplemental characteristic are written in the rf data subregion
Statistical information in several.
10. a kind of electronic equipment, which is characterized in that the electronic equipment includes:
Memory, including radio frequency parameter subregion and backup subregion, the radio frequency parameter partitioned storage have stored up one or more radio frequencies
Supplemental characteristic;
Processor, is connected to the memory, and the processor is joined according to the one or more radio frequencies stored in the memory
Number data acquisition includes the backup list of one or more radio frequency parameter type files;The processor determines one or more
Each included target radio frequency supplemental characteristic of radio frequency parameter type file in a radio frequency parameter type file, and controlling will be described standby
Part inventory and the target radio frequency supplemental characteristic back up to the backup subregion;The processor is also when receiving recovery request
Control by the target radio frequency parameter for including in the backup subregion write described in enter radio frequency parameter subregion in.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910356103.4A CN110209529A (en) | 2019-04-29 | 2019-04-29 | The guard method of radio frequency parameter and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910356103.4A CN110209529A (en) | 2019-04-29 | 2019-04-29 | The guard method of radio frequency parameter and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110209529A true CN110209529A (en) | 2019-09-06 |
Family
ID=67786715
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910356103.4A Pending CN110209529A (en) | 2019-04-29 | 2019-04-29 | The guard method of radio frequency parameter and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110209529A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110489439A (en) * | 2019-09-12 | 2019-11-22 | 宁波三星医疗电气股份有限公司 | A kind of parameter processing method and electric power terminal |
CN110830127A (en) * | 2019-10-29 | 2020-02-21 | 惠州Tcl移动通信有限公司 | Radio frequency parameter processing method and device, mobile terminal and storage medium |
CN113285819A (en) * | 2020-02-20 | 2021-08-20 | 深圳市万普拉斯科技有限公司 | Communication parameter processing method, communication parameter processing device, computer equipment and computer storage medium |
CN114337858A (en) * | 2022-01-27 | 2022-04-12 | 深圳市有方科技股份有限公司 | Parameter processing method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100291965A1 (en) * | 1999-04-27 | 2010-11-18 | Joseph Akwo Tabe | Mega communication and media apparatus configured to prevent brain cancerious deseases and to generate electrical energy |
CN102193846A (en) * | 2011-06-13 | 2011-09-21 | 锐骐(厦门)电子科技有限公司 | Method for backing up and recovering non-volatile (NV) data |
CN104427120A (en) * | 2013-09-06 | 2015-03-18 | 展讯通信(上海)有限公司 | Communication terminal and nonvolatile data processing method of communication terminal |
-
2019
- 2019-04-29 CN CN201910356103.4A patent/CN110209529A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100291965A1 (en) * | 1999-04-27 | 2010-11-18 | Joseph Akwo Tabe | Mega communication and media apparatus configured to prevent brain cancerious deseases and to generate electrical energy |
CN102193846A (en) * | 2011-06-13 | 2011-09-21 | 锐骐(厦门)电子科技有限公司 | Method for backing up and recovering non-volatile (NV) data |
CN104427120A (en) * | 2013-09-06 | 2015-03-18 | 展讯通信(上海)有限公司 | Communication terminal and nonvolatile data processing method of communication terminal |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110489439A (en) * | 2019-09-12 | 2019-11-22 | 宁波三星医疗电气股份有限公司 | A kind of parameter processing method and electric power terminal |
CN110830127A (en) * | 2019-10-29 | 2020-02-21 | 惠州Tcl移动通信有限公司 | Radio frequency parameter processing method and device, mobile terminal and storage medium |
WO2021082280A1 (en) * | 2019-10-29 | 2021-05-06 | 惠州Tcl移动通信有限公司 | Radio frequency parameter processing method and device, and mobile terminal and storage medium |
CN110830127B (en) * | 2019-10-29 | 2021-09-03 | 惠州Tcl移动通信有限公司 | Radio frequency parameter processing method and device, mobile terminal and storage medium |
CN113285819A (en) * | 2020-02-20 | 2021-08-20 | 深圳市万普拉斯科技有限公司 | Communication parameter processing method, communication parameter processing device, computer equipment and computer storage medium |
CN113285819B (en) * | 2020-02-20 | 2022-11-15 | 深圳市万普拉斯科技有限公司 | Communication parameter processing method, communication parameter processing device, computer equipment and computer storage medium |
CN114337858A (en) * | 2022-01-27 | 2022-04-12 | 深圳市有方科技股份有限公司 | Parameter processing method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110209529A (en) | The guard method of radio frequency parameter and electronic equipment | |
CN110442473B (en) | Nonvolatile data storage method and device, electronic equipment and medium | |
CN107861876A (en) | Method of testing, device, computer equipment and readable storage medium storing program for executing | |
CN113625945A (en) | Distributed storage slow disk processing method, system, terminal and storage medium | |
CN109783390A (en) | PSU firmware promotion and demotion stability test method, apparatus, terminal and storage medium | |
CN111737045A (en) | Method and device for achieving fault self-recovery of Insight management platform | |
CN112069511A (en) | Data protection method and device, electronic control unit, equipment and storage medium | |
CN107977467A (en) | Database monitoring device | |
CN107515811A (en) | A kind of method and apparatus for obtaining application program power consumption | |
CN110011854A (en) | MDS fault handling method, device, storage system and computer readable storage medium | |
CN108959912A (en) | A kind of method, device and equipment of BIOS and operating system multiplexing password | |
CN111045858A (en) | Bad channel processing method and system | |
CN107341074A (en) | One kind upgrades abnormal restorative procedure, upgrading exception prosthetic device and intelligent terminal | |
CN111176878A (en) | Server BBU (building base band Unit) standby power diagnosis method, system, terminal and storage medium | |
CN110377502A (en) | Function test method, device and terminal device based on script | |
CN109766235A (en) | Configuration file detection method, system, equipment and medium based on software supervision | |
CN115470132A (en) | Test method, device, equipment and medium for automatic driving data recording system | |
CN110968456A (en) | Method and device for processing fault disk in distributed storage system | |
CN103853643A (en) | An apparatus and a method for memory testing by a programmable circuit in a safety critical system | |
CN112632083A (en) | Method, device and equipment for updating index data | |
CN113360389A (en) | Performance test method, device, equipment and storage medium | |
CN109309576B (en) | Fault community detection method and management node | |
CN110543459A (en) | Method, system, terminal and storage medium for acquiring file lock state under NFS | |
US7904758B2 (en) | System, method and apparatus for tracing source of transmission error | |
CN110597683A (en) | SNMP temperature information verification method, system, terminal and storage medium |
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 |