CN101286881B - Device for implementing multi-version compatibility of software configuration data of base station and application thereof - Google Patents
Device for implementing multi-version compatibility of software configuration data of base station and application thereof Download PDFInfo
- Publication number
- CN101286881B CN101286881B CN200810097905XA CN200810097905A CN101286881B CN 101286881 B CN101286881 B CN 101286881B CN 200810097905X A CN200810097905X A CN 200810097905XA CN 200810097905 A CN200810097905 A CN 200810097905A CN 101286881 B CN101286881 B CN 101286881B
- Authority
- CN
- China
- Prior art keywords
- configuration data
- version
- base station
- correspondence
- data
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a device for realizing the compatibility of multi-edition of software configuration data of a base station and an application of the device. The device comprises: a communication module, a data processing module and a document configuring module, wherein, the communication module is used for obtaining the existing edition number and the configuration data corresponding to the existing edition from the base station and sending out and submitting the corresponding configured data of the object version transformed by the data processing module to the base station; the data processing module is used for obtaining the corresponding configuration data of the existing edition from the communication module and obtaining the corresponding empty configuration data of the object edition from the document configuring module and writes the value of each sub-item in the corresponding configuration data of the existing edition according to a preset mode into the corresponding empty configuration data of the object edition; the document configuring module is used for storing the related configuration documents of the object edition in advance. The device realizes the automatic compatibility of the configuration data of different software editions during the edition of the base station upgrading process, thus simplifying the upgrading complexity of the base station and effectively ensuring the correctness of the upgrading of the configuration data.
Description
Technical field
The present invention relates to communication technical field, relate in particular to a kind of device and application that realizes multi-version compatibility of software configuration data of base station.
Background technology
In base station software version evolution process, there are a plurality of different versions, each base station software version all has different separately configuration datas, and described base station configuration data is provided with relevant data message in order to preserve with the base station.When the base station need be from a software release upgrade to another software version, base station configuration data also will be accordingly from an edition upgrading to another version.
The edition compatibility of existing software configuration data of base station adopts manual method, promptly when being upgraded to the process of B from the base station software version from A, at first current base station software version (A version) institute respective base station configuration data is derived from the base station, then with the base station software version from the A edition upgrading to the B version, at last with the template configuration data importing current base station of B version correspondence, and according to previous configuration data of from the base station, deriving A version correspondence, the manual base station configuration corresponding data of giving.
Though the upgrading mode of present existing software configuration data of base station can satisfy basic upgrade requirement, has many deficiencies: the escalation process complexity when the base station number of needs upgradings is huge, will be a difficult task; Between each data item of configuration data the restriction numerous and diverse, the user is difficult to exhaustive; The upgrading correctness is difficult to guarantee that especially when cross-version was upgraded, the structural change of different editions spatial database was bigger that adopt manual operation, field is made amendment one by one, occurs data collocation error easily.
Summary of the invention
In view of above-mentioned analysis, the object of the present invention is to provide a kind of device and application that realizes multi-version compatibility of software configuration data of base station, in order to solve the problem that mistake appears in manual configuration easily that exist in the prior art.
The objective of the invention is to be achieved through the following technical solutions:
The invention provides a kind of device of realizing multi-version compatibility of software configuration data of base station, described device comprises: communication module, data processing module and profile module, wherein,
Described communication module is used for obtaining and send from the base station configuration data of current version number and current version correspondence, and target version this shop, and the configuration data of the target version correspondence after the described data processing module conversion is uploaded to the base station;
Described data processing module, be used for obtaining the configuration data of current version correspondence from described communication module, obtain the empty configuration data of target version correspondence from described profile module, and write the value of each subitem in the configuration data of current version correspondence in the empty configuration data of target version correspondence by predetermined way;
Described profile module is used for storing in advance the relevant configuration file of target version.
Further, described data processing module specifically comprises: judging unit and list processing unit, wherein,
Described judging unit is used for the relevant configuration file that basis is obtained from profile module, judges the operation that should take each subitem in the configuration data of current version correspondence: newly-increased table, delete list or copy table, trigger described list processing unit then;
Described list processing unit is used for the unwanted table of target version configuration data is deleted processing; Perhaps, be used for the table that increases newly that the target version configuration data occurs is added processing; Perhaps, be used for target version configuration data list structure is not had the copy process of showing of any change; Perhaps, use and carry out elder generation with the table that list structure in the target version configuration data take place is revised and delete and afterwards increase processing newly.
Further, described profile module specifically comprises: version information file, empty table collection file and table message file, wherein,
Described version information file is used to write down the version information of all compatible versions of current support;
Described table message file is used for writing down the table information that each subitem exists in each table of base station data version and each table in the base station data version;
Described empty table collects file, is used to write down the empty configuration data of each base station data version correspondence.
Wherein, described version information comprises: the version name of all versions, the start context of each version, the compatible target version of each version energy are numbered, the empty tabular value of each version correspondence; Described table information comprises: the value condition of the start context of the start context that all tables are supported title, each table, the key name in each table, each support, each this item when never the homology edition compatibility is to the different target version.
The embodiment of the invention also provides a kind of method of utilizing said apparatus to carry out the software configuration data of base station upgrading, and described method comprises:
Steps A: the current version number, the target version this shop that obtain base station software;
Step B: the configuration data of deriving the current version correspondence;
Step C: the configuration data that the configuration data of described current version correspondence is converted to the target version correspondence by predetermined way; Described step C specifically comprises: the empty configuration data that obtains the target version correspondence; Read the value of each subitem in the configuration data of current version correspondence successively; Write the value of each subitem in the configuration data of the current version correspondence obtained in the empty configuration data of target version correspondence by predetermined way;
Step D: the configuration data of the target version correspondence after will changing imports the base station, and activates target version.
Wherein, describedly obtain current version number and target version this shop adopts user datagram protocol or transmission control
Wherein, describedly obtain the communication modes that current version number and target version this shop adopt user datagram protocol or transmission control protocol; The configuration data of the configuration data of described derivation current version correspondence and importing target version correspondence adopts the communication modes of file transfer protocol (FTP).
In sum, the invention provides a kind of device and application that realizes multi-version compatibility of software configuration data of base station, adopt the present invention, can in the base station edition escalation process, carry out compatibility by automatic configuration data with different software versions, no longer need manual operations, thereby simplified the complexity of upgrading base station, effectively guaranteed the correctness of configuration data upgrading simultaneously.
Other features and advantages of the present invention will be set forth in the following description, and becoming apparent from specification of part perhaps understood by implementing the present invention.Purpose of the present invention and other advantages can realize and obtain by specifically noted structure in the specification of being write, claims and accompanying drawing.
Description of drawings
Fig. 1 is the structural representation of the described device of the embodiment of the invention;
Fig. 2 is the schematic flow sheet of the described method of the embodiment of the invention.
Embodiment
Specifically describe preferential embodiment of the present invention below in conjunction with accompanying drawing, wherein, accompanying drawing constitutes the application's part, and is used from explaination principle of the present invention with embodiments of the invention one.
1 pair of described device of the embodiment of the invention is elaborated at first in conjunction with the accompanying drawings.
As shown in Figure 1, Fig. 1 is the structural representation of the described device of the embodiment of the invention, specifically can comprise: communication module, data processing module and profile module, wherein,
Communication module is responsible for and exchanges data is carried out in the base station, foreground; Be exactly that described communication module stylobate station in the past obtains the configuration data of current version number and current version correspondence, and target version this shop, and sends to data processing module specifically; Simultaneously, described communication module also is responsible for the configuration data of the target version correspondence after the data processing module conversion is uploaded to base station foreground.Wherein, download the current version correspondence configuration data, upload the configuration data of target version correspondence, these two operations can adopt ftp (file transfer protocol (FTP)) mode to carry out; Obtain foreground current version number, obtain target version this shop and can select udp (user datagram protocol) or tcp (transmission control protocol) mode for use.
Data processing module, main being responsible for carried out respective handling to the configuration data of current version correspondence by predetermined way, obtains the configuration data of target version correspondence; Promptly, data processing module obtains the empty configuration data of target version correspondence from profile module, obtain the configuration data of current version correspondence from communication module, then the value of each subitem in the configuration data of current version correspondence is write in the empty configuration data of target version correspondence by predetermined way (delete list, increase table or copy table etc.); Described data processing module specifically can comprise: judging unit and list processing unit;
Judging unit, because configuration data is made up of several tables of data, because the tables of data of the tables of data of the configuration data of current version correspondence and the configuration data of target version correspondence is different, need add accordingly according to the data tableau format of the configuration data of target version correspondence, deletion, copy process.So behind the relevant configuration file that judging unit obtains from profile module, need to judge the operation that to take each subitem in the current configuration data: newly-increased table, delete list or copy table, trigger table processing unit then;
The list processing unit is used for the unwanted table of target version configuration data is deleted processing; Perhaps, be used for the table that increases newly that the target version configuration data occurs is added processing; Perhaps, be used for target version configuration data list structure is not had the copy process of showing of any change; Perhaps, use and carry out elder generation with the table that list structure in the target version configuration data take place is revised and delete and afterwards increase processing newly.
Profile module, to need in a plurality of edition compatibilities of record to be responsible for the configuration file used, described file comprises: version information file, empty table collection file and table message file etc., wherein, version information file has been described each base station data version number of record etc. with the xml script, such as, the emptytable value of the start context of compatible all version names of current support, each version, target version numbering that each version can be compatible, each version correspondence (empty tabular value is described the empty list file of current version correspondence); The table message file with the xml script described each table in the record base station data version and each show in each subitem situation about in the base station data version, existing, value condition such as, the start context of the start context that all tables are supported title, each table, the key name in each table, each support, each this item when never the homology edition compatibility is to the different target version; It is the configuration data of each base station data version correspondence of sky that empty table has collected file logging.
Next 2 pairs of methods of utilizing the described system of the embodiment of the invention to be configured data version upgrading are elaborated in conjunction with the accompanying drawings.
As shown in Figure 2, Fig. 2 is the schematic flow sheet of the described method of the embodiment of the invention, specifically can may further comprise the steps:
Step 201: the version number's (current version number) that obtains the current base station software of moving;
Step 202: the configuration data of deriving the current version correspondence;
Step 203: obtain target version this shop;
Step 204: the empty configuration data that obtains the target version correspondence;
Step 205: each subitem in the configuration data of the current version correspondence that traversal derives;
Step 206: write the value of each subitem in the configuration data of the current version correspondence that reads in the empty configuration data of target version correspondence by predetermined way; Described predetermined way comprises: delete list, newly-increased table or copy list processing.
Step 207: judge whether to travel through and finish, if finish, execution in step 208, the person does not forward step 205 to;
Step 208: the empty configuration data after will handling through step 206 imports the base station;
Step 209: activate the target version base station software.
About the specific implementation process of the described method of the embodiment of the invention,, repeat no more owing to elaborate in the description of device in the above herein.
In sum, the embodiment of the invention provides device and the application that realizes multi-version compatibility of software configuration data of base station, when base station software version A is upgraded to B, realized automatically the configuration data version of A version correspondence being associated as the configuration data version of B version correspondence, to user transparent and need not its manual participation, thereby simplified the complexity of upgrading base station, also effectively guaranteed the correctness of configuration data upgrading.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claims.
Claims (7)
1. a device of realizing multi-version compatibility of software configuration data of base station is characterized in that, described device comprises: communication module, data processing module and profile module, wherein,
Described communication module is used for obtaining from the base station configuration data of current version number and current version correspondence, and target version this shop, and the configuration data of the target version correspondence after the described data processing module conversion is uploaded to the base station;
Described data processing module, be used for obtaining the configuration data of current version correspondence from described communication module, obtain the empty configuration data of target version correspondence from described profile module, and write the value of each subitem in the configuration data of current version correspondence in the empty configuration data of target version correspondence by predetermined way;
Described profile module is used for storing in advance the relevant configuration file of target version.
2. device according to claim 1 is characterized in that, described data processing module specifically comprises: judging unit and list processing unit, wherein,
Described judging unit is used for the relevant configuration file that basis is obtained from profile module, judges the operation that should take each subitem in the configuration data of current version correspondence: newly-increased table, delete list or copy table, trigger described list processing unit then;
Described list processing unit is used for the unwanted table of target version configuration data is deleted processing; Perhaps, be used for the table that increases newly that the target version configuration data occurs is added processing; Perhaps, be used for target version configuration data list structure is not had the copy process of showing of any change; Perhaps, use and carry out elder generation with the table that list structure in the target version configuration data take place is revised and delete and afterwards increase processing newly.
3. device according to claim 1 and 2 is characterized in that, described profile module specifically comprises: version information file, empty table collection file and table message file, wherein,
Described version information file is used to write down the version information of all compatible versions of current support;
Described table message file is used for writing down the table information that each subitem exists in each table of base station data version and each table in the base station data version;
Described empty table collects file, is used to write down the empty configuration data of each base station data version correspondence.
4. device according to claim 3 is characterized in that, described version information comprises: the version name of all versions, the start context of each version, the compatible target version of each version energy are numbered, the empty tabular value of each version correspondence.
5. device according to claim 3, it is characterized in that described table information comprises: the value condition of the start context of the start context that all tables are supported title, each table, the key name in each table, each support, each this item when never the homology edition compatibility is to the different target version.
6. utilize the described device of claim 1 to carry out the method for software configuration data of base station upgrading, it is characterized in that described method comprises:
Steps A: the current version number, the target version this shop that obtain base station software;
Step B: the configuration data of deriving the current version correspondence;
Step C: the configuration data that the configuration data of described current version correspondence is converted to the target version correspondence by predetermined way; Described step C specifically comprises: the empty configuration data that obtains the target version correspondence; Read the value of each subitem in the configuration data of current version correspondence successively; Write the value of each subitem in the configuration data of the current version correspondence obtained in the empty configuration data of target version correspondence by predetermined way;
Step D: the configuration data of the target version correspondence after will changing imports the base station, and activates target version.
7. method according to claim 6 is characterized in that, describedly obtains the communication modes that current version number and target version this shop adopt user datagram protocol or transmission control protocol; The configuration data of the configuration data of described derivation current version correspondence and importing target version correspondence adopts the communication modes of file transfer protocol (FTP).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810097905XA CN101286881B (en) | 2008-05-16 | 2008-05-16 | Device for implementing multi-version compatibility of software configuration data of base station and application thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810097905XA CN101286881B (en) | 2008-05-16 | 2008-05-16 | Device for implementing multi-version compatibility of software configuration data of base station and application thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101286881A CN101286881A (en) | 2008-10-15 |
CN101286881B true CN101286881B (en) | 2011-01-19 |
Family
ID=40058862
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200810097905XA Expired - Fee Related CN101286881B (en) | 2008-05-16 | 2008-05-16 | Device for implementing multi-version compatibility of software configuration data of base station and application thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101286881B (en) |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101702161B (en) * | 2009-11-05 | 2012-07-04 | 金蝶软件(中国)有限公司 | Data extraction method, device and data management system |
CN102404306B (en) * | 2010-09-19 | 2014-07-16 | 腾讯科技(深圳)有限公司 | Protocol configuration method and device |
CN103186391B (en) * | 2011-12-29 | 2016-05-11 | 腾讯科技(深圳)有限公司 | Browser upgrade method and system and a kind of upgrade server |
CN102571445B (en) * | 2012-02-06 | 2015-06-03 | 中兴通讯股份有限公司 | Method for converting network equipment configuration file and apparatus thereof |
CN103677860B (en) * | 2012-08-30 | 2018-05-01 | 百度在线网络技术(北京)有限公司 | A kind of method and apparatus for being used to update browser |
CN104317817B (en) * | 2014-09-26 | 2018-05-18 | 浙江中控技术股份有限公司 | The version compatibility method and device of a kind of configuration file |
CN106603289B (en) * | 2016-12-15 | 2020-12-25 | 武汉虹信科技发展有限责任公司 | LMT configuration file smooth upgrading method |
CN107977223B (en) * | 2017-11-20 | 2020-12-04 | 杭州迪普科技股份有限公司 | Configuration compatibility checking method and device |
CN110011817B (en) * | 2018-01-04 | 2023-03-14 | 中兴通讯股份有限公司 | Network element upgrading method and device and computer readable storage medium |
CN108021404A (en) * | 2018-01-09 | 2018-05-11 | 郑州云海信息技术有限公司 | A kind of cross-version upgrades storage system and verifies the system and method for data consistency |
CN111367546A (en) * | 2020-02-26 | 2020-07-03 | 东风电子科技股份有限公司 | Method for realizing upgrading processing of xml configuration file in software upgrading process |
CN113760312A (en) * | 2020-05-21 | 2021-12-07 | 中兴通讯股份有限公司 | Base station data upgrading method, base station and computer readable medium |
CN112073218B (en) * | 2020-08-10 | 2022-05-31 | 烽火通信科技股份有限公司 | Network configuration file compatible method, electronic equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1859151A (en) * | 2005-07-19 | 2006-11-08 | 上海华为技术有限公司 | Method for upgrading remote subsystem in communication system |
CN1867123A (en) * | 2006-03-29 | 2006-11-22 | 华为技术有限公司 | Smooth upgrade process and apparatus for base station |
CN1901724A (en) * | 2005-07-21 | 2007-01-24 | 中兴通讯股份有限公司 | Dispatching method for mobile communication system software version updating |
CN101150830A (en) * | 2007-10-17 | 2008-03-26 | 中兴通讯股份有限公司 | Software packet upgrade method and device |
-
2008
- 2008-05-16 CN CN200810097905XA patent/CN101286881B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1859151A (en) * | 2005-07-19 | 2006-11-08 | 上海华为技术有限公司 | Method for upgrading remote subsystem in communication system |
CN1901724A (en) * | 2005-07-21 | 2007-01-24 | 中兴通讯股份有限公司 | Dispatching method for mobile communication system software version updating |
CN1867123A (en) * | 2006-03-29 | 2006-11-22 | 华为技术有限公司 | Smooth upgrade process and apparatus for base station |
CN101150830A (en) * | 2007-10-17 | 2008-03-26 | 中兴通讯股份有限公司 | Software packet upgrade method and device |
Also Published As
Publication number | Publication date |
---|---|
CN101286881A (en) | 2008-10-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101286881B (en) | Device for implementing multi-version compatibility of software configuration data of base station and application thereof | |
CN103731483B (en) | Virtual file system based on cloud computing | |
CN109739934B (en) | Difference set account checking method, medium, computer equipment and system | |
CN105528677A (en) | Quality tracing method and system applied to construction process | |
JP2008079344A5 (en) | ||
WO2008002578A3 (en) | Methods and apparatus for improving data warehouse performance | |
US20120185454A1 (en) | Method and device for accessing file resources | |
CN103914300B (en) | A kind of implementation method and electronic equipment of software development affairs | |
CN101913297B (en) | Medical film print on demand control method | |
RU2008108021A (en) | ORGANIZING CONTENT USING DYNAMIC PROFILE | |
CN102025708A (en) | Upgrade method, device and system | |
CN102566986A (en) | TD fixed wireless phone software version management system and application method of such system | |
CN100507871C (en) | Method and system for testing embedded file system | |
CN109635251A (en) | Text conversion method, device, equipment and the storage medium of application | |
CN101246440B (en) | Java card system rubbish recovering method | |
CN102662660A (en) | FOTA (firmware over-the-air) version control method based on file traversal technique | |
CN101335543A (en) | Method and apparatus for printing data with predetermined format using bluetooth communication, and method of storing template data | |
CN102222112B (en) | Resource management device and resource management method | |
CN108345467A (en) | The update method and device of edition tree file | |
CN108776592A (en) | A kind of method, apparatus of page makeup, equipment and storage medium | |
CN106446064A (en) | Data conversion method and device | |
CN110688534A (en) | Equipment facility information collection method, storage medium, electronic equipment and system | |
CN105227337A (en) | A kind of multimode network management configuration model upgrade method and device | |
CN102970401A (en) | Method and device for recoding contact information | |
CN101094163A (en) | A method and device for transmitting data |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20110119 Termination date: 20170516 |
|
CF01 | Termination of patent right due to non-payment of annual fee |