[go: up one dir, main page]

CN105743698A - Parameter processing method and terminal - Google Patents

Parameter processing method and terminal Download PDF

Info

Publication number
CN105743698A
CN105743698A CN201610055539.6A CN201610055539A CN105743698A CN 105743698 A CN105743698 A CN 105743698A CN 201610055539 A CN201610055539 A CN 201610055539A CN 105743698 A CN105743698 A CN 105743698A
Authority
CN
China
Prior art keywords
configuration parameter
parameter file
terminal
module
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610055539.6A
Other languages
Chinese (zh)
Inventor
董志伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201610055539.6A priority Critical patent/CN105743698A/en
Publication of CN105743698A publication Critical patent/CN105743698A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0659Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities
    • H04L41/0661Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities by reconfiguring faulty entities

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention discloses a parameter processing method and a terminal, which are used for recovering and updating a configuration parameter file of a communication terminal. The method in the embodiment of the invention comprises the following steps that: the terminal establishes a fixed partition; the terminal stores a first configuration parameter file in the fixed partition; the terminal reads a second configuration parameter file, wherein the second configuration parameter file is not stored in the fixed partition; the terminal recovers the second configuration parameter file according to the first configuration parameter file if the second configuration parameter file is damaged; or the terminal updates the second configuration parameter file according to the first configuration parameter file if a second version number in the second configuration parameter file is lower than a first version number of the first configuration parameter file. Through adoption of the parameter processing method disclosed by the invention, the terminal can recover and update the configuration parameter file of the communication module from the fixed partition and receive a configuration parameter file issued by a server to update the configuration parameter file of the fixed partition, so that the terminal can obtain an optimal communication service.

Description

A kind of parameter processing method and terminal
Technical field
The present invention relates to communication technical field, especially relate to a kind of parameter processing method and terminal.
Background technology
At present, global mobile communication business has very huge market, and mobile terminal operator is more and more participated.Owing to mobile communication is had increasing demand by user, use the technology of NV parameter can meet a lot of this demand, so seeming ever more important about the technology of NV parameter.
In the prior art, communication terminal is by by the configuration parameter of communication module side, such as MEID (MobileEquipmentIdentifier, mobile EIC equipment identification code), ESN (ElectronicSerialNumber, Electronic Serial Number), IMSI (InternationalMobileSubscriberIdentificationNumber, international mobile subscriber identity), AKEY (AuthenticationKey, authentication code) etc. parameter be integrated into * .qcn file, * .efs file, and it is integrated in software version when producing by the NV mode packed, generate NV parameter configuration files.Due in the use procedure of communication terminal, follow-up this section communication side configuration parameter will not be recovered or updates, so this section communication side configuration parameter immobilizes after dispatching from the factory.
Owing in prior art, the communication side configuration parameter of communication terminal is changeless, and communication terminal is easy to cause the loss of parameter and be modified in the use procedure of user, to such an extent as to after the configuration parameter about communication module side is lost or is modified, communication terminal can be caused can not to know card, without service, signal can not be shown, net can not be opened even can not carry out and converse and a series of problem such as online occurs, thus affecting the normal use of client, cause the problem such as customer complaint, the return of goods.
Summary of the invention
Embodiments provide a kind of parameter processing method and terminal, for the configuration parameter file of communication terminal is recovered and updated so that terminal can obtain the communication efficiency of optimum.
In view of this, a first aspect of the present invention provides a kind of parameter processing method, including:
Terminal sets up fixed partition;
First configuration parameter file is stored to fixed partition by terminal;
Terminal reads the second configuration parameter file, and the second configuration parameter file is not stored in fixed partition;
If the second configuration parameter file is damaged, then the second configuration parameter file is recovered by terminal according to the first configuration parameter file;
Or,
If the second edition number in the second configuration parameter file is lower than the first version number of the first configuration parameter file, then the second configuration parameter file is updated by terminal according to the first configuration parameter file.
In conjunction with the first aspect of the embodiment of the present invention, in the first embodiment of the first aspect of the embodiment of the present invention, the first configuration parameter file is stored to after fixed partition, also including by terminal:
Terminal receives the 3rd configuration parameter file from server;
Whether this number of the third edition of terminal judges the 3rd configuration parameter file be higher than first version number, and if so, then the first configuration parameter file is updated by terminal according to the 3rd configuration parameter file.
In conjunction with any one in the first aspect of the embodiment of the present invention or the first embodiment of first aspect, in the second embodiment of the first aspect of the embodiment of the present invention, also include:
Terminal reads the special parameter in the second configuration parameter file;
Whether terminal judges special parameter is different from preset value;
If it is different, then the second edition number is set to version number's preset value by terminal;
Terminal reads the second edition number;
If terminal determines that the second edition number is for version number's preset value, then terminal determines that the second configuration parameter file is damaged;
Second configuration parameter file is carried out recovery according to the first configuration parameter file and includes by terminal:
First configuration parameter file is write and covers the second configuration parameter file by terminal;
If terminal determines that the second edition number is lower than first version number, then the second configuration parameter file is updated including by terminal according to the first configuration parameter file:
First configuration parameter file is write and covers the second configuration parameter file by terminal.
In conjunction with any one among the first aspect of the embodiment of the present invention, the first embodiment of first aspect and the second embodiment of first aspect, in the third embodiment of the first aspect of the embodiment of the present invention, also include:
Terminal receives and updates fixed partition file instruction;
Terminal to server sends request instruction, in order to obtain the 3rd configuration parameter file to server request;
Or,
Terminal detects whether that first after reaching start presets the stage, and if so, then terminal to server sends request instruction, in order to obtain the 3rd configuration parameter file to server request.
In conjunction with among the first aspect of the embodiment of the present invention, the first embodiment of first aspect, the second embodiment of first aspect and the third embodiment of first aspect any one, in the 4th kind of embodiment of the first aspect of the embodiment of the present invention, terminal receives before the 3rd configuration parameter file from server, also includes:
Whether terminal judges receives module recovery updates instruction;
If so, then terminal triggers the step reading the second edition number value;
Or,
Terminal detects whether that second after reaching start presets the stage, and if so, then terminal triggers the step reading the second edition number value.
In conjunction with among the first aspect of the embodiment of the present invention, the first embodiment of first aspect, the second embodiment of first aspect, the third embodiment of first aspect and the 4th kind of embodiment of first aspect any one, in the 5th kind of embodiment of the first aspect of the embodiment of the present invention, terminal receives the 3rd configuration parameter file from server and includes:
Terminal receives, by OTA, the 3rd configuration parameter file that server sends.
In conjunction with any one among the first aspect of the embodiment of the present invention, the first embodiment of first aspect, the second embodiment of first aspect, the third embodiment of first aspect, the 4th kind of embodiment of first aspect and the 5th kind of embodiment of first aspect, in the 6th kind of embodiment of the first aspect of the embodiment of the present invention, including:
First configuration parameter file of terminal, the second configuration parameter file and the configuration parameter file that the 3rd configuration parameter file is NV parameter.
In conjunction with among the first aspect of the embodiment of the present invention, the first embodiment of first aspect, the second embodiment of first aspect, the third embodiment of first aspect, the 4th kind of embodiment of first aspect, the 5th kind of embodiment of first aspect and the 6th kind of embodiment of first aspect any one, in the 7th kind of embodiment of the first aspect of the embodiment of the present invention, first configuration parameter file is write and covers after the second configuration parameter file by terminal, also includes:
Terminal performs to restart flow process.
A second aspect of the present invention provides a kind of terminal, including:
Set up module, be used for setting up fixed partition;
Memory module, for storing the first configuration parameter file to fixed partition;
Read module, is used for reading the second configuration parameter file, and the second configuration parameter file is not stored in fixed partition;
First judge module, is used for judging whether the second configuration parameter file is damaged;
Second judge module, for judging that the second edition number of the second configuration parameter file is whether lower than the first version number of the first configuration parameter file;
Recover module, for when the first judge module judges that the second configuration parameter file is damaged, then the second configuration parameter file being recovered according to the first configuration parameter file;
First more new module, for when the second judge module judges the second edition number lower than first version, being then updated the second configuration parameter file according to the first configuration parameter file.
In conjunction with the second aspect of the embodiment of the present invention, in the first embodiment of the second aspect of the embodiment of the present invention, also include:
First receiver module, for receiving the 3rd configuration parameter file from server;
3rd judge module, whether this number of the third edition for judging the 3rd configuration parameter file is higher than first version number;
Second more new module, for when the 3rd judge module judges that this number of the third edition is higher than first version, being updated the first configuration parameter file according to the 3rd configuration parameter file.
In conjunction with any one in the second aspect of the embodiment of the present invention and the first embodiment of second aspect, in the second embodiment of the second aspect of the embodiment of the present invention, read module includes:
First reads unit, for reading the special parameter in the second configuration parameter file;
First judging unit, is used for judging that whether special parameter is different from preset value;
Unit is set, for when judging unit judges that special parameter is different from preset value, the second edition number being set to version number's preset value.
In conjunction with any one in the second aspect of the embodiment of the present invention, the first embodiment of second aspect and the second embodiment of second aspect, in the third embodiment of the second aspect of the embodiment of the present invention, the first judge module includes:
Second reads unit, is used for reading the second edition number;
Second judging unit, is used for judging whether the second edition number is version number's preset value;
Determine unit, for when the second judging unit judges the second edition number as version number's preset value, it is determined that the second configuration parameter file is damaged.
In conjunction with the second aspect of the embodiment of the present invention, the embodiment of the present invention the first of second aspect to any one in the third embodiment, in the 4th kind of embodiment of the second aspect of the embodiment of the present invention, the second judge module includes:
Third reading takes unit, is used for reading first version number and the second edition number;
3rd judging unit, is used for judging that whether the second edition number is lower than first version number.
In conjunction with the second aspect of the embodiment of the present invention, the embodiment of the present invention the first of second aspect to any one in the 4th kind of embodiment, in the 5th kind of embodiment of the second aspect of the embodiment of the present invention, also include:
Second receiver module, is used for receiving renewal fixed partition file instruction;
First detection module, for detecting whether reach first after start to preset the stage;
Sending module, for when the second receiver module receives renewal fixed partition file instruction or first detection module detects that first after reaching start presets the stage, sending request instruction to server, in order to obtain the 3rd configuration parameter file to server request.
In conjunction with the second aspect of the embodiment of the present invention, the embodiment of the present invention the first of second aspect to any one in the 5th kind of embodiment, in the 6th kind of embodiment of the second aspect of the embodiment of the present invention, also include:
3rd receiver module, recovers to update instruction for receiver module;
4th judge module, is used for judging whether the 3rd receiver module receives module recovery and update instruction;
Second detection module, for detecting whether reach second after start to preset the stage;
Trigger module, for when the 4th judge module judgement receives module recovery renewal instruction or the second detection module detects that second after reaching start presets the stage, triggering the first judge module and/or the work of the second judge module.
In conjunction with the second aspect of the embodiment of the present invention, the embodiment of the present invention the first of second aspect to any one in the 6th kind of embodiment, in the 7th kind of embodiment of the second aspect of the embodiment of the present invention, also include:
Restart module, restart flow process for execution.
As can be seen from the above technical solutions, the embodiment of the present invention has the advantage that
Thering is provided a kind of parameter processing method and terminal in the embodiment of the present invention, after terminal sets up fixed partition, configuration parameter file is stored to fixed partition and to update as backup file for recovery by terminal.When the configuration parameter file of terminal self is damaged or the configuration parameter FileVersion of terminal is too low, then terminal can read configuration parameter file access pattern from fixed partition and/or update the configuration parameter file of self so that terminal can proper communication.And because terminal is able to receive that the configuration parameter file of fixed partition is updated by the configuration parameter file that server issues, configuration parameter file after terminal is updated keeps consistent with the configuration parameter file on server, can obtain the communication efficiency of optimum.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme in the embodiment of the present invention, the accompanying drawing used required in embodiment will be briefly described below, apparently, accompanying drawing in the following describes is only embodiments of the invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to the accompanying drawing provided.
Fig. 1 is an embodiment schematic diagram of a kind of parameter processing method of the embodiment of the present invention;
Fig. 2 is another embodiment schematic diagram of a kind of parameter processing method of the embodiment of the present invention;
Fig. 3 is another embodiment schematic diagram of a kind of parameter processing method of the embodiment of the present invention;
Fig. 4 is an embodiment schematic diagram of a kind of terminal of the embodiment of the present invention;
Fig. 5 is another embodiment schematic diagram of a kind of terminal of the embodiment of the present invention.
Detailed description of the invention
Embodiments provide a kind of parameter processing method, for the configuration parameter file of communication terminal is recovered and updated.
In order to make those skilled in the art be more fully understood that the present invention program, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the embodiment of a present invention part, rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, all should belong to the scope of protection of the invention.
Term " first " in description and claims of this specification and above-mentioned accompanying drawing, " second ", " the 3rd ", " the 4th " etc. (if existence) are for distinguishing similar object, without being used for describing specific order or precedence.Should be appreciated that the data of so use can be exchanged in the appropriate case, in order to the embodiments described herein can be implemented with the order except the content of here diagram or description.In addition, term " includes " and " having " and their any deformation, it is intended to cover non-exclusive comprising, such as, contain series of steps or the process of unit, method, system, product or equipment be not necessarily limited to those steps or the unit clearly listed, but can include clearly not listing or for intrinsic other step of these processes, method, product or equipment or unit.
In embodiments of the present invention, terminal can set up fixed partition in order to deposit configuration parameter file.Fixed partition uses as data storage areas, and the configuration parameter file being stored in fixed partition uses as the data source in order to back up and update.The configuration parameter file of terminal communication module can be recovered and/or update according to the configuration parameter file leaving fixed partition in by terminal.Below specific works flow process is explained.
Referring to Fig. 1, an embodiment schematic diagram of a kind of parameter processing method of the embodiment of the present invention includes:
Step 101, terminal set up fixed partition;
Terminal sets up fixed partition in its own system, and the region that this fixed partition stores as data uses.The file deposited in fixed partition can not be eliminated when carrying out factory reset, thus ensure that the safety of data.
Terminal is can to communicate and/or the mobile communication terminal of other network functions, it is possible to is mobile phone or other mobile communication terminals, is not especially limited herein.
First configuration parameter file is stored to fixed partition by step 102, terminal;
First configuration parameter file is stored in fixed partition by terminal, and the first configuration parameter file includes the configurations parameter of terminal, about the file of region, radio frequency, communication, the parameter of network settings and version number's parameter.The parameter of the first configuration parameter file can be MEID, ESN, IMSI, AKEY parameter or other parameters configured about terminal in actual applications, is not especially limited herein.The parameter of the first configuration parameter file is NV parameter, is packaged into NV Parameter File and is integrated in terminal application software in the way of NV packing.In actual applications, file format can be * .qcn, * .efs or extended formatting, is not especially limited herein.
Step 103, terminal read the second configuration parameter file;
Terminal reads the second configuration parameter file, concrete, terminal reads the fileinfo in the second configuration parameter file, and fileinfo can be the NV2808 of the version number showing configuration parameter file, the NV10 controlling network schemer or other parameters, is not especially limited herein.
Whether step 104, terminal judges the second configuration parameter file damage;
After terminal reads the fileinfo of the second configuration parameter file, terminal can first determine whether whether the second configuration parameter file is damaged, thus judging whether to perform step 105.If terminal judges the second configuration parameter file is damaged, then carry out step 105;If terminal judges the second configuration parameter file is not damaged, then perform step 106.
Second configuration parameter file is recovered by step 105, terminal;
After terminal judges that the second configuration parameter file is damaged, perform to recover the step of the second configuration parameter file, be specially terminal and read the first configuration parameter file being stored in fixed partition, the first configuration parameter file is write and cover the second configuration parameter file.
Step 106, terminal judges the second configuration parameter file the second edition number whether lower than the first version number of the first configuration parameter file;
Whether the second edition number of terminal judges the second configuration parameter file is lower than the first version number of the first configuration parameter file, if the second edition number is lower than first version number, then performs step 107.
Second configuration parameter file is updated by step 107, terminal;
Terminal judges that the second edition number is lower than, after first version number, performing to update the step of the second configuration parameter file, is specially terminal and reads the first configuration parameter file being stored in fixed partition, writes and cover the second configuration parameter file by the first configuration parameter file.
In the embodiment of the present invention, terminal can be fixed recovery and the renewal of the renewal of the configuration parameter file of subregion and the configuration parameter file of communication module after receiving user instruction, can also reach the stage of presetting is fixed recovery and the renewal of the renewal of configuration parameter file of subregion and the configuration parameter file of communication module automatically, is described according to two kinds of different situations separately below.
One, terminal receives instruction and is fixed the configuration parameter file renewal of subregion and the configuration parameter file access pattern of communication module and renewal.
Referring to Fig. 2, another embodiment schematic diagram of a kind of parameter processing method of the embodiment of the present invention includes:
In the embodiment of the present invention, step 201 is identical with step 101, and step 202 is identical with step 102, repeats no more herein.
Step 203, terminal receive and update fixed partition file instruction;
Terminal receives the renewal fixed partition file instruction that user sends, and the configuration parameter file of fixed partition is updated by user's operation instruction terminal in terminal, and terminal performs step 204 after receiving instruction.
Step 204, terminal receive the 3rd configuration parameter file from server;
Terminal receives the 3rd configuration parameter file that server issues, the 3rd configuration parameter file that server issues is the up-to-date configuration parameter file under the Operation Network of current server place, server issues the mode of the 3rd configuration parameter file and can be through OTA over the air or other modes, is not especially limited herein.
Whether step 205, terminal judges this number of the third edition be higher than first version number;
The 3rd configuration parameter file that the first configuration parameter file and server that are stored in fixed partition issue, after receiving the 3rd configuration parameter file that server issues, can be compared by terminal.The content specifically compared is NV2808 [29] field in the parameter NV2808 of the version number showing configuration parameter file, if the value of NV2808 [29] field of the first version number in the first configuration parameter file is less than the value of NV2808 [29] field of this number of the third edition in the 3rd configuration parameter file, then this number of the terminal judges third edition is higher than first version number, performs step 206.
Step 206, terminal update the first configuration parameter file;
When terminal judges this number of the third edition is higher than first version, the the first configuration parameter file being stored in fixed partition can be updated by terminal according to the 3rd configuration parameter file, comprise the concrete steps that terminal reads the 3rd configuration parameter file that server issues, 3rd configuration parameter file is write fixed partition and covers original first configuration parameter file, the first configuration parameter file after being updated.
Step 207, terminal receiver module recover to update instruction;
Terminal receives the module recovery renewal instruction that user sends, and the configuration parameter file of terminal own module is updated by user's operation instruction terminal in terminal, and terminal receiver module performs step 208 after recovering renewal instruction.
Step 208, terminal read the special parameter in the second configuration parameter file;
Terminal reads the second configuration parameter file being stored in own module, the concrete special parameter read in the second configuration parameter file, these special parameters include the NV2808 of the version number of display configuration parameter file, the NV10 controlling network schemer or other parameters, are not especially limited herein.
Whether step 209, terminal judges special parameter be different from preset value;
Terminal reads special parameter and judges whether special parameter has different from preset value, for instance it is 36 that terminal reads the preset value of the NV10, the NV10 that belong to special parameter, if the value of terminal judges NV10 is not 36, then terminal judges that special parameter is different from preset value.In actual applications, as long as all special parameters that terminal reads have at least one not identical with preset value, then terminal will judge that special parameter is different from preset value, performs step 210;If all special parameters are all identical with preset value, then perform step 211.
The second edition number is set to version number's preset value by step 210, terminal;
When terminal judges that special parameter is different from preset value, then terminal can will be stored in NV2808 [29] field of the second edition number of own module and is set to version number's preset value, for instance NV2808 [29] is set to 255.
Step 211, terminal read the second edition number;
Terminal reads the second edition number being stored in own module, is specially the parameter NV2808 reading the second configuration parameter file, performs step 212 afterwards.
It should be noted that step 208 to step 210 has only to before step 211, namely performed before terminal reads the second edition number, be not especially limited herein.
Whether step 212, the terminal judges second edition number are version number's preset value;
After terminal reads the parameter NV2808 of the second configuration parameter file, it is judged that whether NV2808 [29] field is preset value 255;
If so, step 213 is then performed;
If it is not, then perform step 215.
Step 213, terminal determine that the second configuration parameter file is damaged;
When terminal judges NV2808 [29] field is preset value 255, terminal judges that the second configuration parameter file is damaged.
Step 214, terminal recover the second configuration parameter file;
After terminal judges that the second configuration parameter file is damaged, perform to recover the step of the second configuration parameter file, be specially terminal and read the first configuration parameter file being stored in fixed partition, the first configuration parameter file is write and cover the second configuration parameter file.
Whether step 215, the terminal judges second edition number be lower than first version number;
Terminal reads NV2808 [29] field of the second edition number and NV2808 [29] field of first version number, whether the value of NV2808 [29] field of the terminal judges second edition number is lower than the value of NV2808 [29] field of first version number, if so, step 216 is then performed;If it is not, then do not perform any action.
Step 216, terminal update the second configuration parameter file;
If the value of the NV2808 of the terminal judges second edition number [29] field is lower than the value of NV2808 [29] field of first version number, the version version lower than the first configuration parameter file of the second configuration parameter file is then described, terminal performs to update the step of the second configuration parameter file, it is specially terminal and reads the first configuration parameter file being stored in fixed partition, the first configuration parameter file is write and cover the second configuration parameter file.Concrete wiring method can be through QMI (QualcommMsmInterface, high pass self-defining data interface) interface, HAL (HardwareAbstractionLayer, hardware abstraction layer) or alternate manner write, it is not especially limited herein.
It should be noted that step 203 to step 206 has only to before step 216, namely performed before terminal updates the second configuration parameter file, be not especially limited herein.
Step 217, terminal perform to restart flow process;
Terminal, after recovering and/or updating the second configuration parameter file, can restart, so that the data of write come into force.
Two, terminal reaches the stage of presetting and is automatically fixed the configuration parameter file of subregion and updates and the configuration parameter file access pattern of communication module and renewal.
Referring to Fig. 3, another embodiment schematic diagram of a kind of parameter processing method of the embodiment of the present invention includes:
In the embodiment of the present invention, step 301 is identical with step 201, and step 302 is identical with step 202, repeats no more herein.
Step 303, terminal reach first and preset the stage;
Terminal is preset and is performed step 304 after the stage reaching first, first preset the stage can be terminal open with after certain stage pre-set, for instance terminal is opened latter 10 minutes, or other stages of terminal, is not especially limited herein.
In the embodiment of the present invention, step 304 is identical with step 204, and step 305 is identical with step 205, and step 306 is identical with step 206, repeats no more herein.
Step 307, terminal reach second and preset the stage;
Terminal reaches second and presets and perform step 308 after the stage, second preset the stage can terminal open after after certain stage pre-set, for instance terminal is opened latter 30 minutes, or other stages of terminal, is not especially limited herein.
It should be noted that the second the first default stage preset in stage and step 303 in step 307 can be the identical stage, it is also possible to being the different stages, both, also without the relation in sequential, are not especially limited herein.
In the embodiment of the present invention, step 308 is identical with step 208, step 309 is identical with step 209, step 310 is identical with step 210, and step 311 is identical with step 211, and step 312 is identical with step 212, step 313 is identical with step 213, step 314 is identical with step 214, and step 315 is identical with step 215, and step 316 is identical with step 216, step 317 is identical with step 217, repeats no more herein.
It should be noted that step 308 to step 310 has only to before step 211, namely performed before terminal reads the second edition number, be not especially limited herein.
It should be noted that step 303 to step 306 has only to before step 316, namely performed before terminal updates the second configuration parameter file, be not especially limited herein.
Above the parameter processing method in the embodiment of the present invention is described, below the terminal in the embodiment of the present invention is described.
One, terminal receives instruction and is fixed the configuration parameter file renewal of subregion and the configuration parameter file access pattern of communication module and renewal.
Referring to Fig. 4, an embodiment of a kind of terminal in the embodiment of the present invention includes:
Terminal includes setting up module 401, memory module 402, read module the 403, first judge module 404, recovers module the 405, second judge module 406, first more new module the 407, first receiver module the 408, the 3rd judge module 409, second more new module the 410, second receiver module 411, sending module the 412, the 3rd receiver module the 413, the 4th judge module 414, trigger module 415, restarts module 416.
Set up module 401, for setting up fixed partition in systems.
Memory module 402, for storing the first configuration parameter file to fixed partition.
Read module 403, is used for reading the second configuration parameter file, and the second configuration parameter file is not stored in fixed partition.
Further, read module 403 also includes first reading unit the 4031, first judging unit 4032 and arranges unit 4033.
First reads unit 4031, for reading the special parameter in the second configuration parameter file.
First judging unit 4032, is used for judging that whether described special parameter is different from preset value.
Unit 4033 is set, for when the first judging unit 4032 judges that special parameter is different from preset value, the second edition number being set to version number's preset value.
First judge module 404, is used for judging whether the second configuration parameter file is damaged.
Further, the first judge module 404 also includes second reading unit the 4041, second judging unit 4042 and determines unit 4043.
Second reads unit 4041, is used for reading the second edition number.
Second judging unit 4042, is used for judging whether the second edition number is version number's preset value.
Determine unit 4043, for when the second judging unit 4042 judges the second edition number as version number's preset value, it is determined that the second configuration parameter file is damaged.
Second judge module 405, for judging that the second edition number of described second configuration parameter file is whether lower than the first version number of described first configuration parameter file.
Further, the second judge module 405 also includes third reading and takes unit 4051 and the 3rd judging unit 4052.
Recover module 406, for when the first judge module 404 judges that the second configuration parameter file is damaged, then the second configuration parameter file being recovered according to the first configuration parameter file.
First more new module 407, for when the second judge module 405 judges the second edition number lower than first version, being then updated the second configuration parameter file according to the first configuration parameter file.
First receiver module 408, for receiving the 3rd configuration parameter file from server.
3rd judge module 409, whether this number of the third edition for judging the 3rd configuration parameter file is higher than first version number.
Second more new module 410, for when the 3rd judge module judges that this number of the third edition is higher than first version, being updated the first configuration parameter file according to the 3rd configuration parameter file.
Second receiver module 411, is used for receiving renewal fixed partition file instruction.
Sending module 412, for when the second receiver module 411 receives renewal fixed partition file instruction, sending request instruction to server, in order to obtain the 3rd configuration parameter file to server request.
3rd receiver module 413, recovers to update instruction for receiver module.
4th judge module 414, is used for judging whether the 3rd receiver module 413 receives module recovery and update instruction.
Trigger module 415, for when the 4th judge module 414 judges that receiving module recovery updates instruction, triggering described first judge module 404 and/or the second judge module work 405.
Restart module 416, restart flow process for execution.
Two, terminal reaches the stage of presetting and is automatically fixed the configuration parameter file of subregion and updates and the configuration parameter file access pattern of communication module and renewal.
Referring to Fig. 5, another embodiment of a kind of terminal in the embodiment of the present invention includes:
Terminal includes setting up module 501, memory module 502, read module the 503, first judge module 504, recovers module the 505, second judge module 506, first more new module the 507, first receiver module the 508, the 3rd judge module 509, second more new module 510, first detection module 511, sending module the 512, second detection module 513, trigger module 514, restarts module 515.
The embodiment of the present invention is set up module 501 with to set up module 401 identical, memory module 502 is identical with memory module 402, recover module 505 identical with recovery module 405, second judge module 506 and the second judge module 406 are identical, first more new module 507 and first more new module 407 is identical, first receiver module 508 and the first receiver module 408 are identical, 3rd judge module 509 and the 3rd judge module 409 are identical, second more new module 510 and second more new module 410 is identical, restart module 515 with to restart module 416 identical, repeat no more herein.
First detection module 511, for detecting whether reach first after start to preset the stage.
Sending module 512, detects for first detection module 511 when first after reaching start presets the stage, sends request instruction to server, in order to obtain the 3rd configuration parameter file to server request.
Second detection module 513, for detecting whether reach second after start to preset the stage.
Trigger module 514, for when the second detection module 513 detects that second after reaching start presets the stage, triggering the first judge module 505 and/or the second judge module work 506.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, the system of foregoing description, the specific works process of device and unit, it is possible to reference to the corresponding process in preceding method embodiment, do not repeat them here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method, it is possible to realize by another way.Such as, device embodiment described above is merely schematic, such as, the division of described unit, being only a kind of logic function to divide, actual can have other dividing mode when realizing, for instance multiple unit or assembly can in conjunction with or be desirably integrated into another system, or some features can ignore, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be through INDIRECT COUPLING or the communication connection of some interfaces, device or unit, it is possible to be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, and the parts shown as unit can be or may not be physical location, namely may be located at a place, or can also be distributed on multiple NE.Some or all of unit therein can be selected according to the actual needs to realize the purpose of the present embodiment scheme.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to be that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, it would however also be possible to employ the form of SFU software functional unit realizes.
If described integrated unit is using the form realization of SFU software functional unit and as independent production marketing or use, it is possible to be stored in a computer read/write memory medium.Based on such understanding, part or all or part of of this technical scheme 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, including some instructions with so that a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium includes: USB flash disk, portable hard drive, read only memory (ROM, Read-OnlyMemory), the various media that can store program code such as random access memory (RAM, RandomAccessMemory), magnetic disc or CD.
The above, above example only in order to technical scheme to be described, is not intended to limit;Although the present invention being described in detail with reference to previous embodiment, it will be understood by those within the art that: the technical scheme described in foregoing embodiments still can be modified by it, or wherein portion of techniques feature is carried out equivalent replacement;And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (16)

1. a parameter processing method, it is characterised in that including:
Terminal sets up fixed partition;
First configuration parameter file is stored to described fixed partition by described terminal;
Described terminal reads the second configuration parameter file, and described second configuration parameter file is not stored in described fixed partition;
If described second configuration parameter file is damaged, then described second configuration parameter file is recovered by described terminal according to described first configuration parameter file;
Or,
If the second edition number in described second configuration parameter file is lower than the first version number of described first configuration parameter file, then described second configuration parameter file is updated by described terminal according to described first configuration parameter file.
2. parameter processing method according to claim 1, it is characterised in that the first configuration parameter file is stored to after described fixed partition by described terminal, and described method also includes:
Described terminal receives the 3rd configuration parameter file from server;
Whether this number of the third edition of the 3rd configuration parameter file described in described terminal judges be higher than described first version number, and if so, then described first configuration parameter file is updated by described terminal according to described 3rd configuration parameter file.
3. parameter processing method according to claim 1 or claim 2, it is characterised in that described method also includes:
Described terminal reads the special parameter in described second configuration parameter file;
Described in described terminal judges, whether special parameter is different from preset value;
If it is different, then the described second edition number is set to version number's preset value by described terminal;
Described terminal reads the described second edition number;
If described terminal determines that the described second edition number is for described version number preset value, then described terminal determines that described second configuration parameter file is damaged;
Described second configuration parameter file is carried out recovery according to described first configuration parameter file and includes by described terminal:
Described first configuration parameter file is write and covers described second configuration parameter file by described terminal;
If described terminal determines that the described second edition number is lower than described first version number, then described second configuration parameter file is updated including by described terminal according to described first configuration parameter file:
Described first configuration parameter file is write and covers described second configuration parameter file by described terminal.
4. parameter processing method according to claim 2, it is characterised in that described terminal receives before the 3rd configuration parameter file from server, and described method also includes:
Described terminal receives and updates fixed partition file instruction;
Described terminal sends request instruction to described server, in order to obtain described 3rd configuration parameter file to described server request;
Or,
Described terminal detects whether that first after reaching start presets the stage, and if so, then described terminal sends request instruction to described server, in order to obtain described 3rd configuration parameter file to described server request.
5. parameter processing method according to claim 1 or claim 2, it is characterised in that described terminal also includes before reading the described second edition number value:
Whether described terminal judges receives module recovery updates instruction;
If so, then described terminal triggers the step of the described second edition number value of described reading;
Or,
Described terminal detects whether that second after reaching start presets the stage, and if so, then described terminal triggers the step of the described second edition number value of described reading.
6. parameter processing method according to claim 2, it is characterised in that described terminal receives the 3rd configuration parameter file from server and includes:
Described terminal receives, by over the air OTA, the 3rd configuration parameter file that server sends.
7. parameter processing method according to claim 1, it is characterised in that including:
The described first configuration parameter file of described terminal, described second configuration parameter file and the configuration parameter file that described 3rd configuration parameter file is non-volatile NV parameter.
8. parameter processing method according to claim 3, it is characterised in that described first configuration parameter file is write and covers after described second configuration parameter file by described terminal, and described method also includes:
Described terminal performs to restart flow process.
9. a terminal, it is characterised in that including:
Set up module, be used for setting up fixed partition;
Memory module, for storing the first configuration parameter file to described fixed partition;
Read module, is used for reading the second configuration parameter file, and described second configuration parameter file is not stored in described fixed partition;
First judge module, is used for judging whether described second configuration parameter file is damaged;
Second judge module, for judging that the second edition number of described second configuration parameter file is whether lower than the first version number of described first configuration parameter file;
Recover module, for when described first judge module judges that described second configuration parameter file is damaged, then described second configuration parameter file being recovered according to described first configuration parameter file;
First more new module, for when described second judge module judges the described second edition number lower than described first version, being then updated described second configuration parameter file according to described first configuration parameter file.
10. terminal according to claim 9, it is characterised in that described terminal also includes:
First receiver module, for receiving the 3rd configuration parameter file from server;
3rd judge module, whether this number of the third edition for judging described 3rd configuration parameter file is higher than described first version number;
Second more new module, for when described 3rd judge module judges that described this number of the third edition is higher than described first version, being updated described first configuration parameter file according to described 3rd configuration parameter file.
11. terminal according to claim 9 or 10, it is characterised in that described read module includes:
First reads unit, for reading the special parameter in described second configuration parameter file;
First judging unit, is used for judging that whether described special parameter is different from preset value;
Unit is set, for when described first judging unit judges that described special parameter is different from preset value, the described second edition number being set to version number's preset value.
12. terminal according to claim 9 or 10, it is characterised in that described first judge module includes:
Second reads unit, is used for reading the described second edition number;
Second judging unit, is used for judging whether the described second edition number is described version number preset value;
Determine unit, for when described second judging unit judges the described second edition number as described version number's preset value, it is determined that described second configuration parameter file is damaged.
13. terminal according to claim 9 or 10, it is characterised in that described second judge module includes:
Third reading takes unit, is used for reading described first version number and the described second edition number;
3rd judging unit, is used for judging that whether the described second edition number is lower than described first version number.
14. terminal according to claim 9 or 10, it is characterised in that described terminal also includes:
Second receiver module, is used for receiving renewal fixed partition file instruction;
First detection module, for detecting whether reach first after start to preset the stage;
Sending module, for when described second receiver module receives described renewal fixed partition file instruction or described first detection module detects that described first after reaching start presets the stage, request instruction is sent, in order to obtain described 3rd configuration parameter file to described server request to described server.
15. terminal according to claim 14, it is characterised in that described terminal also includes:
3rd receiver module, recovers to update instruction for receiver module;
4th judge module, is used for judging whether described 3rd receiver module receives module recovery and update instruction;
Second detection module, for detecting whether reach second after start to preset the stage;
Trigger module, for when described 4th judge module judgement receives described module recovery renewal instruction or described second detection module detects that second after reaching start presets the stage, triggering described first judge module and/or described second judge module work.
16. terminal according to claim 15, it is characterised in that described terminal also includes:
Restart module, restart flow process for execution.
CN201610055539.6A 2016-01-27 2016-01-27 Parameter processing method and terminal Pending CN105743698A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610055539.6A CN105743698A (en) 2016-01-27 2016-01-27 Parameter processing method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610055539.6A CN105743698A (en) 2016-01-27 2016-01-27 Parameter processing method and terminal

Publications (1)

Publication Number Publication Date
CN105743698A true CN105743698A (en) 2016-07-06

Family

ID=56246668

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610055539.6A Pending CN105743698A (en) 2016-01-27 2016-01-27 Parameter processing method and terminal

Country Status (1)

Country Link
CN (1) CN105743698A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111258608A (en) * 2020-01-16 2020-06-09 宁波三星医疗电气股份有限公司 Software upgrading method and device for terminal equipment and electronic system
CN114302427A (en) * 2021-12-23 2022-04-08 锐凌无线通讯科技(深圳)有限公司 Configuration parameter updating method and device and related equipment
CN116069676A (en) * 2023-04-07 2023-05-05 中国空气动力研究与发展中心计算空气动力研究所 Version comparison method, device, terminal equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020116588A1 (en) * 2000-12-20 2002-08-22 Beckert Richard Dennis Software management systems and methods for automotive computing devices
US20040078704A1 (en) * 2002-10-22 2004-04-22 Malueg Michael D. Transaction-safe FAT file system
CN102193846A (en) * 2011-06-13 2011-09-21 锐骐(厦门)电子科技有限公司 Method for backing up and recovering non-volatile (NV) data
CN103019892A (en) * 2012-12-29 2013-04-03 盛耀无线通讯科技(北京)有限公司 NV data backup and recovery method based on high-pass platform
CN103064712A (en) * 2012-12-28 2013-04-24 深圳市共进电子股份有限公司 Method, device and terminal device for updating configuration parameter
CN103077048A (en) * 2012-12-28 2013-05-01 东莞宇龙通信科技有限公司 Method for updating operating parameters of communication module and communication terminal
CN104281502A (en) * 2014-09-22 2015-01-14 宇龙计算机通信科技(深圳)有限公司 Nonvolatile-parameter recovery and/or update method and system based on communication terminal
CN104598335A (en) * 2015-01-16 2015-05-06 深圳市中兴物联科技有限公司 Method and device for restoring backup of NV parameters
CN104951321A (en) * 2014-03-27 2015-09-30 宇龙计算机通信科技(深圳)有限公司 Method and device for modifying of system configuration
CN105205019A (en) * 2015-10-30 2015-12-30 上海斐讯数据通信技术有限公司 Qualcomm platform mobile phone-based NV (Nonvolatile Random Access Memory) parameter reading and writing system and method

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020116588A1 (en) * 2000-12-20 2002-08-22 Beckert Richard Dennis Software management systems and methods for automotive computing devices
US20040078704A1 (en) * 2002-10-22 2004-04-22 Malueg Michael D. Transaction-safe FAT file system
CN102193846A (en) * 2011-06-13 2011-09-21 锐骐(厦门)电子科技有限公司 Method for backing up and recovering non-volatile (NV) data
CN103064712A (en) * 2012-12-28 2013-04-24 深圳市共进电子股份有限公司 Method, device and terminal device for updating configuration parameter
CN103077048A (en) * 2012-12-28 2013-05-01 东莞宇龙通信科技有限公司 Method for updating operating parameters of communication module and communication terminal
CN103019892A (en) * 2012-12-29 2013-04-03 盛耀无线通讯科技(北京)有限公司 NV data backup and recovery method based on high-pass platform
CN104951321A (en) * 2014-03-27 2015-09-30 宇龙计算机通信科技(深圳)有限公司 Method and device for modifying of system configuration
CN104281502A (en) * 2014-09-22 2015-01-14 宇龙计算机通信科技(深圳)有限公司 Nonvolatile-parameter recovery and/or update method and system based on communication terminal
CN104598335A (en) * 2015-01-16 2015-05-06 深圳市中兴物联科技有限公司 Method and device for restoring backup of NV parameters
CN105205019A (en) * 2015-10-30 2015-12-30 上海斐讯数据通信技术有限公司 Qualcomm platform mobile phone-based NV (Nonvolatile Random Access Memory) parameter reading and writing system and method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111258608A (en) * 2020-01-16 2020-06-09 宁波三星医疗电气股份有限公司 Software upgrading method and device for terminal equipment and electronic system
CN114302427A (en) * 2021-12-23 2022-04-08 锐凌无线通讯科技(深圳)有限公司 Configuration parameter updating method and device and related equipment
CN114302427B (en) * 2021-12-23 2025-04-11 锐凌无线有限责任公司 A configuration parameter updating method, device and related equipment
CN116069676A (en) * 2023-04-07 2023-05-05 中国空气动力研究与发展中心计算空气动力研究所 Version comparison method, device, terminal equipment and storage medium

Similar Documents

Publication Publication Date Title
CN102830984A (en) Method for updating firmware, chip and communication terminal
CN102411684B (en) Data protection method and device
CN101751593B (en) Smart card and backup, recovering method and system thereof
CN103428333B (en) Mobile terminal, server and errors repair method
CN111372249B (en) Internet of things eSIM terminal code number download process consistency test system and method
CN102790819A (en) Mobile terminal capable of protecting privacy and method
CN104281502A (en) Nonvolatile-parameter recovery and/or update method and system based on communication terminal
CN111026581A (en) Application program repairing method, device, system, storage medium and electronic device
CN103677864A (en) Method for upgrading software and terminal
CN102541595A (en) Method and device for upgrading intelligent device and intelligent device
CN105743698A (en) Parameter processing method and terminal
CN103458004A (en) Internet of things-based device subscription information changing method and equipment
CN104469737A (en) An embedded universal integrated circuit card and its user subscription information activation method
CN104915306A (en) Data operation control method and device manager
CN105740097A (en) Terminal radio-frequency parameter processing apparatus and method
CN104066076A (en) Mobile terminal parameter configuration method and parameter configuration device
CN105117650A (en) Method and apparatus for protecting system security of mobile terminal
CN101848101A (en) Method, device and system for network element management in network system
EP2472787A1 (en) Method and system for smart card remote control
CN104581721A (en) Dual-card structure-based mobile service data processing method and system, and mobile terminal
CN104793998A (en) Terminal system resource management method and device
CN102144235A (en) IC chip, information processing device, software module control method, information processing system, information processing method, and program
CN102883309A (en) Method and device for machine-to-machine (M2M) communication
CN106775874A (en) The method for upgrading system of terminal device
CN102711160A (en) Method and device for information configuration

Legal Events

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

Application publication date: 20160706