CN105681078A - Network parameter upgrading device and method - Google Patents
Network parameter upgrading device and method Download PDFInfo
- Publication number
- CN105681078A CN105681078A CN201610015149.6A CN201610015149A CN105681078A CN 105681078 A CN105681078 A CN 105681078A CN 201610015149 A CN201610015149 A CN 201610015149A CN 105681078 A CN105681078 A CN 105681078A
- Authority
- CN
- China
- Prior art keywords
- network parameter
- parameter
- mobile terminal
- file
- parameter 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0668—Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a network parameter upgrading device and method. When the network parameter upgrading method is applied to a parameter server, the parameter server can provide broadcasting type or subscription type network parameter upgrading services; according to the broadcasting type network parameter upgrading service, when the edition of an operating system changes, the parameter server performs parameter updating and upgrading on all mobile terminals needed to be upgraded; according to the subscription type network parameter upgrading service, the parameter server performs oriented issuing and upgrading on mobile terminals with specific upgrading requirements. According to the network parameter upgrading device and method, through distributively arranged network-side parameter servers and terminal-side parameter management modules, network parameter upgrading separated from the operating system is achieved, and network parameter upgrading efficiency of the mobile terminals is improved.
Description
Technical field
The present invention relates to communication technique field, particularly relate to a kind of network parameter update 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 the problem that multiple-route cluster parameter but brings parameter upgrading. In the logical scheme of the whole network of this improvement, it is common that when updating along with the operating system version of mobile terminal, synchronized update network parameter, but update whole operating system and require a great deal of time, cause that mobile terminal network parameter is upgraded inefficient.
Summary of the invention
Present invention is primarily targeted at a kind of network parameter update 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 update device, and this network parameter update device includes:
Acquisition module, when version for detecting the operating system of mobile terminal when its place parameter server changes, obtain the first network Parameter File in the operating system after change, wherein, the version change of described operating system is issued by version release management server, described version release management server, when the acquisition receiving acquisition module is asked, returns its first network Parameter File extracted from the operating system after change;
Determine module, for determining mobile terminal to be upgraded based on the described first network Parameter File obtained;
Upgraded module, the described first network Parameter File for obtaining is broadcasted to each described mobile terminal determined, the parameter management module for each described mobile terminal determined carries out network parameter upgrading based on the described first network Parameter File received;
Wherein, described parameter management module based on receive described first network Parameter File carry out network parameter upgrading include:
The described first network Parameter File received is transferred to the parameter memory module of mobile terminal by described parameter management module, network parameter in second network parameter file of application program side is updated to the network parameter in the described first network Parameter File of reception by described parameter memory module, and modem side the 3rd network parameter file with update after described second network parameter file inconsistent time, the network parameter in described 3rd network parameter file is updated to the network parameter in the described second network parameter file after renewal.
In one embodiment, the described the First Eigenvalue determining that module is additionally operable to the described first network Parameter File adopting the calculating of predetermined encryption algorithm to obtain, and broadcast calculated described the First Eigenvalue, wherein, receive the Second Eigenvalue of the second network parameter file of the mobile terminal employing described predetermined encryption algorithm calculating application program side of described the First Eigenvalue, and when described Second Eigenvalue and described the First Eigenvalue are inconsistent, return response message to described parameter server; And when its place parameter server receives response message, mobile terminal corresponding for the response message of reception is defined as mobile terminal to be upgraded.
In one embodiment, described predetermined encryption algorithm includes at least one in MD5 algorithm and SHA1 algorithm.
Further, present invention also offers a kind of network parameter update device, this network parameter update device includes:
Parameter management module, for when its place mobile terminal detects the event updating network parameter, identification information more newly requested carrying described mobile terminal is sent to parameter server, corresponding first network Parameter File is returned for described parameter server orientation, and when described mobile terminal receives the first network Parameter File that described parameter server returns, the described first network Parameter File received is transferred to parameter memory module;
Parameter memory module, for by the network parameter in the second network parameter file of the application program side of described mobile terminal, it is updated to the network parameter in the described first network Parameter File of reception, and judges that whether the 3rd network parameter file of the modem side of described mobile terminal is consistent with the described second network parameter file after renewal; And described 3rd network parameter file with update after described second network parameter file inconsistent time, the network parameter in described 3rd network parameter file is updated to the network parameter in the described second network parameter file after renewal.
In one embodiment, the event of described renewal network parameter includes described mobile terminal to receive the 3rd network parameter file updating instruction and described modem side of user abnormal.
Further, the present invention also provides for a kind of network parameter upgrade method, and this network parameter upgrade method includes:
When detecting the change of the version of operating system of mobile terminal, parameter server obtains the first network Parameter File in the operating system after change, wherein, the version change of described operating system is issued by version release management server, described version release management server, when the acquisition receiving parameter server is asked, returns its first network Parameter File extracted from the operating system after change;
Described parameter server determines mobile terminal to be upgraded based on the described first network Parameter File obtained;
The described first network Parameter File obtained is broadcasted to each described mobile terminal determined by described parameter server, and the parameter management module for each described mobile terminal determined carries out network parameter upgrading based on the described first network Parameter File received;
Wherein, described parameter management module based on receive described first network Parameter File carry out network parameter upgrading include:
The described first network Parameter File received is transferred to the parameter memory module of mobile terminal by described parameter management module, network parameter in second network parameter file of application program side is updated to the network parameter in the described first network Parameter File of reception by described parameter memory module, and modem side the 3rd network parameter file with update after described second network parameter file inconsistent time, the network parameter in described 3rd network parameter file is updated to the network parameter in the described second network parameter file after renewal.
In one embodiment, based on the described first network Parameter File obtained, described parameter server determines that the step of mobile terminal to be upgraded includes:
Described parameter server adopts predetermined encryption algorithm to calculate the First Eigenvalue of the described first network Parameter File obtained, and broadcast calculated described the First Eigenvalue, wherein, receive the Second Eigenvalue of the second network parameter file of the mobile terminal employing described predetermined encryption algorithm calculating application program side of described the First Eigenvalue, and when described Second Eigenvalue and described the First Eigenvalue are inconsistent, return response message to described parameter server;
Described parameter server receives response message, and mobile terminal corresponding for the response message of reception is defined as mobile terminal to be upgraded.
In one embodiment, described predetermined encryption algorithm includes at least one in MD5 algorithm and SHA1 algorithm.
Further, the present invention also provides for a kind of network parameter upgrade method, and mobile terminal includes parameter management module and parameter memory module, and this network parameter upgrade method includes:
When detecting the event updating network parameter, described parameter management module carries the more newly requested of the identification information of described mobile terminal to parameter server transmission, corresponding first network Parameter File is returned for described parameter server orientation, and when described mobile terminal receives the first network Parameter File that described parameter server returns, the described first network Parameter File received is transferred to described parameter memory module;
Network parameter in second network parameter file of application program side is updated to the network parameter in the described first network Parameter File of reception by described parameter memory module, and judges that whether the 3rd network parameter file of modem side is consistent with the described second network parameter file after renewal;
Described 3rd network parameter file with update after described second network parameter file inconsistent time, the network parameter in described 3rd network parameter file is updated to the network parameter in the described second network parameter file after renewal by described parameter memory module.
In one embodiment, the event of described renewal network parameter includes mobile terminal to receive the 3rd network parameter file updating instruction and modem side of user abnormal.
Network parameter update device provided by the invention and method, by the version of the operating system of mobile terminal is detected, and after the version of operating system changes, from the operating system after conversion, extract network parameter file, use the network parameter file extracted that network by mobile terminal parameter is upgraded. Compared to prior art, it is to avoid the overall upgrading of operating system, it is possible to the effective efficiency promoting the upgrading of mobile terminal network parameter.
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 update device first embodiment;
Fig. 4 is the high-level schematic functional block diagram of inventive network parameter update device the second embodiment;
Fig. 5 is the schematic flow sheet of inventive network parameter upgrade method first embodiment;
Fig. 6 is the schematic flow sheet of inventive network parameter upgrade method the second embodiment;
Fig. 7 is the broadcast type in the embodiment of the present invention and subscribes to formula parameter upgrading renewal schematic flow sheet.
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, the mobile terminal type according to Subscriber Identity Module, adopt the network parameter file corresponding with different types of Subscriber Identity Module to carry out searching net and network registry, it is achieved the whole network of mobile terminal leads to. 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 standard 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 update device of first embodiment of the invention includes:
Acquisition module 10, when version for detecting the operating system of mobile terminal when its place parameter server changes, obtain the first network Parameter File in the operating system after change, wherein, the version change of described operating system is issued by version release management server, described version release management server, when the acquisition receiving acquisition module is asked, returns its first network Parameter File extracted from the operating system after change;
For Android system well known to those skilled in the art, Android system is the operating system based on mobile terminal developed by Google Google and open handheld device alliance joint development, its version Android1.0Beta the earliest is published on November 5th, 2007, issued so far multiple renewals. Along with each version updating, such as Android system by initial Android1.0Beta via Android1.1 (PetitFour), Android1.5 (Cupcake), Android1.6 (Donut), Android2.0/2.1Android2.2 (Froyo), Android2.3 (Gingerbread) Android3.0/3.1/3.2 (Honeycomb), Android4.0 (IceCreamSandwich), Android4.1/4.2/4.3 (JellyBean), the version updating Android6.0 (Marshmallow/AndroidM) up till now such as Android4.4 (KitKat) and Android5.0/5.1 (Lollipop/AndroidL), the version of these renewals has all been repaired bug on the basis of previous release and with the addition of the unexistent New function of previous release. accordingly, the version of these renewals carries the network parameter adaptive with these New function. the New function that user provides to the Android system realizing redaction, then must be operated the upgrading of system, and upgrading operation system needs the cost plenty of time. in view of this, idea of the invention is that the network parameter update device proposing a kind of network parameter upgrading that can complete and separate with operating system version.
In the present embodiment, acquisition module 10 is when its place parameter server detects the version change of the operating system of mobile terminal, obtain the first network Parameter File in the operating system after change, wherein, the version change of the operating system of mobile terminal is to have new operating system version to issue, such as, Android system redaction Android6.1 has been issued.
In the specific implementation, it is possible to arrange special version release management server, for when there being new operating system version, routine carries out version issue. Acquisition module 10 is when its place parameter server detects the version routine issue that described version release management server carries out, parameter acquiring request is sent to described version release management server, please extract first network Parameter File entrained in the operating system of redaction for described version release management server based on the described parameter acquiring received, and the described first network Parameter File extracted is back to described parameter server; Described acquisition module 10 receives, based on described parameter server, the described first network Parameter File that described version release management server returns.
Determine module 20, for determining mobile terminal to be upgraded based on the described first network Parameter File obtained;
In the present embodiment, it is determined that after the module 20 first network Parameter File entrained by the operating system getting redaction, outwards broadcast redaction based on described parameter server and make an announcement, receive the mobile terminal that redaction makes an announcement and make decisions to determine the need for carrying out network parameter upgrading, and determine need to carry out network parameter upgrading time, return response message to described parameter server, and when its place parameter server receives response message, mobile terminal corresponding for the response message of reception is defined as mobile terminal to be upgraded. wherein, described response message carries the identification information of mobile terminal, for uniquely identifying mobile terminal, such as, IMEI (the InternationalMobileEquipmentIdentity of mobile terminal can be adopted, International Mobile Station Equipment Identification) or the ICCID (Integratecircuitcardidentity, integrated circuit card identification code) of Subscriber Identity Module that is currently inserted into of mobile terminal at least one identification information as mobile terminal. it should be noted that, when employing ICCID is as the identification information of mobile terminal, if during the mobile terminal that mobile terminal is multi-card multi-standby (such as double-card dual-standby), mobile terminal is likely to be inserted simultaneously into multiple Subscriber Identity Modules, such as, when being inserted simultaneously into first user identification card and the second Subscriber Identity Module at mobile terminal, mobile terminal can feed back to, at it, the ICCID carrying first user identification card in the response message of described parameter server, also can feed back to, at it, the 2nd ICCID carrying the second Subscriber Identity Module in the response message of described parameter server, namely mobile terminal can be chosen the ICCID of any one Subscriber Identity Module in multiple Subscriber Identity Modules of its insertion and carries in the response message feeding back to described parameter server as its identification information. in a preferred embodiment, mobile terminal can be chosen the ICCID of the Subscriber Identity Module being active in multiple Subscriber Identity Modules of its insertion and carries in the response message feeding back to described parameter server as its identification information.
Further, the described the First Eigenvalue determining that module 20 is additionally operable to the described first network Parameter File adopting the calculating of predetermined encryption algorithm to obtain, and broadcast calculated described the First Eigenvalue, wherein, receive the Second Eigenvalue of the second network parameter file of the mobile terminal employing described predetermined encryption algorithm calculating application program side of described the First Eigenvalue, and when described Second Eigenvalue and described the First Eigenvalue are inconsistent, return response message to described parameter server; And when its place parameter server receives response message, mobile terminal corresponding for the response message of reception is defined as mobile terminal to be upgraded.
In the present embodiment, described determine module 20 based on obtain described first network Parameter File determine mobile terminal to be upgraded time, predetermined encryption algorithm specifically can be adopted to calculate the First Eigenvalue of the described first network Parameter File obtained, and the algorithm mark that the described the First Eigenvalue and being used for calculated characterizes which kind of AES of employing is encapsulated as redaction and makes an announcement, and the described redaction of encapsulation is made an announcement outwards broadcast based on described parameter server. receive during the described redaction that the mobile terminal that described redaction makes an announcement receives from it makes an announcement and extract described the First Eigenvalue and described algorithm mark, and identify, based on described algorithm, the Second Eigenvalue that the predetermined encryption algorithm identical with described parameter server employing calculates the second network parameter file of its application program side, then judge that the described the First Eigenvalue whether described Second Eigenvalue of its calculating receives with it is consistent, if described Second Eigenvalue inconsistent with described the First Eigenvalue (, illustrate that the second network parameter file that described Second Eigenvalue is corresponding is inconsistent with the first network Parameter File corresponding to described the First Eigenvalue, need the network parameter in described second network parameter file is upgraded), then return response message to described parameter server, to inform described parameter server, it needs to carry out network parameter upgrading. described determine that module 20 is when its place parameter server receives response message, is defined as mobile terminal to be upgraded by mobile terminal corresponding for the response message of reception, specifically can refer to described above, repeat no more herein.
It should be noted that described predetermined encryption algorithm includes but not limited to MD5 algorithm and SHA1 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 adopts the purpose that AES calculates eigenvalue to be in that whether the network parameter file of quick comparison terminal side is consistent with the network parameter file of server side, namely quickly determines the mobile terminal needing to carry out network parameter upgrading. Therefore, in the present embodiment, described determine that module 20 is when calculating the First Eigenvalue of described first network Parameter File, it may be preferable to adopt MD5 algorithm to calculate the First Eigenvalue of described first network Parameter File obtained.
Upgraded module 30, the described first network Parameter File for obtaining is broadcasted to each described mobile terminal determined, the parameter management module for each described mobile terminal determined carries out network parameter upgrading based on the described first network Parameter File received;
Wherein, described parameter management module based on receive described first network Parameter File carry out network parameter upgrading include:
The described first network Parameter File received is transferred to the parameter memory module of mobile terminal by described parameter management module, network parameter in second network parameter file of application program side is updated to the network parameter in the described first network Parameter File of reception by described parameter memory module, and modem side the 3rd network parameter file with update after described second network parameter file inconsistent time, the network parameter in described 3rd network parameter file is updated to the network parameter in the described second network parameter file after renewal.
In the present embodiment, described determine that module 20 determines mobile terminal to be upgraded after, the described first network Parameter File obtained is broadcasted to each described mobile terminal determined by upgraded module 30 based on described parameter server, and the parameter management module for each described mobile terminal determined carries out network parameter upgrading based on the described first network Parameter File received. wherein, described parameter management module is when carrying out network parameter upgrading, first the described first network Parameter File received is transferred to the parameter memory module of mobile terminal, by described parameter memory module, the network parameter in the second network parameter file of application program side is updated to the network parameter in the described first network Parameter File of its reception, then judge that whether the 3rd network parameter file of modem side is consistent with the described second network parameter file after renewal, and described 3rd network parameter file with update after described second network parameter file inconsistent time, network parameter in described 3rd network parameter file is updated to the network parameter in the described second network parameter file after renewal. it should be noted that, during described parameter memory module network parameter in updating the 3rd network parameter file of the second network parameter file of application program side and modem side, the mode updated completely can be adopted, may be used without the mode of incremental update, specifically choose according to actual needs, such as, in the present embodiment, described parameter memory module adopts the mode of incremental update to carry out the upgrading of network parameter in described second network parameter file and described 3rd network parameter file.
Concrete, described mobile terminal judges when whether described 3rd network parameter file is consistent with the described second network parameter file after renewal, the third feature value of the described second network parameter file after aforementioned predetermined encryption algorithm can be adopted to calculate renewal respectively (it will be understood by those skilled in the art that, the described the First Eigenvalue that the third feature value of the described second network parameter file after the renewal now calculated is broadcasted with described parameter server is consistent), and calculate the fourth feature value of described 3rd network parameter file, then judge that whether described third feature value is consistent with described fourth feature value, wherein, when described third feature value is inconsistent with described fourth feature value, described second network parameter file after described 3rd network parameter file being then described and updating is inconsistent. such as, when adopting MD5 algorithm to calculate aforementioned third feature value and described fourth feature value, owing to the length of MD5 value is fixed as 128, mobile terminal only need the data comparing 128 namely can determine whether described 3rd network parameter file whether with update after described second network parameter file consistent, the time of cost is several negligible.
The network parameter update device that the embodiment of the present invention proposes, by the version of the operating system of mobile terminal is detected, and after the version of operating system changes, from the operating system after conversion, extract network parameter file, use the network parameter file extracted that network by mobile terminal parameter is upgraded. Compared to prior art, it is to avoid the overall upgrading of operating system, it is possible to the effective efficiency promoting the upgrading of mobile terminal network parameter.
Referring to Fig. 4, based on the hardware configuration of the mobile terminal shown in above-mentioned Fig. 1 or Fig. 2, the network parameter update device of second embodiment of the invention includes:
Parameter management module 11, for when its place mobile terminal detects the event updating network parameter, identification information more newly requested carrying described mobile terminal is sent to parameter server, corresponding first network Parameter File is returned for described parameter server orientation, and when described mobile terminal receives the first network Parameter File that described parameter server returns, the described first network Parameter File received is transferred to parameter memory module 22;
It should be noted that, the present embodiment and first embodiment are distinctive in that, first embodiment is for all mobile terminals allowing upgrading, all carries out network parameter upgrading, and the present embodiment is just for the mobile terminal having specific upgrade demand, it is oriented release upgrade. Concrete, in the present embodiment, mobile terminal detecting real-time updates the event of network parameter, and parameter management module 11, when its place mobile terminal detects the event updating network parameter, sends identification information more newly requested carrying described mobile terminal to parameter server. Wherein, the described event of renewal network parameter includes mobile terminal and receives the 3rd network parameter file exception updating instruction and modem side of user, such as, when carrying out lab test to verify new mobile network's technology, the network parameter that tester can pass through mobile terminal and provide updates the renewal instruction that control triggering network parameter is upgraded, and described parameter management module 11 will carry the more newly requested of the identification information of described mobile terminal based on described renewal instruction to parameter server transmission; Again such as, the 3rd network parameter running paper abnormal (include activating unsuccessfully, read unsuccessfully and lose the abnormal conditions such as inefficacy) for searching net registration operation of the modem side of mobile terminal activating, and when using the second network parameter file of the described 3rd network parameter file of correspondence of application program side backup " cannot cure " described 3rd network parameter file, described parameter management module 11 carries the more newly requested of the identification information of described mobile terminal to parameter server transmission.
In addition, carry the described identification information in more newly requested, for uniquely identifying mobile terminal, such as, IMEI (the InternationalMobileEquipmentIdentity of mobile terminal can be adopted, International Mobile Station Equipment Identification) or the ICCID (Integratecircuitcardidentity, integrated circuit card identification code) of Subscriber Identity Module that is currently inserted into of mobile terminal at least one identification information as mobile terminal. it should be noted that, when employing ICCID is as the identification information of mobile terminal, if during the mobile terminal that mobile terminal is multi-card multi-standby (such as double-card dual-standby), mobile terminal is likely to be inserted simultaneously into multiple Subscriber Identity Modules, such as, when being inserted simultaneously into first user identification card and the second Subscriber Identity Module at mobile terminal, described parameter management module 11 can its send to described parameter server more newly requested in carry an ICCID of first user identification card, also can its send to described parameter server more newly requested in carry the 2nd ICCID of the second Subscriber Identity Module, namely described parameter management module 11 can choose the ICCID of any one Subscriber Identity Module in multiple Subscriber Identity Modules that described mobile terminal inserts as the identification information of described mobile terminal carry send to described parameter server more newly requested in. in a preferred embodiment, described parameter management module 11 can choose the ICCID of Subscriber Identity Module that is active in multiple Subscriber Identity Modules that described mobile terminal inserts as the identification information of described mobile terminal carry send to described parameter server more newly requested in.
Described mobile terminal receives described parameter server and carries the first network Parameter File of more newly requested return described in described identification information based on what receive, the described first network Parameter File received, when described mobile terminal receives the first network Parameter File that described parameter server returns, is transferred to parameter memory module 22 by described parameter management module 11.
Parameter memory module 22, for by the network parameter in the second network parameter file of the application program side of described mobile terminal, it is updated to the network parameter in the described first network Parameter File of reception, and judges that whether the 3rd network parameter file of the modem side of described mobile terminal is consistent with the described second network parameter file after renewal; And described 3rd network parameter file with update after described second network parameter file inconsistent time, the network parameter in described 3rd network parameter file is updated to the network parameter in the described second network parameter file after renewal.
In the present embodiment, the network parameter in the second network parameter file of the application program side of described mobile terminal is updated to the network parameter in the described first network Parameter File of reception by parameter memory module 22. wherein, described parameter memory module 22 is when the renewal carrying out network parameter operates, described second network parameter file can will replace with the corresponding network parameter in described first network parameter with the inconsistent network parameter in described first network Parameter File, it is also possible that the network parameter entirety stated in the second network parameter file replaces with the network parameter in described first network Parameter File, network parameter in described second network parameter file is upgraded by mode that namely described parameter memory module 22 can adopt incremental update or the mode updated completely, the present embodiment is not limiting as adopting which kind of update mode, specifically choose according to actual needs, such as, in the present embodiment, described parameter memory module 22 adopts the mode of incremental update to carry out the upgrading of network parameter in described second network parameter file.
After the renewal of described second network parameter file completing application program side, described parameter memory module 10 judges that whether the 3rd network parameter file of the modem side of described mobile terminal is consistent with the described second network parameter file after renewal, it is understandable that, during the described parameter memory module 22 concordance of described second network parameter file after verifying described 3rd network parameter file and updating, contrast if the described second network parameter file after described 3rd network parameter file and renewal being put together as comparing text based documents, owing to network parameter file is generally bigger, need cost more time, inefficient.
In view of this, the concordance of the described parameter memory module 22 described second network parameter file after verifying described 3rd network parameter file and updating, predetermined encryption algorithm specifically can be adopted to calculate the First Eigenvalue of described 3rd network parameter file respectively, and the Second Eigenvalue of the described second network parameter file after updating, judge that whether the described the First Eigenvalue calculated is consistent with described Second Eigenvalue, what skilled addressee readily understands that is, if the described the First Eigenvalue calculated is consistent with described Second Eigenvalue, described second network parameter file after described 3rd network parameter file being then described and updating is consistent, if the described the First Eigenvalue calculated is inconsistent with described Second Eigenvalue, described second network parameter file after described 3rd network parameter file being then described and updating is inconsistent. by adopting the mode that AES calculates eigenvalue to verify the concordance of two network parameter files, it is possible to effectively promote conforming verification efficiency.
Further, described parameter memory module 22 calculate eigenvalue adopt predetermined encryption algorithm include but not limited to MD5 algorithm and SHA1 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 the purpose that AES calculates eigenvalue to be in that the efficiency of the described second network parameter file consistence verification after improving described 3rd network parameter file and updating, therefore, in the present embodiment, described parameter memory module 22 can preferably employ MD5 algorithm and carries out the calculating of eigenvalue.
In the present embodiment, when the described parameter memory module 22 described second network parameter file after described 3rd network parameter file with renewal is inconsistent, network parameter in described 3rd network parameter file is updated to the network parameter in the described second network parameter file after renewal, when the renewal of the network parameter in carrying out described 3rd network parameter file operates, network parameter in described 3rd network parameter file is updated by mode that described parameter memory module 22 can adopt incremental update or the mode updated completely, it should be noted that, the present embodiment is not limiting as adopting which kind of update mode, specifically choose according to actual needs, such as, in the present embodiment, described parameter memory module 22 adopts the mode of incremental update to carry out the upgrading of network parameter in described 3rd network parameter file.
The present invention further provides a kind of network parameter upgrade method, referring to Fig. 5, based on the hardware configuration of the mobile terminal shown in above-mentioned Fig. 1 or Fig. 2, the network parameter upgrade method of first embodiment of the invention includes:
Step S10, when detecting the change of the version of operating system of mobile terminal, parameter server obtains the first network Parameter File in the operating system after change, wherein, the version change of described operating system is issued by version release management server, described version release management server, when the acquisition receiving parameter server is asked, returns its first network Parameter File extracted from the operating system after change;
For Android system well known to those skilled in the art, Android system is the operating system based on mobile terminal developed by Google Google and open handheld device alliance joint development, its version Android1.0Beta the earliest is published on November 5th, 2007, issued so far multiple renewals. Along with each version updating, such as Android system by initial Android1.0Beta via Android1.1 (PetitFour), Android1.5 (Cupcake), Android1.6 (Donut), Android2.0/2.1Android2.2 (Froyo), Android2.3 (Gingerbread) Android3.0/3.1/3.2 (Honeycomb), Android4.0 (IceCreamSandwich), Android4.1/4.2/4.3 (JellyBean), the version updating Android6.0 (Marshmallow/AndroidM) up till now such as Android4.4 (KitKat) and Android5.0/5.1 (Lollipop/AndroidL), the version of these renewals has all been repaired bug on the basis of previous release and with the addition of the unexistent New function of previous release. accordingly, the version of these renewals carries the network parameter adaptive with these New function. the New function that user provides to the Android system realizing redaction, then must be operated the upgrading of system, and upgrading operation system needs the cost plenty of time. in view of this, idea of the invention is that a kind of network parameter upgrade method separated with operating system version of proposition.
In the present embodiment, when detecting the change of the version of operating system of mobile terminal, parameter server obtains the first network Parameter File in the operating system after change, wherein, the version change of the operating system of mobile terminal is to have new operating system version to issue, such as, Android system redaction Android6.1 has been issued.
In the specific implementation, it is possible to arrange special version release management server, for when there being new operating system version, routine carries out version issue. Parameter server is when detecting the version routine issue that described version release management server carries out, parameter acquiring request is sent to described version release management server, please extract first network Parameter File entrained in the operating system of redaction for described version release management server based on the described parameter acquiring received, and the described first network Parameter File extracted is back to described parameter server; Described parameter server receives the described first network Parameter File that described version release management server returns.
Step S20, described parameter server determines mobile terminal to be upgraded based on the described first network Parameter File obtained;
In the present embodiment, after described parameter server first network Parameter File entrained by the operating system getting redaction, outwards broadcast redaction makes an announcement, receive the mobile terminal that redaction makes an announcement and make decisions to determine the need for carrying out network parameter upgrading, and determine need to carry out network parameter upgrading time, return response message to described parameter server, described parameter server receives response message, and mobile terminal corresponding for the response message of reception is defined as mobile terminal to be upgraded. wherein, described response message carries the identification information of mobile terminal, for uniquely identifying mobile terminal, such as, IMEI (the InternationalMobileEquipmentIdentity of mobile terminal can be adopted, International Mobile Station Equipment Identification) or the ICCID (Integratecircuitcardidentity, integrated circuit card identification code) of Subscriber Identity Module that is currently inserted into of mobile terminal at least one identification information as mobile terminal. it should be noted that, when employing ICCID is as the identification information of mobile terminal, if during the mobile terminal that mobile terminal is multi-card multi-standby (such as double-card dual-standby), mobile terminal is likely to be inserted simultaneously into multiple Subscriber Identity Modules, such as, when being inserted simultaneously into first user identification card and the second Subscriber Identity Module at mobile terminal, mobile terminal can feed back to, at it, the ICCID carrying first user identification card in the response message of described parameter server, also can feed back to, at it, the 2nd ICCID carrying the second Subscriber Identity Module in the response message of described parameter server, namely mobile terminal can be chosen the ICCID of any one Subscriber Identity Module in multiple Subscriber Identity Modules of its insertion and carries in the response message feeding back to described parameter server as its identification information. in a preferred embodiment, mobile terminal can be chosen the ICCID of the Subscriber Identity Module being active in multiple Subscriber Identity Modules of its insertion and carries in the response message feeding back to described parameter server as its identification information.
Further, described step S20 includes:
Described parameter server adopts predetermined encryption algorithm to calculate the First Eigenvalue of the described first network Parameter File obtained, and broadcast calculated described the First Eigenvalue, wherein, receive the Second Eigenvalue of the second network parameter file of the mobile terminal employing described predetermined encryption algorithm calculating application program side of described the First Eigenvalue, and when described Second Eigenvalue and described the First Eigenvalue are inconsistent, return response message to described parameter server;
Described parameter server receives response message, and mobile terminal corresponding for the response message of reception is defined as mobile terminal to be upgraded.
In the present embodiment, when described parameter server determines mobile terminal to be upgraded based on the described first network Parameter File obtained, predetermined encryption algorithm specifically can be adopted to calculate the First Eigenvalue of the described first network Parameter File obtained, and the algorithm mark that the described the First Eigenvalue and being used for calculated characterizes which kind of AES of employing is encapsulated as redaction and makes an announcement, and outwards broadcast that the described redaction of encapsulation is made an announcement. receive during the described redaction that the mobile terminal that described redaction makes an announcement receives from it makes an announcement and extract described the First Eigenvalue and described algorithm mark, and identify, based on described algorithm, the Second Eigenvalue that the predetermined encryption algorithm identical with described parameter server employing calculates the second network parameter file of its application program side, then judge that the described the First Eigenvalue whether described Second Eigenvalue of its calculating receives with it is consistent, if described Second Eigenvalue inconsistent with described the First Eigenvalue (, illustrate that the second network parameter file that described Second Eigenvalue is corresponding is inconsistent with the first network Parameter File corresponding to described the First Eigenvalue, need the network parameter in described second network parameter file is upgraded), then return response message to described parameter server, to inform described parameter server, it needs to carry out network parameter upgrading. described parameter server receives response message, and mobile terminal corresponding for the response message of reception is defined as mobile terminal to be upgraded, specifically can refer to described above, repeats no more herein.
It should be noted that described predetermined encryption algorithm includes but not limited to MD5 algorithm and SHA1 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 adopts the purpose that AES calculates eigenvalue to be in that whether the network parameter file of quick comparison terminal side is consistent with the network parameter file of server side, namely quickly determines the mobile terminal needing to carry out network parameter upgrading. Therefore, in the present embodiment, described parameter server is when calculating the First Eigenvalue of described first network Parameter File, it may be preferable to adopt MD5 algorithm to calculate the First Eigenvalue of the described first network Parameter File obtained.
Step S30, the described first network Parameter File obtained is broadcasted to each described mobile terminal determined by described parameter server, and the parameter management module for each described mobile terminal determined carries out network parameter upgrading based on the described first network Parameter File received;
Wherein, described parameter management module based on receive described first network Parameter File carry out network parameter upgrading include:
The described first network Parameter File received is transferred to the parameter memory module of mobile terminal by described parameter management module, network parameter in second network parameter file of application program side is updated to the network parameter in the described first network Parameter File of reception by described parameter memory module, and modem side the 3rd network parameter file with update after described second network parameter file inconsistent time, the network parameter in described 3rd network parameter file is updated to the network parameter in the described second network parameter file after renewal.
In the present embodiment, after determining mobile terminal to be upgraded, the described first network Parameter File obtained is broadcasted to each described mobile terminal determined by described parameter server, and the parameter management module for each described mobile terminal determined carries out network parameter upgrading based on the described first network Parameter File received. wherein, described parameter management module is when carrying out network parameter upgrading, first the described first network Parameter File received is transferred to the parameter memory module of mobile terminal, by described parameter memory module, the network parameter in the second network parameter file of application program side is updated to the network parameter in the described first network Parameter File of its reception, then judge that whether the 3rd network parameter file of modem side is consistent with the described second network parameter file after renewal, and described 3rd network parameter file with update after described second network parameter file inconsistent time, network parameter in described 3rd network parameter file is updated to the network parameter in the described second network parameter file after renewal. it should be noted that, during described parameter memory module network parameter in updating the 3rd network parameter file of the second network parameter file of application program side and modem side, the mode updated completely can be adopted, may be used without the mode of incremental update, specifically choose according to actual needs, such as, in the present embodiment, described parameter memory module adopts the mode of incremental update to carry out the upgrading of network parameter in described second network parameter file and described 3rd network parameter file.
Concrete, described mobile terminal judges when whether described 3rd network parameter file is consistent with the described second network parameter file after renewal, the third feature value of the described second network parameter file after aforementioned predetermined encryption algorithm can be adopted to calculate renewal respectively (it will be understood by those skilled in the art that, the described the First Eigenvalue that the third feature value of the described second network parameter file after the renewal now calculated is broadcasted with described parameter server is consistent), and calculate the fourth feature value of described 3rd network parameter file, then judge that whether described third feature value is consistent with described fourth feature value, wherein, when described third feature value is inconsistent with described fourth feature value, described second network parameter file after described 3rd network parameter file being then described and updating is inconsistent. such as, when adopting MD5 algorithm to calculate aforementioned third feature value and described fourth feature value, owing to the length of MD5 value is fixed as 128, mobile terminal only need the data comparing 128 namely can determine whether described 3rd network parameter file whether with update after described second network parameter file consistent, the time of cost is several negligible.
The network parameter upgrade method that the embodiment of the present invention proposes, by the version of the operating system of mobile terminal is detected, and after the version of operating system changes, from the operating system after conversion, extract network parameter file, use the network parameter file extracted that network by mobile terminal parameter is upgraded. Compared to prior art, it is to avoid the overall upgrading of operating system, it is possible to the effective efficiency promoting the upgrading of mobile terminal network parameter.
Referring to Fig. 6, based on the hardware configuration of the mobile terminal shown in above-mentioned Fig. 1 or Fig. 2, in the second embodiment of inventive network parameter upgrade method, mobile terminal includes parameter management module and parameter memory module, and described network parameter upgrade method includes:
Step S11, when detecting the event updating network parameter, described parameter management module carries the more newly requested of the identification information of described mobile terminal to parameter server transmission, corresponding first network Parameter File is returned for described parameter server orientation, and when described mobile terminal receives the first network Parameter File that described parameter server returns, the described first network Parameter File received is transferred to described parameter memory module;
It should be noted that, the present embodiment and first embodiment are distinctive in that, first embodiment is for all mobile terminals allowing upgrading, all carries out network parameter upgrading, and the present embodiment is just for the mobile terminal having specific upgrade demand, it is oriented release upgrade. Concrete, in the present embodiment, parameter management module detecting real-time updates the event of network parameter, and when detecting the described event updating network parameter, sends to parameter server and carry the more newly requested of its identification information. Wherein, the described event of renewal network parameter includes mobile terminal and receives the 3rd network parameter file exception updating instruction and modem side of user, such as, when carrying out lab test to verify new mobile network's technology, the network parameter that tester can pass through mobile terminal and provide updates the renewal instruction that control triggering network parameter is upgraded, and described parameter management module identifies the more newly requested of information by carrying it based on described renewal instruction to parameter server transmission; Again such as, the 3rd network parameter running paper abnormal (include activating unsuccessfully, read unsuccessfully and lose the abnormal conditions such as inefficacy) for searching net registration operation of the modem side of mobile terminal activating, and when using the second network parameter file of the described 3rd network parameter file of correspondence of application program side backup " cannot cure " described 3rd network parameter file, described parameter management module carries the more newly requested of the identification information of described mobile terminal to parameter server transmission.
In addition, carry the described identification information in more newly requested, for uniquely identifying mobile terminal, such as, IMEI (the InternationalMobileEquipmentIdentity of mobile terminal can be adopted, International Mobile Station Equipment Identification) or the ICCID (Integratecircuitcardidentity, integrated circuit card identification code) of Subscriber Identity Module that is currently inserted into of mobile terminal at least one identification information as mobile terminal. it should be noted that, when employing ICCID is as the identification information of mobile terminal, if during the mobile terminal that mobile terminal is multi-card multi-standby (such as double-card dual-standby), mobile terminal is likely to be inserted simultaneously into multiple Subscriber Identity Modules, such as, when being inserted simultaneously into first user identification card and the second Subscriber Identity Module at mobile terminal, parameter management module can its send to described parameter server more newly requested in carry an ICCID of first user identification card, also can its send to described parameter server more newly requested in carry the 2nd ICCID of the second Subscriber Identity Module, namely parameter management module can choose described mobile terminal insert multiple Subscriber Identity Modules in any one Subscriber Identity Module ICCID as its identification information carry send to described parameter server more newly requested in. in a preferred embodiment, parameter management module can choose the ICCID of Subscriber Identity Module that is active in multiple Subscriber Identity Modules that described mobile terminal inserts as its identification information carry send to described parameter server more newly requested in.
Described mobile terminal receives described parameter server and carries the first network Parameter File of more newly requested return described in described identification information based on what receive, the described first network Parameter File received, when described mobile terminal receives the first network Parameter File that described parameter server returns, is transferred to parameter memory module by described parameter management module.
Step S22, network parameter in second network parameter file of application program side is updated to the network parameter in the described first network Parameter File of reception by described parameter memory module, and judges that whether the 3rd network parameter file of modem side is consistent with the described second network parameter file after renewal;
In the present embodiment, the network parameter in the second network parameter file of the application program side of described mobile terminal is updated to the network parameter in the described first network Parameter File of reception by parameter memory module. wherein, described parameter memory module is when the renewal carrying out network parameter operates, described second network parameter file can will replace with the corresponding network parameter in described first network parameter with the inconsistent network parameter in described first network Parameter File, it is also possible that the network parameter entirety stated in the second network parameter file replaces with the network parameter in described first network Parameter File, network parameter in described second network parameter file is upgraded by mode that namely described parameter memory module can adopt incremental update or the mode updated completely, the present embodiment is not limiting as adopting which kind of update mode, specifically choose according to actual needs, such as, in the present embodiment, described parameter memory module adopts the mode of incremental update to carry out the upgrading of network parameter in described second network parameter file.
After the renewal of described second network parameter file completing application program side, described parameter memory module judges that whether the 3rd network parameter file of modem side is consistent with the described second network parameter file after renewal, it is understandable that, during the described parameter memory module concordance of described second network parameter file after verifying described 3rd network parameter file and updating, contrast if the described second network parameter file after described 3rd network parameter file and renewal being put together as comparing text based documents, owing to network parameter file is generally bigger, need cost more time, inefficient.
In view of this, the concordance of the described parameter memory module described second network parameter file after verifying described 3rd network parameter file and updating, predetermined encryption algorithm specifically can be adopted to calculate the First Eigenvalue of described 3rd network parameter file respectively, and the Second Eigenvalue of the described second network parameter file after updating, judge that whether the described the First Eigenvalue calculated is consistent with described Second Eigenvalue, what skilled addressee readily understands that is, if the described the First Eigenvalue calculated is consistent with described Second Eigenvalue, described second network parameter file after described 3rd network parameter file being then described and updating is consistent, if the described the First Eigenvalue calculated is inconsistent with described Second Eigenvalue, described second network parameter file after described 3rd network parameter file being then described and updating is inconsistent. by adopting the mode that AES calculates eigenvalue to verify the concordance of two network parameter files, it is possible to effectively promote conforming verification efficiency.
Further, the predetermined encryption algorithm that described parameter memory module calculating eigenvalue adopts includes but not limited to MD5 algorithm and SHA1 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 the purpose that AES calculates eigenvalue to be in that the efficiency of the described second network parameter file consistence verification after improving described 3rd network parameter file and updating, therefore, in the present embodiment, described parameter memory module can preferably employ MD5 algorithm and carries out the calculating of eigenvalue.
Step S33, described 3rd network parameter file with update after described second network parameter file inconsistent time, the network parameter in described 3rd network parameter file is updated to the network parameter in described second network parameter file by described parameter memory module.
In the present embodiment, when the renewal of the network parameter in carrying out described 3rd network parameter file operates, network parameter in described 3rd network parameter file is updated by mode that described parameter memory module can adopt incremental update or the mode updated completely, it should be noted that, the present embodiment is not limiting as adopting which kind of update mode, specifically choose according to actual needs, such as, in the present embodiment, described parameter memory module adopts the mode of incremental update to carry out the upgrading of network parameter in described 3rd network parameter file.
Broadcast type inventive network parameter upgrade method provided below in conjunction with accompanying drawing 7 and the network parameter upgrading flow process of the formula of subscription illustrate respectively, parameter in following steps refers both to carry the network parameter file of network parameter, wherein, broadcast type more new technological process of upgrading is as follows:
1, version management server changes at the version of operating system, and during the change of network parameter version, carries out version routine issue.
2, parameter server sends parameter acquiring and asks to version management server.
3, version management server returns the parameter in the operating system after the version change of its extraction.
4, parameter server is issued redaction and is made an announcement mobile terminal (the whole network leads to terminal).
5, mobile terminal decides whether to need to be updated parameter.
6, when needed, mobile terminal sends the response message carrying parameter updating request to parameter server, and type is broadcast distribution type.
7, parameter server returns the parameter separated with operating system, and type is broadcast distribution type.
8, mobile terminal carries out parameter renewal process based on the parameter received.
So far, broadcast type parameter more new technological process of upgrading completes.
Next describing subscription formula parameter to upgrade more new technological process, this scene carries out parameter upgrading just for the user having particular demands. Suitable in scenes such as lab test, abnormal parameters recovering state, the users having particular demands, as follows:
9, mobile terminal decides whether the particular demands that there is parameter upgrading.
10, mobile terminal sends parameter updating request to parameter server, and type is for subscribing to issue type, and wherein, the described parameter updating request that mobile terminal sends carries the identification information of described mobile terminal, such as the IMEI of described mobile terminal.
11, parameter server returns the parameter that separates with operating system, and type is for subscribing to issue type, and wherein parameter server end orientation return parameters is to the user having subscription demand.
12, mobile terminal terminal carries out parameter renewal process based on the parameter received.
So far, subscribe to formula parameter more new technological process of upgrading to complete.
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 (10)
1. a network parameter update device, it is characterised in that described network parameter update device includes:
Acquisition module, when version for detecting the operating system of mobile terminal when its place parameter server changes, obtain the first network Parameter File in the operating system after change, wherein, the version change of described operating system is issued by version release management server, described version release management server, when the acquisition receiving acquisition module is asked, returns its first network Parameter File extracted from the operating system after change;
Determine module, for determining mobile terminal to be upgraded based on the described first network Parameter File obtained;
Upgraded module, the described first network Parameter File for obtaining is broadcasted to each described mobile terminal determined, the parameter management module for each described mobile terminal determined carries out network parameter upgrading based on the described first network Parameter File received;
Wherein, described parameter management module based on receive described first network Parameter File carry out network parameter upgrading include:
The described first network Parameter File received is transferred to the parameter memory module of mobile terminal by described parameter management module, network parameter in second network parameter file of application program side is updated to the network parameter in the described first network Parameter File of reception by described parameter memory module, and modem side the 3rd network parameter file with update after described second network parameter file inconsistent time, the network parameter in described 3rd network parameter file is updated to the network parameter in the described second network parameter file after renewal.
2. network parameter update device as claimed in claim 1, it is characterized in that, the described the First Eigenvalue determining that module is additionally operable to the described first network Parameter File adopting the calculating of predetermined encryption algorithm to obtain, and broadcast calculated described the First Eigenvalue, wherein, receive the Second Eigenvalue of the second network parameter file of the mobile terminal employing described predetermined encryption algorithm calculating application program side of described the First Eigenvalue, and when described Second Eigenvalue and described the First Eigenvalue are inconsistent, return response message to described parameter server; And when its place parameter server receives response message, mobile terminal corresponding for the response message of reception is defined as mobile terminal to be upgraded.
3. network parameter update device as claimed in claim 2, it is characterised in that described predetermined encryption algorithm includes at least one in MD5 algorithm and SHA1 algorithm.
4. a network parameter update device, it is characterised in that described network parameter update device includes:
Parameter management module, for when its place mobile terminal detects the event updating network parameter, identification information more newly requested carrying described mobile terminal is sent to parameter server, corresponding first network Parameter File is returned for described parameter server orientation, and when described mobile terminal receives the first network Parameter File that described parameter server returns, the described first network Parameter File received is transferred to parameter memory module;
Parameter memory module, for by the network parameter in the second network parameter file of the application program side of described mobile terminal, it is updated to the network parameter in the described first network Parameter File of reception, and judges that whether the 3rd network parameter file of the modem side of described mobile terminal is consistent with the described second network parameter file after renewal; And described 3rd network parameter file with update after described second network parameter file inconsistent time, the network parameter in described 3rd network parameter file is updated to the network parameter in the described second network parameter file after renewal.
5. network parameter update device as claimed in claim 4, it is characterised in that the event of described renewal network parameter includes described mobile terminal and receives the 3rd network parameter file exception updating instruction and described modem side of user.
6. a network parameter upgrade method, it is characterised in that described network parameter upgrade method includes:
When detecting the change of the version of operating system of mobile terminal, parameter server obtains the first network Parameter File in the operating system after change, wherein, the version change of described operating system is issued by version release management server, described version release management server, when the acquisition receiving parameter server is asked, returns its first network Parameter File extracted from the operating system after change;
Described parameter server determines mobile terminal to be upgraded based on the described first network Parameter File obtained;
The described first network Parameter File obtained is broadcasted to each described mobile terminal determined by described parameter server, and the parameter management module for each described mobile terminal determined carries out network parameter upgrading based on the described first network Parameter File received;
Wherein, described parameter management module based on receive described first network Parameter File carry out network parameter upgrading include:
The described first network Parameter File received is transferred to the parameter memory module of mobile terminal by described parameter management module, network parameter in second network parameter file of application program side is updated to the network parameter in the described first network Parameter File of reception by described parameter memory module, and modem side the 3rd network parameter file with update after described second network parameter file inconsistent time, the network parameter in described 3rd network parameter file is updated to the network parameter in the described second network parameter file after renewal.
7. network parameter upgrade method as claimed in claim 6, it is characterised in that based on the described first network Parameter File obtained, described parameter server determines that the step of mobile terminal to be upgraded includes:
Described parameter server adopts predetermined encryption algorithm to calculate the First Eigenvalue of the described first network Parameter File obtained, and broadcast calculated described the First Eigenvalue, wherein, receive the Second Eigenvalue of the second network parameter file of the mobile terminal employing described predetermined encryption algorithm calculating application program side of described the First Eigenvalue, and when described Second Eigenvalue and described the First Eigenvalue are inconsistent, return response message to described parameter server;
Described parameter server receives response message, and mobile terminal corresponding for the response message of reception is defined as mobile terminal to be upgraded.
8. network parameter upgrade method as claimed in claim 7, it is characterised in that described predetermined encryption algorithm includes at least one in MD5 algorithm and SHA1 algorithm.
9. a network parameter upgrade method, it is characterised in that mobile terminal includes parameter management module and parameter memory module, and described network parameter upgrade method includes:
When detecting the event updating network parameter, described parameter management module carries the more newly requested of the identification information of described mobile terminal to parameter server transmission, corresponding first network Parameter File is returned for described parameter server orientation, and when described mobile terminal receives the first network Parameter File that described parameter server returns, the described first network Parameter File received is transferred to described parameter memory module;
Network parameter in second network parameter file of application program side is updated to the network parameter in the described first network Parameter File of reception by described parameter memory module, and judges that whether the 3rd network parameter file of modem side is consistent with the described second network parameter file after renewal;
Described 3rd network parameter file with update after described second network parameter file inconsistent time, the network parameter in described 3rd network parameter file is updated to the network parameter in the described second network parameter file after renewal by described parameter memory module.
10. network parameter upgrade method as claimed in claim 9, it is characterised in that the event of described renewal network parameter includes mobile terminal and receives the 3rd network parameter file exception updating instruction and modem side of user.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610015149.6A CN105681078A (en) | 2016-01-11 | 2016-01-11 | Network parameter upgrading device and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610015149.6A CN105681078A (en) | 2016-01-11 | 2016-01-11 | Network parameter upgrading device and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105681078A true CN105681078A (en) | 2016-06-15 |
Family
ID=56299812
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610015149.6A Pending CN105681078A (en) | 2016-01-11 | 2016-01-11 | Network parameter upgrading device and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105681078A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106789132A (en) * | 2016-12-30 | 2017-05-31 | 中国民航信息网络股份有限公司 | The transmission method of data, apparatus and system |
CN109672717A (en) * | 2018-09-25 | 2019-04-23 | 平安普惠企业管理有限公司 | Maintain system conformance method, equipment, storage medium and device |
CN110995864A (en) * | 2019-12-19 | 2020-04-10 | 福建新大陆支付技术有限公司 | Parameter management method and parameter management system based on parameter management system |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101110694A (en) * | 2006-07-19 | 2008-01-23 | 上海卡友信息服务有限公司 | Method and device for software update using terminal unit in business system |
CN101296448A (en) * | 2008-06-03 | 2008-10-29 | 中兴通讯股份有限公司 | Terminal software upgrading method and device |
US20100325201A1 (en) * | 2009-06-19 | 2010-12-23 | Research In Motion Limited | System and Method for Remote Management of Dynamic Address Book Application |
CN102480494A (en) * | 2010-11-23 | 2012-05-30 | 金蝶软件(中国)有限公司 | File updating method, device and system |
CN102541593A (en) * | 2011-12-20 | 2012-07-04 | 福建星网视易信息***有限公司 | Rapid comparison method of versions of remote files |
CN103095838A (en) * | 2013-01-16 | 2013-05-08 | 福州博远无线网络科技有限公司 | Method for upgrading Android smartphone software through downloading incremental upgrade package |
CN104954317A (en) * | 2014-03-25 | 2015-09-30 | 国基电子(上海)有限公司 | Method, server and client for network parameter configuration |
CN104955023A (en) * | 2015-06-26 | 2015-09-30 | 努比亚技术有限公司 | Mobile terminal and method for updating network parameters |
-
2016
- 2016-01-11 CN CN201610015149.6A patent/CN105681078A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101110694A (en) * | 2006-07-19 | 2008-01-23 | 上海卡友信息服务有限公司 | Method and device for software update using terminal unit in business system |
CN101296448A (en) * | 2008-06-03 | 2008-10-29 | 中兴通讯股份有限公司 | Terminal software upgrading method and device |
US20100325201A1 (en) * | 2009-06-19 | 2010-12-23 | Research In Motion Limited | System and Method for Remote Management of Dynamic Address Book Application |
CN102480494A (en) * | 2010-11-23 | 2012-05-30 | 金蝶软件(中国)有限公司 | File updating method, device and system |
CN102541593A (en) * | 2011-12-20 | 2012-07-04 | 福建星网视易信息***有限公司 | Rapid comparison method of versions of remote files |
CN103095838A (en) * | 2013-01-16 | 2013-05-08 | 福州博远无线网络科技有限公司 | Method for upgrading Android smartphone software through downloading incremental upgrade package |
CN104954317A (en) * | 2014-03-25 | 2015-09-30 | 国基电子(上海)有限公司 | Method, server and client for network parameter configuration |
CN104955023A (en) * | 2015-06-26 | 2015-09-30 | 努比亚技术有限公司 | Mobile terminal and method for updating network parameters |
Non-Patent Citations (1)
Title |
---|
CG实验室: "《PC游戏编程(网络游戏篇)》", 31 August 2003, 清华大学出版社 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106789132A (en) * | 2016-12-30 | 2017-05-31 | 中国民航信息网络股份有限公司 | The transmission method of data, apparatus and system |
CN109672717A (en) * | 2018-09-25 | 2019-04-23 | 平安普惠企业管理有限公司 | Maintain system conformance method, equipment, storage medium and device |
CN109672717B (en) * | 2018-09-25 | 2023-02-03 | 平安普惠企业管理有限公司 | Method, device, storage medium and apparatus for maintaining system consistency |
CN110995864A (en) * | 2019-12-19 | 2020-04-10 | 福建新大陆支付技术有限公司 | Parameter management method and parameter management system based on parameter management system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110149370B (en) | Method and device for downloading upgrade file | |
CN105338515B (en) | Data service transmission method and mobile communication equipment | |
EP2611226B1 (en) | Processing method and system for over-the-air bootstrap | |
CN108200568B (en) | Mobile communication electronic SIM card data processing method and device | |
CN111372249B (en) | System and method for testing consistency of code number downloading process of eSIM (embedded subscriber identity Module) terminal of Internet of things | |
CN105392197A (en) | Paging Mechanisms for Link-Budget-Limited User Devices | |
CN105188048A (en) | Method, device and terminal equipment for loading customized applications for mobile terminal | |
CN103596177A (en) | Method for making mobile terminal get access to public WiFi in one-key mode | |
KR20140100501A (en) | Method and apparatus for providing firmware over the air service to user equipments | |
CN101917706A (en) | Processing method and device for upgrading FOTA (Firmware Over the Air) | |
US10224972B2 (en) | Systems, methods, and computer-readable media for tracking updates and loading data | |
CN105530130A (en) | Method and device for upgrading Over-The-Air downloading technology | |
CN105681078A (en) | Network parameter upgrading device and method | |
CN111182611B (en) | Communication method and device | |
CN113194406B (en) | Capability reporting method, device and terminal | |
CN107241714B (en) | Method, device and storage medium for establishing communication | |
KR101587030B1 (en) | System and method for api call policy management of m2m application | |
KR20200045513A (en) | Method and apparatus for wireless communication | |
CN111567073B (en) | Terminal configuration method and device | |
CN114691734B (en) | Cache management and control method and device, computer readable medium and electronic equipment | |
CN102316443A (en) | Storage system for use information of mobile terminal and method | |
CN101854678A (en) | Access control method and device | |
CN113055952B (en) | Network type setting method, user equipment and computer readable storage medium | |
CN102567088B (en) | Method of handling step execution result in software and application control management object | |
CN105704749A (en) | Network parameter recovery apparatus and method thereof |
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 |
Application publication date: 20160615 |
|
RJ01 | Rejection of invention patent application after publication |