CN101483552A - Method and system for terminal configuration upgrading - Google Patents

Method and system for terminal configuration upgrading Download PDF

Info

Publication number
CN101483552A
CN101483552A CNA2009100783068A CN200910078306A CN101483552A CN 101483552 A CN101483552 A CN 101483552A CN A2009100783068 A CNA2009100783068 A CN A2009100783068A CN 200910078306 A CN200910078306 A CN 200910078306A CN 101483552 A CN101483552 A CN 101483552A
Authority
CN
China
Prior art keywords
upgrading
configuration
terminal
attribute
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
CNA2009100783068A
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CNA2009100783068A priority Critical patent/CN101483552A/en
Publication of CN101483552A publication Critical patent/CN101483552A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention provides a terminal configuration updating method which comprises the following steps: generating pre-updating configuration file by server and transmitting the pre-updating configuration file to the terminal; generating and storing the present configuration file of the terminal by the terminal, analyzing the received pre-updating configuration file, and updating the present configuration file according to the updating property and updating content of corresponding configuration which is obtained by analyzing. The invention also provides a terminal configuration updating system. The method and system of the invention can realize the configuration update of terminal purposefully. When the configuration of a certain functional module or partial configuration of functional module is updated, the configuration of other function or the configuration of other functional module is not effected.

Description

The terminal configuration upgrading method and system
Technical field
The present invention relates to the terminal configuration upgrading technology, relate in particular to a kind of terminal configuration upgrading method and system.
Background technology
In terminal, as storing configuration file in the gateway, this configuration file has been preserved the current all functions modules configured of gateway information, when being configured upgrading, the pre-upgrading configuration that it is good with predefined that existing configuration upgrade method is server is sent in the terminal, directly replaces the configuration file of current use in the terminal.
Adopt existing upgrade method,, then must earlier current configuration be downloaded, get on the basis of this configuration to revise obtaining pre-upgrading configuration, and then carry out updating operation, implement cumbersome if want to keep the part configuration of the current use of gateway.
Along with development of internet technology, terminal is more and more higher to the requirement of configuration upgrade technique, as: the configuration of certain functional module of when being configured upgrading, wishing only to upgrade; Or the current existing configuration of certain functional module kept more newly-increased on this basis then configurations; Or the configuration of certain functional module that terminal is being used deletion.
As seen from the above, existing terminal configuration upgrading method can not satisfy the demand of terminal owing to can not upgrade at the some functional modules of terminal or the part configuration of functional module.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of terminal configuration upgrading method and system, can carry out terminal configuration upgrading targetedly.
For achieving the above object, technical scheme of the present invention is achieved in that
The invention provides a kind of terminal configuration upgrading method, this method comprises: server generates pre-upgrading configuration, and pre-upgrading configuration is sent to terminal; Terminal generates and stores the current configuration file of self, and resolves the pre-upgrading configuration that receives, the current configuration file of upgrading attribute that the correspondence that obtains according to parsing disposes and the storage of upgrading content update self.
Comprise the functional configuration information table in the described current configuration file.
In the technique scheme, described upgrading attribute is for appending classification, and the described terminal that is updated to is appended to corresponding upgrading content in the current configuration file; Described upgrading attribute is for covering classification, and the described terminal that is updated to covers corresponding content in the current configuration file with corresponding upgrading content; Be the deletion classification with described upgrading attribute, described being updated to deleted corresponding content in the current configuration file.
Described server generates corresponding pre-upgrading configuration according to Carrier Requirements or terminal client request.
The present invention also provides a kind of terminal configuration updating system, and this system comprises server and terminal, and is concrete:
Server is used to generate pre-upgrading configuration, and pre-upgrading configuration is sent to terminal;
Terminal is used to generate and store self current configuration file, resolves the pre-upgrading configuration that receives, and the upgrading attribute of the correspondence configuration that obtains according to parsing and the current configuration file of upgrading content update self storage.
Described terminal comprises management media module, upgrading module and database module, and is concrete:
Management media module is used for the pre-upgrading configuration that reception server sends, and then pre-upgrading configuration is sent to the upgrading module;
The upgrading module, the pre-upgrading configuration that is used for receiving saves as temporary file, and this temporary file path is sent to database module;
Database module is used to resolve pre-upgrading configuration, and the upgrading attribute of the correspondence that obtains according to parsing configuration and the current configuration file of upgrading content update.
Comprise the functional configuration information table in the described current configuration file.
In the technique scheme, described upgrading attribute is for appending classification, and the described terminal that is updated to is appended to corresponding upgrading content in the current configuration file; Described upgrading attribute is for covering classification, and the described terminal that is updated to covers corresponding content in the current configuration file with corresponding upgrading content; Be the deletion classification with described upgrading attribute, described being updated to deleted corresponding content in the current configuration file.
Described server generates corresponding pre-upgrading configuration according to Carrier Requirements or terminal client request.
Terminal configuration upgrading method and system of the present invention, by in the pre-upgrading configuration that generates, increasing the upgrading attribute, the pre-upgrading configuration of terminal parses, and according to the upgrading attribute of the correspondence configuration that gets access to by parsing and the content of upgrading, upgrade the current configuration file of self storing, thereby can carry out terminal configuration upgrading targetedly, the upgrading of the part configuration of the configuration upgrading of some functional modules of realization terminal or functional module, when the part configuration of upgrading configuration of some functional modules or functional module, can not influence the configuration of other function or the configuration of other functional modules.
Description of drawings
Fig. 1 is the structural representation of terminal configuration updating system of the present invention;
Fig. 2 is the schematic flow sheet of terminal configuration upgrading method of the present invention.
Embodiment
Basic thought of the present invention is: the pre-upgrading configuration that the terminal parses server sends, obtain the upgrading attribute and the upgrading content of corresponding configuration, and upgrade the current configuration file of self storing according to analysis result, realize the upgrading of corresponding configuration.The present invention realizes the upgrading of configuration by upgrading the current configuration file of self storing, thereby can realize the configuration upgrading of terminal targetedly.
Fig. 1 is the structural representation of terminal configuration updating system of the present invention, and as shown in Figure 1, terminal configuration updating system of the present invention comprises server and terminal, and is concrete:
Server is used to generate pre-upgrading configuration, and pre-upgrading configuration is sent to terminal;
Terminal is used to generate and store self current configuration file, resolves the pre-upgrading configuration that receives, and the upgrading attribute of the correspondence configuration that obtains according to parsing and the current configuration file of upgrading content update self storage.
Comprise the functional configuration information table in the described current configuration file.
Described terminal comprises: management media module, upgrading module and database module, wherein:
Management media module is used for the pre-upgrading configuration that reception server sends, and then pre-upgrading configuration is sent to the upgrading module;
The upgrading module, the pre-upgrading configuration that is used for receiving saves as temporary file, and this temporary file path is sent to database module;
Database module is used to resolve pre-upgrading configuration, and the upgrading attribute of the correspondence that obtains according to parsing configuration and the current configuration file of upgrading content update.
The upgrading attribute of the functional configuration in the pre-upgrading configuration is divided into following three classes:
1) appends classification (append), promptly need the configuration in the pre-upgrading configuration is appended in the configuration of terminal the corresponding function module.
Suppose the functional configuration information table A of terminal before table 1 is for upgrading, as shown in table 1, comprise 3 field A1, A2, A3, have two records, the value of A1 is 1 in article one record, the value of A1 is 4 in the second record, other by that analogy:
Figure A200910078306D00071
Table 1
Suppose the configuration upgrade information such as the table 2 of corresponding function configuration information Table A in the pre-upgrading configuration, and the upgrading attribute is append.
A1 A2 A3
7 8 9
Table 2
After then being configured upgrading, the functional configuration information table A after the renewal is as shown in table 3:
Figure A200910078306D00072
Table 3
2) cover classification (replace), promptly need to cover in the current configuration of terminal the corresponding function module with the configuration in the pre-upgrading configuration, for covering classification, can not partly cover, require the record count of function corresponding configuration information table in the current configuration file of configuration information and terminal in the pre-upgrading configuration consistent, if inconsistent then refusal upgrading.
Before supposing configuration upgrading, functional configuration information table A is as above shown in the table 1, the configuration upgrade information such as the following table 4 of corresponding function configuration information Table A in the pre-upgrading configuration, and the upgrading attribute is replace:
A1 A2 A3
7 8 9
10 11 12
Table 4
After then being configured upgrading, the functional configuration information table A after the renewal is as shown in table 5:
Figure A200910078306D00081
Table 5
3) deletion classification (delete) promptly needs the configuration deletion of the corresponding function module in terminal that will indicate in the pre-upgrading configuration.
Before supposing configuration upgrading, functional configuration information table A is as above shown in the table 1, the configuration upgrade information such as the following table 6 of corresponding function configuration information Table A in the pre-upgrading configuration, and the upgrading attribute is delete:
A1 A2 A3
Table 6
After then being configured upgrading, the functional configuration information table A after the renewal is as shown in table 7:
Figure A200910078306D00082
Table 7
The upgrading attribute and the upgrading content of functional configuration information table corresponding in the pre-upgrading configuration can be analyzed, be resolved to database module one by one: if the upgrading attribute is deletion, then delete all clauses and subclauses of corresponding function configuration information table in the current configuration file; If the upgrading attribute is to append, then configuration information corresponding in the pre-upgrading configuration is appended in the current configuration file in the corresponding function configuration information table; If the upgrading attribute is to cover, then functional configuration information corresponding in the pre-upgrading configuration is covered in the current configuration file in the corresponding function configuration information table.By aforesaid operations, the more current configuration file of new terminal self is realized the configuration upgrading of the corresponding function module.
If pre-upgrading configuration does not comprise the information of corresponding function configuration information table, then this functional configuration information table is not carried out any operation, thereby realize the configuration of upgrading part of module and do not influence the configuration of other functional modules.
The invention provides a kind of terminal configuration upgrading method, comprising:
Step 1, terminal generate and store the current configuration file of self;
In this step, current configuration file comprises the functional configuration information table, and this current configuration file stores is in the flash memory (flash) of terminal.
Step 2, server generate pre-upgrading configuration, and should pre-upgrading configuration send to terminal;
In this step, server generates corresponding pre-upgrading configuration according to Carrier Requirements or terminal client request.
The pre-upgrading configuration that step 3, terminal parses receive;
In this step, upgrading attribute and the upgrading content of the pre-upgrading configuration that terminal parses receives to determine corresponding configuration in the pre-upgrading configuration, the attribute of wherein upgrading is divided into following three kinds: append classification, cover classification and deletion classification.
Step 4, terminal are upgraded the current configuration file of self storing according to resolving upgrading attribute and the upgrading content that obtains;
In this step, terminal is called the current configuration file that self stores, and according to resolving upgrading attribute and the upgrading content that obtains in the step 3, current configuration file is carried out the config update of the corresponding function module, realizes that the configuration of the corresponding function module is upgraded.
Describe terminal configuration upgrading method of the present invention in detail below in conjunction with drawings and the specific embodiments.
Fig. 2 is the schematic flow sheet of terminal configuration upgrading method of the present invention, and as shown in Figure 2, the inventive method comprises:
Step 11, terminal generate and store the current configuration file that comprises the functional configuration information table of self;
In the present embodiment, comprise 3 functional configuration information tables in this configuration file, this functional configuration information table is a bivariate table, is respectively: functional configuration information table A, functional configuration information table B and functional configuration information table C.
Wherein, functional configuration information table A is as above shown in the table 1.
B is as shown in table 8 below for the functional configuration information table:
Table 8
C is as shown in table 9 below for the functional configuration information table:
Figure A200910078306D00102
Table 9
Step 12, server generate pre-upgrading configuration according to Carrier Requirements or terminal client request, and pre-upgrading configuration are sent to terminal;
In the present embodiment, the configuration that realize upgrades to: append data in functional configuration information table A, configuration information among the delete function configuration information table B, data among the covering function configuration information table C.
In the present embodiment, the pre-upgrading configuration of generation adopts the form of xml, and is as follows:
<DB?attr="upgrade">
<Tbl?name="A"RowCount="1"attr="append">
<Row?No="0">
<DM?name="A1"val="7"/>
<DM?name="A2"val="8"/>
<DM?name="A3"val="9"/>
</Row>
</Tbl>
<Tbl?name="B"RowCount="0"attr="delete">
</Tbl>
<Tbl?name="C"RowCount="2"attr="replace">
<Row?No="0">
<DM?name="C1"val="-1"/>
<DM?name="C2"val="-2"/>
</Row>
<Row?No="1">
<DM?name="C1"val="-3"/>
<DM?name="C2"val="-4"/>
</Row>
</Tbl>
</DB>
The pre-upgrading configuration that step 13, terminal parses receive is determined the upgrading attribute of corresponding configuration in the pre-upgrading configuration and the content of upgrading;
In the present embodiment, terminal can learn that according to the result who resolves the configuration that will realize upgrades to: append data among the functional configuration information table A, configuration information among the delete function configuration information table B, data among the covering function configuration information table C;
The configuration upgrade information such as the following table 10 of corresponding function configuration information Table A in the pre-upgrading configuration, and the upgrading attribute is append:
A1 A2 A3
7 8 9
Table 10
Configuration upgrade information such as the following table 11 of corresponding function configuration information table B in the pre-upgrading configuration, and the upgrading attribute is delete:
B1 B2
Table 11
Configuration upgrade information such as the following table 12 of corresponding function configuration information table C in the pre-upgrading configuration, and the upgrading attribute is replace:
C1 C2
-1 -2
-3 -4
Table 12
Step 14, terminal be according to the analysis result of step 13, upgrades the current configuration file of self storage;
In the present embodiment, the functional configuration information table that is configured after the upgrading is as follows:
After being configured upgrading, the functional configuration information table A after the renewal is as shown in table 13:
Figure A200910078306D00121
Table 13
After being configured upgrading, the functional configuration information table B after the renewal is as shown in table 14:
Figure A200910078306D00122
Table 14
After being configured upgrading, the functional configuration information table C after the renewal is as shown in Table 15:
Figure A200910078306D00123
Table 15
As seen from the above, by the inventive method and system, can realize targetedly terminal being carried out the configuration upgrading of the corresponding function module.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.

Claims (9)

1, a kind of terminal configuration upgrading method is characterized in that, this method comprises:
Server generates pre-upgrading configuration, and pre-upgrading configuration is sent to terminal;
Terminal generates and stores the current configuration file of self, and resolves the pre-upgrading configuration that receives, the current configuration file of upgrading attribute that the correspondence that obtains according to parsing disposes and the storage of upgrading content update self.
2, terminal configuration upgrading method according to claim 1 is characterized in that, comprises the functional configuration information table in the described current configuration file.
3, terminal configuration upgrading method according to claim 2 is characterized in that, described upgrading attribute is for appending classification, and the described terminal that is updated to is appended to corresponding upgrading content in the current configuration file; Described upgrading attribute is for covering classification, and the described terminal that is updated to covers corresponding content in the current configuration file with corresponding upgrading content; Be the deletion classification with described upgrading attribute, described being updated to deleted corresponding content in the current configuration file.
According to each described terminal configuration upgrading method of claim 1 to 3, it is characterized in that 4, described server generates corresponding pre-upgrading configuration according to Carrier Requirements or terminal client request.
5, a kind of terminal configuration updating system is characterized in that, this system comprises server and terminal, and is concrete:
Server is used to generate pre-upgrading configuration, and pre-upgrading configuration is sent to terminal;
Terminal is used to generate and store self current configuration file, resolves the pre-upgrading configuration that receives, and the upgrading attribute of the correspondence configuration that obtains according to parsing and the current configuration file of upgrading content update self storage.
6, terminal configuration updating system according to claim 5 is characterized in that, described terminal comprises management media module, upgrading module and database module, and is concrete:
Management media module is used for the pre-upgrading configuration that reception server sends, and then pre-upgrading configuration is sent to the upgrading module;
The upgrading module, the pre-upgrading configuration that is used for receiving saves as temporary file, and this temporary file path is sent to database module;
Database module is used to resolve pre-upgrading configuration, and the upgrading attribute of the correspondence that obtains according to parsing configuration and the current configuration file of upgrading content update.
7, terminal configuration updating system according to claim 6 is characterized in that, comprises the functional configuration information table in the described current configuration file.
8, terminal configuration updating system according to claim 7 is characterized in that, described upgrading attribute is for appending classification, and the described terminal that is updated to is appended to corresponding upgrading content in the current configuration file; Described upgrading attribute is for covering classification, and the described terminal that is updated to covers corresponding content in the current configuration file with corresponding upgrading content; Be the deletion classification with described upgrading attribute, described being updated to deleted corresponding content in the current configuration file.
According to each described terminal configuration updating system of claim 5 to 8, it is characterized in that 9, described server generates corresponding pre-upgrading configuration according to Carrier Requirements or terminal client request.
CNA2009100783068A 2009-02-24 2009-02-24 Method and system for terminal configuration upgrading Pending CN101483552A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2009100783068A CN101483552A (en) 2009-02-24 2009-02-24 Method and system for terminal configuration upgrading

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2009100783068A CN101483552A (en) 2009-02-24 2009-02-24 Method and system for terminal configuration upgrading

Publications (1)

Publication Number Publication Date
CN101483552A true CN101483552A (en) 2009-07-15

Family

ID=40880494

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2009100783068A Pending CN101483552A (en) 2009-02-24 2009-02-24 Method and system for terminal configuration upgrading

Country Status (1)

Country Link
CN (1) CN101483552A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010145272A1 (en) * 2009-10-14 2010-12-23 中兴通讯股份有限公司 Mobile terminal and updating method for configuration information thereof
CN101977374A (en) * 2010-10-25 2011-02-16 中兴通讯股份有限公司 Method and device for upgrading terminal network locking
CN102375744A (en) * 2010-08-11 2012-03-14 深圳Tcl新技术有限公司 Network television upgrade method
CN103354507A (en) * 2013-07-08 2013-10-16 杭州华三通信技术有限公司 Updating method and device for configuration protection modes of RPR sites
CN104077159A (en) * 2014-04-08 2014-10-01 京信通信系统(广州)有限公司 Small cell system parameter attribute configuration method and device
CN109976794A (en) * 2019-03-31 2019-07-05 联想(北京)有限公司 Update method, more new system and electronic equipment
CN110096262A (en) * 2019-03-16 2019-08-06 平安城市建设科技(深圳)有限公司 Generation method, device, terminal and the computer readable storage medium of city system
CN112214239A (en) * 2020-11-19 2021-01-12 湖南红网新媒体集团有限公司 News client configuration method and system

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010145272A1 (en) * 2009-10-14 2010-12-23 中兴通讯股份有限公司 Mobile terminal and updating method for configuration information thereof
CN102375744A (en) * 2010-08-11 2012-03-14 深圳Tcl新技术有限公司 Network television upgrade method
CN101977374A (en) * 2010-10-25 2011-02-16 中兴通讯股份有限公司 Method and device for upgrading terminal network locking
CN103354507A (en) * 2013-07-08 2013-10-16 杭州华三通信技术有限公司 Updating method and device for configuration protection modes of RPR sites
CN103354507B (en) * 2013-07-08 2016-09-28 杭州华三通信技术有限公司 The configuration protection schema update method and apparatus of RPR website
CN104077159A (en) * 2014-04-08 2014-10-01 京信通信系统(广州)有限公司 Small cell system parameter attribute configuration method and device
CN110096262A (en) * 2019-03-16 2019-08-06 平安城市建设科技(深圳)有限公司 Generation method, device, terminal and the computer readable storage medium of city system
CN109976794A (en) * 2019-03-31 2019-07-05 联想(北京)有限公司 Update method, more new system and electronic equipment
CN109976794B (en) * 2019-03-31 2021-02-19 联想(北京)有限公司 Updating method, updating system and electronic equipment
CN112214239A (en) * 2020-11-19 2021-01-12 湖南红网新媒体集团有限公司 News client configuration method and system

Similar Documents

Publication Publication Date Title
CN101483552A (en) Method and system for terminal configuration upgrading
KR101264819B1 (en) Device management server, client and method for locating target operation object
CN102694861B (en) A kind of terminal application software sorting technique, Apparatus and system based on cloud
CN101853287B (en) Data compression quick retrieval file system and method thereof
EP1777632A3 (en) Method and server for extracting content based on RSS
EP2549782B1 (en) Data card and method and system for customizing its application service
CN101087208B (en) Method for configuring user access network data, function entity and system
CN101075989B (en) Method and system for verifying field validity
CN108256718A (en) Declaration form service role distribution method, device, computer equipment and storage device
CN103051768A (en) Method and system for updating contact ways in address book
CN112217656A (en) Method and device for synchronizing configuration information of network equipment in SD-WAN (secure digital-to-Wide area network) system
CN103491522B (en) terminal adapting method and device
CN105049256A (en) Method and system for realizing universal custom interface message
CN102546261B (en) Network element upgrading method, network element, server and system
CN102185917A (en) Method and system for adaptation between server and mobile terminal, and server adaptation device
CN101170540A (en) A XML document management method, client and server
CN100574439C (en) Realize the system and method that third party&#39;s audio-video frequency content is uploaded in the IPTV system
CN101179444B (en) Configuration take-effective method, configuration system and configuration gateway
CN105095224A (en) Method, apparatus and system for carrying out OLAP analysis in mobile communication network
CN104301352A (en) Dual-card terminal adapting method and device
CN101146282A (en) Method for application recognition module to download electronic documents
CN105763382A (en) Realization method and device based on end-to-end service monitoring
CN103517202A (en) Method for acquiring and transmitting inquiry instruction, system, mobile terminal and server
CN102223405A (en) Media type analyzing method, system and media server
CN103796193A (en) Automatic PRI parameter configuration method and system of CDMA mobile terminal

Legal Events

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

Open date: 20090715