CN105704749A - Network parameter recovery apparatus and method thereof - Google Patents

Network parameter recovery apparatus and method thereof Download PDF

Info

Publication number
CN105704749A
CN105704749A CN201610018670.5A CN201610018670A CN105704749A CN 105704749 A CN105704749 A CN 105704749A CN 201610018670 A CN201610018670 A CN 201610018670A CN 105704749 A CN105704749 A CN 105704749A
Authority
CN
China
Prior art keywords
network parameter
parameter file
application program
processing module
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610018670.5A
Other languages
Chinese (zh)
Inventor
张立海
何坚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201610018670.5A priority Critical patent/CN105704749A/en
Publication of CN105704749A publication Critical patent/CN105704749A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a network parameter recovery apparatus and a method thereof. When the apparatus and the method are applied in a whole Netcom mobile terminal, an application program side decides whether parameter synchronization loading needs to be performed when the mobile terminal is switched on every time, in a factory data reset state or in an updating state and in other scenes. If the parameter synchronization loading is needed, a network parameter file stored in the application program side is reloaded to a modem side so as to complete parameter synchronization. The modem side detects a parameter abnormity event. And when an abnormal event is generated, the parameter abnormity event is sent to the application program side. The application program side decides and determines whether parameter abnormity recovery needs to be performed based on the network parameter file of dual memory. When the parameter abnormity recovery needs to be performed, the network parameter file stored in the application program side is reloaded to the modem side so as to replace the abnormal network parameter file. Network parameter recovery is performed on the network parameter file based on dual memory when the parameter recovery is needed so that stability of the mobile terminal can be increased.

Description

Network parameter recovery device and method
Technical field
The present invention relates to communication technique field, particularly relate to a kind of network parameter recovery device and method。
Background technology
At present, the logical terminal of the whole network of improvement has two kinds of implementation models, and one is that single protocol stack coordinates multiple-route cluster parameter, and one is that multi-protocol stack coordinates multiple-route cluster parameter, and the network parameter of latter of which is embedded in protocol stack。The former advantage is in that singly to overlap protocol stack, so being absent from storage and the limitation of protocol stack switching, but safeguards that multiple-route cluster parameter but brings the abnormal risk in parameter upgrading, switching, use procedure。Once abnormal parameters, gently then affect network performance, heavy then make mobile terminal enter unknown abnormality, cause mobile terminal to damage。But, in the logical scheme of the whole network of this improvement, maintenance and the use of network parameter only it is responsible for by the modem processes module of mobile terminal, when network parameter exception, network parameter cannot be recovered to normal condition, the problem that there is mobile terminal less stable by modem processes module。
Summary of the invention
Present invention is primarily targeted at a kind of network parameter recovery device of offer and method, it is intended to improve the stability of mobile terminal。
For achieving the above object, the present invention provides a kind of network parameter recovery device, and this network parameter recovery device includes:
Acquisition module, for when its place application program processing module detects predeterminable event, obtain the first network Parameter File of modem processes module modem side storage to be activated, and obtain the second network parameter file of the described first network Parameter File of correspondence of application program side storage;
Judge module, is used for judging that whether described first network Parameter File is consistent with described second network parameter file;
More new module, for when described first network Parameter File and described second network parameter file are inconsistent, network parameter in described first network Parameter File is replaced with the network parameter in described second network parameter file, for described modem processes module loading the first network Parameter File after activating replacement。
Alternatively, described judge module is additionally operable to obtain the first identification information of described first network Parameter File, and obtains the second identification information of described second network parameter file;And judge that whether described first identification information is consistent with described second identification information, wherein, when described first identifies with described second, information identifies that information is inconsistent, described first network Parameter File is inconsistent with described second network parameter file。
Alternatively, described judge module is additionally operable to get after described first network Parameter File and described second network parameter file at described acquisition module, calculate and the first Message Digest Algorithm 5 MD5 value of described first network Parameter File is identified information as described first, and calculate and the 2nd MD5 value of described second network parameter file is identified information as described second。
Alternatively, described predeterminable event includes described application program processing module and receives parameter renewal instruction and described modem processes module triggering load networks Parameter File, predeterminable event be described application program processing module receive parameter update instruction time, described network parameter recovery device also includes:
Upgraded module, for when its place application program processing module receives parameter renewal instruction, updating instruction based on the described parameter received and update the second network parameter file of application program side storage;
Described acquisition module is additionally operable to after described upgraded module completes to update operation, obtain the first network Parameter File of modem processes module modem side storage to be loaded, and obtain the second network parameter file of the described first network Parameter File of correspondence of application program side storage。
Alternatively, described network parameter recovery device also includes:
Receiver module, for receiving, based on its place application program processing module, the anomalous event that described modem processes module sends, wherein, described anomalous event is activated unsuccessfully at the current first network Parameter File loaded by described modem processes module, reads unsuccessfully, loses inefficacy, switches or upgrades when refreshing unsuccessfully, sends to described application program processing module;
Described acquisition module is additionally operable to when described receiver module receives described anomalous event, obtain the first network Parameter File of modem processes module modem side storage to be loaded, and obtain the second network parameter file of the described first network Parameter File of correspondence of application program side storage。
Further, the present invention also provides for a kind of network parameter recovery device, and this network parameter recovery device includes:
Modem side parameter processing module, when being used for listening to the generation of abnormal parameters event, is sent to application program side parameter processing module by abnormal parameters event;
Application program side parameter processing module, is used for deciding whether to need to carry out abnormal parameters recovery, if desired then the network parameter file that application program side parameter memory module stores is re-loaded to modem side parameter processing module。
Alternatively, modem side parameter processing module is additionally operable to after network parameter file is re-loaded to modem side parameter processing module by application program side parameter processing module, the network parameter file reloaded is stored to modem side parameter memory module, replaces abnormal network parameter file。
Alternatively, application program side parameter processing module, it is additionally operable to when edition upgrading or application software import new network parameter file, the network parameter file that application program side parameter memory module stores is replaced with the network parameter file of new importing, and the network parameter file newly imported is loaded into modem side parameter processing module。
Alternatively, the modes such as the network parameter file of application program side parameter memory module storage is manually imported by application software, software upgrade tool is automatically imported import。
Alternatively, application program side parameter processing module, it is additionally operable to when start every time, the recovery scene such as factory mode or upgrading, decide whether to need to carry out parameter synchronization loading, if desired then the network parameter file that application program side parameter memory module stores is re-loaded to modem side parameter processing module, completes the synchronization of network parameter file。
Further, the present invention also provides for a kind of network parameter restoration methods, and this network parameter restoration methods includes:
When detecting predeterminable event, application program processing module obtains the first network Parameter File of modem processes module modem side storage to be activated, and obtains the second network parameter file of the described first network Parameter File of correspondence of application program side storage;
Described application program processing module judges that whether described first network Parameter File is consistent with described second network parameter file;
When described first network Parameter File and described second network parameter file are inconsistent, network parameter in described first network Parameter File is replaced with the network parameter in described second network parameter file by described application program processing module, for described modem processes module loading the first network Parameter File after activating replacement。
Alternatively, described application program processing module judges that the described first network Parameter File step whether consistent with described second network parameter file includes:
Described application program processing module obtains the first identification information of described first network Parameter File, and obtains the second identification information of described second network parameter file;
Described application program processing module judges that described first identifies with described second, information identifies that whether information is consistent, wherein, when described first identifies with described second, information identifies that information is inconsistent, described first network Parameter File is inconsistent with described second network parameter file。
Alternatively, described application program processing module also includes before judging the step whether described first network Parameter File is consistent with described second network parameter file:
After getting described first network Parameter File and described second network parameter file, described application program processing module calculates and as described first, first Message Digest Algorithm 5 MD5 value of described first network Parameter File is identified information, and calculates and as described second, the 2nd MD5 value of described second network parameter file is identified information。
Alternatively, described predeterminable event includes described application program processing module and receives parameter renewal instruction and described modem processes module triggering load networks Parameter File, predeterminable event be described application program processing module receive parameter update instruction time, described application program processing module obtains the first network Parameter File of modem processes module modem side storage to be loaded, and before obtaining the step of the second network parameter file of the described first network Parameter File of correspondence of application program side storage, also include:
When receiving parameter and updating instruction, described application program processing module updates instruction based on the described parameter received and updates the second network parameter file of application program side storage;
After completing to update operation, proceed to the first network Parameter File performing the modem side storage to be loaded of described application program processing module acquisition modem processes module, and obtain the step of the second network parameter file of the described first network Parameter File of correspondence of application program side storage。
Alternatively, described predeterminable event includes described application program processing module and receives the anomalous event that described modem processes module sends, described application program processing module obtains the first network Parameter File of modem processes module modem side storage to be loaded, and before obtaining the step of the second network parameter file of the described first network Parameter File of correspondence of application program side storage, also include:
The anomalous event that described application program processing module receiving modem processing module sends, wherein, described anomalous event is activated unsuccessfully at the current first network Parameter File loaded by described modem processes module, reads unsuccessfully, loses inefficacy, switches or upgrades when refreshing unsuccessfully, sends to described application program processing module;
When receiving described anomalous event, proceed to the first network Parameter File performing the modem side storage to be loaded of described application program processing module acquisition modem processes module, and obtain the step of the second network parameter file of the described first network Parameter File of correspondence of application program side storage。
Further, the present invention also provides for a kind of network parameter restoration methods, and this network parameter restoration methods includes:
When modem side parameter processing module listens to the generation of abnormal parameters event, abnormal parameters event is sent to application program side parameter processing module;
Application program side parameter processing module decides whether to need to carry out abnormal parameters recovery, if desired then the network parameter file that application program side parameter memory module stores is re-loaded to modem side parameter processing module。
Alternatively, after network parameter file is re-loaded to modem side parameter processing module by application program side parameter processing module, the network parameter file reloaded is stored to modem side parameter memory module by modem side parameter processing module, replaces abnormal network parameter file。
Alternatively, when edition upgrading or application software import new network parameter file, the network parameter file that application program side parameter memory module stores is replaced with the network parameter file of new importing by application program side parameter processing module, and the network parameter file newly imported is loaded into modem side parameter processing module。
Alternatively, the modes such as the network parameter file of application program side parameter memory module storage is manually imported by application program, software upgrade tool is automatically imported import。
Alternatively, when start every time, the recovery scene such as factory mode or upgrading, application program side parameter processing module decides whether to need to carry out parameter synchronization loading, if desired then the network parameter file that application program side parameter memory module stores is re-loaded to modem side parameter processing module, completes the synchronization of network parameter file。
Network parameter recovery device provided by the invention and method, detected the event on mobile terminal by application program processing module, and when there is predeterminable event, gets involved in the network parameter use of modem processes module。Such as, application program processing module is when the network parameter file that modem side is to be activated is inconsistent with the backup network Parameter File of application program side, the network parameter file of modem side is carried out " healing " by the backup network Parameter File using application program side, and the network parameter file for the modem side after modem processes module loading " healing " carries out searching net operation。Compared to prior art, the present invention is linked in the use to network parameter file of the modem processes module by application program processing module flexibly, and when the network parameter file exception used, the network parameter file that " healing " is abnormal, improve the stability of mobile terminal。
Accompanying drawing explanation
Fig. 1 is the hardware architecture diagram realizing each one optional mobile terminal of embodiment of the present invention;
Fig. 2 is the hardware architecture diagram realizing the present invention another optional mobile terminal of each embodiment;
Fig. 3 is the high-level schematic functional block diagram of inventive network parameter restoration device first embodiment;
Fig. 4 is the logical model example figure of the whole network realizing each one optional mobile terminal of embodiment of the present invention;
Fig. 5 is the high-level schematic functional block diagram of inventive network parameter restoration device the second embodiment;
Fig. 6 is the high-level schematic functional block diagram of inventive network parameter restoration device the 3rd embodiment;
Fig. 7 is the high-level schematic functional block diagram of inventive network parameter restoration device the 4th embodiment;
Fig. 8 is the schematic flow sheet of inventive network Parameter reconstruction method first embodiment;
Fig. 9 is the schematic flow sheet of inventive network Parameter reconstruction method the second embodiment;
Figure 10 is the schematic flow sheet of inventive network Parameter reconstruction method the 3rd embodiment;
Figure 11 is the parameter processing schematic flow sheet in inventive network Parameter reconstruction method the 4th embodiment。
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing。
Detailed description of the invention
Should be appreciated that specific embodiment described herein is only in order to explain the present invention, is not intended to limit the present invention。
The mobile terminal realizing each embodiment of the present invention is described referring now to accompanying drawing。In follow-up description, use the suffix being used for representing such as " module ", " parts " or " unit " of element only for being conducive to the explanation of the present invention, itself do not have specific meaning。Therefore, " module " and " parts " can mixedly use。
Mobile terminal can be implemented in a variety of manners。Such as, the mobile terminal described in the present invention can include such as mobile phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP (portable media player), guider etc.。
Referring to Fig. 1, for realizing one optional hardware architecture diagram of mobile terminal of each embodiment of the present invention。The mobile terminal of the embodiment of the present invention includes: Subscriber Identity Module 101, modem 102, application program processing module 103, antenna 104, memorizer 105, transceiver 106。Wherein, modem 102 includes: signal processor 107 and modem processes module 108。
Subscriber Identity Module 101 is placed in draw-in groove (not shown)。Subscriber Identity Module 101 has unique identification number (ICCID), and storage has the data of related network (such as in Subscriber Identity Module 101, MNC, mobile network number), the type of Subscriber Identity Module is can determine that according to the data of identification number or related network。After Subscriber Identity Module type is determined, could correctly obtain network parameter file corresponding thereto to carry out searching net and network registry etc.。
In an embodiment of the present invention, Subscriber Identity Module can be any type, and namely Subscriber Identity Module can be the Subscriber Identity Module of any operator (such as, the arbitrary operator in 217 operators in the whole world)。Accordingly, in the memorizer 105 of the embodiment of the present invention, storage has the network parameter file corresponding with the type of Subscriber Identity Module。In one embodiment, the number of network parameter file is N, N is the natural number more than 1。In a preferred embodiment, N is 217。
In an embodiment of the present invention, it is necessary to the type according to Subscriber Identity Module, the network parameter file corresponding with different types of Subscriber Identity Module is adopted to carry out searching net and network registry。Network parameter file includes searching the parameter such as net and the frequency range of network registry needs, channel number。
Memorizer 105 is used for storing data, as shown in Figure 1, above-mentioned network parameter file has on all four two parts of backup storages, a copy of it is stored in AP (application program side) district of memorizer 105, it is available for application program processing module 103 to access, another part is stored in BP (modem side) district of memorizer 105, is available for modem processes module 108 and accesses。Memorizer 105 can be general or any usable storage medium that can access of special-purpose, and for example, it can include RAM, ROM, EEPROM, disk memory or other magnetic storage apparatus。
Signal processor 107 includes suitable hardware, logical device, circuit and/or coding, has been used for the Base-Band Processing function of protocol stack physical layer, including numeral joint-detection, modulating/demodulating, interleaving/deinterleaving, chnnel coding/decoding, shaping pulse etc.。In one embodiment, protocol stack includes the agreement of the various network formats with network interaction, for instance,
The protocol code provided in the communication standards such as LTE/WCDMA/GSM/TDSCDMA/1X/CDMA/EVDO。The agreement of these standards is subscriber equipment to be interacted (such as, surfed the Net by data traffic, made a phone call by VOLTE or made a phone call by CS circuit domain) and must be complied with carrier network。
Modem processes module 108 is for the physical layer above part in processing protocol stack software, and be used for being responsible for wireless communication function, complete sequencing contro of the A/D conversion of voice signal, D/A conversion, the encoding and decoding of audio digital signals, channel coding/decoding and modem portion etc.。
Application program processing module 103 be used for running open operating system, drive software (such as, screen drive, SD card driving etc.), be responsible for the control of whole system。
Transceiver 106 has been mainly used in the functions such as the up-conversion of signal, down coversion, filtering and amplification。
Antenna 104 is mainly used in transmitting/receiving signal。
In an embodiment of the present invention, antenna 104 can support communicating of whole world full frequency band with transceiver 106。Thus, the mobile terminal of the embodiment of the present invention supports that on hardware whole world the whole network leads to, and supports each network frequency range。Should be understood that antenna 104 and transceiver 106 can adopt prior art。
Additionally, referring to Fig. 2, for realizing another optional hardware architecture diagram of mobile terminal of each embodiment of the present invention。On the basis of mobile terminal shown in Fig. 1, it is provided that memorizer 105' and memorizer 105 ", wherein, memorizer 105' is for storing the network parameter file of modem side, memorizer 105 " for storing the network parameter file of application program side。Should be understood that the function of its each several part is identical compared to the mobile terminal shown in Fig. 1。
Referring to Fig. 3, based on the hardware configuration of the mobile terminal shown in above-mentioned Fig. 1 or Fig. 2, the network parameter recovery device of first embodiment of the invention includes:
Acquisition module 10, for when its place application program processing module detects predeterminable event, obtain the first network Parameter File of modem processes module modem side storage to be activated, and obtain the second network parameter file of the described first network Parameter File of correspondence of application program side storage;
Referring to Fig. 4, for the logical implementation model of the whole network of mobile terminal in the embodiment of the present invention, as shown in Figure 4, network parameter file separates with protocol stack, the modem processes module of mobile terminal activates the network parameter file of operator corresponding to Subscriber Identity Module by protocol stack, carries out searching net registration operation, after completing to search net registration operation, mobile terminal, by being linked in carrier network corresponding described in the network parameter file of activation, provides the user communication service。Namely the mobile terminal support to global network is achieved by the mode of a set of protocol stack correspondence multiple-route cluster Parameter File, it is achieved that the whole network of mobile terminal leads to。But, only safeguarded multiple-route cluster Parameter File by modem processes module, bring risk abnormal in parameter upgrading, switching and use procedure。Once network parameter is abnormal, gently then affecting the network performance of mobile terminal, general provisions cause mobile terminal to damage。In view of this, the purport of the present embodiment is in that to get involved in modem processes module so that the application program processing module of mobile terminal in the maintenance of network parameter and using, and promotes the motility that network parameter uses。Such as, application program processing module is when the network parameter exception of modem processes module, the network parameter using the backup of application program processing module cures the network parameter that modem processes module is abnormal, modem processes module is made to carry out normally searching net operation, normally it is linked in carrier network, for user, thus reaching to promote the purpose of mobile terminal stability。
Concrete, in the present embodiment, event on mobile terminal is detected by application program processing module in real time, acquisition module 10 is when its place application program processing module detects predeterminable event, obtained the first network Parameter File of modem processes module modem side storage to be activated by described application program processing module, and obtain the second network parameter file of the described first network Parameter File of correspondence of application program side storage。It should be noted that, application program processing module obtains the first network Parameter File of modem processes module modem side storage to be activated and includes: described application program processing module sends extracts instruction to described modem processes module, returns the first network Parameter File of its modem side storage to be activated based on the described extraction instruction received for described modem processes module;Described application program processing module receives the first network Parameter File that described modem processes module returns。
Wherein, first network Parameter File and the second network parameter file correspondence refer to the identical standard network parameter that the network parameter entrained by first network Parameter File and the second network parameter file is same operator。Figuratively, arbitrary first network Parameter File of modem side storage all stores the second network parameter file of correspondence in application program side, exists as unloading and disaster-tolerant backup。
Further, in the present embodiment, trigger the described predeterminable event that application program processing module gets involved in during the network parameter of modem processes module uses and include normal load event and abnormal load events。Such as, mobile terminal starts shooting every time, recover factory mode and edition upgrading etc. for normal load event, network parameter cannot activate, read failure, lose lost efficacy, switching or upgrading refresh unsuccessfully etc. for exception load events。
Judge module 20, is used for judging that whether described first network Parameter File is consistent with described second network parameter file;
In the present embodiment, it is judged that module 20 gets after described first network Parameter File and described second network parameter file at described acquisition module 10, and the concordance of described first network Parameter File and described second network parameter file is verified。
It will be understood by those skilled in the art that, when the concordance of described first network Parameter File and described second network parameter file is verified, if described first network Parameter File and described second network parameter file being put together and are contrasted as comparing text based documents, owing to network parameter file is generally bigger, need cost more time, inefficient。
Further, the present embodiment is the consistency desired result efficiency promoting described first network Parameter File and described second network parameter file, described judge module 20 is additionally operable to obtain the first identification information of described first network Parameter File, and obtains the second identification information of described second network parameter file;And judge that whether described first identification information is consistent with described second identification information, wherein, when described first identifies with described second, information identifies that information is inconsistent, described first network Parameter File is inconsistent with described second network parameter file。
It should be noted that the information of identification characterizes network parameter file for unique, if the identification information of two network parameter files is consistent, then illustrate that these two network parameter files are consistent。In the present embodiment, described first identification information is the First Eigenvalue of the described first network Parameter File that described judge module 20 adopts AES to calculate by described application program processing module, and described second identification information is the Second Eigenvalue of the described second network parameter file that described judge module 20 adopts identical AES to calculate by described application program processing module。Getting the first identification information of described first network Parameter File, and after getting the second identification information of described second network parameter file, based on described first identification information and described second, described judge module 20, by comparing the described first identification information of acquisition and described second identification information, identifies that namely the concordance of information can determine whether that whether described first network Parameter File is consistent with described second network parameter file。Skilled addressee readily understands that, when described first identifies with described second, information identifies that information is inconsistent, described first network Parameter File is inconsistent with described second network parameter file;When described first identifies with described second, information identifies that information is consistent, described first network Parameter File is consistent with described second network parameter file。
Further, the AES that described application program processing module calculating eigenvalue adopts includes but not limited to MD5 algorithm, SHA1 algorithm and GPG algorithm。Wherein, MD5 (Message-DigestAlgorithm, Message-Digest Algorithm 5, also referred to as digest algorithm, hash algorithm) is one of widely used hash algorithm; data (such as Chinese character) computing is another fixed-length value by it, in order to provide the integrity protection of data。The document number of this algorithm is RFC1321 (R.Rivest, MITLaboratoryforComputerScienceandRSADataSecurityInc.Apr il1992)。MD5 algorithm has the following characteristics that
1, compressibility: the data of random length, the MD5 value length calculated is all fixing。
2, easily calculate: calculate MD5 value from former data and be easy to。
3, anti-amendment: former data are made any change, even only revising 1 byte, obtained MD5 value has very big difference。
4, strong impact resistant: known former data and its MD5 value, wants that it is extremely difficult for finding a data with identical MD5 value (i.e. data falsification)。
It should be noted that, SHA1 algorithm is the same with MD5 algorithm, it is all based on MD4 algorithm evolution, but it is slightly different, SHA1 algorithm, compared to MD5 algorithm, has higher anti-exhaustive performance, and namely SHA1 algorithm security is higher, but SHA1 algorithm needs to consume and more processes resource, calculates speed slower。
Based on described above, it will be understood by those skilled in the art that, the present embodiment uses and identifies that the purpose of information representation network parameter file is in that the efficiency improving described first network Parameter File and described second network parameter file consistence verification, therefore, in the present embodiment, described judge module 20, before verifying the concordance of described first network Parameter File and described second network parameter file, can adopt MD5 algorithm to calculate the MD5 value of described first network Parameter File and described second network parameter file respectively as respective identification information。
Concrete, in the present embodiment, described judge module 20 is additionally operable to get after described first network Parameter File and described second network parameter file at described acquisition module 10, calculate and the first Message Digest Algorithm 5 MD5 value of described first network Parameter File is identified information as described first, and calculate and the 2nd MD5 value of described second network parameter file is identified information as described second。
Well-known, the length of MD5 value is fixed as 128, in the present embodiment, described judge module 20 characterizes the first identification information of described first network Parameter File getting, and after getting the second identification information characterizing described second network parameter file, namely the data having only to compare 128 can determine whether that whether described first network Parameter File is consistent with described second network parameter file, and the time of cost is several negligible。
More new module 30, for when described first network Parameter File and described second network parameter file are inconsistent, network parameter in described first network Parameter File is replaced with the network parameter in described second network parameter file, for described modem processes module loading the first network Parameter File after activating replacement。
Based on described above, what skilled addressee readily understands that is, when described first network Parameter File and described second network parameter file are inconsistent, illustrate that described first network Parameter File is " unhealthy ", if the first network Parameter File of modem processes module loading " unhealthy " carries out searching net, light then affect the network performance of mobile terminal, heavy then cause the damage of mobile terminal。Therefore, in the present embodiment, when described first network Parameter File and described second network parameter file are inconsistent, it is necessary to first network Parameter File is carried out " healing "。In other embodiments, if described first network Parameter File is consistent with described second network parameter file, then illustrate that described first network Parameter File is " health ", can be loaded and activate described first network Parameter File by described modem。
Concrete, when described first network Parameter File and described second network parameter file are inconsistent, the network parameter in described first network Parameter File is replaced with the network parameter in described second network parameter file by described more new module 30 by described application program processing module。The network parameter that network parameter in described first network Parameter File is replaced with in described second network parameter file by described application program processing module includes: described second network parameter file is sent to described modem processes module by described application program processing module, based on the described second network parameter file received the network parameter in the described first network Parameter File of modem side replaced with the network parameter in described second network parameter file for described modem processes module, wherein, described modem processes module is when being updated operating, described first network Parameter File can will replace with the corresponding network parameter in described second network parameter with the inconsistent network parameter in described second network parameter file;It is also possible that the network parameter entirety stated in first network Parameter File replaces with the network parameter in described second network parameter file。After the renewal completing first network Parameter File operates, described modem processes module can load and activate replacement after first network Parameter File carry out searching net operation, net after successfully searching, by being linked into the carrier network corresponding to the first network Parameter File of activation, for user。
The network parameter recovery device that the present embodiment proposes, is detected the event on mobile terminal by application program processing module, and when there is predeterminable event, gets involved in the network parameter use of modem processes module。Such as, application program processing module is when the network parameter file that modem side is to be activated is inconsistent with the backup network Parameter File of application program side, the network parameter file of modem side is carried out " healing " by the backup network Parameter File using application program side, and the network parameter file for the modem side after modem processes module loading " healing " carries out searching net operation。Compared to prior art, the present invention is linked in the use to network parameter file of the modem processes module by application program processing module flexibly, and when the network parameter file exception used, the network parameter file that " healing " is abnormal, improve the stability of mobile terminal。
Referring to Fig. 5, hardware configuration based on the mobile terminal shown in above-mentioned Fig. 1 or Fig. 2, described predeterminable event includes application program processing module and receives parameter renewal instruction and modem processes module triggering load networks Parameter File, predeterminable event be described application program processing module receive parameter update instruction time, the network parameter recovery device of second embodiment of the invention includes:
Upgraded module 40, for when its place application program processing module receives parameter renewal instruction, updating instruction based on the described parameter received and update the second network parameter file of application program side storage;
Acquisition module 10, after completing to update operation at described upgraded module 40, obtain the first network Parameter File of modem processes module modem side storage to be loaded, and obtain the second network parameter file of the described first network Parameter File of correspondence of application program side storage;
Referring to Fig. 4, for the logical implementation model of the whole network of mobile terminal in the embodiment of the present invention, as shown in Figure 4, network parameter file separates with protocol stack, the modem processes module of mobile terminal activates the network parameter file of operator corresponding to Subscriber Identity Module by protocol stack, carries out searching net registration operation, after completing to search net registration operation, mobile terminal, by being linked in carrier network corresponding described in the network parameter file of activation, provides the user communication service。Namely the mobile terminal support to global network is achieved by the mode of a set of protocol stack correspondence multiple-route cluster Parameter File, it is achieved that the whole network of mobile terminal leads to。But, only safeguarded multiple-route cluster Parameter File by modem processes module, bring risk abnormal in parameter upgrading, switching and use procedure。Once network parameter is abnormal, gently then affecting the network performance of mobile terminal, general provisions cause mobile terminal to damage。In view of this, the purport of the present embodiment is in that to get involved in modem processes module so that the application program processing module of mobile terminal in the maintenance of network parameter and using, and promotes the motility that network parameter uses。Such as, application program processing module is when the network parameter exception of modem processes module, the network parameter using the backup of application program processing module cures the network parameter that modem processes module is abnormal, modem processes module is made to carry out normally searching net operation, normally it is linked in carrier network, for user, thus reaching to promote the purpose of mobile terminal stability。
In the present embodiment, application program processing module safeguards up-to-date network parameter, its source can be edition upgrading, application software importing or alternate manner, application program processing module after updating network parameter every time, get involved in the network parameter use of modem processes module, to judge whether to need the network parameter of modem side is updated, and when needed, update the network parameter of modem side, network parameter after replacing for modem processes module loading, carry out searching net operation, be linked in carrier network for user。
Concrete, upgraded module 40, when its place application program processing module receives parameter renewal instruction, updates instruction based on the described parameter received and updates the second network parameter file of application program side storage;Wherein, described parameter renewal instruction can come from the server of operator, it is also possible to is mobile terminal response user operation triggering etc.。More specifically, described upgraded module 40 is when described application program processing module receives parameter renewal instruction, the parameter obtained and receive updates the upgrade file (including the network parameter of upgrading) that instruction associates, and the content of the second network parameter file is replaced with the content of the upgrade file of acquisition, the network parameter in the second network parameter file of namely upgrading。It is understandable that, after the renewal completing described second network parameter file operates, the corresponding carrier network of the second network parameter file after replacement is adaptive, uses the described second network parameter file after replacing to carry out searching net registration operation and just can normally be linked into the carrier network of its correspondence。
After described upgraded module 40 completes the renewal operation of described second network parameter file, described acquisition module 10 obtains the first network Parameter File of modem processes module modem side storage to be activated by described application program processing module, and obtains the second network parameter file of the described first network Parameter File of correspondence of application program side storage。It should be noted that, application program processing module obtains the first network Parameter File of modem processes module modem side storage to be activated and includes: described application program processing module sends extracts instruction to described modem processes module, returns the first network Parameter File of its modem side storage to be activated based on the described extraction instruction received for described modem processes module;Described application program processing module receives the first network Parameter File that described modem processes module returns。
Wherein, first network Parameter File and the second network parameter file correspondence refer to the identical standard network parameter that the network parameter entrained by first network Parameter File and the second network parameter file is same operator。Figuratively, arbitrary first network Parameter File of modem side storage all stores the second network parameter file of correspondence in application program side, exists as unloading and disaster-tolerant backup。
In addition, in one embodiment, triggering application program processing module gets involved in the described predeterminable event in the network parameter use of modem processes module and includes modem processes module triggering load networks Parameter File, such as, mobile terminal is started shooting every time, is recovered the situation such as factory mode and edition upgrading, and modem processes module will trigger load networks Parameter File。It should be noted that, in this embodiment, if detecting predeterminable event is that modem processes module triggers load networks Parameter File, then described acquisition module 10 can directly obtain the first network Parameter File of modem processes module modem side storage to be activated by described application program processing module, and obtain the second network parameter file of the described first network Parameter File of correspondence of application program side storage, specifically can refer to described above, repeat no more herein。
Judge module 20, is used for judging that whether described first network Parameter File is consistent with described second network parameter file;
In the present embodiment, it is judged that module 20 gets after described first network Parameter File and described second network parameter file at described acquisition module 10, and the concordance of described first network Parameter File and described second network parameter file is verified。
It will be understood by those skilled in the art that, when the concordance of described first network Parameter File and described second network parameter file is verified, if described first network Parameter File and described second network parameter file being put together and are contrasted as comparing text based documents, owing to network parameter file is generally bigger, need cost more time, inefficient。
Further, the present embodiment is the consistency desired result efficiency promoting described first network Parameter File and described second network parameter file, described judge module 20 is additionally operable to obtain the first identification information of described first network Parameter File, and obtains the second identification information of described second network parameter file;And judge that whether described first identification information is consistent with described second identification information, wherein, when described first identifies with described second, information identifies that information is inconsistent, described first network Parameter File is inconsistent with described second network parameter file。
It should be noted that the information of identification characterizes network parameter file for unique, if the identification information of two network parameter files is consistent, then illustrate that these two network parameter files are consistent。In the present embodiment, described first identification information is the First Eigenvalue of the described first network Parameter File that described judge module 20 adopts AES to calculate by described application program processing module, and described second identification information is the Second Eigenvalue of the described second network parameter file that described judge module 20 adopts identical AES to calculate by described application program processing module。Getting the first identification information of described first network Parameter File, and after getting the second identification information of described second network parameter file, based on described first identification information and described second, described judge module 20, by comparing the described first identification information of acquisition and described second identification information, identifies that namely the concordance of information can determine whether that whether described first network Parameter File is consistent with described second network parameter file。Skilled addressee readily understands that, when described first identifies with described second, information identifies that information is inconsistent, described first network Parameter File is inconsistent with described second network parameter file;When described first identifies with described second, information identifies that information is consistent, described first network Parameter File is consistent with described second network parameter file。
Further, the AES that described application program processing module calculating eigenvalue adopts includes but not limited to MD5 algorithm, SHA1 algorithm and GPG algorithm。Wherein, MD5 (Message-DigestAlgorithm, Message-Digest Algorithm 5, also referred to as digest algorithm, hash algorithm) is one of widely used hash algorithm; data (such as Chinese character) computing is another fixed-length value by it, in order to provide the integrity protection of data。The document number of this algorithm is RFC1321 (R.Rivest, MITLaboratoryforComputerScienceandRSADataSecurityInc.Apr il1992)。MD5 algorithm has the following characteristics that
1, compressibility: the data of random length, the MD5 value length calculated is all fixing。
2, easily calculate: calculate MD5 value from former data and be easy to。
3, anti-amendment: former data are made any change, even only revising 1 byte, obtained MD5 value has very big difference。
4, strong impact resistant: known former data and its MD5 value, wants that it is extremely difficult for finding a data with identical MD5 value (i.e. data falsification)。
It should be noted that, SHA1 algorithm is the same with MD5 algorithm, it is all based on MD4 algorithm evolution, but it is slightly different, SHA1 algorithm, compared to MD5 algorithm, has higher anti-exhaustive performance, and namely SHA1 algorithm security is higher, but SHA1 algorithm needs to consume and more processes resource, calculates speed slower。
Based on described above, it will be understood by those skilled in the art that, the present embodiment uses and identifies that the purpose of information representation network parameter file is in that the efficiency improving described first network Parameter File and described second network parameter file consistence verification, therefore, in the present embodiment, described judge module 20, before verifying the concordance of described first network Parameter File and described second network parameter file, can adopt MD5 algorithm to calculate the MD5 value of described first network Parameter File and described second network parameter file respectively as respective identification information。
Concrete, in the present embodiment, described judge module 20 is additionally operable to get after described first network Parameter File and described second network parameter file at described acquisition module 10, calculate and the first Message Digest Algorithm 5 MD5 value of described first network Parameter File is identified information as described first, and calculate and the 2nd MD5 value of described second network parameter file is identified information as described second。
Well-known, the length of MD5 value is fixed as 128, in the present embodiment, described judge module 20 characterizes the first identification information of described first network Parameter File getting, and after getting the second identification information characterizing described second network parameter file, namely the data having only to compare 128 can determine whether that whether described first network Parameter File is consistent with described second network parameter file, and the time of cost is several negligible。
More new module 30, for when described first network Parameter File and described second network parameter file are inconsistent, network parameter in described first network Parameter File is replaced with the network parameter in described second network parameter file, for described modem processes module loading the first network Parameter File after activating replacement。
Based on described above, what skilled addressee readily understands that is, when described first network Parameter File and described second network parameter file are inconsistent, due to described second network parameter file be update after, and adaptive with current carrier network, if still by the described first network Parameter File that described modem processes module activation and described second network parameter file are inconsistent, gently then affect the network performance of mobile terminal, heavy then cause the damage of mobile terminal。Therefore, in the present embodiment, when described first network Parameter File and described second network parameter file are inconsistent, application program processing module described first network Parameter File is updated。In other embodiments, if described first network Parameter File is consistent with described second network parameter file, can be loaded and activate described first network Parameter File by described modem。
Concrete, when described first network Parameter File and described second network parameter file are inconsistent, the network parameter in described first network Parameter File is replaced with the network parameter in described second network parameter file by described more new module 30 by described application program processing module。The network parameter that network parameter in described first network Parameter File is replaced with in described second network parameter file by described application program processing module includes: described second network parameter file is sent to described modem processes module by described application program processing module, based on the described second network parameter file received the network parameter in the described first network Parameter File of modem side replaced with the network parameter in described second network parameter file for described modem processes module, wherein, described modem processes module is when being updated operating, described first network Parameter File can will replace with the corresponding network parameter in described second network parameter with the inconsistent network parameter in described second network parameter file;It is also possible that the network parameter entirety stated in first network Parameter File replaces with the network parameter in described second network parameter file。After the renewal completing first network Parameter File operates, described modem processes module can load and activate replacement after first network Parameter File carry out searching net operation, net after successfully searching, by being linked into the carrier network corresponding to the first network Parameter File of activation, for user。
Referring to Fig. 6, based on the hardware configuration of the mobile terminal shown in above-mentioned Fig. 1 or Fig. 2, the network parameter recovery device of third embodiment of the invention includes:
Receiver module 50, for the anomalous event sent based on its place application program processing module receiving modem processing module, wherein, described anomalous event is activated unsuccessfully at the current first network Parameter File loaded by described modem processes module, reads unsuccessfully, loses inefficacy, switches or upgrades when refreshing unsuccessfully, sends to described application program processing module;
Acquisition module 10, for when described receiver module 50 receives the anomalous event that modem processes module sends, obtain the first network Parameter File of modem processes module modem side storage to be activated, and obtain the second network parameter file of the described first network Parameter File of correspondence of application program side storage;
Referring to Fig. 4, for the logical implementation model of the whole network of mobile terminal in the embodiment of the present invention, as shown in Figure 4, network parameter file separates with protocol stack, the modem processes module of mobile terminal activates the network parameter file of operator corresponding to Subscriber Identity Module by protocol stack, carries out searching net registration operation, after completing to search net registration operation, mobile terminal, by being linked in carrier network corresponding described in the network parameter file of activation, provides the user communication service。Namely the mobile terminal support to global network is achieved by the mode of a set of protocol stack correspondence multiple-route cluster Parameter File, it is achieved that the whole network of mobile terminal leads to。But, only safeguarded multiple-route cluster Parameter File by modem processes module, bring risk abnormal in parameter upgrading, switching and use procedure。Once network parameter is abnormal, gently then affecting the network performance of mobile terminal, general provisions cause mobile terminal to damage。In view of this, the purport of the present embodiment is in that to get involved in modem processes module so that the application program processing module of mobile terminal in the maintenance of network parameter and using, and promotes the motility that network parameter uses。Such as, application program processing module is when the network parameter exception of modem processes module, the network parameter using the backup of application program processing module cures the network parameter that modem processes module is abnormal, modem processes module is made to carry out normally searching net operation, normally it is linked in carrier network, for user, thus reaching to promote the purpose of mobile terminal stability。
In the present embodiment, the anomalous event that application program processing module real-time reception modem processes module sends, and when receiving the described anomalous event that described modem processes module sends, get involved in the network parameter use of modem processes module, to judge whether to need the network parameter of modem processing module is updated, and when needed, update the network parameter of modem processes module, network parameter after replacing for modem processes module loading, carry out searching net operation, it is linked in carrier network for user。
Concrete, modem processes module safeguards the running status of its first network Parameter File currently loaded, and when the running status of described first network Parameter File meets pre-conditioned, sends anomalous event extremely described application program processing module。Wherein, described pre-conditioned include:
The described first network Parameter File of modem processes module loading cannot activate, modem processes module is after activating described first network Parameter File, described first network Parameter File is lost inefficacy, is read unsuccessfully, the current first network Parameter File loaded of modem processes module switching, or the described first network Parameter File that loads of modem processes module upgrade is unsuccessfully etc.。
Acquisition module 10 is when described receiver module 50 receives, based on described application program processing module, the described anomalous event that described modem processes module sends, obtained the first network Parameter File of modem processes module modem side storage to be activated by described application program processing module, and obtain the second network parameter file of the described first network Parameter File of correspondence of application program side storage。It should be noted that, application program processing module obtains the first network Parameter File of modem processes module modem side storage to be activated and includes: described application program processing module sends extracts instruction to described modem processes module, returns the first network Parameter File of its modem side storage to be activated based on the described extraction instruction received for described modem processes module;Described application program processing module receives the first network Parameter File that described modem processes module returns。
Wherein, first network Parameter File and the second network parameter file correspondence refer to the identical standard network parameter that the network parameter entrained by first network Parameter File and the second network parameter file is same operator。Figuratively, arbitrary first network Parameter File of modem side storage all stores the second network parameter file of correspondence in application program side, exists as unloading and disaster-tolerant backup。
Judge module 20, is used for judging that whether described first network Parameter File is consistent with described second network parameter file;
In the present embodiment, it is judged that module 20 gets after described first network Parameter File and described second network parameter file at described acquisition module 10, and the concordance of described first network Parameter File and described second network parameter file is verified。
It will be understood by those skilled in the art that, when the concordance of described first network Parameter File and described second network parameter file is verified, if described first network Parameter File and described second network parameter file being put together and are contrasted as comparing text based documents, owing to network parameter file is generally bigger, need cost more time, inefficient。
Further, the present embodiment is the consistency desired result efficiency promoting described first network Parameter File and described second network parameter file, described judge module 20 is additionally operable to obtain the first identification information of described first network Parameter File, and obtains the second identification information of described second network parameter file;And judge that whether described first identification information is consistent with described second identification information, wherein, when described first identifies with described second, information identifies that information is inconsistent, described first network Parameter File is inconsistent with described second network parameter file。
It should be noted that the information of identification characterizes network parameter file for unique, if the identification information of two network parameter files is consistent, then illustrate that these two network parameter files are consistent。In the present embodiment, described first identification information is the First Eigenvalue of the described first network Parameter File that described judge module 20 adopts AES to calculate by described application program processing module, and described second identification information is the Second Eigenvalue of the described second network parameter file that described judge module 20 adopts identical AES to calculate by described application program processing module。Getting the first identification information of described first network Parameter File, and after getting the second identification information of described second network parameter file, based on described first identification information and described second, described judge module 20, by comparing the described first identification information of acquisition and described second identification information, identifies that namely the concordance of information can determine whether that whether described first network Parameter File is consistent with described second network parameter file。Skilled addressee readily understands that, when described first identifies with described second, information identifies that information is inconsistent, described first network Parameter File is inconsistent with described second network parameter file;When described first identifies with described second, information identifies that information is consistent, described first network Parameter File is consistent with described second network parameter file。
Further, the AES that described application program processing module calculating eigenvalue adopts includes but not limited to MD5 algorithm, SHA1 algorithm and GPG algorithm。Wherein, MD5 (Message-DigestAlgorithm, Message-Digest Algorithm 5, also referred to as digest algorithm, hash algorithm) is one of widely used hash algorithm; data (such as Chinese character) computing is another fixed-length value by it, in order to provide the integrity protection of data。The document number of this algorithm is RFC1321 (R.Rivest, MITLaboratoryforComputerScienceandRSADataSecurityInc.Apr il1992)。MD5 algorithm has the following characteristics that
1, compressibility: the data of random length, the MD5 value length calculated is all fixing。
2, easily calculate: calculate MD5 value from former data and be easy to。
3, anti-amendment: former data are made any change, even only revising 1 byte, obtained MD5 value has very big difference。
4, strong impact resistant: known former data and its MD5 value, wants that it is extremely difficult for finding a data with identical MD5 value (i.e. data falsification)。
It should be noted that, SHA1 algorithm is the same with MD5 algorithm, it is all based on MD4 algorithm evolution, but it is slightly different, SHA1 algorithm, compared to MD5 algorithm, has higher anti-exhaustive performance, and namely SHA1 algorithm security is higher, but SHA1 algorithm needs to consume and more processes resource, calculates speed slower。
Based on described above, it will be understood by those skilled in the art that, the present embodiment uses and identifies that the purpose of information representation network parameter file is in that the efficiency improving described first network Parameter File and described second network parameter file consistence verification, therefore, in the present embodiment, described judge module 20, before verifying the concordance of described first network Parameter File and described second network parameter file, can adopt MD5 algorithm to calculate the MD5 value of described first network Parameter File and described second network parameter file respectively as respective identification information。
Concrete, in the present embodiment, described judge module 20 is additionally operable to get after described first network Parameter File and described second network parameter file at described acquisition module 10, calculate and the first Message Digest Algorithm 5 MD5 value of described first network Parameter File is identified information as described first, and calculate and the 2nd MD5 value of described second network parameter file is identified information as described second。
Well-known, the length of MD5 value is fixed as 128, in the present embodiment, described judge module 20 characterizes the first identification information of described first network Parameter File getting, and after getting the second identification information characterizing described second network parameter file, namely the data having only to compare 128 can determine whether that whether described first network Parameter File is consistent with described second network parameter file, and the time of cost is several negligible。
More new module 30, for when described first network Parameter File and described second network parameter file are inconsistent, network parameter in described first network Parameter File is replaced with the network parameter in described second network parameter file, for described modem processes module loading the first network Parameter File after activating replacement。
Based on described above, what skilled addressee readily understands that is, when described first network Parameter File and described second network parameter file are inconsistent, illustrate that described first network Parameter File is " unhealthy ", if the first network Parameter File of modem processes module loading " unhealthy " carries out searching net, light then affect the network performance of mobile terminal, heavy then cause the damage of mobile terminal。Therefore, in the present embodiment, when described first network Parameter File and described second network parameter file are inconsistent, it is necessary to first network Parameter File is carried out " healing "。In other embodiments, if described first network Parameter File is consistent with described second network parameter file, then illustrate that described first network Parameter File is " health ", can be loaded and activate described first network Parameter File by described modem。
Concrete, when described first network Parameter File and described second network parameter file are inconsistent, the network parameter in described first network Parameter File is replaced with the network parameter in described second network parameter file by described more new module 30 by described application program processing module。The network parameter that network parameter in described first network Parameter File is replaced with in described second network parameter file by described application program processing module includes: described second network parameter file is sent to described modem processes module by described application program processing module, based on the described second network parameter file received the network parameter in the described first network Parameter File of modem side replaced with the network parameter in described second network parameter file for described modem processes module, wherein, described modem processes module is when being updated operating, described first network Parameter File can will replace with the corresponding network parameter in described second network parameter with the inconsistent network parameter in described second network parameter file;It is also possible that the network parameter entirety stated in first network Parameter File replaces with the network parameter in described second network parameter file。After the renewal completing first network Parameter File operates, described modem processes module can load and activate replacement after first network Parameter File carry out searching net operation, net after successfully searching, by being linked into the carrier network corresponding to the first network Parameter File of activation, for user。
The present invention further provides a kind of network parameter recovery device, referring to Fig. 7, in the 4th embodiment of inventive network parameter restoration device, described network parameter recovery device includes:
Modem side parameter processing module 60, when being used for listening to the generation of abnormal parameters event, is sent to application program side parameter processing module 70 by abnormal parameters event;
When being embodied as, modem side parameter processing module 60 is responsible for monitoring the generation of abnormal parameters event, including but not limited to not activate, read failure, lose lost efficacy, switching or upgrading refresh the event such as unsuccessfully。If abnormal parameters event being detected, modem side parameter processing module 60 by abnormal parameters reporting events to application program side parameter processing module 70。
Application program side parameter processing module 70, is used for deciding whether to need to carry out abnormal parameters recovery, if desired then the network parameter file that application program side parameter memory module 80 stores is re-loaded to modem side parameter processing module 60。
Application program side parameter processing module 70 is when receiving the abnormal parameters event from modem side parameter processing module 60; decide whether to need to carry out abnormal parameters recovery; in the specific implementation; application program side parameter processing module 70 judges that whether abnormal network parameter file is consistent with the network parameter file that application program side parameter memory module 80 stores; wherein; if consistent, it be made without abnormal parameters and recover, inconsistent, need to carry out abnormal parameters recovery。It should be noted that, application program side parameter processing module 70 can by adopting the mode that AES calculates eigenvalue to verify the concordance of both of the aforesaid network parameter file, such as, MD5 algorithm can be adopted to calculate the MD5 value of both of the aforesaid network parameter file respectively, then two MD5 values of calculating are compared, if consistent, illustrate that both of the aforesaid network parameter file is consistent, otherwise inconsistent。
When judgement needs to carry out abnormal parameters recovery; the network parameter file that application program side parameter memory module 80 stores is re-loaded to modem side parameter processing module 60 by application program side parameter processing module 70, completes abnormal parameters for modem side parameter processing module 60 and recovers。Wherein, the modes such as the network parameter file of application program side parameter memory module 80 storage is manually imported by application software, software upgrade tool is automatically imported import。Such as, software upgrade tool, when outside network parameter updates/upgrades, is automatically imported the network parameter file after renewal/upgrading。
Under preferred embodiment, modem side parameter processing module 60 is additionally operable to after network parameter file is re-loaded to modem side parameter processing module 60 by application program side parameter processing module 70, the network parameter file reloaded is stored to modem side parameter memory module 90, replaces abnormal network parameter file。
When being embodied as, modem side parameter processing module 60 can adopt incremental update or the mode that updates completely to replace abnormal network parameter file, namely network parameter inconsistent with the network parameter file reloaded in the abnormal network parameter file of storage in modem side parameter memory module 90 can be replaced with the corresponding network parameter in the network parameter file reloaded by modem side parameter processing module 60, also the abnormal network parameter file entirety of storage in modem side parameter memory module 90 can be replaced with the network parameter file reloaded。
Under preferred embodiment, application program side parameter processing module 70, it is additionally operable to when edition upgrading or application software import new network parameter file, the network parameter file that application program side parameter memory module 80 stores is replaced with the network parameter file of new importing, and the network parameter file newly imported is loaded into modem side parameter processing module 60, the synchronization of network parameter file is completed for modem side parameter processing module 60。
When being embodied as, modem side parameter processing module 60 can adopt incremental update or the mode that updates completely to synchronize current network parameter file, namely network parameter inconsistent with the new network parameter file imported in the current network Parameter File of storage in modem side parameter memory module 90 can be replaced with the corresponding network parameter in the network parameter file of new importing by modem side parameter processing module 60, the current network Parameter File entirety of storage in modem side parameter memory module 90 also can be replaced with the network parameter file of new importing。
Under preferred embodiment, application program side parameter processing module 70, it is additionally operable to when start every time, the recovery scene such as factory mode or upgrading, decide whether to need to carry out parameter synchronization loading, if desired then the network parameter file that application program side parameter memory module 80 stores is re-loaded to modem side parameter processing module 60, completes the synchronization of network parameter file for modem side parameter processing module 60。
Application program side parameter processing module 70 is when start every time, the recovery scene such as factory mode or upgrading, decide whether to need to carry out parameter synchronization loading, in the specific implementation, application program side parameter processing module 70 judges that whether the network parameter file of application program side parameter memory module 80 storage is consistent with the network parameter file that modem side memory module 90 stores, wherein, if consistent, it be made without parameter synchronization and load, inconsistent, need to carry out parameter synchronization loading。It should be noted that, application program side parameter processing module 70 can by adopting the mode that AES calculates eigenvalue to verify the concordance of both of the aforesaid network parameter file, such as, MD5 algorithm can be adopted to calculate the MD5 value of both of the aforesaid network parameter file respectively, then two MD5 values of calculating are compared, if consistent, illustrate that both of the aforesaid network parameter file is consistent, otherwise inconsistent。
When judgement needs to carry out parameter synchronization loading, the network parameter file that application program side parameter memory module 80 stores is re-loaded to modem side parameter processing module 60 by application program side parameter processing module 70, the synchronization of network parameter file is completed for modem side parameter processing module 60, specifically referring to described above, can repeat no more herein。
The present invention further provides a kind of network parameter restoration methods, referring to Fig. 8, based on the hardware configuration of the mobile terminal shown in above-mentioned Fig. 1 or Fig. 2, the network parameter restoration methods of first embodiment of the invention includes:
Step S10, when detecting predeterminable event, application program processing module obtains the first network Parameter File of modem processes module modem side storage to be activated, and obtains the second network parameter file of the described first network Parameter File of correspondence of application program side storage;
Referring to Fig. 4, for the logical implementation model of the whole network of mobile terminal in the embodiment of the present invention, as shown in Figure 4, network parameter file separates with protocol stack, the modem processes module of mobile terminal activates the network parameter file of operator corresponding to Subscriber Identity Module by protocol stack, carries out searching net registration operation, after completing to search net registration operation, mobile terminal, by being linked in carrier network corresponding described in the network parameter file of activation, provides the user communication service。Namely the mobile terminal support to global network is achieved by the mode of a set of protocol stack correspondence multiple-route cluster Parameter File, it is achieved that the whole network of mobile terminal leads to。But, only safeguarded multiple-route cluster Parameter File by modem processes module, bring risk abnormal in parameter upgrading, switching and use procedure。Once network parameter is abnormal, gently then affecting the network performance of mobile terminal, general provisions cause mobile terminal to damage。In view of this, the purport of the present embodiment is in that to get involved in modem processes module so that the application program processing module of mobile terminal in the maintenance of network parameter and using, and promotes the motility that network parameter uses。Such as, application program processing module is when the network parameter exception of modem processes module, the network parameter using the backup of application program processing module cures the network parameter that modem processes module is abnormal, modem processes module is made to carry out normally searching net operation, normally it is linked in carrier network, for user, thus reaching to promote the purpose of mobile terminal stability。
Concrete, in the present embodiment, event on mobile terminal is detected by application program processing module in real time, and when detecting predeterminable event, obtain the first network Parameter File of modem processes module modem side storage to be activated, and obtain the second network parameter file of the described first network Parameter File of correspondence of application program side storage。It should be noted that, application program processing module obtains the first network Parameter File of modem processes module modem side storage to be activated and includes: described application program processing module sends extracts instruction to described modem processes module, returns the first network Parameter File of its modem side storage to be activated based on the described extraction instruction received for described modem processes module;Described application program processing module receives the first network Parameter File that described modem processes module returns。
Wherein, first network Parameter File and the second network parameter file correspondence refer to the identical standard network parameter that the network parameter entrained by first network Parameter File and the second network parameter file is same operator。Figuratively, arbitrary first network Parameter File of modem side storage all stores the second network parameter file of correspondence in application program side, exists as unloading and disaster-tolerant backup。
Further, in the present embodiment, trigger the described predeterminable event that application program processing module gets involved in during the network parameter of modem processes module uses and include normal load event and abnormal load events。Such as, mobile terminal starts shooting every time, recover factory mode and edition upgrading etc. for normal load event, network parameter cannot activate, read failure, lose lost efficacy, switching or upgrading refresh unsuccessfully etc. for exception load events。
Step S20, described application program processing module judges that whether described first network Parameter File is consistent with described second network parameter file;
In the present embodiment, the concordance of described first network Parameter File and described second network parameter file, after getting described first network Parameter File and described second network parameter file, is verified by described application program processing module。
It will be understood by those skilled in the art that, when the concordance of described first network Parameter File and described second network parameter file is verified, if described first network Parameter File and described second network parameter file being put together and are contrasted as comparing text based documents, owing to network parameter file is generally bigger, need cost more time, inefficient。
Further, the present embodiment is the consistency desired result efficiency promoting described first network Parameter File and described second network parameter file, and described application program processing module judges that whether described first network Parameter File is consistent with described second network parameter file and includes:
Described application program processing module obtains the first identification information of described first network Parameter File, and obtains the second identification information of described second network parameter file;
Described application program processing module judges that described first identifies with described second, information identifies that whether information is consistent, wherein, when described first identifies with described second, information identifies that information is inconsistent, described first network Parameter File is inconsistent with described second network parameter file。
It should be noted that the information of identification characterizes network parameter file for unique, if the identification information of two network parameter files is consistent, then illustrate that these two network parameter files are consistent。In the present embodiment, described first identification information is the First Eigenvalue of the described first network Parameter File that described application program processing module adopts AES to calculate, and described second identification information is the Second Eigenvalue of the described second network parameter file that described application program processing module adopts identical AES to calculate。Getting the first identification information of described first network Parameter File, and after getting the second identification information of described second network parameter file, based on described first identification information and described second, described application program processing module, by comparing the described first identification information of acquisition and described second identification information, identifies that namely the concordance of information can determine whether that whether described first network Parameter File is consistent with described second network parameter file。Skilled addressee readily understands that, when described first identifies with described second, information identifies that information is inconsistent, described first network Parameter File is inconsistent with described second network parameter file;When described first identifies with described second, information identifies that information is consistent, described first network Parameter File is consistent with described second network parameter file。
Further, the AES that described application program processing module calculating eigenvalue adopts includes but not limited to MD5 algorithm, SHA1 algorithm and GPG algorithm。Wherein, MD5 (Message-DigestAlgorithm, Message-Digest Algorithm 5, also referred to as digest algorithm, hash algorithm) is one of widely used hash algorithm; data (such as Chinese character) computing is another fixed-length value by it, in order to provide the integrity protection of data。The document number of this algorithm is RFC1321 (R.Rivest, MITLaboratoryforComputerScienceandRSADataSecurityInc.Apr il1992)。MD5 algorithm has the following characteristics that
1, compressibility: the data of random length, the MD5 value length calculated is all fixing。
2, easily calculate: calculate MD5 value from former data and be easy to。
3, anti-amendment: former data are made any change, even only revising 1 byte, obtained MD5 value has very big difference。
4, strong impact resistant: known former data and its MD5 value, wants that it is extremely difficult for finding a data with identical MD5 value (i.e. data falsification)。
It should be noted that, SHA1 algorithm is the same with MD5 algorithm, it is all based on MD4 algorithm evolution, but it is slightly different, SHA1 algorithm, compared to MD5 algorithm, has higher anti-exhaustive performance, and namely SHA1 algorithm security is higher, but SHA1 algorithm needs to consume and more processes resource, calculates speed slower。
Based on described above, it will be understood by those skilled in the art that, the present embodiment uses and identifies that the purpose of information representation network parameter file is in that the efficiency improving described first network Parameter File and described second network parameter file consistence verification, therefore, in the present embodiment, described application program processing module, before verifying the concordance of described first network Parameter File and described second network parameter file, can adopt MD5 algorithm to calculate the MD5 value of described first network Parameter File and described second network parameter file respectively as respective identification information。
Concrete, in the present embodiment, described application program processing module also includes before judging the step whether described first network Parameter File is consistent with described second network parameter file:
After getting described first network Parameter File and described second network parameter file, described application program processing module calculates and as described first, first Message Digest Algorithm 5 MD5 value of described first network Parameter File is identified information, and calculates and as described second, the 2nd MD5 value of described second network parameter file is identified information。
Well-known, the length of MD5 value is fixed as 128, in the present embodiment, described application program processing module characterizes the first identification information of described first network Parameter File getting, and after getting the second identification information characterizing described second network parameter file, namely the data having only to compare 128 can determine whether that whether described first network Parameter File is consistent with described second network parameter file, and the time of cost is several negligible。
Step S30, when described first network Parameter File and described second network parameter file are inconsistent, network parameter in described first network Parameter File is replaced with the network parameter in described second network parameter file by described application program processing module, for described modem processes module loading the first network Parameter File after activating replacement。
Based on described above, what skilled addressee readily understands that is, when described first network Parameter File and described second network parameter file are inconsistent, illustrate that described first network Parameter File is " unhealthy ", if the first network Parameter File of modem processes module loading " unhealthy " carries out searching net, light then affect the network performance of mobile terminal, heavy then cause the damage of mobile terminal。Therefore, in the present embodiment, when described first network Parameter File and described second network parameter file are inconsistent, application program processing module first network Parameter File is carried out " healing "。In other embodiments, if described first network Parameter File is consistent with described second network parameter file, then illustrate that described first network Parameter File is " health ", can be loaded and activate described first network Parameter File by described modem。
Concrete, when described first network Parameter File and described second network parameter file are inconsistent, the network parameter in described first network Parameter File is replaced with the network parameter in described second network parameter file by described application program processing module。The network parameter that network parameter in described first network Parameter File is replaced with in described second network parameter file by described application program processing module includes: described second network parameter file is sent to described modem processes module by described application program processing module, based on the described second network parameter file received the network parameter in the described first network Parameter File of modem side replaced with the network parameter in described second network parameter file for described modem processes module, wherein, described modem processes module is when being updated operating, described first network Parameter File can will replace with the corresponding network parameter in described second network parameter with the inconsistent network parameter in described second network parameter file;It is also possible that the network parameter entirety stated in first network Parameter File replaces with the network parameter in described second network parameter file。After the renewal completing first network Parameter File operates, described modem processes module can load and activate replacement after first network Parameter File carry out searching net operation, net after successfully searching, by being linked into the carrier network corresponding to the first network Parameter File of activation, for user。
The network parameter restoration methods that the present embodiment proposes, is detected the event on mobile terminal by application program processing module, and when there is predeterminable event, gets involved in the network parameter use of modem processes module。Such as, application program processing module is when the network parameter file that modem side is to be activated is inconsistent with the backup network Parameter File of application program side, the network parameter file of modem side is carried out " healing " by the backup network Parameter File using application program side, and the network parameter file for the modem side after modem processes module loading " healing " carries out searching net operation。Compared to prior art, the present invention is linked in the use to network parameter file of the modem processes module by application program processing module flexibly, and when the network parameter file exception used, the network parameter file that " healing " is abnormal, improve the stability of mobile terminal。
Referring to Fig. 9, hardware configuration based on the mobile terminal shown in above-mentioned Fig. 1 or Fig. 2, described predeterminable event includes application program processing module and receives parameter renewal instruction and modem processes module triggering load networks Parameter File, predeterminable event be described application program processing module receive parameter update instruction time, the network parameter restoration methods of second embodiment of the invention includes:
Step S40, when receiving parameter and updating instruction, application program processing module updates instruction based on the described parameter received and updates the second network parameter file of application program side storage;And after the renewal completing the second network parameter file operates, proceed to execution step S10;
Step S10, application program processing module obtains the first network Parameter File of modem processes module modem side storage to be activated, and obtains the second network parameter file of the described first network Parameter File of correspondence of application program side storage;
Referring to Fig. 4, for the logical implementation model of the whole network of mobile terminal in the embodiment of the present invention, as shown in Figure 4, network parameter file separates with protocol stack, the modem processes module of mobile terminal activates the network parameter file of operator corresponding to Subscriber Identity Module by protocol stack, carries out searching net registration operation, after completing to search net registration operation, mobile terminal, by being linked in carrier network corresponding described in the network parameter file of activation, provides the user communication service。Namely the mobile terminal support to global network is achieved by the mode of a set of protocol stack correspondence multiple-route cluster Parameter File, it is achieved that the whole network of mobile terminal leads to。But, only safeguarded multiple-route cluster Parameter File by modem processes module, bring risk abnormal in parameter upgrading, switching and use procedure。Once network parameter is abnormal, gently then affecting the network performance of mobile terminal, general provisions cause mobile terminal to damage。In view of this, the purport of the present embodiment is in that to get involved in modem processes module so that the application program processing module of mobile terminal in the maintenance of network parameter and using, and promotes the motility that network parameter uses。Such as, application program processing module is when the network parameter exception of modem processes module, the network parameter using the backup of application program processing module cures the network parameter that modem processes module is abnormal, modem processes module is made to carry out normally searching net operation, normally it is linked in carrier network, for user, thus reaching to promote the purpose of mobile terminal stability。
In the present embodiment, application program processing module safeguards up-to-date network parameter, its source can be edition upgrading, application software importing or alternate manner, application program processing module after updating network parameter every time, get involved in the network parameter use of modem processes module, to judge whether to need the network parameter of modem side is updated, and when needed, update the network parameter of modem side, network parameter after replacing for modem processes module loading, carry out searching net operation, be linked in carrier network for user。
Concrete, when receiving parameter and updating instruction, described application program processing module updates instruction based on the described parameter received and updates the second network parameter file of application program side storage;Wherein, described parameter renewal instruction can come from the server of operator, it is also possible to is mobile terminal response user operation triggering etc.。More specifically, described application program processing module is when receiving parameter and updating instruction, the parameter obtained and receive updates the upgrade file (including the network parameter of upgrading) that instruction associates, and the content of the second network parameter file is replaced with the content of the upgrade file of acquisition, the network parameter in the second network parameter file of namely upgrading。It is understandable that, after the renewal completing described second network parameter file operates, the corresponding carrier network of the second network parameter file after replacement is adaptive, uses the described second network parameter file after replacing to carry out searching net registration operation and just can normally be linked into the carrier network of its correspondence。
After the renewal completing described second network parameter file operates, described application program processing module obtains the first network Parameter File of modem processes module modem side storage to be activated, and obtains the second network parameter file of the described first network Parameter File of correspondence of application program side storage。It should be noted that, application program processing module obtains the first network Parameter File of modem processes module modem side storage to be activated and includes: described application program processing module sends extracts instruction to described modem processes module, returns the first network Parameter File of its modem side storage to be activated based on the described extraction instruction received for described modem processes module;Described application program processing module receives the first network Parameter File that described modem processes module returns。
Wherein, first network Parameter File and the second network parameter file correspondence refer to the identical standard network parameter that the network parameter entrained by first network Parameter File and the second network parameter file is same operator。Figuratively, arbitrary first network Parameter File of modem side storage all stores the second network parameter file of correspondence in application program side, exists as unloading and disaster-tolerant backup。
In addition, in one embodiment, triggering application program processing module gets involved in the described predeterminable event in the network parameter use of modem processes module and includes modem processes module triggering load networks Parameter File, such as, mobile terminal is started shooting every time, is recovered the situation such as factory mode and edition upgrading, and modem processes module will trigger load networks Parameter File。It should be noted that, in this embodiment, if detecting predeterminable event is that modem processes module triggers load networks Parameter File, then described application program processing module directly obtains the first network Parameter File of modem processes module modem side storage to be activated, and obtain the second network parameter file of the described first network Parameter File of correspondence of application program side storage, specifically can refer to described above, repeat no more herein。
Step S20, described application program processing module judges that whether described first network Parameter File is consistent with described second network parameter file;
In the present embodiment, the concordance of described first network Parameter File and described second network parameter file, after getting described first network Parameter File and described second network parameter file, is verified by described application program processing module。
It will be understood by those skilled in the art that, when the concordance of described first network Parameter File and described second network parameter file is verified, if described first network Parameter File and described second network parameter file being put together and are contrasted as comparing text based documents, owing to network parameter file is generally bigger, need cost more time, inefficient。
Further, the present embodiment is the consistency desired result efficiency promoting described first network Parameter File and described second network parameter file, and described application program processing module judges that whether described first network Parameter File is consistent with described second network parameter file and includes:
Described application program processing module obtains the first identification information of described first network Parameter File, and obtains the second identification information of described second network parameter file;
Described application program processing module judges that described first identifies with described second, information identifies that whether information is consistent, wherein, when described first identifies with described second, information identifies that information is inconsistent, described first network Parameter File is inconsistent with described second network parameter file。
It should be noted that the information of identification characterizes network parameter file for unique, if the identification information of two network parameter files is consistent, then illustrate that these two network parameter files are consistent。In the present embodiment, described first identification information is the First Eigenvalue of the described first network Parameter File that described application program processing module adopts AES to calculate, and described second identification information is the Second Eigenvalue of the described second network parameter file that described application program processing module adopts identical AES to calculate。Getting the first identification information of described first network Parameter File, and after getting the second identification information of described second network parameter file, based on described first identification information and described second, described application program processing module, by comparing the described first identification information of acquisition and described second identification information, identifies that namely the concordance of information can determine whether that whether described first network Parameter File is consistent with described second network parameter file。Skilled addressee readily understands that, when described first identifies with described second, information identifies that information is inconsistent, described first network Parameter File is inconsistent with described second network parameter file;When described first identifies with described second, information identifies that information is consistent, described first network Parameter File is consistent with described second network parameter file。
Further, the AES that described application program processing module calculating eigenvalue adopts includes but not limited to MD5 algorithm, SHA1 algorithm and GPG algorithm。Wherein, MD5 (Message-DigestAlgorithm, Message-Digest Algorithm 5, also referred to as digest algorithm, hash algorithm) is one of widely used hash algorithm; data (such as Chinese character) computing is another fixed-length value by it, in order to provide the integrity protection of data。The document number of this algorithm is RFC1321 (R.Rivest, MITLaboratoryforComputerScienceandRSADataSecurityInc.Apr il1992)。MD5 algorithm has the following characteristics that
1, compressibility: the data of random length, the MD5 value length calculated is all fixing。
2, easily calculate: calculate MD5 value from former data and be easy to。
3, anti-amendment: former data are made any change, even only revising 1 byte, obtained MD5 value has very big difference。
4, strong impact resistant: known former data and its MD5 value, wants that it is extremely difficult for finding a data with identical MD5 value (i.e. data falsification)。
It should be noted that, SHA1 algorithm is the same with MD5 algorithm, it is all based on MD4 algorithm evolution, but it is slightly different, SHA1 algorithm, compared to MD5 algorithm, has higher anti-exhaustive performance, and namely SHA1 algorithm security is higher, but SHA1 algorithm needs to consume and more processes resource, calculates speed slower。
Based on described above, it will be understood by those skilled in the art that, the present embodiment uses and identifies that the purpose of information representation network parameter file is in that the efficiency improving described first network Parameter File and described second network parameter file consistence verification, therefore, in the present embodiment, described application program processing module, before verifying the concordance of described first network Parameter File and described second network parameter file, can adopt MD5 algorithm to calculate the MD5 value of described first network Parameter File and described second network parameter file respectively as respective identification information。
Concrete, in the present embodiment, described application program processing module also includes before judging the step whether described first network Parameter File is consistent with described second network parameter file:
After getting described first network Parameter File and described second network parameter file, described application program processing module calculates and as described first, first Message Digest Algorithm 5 MD5 value of described first network Parameter File is identified information, and calculates and as described second, the 2nd MD5 value of described second network parameter file is identified information。
Well-known, the length of MD5 value is fixed as 128, in the present embodiment, described application program processing module characterizes the first identification information of described first network Parameter File getting, and after getting the second identification information characterizing described second network parameter file, namely the data having only to compare 128 can determine whether that whether described first network Parameter File is consistent with described second network parameter file, and the time of cost is several negligible。
Step S30, when described first network Parameter File and described second network parameter file are inconsistent, network parameter in described first network Parameter File is replaced with the network parameter in described second network parameter file by described application program processing module, for described modem processes module loading the first network Parameter File after activating replacement。
Based on described above, what skilled addressee readily understands that is, when described first network Parameter File and described second network parameter file are inconsistent, due to described second network parameter file be update after, and adaptive with current carrier network, if still by the described first network Parameter File that described modem processes module activation and described second network parameter file are inconsistent, gently then affect the network performance of mobile terminal, heavy then cause the damage of mobile terminal。Therefore, in the present embodiment, when described first network Parameter File and described second network parameter file are inconsistent, application program processing module described first network Parameter File is updated。In other embodiments, if described first network Parameter File is consistent with described second network parameter file, can be loaded and activate described first network Parameter File by described modem。
Concrete, when described first network Parameter File and described second network parameter file are inconsistent, the network parameter in described first network Parameter File is replaced with the network parameter in described second network parameter file by described application program processing module。The network parameter that network parameter in described first network Parameter File is replaced with in described second network parameter file by described application program processing module includes: described second network parameter file is sent to described modem processes module by described application program processing module, based on the described second network parameter file received the network parameter in the described first network Parameter File of modem side replaced with the network parameter in described second network parameter file for described modem processes module, wherein, described modem processes module is when being updated operating, described first network Parameter File can will replace with the corresponding network parameter in described second network parameter with the inconsistent network parameter in described second network parameter file;It is also possible that the network parameter entirety stated in first network Parameter File replaces with the network parameter in described second network parameter file。After the renewal completing first network Parameter File operates, described modem processes module can load and activate replacement after first network Parameter File carry out searching net operation, net after successfully searching, by being linked into the carrier network corresponding to the first network Parameter File of activation, for user。
Referring to Figure 10, based on the hardware configuration of the mobile terminal shown in above-mentioned Fig. 1 or Fig. 2, the network parameter restoration methods of third embodiment of the invention includes:
Step S50, the anomalous event that application program processing module receiving modem processing module sends, wherein, described anomalous event is activated unsuccessfully at the current first network Parameter File loaded by described modem processes module, reads unsuccessfully, loses inefficacy, switches or upgrades when refreshing unsuccessfully, sends to described application program processing module;
Step S10, when receiving the described anomalous event that described modem processes module sends, described application program processing module obtains the first network Parameter File of modem processes module modem side storage to be activated, and obtains the second network parameter file of the described first network Parameter File of correspondence of application program side storage;
Referring to Fig. 4, for the logical implementation model of the whole network of mobile terminal in the embodiment of the present invention, as shown in Figure 4, network parameter file separates with protocol stack, the modem processes module of mobile terminal activates the network parameter file of operator corresponding to Subscriber Identity Module by protocol stack, carries out searching net registration operation, after completing to search net registration operation, mobile terminal, by being linked in carrier network corresponding described in the network parameter file of activation, provides the user communication service。Namely the mobile terminal support to global network is achieved by the mode of a set of protocol stack correspondence multiple-route cluster Parameter File, it is achieved that the whole network of mobile terminal leads to。But, only safeguarded multiple-route cluster Parameter File by modem processes module, bring risk abnormal in parameter upgrading, switching and use procedure。Once network parameter is abnormal, gently then affecting the network performance of mobile terminal, general provisions cause mobile terminal to damage。In view of this, the purport of the present embodiment is in that to get involved in modem processes module so that the application program processing module of mobile terminal in the maintenance of network parameter and using, and promotes the motility that network parameter uses。Such as, application program processing module is when the network parameter exception of modem processes module, the network parameter using the backup of application program processing module cures the network parameter that modem processes module is abnormal, modem processes module is made to carry out normally searching net operation, normally it is linked in carrier network, for user, thus reaching to promote the purpose of mobile terminal stability。
In the present embodiment, the anomalous event that application program processing module real-time reception modem processes module sends, and when receiving the described anomalous event that described modem processes module sends, get involved in the network parameter use of modem processes module, to judge whether to need the network parameter of modem processing module is updated, and when needed, update the network parameter of modem processes module, network parameter after replacing for modem processes module loading, carry out searching net operation, it is linked in carrier network for user。
Concrete, modem processes module safeguards the running status of its first network Parameter File currently loaded, and when the running status of described first network Parameter File meets pre-conditioned, sends anomalous event extremely described application program processing module。Wherein, described pre-conditioned include:
The described first network Parameter File of modem processes module loading cannot activate, modem processes module is after activating described first network Parameter File, described first network Parameter File is lost inefficacy, is read unsuccessfully, the current first network Parameter File loaded of modem processes module switching, or the described first network Parameter File that loads of modem processes module upgrade is unsuccessfully etc.。
When receiving the described anomalous event that described modem processes module sends, described application program processing module obtains the first network Parameter File of modem processes module modem side storage to be activated, and obtains the second network parameter file of the described first network Parameter File of correspondence of application program side storage。It should be noted that, application program processing module obtains the first network Parameter File of modem processes module modem side storage to be activated and includes: described application program processing module sends extracts instruction to described modem processes module, returns the first network Parameter File of its modem side storage to be activated based on the described extraction instruction received for described modem processes module;Described application program processing module receives the first network Parameter File that described modem processes module returns。
Wherein, first network Parameter File and the second network parameter file correspondence refer to the identical standard network parameter that the network parameter entrained by first network Parameter File and the second network parameter file is same operator。Figuratively, arbitrary first network Parameter File of modem side storage all stores the second network parameter file of correspondence in application program side, exists as unloading and disaster-tolerant backup。
Step S20, described application program processing module judges that whether described first network Parameter File is consistent with described second network parameter file;
In the present embodiment, the concordance of described first network Parameter File and described second network parameter file, after getting described first network Parameter File and described second network parameter file, is verified by described application program processing module。
It will be understood by those skilled in the art that, when the concordance of described first network Parameter File and described second network parameter file is verified, if described first network Parameter File and described second network parameter file being put together and are contrasted as comparing text based documents, owing to network parameter file is generally bigger, need cost more time, inefficient。
Further, the present embodiment is the consistency desired result efficiency promoting described first network Parameter File and described second network parameter file, and described application program processing module judges that whether described first network Parameter File is consistent with described second network parameter file and includes:
Described application program processing module obtains the first identification information of described first network Parameter File, and obtains the second identification information of described second network parameter file;
Described application program processing module judges that described first identifies with described second, information identifies that whether information is consistent, wherein, when described first identifies with described second, information identifies that information is inconsistent, described first network Parameter File is inconsistent with described second network parameter file。
It should be noted that the information of identification characterizes network parameter file for unique, if the identification information of two network parameter files is consistent, then illustrate that these two network parameter files are consistent。In the present embodiment, described first identification information is the First Eigenvalue of the described first network Parameter File that described application program processing module adopts AES to calculate, and described second identification information is the Second Eigenvalue of the described second network parameter file that described application program processing module adopts identical AES to calculate。Getting the first identification information of described first network Parameter File, and after getting the second identification information of described second network parameter file, based on described first identification information and described second, described application program processing module, by comparing the described first identification information of acquisition and described second identification information, identifies that namely the concordance of information can determine whether that whether described first network Parameter File is consistent with described second network parameter file。Skilled addressee readily understands that, when described first identifies with described second, information identifies that information is inconsistent, described first network Parameter File is inconsistent with described second network parameter file;When described first identifies with described second, information identifies that information is consistent, described first network Parameter File is consistent with described second network parameter file。
Further, the AES that described application program processing module calculating eigenvalue adopts includes but not limited to MD5 algorithm, SHA1 algorithm and GPG algorithm。Wherein, MD5 (Message-DigestAlgorithm, Message-Digest Algorithm 5, also referred to as digest algorithm, hash algorithm) is one of widely used hash algorithm; data (such as Chinese character) computing is another fixed-length value by it, in order to provide the integrity protection of data。The document number of this algorithm is RFC1321 (R.Rivest, MITLaboratoryforComputerScienceandRSADataSecurityInc.Apr il1992)。MD5 algorithm has the following characteristics that
1, compressibility: the data of random length, the MD5 value length calculated is all fixing。
2, easily calculate: calculate MD5 value from former data and be easy to。
3, anti-amendment: former data are made any change, even only revising 1 byte, obtained MD5 value has very big difference。
4, strong impact resistant: known former data and its MD5 value, wants that it is extremely difficult for finding a data with identical MD5 value (i.e. data falsification)。
It should be noted that, SHA1 algorithm is the same with MD5 algorithm, it is all based on MD4 algorithm evolution, but it is slightly different, SHA1 algorithm, compared to MD5 algorithm, has higher anti-exhaustive performance, and namely SHA1 algorithm security is higher, but SHA1 algorithm needs to consume and more processes resource, calculates speed slower。
Based on described above, it will be understood by those skilled in the art that, the present embodiment uses and identifies that the purpose of information representation network parameter file is in that the efficiency improving described first network Parameter File and described second network parameter file consistence verification, therefore, in the present embodiment, described application program processing module, before verifying the concordance of described first network Parameter File and described second network parameter file, can adopt MD5 algorithm to calculate the MD5 value of described first network Parameter File and described second network parameter file respectively as respective identification information。
Concrete, in the present embodiment, described application program processing module also includes before judging the step whether described first network Parameter File is consistent with described second network parameter file:
After getting described first network Parameter File and described second network parameter file, described application program processing module calculates and as described first, first Message Digest Algorithm 5 MD5 value of described first network Parameter File is identified information, and calculates and as described second, the 2nd MD5 value of described second network parameter file is identified information。
Well-known, the length of MD5 value is fixed as 128, in the present embodiment, described application program processing module characterizes the first identification information of described first network Parameter File getting, and after getting the second identification information characterizing described second network parameter file, namely the data having only to compare 128 can determine whether that whether described first network Parameter File is consistent with described second network parameter file, and the time of cost is several negligible。
Step S30, when described first network Parameter File and described second network parameter file are inconsistent, network parameter in described first network Parameter File is replaced with the network parameter in described second network parameter file by described application program processing module, for described modem processes module loading the first network Parameter File after activating replacement。
Based on described above, what skilled addressee readily understands that is, when described first network Parameter File and described second network parameter file are inconsistent, illustrate that described first network Parameter File is " unhealthy ", if the first network Parameter File of modem processes module loading " unhealthy " carries out searching net, light then affect the network performance of mobile terminal, heavy then cause the damage of mobile terminal。Therefore, in the present embodiment, when described first network Parameter File and described second network parameter file are inconsistent, application program processing module first network Parameter File is carried out " healing "。In other embodiments, if described first network Parameter File is consistent with described second network parameter file, then illustrate that described first network Parameter File is " health ", can be loaded and activate described first network Parameter File by described modem。
Concrete, when described first network Parameter File and described second network parameter file are inconsistent, the network parameter in described first network Parameter File is replaced with the network parameter in described second network parameter file by described application program processing module。The network parameter that network parameter in described first network Parameter File is replaced with in described second network parameter file by described application program processing module includes: described second network parameter file is sent to described modem processes module by described application program processing module, based on the described second network parameter file received the network parameter in the described first network Parameter File of modem side replaced with the network parameter in described second network parameter file for described modem processes module, wherein, described modem processes module is when being updated operating, described first network Parameter File can will replace with the corresponding network parameter in described second network parameter with the inconsistent network parameter in described second network parameter file;It is also possible that the network parameter entirety stated in first network Parameter File replaces with the network parameter in described second network parameter file。After the renewal completing first network Parameter File operates, described modem processes module can load and activate replacement after first network Parameter File carry out searching net operation, net after successfully searching, by being linked into the carrier network corresponding to the first network Parameter File of activation, for user。
The present invention further provides a kind of network parameter restoration methods, in the 4th embodiment of inventive network Parameter reconstruction method, described network parameter restoration methods includes:
When modem side parameter processing module listens to the generation of abnormal parameters event, abnormal parameters event is sent to application program side parameter processing module;
When being embodied as, modem side parameter processing module is responsible for monitoring the generation of abnormal parameters event, including but not limited to not activate, read failure, lose lost efficacy, switching or upgrading refresh the event such as unsuccessfully。If abnormal parameters event being detected, modem side parameter processing module by abnormal parameters reporting events to application program side parameter processing module。
Application program side parameter processing module decides whether to need to carry out abnormal parameters recovery, if desired then the network parameter file that application program side parameter memory module stores is re-loaded to modem side parameter processing module。
Application program side parameter processing module is when receiving the abnormal parameters event from modem side parameter processing module; decide whether to need to carry out abnormal parameters recovery; in the specific implementation; application program side parameter processing module judges that whether the network parameter file of exception is consistent with the network parameter file that application program side parameter memory module stores; wherein; if consistent, it be made without abnormal parameters and recover, inconsistent, need to carry out abnormal parameters recovery。It should be noted that, application program side parameter processing module can by adopting the mode that AES calculates eigenvalue to verify the concordance of both of the aforesaid network parameter file, such as, MD5 algorithm can be adopted to calculate the MD5 value of both of the aforesaid network parameter file respectively, then two MD5 values of calculating are compared, if consistent, illustrate that both of the aforesaid network parameter file is consistent, otherwise inconsistent。
When judgement needs to carry out abnormal parameters recovery; the network parameter file that application program side parameter memory module stores is re-loaded to modem side parameter processing module by application program side parameter processing module, completes abnormal parameters for modem side parameter processing module and recovers。Wherein, the modes such as the network parameter file of application program side parameter memory module storage is manually imported by application software, software upgrade tool is automatically imported import。Such as, software upgrade tool, when outside network parameter updates/upgrades, is automatically imported the network parameter file after renewal/upgrading。
Under preferred embodiment, after network parameter file is re-loaded to modem side parameter processing module by application program side parameter processing module, the network parameter file reloaded is stored to modem side parameter memory module by modem side parameter processing module, replaces abnormal network parameter file。
When being embodied as, modem side parameter processing module can adopt incremental update or the mode that updates completely to replace abnormal network parameter file, namely network parameter inconsistent with the network parameter file reloaded in the abnormal network parameter file of storage in modem side parameter memory module can be replaced with the corresponding network parameter in the network parameter file reloaded by modem side parameter processing module, also the abnormal network parameter file entirety of storage in modem side parameter memory module can be replaced with the network parameter file reloaded。
Under preferred embodiment, when edition upgrading or application software import new network parameter file, the network parameter file that application program side parameter memory module stores is replaced with the network parameter file of new importing by application program side parameter processing module, and the network parameter file newly imported is loaded into modem side parameter processing module, the synchronization of network parameter file is completed for modem side parameter processing module。
When being embodied as, modem side parameter processing module can adopt incremental update or the mode that updates completely to synchronize current network parameter file, namely network parameter inconsistent with the new network parameter file imported in the current network Parameter File of storage in modem side parameter memory module can be replaced with the corresponding network parameter in the network parameter file of new importing by modem side parameter processing module, it is possible to the current network Parameter File entirety of storage in modem side parameter memory module replaces with the network parameter file of new importing。
Under preferred embodiment, when start every time, the recovery scene such as factory mode or upgrading, application program side parameter processing module decides whether to need to carry out parameter synchronization loading, if desired then the network parameter file that application program side parameter memory module stores is re-loaded to modem side parameter processing module, completes the synchronization of network parameter file。
Application program side parameter processing module is when start every time, the recovery scene such as factory mode or upgrading, decide whether to need to carry out parameter synchronization loading, in the specific implementation, application program side parameter processing module judges that whether the network parameter file of application program side parameter memory module storage is consistent with the network parameter file that modem side memory module stores, wherein, if consistent, it be made without parameter synchronization and load, inconsistent, need to carry out parameter synchronization loading。It should be noted that, application program side parameter processing module can by adopting the mode that AES calculates eigenvalue to verify the concordance of both of the aforesaid network parameter file, such as, MD5 algorithm can be adopted to calculate the MD5 value of both of the aforesaid network parameter file respectively, then two MD5 values of calculating are compared, if consistent, illustrate that both of the aforesaid network parameter file is consistent, otherwise inconsistent。
When judgement needs to carry out parameter synchronization loading, the network parameter file that application program side parameter memory module stores is re-loaded to modem side parameter processing module by application program side parameter processing module, the synchronization of network parameter file is completed for modem side parameter processing module, specifically referring to described above, can repeat no more herein。
As shown in figure 11, the normal parameter handling process following (parameter in following steps refers both to carry the network parameter file of network parameter) of the network parameter restoration methods of the present invention:
Step 1, external parameter imports application program side parameter memory module, and wherein, external parameter can import in several ways, as application software manually import, software upgrade tool is automatically imported or other modes。
Step 2, application program side parameter processing module can automatically issue network parameter read instruction in start every time, the recovery scene such as factory mode, upgrading。
Step 3, application program side memory module return parameters reads information。
Step 4, modem side parameter processing module reads the parameter information of modem side memory module。
Step 5, modem side memory module return parameters reads information。
Step 6, application program side parameter processing module reads modem side parameter information, in order to synchronizing。
Step 7, modem side parameter processing module return parameters reads information。
Step 8, application program side parameter processing module makes decisions, it is determined whether need to reload parameter to modem side parameter processing module。
Step 9, application program side parameter processing module reloads parameter to modem side parameter processing module。
Step 10, modem side parameter processing module loading parameter, to modem side parameter memory module, completes the synchronization of parameter。
The anomaly parameter handling process of the network parameter restoration methods of the present invention is as follows:
Step 11, modem side parameter processing module monitors abnormal parameters event, including but not limited to not activate, read failure, lose lost efficacy, switching or upgrading refresh the event such as unsuccessfully。
Step 12, modem side parameter processing module listens to abnormal parameters event and occurs, and sends abnormal parameters event type to application program side parameter processing module。
Step 13, application program side parameter processing module decides whether to need to carry out abnormal parameters recovery。
Step 14, application program side parameter processing module reloads parameter to modem side parameter processing module。
Step 15, parameter is loaded into modem side parameter memory module by modem side parameter processing module, replaces abnormal parameter。
It should be noted that, in this article, term " includes ", " comprising " or its other variant any are intended to comprising of nonexcludability, so that include the process of a series of key element, method, article or device not only include those key elements, but also include other key element being not expressly set out, or also include the key element intrinsic for this process, method, article or device。When there is no more restriction, statement " including ... " key element limited, it is not excluded that there is also other identical element in including the process of this key element, method, article or device。
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment。
Through the above description of the embodiments, those skilled in the art is it can be understood that can add the mode of required general hardware platform by software to above-described embodiment method and realize, hardware can certainly be passed through, but in a lot of situation, the former is embodiment more preferably。Based on such understanding, the part that prior art is contributed by technical scheme substantially in other words can embody with the form of software product, this computer software product is stored in a storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions with so that a station terminal equipment (can be mobile phone, computer, server, air-conditioner, or the network equipment etc.) perform the method described in each embodiment of the present invention。
These are only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every equivalent structure utilizing description of the present invention and accompanying drawing content to make or equivalence flow process conversion; or directly or indirectly it is used in other relevant technical field, all in like manner include in the scope of patent protection of the present invention。

Claims (20)

1. a network parameter recovery device, is applied to mobile terminal, it is characterised in that described network parameter recovery device includes:
Acquisition module, for when its place application program processing module detects predeterminable event, obtain the first network Parameter File of modem processes module modem side storage to be activated, and obtain the second network parameter file of the described first network Parameter File of correspondence of application program side storage;
Judge module, is used for judging that whether described first network Parameter File is consistent with described second network parameter file;
More new module, for when described first network Parameter File and described second network parameter file are inconsistent, network parameter in described first network Parameter File is replaced with the network parameter in described second network parameter file, for described modem processes module loading the first network Parameter File after activating replacement。
2. network parameter recovery device as claimed in claim 1, it is characterised in that described judge module is additionally operable to obtain the first identification information of described first network Parameter File, and obtains the second identification information of described second network parameter file;And judge that whether described first identification information is consistent with described second identification information, wherein, when described first identifies with described second, information identifies that information is inconsistent, described first network Parameter File is inconsistent with described second network parameter file。
3. network parameter recovery device as claimed in claim 2, it is characterized in that, described judge module is additionally operable to get after described first network Parameter File and described second network parameter file at described acquisition module, calculate and the first Message Digest Algorithm 5 MD5 value of described first network Parameter File is identified information as described first, and calculate and the 2nd MD5 value of described second network parameter file is identified information as described second。
4. the network parameter recovery device as described in any one of claim 1-3, it is characterized in that, described predeterminable event includes described application program processing module and receives parameter renewal instruction and described modem processes module triggering load networks Parameter File, predeterminable event be described application program processing module receive parameter update instruction time, described network parameter recovery device also includes:
Upgraded module, for when its place application program processing module receives parameter renewal instruction, updating instruction based on the described parameter received and update the second network parameter file of application program side storage;
Described acquisition module is additionally operable to after described upgraded module completes to update operation, obtain the first network Parameter File of modem processes module modem side storage to be loaded, and obtain the second network parameter file of the described first network Parameter File of correspondence of application program side storage。
5. the network parameter recovery device as described in any one of claim 1-3, it is characterised in that described predeterminable event includes described application program processing module and receives the anomalous event that modem processes module sends, and described network parameter recovery device also includes:
Receiver module, for receiving, based on its place application program processing module, the anomalous event that described modem processes module sends, wherein, described anomalous event is activated unsuccessfully at the current first network Parameter File loaded by described modem processes module, reads unsuccessfully, loses inefficacy, switches or upgrades when refreshing unsuccessfully, sends to described application program processing module;
Described acquisition module is additionally operable to when described receiver module receives described anomalous event, obtain the first network Parameter File of modem processes module modem side storage to be loaded, and obtain the second network parameter file of the described first network Parameter File of correspondence of application program side storage。
6. a network parameter recovery device, it is characterised in that described network parameter recovery device includes:
Modem side parameter processing module, when being used for listening to the generation of abnormal parameters event, is sent to application program side parameter processing module by abnormal parameters event;
Application program side parameter processing module, is used for deciding whether to need to carry out abnormal parameters recovery, if desired then the network parameter file that application program side parameter memory module stores is re-loaded to modem side parameter processing module。
7. network parameter recovery device as claimed in claim 6, it is characterized in that, modem side parameter processing module is additionally operable to after network parameter file is re-loaded to modem side parameter processing module by application program side parameter processing module, the network parameter file reloaded is stored to modem side parameter memory module, replaces abnormal network parameter file。
8. network parameter recovery device as claimed in claim 6, it is characterized in that, application program side parameter processing module, it is additionally operable to when edition upgrading or application software import new network parameter file, the network parameter file that application program side parameter memory module stores is replaced with the network parameter file of new importing, and the network parameter file newly imported is loaded into modem side parameter processing module。
9. the network parameter recovery device as described in any one of claim 6-8, it is characterised in that the modes such as the network parameter file of application program side parameter memory module storage is manually imported by application software, software upgrade tool is automatically imported import。
10. the network parameter recovery device as described in any one of claim 6-8, it is characterized in that, application program side parameter processing module, it is additionally operable to when start every time, the recovery scene such as factory mode or upgrading, decide whether to need to carry out parameter synchronization loading, if desired then the network parameter file that application program side parameter memory module stores is re-loaded to modem side parameter processing module, completes the synchronization of network parameter file。
11. a network parameter restoration methods, it is applied to mobile terminal, it is characterised in that described network parameter restoration methods includes:
When detecting predeterminable event, application program processing module obtains the first network Parameter File of modem processes module modem side storage to be activated, and obtains the second network parameter file of the described first network Parameter File of correspondence of application program side storage;
Described application program processing module judges that whether described first network Parameter File is consistent with described second network parameter file;
When described first network Parameter File and described second network parameter file are inconsistent, network parameter in described first network Parameter File is replaced with the network parameter in described second network parameter file by described application program processing module, for described modem processes module loading the first network Parameter File after activating replacement。
12. network parameter restoration methods as claimed in claim 11, it is characterised in that described application program processing module judges that the described first network Parameter File step whether consistent with described second network parameter file includes:
Described application program processing module obtains the first identification information of described first network Parameter File, and obtains the second identification information of described second network parameter file;
Described application program processing module judges that described first identifies with described second, information identifies that whether information is consistent, wherein, when described first identifies with described second, information identifies that information is inconsistent, described first network Parameter File is inconsistent with described second network parameter file。
13. network parameter restoration methods as claimed in claim 12, it is characterised in that described application program processing module also includes before judging the step whether described first network Parameter File is consistent with described second network parameter file:
After getting described first network Parameter File and described second network parameter file, described application program processing module calculates and as described first, first Message Digest Algorithm 5 MD5 value of described first network Parameter File is identified information, and calculates and as described second, the 2nd MD5 value of described second network parameter file is identified information。
14. the network parameter restoration methods as described in any one of claim 11-13, it is characterized in that, described predeterminable event includes described application program processing module and receives parameter renewal instruction and described modem processes module triggering load networks Parameter File, predeterminable event be described application program processing module receive parameter update instruction time, described application program processing module obtains the first network Parameter File of modem processes module modem side storage to be loaded, and before obtaining the step of the second network parameter file of the described first network Parameter File of correspondence of application program side storage, also include:
When receiving parameter and updating instruction, described application program processing module updates instruction based on the described parameter received and updates the second network parameter file of application program side storage;
After completing to update operation, proceed to the first network Parameter File performing the modem side storage to be loaded of described application program processing module acquisition modem processes module, and obtain the step of the second network parameter file of the described first network Parameter File of correspondence of application program side storage。
15. the network parameter restoration methods as described in any one of claim 11-13, it is characterized in that, described predeterminable event includes described application program processing module and receives the anomalous event that modem processes module sends, described application program processing module obtains the first network Parameter File of modem processes module modem side storage to be loaded, and before obtaining the step of the second network parameter file of the described first network Parameter File of correspondence of application program side storage, also include:
The anomalous event that described application program processing module receiving modem processing module sends, wherein, described anomalous event is activated unsuccessfully at the current first network Parameter File loaded by described modem processes module, reads unsuccessfully, loses inefficacy, switches or upgrades when refreshing unsuccessfully, sends to described application program processing module;
When receiving described anomalous event, proceed to the first network Parameter File performing the modem side storage to be loaded of described application program processing module acquisition modem processes module, and obtain the step of the second network parameter file of the described first network Parameter File of correspondence of application program side storage。
16. a network parameter restoration methods, it is characterised in that described network parameter restoration methods includes:
When modem side parameter processing module listens to the generation of abnormal parameters event, abnormal parameters event is sent to application program side parameter processing module;
Application program side parameter processing module decides whether to need to carry out abnormal parameters recovery, if desired then the network parameter file that application program side parameter memory module stores is re-loaded to modem side parameter processing module。
17. network parameter restoration methods as claimed in claim 16, it is characterized in that, after network parameter file is re-loaded to modem side parameter processing module by application program side parameter processing module, the network parameter file reloaded is stored to modem side parameter memory module by modem side parameter processing module, replaces abnormal network parameter file。
18. network parameter restoration methods as claimed in claim 17, it is characterized in that, when edition upgrading or application software import new network parameter file, the network parameter file that application program side parameter memory module stores is replaced with the network parameter file of new importing by application program side parameter processing module, and the network parameter file newly imported is loaded into modem side parameter processing module。
19. the network parameter restoration methods as described in any one of claim 16-18, it is characterised in that the modes such as the network parameter file of application program side parameter memory module storage is manually imported by application program, software upgrade tool is automatically imported import。
20. network parameter restoration methods as claimed in claim 16, it is characterized in that, when start every time, the recovery scene such as factory mode or upgrading, application program side parameter processing module decides whether to need to carry out parameter synchronization loading, if desired then the network parameter file that application program side parameter memory module stores is re-loaded to modem side parameter processing module, completes the synchronization of network parameter file。
CN201610018670.5A 2016-01-11 2016-01-11 Network parameter recovery apparatus and method thereof Pending CN105704749A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610018670.5A CN105704749A (en) 2016-01-11 2016-01-11 Network parameter recovery apparatus and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610018670.5A CN105704749A (en) 2016-01-11 2016-01-11 Network parameter recovery apparatus and method thereof

Publications (1)

Publication Number Publication Date
CN105704749A true CN105704749A (en) 2016-06-22

Family

ID=56226335

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610018670.5A Pending CN105704749A (en) 2016-01-11 2016-01-11 Network parameter recovery apparatus and method thereof

Country Status (1)

Country Link
CN (1) CN105704749A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106658503A (en) * 2017-01-05 2017-05-10 深圳市广和通无线股份有限公司 Registering method and registering device for accessing LTE data network by mobile terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101711025A (en) * 2009-11-27 2010-05-19 惠州Tcl移动通信有限公司 Method for upgrading software of Modem of intelligent mobile phone
CN102243698A (en) * 2010-05-13 2011-11-16 康佳集团股份有限公司 Method for realizing information security of intelligent terminal and intelligent terminal
WO2013086062A1 (en) * 2011-12-05 2013-06-13 Qualcomm Incorporated Inter-processor protocol in a multi-processor system
CN104955023A (en) * 2015-06-26 2015-09-30 努比亚技术有限公司 Mobile terminal and method for updating network parameters
CN105007333A (en) * 2015-08-12 2015-10-28 阔地教育科技有限公司 Managing method and system for file transmitting

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101711025A (en) * 2009-11-27 2010-05-19 惠州Tcl移动通信有限公司 Method for upgrading software of Modem of intelligent mobile phone
CN102243698A (en) * 2010-05-13 2011-11-16 康佳集团股份有限公司 Method for realizing information security of intelligent terminal and intelligent terminal
WO2013086062A1 (en) * 2011-12-05 2013-06-13 Qualcomm Incorporated Inter-processor protocol in a multi-processor system
CN104955023A (en) * 2015-06-26 2015-09-30 努比亚技术有限公司 Mobile terminal and method for updating network parameters
CN105007333A (en) * 2015-08-12 2015-10-28 阔地教育科技有限公司 Managing method and system for file transmitting

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106658503A (en) * 2017-01-05 2017-05-10 深圳市广和通无线股份有限公司 Registering method and registering device for accessing LTE data network by mobile terminal
CN106658503B (en) * 2017-01-05 2020-01-17 深圳市广和通无线股份有限公司 Registration method and device for mobile terminal to access LTE data network

Similar Documents

Publication Publication Date Title
CN104166565B (en) A kind of intelligent display terminal firmware upgrade method
KR101187457B1 (en) Method for providing smart cardsim security by checking a temporary subscriber identifiertmsi
DE102016201361A1 (en) Manage firmware updates for integrated components within mobile devices
RU2015107724A (en) SYSTEM AND METHOD OF MANAGING A HOME GATEWAY USING THE INTELLIGENT TERMINAL
CN106843957A (en) System firmware upgrade method and device
CN106201586B (en) System upgrading method, terminal and system based on OTA
CN101593119B (en) Method and device for firmware over-the-air of exclusive flash memory combined equipment
CN102176775A (en) Intelligent configuration device and method
CN105468393B (en) Module release upgrade method and terminal installation
CN106681766A (en) Remote firmware upgrading controlling method and system
CN107832065A (en) Firmware upgrade method, water purifier, upgrade-system and readable storage medium storing program for executing
CN107294924B (en) Vulnerability detection method, device and system
CN106339273A (en) Application program restoration method, terminal and server
EP2611226A1 (en) Processing method and system for over-the-air bootstrap
CN104202440A (en) Method for identifying terminal, server and system
CN106325947A (en) Method for upgrading OTA (over-the-air technology) firmware based on state machine
CN108322540A (en) Customized data lead-in method, terminal and computer readable storage medium
CN106897166B (en) Mobile terminal and repairing method thereof
WO2016119218A1 (en) Call supplementary service configuration synchronization method, apparatus and system
US10224972B2 (en) Systems, methods, and computer-readable media for tracking updates and loading data
CN103024782A (en) Base station software version management method and system
WO2022142153A1 (en) Electricity meter upgrading method and system, smart meter, and storage medium
CN112596768B (en) Updating method and device of equipment, storage medium and electronic device
CN112559005A (en) Internet of things equipment firmware updating method and system based on block chain and distributed storage
CN109525542A (en) Data reconstruction method, transmitting/receiving means and computer readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160622