CN101610449A - The method and system of configuration data upgrading and rollback - Google Patents

The method and system of configuration data upgrading and rollback Download PDF

Info

Publication number
CN101610449A
CN101610449A CNA2009101086564A CN200910108656A CN101610449A CN 101610449 A CN101610449 A CN 101610449A CN A2009101086564 A CNA2009101086564 A CN A2009101086564A CN 200910108656 A CN200910108656 A CN 200910108656A CN 101610449 A CN101610449 A CN 101610449A
Authority
CN
China
Prior art keywords
version number
configuration data
software
data
configuration
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.)
Granted
Application number
CNA2009101086564A
Other languages
Chinese (zh)
Other versions
CN101610449B (en
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.)
Open Invention Network LLC
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 CN2009101086564A priority Critical patent/CN101610449B/en
Publication of CN101610449A publication Critical patent/CN101610449A/en
Application granted granted Critical
Publication of CN101610449B publication Critical patent/CN101610449B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses the method for a kind of configuration data upgrading and rollback.This method comprises: read the A of version number of current software, compare with the B of version number that will install software, if the A of version number is lower than B, the configuration data that then transforms the A of version number is the configuration data of the B of version number; If the A of version number is consistent with B, then keep the configuration data of the A of version number; If the A of version number is higher than B, be provided with when then searching for software upgrading before this with the corresponding backup configuration data of the B of version number, and replace the configuration data of the A of version number with it.The invention also discloses the system of a kind of configuration data upgrading and rollback.Adopt the present invention, make related work personnel's configuration data preventive maintenance time significantly reduce, saved update time.

Description

The method and system of configuration data upgrading and rollback
Technical field
The present invention relates to the mobile communication technology field, relate in particular to the method and system of a kind of configuration data upgrading and rollback.
Background technology
In the mobile multimedia broadcast system, system normally moves needs different system modules to cooperatively interact.After system normally moves a period of time,, need carry out software upgrading usually in order to improve software performance.
Usually, the way of software upgrading is, the software of unloading lowest version is downloaded and the software of operation highest version, and the configuration data of the software of highest version is copied in the system.Perhaps, do not unload the software of lowest version, download and directly move the software of highest version, with the configuration data of the software of lowest version in the configuration data covering system of the software of highest version.
Yet, when module is moved,, will cause multiplexer to break down or not reach the runnability optimum state if the configuration data of software is made mistakes.If each software release upgrade all causes configuration data to be made mistakes, will make the operator change the proper configuration data again, thereby increase human cost, and waste operator's preventive maintenance time.In addition, during the rollback software version, the operator also needs to download the lowest version software of original installation, changes configuration data again if desired, thereby increases operator's workload.
Summary of the invention
Technical problem to be solved by this invention is problems such as the preventive maintenance time of replacing configuration data is more, and the operator's workload is bigger, has proposed a kind of configuration data upgrading that addresses this problem and the method and system of rollback.
The method of configuration data upgrading of the present invention and rollback may further comprise the steps:
Read the A of version number of current software, compare with the B of version number that will install software, if the A of version number is lower than B, the configuration data that then transforms the A of version number is the configuration data of the B of version number; If the A of version number is consistent with B, then keep the configuration data of the A of version number; If the A of version number is higher than B, be provided with when then searching for software upgrading before this with the corresponding backup configuration data of the B of version number, and replace the configuration data of the A of version number with it.
Further, in said method, also comprise:
Read first field of described current software configuration file, obtain the described A of version number;
Read described first field that will software configuration file, obtain the described B of version number.
The system of configuration data upgrading of the present invention and rollback comprises control module and data conversion module, wherein,
Described control module, be used to read the A of version number of current software, compare with the B of version number that will software, if the A of version number is lower than B, then trigger described data conversion module, otherwise, do not trigger described data conversion module, if and the A of version number is higher than B, that be provided with when then searching for software upgrading before this and the configuration data corresponding backup of the B of version number, the configuration data of replacing the A of version number is the configuration data of the corresponding backup of the B of version number;
Described data conversion module is used for the configuration data of the A of version number is converted into the configuration data of the B of version number.
Further, in said system, described control module also is used for: read first field of current software configuration file, obtain the described A of version number; Read will the installed software configuration file first field, obtain the described B of version number.
Further, in said system, described system also comprises the data loading module, and described data loading module is used for reading configuration data from the configuration file of the A of version number of current software, makes this configuration data come into force.
The system of configuration data upgrading of the present invention and rollback comprises control module and data conversion module, wherein,
Described control module is used to read the A of version number of current software, compares with the B of version number that will installed software, if the A of version number is consistent with B, does not then trigger described data conversion module, otherwise, trigger described data conversion module;
Described data conversion module is used for the configuration data of the A of version number being converted into the configuration data of the B of version number when the A of version number is lower than B; When the A of version number is higher than B, the configuration data of search that is provided with during software upgrading before this and the corresponding backup of the B of version number, the configuration data that transforms the A of version number is the configuration data of the corresponding backup of the B of version number.
Further, in said system, described control module also is used for: read first field of current software configuration file, obtain the described A of version number; Read will the installed software configuration file first field, obtain the described B of version number.
Further, in said system, described system also comprises the data loading module, and described data loading module is used for reading configuration data from the configuration file of the A of version number of current software, makes this configuration data come into force.
Compared with prior art, adopt the method and system of configuration data upgrading of the present invention and rollback, when changing software version, it is simple that the upgrading of the configuration data of software or rollback become, make related work personnel's configuration data preventive maintenance time significantly reduce, save update time, improved debugging and beginning efficient.
Description of drawings
Fig. 1 is the method schematic diagram of configuration data upgrading of the present invention and rollback;
Fig. 2 is system's first execution mode schematic diagram of configuration data upgrading of the present invention and rollback;
Fig. 3 is system's second execution mode schematic diagram of configuration data upgrading of the present invention and rollback.
Embodiment
Below in conjunction with accompanying drawing the method and system of configuration data upgrading of the present invention with rollback described.
See also Fig. 1, it is the method schematic diagram of configuration data upgrading of the present invention and rollback.
The method of configuration data upgrading of the present invention and rollback may further comprise the steps:
Step S1, read the A of version number of current software, compare with the B of version number that will installed software, if the A of version number is lower than B, execution in step S2 then; If the A of version number is consistent with B, execution in step S3 then; If the A of version number is higher than B, execution in step S4 then.
In above-mentioned steps S1, read first field of the configuration file of the current software of multiplexer earlier, obtain the A of version number of current software, also be the A of version number of the configuration data of current multiplexer.Read first field of configuration file that will installed software again, obtain the B of version number of uninstalled software.Then, the version levels that compares A of version number and the B of version number.
The configuration data of step S2, the conversion A of version number is the configuration data of the B of version number, again execution in step S5.
In above-mentioned steps S2, read the configuration data in the configuration file of the B of version number that will installed software according to the file format of the A of version number of current software, again the configuration data of the A of version number is converted into the configuration data of the B of version number, finish the configuration data upgrading.
Step S3, keep the configuration data of the A of version number, again execution in step S5.
Step S4, the search and the configuration data of the corresponding backup of the B of version number in backup file, the configuration data that transforms the A of version number is the configuration data of the corresponding backup of the B of version number, again execution in step S5.
In above-mentioned steps S4, that be provided with when searching for software upgrading before this and the configuration data corresponding backup of the B of version number, duplicate the configuration data of this backup, replace the configuration data in the configuration file of the A of version number of current software with the configuration data of this backup, finish the configuration data rollback.
Step S5, read the configuration data of the A of version number of current software, the interface by predetermined makes this configuration data come into force at multiplexer.
See also Fig. 2, it is system's first execution mode schematic diagram of configuration data upgrading of the present invention and rollback.
The system of configuration data upgrading of the present invention and rollback comprises: control module 11, data conversion module 12, data loading module 13.
Wherein, control module 11 is used to read the A of version number of current software, compares with the B of version number that will installed software, according to comparative result trigger data modular converter 12 or data loading module 13.Particularly, control module 11 reads first field of the configuration file of current software earlier, obtains the A of version number of current software, also is the A of version number of the configuration data of current multiplexer.Read first field of configuration file that will installed software again, obtain the B of version number of uninstalled software.Then, the version levels that compares A of version number and the B of version number.If the A of version number is lower than B, trigger data conversion module then; If the A of version number is consistent with B, then the trigger data loading module 13; If the A of version number is higher than B, that be provided with when searching for software upgrading before this and the configuration data corresponding backup of the B of version number, duplicate the configuration data of this backup, replace the configuration data in the configuration file of the A of version number of current software with the configuration data of this backup, the trigger data loading module 13 again.
Data conversion module 12 is used for transforming according to the configuration data of predetermined rule to configuration file, finishes configuration data upgrading or rollback.Particularly, if the A of version number is lower than B, then read configuration data in the configuration file of the B of version number that will installed software, again the configuration data of the A of version number is converted into the configuration data of the B of version number, finish the configuration data upgrading according to the file format of the A of version number of current software.
Data loading module 13 is used for reading configuration data from the configuration file of the A of version number of current software, and the interface by predetermined makes this configuration data come into force at multiplexer.
See also Fig. 3, it is system's second execution mode schematic diagram of configuration data upgrading of the present invention and rollback.
Second embodiment of the invention is compared with first execution mode, and basic identical, distinctive points is: the control module 21 of second embodiment of the invention is when relatively drawing the A of version number and be higher than B, and then the trigger data modular converter 22.At this moment, data conversion module 22 that be provided with when being used to search for software upgrading before this with the configuration data corresponding backup of the B of version number, the configuration data that transforms the A of version number is the configuration data of the corresponding backup of the B of version number, finishes the configuration data rollback.
Compared with prior art, adopt the method and system of configuration data upgrading of the present invention and rollback, when changing software version, it is simple that the upgrading of the configuration data of software or rollback become, make the operator reduce to the workload of configuration data, preventive maintenance time also reduces, and has saved update time, has improved debugging and beginning efficient.In addition, the present invention can apply in the mobile multimedia broadcasting multiplex device system, but is not limited to multiplexer, is applicable to various small network metasystems.
Only be preferred case study on implementation of the present invention below, be not limited to the present invention, for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (8)

1, the method for a kind of configuration data upgrading and rollback is characterized in that, may further comprise the steps:
Read the A of version number of current software, compare with the B of version number that will install software, if the A of version number is lower than B, the configuration data that then transforms the A of version number is the configuration data of the B of version number; If the A of version number is consistent with B, then keep the configuration data of the A of version number; If the A of version number is higher than B, be provided with when then searching for software upgrading before this with the corresponding backup configuration data of the B of version number, and replace the configuration data of the A of version number with it.
2, method according to claim 1 is characterized in that, also comprises:
Read first field of described current software configuration file, obtain the described A of version number;
Read described first field that will software configuration file, obtain the described B of version number.
3, the system of a kind of configuration data upgrading and rollback is characterized in that, comprises control module and data conversion module, wherein,
Described control module, be used to read the A of version number of current software, compare with the B of version number that will software, if the A of version number is lower than B, then trigger described data conversion module, otherwise, do not trigger described data conversion module, if and the A of version number is higher than B, that be provided with when then searching for software upgrading before this and the configuration data corresponding backup of the B of version number, the configuration data of replacing the A of version number is the configuration data of the corresponding backup of the B of version number;
Described data conversion module is used for the configuration data of the A of version number is converted into the configuration data of the B of version number.
4, system according to claim 3 is characterized in that, described control module also is used for: read first field of current software configuration file, obtain the described A of version number; Read will software configuration file first field, obtain the described B of version number.
5, according to claim 3 or 4 described systems, it is characterized in that described system also comprises the data loading module, described data loading module is used for reading configuration data from the configuration file of the A of version number of current software, makes this configuration data come into force.
6, the system of a kind of configuration data upgrading and rollback is characterized in that, comprises control module and data conversion module, wherein,
Described control module is used to read the A of version number of current software, compares with the B of version number that will software, if the A of version number is consistent with B, does not then trigger described data conversion module, otherwise, trigger described data conversion module;
Described data conversion module is used for the configuration data of the A of version number being converted into the configuration data of the B of version number when the A of version number is lower than B; When the A of version number is higher than B, that be provided with when searching for software upgrading before this and the configuration data corresponding backup of the B of version number, the configuration data that transforms the A of version number is the configuration data of the corresponding backup of the B of version number.
7, system according to claim 6 is characterized in that, described control module also is used for: read first field of current software configuration file, obtain the described A of version number; Read will software configuration file first field, obtain the described B of version number.
8, according to claim 6 or 7 described systems, it is characterized in that described system also comprises the data loading module, described data loading module is used for reading configuration data from the configuration file of the A of version number of current software, makes this configuration data come into force.
CN2009101086564A 2009-07-07 2009-07-07 Method for upgrading and rolling back configuration data and system thereof Expired - Fee Related CN101610449B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101086564A CN101610449B (en) 2009-07-07 2009-07-07 Method for upgrading and rolling back configuration data and system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101086564A CN101610449B (en) 2009-07-07 2009-07-07 Method for upgrading and rolling back configuration data and system thereof

Publications (2)

Publication Number Publication Date
CN101610449A true CN101610449A (en) 2009-12-23
CN101610449B CN101610449B (en) 2011-12-28

Family

ID=41483984

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101086564A Expired - Fee Related CN101610449B (en) 2009-07-07 2009-07-07 Method for upgrading and rolling back configuration data and system thereof

Country Status (1)

Country Link
CN (1) CN101610449B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102567053A (en) * 2011-12-20 2012-07-11 云海创想信息技术(无锡)有限公司 Method and device for downgrading software version
CN102707964A (en) * 2012-04-09 2012-10-03 深圳市佳信捷电子有限公司 Method and device for configuring compatible program version parameters
WO2016066081A1 (en) * 2014-10-31 2016-05-06 华为技术有限公司 Data writing method and device
CN103581344B (en) * 2013-11-14 2017-07-28 北京星网锐捷网络技术有限公司 The treating method and apparatus and system of interface entry
CN107332690A (en) * 2017-06-06 2017-11-07 烽火通信科技股份有限公司 A kind of method that sub-network level network configuration data retracts
CN108958827A (en) * 2017-05-25 2018-12-07 贵州白山云科技有限公司 A kind of method and system of processing routine upgrade failure
CN109218044A (en) * 2017-06-30 2019-01-15 贵州白山云科技股份有限公司 A kind of fault handling method and device
CN110333880A (en) * 2018-03-29 2019-10-15 杭州海康威视数字技术股份有限公司 A kind of configuration update method, device, equipment and storage medium
CN112631646A (en) * 2020-12-18 2021-04-09 平安普惠企业管理有限公司 Data compatibility method, device and equipment for APP version degradation and storage medium
CN114416430A (en) * 2022-01-26 2022-04-29 上海电气风电集团股份有限公司 Software version management method, system, device and medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3140906B2 (en) * 1994-04-12 2001-03-05 株式会社エヌ・ティ・ティ・データ How to update and restore system files
CN1331045C (en) * 2002-08-19 2007-08-08 万达信息股份有限公司 Software automatic upgrading and updating method under Client/Server frame
CN100407638C (en) * 2004-04-14 2008-07-30 华为技术有限公司 Method for software upgrading and withdrawing
CN101420431B (en) * 2008-11-28 2012-07-04 中兴通讯股份有限公司 FOTA server, terminal and software version processing method and system therefor

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102567053A (en) * 2011-12-20 2012-07-11 云海创想信息技术(无锡)有限公司 Method and device for downgrading software version
CN102707964A (en) * 2012-04-09 2012-10-03 深圳市佳信捷电子有限公司 Method and device for configuring compatible program version parameters
CN102707964B (en) * 2012-04-09 2016-04-06 深圳市佳信捷技术股份有限公司 Compatible program Release parameter collocation method and device
CN103581344B (en) * 2013-11-14 2017-07-28 北京星网锐捷网络技术有限公司 The treating method and apparatus and system of interface entry
WO2016066081A1 (en) * 2014-10-31 2016-05-06 华为技术有限公司 Data writing method and device
CN108958827A (en) * 2017-05-25 2018-12-07 贵州白山云科技有限公司 A kind of method and system of processing routine upgrade failure
CN108958827B (en) * 2017-05-25 2021-11-02 贵州白山云科技股份有限公司 Method and system for processing program upgrading fault
CN107332690A (en) * 2017-06-06 2017-11-07 烽火通信科技股份有限公司 A kind of method that sub-network level network configuration data retracts
CN107332690B (en) * 2017-06-06 2019-07-09 烽火通信科技股份有限公司 A kind of method that sub-network level network configuration data retracts
CN109218044A (en) * 2017-06-30 2019-01-15 贵州白山云科技股份有限公司 A kind of fault handling method and device
CN109218044B (en) * 2017-06-30 2021-07-13 贵州白山云科技股份有限公司 Fault processing method and device
CN110333880A (en) * 2018-03-29 2019-10-15 杭州海康威视数字技术股份有限公司 A kind of configuration update method, device, equipment and storage medium
CN110333880B (en) * 2018-03-29 2024-02-02 杭州海康威视数字技术股份有限公司 Configuration updating method, device, equipment and storage medium
CN112631646A (en) * 2020-12-18 2021-04-09 平安普惠企业管理有限公司 Data compatibility method, device and equipment for APP version degradation and storage medium
CN114416430A (en) * 2022-01-26 2022-04-29 上海电气风电集团股份有限公司 Software version management method, system, device and medium

Also Published As

Publication number Publication date
CN101610449B (en) 2011-12-28

Similar Documents

Publication Publication Date Title
CN101610449B (en) Method for upgrading and rolling back configuration data and system thereof
US8677311B2 (en) Separate-type signal processing apparatus and software version updating method therefor
CN100445952C (en) Software version update method and device in communication equipment
CN101697133A (en) Software upgrading method, software upgrading system and client
CN102402438B (en) Method and device for automatically merging patch files and communication terminal
CN100471134C (en) Method, device for upgrading telecommunication equipment and upgrading engine unit
CN102662798A (en) Data recovery method and terminal for Android system
CN101207633B (en) System and method for selecting function customization of network memory system
CN102546246A (en) Method and system for automatic upgrade of software
CN102023881A (en) Method and device for upgrading software as well as embedded device
CN101166321A (en) Software upgrade method for remote RF unit in radio communication system
CN105183525A (en) Upgrading method of system software and electronic equipment for implementing upgrading method
CN104102501A (en) Mobile terminal and upgrading method thereof
CN104239098A (en) Automatic software upgrading method and device and mobile terminal
CN102223380A (en) Client terminal automatic updating frame based on Webservice and application thereof
CN102163152A (en) Software upgrading method and device thereof for embedded terminal device
CN103902334A (en) Silent updating method and system based on Android system
CN102073508A (en) Method and apparatus for upgrading terminals and software thereof
CN101119188A (en) Single board updating method for implementing uninterruptive service
CN104793998A (en) Terminal system resource management method and device
CN101930377B (en) Link library compiling method by dynamically acquiring UID
CN102137182A (en) Method and system for downloading mobile phone user operation system
CN101425078A (en) Software source code updating method and device
CN101925094A (en) Updating system and method for network element management system
CN101834885A (en) Method and device for downloading software

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20190128

Address after: Delaware

Patentee after: Open Invention Network Co.,Ltd.

Address before: 518057, Nanshan District high tech Industrial Park, Guangdong province Shenzhen science and technology south road Zhongxing building A block 6

Patentee before: ZTE Corp.

TR01 Transfer of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20111228

CF01 Termination of patent right due to non-payment of annual fee