CN110913417A - Method, system, equipment and storage medium for protecting radio frequency parameters - Google Patents
Method, system, equipment and storage medium for protecting radio frequency parameters Download PDFInfo
- Publication number
- CN110913417A CN110913417A CN201911159407.8A CN201911159407A CN110913417A CN 110913417 A CN110913417 A CN 110913417A CN 201911159407 A CN201911159407 A CN 201911159407A CN 110913417 A CN110913417 A CN 110913417A
- Authority
- CN
- China
- Prior art keywords
- data
- radio frequency
- parameter area
- frequency parameter
- backed
- 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
- 238000000034 method Methods 0.000 title claims abstract description 51
- 230000002159 abnormal effect Effects 0.000 claims abstract description 54
- 238000004590 computer program Methods 0.000 claims description 20
- 238000005516 engineering process Methods 0.000 description 13
- 238000010295 mobile communication Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 238000005192 partition Methods 0.000 description 4
- 230000003068 static effect Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 3
- 230000000717 retained effect Effects 0.000 description 3
- 230000005856 abnormality Effects 0.000 description 2
- 238000005034 decoration Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000011418 maintenance treatment Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009467 reduction Effects 0.000 description 2
- 230000001413 cellular effect Effects 0.000 description 1
- 230000006378 damage Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/04—Arrangements for maintaining operational condition
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
Abstract
The invention provides a method, a system, equipment and a storage medium for protecting radio frequency parameters, which comprises the following steps: when the system software is upgraded successfully, backing up the integral data of the radio frequency parameter area; reading key use data in the backed-up whole data of the radio frequency parameter area, and judging whether the key use data is normal or not; and when the key use data are abnormal, restarting the equipment, and restoring the backed-up whole data of the radio frequency parameter area. According to the method, the whole data of the radio frequency parameter area is backed up when a user carries out OTA system software upgrading or when factory settings are restored for the first time in a factory, so that the data which are abnormally restored are the latest dynamic parameters; because the backup and the restoration are complete equipment parameter areas, the characteristics of the file system of the radio frequency parameters can be not considered, and the restoration can be carried out without triggering the time when the complete file system is damaged.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, a system, a device, and a storage medium for protecting radio frequency parameters.
Background
Currently, each piece of equipment based on a high-pass platform has related radio frequency parameters so that the equipment can be used normally, and platform manufacturers can protect and backup the radio frequency parameters of the equipment.
In fact, the mode of high-pass protection of device parameters is single, and the device parameters can only play a role based on the complete destruction of a file system, and after the related parameters in the file system are single and abnormal, the device parameters cannot be restored and recovered normally. In addition, even if the whole file system is damaged and then a high-pass backup mode is triggered, the restored parameters are only basic parameters at the time of factory shipment, and many parameters are dynamically changed when an actual user uses the file system, and the data is not effectively reserved. This causes the user equipment to sometimes have a related abnormality of the name of the Morse during the use.
Disclosure of Invention
The invention aims to provide a method, a system, equipment and a storage medium for protecting radio frequency parameters, which are used for backing up the whole data of a radio frequency parameter area when a user carries out OTA system software upgrading and ensuring that the data which is abnormally restored is the latest dynamic parameters.
The technical scheme provided by the invention is as follows:
the invention provides a method for protecting radio frequency parameters, which comprises the following steps:
s100, when the system software is upgraded successfully, backing up the whole data of the radio frequency parameter area.
S200, reading the key use data in the backed up whole data of the radio frequency parameter area, and judging whether the key use data is normal or not.
S300, when the key use data are abnormal, restarting the equipment, and restoring the backed-up whole data of the radio frequency parameter area.
Further, after the step S200 of reading the key usage data in the backed up whole data of the radio frequency parameter area and determining whether the key usage data is normal, the method further includes the steps of:
s400, when the key use data are normal, the equipment is normally started.
In S300, when the critical usage data is abnormal, restarting the device, and restoring the backed-up whole data of the radio frequency parameter area includes:
s310, relevant key use data in the restored radio frequency parameter area whole data are read, and whether the key use data are normal or not is judged.
And S320, when the key use data is abnormal, sending prompt information, wherein the prompt information is used for prompting a user that the whole data in the radio frequency parameter area is abnormal in restoration and needs to be maintained.
S330 when the key use data is normal, normally starting the computer.
Further, before the step S200 of reading the key usage data in the backed up whole data of the radio frequency parameter area and judging whether the key usage data is normal, the method further includes the steps of:
s110, factory settings are restored for the first time, and when the factory settings are restored for the first time, the whole data in the radio frequency parameter area are backed up.
Further, when the system software is successfully upgraded in S100, backing up the whole data in the radio frequency parameter area, and in S200, reading the key usage data in the backed up whole data in the radio frequency parameter area, and determining whether the key usage data is normal includes:
s101, recording the whole data of the radio frequency parameter area which is backed up, and starting up.
S102, loading the radio frequency parameters in the whole data of the radio frequency parameter area which is backed up.
Further, when the critical usage data is abnormal in S300, restarting the device, restoring the backed-up whole rf parameter area data, reading the restored critical usage data related to the restored whole rf parameter area data in S310, and determining whether the critical usage data is normal includes:
s301, recording the restored whole data of the radio frequency parameter area, and starting up the mobile phone.
S302, loading the radio frequency parameters in the restored radio frequency parameter area whole data.
The invention also provides a system for protecting radio frequency parameters, comprising:
and the backup module is used for backing up the whole data in the radio frequency parameter area when the system software is successfully upgraded and backing up the whole data in the radio frequency parameter area when the factory setting is restored for the first time.
And the reading module is connected with the backup module and used for reading the key use data in the backed-up whole data of the radio frequency parameter area.
And the analysis module is connected with the reading module and used for judging whether the key use data is normal or not after reading the key use data in the backed up whole data of the radio frequency parameter area, and also used for reading the related key use data in the restored whole data of the radio frequency parameter area and judging whether the key use data is normal or not.
And the data restoring module is respectively connected with the backup module, the reading module and the analysis module and is used for restoring the backed-up whole data of the radio frequency parameter area after restarting the equipment when the key use data is abnormal.
Further, still include:
and the sending module is connected with the analysis module and used for sending prompt information when the key use data is abnormal, wherein the prompt information is used for prompting a user that the whole data in the radio frequency parameter area is abnormal to be repaired.
And the recording module is connected with the backup module, is used for recording the whole data of the radio frequency parameter area which is backed up, is respectively connected with the backup module and the data restoration module, and is also used for recording the whole data of the radio frequency parameter area after restoration.
And the loading module is respectively connected with the recording module and the backup module, is used for loading the radio frequency parameters in the radio frequency parameter area overall data which is backed up, is respectively connected with the recording module, the backup module and the data restoring module, and is also used for loading the radio frequency parameters in the radio frequency parameter area overall data after restoration.
The present invention provides a storage medium having stored thereon a computer program which, when executed by a processor, implements a method of protecting radio frequency parameters.
The invention provides a device for protecting radio frequency parameters, which comprises a memory and a processor, wherein a computer program running on the processor is stored in the memory, and the processor executes the computer program to realize a method for protecting the radio frequency parameters.
1) The method, the system, the equipment and the storage medium for protecting the radio frequency parameters are designed and used based on a high-pass platform, can be used on various platforms, and have universality and portability.
2) When the user upgrades the OTA system software or when the factory is restored to the factory setting for the first time, the whole data of the radio frequency parameter area is backed up, so that the data which is restored abnormally is the latest dynamic parameter.
3) Because the backup and the restoration are complete equipment parameter areas, the characteristics of the file system of the radio frequency parameters can be not considered, and the restoration can be carried out without triggering the time when the complete file system is damaged.
4) And after restoring the backed-up whole data of the radio frequency parameter area, reading relevant key use data in the restored whole data of the radio frequency parameter area again, judging whether the key use data are normal again, and sending a prompt message to prompt a user that the reduction of the whole data of the radio frequency parameter area is abnormal when the key use data are abnormal so as to facilitate the user to carry out maintenance treatment in time.
Drawings
The above features, technical features, advantages and implementations of a method, system, device and storage medium for protecting rf parameters are further described in the following detailed description of preferred embodiments in a clearly understandable manner with reference to the accompanying drawings.
FIG. 1 is a flow chart of one embodiment of a method of protecting radio frequency parameters of the present invention;
FIG. 2 is a flow chart of another embodiment of a method of protecting RF parameters in accordance with the present invention;
FIG. 3 is a flow chart of yet another embodiment of a method of protecting RF parameters in accordance with the present invention;
FIG. 4 is a flow chart of yet another embodiment of a method of protecting radio frequency parameters of the present invention;
FIG. 5 is a flow chart of yet another embodiment of a method of protecting RF parameters in accordance with the present invention;
FIG. 6 is a schematic diagram of an embodiment of a system for protecting RF parameters according to the present invention;
fig. 7 is a schematic structural diagram of an embodiment of an apparatus for protecting radio frequency parameters according to the present invention.
The reference numbers illustrate: 10. a memory; 11. a computer program; 12. a processor; 20. a backup module; 21. a reading module; 22. an analysis module; 23. a data restoration module; 24. a sending module; 25. a recording module; 26. and loading the module.
Detailed Description
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following description will be made with reference to the accompanying drawings. It is obvious that the drawings in the following description are only some examples of the invention, and that for a person skilled in the art, other drawings and embodiments can be derived from them without inventive effort.
For the sake of simplicity, the drawings only schematically show the parts relevant to the present invention, and they do not represent the actual structure as a product. In addition, in order to make the drawings concise and understandable, components having the same structure or function in some of the drawings are only schematically illustrated or only labeled. In this document, "one" means not only "only one" but also a case of "more than one".
One embodiment of the present invention, as shown in fig. 1, is a method for protecting rf parameters, comprising the steps of:
s100, when the system software is upgraded successfully, backing up the whole data of the radio frequency parameter area.
Preferably, the OTA is used for upgrading, and when the OTA system software is upgraded successfully, the whole data of the radio frequency parameter area is backed up.
Specifically, the OTA, i.e. the space download technology, is a technology for remotely managing SIM card data and applications through a space interface of mobile communication (GSM or CDMA), the space interface may adopt WAP, GPRS, CDMA1X and short message technology, and the application of the OTA technology enables mobile communication to provide not only voice and data services, but also new service download, the upgrade package of the OTA is very small, generally several megabytes to tens of megabytes, the OTA upgrade does not need to backup data, all upgrade works are determined in a few minutes, and all data can be well retained.
Specifically, the Radio Frequency parameter area stores information such as a Radio Frequency (RF) parameter, a Media Access Control (MAC) Address, an International Mobile Equipment Identity (IMEI), and the like, and the RF parameter may include a static RF parameter and a dynamic RF parameter, where the static RF parameter is customized by a developer, the static RF parameter of each communication module is the same, and the dynamic RF parameter is generated after the communication module is calibrated by an instrument after the static RF parameter is burned, and thus the dynamic parameter of each communication module may be different from each other.
S200, reading the key use data in the backed up whole data of the radio frequency parameter area, and judging whether the key use data is normal or not.
Specifically, the critical use data in the whole data of the radio frequency parameter area includes an IMEI number, a binding number, a factory calibration flag, and the like, and when the system is started, it is checked that information related to the critical use data is lost or does not comply with a rule, it is determined that the currently used radio frequency parameter is abnormal.
S300, when the key use data are abnormal, restarting the equipment, and restoring the backed-up whole data of the radio frequency parameter area.
Specifically, after the system is powered on, it is checked that information related to the key usage data is lost or does not conform to the rules, that is, when the currently used radio frequency parameter is abnormal, the device is restarted to restore the whole data of the radio frequency parameter area stored in the backup partition.
Specifically, the method for protecting the radio frequency parameters in this embodiment is designed and used based on a high-pass platform, can be used on various platforms, and has universality and portability, when a user performs OTA system software upgrade, the whole data of the radio frequency parameter area is backed up, when the critical use data is abnormal, the device is restarted, the backed-up whole data of the radio frequency parameter area is restored, the restored data is the latest dynamic parameter, and because the backed-up and restored data is the complete device parameter area, the file system characteristics of the radio frequency parameters can be not considered, the triggering time does not need to restore the critical use data when the complete file system is damaged, and because the OTA system software upgrade backup is the latest radio frequency parameters, the checking of the critical use data can be timely restored.
Another embodiment of the present invention, as shown in fig. 2, is a method for protecting rf parameters, comprising the steps of:
s100, when the system software is upgraded successfully, backing up the whole data of the radio frequency parameter area.
Preferably, the OTA is used for upgrading, and when the OTA system software is upgraded successfully, the whole data of the radio frequency parameter area is backed up.
Specifically, the OTA, i.e. the space download technology, is a technology for remotely managing SIM card data and applications through a space interface of mobile communication (GSM or CDMA), the space interface may adopt WAP, GPRS, CDMA1X and short message technology, and the application of the OTA technology enables mobile communication to provide not only voice and data services, but also new service download, the upgrade package of the OTA is very small, generally several megabytes to tens of megabytes, the OTA upgrade does not need to backup data, all upgrade works are determined in a few minutes, and all data can be well retained.
Specifically, when the parameters are actively adjusted, the whole data of the radio frequency parameter area can be backed up.
Specifically, when the system software is successfully upgraded in S100, backing up the whole data in the radio frequency parameter area, and in S200, reading the key usage data in the backed up whole data in the radio frequency parameter area, and determining whether the key usage data is normal includes:
s101, recording the whole data of the radio frequency parameter area which is backed up, and starting up.
Specifically, a backup list of the whole data of the backed-up radio frequency parameter area and target radio frequency parameter data contained in each of one or more radio frequency parameter type files contained in the backup list are recorded, and then the computer is started.
S102, loading the radio frequency parameters in the whole data of the radio frequency parameter area which is backed up.
S200, reading the key use data in the backed up whole data of the radio frequency parameter area, and judging whether the key use data is normal or not.
Specifically, the critical use data in the whole data of the radio frequency parameter area includes an IMEI number, a binding number, a factory calibration flag, and the like, and when the system is started, it is checked that information related to the critical use data is lost or does not comply with a rule, it is determined that the currently used radio frequency parameter is abnormal.
S400, when the key use data are normal, the equipment is normally started.
Specifically, the method for protecting the radio frequency parameters in the embodiment is designed and used based on a high-pass platform, can be used on various platforms, has universality and portability, backs up the whole data of the radio frequency parameter area when a user performs OTA system software upgrading, can be normally started up when the key use data is normal, and does not need to restore the backed-up radio frequency parameters.
In another embodiment of the present invention, as shown in fig. 3, a method for protecting rf parameters includes the steps of:
s110, factory settings are restored for the first time, and when the factory settings are restored for the first time, the whole data in the radio frequency parameter area are backed up.
Specifically, the device backups the whole data in the radio frequency parameter area when factory settings are restored for the first time in a factory, backups the whole data in the radio frequency parameter area when OTA system software is not upgraded after factory settings are restored for the first time, and restores the latest backup radio frequency parameters when key use data are abnormally restored.
S200, reading the key use data in the backed up whole data of the radio frequency parameter area, and judging whether the key use data is normal or not.
Specifically, the critical use data in the whole data of the radio frequency parameter area includes an IMEI number, a binding number, a factory calibration flag, and the like, and when the system is started, it is checked that information related to the critical use data is lost or does not comply with a rule, it is determined that the currently used radio frequency parameter is abnormal.
Specifically, in S110, when the factory settings are restored for the first time, backing up the whole data in the radio frequency parameter area and the S200 reading the backed up key usage data in the whole data in the radio frequency parameter area, and determining whether the key usage data is normal includes:
s101, recording the whole data of the radio frequency parameter area which is backed up, and starting up.
Specifically, a backup list of the whole data of the backed-up radio frequency parameter area and target radio frequency parameter data contained in each of one or more radio frequency parameter type files contained in the backup list are recorded, and then the computer is started.
S102, loading the radio frequency parameters in the whole data of the radio frequency parameter area which is backed up.
S300, when the key use data are abnormal, restarting the equipment, and restoring the backed-up whole data of the radio frequency parameter area.
Specifically, after the system is powered on, it is checked that information related to the key usage data is lost or does not conform to the rules, that is, when the currently used radio frequency parameter is abnormal, the device is restarted to restore the whole data of the radio frequency parameter area stored in the backup partition.
Specifically, in S300, when the critical usage data is abnormal, restarting the device, and restoring the backed-up whole data of the radio frequency parameter area includes:
s310, relevant key use data in the restored radio frequency parameter area whole data are read, and whether the key use data are normal or not is judged.
Specifically, the key usage data in the restored radio frequency parameter area whole data includes an IMEI number, a binding number, a factory calibration flag, and the like, and when the system is started, it is checked that information related to the key usage data is lost or does not conform to a rule, it is determined that the currently used radio frequency parameter is abnormal.
And S320, when the key use data is abnormal, sending prompt information, wherein the prompt information is used for prompting a user that the whole data in the radio frequency parameter area is abnormal in restoration and needs to be maintained.
Specifically, after the system is started, when it is checked that relevant information of key use data such as an IMEI number, a binding number, a factory calibration mark and the like is lost or does not meet a rule, it is indicated that the backed-up radio frequency parameter is not successfully restored due to blank or lost of a backed-up file or other reasons, and at this time, a prompt message is sent to prompt a user that the restoration of the whole data in the radio frequency parameter area is abnormal and needs to be maintained.
Preferably, the prompt information is displayed in the form of pictures on the screen of the device to prompt a user that the whole data in the radio frequency parameter area is abnormal to be repaired.
S330 when the key use data is normal, normally starting the computer.
Specifically, the key use data in the restored radio frequency parameter area whole data includes an IMEI number, a binding number, a factory calibration flag, and the like, and when the system is started, it is checked that the information related to the key use data is lost and meets the rule, the currently used radio frequency parameter is considered to be normal, and at this time, the system can be started normally.
Specifically, when the critical usage data is abnormal in S300, restarting the device, restoring the backed-up whole rf parameter area data, reading the restored critical usage data related to the restored whole rf parameter area data in S310, and determining whether the critical usage data is normal includes:
s301, recording the restored whole data of the radio frequency parameter area, and starting up the mobile phone.
Specifically, a backup list of the whole data of the radio frequency parameter area backed up after the restoration and target radio frequency parameter data included in each of one or more radio frequency parameter type files included in the backup list are recorded, and then the boot is performed.
S302, loading the radio frequency parameters in the restored radio frequency parameter area whole data.
Specifically, the radio frequency parameters in the restored radio frequency parameter area whole data are loaded to the radio frequency parameter area.
Specifically, after the step S200 of reading the key usage data related to the backed up whole data of the radio frequency parameter area and determining whether the key usage data is normal, the method further includes the steps of:
s400, when the key use data are normal, normally starting the computer.
Specifically, the method for protecting the radio frequency parameters in the embodiment is designed and used based on a high-pass platform, can be used on various platforms, has universality and portability, backs up the whole data of the radio frequency parameter area when a user performs OTA system software upgrading, can be normally started up when the key use data is normal, and does not need to restore the backed-up radio frequency parameters.
Specifically, in this embodiment, when factory settings are restored for the first time in a factory, the device backs up the whole data in the radio frequency parameter area, after factory settings are restored for the first time, the whole data in the radio frequency parameter area is backed up when OTA system software is not upgraded, after a system is started, it is checked that information related to key use data is lost or does not conform to rules, that is, when a currently used radio frequency parameter is abnormal, the device is restarted to restore the whole data in the radio frequency parameter area stored in the backup partition, at this time, the restored radio frequency parameter is the latest backup radio frequency parameter, and when the currently used radio frequency parameter is normal, the device can be started normally.
In another embodiment of the present invention, as shown in fig. 4 and 5, a method, a system, a device and a storage medium for protecting radio frequency parameters include:
s100, when the system software is upgraded successfully, backing up the whole data of the radio frequency parameter area.
Preferably, the OTA is used for upgrading, and when the OTA system software is upgraded successfully, the whole data of the radio frequency parameter area is backed up.
Specifically, the OTA, i.e. the space download technology, is a technology for remotely managing SIM card data and applications through a space interface of mobile communication (GSM or CDMA), the space interface may adopt WAP, GPRS, CDMA1X and short message technology, and the application of the OTA technology enables mobile communication to provide not only voice and data services, but also new service download, the upgrade package of the OTA is very small, generally several megabytes to tens of megabytes, the OTA upgrade does not need to backup data, all upgrade works are determined in a few minutes, and all data can be well retained.
S200, reading the key use data in the backed up whole data of the radio frequency parameter area, and judging whether the key use data is normal or not.
Specifically, the critical use data in the whole data of the radio frequency parameter area includes an IMEI number, a binding number, a factory calibration flag, and the like, and when the system is started, it is checked that information related to the critical use data is lost or does not comply with a rule, it is determined that the currently used radio frequency parameter is abnormal.
Specifically, before the step S200 of reading the key usage data in the backed up whole data of the radio frequency parameter area and judging whether the key usage data is normal, the method further includes the steps of:
s110, factory settings are restored for the first time, and when the factory settings are restored for the first time, the whole data in the radio frequency parameter area are backed up.
Specifically, the device backups the whole data in the radio frequency parameter area when factory settings are restored for the first time in a factory, backups the whole data in the radio frequency parameter area when OTA system software is not upgraded after factory settings are restored for the first time, and restores the latest backup radio frequency parameters when key use data are abnormally restored.
Specifically, when the system software is successfully upgraded in S100, backing up the whole data in the radio frequency parameter area and/or restoring factory settings for the first time in S110, when the factory settings for the first time are restored, backing up the whole data in the radio frequency parameter area and reading the key usage data in the backed up whole data in the radio frequency parameter area in S200, and determining whether the key usage data is normal includes:
s101, recording the whole data of the radio frequency parameter area which is backed up, and starting up.
Specifically, a backup list of the whole data of the backed-up radio frequency parameter area and target radio frequency parameter data contained in each of one or more radio frequency parameter type files contained in the backup list are recorded, and then the computer is started.
S102, loading the radio frequency parameters in the whole data of the radio frequency parameter area which is backed up.
Specifically, the radio frequency parameters in the whole data of the radio frequency parameter area which has been backed up are loaded to the radio frequency parameter area.
S300, when the key use data are abnormal, restarting the equipment, and restoring the backed-up whole data of the radio frequency parameter area.
Specifically, after the system is powered on, it is checked that information related to the key usage data is lost or does not conform to the rules, that is, when the currently used radio frequency parameter is abnormal, the device is restarted to restore the whole data of the radio frequency parameter area stored in the backup partition.
Specifically, in S300, when the critical usage data is abnormal, restarting the device, and restoring the backed-up whole data of the radio frequency parameter area includes:
s310, relevant key use data in the restored radio frequency parameter area whole data are read, and whether the key use data are normal or not is judged.
Specifically, the key usage data in the restored radio frequency parameter area whole data includes an IMEI number, a binding number, a factory calibration flag, and the like, and when the system is started, it is checked that information related to the key usage data is lost or does not conform to a rule, it is determined that the currently used radio frequency parameter is abnormal.
And S320, when the key use data is abnormal, sending prompt information, wherein the prompt information is used for prompting a user that the whole data in the radio frequency parameter area is abnormal in restoration and needs to be maintained.
Specifically, after the system is started, when it is checked that relevant information of key use data such as an IMEI number, a binding number, a factory calibration mark and the like is lost or does not meet a rule, it is indicated that the backed-up radio frequency parameter is not successfully restored due to blank or lost of a backed-up file or other reasons, and at this time, a prompt message is sent to prompt a user that the restoration of the whole data in the radio frequency parameter area is abnormal and needs to be maintained.
Preferably, the prompt information is displayed in the form of pictures on the screen of the device to prompt a user that the whole data in the radio frequency parameter area is abnormal to be repaired.
S330 when the key use data is normal, normally starting the computer.
Specifically, the key use data in the restored radio frequency parameter area whole data includes an IMEI number, a binding number, a factory calibration flag, and the like, and when the system is started, it is checked that the information related to the key use data is lost and meets the rule, the currently used radio frequency parameter is considered to be normal, and at this time, the system can be started normally.
Specifically, when the critical usage data is abnormal in S300, restarting the device, restoring the backed-up whole rf parameter area data, reading the restored critical usage data related to the restored whole rf parameter area data in S310, and determining whether the critical usage data is normal includes:
s301, recording the restored whole data of the radio frequency parameter area, and starting up the mobile phone.
Specifically, a backup list of the whole data of the radio frequency parameter area backed up after the restoration and target radio frequency parameter data included in each of one or more radio frequency parameter type files included in the backup list are recorded, and then the boot is performed.
S302, loading the radio frequency parameters in the restored radio frequency parameter area whole data.
Specifically, the radio frequency parameters in the restored radio frequency parameter area whole data are loaded to the radio frequency parameter area.
Specifically, after the step S200 of reading the key usage data related to the backed up whole data of the radio frequency parameter area and determining whether the key usage data is normal, the method further includes the steps of:
s400, when the key use data are normal, normally starting the computer.
Specifically, the method for protecting the radio frequency parameters in the embodiment is designed and used based on a high-pass platform, can be used on various platforms, has universality and portability, backs up the whole data of the radio frequency parameter area when a user performs OTA system software upgrading, can be normally started up when the key use data is normal, and does not need to restore the backed-up radio frequency parameters.
Specifically, in this embodiment, the method for protecting radio frequency parameters is designed and used based on a high-pass platform, can be used on various platforms, has universality and portability, backs up the whole data in the radio frequency parameter area when a user performs OTA system software upgrade or when a factory is restored to factory settings for the first time, restarts the device when the use-critical data is abnormal, restores the backed-up whole data in the radio frequency parameter area, the restored data is the latest dynamic parameter, because the backed-up and restored data is the complete device parameter area, the file system characteristics of the radio frequency parameters can not be considered, the triggering time does not need to restore the complete file system until the complete file system is damaged, because the OTA system software upgrade backup is the latest radio frequency parameters, the key use data can be checked and restored in time, after restoring the backed-up whole data in the radio frequency parameter area, and reading related key use data in the restored whole data of the radio frequency parameter area again, judging whether the key use data is normal or not again, sending prompt information when the key use data is abnormal, prompting a user that the whole data of the radio frequency parameter area is abnormal in restoration and needs to be maintained, and normally starting the mobile terminal if the key use data is normal.
In an embodiment of the present invention, as shown in fig. 5, a method for protecting radio frequency parameters includes:
the invention is designed and used based on a high-pass platform; the system can be used on various platforms and has universality.
As shown in fig. 5, after the factory restores the factory settings for the first time, the system backs up the rf parameter area as a whole.
As shown in fig. 5, the OTA upgrading software is performed during the normal use process of the actual user, the OTA upgrading process is a normal use process, and we immediately backup the whole rf parameter area after the upgrade success.
After recording the relevant backup data, the device is started and the radio frequency parameters are loaded.
And reading relevant key use data in the parameter area and judging whether the key use data are normal or not.
And when the abnormality is found, restarting the equipment, and restoring the whole backed-up radio frequency parameter area.
And after restoration, the equipment continues to be normally started, whether the key data are normal is read again, and if the key data are not normal, the picture is displayed to a user for prompting.
One embodiment of the present invention, as shown in fig. 6, is a system for protecting rf parameters, comprising:
and the backup module 20 is used for backing up the whole data of the radio frequency parameter area when the system software is upgraded successfully.
Specifically, the backup module 20 is further configured to backup the whole data in the radio frequency parameter area when the factory settings are restored for the first time.
And the reading module 21 is connected with the backup module 20 and is used for reading the key use data in the backed-up whole data of the radio frequency parameter area.
And the analysis module 22 is connected with the reading module 21 and is used for judging whether the key use data is normal or not after the key use data in the backed-up whole data of the radio frequency parameter area is read.
Specifically, the analysis module 22 is connected to the reading module 21, and is further configured to read related key usage data in the restored whole data of the radio frequency parameter area, and determine whether the key usage data is normal.
And the data restoring module 23 is respectively connected with the backup module 20, the reading module 21 and the analyzing module 22, and is used for restoring the backed-up whole data of the radio frequency parameter area after restarting the device when the key use data is abnormal.
Specifically, still include:
and the sending module 24 is connected with the analysis module 22 and is used for sending prompt information when the key use data is abnormal, wherein the prompt information is used for prompting a user that the whole data in the radio frequency parameter area is abnormal to be maintained.
And the recording module 25 is connected with the backup module 20 and is used for recording the whole data of the radio frequency parameter area which is backed up.
Specifically, the recording module 25 is connected to the backup module 20 and the data restoring module 23, and is further configured to record the restored whole data of the radio frequency parameter area.
And the loading module 26 is connected to the recording module 25 and the backup module 20, respectively, and is configured to load the rf parameters in the entire data of the rf parameter area that has been backed up.
Specifically, the loading module 26 is connected to the recording module 25, the backup module 20, and the data restoring module 23, and is further configured to load the radio frequency parameters in the restored whole data of the radio frequency parameter area.
An embodiment of the invention provides a storage medium having stored thereon a computer program 11, which computer program 11, when being executed by a processor 12, carries out all or part of the method steps of the embodiments described above.
The invention can realize all or part of the flow in the method of the above embodiments, and can also be completed by instructing related hardware through the computer program 11, the computer program 11 can be stored in a storage medium, and the steps of the above method embodiments can be realized when the computer program 11 is executed by the processor 12. Wherein the computer program 11 comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The storage medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
An embodiment of the present invention further provides an apparatus for protecting rf parameters, as shown in fig. 7, which includes a memory 10 and a processor 12, the memory 10 stores a computer program 11 running on the processor 12, and the processor 12 implements all or part of the method steps in the first embodiment when executing the computer program 11.
The Processor 12 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like which is the control center for the computer device and which connects the various parts of the overall computer device using various interfaces and lines.
The memory 10 may be used for storing the computer programs and/or modules, and the processor 12 implements various functions of the computer device by running or executing the computer programs and/or modules stored in the memory 10 and calling data stored in the memory 10. The memory 10 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, video data, etc.) created according to the use of the cellular phone, etc. In addition, the memory 10 may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
The method for protecting the radio frequency parameters has the advantages that the method is designed and used based on a high-pass platform, can be used on various platforms, and has universality and transportability; when a user upgrades OTA system software or when factory settings are restored for the first time in a factory, backing up the whole data in the radio frequency parameter area, so that the data which is restored abnormally is the latest dynamic parameter; because the backup and the restoration are complete equipment parameter areas, the characteristics of the file system of the radio frequency parameters can be not considered, and the restoration can be carried out without triggering the time when the complete file system is damaged; and after restoring the backed-up whole data of the radio frequency parameter area, reading relevant key use data in the restored whole data of the radio frequency parameter area again, judging whether the key use data are normal again, and sending a prompt message to prompt a user that the reduction of the whole data of the radio frequency parameter area is abnormal when the key use data are abnormal so as to facilitate the user to carry out maintenance treatment in time.
It should be noted that the above embodiments can be freely combined as necessary. The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.
Claims (10)
1. A method for protecting radio frequency parameters, comprising the steps of:
when the system software is upgraded successfully, backing up the integral data of the radio frequency parameter area;
reading key use data in the backed-up whole data of the radio frequency parameter area, and judging whether the key use data is normal or not;
and when the key use data are abnormal, restarting the equipment, and restoring the backed-up whole data of the radio frequency parameter area.
2. The method according to claim 1, wherein after reading the key usage data in the backed up whole data of the rf parameter area and determining whether the key usage data is normal, the method further comprises:
and when the key use data is normal, normally starting the equipment.
3. The method according to claim 1, wherein after restarting the device and restoring the backed-up whole data of the rf parameter area when the critical usage data is abnormal, the method comprises the steps of:
reading related key use data in the restored whole data of the radio frequency parameter area, and judging whether the key use data are normal or not;
when the key use data are abnormal, sending prompt information, wherein the prompt information is used for prompting a user that the whole data in the radio frequency parameter area are abnormal to be maintained;
and when the key use data is normal, normally starting the computer.
4. The method according to claim 1, wherein before reading the key usage data in the backed-up whole data of the rf parameter area and determining whether the key usage data is normal, the method further comprises:
and restoring the factory settings for the first time, and backing up the whole data in the radio frequency parameter area when the factory settings for the first time are restored.
5. The method according to claim 1, wherein the step of backing up the whole rf parameter area data and reading the backed up critical service data in the whole rf parameter area data when the system software is successfully upgraded and determining whether the critical service data is normal includes:
recording the whole data of the radio frequency parameter area which is backed up, and starting up;
and loading the radio frequency parameters in the whole data of the radio frequency parameter area which is backed up.
6. The method according to claim 3, wherein, when the critical usage data is abnormal, restarting the device, restoring the backed-up whole data of the radio frequency parameter area to the critical usage data related to the whole data of the radio frequency parameter area after the read restoration, and determining whether the critical usage data is normal comprises:
recording the restored whole data of the radio frequency parameter area, and starting up the mobile phone;
and loading the radio frequency parameters in the restored radio frequency parameter area whole data.
7. A system for protecting radio frequency parameters, comprising:
the backup module is used for backing up the integral data of the radio frequency parameter area when the system software is upgraded successfully;
the reading module is connected with the backup module and used for reading key use data in the backed-up whole data of the radio frequency parameter area;
the analysis module is connected with the reading module and used for judging whether the key use data are normal or not after the key use data in the backed up whole data of the radio frequency parameter area are read;
and the data restoring module is respectively connected with the backup module, the reading module and the analysis module and is used for restoring the backed-up whole data of the radio frequency parameter area after restarting the equipment when the key use data is abnormal.
8. The system for protecting rf parameters of claim 7, further comprising:
the sending module is connected with the analysis module and used for sending prompt information when the key use data is abnormal, wherein the prompt information is used for prompting a user that the whole data in the radio frequency parameter area is abnormal to be repaired;
the recording module is connected with the backup module and used for recording the whole data of the radio frequency parameter area which is backed up;
and the loading module is respectively connected with the recording module and the backup module and is used for loading the radio frequency parameters in the whole data of the radio frequency parameter area which is backed up.
9. A storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method of any of claims 1 to 6.
10. An apparatus for protecting radio frequency parameters, comprising a memory and a processor, the memory having stored thereon a computer program for execution on the processor, wherein the processor, when executing the computer program, implements the method of any of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911159407.8A CN110913417A (en) | 2019-11-22 | 2019-11-22 | Method, system, equipment and storage medium for protecting radio frequency parameters |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911159407.8A CN110913417A (en) | 2019-11-22 | 2019-11-22 | Method, system, equipment and storage medium for protecting radio frequency parameters |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110913417A true CN110913417A (en) | 2020-03-24 |
Family
ID=69819155
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911159407.8A Pending CN110913417A (en) | 2019-11-22 | 2019-11-22 | Method, system, equipment and storage medium for protecting radio frequency parameters |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110913417A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112579341A (en) * | 2020-12-08 | 2021-03-30 | 上海立可芯半导体科技有限公司 | Method and device for identifying whether radio frequency calibration data of mobile terminal is normal |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080184151A1 (en) * | 2007-01-25 | 2008-07-31 | Microsoft Corporation | Standardized mechanism for firmware upgrades of rfid devices |
CN101719959A (en) * | 2009-12-14 | 2010-06-02 | 中兴通讯股份有限公司 | Method and device for automatically backing up and recovering key files of mobile terminal |
CN103019892A (en) * | 2012-12-29 | 2013-04-03 | 盛耀无线通讯科技(北京)有限公司 | NV data backup and recovery method based on high-pass platform |
CN106982450A (en) * | 2017-05-27 | 2017-07-25 | 奇酷互联网络科技(深圳)有限公司 | Communication abnormality processing method, device and mobile terminal |
CN107133062A (en) * | 2017-03-06 | 2017-09-05 | 深圳市金立通信设备有限公司 | A kind of data processing method and terminal |
US20190349794A1 (en) * | 2017-06-27 | 2019-11-14 | Veniam, Inc. | Self-organized fleets of autonomous vehicles to optimize future mobility and city services |
-
2019
- 2019-11-22 CN CN201911159407.8A patent/CN110913417A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080184151A1 (en) * | 2007-01-25 | 2008-07-31 | Microsoft Corporation | Standardized mechanism for firmware upgrades of rfid devices |
CN101719959A (en) * | 2009-12-14 | 2010-06-02 | 中兴通讯股份有限公司 | Method and device for automatically backing up and recovering key files of mobile terminal |
CN103019892A (en) * | 2012-12-29 | 2013-04-03 | 盛耀无线通讯科技(北京)有限公司 | NV data backup and recovery method based on high-pass platform |
CN107133062A (en) * | 2017-03-06 | 2017-09-05 | 深圳市金立通信设备有限公司 | A kind of data processing method and terminal |
CN106982450A (en) * | 2017-05-27 | 2017-07-25 | 奇酷互联网络科技(深圳)有限公司 | Communication abnormality processing method, device and mobile terminal |
US20190349794A1 (en) * | 2017-06-27 | 2019-11-14 | Veniam, Inc. | Self-organized fleets of autonomous vehicles to optimize future mobility and city services |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112579341A (en) * | 2020-12-08 | 2021-03-30 | 上海立可芯半导体科技有限公司 | Method and device for identifying whether radio frequency calibration data of mobile terminal is normal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8539471B2 (en) | Updating firmware of an electronic device | |
US7584379B2 (en) | Mobile terminal and software update method | |
KR100915564B1 (en) | Method, software and apparatus for application upgrade during execution | |
US8726259B2 (en) | System and method for preserving device parameters during a FOTA upgrade | |
US8578361B2 (en) | Updating an electronic device with update agent code | |
US7085957B2 (en) | Upgrading of firmware with tolerance to failures | |
CN107038085B (en) | Method, device and system for repairing client application | |
US20110004871A1 (en) | Embedded electronic device and firmware updating method thereof | |
US20050097544A1 (en) | Mobile communication terminal having embedded system for software download and method for software download | |
CN102004657B (en) | A kind of electronic equipment and upgrade method thereof | |
CN110806884A (en) | Method and device for repairing operating system fault | |
CN110913417A (en) | Method, system, equipment and storage medium for protecting radio frequency parameters | |
US20050010914A1 (en) | Method for upgrading firmware | |
CN112214353A (en) | Firmware recovery method and device, computer equipment and storage medium | |
CN116382791B (en) | Configuration file protection method and electronic equipment | |
CN105700971A (en) | Data backup method and device | |
CN112118280A (en) | Recovery method after OTA upgrade failure of WI-FI equipment | |
CN112230975A (en) | Firmware differential upgrading method, device and equipment | |
CN112099819A (en) | Data processing method, data processing device and vehicle-mounted terminal | |
KR100622816B1 (en) | System software update method and system in mobile terminal | |
KR101487774B1 (en) | Apparatus and method for retrieving non volatile item in portable terminal | |
CN113760336A (en) | Software upgrading method and device, electronic equipment and storage medium | |
CN118276896A (en) | Software upgrading method and device and related equipment | |
CN117762504A (en) | System migration method and device | |
CN118276897A (en) | Software upgrading method and device and related equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200324 |
|
RJ01 | Rejection of invention patent application after publication |