[go: up one dir, main page]

CN103793231A - Processing method and system for mobile terminal parameters - Google Patents

Processing method and system for mobile terminal parameters Download PDF

Info

Publication number
CN103793231A
CN103793231A CN201410057549.4A CN201410057549A CN103793231A CN 103793231 A CN103793231 A CN 103793231A CN 201410057549 A CN201410057549 A CN 201410057549A CN 103793231 A CN103793231 A CN 103793231A
Authority
CN
China
Prior art keywords
parameter
storage area
version
mobile terminal
list
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
CN201410057549.4A
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.)
TCL Communication Ningbo Ltd
Original Assignee
TCL Communication Ningbo 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 TCL Communication Ningbo Ltd filed Critical TCL Communication Ningbo Ltd
Priority to CN201410057549.4A priority Critical patent/CN103793231A/en
Publication of CN103793231A publication Critical patent/CN103793231A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Telephone Function (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a processing method and system for mobile terminal parameters. The method includes the steps that a mobile terminal is started to obtain parameter versions in a first storage area and a second storage area, and the parameter versions used for software in the two storage areas are compared; when the parameter version in the second storage area is newer than that in the first storage area, a parameter list in the second storage area is copied to a parameter list in the first storage area through a parameter updating module, and meanwhile the parameter version in the second storage area is copied into the parameter version in the first storage area so that the parameter list and parameter version used for the software in the second storage area can be automatically updated. All parameters in the mobile terminal software are singly placed in one storage area, when the software parameters need to be updated due to hardware modification, it is only required that the parameters in the storage area are modified without remodifying and compiling the software, and therefore developing efficiency of the mobile terminal is greatly improved.

Description

A kind of mobile terminal parameter processing method and system
Technical field
The present invention relates to field of mobile terminals, relate in particular to a kind of mobile terminal parameter processing method and system.
Background technology
In existing mobile terminal performance history, software is made and is developed and generate corresponding software this mobile terminal can normally be worked according to hardware configuration, and a lot of hardware parameters are all write dead in software.But many times, the change of hardware is only the variation of some parameters, for example, has just changed battery; In this case, because parameter is write dead in software, need again to make simple modification compiling generation software according to new battery parameter, in this process, being revised code and compiled generation software by developer is a process very consuming time, for the high-pass platform generally using at present, needs at least several hours.
Therefore, prior art has yet to be improved and developed.
Summary of the invention
The technical problem to be solved in the present invention is, for the above-mentioned defect of prior art, a kind of mobile terminal parameter processing method and system are provided, the present invention is placed on the various parameters in mobile terminal software separately in a storage area and carries out storage administration, in the time needing update software parameter due to hardware change, only the parameter in storage area need be modified and without remodifying and composing software, thereby greatly improve the efficiency of mobile terminal exploitation.
The technical scheme that technical solution problem of the present invention adopts is as follows:
A kind of mobile terminal parameter processing method, wherein, comprising:
A, the storer of mobile terminal is divided into the first storage area, the second storage area in advance, in the first storage area, stores parameter list, the parameter version of current software application; In the second storage area, storage needs parameter list, the parameter version that update software is used;
When B, mobile terminal-opening, obtain the parameter version in the first storage area and the second storage area, and compare the parameter version of the software application of two storage areas;
C, when the parameter version in the second storage area newer than the parameter version in the first storage area, by parameter update module, the parameter list in the second storage area is copied in the parameter list in the first storage area, simultaneously by the parameter version replication in the second storage area in the parameter version in the first storage area, automatically upgrade with parameter list, the parameter version of the software application in the first storage area;
In D, mobile terminal software, modules, in the time of initialization, obtains corresponding parameter in the first storage area from upgrading and carries out initialization.
Described mobile terminal parameter processing method, wherein, described step C also comprises:
When the parameter version in the first storage area is newer than the parameter version in the second storage area, need not upgrade parameter list, parameter version in the first storage area.
Described mobile terminal parameter processing method, wherein, parameter information when described parameter list is used for defining also memory mobile terminal modules initialization; Described parameter version is for representing the version information of parameter list.
Described mobile terminal parameter processing method, wherein, described parameter table stores has a battery capacity parameters.
Described mobile terminal parameter processing method, wherein, described step D also comprises: in the parameter list in mobile terminal-opening process from the first storage area, obtain battery capacity parameters initialization battery.
A kind of mobile terminal parameter processing system, wherein, comprising:
Pre-stored processing module in advance the storer of mobile terminal being divided into the first storage area, the second storage area, is stored parameter list, the parameter version of current software application in the first storage area; In the second storage area, storage needs parameter list, the parameter version that update software is used;
Parameter version detection module, during for mobile terminal-opening, obtains the parameter version in the first storage area and the second storage area, and compares the parameter version of the software application of two storage areas;
Parameter update module, newer than the parameter version in the first storage area for the parameter version when the second storage area, by parameter update module, the parameter list in the second storage area is copied in the parameter list in the first storage area;
Parameter version updating module, for when the parameter version of the second storage area newer than the parameter version in the first storage area, by the parameter version replication in the second storage area in the parameter version in the first storage area;
Initialization module,, obtains corresponding parameter in the first storage area from upgrading and carries out initialization when the initialization for mobile terminal software modules.
Described mobile terminal parameter processing system, wherein, also comprises:
Do not upgrade control module, newer than the parameter version in the second storage area for the parameter version when the first storage area, need not upgrade parameter list, parameter version in the first storage area.
Described mobile terminal parameter processing system, wherein, parameter information when described parameter list is used for defining also memory mobile terminal modules initialization; Described parameter version is for representing the version information of parameter list.
Mobile terminal parameter processing method provided by the present invention and system, owing to having adopted, the various parameters in mobile terminal software are placed on separately in a storage area and carry out storage administration, in the time needing update software parameter due to hardware change, only the parameter in storage area need be modified and without remodifying and composing software, mobile terminal will automatically use new parameter in the time of opening initialization, facilitate software development, be easy to integrated, thereby greatly improve the efficiency of mobile terminal exploitation.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of the preferred embodiment of mobile terminal parameter processing method of the present invention.
Fig. 2 is the concrete Application Example process flow diagram of mobile terminal parameter processing method of the present invention.
Fig. 3 is the functional schematic block diagram of mobile terminal parameter processing system of the present invention.
Embodiment
For making object of the present invention, technical scheme and advantage clearer, clear and definite, developing simultaneously referring to accompanying drawing, the present invention is described in more detail for embodiment.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
Refer to Fig. 1, Fig. 1 is the process flow diagram of the preferred embodiment of mobile terminal parameter processing method of the present invention.As shown in Figure 1, described mobile terminal parameter processing method, comprises the following steps:
Step S110, the storer of mobile terminal is divided into the first storage area, the second storage area in advance, in the first storage area, stores parameter list, the parameter version of current software application; In the second storage area, storage needs parameter list, the parameter version that update software is used.
In the embodiment of the present invention, adopt two storage areas are set in the storer of mobile terminal: the first storage area, the second storage area, all, for preserving parameter list, parameter version, wherein said storer is power down nonvolatile memory.What in the first storage area, place is parameter list, the parameter version of current software application; What in the second storage area, place is parameter list, the parameter version that needs update software to use.When concrete enforcement, as long as have the parameter list of new software application, parameter version just can directly first be stored in the second storage area.
Wherein, described parameter list is for defining and parameter information when the initialization of memory mobile terminal modules, as battery capacity parameters etc.; Described parameter version is for representing the version information of parameter list.
When step S120, mobile terminal-opening, obtain the parameter version in the first storage area and the second storage area, and compare the parameter version of the software application of two storage areas.
In the time of mobile terminal-opening, obtain the parameter version in the first storage area, the second storage area, and compare both version numbers, also compare the parameter version of the software application of two storage areas.
Step S130, when the parameter version in the second storage area newer than the parameter version in the first storage area, by parameter update module, the parameter list in the second storage area is copied in the parameter list in the first storage area, simultaneously by the parameter version replication in the second storage area in the parameter version in the first storage area, automatically upgrade with parameter list, the parameter version of the software application in the first storage area.
In the embodiment of the present invention, to obtain the first storage area, the parameter version of the front software application in the second storage area compares, if the parameter version in the second storage area is newer, the parameter version in the second storage area is higher than the parameter version in the first storage area, by parameter update module, the parameter list in the second storage area is copied in the parameter list in the first storage area, simultaneously by the parameter version replication in the second storage area in the parameter version in the first storage area, with the parameter list of the software application in the first storage area, parameter version upgrades automatically.
In step S140, mobile terminal software, modules, in the time of initialization, obtains corresponding parameter in the first storage area from upgrading and carries out initialization.
When after the parameter list of the software application in the first storage area, parameter version updating, in the time of mobile terminal-opening initialization modules, use the parameter list in the first storage area to carry out initialization to modules.
Further, described mobile terminal parameter processing method, described step S130 also comprises: when the parameter version in the first storage area is newer than the parameter version in the second storage area, need not upgrade parameter list, parameter version in the first storage area.
Further, wherein, described parameter table stores has a battery capacity parameters.So described step S140 also comprises: in the parameter list in mobile terminal-opening process from the first storage area, obtain battery capacity parameters initialization battery.
Therefore, the present invention is placed on the various parameters in mobile terminal software separately in a storage area and carries out storage administration, in the time needing update software parameter due to hardware change, only the parameter in storage area need be modified and without remodifying and composing software, thereby greatly improve the efficiency of mobile terminal exploitation.
When concrete enforcement, can be at two storage areas: the parameter version of the first storage area, the second storage area storage and parameter of parameter table stores: battery capacity parameters.
To pass through a concrete Application Example below, mobile terminal parameter processing method of the present invention be described further: as shown in Figure 2, the mobile terminal parameter processing method of this concrete Application Example, comprises the following steps:
S1, in start process, obtain the parameter version in parameter version and the second storage area in the first storage area by parameter version detection module, carry out afterwards S2;
Parameter version in S2, comparison the first storage area and the parameter version in the second storage area, judge that the parameter version in which storage area is new, if the latter newly, carries out S3, otherwise carries out S4;
The parameter list in the second storage area is copied to the parameter list in the first storage area by S3, parameter update module, again by parameter version updating module by the parameter version replication in the second storage area in the parameter version in the first storage area, carry out afterwards S4;
In S4, the parameter list of battery beginning initialization module from the first storage area, obtain battery capacity parameters initialization battery.
According to the description of above-described embodiment, in an embodiment, if what use original is the battery that battery capacity is 1500mAh, in the parameter list in the first storage area, preserves battery capacity parameters 1500mAh, preserves battery capacity parameters 1500mAh in the parameter list in the second storage area; The battery capacity using when mobile terminal is replaced by after 2000mAh, and without change software, only needing to preserve battery capacity parameters in the parameter list in renewal the second storage area is 2000mAh.And in the scheme of prior art, write deadly in software due to battery capacity, therefore battery capacity is updated to from 1500mAh to 2000mAh need to remodify and composing software.Compared with prior art scheme, obviously, development efficiency of the present invention has improved greatly.
Based on above-described embodiment, the present invention also provides a kind of mobile terminal parameter processing system, and as shown in Figure 3, described mobile terminal parameter processing system comprises:
Pre-stored processing module 210 in advance the storer of mobile terminal being divided into the first storage area, the second storage area, is stored parameter list, the parameter version of current software application in the first storage area; In the second storage area, storage needs parameter list, the parameter version that update software is used; Wherein, parameter information when described parameter list is used for defining also memory mobile terminal modules initialization; Described parameter version is for representing the version information of parameter list; As detailed above.
Parameter version detection module 220, during for mobile terminal-opening, obtains the parameter version in the first storage area and the second storage area, and compares the parameter version of the software application of two storage areas; As detailed above.
Parameter update module 230, newer than the parameter version in the first storage area for the parameter version when the second storage area, by parameter update module, the parameter list in the second storage area is copied in the parameter list in the first storage area; As detailed above.
Parameter version updating module 240, for when the parameter version of the second storage area newer than the parameter version in the first storage area, by the parameter version replication in the second storage area in the parameter version in the first storage area; As detailed above.
Initialization module 250,, obtains corresponding parameter in the first storage area from upgrading and carries out initialization when the initialization for mobile terminal software modules; As detailed above.
Described mobile terminal parameter processing system further, as shown in Figure 3, also comprises:
Do not upgrade control module 260, newer than the parameter version in the second storage area for the parameter version when the first storage area, need not upgrade parameter list, parameter version in the first storage area; As detailed above.
In sum, mobile terminal parameter processing method provided by the present invention and system, owing to having adopted, the various parameters in mobile terminal software are placed on separately in a storage area and carry out storage administration, in the time needing update software parameter due to hardware change, only the parameter in storage area need be modified and without remodifying and composing software, mobile terminal will automatically use new parameter in the time of opening initialization, facilitate software development, be easy to integrated, thereby greatly improve the efficiency of mobile terminal exploitation.
Should be understood that, application of the present invention is not limited to above-mentioned giving an example, and for those of ordinary skills, can be improved according to the above description or convert, and all these improvement and conversion all should belong to the protection domain of claims of the present invention.

Claims (8)

1. a mobile terminal parameter processing method, is characterized in that, comprising:
A, the storer of mobile terminal is divided into the first storage area, the second storage area in advance, in the first storage area, stores parameter list, the parameter version of current software application; In the second storage area, storage needs parameter list, the parameter version that update software is used;
When B, mobile terminal-opening, obtain the parameter version in the first storage area and the second storage area, and compare the parameter version of the software application of two storage areas;
C, when the parameter version in the second storage area newer than the parameter version in the first storage area, by parameter update module, the parameter list in the second storage area is copied in the parameter list in the first storage area, simultaneously by the parameter version replication in the second storage area in the parameter version in the first storage area, automatically upgrade with parameter list, the parameter version of the software application in the first storage area;
In D, mobile terminal software, modules, in the time of initialization, obtains corresponding parameter in the first storage area from upgrading and carries out initialization.
2. mobile terminal parameter processing method according to claim 1, is characterized in that, described step C also comprises:
When the parameter version in the first storage area is newer than the parameter version in the second storage area, need not upgrade parameter list, parameter version in the first storage area.
3. mobile terminal parameter processing method according to claim 1, is characterized in that, parameter information when described parameter list is used for defining also memory mobile terminal modules initialization; Described parameter version is for representing the version information of parameter list.
4. mobile terminal parameter processing method according to claim 1, is characterized in that, described parameter table stores has a battery capacity parameters.
5. mobile terminal parameter processing method according to claim 4, is characterized in that, described step D also comprises: in the parameter list in mobile terminal-opening process from the first storage area, obtain battery capacity parameters initialization battery.
6. a mobile terminal parameter processing system, is characterized in that, comprising:
Pre-stored processing module in advance the storer of mobile terminal being divided into the first storage area, the second storage area, is stored parameter list, the parameter version of current software application in the first storage area; In the second storage area, storage needs parameter list, the parameter version that update software is used;
Parameter version detection module, during for mobile terminal-opening, obtains the parameter version in the first storage area and the second storage area, and compares the parameter version of the software application of two storage areas;
Parameter update module, newer than the parameter version in the first storage area for the parameter version when the second storage area, by parameter update module, the parameter list in the second storage area is copied in the parameter list in the first storage area;
Parameter version updating module, for when the parameter version of the second storage area newer than the parameter version in the first storage area, by the parameter version replication in the second storage area in the parameter version in the first storage area;
Initialization module,, obtains corresponding parameter in the first storage area from upgrading and carries out initialization when the initialization for mobile terminal software modules.
7. mobile terminal parameter processing system according to claim 6, is characterized in that, also comprises:
Do not upgrade control module, newer than the parameter version in the second storage area for the parameter version when the first storage area, need not upgrade parameter list, parameter version in the first storage area.
8. mobile terminal parameter processing system according to claim 6, is characterized in that, parameter information when described parameter list is used for defining also memory mobile terminal modules initialization; Described parameter version is for representing the version information of parameter list.
CN201410057549.4A 2014-02-20 2014-02-20 Processing method and system for mobile terminal parameters Pending CN103793231A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410057549.4A CN103793231A (en) 2014-02-20 2014-02-20 Processing method and system for mobile terminal parameters

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410057549.4A CN103793231A (en) 2014-02-20 2014-02-20 Processing method and system for mobile terminal parameters

Publications (1)

Publication Number Publication Date
CN103793231A true CN103793231A (en) 2014-05-14

Family

ID=50668948

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410057549.4A Pending CN103793231A (en) 2014-02-20 2014-02-20 Processing method and system for mobile terminal parameters

Country Status (1)

Country Link
CN (1) CN103793231A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105511908A (en) * 2015-11-26 2016-04-20 Tcl移动通信科技(宁波)有限公司 CPU parameter upgrading method and system based on mobile terminal
CN106066806A (en) * 2016-06-06 2016-11-02 Tcl移动通信科技(宁波)有限公司 A kind of mobile terminal software update method and system
CN109582348A (en) * 2018-11-22 2019-04-05 Tcl移动通信科技(宁波)有限公司 Processing method, mobile terminal and storage medium is arranged in mobile terminal radio frequency
CN111767062A (en) * 2019-03-13 2020-10-13 北京字节跳动网络技术有限公司 Application configuration data update method, device, device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6877037B1 (en) * 1999-09-09 2005-04-05 Nec Corporation Method of updating client's installed data in response to a user-triggered event
CN1869933A (en) * 2005-05-24 2006-11-29 中国银联股份有限公司 Computer processing system for implementing data update and data updating method
CN101667131A (en) * 2009-10-14 2010-03-10 中兴通讯股份有限公司 Mobile terminal and updating method of configuration information thereof
CN103077048A (en) * 2012-12-28 2013-05-01 东莞宇龙通信科技有限公司 Method for updating operating parameters of communication module and communication terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6877037B1 (en) * 1999-09-09 2005-04-05 Nec Corporation Method of updating client's installed data in response to a user-triggered event
CN1869933A (en) * 2005-05-24 2006-11-29 中国银联股份有限公司 Computer processing system for implementing data update and data updating method
CN101667131A (en) * 2009-10-14 2010-03-10 中兴通讯股份有限公司 Mobile terminal and updating method of configuration information thereof
CN103077048A (en) * 2012-12-28 2013-05-01 东莞宇龙通信科技有限公司 Method for updating operating parameters of communication module and communication terminal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105511908A (en) * 2015-11-26 2016-04-20 Tcl移动通信科技(宁波)有限公司 CPU parameter upgrading method and system based on mobile terminal
CN106066806A (en) * 2016-06-06 2016-11-02 Tcl移动通信科技(宁波)有限公司 A kind of mobile terminal software update method and system
CN106066806B (en) * 2016-06-06 2020-06-09 Tcl移动通信科技(宁波)有限公司 Mobile terminal software updating method and system
CN109582348A (en) * 2018-11-22 2019-04-05 Tcl移动通信科技(宁波)有限公司 Processing method, mobile terminal and storage medium is arranged in mobile terminal radio frequency
CN111767062A (en) * 2019-03-13 2020-10-13 北京字节跳动网络技术有限公司 Application configuration data update method, device, device and storage medium

Similar Documents

Publication Publication Date Title
CN105487980B (en) The method and device that repairing applications are operating abnormally
CN102520948B (en) Application maintenance update method and device
CN104918114B (en) A kind of operating system update method and device
CN107506219A (en) A kind of general version upgrade method based on android system
CN104572206A (en) Application program self updating and backup recovery method
CN110333876A (en) A kind of data clearing method and control equipment
CN110032377A (en) Communication module method for upgrading software, system and communication module
CN109324918A (en) Application program exception handling method and device, terminal and storage medium
CN103793231A (en) Processing method and system for mobile terminal parameters
CN104461693A (en) Virtual machine updating method and virtual machine updating system under desktop cloud computing environment
US12147208B2 (en) Efficient controller data generation and extraction
CN104461621A (en) Attribute information updating method and device
CN104077161A (en) Client application updating method and device
CN106020882A (en) Application upgrading method, intelligent terminal and upgrading system
CN108037932B (en) SPI-NAND configuration file acquisition method and device
CN104881311A (en) Method and apparatus for judging version compatibility
CN106210877A (en) The method for upgrading system of intelligent television and device
CN109274709B (en) Method and system for synchronizing programming works on education operation system
CN106775874A (en) The method for upgrading system of terminal device
CN105468420B (en) operating system upgrading method and device
US11360761B2 (en) Operational file management and storage
CN106021003A (en) Intelligent terminal repairing method, intelligent terminal, and server
CN104021007A (en) Parameter renewing method and electronic devices
CN105760198A (en) Mobile phone app updating method and system
CN116991758A (en) Spatial layout updating method, device, equipment and medium

Legal Events

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

Application publication date: 20140514