CN104461612B - A kind of data processing method and device - Google Patents
A kind of data processing method and device Download PDFInfo
- Publication number
- CN104461612B CN104461612B CN201410635774.1A CN201410635774A CN104461612B CN 104461612 B CN104461612 B CN 104461612B CN 201410635774 A CN201410635774 A CN 201410635774A CN 104461612 B CN104461612 B CN 104461612B
- Authority
- CN
- China
- Prior art keywords
- functional characteristic
- user
- upgrading
- new version
- characteristic
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The embodiment of the invention discloses a kind of data processing method and device, method includes:The software kit of new version is obtained, the new version software bag of each functional characteristic is included in the software kit of new version;The upgrade command that user issues is received, specifies the mark of the functional characteristic of upgrading in upgrade command comprising user;New version catalogue is created in the case where user specifies the functional characteristic of upgrading and specifies user the new version software bag of the functional characteristic of upgrading to be decompressed under the new version catalogue of corresponding function characteristic;User is specified to data under the early version catalogue of the functional characteristic of upgrading and document upgrading under corresponding new version catalogue;Startup user specifies data and file completion upgrading under the new version catalogue of the functional characteristic of upgrading.The embodiment of the present invention can specify user the functional characteristic of upgrading or rollback to be upgraded or retracted, to meet the different demands of user.
Description
Technical field
The present embodiments relate to field of communication technology, more particularly to a kind of data processing method and device.
Background technology
One network element typically include multiple functional characteristics, and the released version of network element is the complete or collected works of all functions characteristic, hair
The new version of cloth may carry out function enhancing to original partly or entirely characteristic or defect is changed, or adds new characteristic
Deng.User is then needed the current version of network element if necessary to strengthen the current function of network element or repair the defects of network element is existing
It is upgraded to new version.
The prior art is generally upgraded or is retracted using network element version as an entirety, is not supported network element version is thin again
Functional characteristic is divided to be upgraded or retracted.I.e. if user selects edition upgrading, network element allomeric function is upgraded to new version,
Do not support only to upgrade certain partial function characteristic;If needing to retract after same customer upgrade, network element can only be integrally return back to liter
Version before level, it is impossible to selection only retracts certain partial function characteristic, this method there are it is certain the defects of.
Such as:Some functional characteristics are stable, which currently runs the function meet demand of version, it is not necessary to
The function of being strengthened using these characteristics in new version, in case the function that the function of new version enhancing stablizes current version causes shadow
Ring;For another example the defects of some characteristics, is not present in operator's usage scenario, therefore should without more new version or patch reparation
Characteristic.I.e. when carrying out edition upgrading, to some functional characteristics, sometimes operator is not intended to upgrade, it is desirable to keeps stable fortune
Row state, only upgrades other functional characteristics for needing to upgrade;Equally, if after operator upgraded functional characteristic, find some
Existing defects are, it is necessary to these characteristics that retract when functional characteristic is run, but the characteristic of other upgradings has no problem, it is undesirable to all
The characteristic of upgrading all retracts, and accomplishing to retract as far as possible, it is minimum to influence, and the prior art can not meet this demand, therefore, it is necessary to
A kind of new method is provided to solve the above problems.
The content of the invention
In view of this, an embodiment of the present invention provides a kind of data processing method and device, upgrading can be specified to user
Or the functional characteristic to retract is upgraded or retracted, to meet the different demands of user.
In a first aspect, data processing equipment provided in an embodiment of the present invention, including:
Acquiring unit, for obtaining the software kit of new version, each functional characteristic is included in the software kit of the new version
New version software bag;
Receiving unit, the upgrade command issued for receiving user, specifies liter in the upgrade command comprising the user
The mark of the functional characteristic of level;
Creating unit, for being specified the mark of functional characteristic of upgrading to specify upgrading in the user according to the user
New version catalogue is created under functional characteristic and specifies the user new version software bag of the functional characteristic of upgrading to be decompressed to
Under the new version catalogue of corresponding function characteristic;
Processing unit, for the user is specified upgrading functional characteristic early version catalogue under data and file liter
Level is arrived under corresponding new version catalogue;
Upgrade unit, for start the user specify upgrading functional characteristic new version catalogue under data and file
Complete upgrading.
With reference to first aspect, in the first embodiment of first aspect, the upgrade unit is specifically used for:
Stop the process that the user specifies the functional characteristic of upgrading;
The primary version updating that the user is specified to the functional characteristic of upgrading is the new version of corresponding function characteristic;
Add the process that the user specifies the functional characteristic of upgrading;
Starting the user specifies the process of the functional characteristic of upgrading to complete upgrading.
With reference to first aspect, in second of embodiment of first aspect, if the first functional characteristic relies on the second function
Characteristic then includes described the, it is necessary to call the library file of second functional characteristic in the software kit of first functional characteristic
The library file of two functional characteristics.
With reference to first aspect, in the third embodiment of first aspect, if the first functional characteristic relies on the second function
Characteristic is, it is necessary to call the service that second functional characteristic provides, then comprising described in the software kit of first functional characteristic
The external interface file of second functional characteristic.
With reference to first aspect, or first aspect the first embodiment, or second of embodiment of first aspect, or
The third embodiment of first aspect, in the 4th kind of embodiment of first aspect, described device further includes:
Setting unit, for setting the mark that retracts for the functional characteristic that has upgraded so that the user inquires about;
The receiving unit is additionally operable to, and is received the back-off instruction that the user issues, is included in the back-off instruction described
User specifies the mark of the functional characteristic of rollback;
Described device further includes:
Rollback unit, for start the user specify rollback functional characteristic early version catalogue under data and file
Complete to retract.
The 4th kind of embodiment with reference to first aspect, in the 5th kind of embodiment of first aspect, the list that retracts
Member is specifically used for:
Stop the process that the user specifies the functional characteristic of rollback;
The user is specified the primary version updating of the functional characteristic of rollback specify the function of rollback special for the user
The early version of property;
Add the process that the user specifies the functional characteristic of rollback;
Starting the user specifies the process of the functional characteristic of rollback to complete to retract.
The 5th kind of embodiment with reference to first aspect, in the 6th kind of embodiment of first aspect, described device is also
Including:
Clearing cell, the function of having retracted described in mark and/or removing that retracts of the functional characteristic to have retracted for removing
Useless the release directory of characteristic.
Second aspect, data processing method provided in an embodiment of the present invention, including:
The software kit of new version is obtained, the new version software of each functional characteristic is included in the software kit of the new version
Bag;
Receive the upgrade command that issues of user, specify the functional characteristic of upgrading in the upgrade command comprising the user
Mark;
The mark of the functional characteristic of upgrading is specified to be created in the case where the user specifies the functional characteristic of upgrading according to the user
Build new version catalogue and specify the user new version software bag of the functional characteristic of upgrading to be decompressed to corresponding function characteristic
New version catalogue under;
The user is specified to data under the early version catalogue of the functional characteristic of upgrading and document upgrading to corresponding new
Under the release directory;
Start the user specify upgrading functional characteristic new version catalogue under data and file complete upgrading.
With reference to second aspect, in the first embodiment of second aspect, the startup user specifies upgrading
Data and file under the new version catalogue of functional characteristic, which complete upgrading, to be included:
Stop the process that the user specifies the functional characteristic of upgrading;
The primary version updating that the user is specified to the functional characteristic of upgrading is the new version of corresponding function characteristic;
Add the process that the user specifies the functional characteristic of upgrading;
Starting the user specifies the process of the functional characteristic of upgrading to complete upgrading.
With reference to second aspect, in second of embodiment of second aspect, if the first functional characteristic relies on the second function
Characteristic then includes described the, it is necessary to call the library file of second functional characteristic in the software kit of first functional characteristic
The library file of two functional characteristics.
With reference to second aspect, in the third embodiment of second aspect, if the first functional characteristic relies on the second function
Characteristic is, it is necessary to call the service that second functional characteristic provides, then comprising described in the software kit of first functional characteristic
The external interface file of second functional characteristic.
With reference to second of embodiment of the first embodiment of second aspect, or second aspect, or second aspect, or
The third embodiment of second aspect, in the 4th kind of embodiment of second aspect, the method further includes:
Functional characteristic to have upgraded sets the mark that retracts so that the user inquires about;
The back-off instruction that the user issues is received, specifies the function spy of rollback in the back-off instruction comprising the user
The mark of property;
Start the user specify rollback functional characteristic early version catalogue under data and file complete retract.
With reference to the 4th kind of embodiment of second aspect, in the 5th kind of embodiment of second aspect, the startup institute
State user specify rollback functional characteristic early version catalogue under data and file complete rollback include:
Stop the process that the user specifies the functional characteristic of rollback;
The user is specified the primary version updating of the functional characteristic of rollback specify the function of rollback special for the user
The early version of property;
Add the process that the user specifies the functional characteristic of rollback;
Starting the user specifies the process of the functional characteristic of rollback to complete to retract.
With reference to the 5th kind of embodiment of second aspect, in the 6th kind of embodiment of second aspect, the method is also
Including:
Remove the useless version of the functional characteristic to have retracted described in mark and/or removing that retracts of the functional characteristic to have retracted
Catalogue.
As can be seen from the above technical solutions, the embodiment of the present invention has the following advantages:
In the embodiment of the present invention, the new version software of each functional characteristic is included in the software kit of acquired new version
Bag, after the upgrade command that user issues is received, new version catalogue is created simultaneously in the case where user specifies the functional characteristic of upgrading
User is specified the new version software bag of the functional characteristic of upgrading be decompressed under the new version catalogue of corresponding function characteristic, will used
Data under the early version catalogue of the functional characteristic of upgrading and document upgrading are specified under corresponding new version catalogue in family;Start user
The data under the new version catalogue of the functional characteristic of upgrading and file is specified to complete upgrading.I.e. the embodiment of the present invention can be to user
The functional characteristic specified is upgraded, and the functional characteristic not upgraded is unaffected, so as to meet the different demands of user.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to institute in embodiment
Attached drawing to be used is needed to be briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention
Example, for those of ordinary skill in the art, without creative efforts, can also obtain according to these attached drawings
Obtain other attached drawings.
Fig. 1 is data processing equipment one embodiment schematic diagram of the present invention;
Fig. 2 is another embodiment schematic diagram of data processing equipment of the present invention;
Fig. 3 is another embodiment schematic diagram of data processing equipment of the present invention;
Fig. 4 is data processing method one embodiment schematic diagram of the present invention;
Fig. 5 is another embodiment schematic diagram of data processing method of the present invention;
Fig. 6 is one embodiment schematic diagram of composition of network element software bag of the present invention;
Fig. 7 is one embodiment schematic diagram when network element software bag initial version of the present invention is installed;
Fig. 8 is one embodiment schematic diagram when network element software bag of the present invention updates;
Fig. 9 is one embodiment schematic diagram when network element software bag of the present invention retracts.
Embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is described, is shown
So, described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.Based on the reality in the present invention
Apply example, those of ordinary skill in the art's all other embodiments obtained without making creative work, all belong to
In the scope of protection of the invention.
An embodiment of the present invention provides a kind of data processing method and device, the work(of upgrading or rollback can be specified to user
Energy characteristic is upgraded or is retracted, to meet the different demands of user.
Referring to Fig. 1, Fig. 1 is data processing equipment one embodiment schematic diagram of the present invention, the data processing of the present embodiment
Device 100 includes:
Acquiring unit 101, for obtaining the software kit of new version, each function spy is included in the software kit of the new version
The new version software bag of property;
Receiving unit 102, the upgrade command issued for receiving user, is specified comprising the user in the upgrade command
The mark of the functional characteristic of upgrading;
Creating unit 103, for being specified the mark of functional characteristic of upgrading to specify liter in the user according to the user
New version catalogue is created under the functional characteristic of level and specifies the user new version software bag of the functional characteristic of upgrading to decompress
It is reduced under the new version catalogue of corresponding function characteristic;
Processing unit 104, for the user is specified upgrading functional characteristic early version catalogue under data and text
Part is upgraded under corresponding new version catalogue;
Upgrade unit 105, for start the user specify upgrading functional characteristic new version catalogue under data and
File completes upgrading.
In the specific implementation, when network element software is surrounded by new version issue, acquiring unit 101 obtains the software kit of new version,
The new version software bag of each functional characteristic, the new version software bag of each functional characteristic are included in the software kit of the new version
For independent software kit.User can according to demand select to need the functional characteristic that upgrades and issue upgrade command, receiving unit 102
The upgrade command is received, specifies the mark of the functional characteristic of upgrading in the upgrade command comprising user.
The mark of the functional characteristic included in the upgrade command that creating unit 103 is received according to receiving unit 102 with
Family, which is specified, creates new version catalogue under the functional characteristic of upgrading, and user is specified to the new version software bag of the functional characteristic of upgrading
It is decompressed under the new version catalogue of corresponding function characteristic, the default data after only being installed under new version catalogue at this time, processing
User is specified data under the early version catalogue of the functional characteristic of upgrading and document upgrading to corresponding new version mesh by unit 104
Under record, so that the data that new version can be inherited and produced using early version, there is provided corresponding function, upgrade unit 105 open
Employ family specify upgrading functional characteristic new version catalogue under data and file complete upgrading.
In the present embodiment, the new version comprising each functional characteristic is soft in the software kit of the new version acquired in acquiring unit
Part bag, after the upgrade command that receiving unit receives that user issues, creating unit specifies the functional characteristic of upgrading in user
The new version software bag of lower establishment new version catalogue and the functional characteristic that user is specified to upgrading is decompressed to corresponding function characteristic
New version catalogue under, user is specified data and document upgrading under the early version catalogue of the functional characteristic of upgrading by processing unit
To under corresponding new version catalogue;Upgrade unit startup user specifies data and text under the new version catalogue of the functional characteristic of upgrading
Part completes upgrading.I.e. the present embodiment can carry out edition upgrading according to functional characteristic granularity, specify the function of upgrading special to user
Property is upgraded, and the functional characteristic not upgraded is unaffected, so as to meet the different demands of user.
For ease of understanding, one specific embodiment of data processing equipment of the present invention is described below, referring to Fig. 2, this implementation
The data processing equipment 200 of example includes:
Acquiring unit 201, for obtaining the software kit of new version, each function spy is included in the software kit of the new version
The new version software bag of property;
Receiving unit 202, the upgrade command issued for receiving user, is specified comprising the user in the upgrade command
The mark of the functional characteristic of upgrading;
Creating unit 203, for being specified the mark of functional characteristic of upgrading to specify liter in the user according to the user
New version catalogue is created under the functional characteristic of level and specifies the user new version software bag of the functional characteristic of upgrading to decompress
It is reduced under the new version catalogue of corresponding function characteristic;
Processing unit 204, for the user is specified upgrading functional characteristic early version catalogue under data and text
Part is upgraded under corresponding new version catalogue;
Upgrade unit 205, for start the user specify upgrading functional characteristic new version catalogue under data and
File completes upgrading;
Setting unit 206, for setting the mark that retracts for the functional characteristic that has upgraded so that the user inquires about;
Receiving unit 201 is additionally operable to, and receives the back-off instruction that the user issues, the use is included in the back-off instruction
Specify the mark of the functional characteristic of rollback in family;
Data processing equipment 200 further includes:
Rollback unit 207, for start the user specify rollback functional characteristic early version catalogue under data and
File is completed to retract;
Clearing cell 208, the work(to have retracted described in mark and/or removing that retracts of the functional characteristic to have retracted for removing
Useless the release directory of energy characteristic.
In the specific implementation, the network element software bag of each version is compatible, it is soft comprising each functional characteristic in network element software bag
Part bag, the software kit of each functional characteristic are individually present.If opened between different functional characteristics there are dependence in software
Give and solve during hair.Such as if the first functional characteristic relies on the second functional characteristic, it is necessary to call the library file of the second functional characteristic,
Then the library file of the second functional characteristic is bundled in the software kit of the first functional characteristic;If the first functional characteristic relies on the second work(
Can characteristic, it is necessary to call the service that the second functional characteristic provides, then the external interface file of the second functional characteristic is bundled to the
In the software kit of one functional characteristic, so that the software kit of each functional characteristic can be individually present.When network element software bag
After initial version installation, in the case where running catalogue, each functional characteristic has a release directory, i.e. early version catalogue, when initial
Primary version be early version.
After the software kit of new version is developed, acquiring unit 201 can obtain the software kit of new version from server,
The new version software bag of each functional characteristic, the new version software bag of each functional characteristic are included in the software kit of the new version
For independent software kit.
User can issue upgrade command according to demand, such as which functional characteristic can be specified to need to upgrade, receiving unit
202 receive the upgrade command, specify the mark of the functional characteristic of upgrading in the upgrade command comprising user.
The mark of the functional characteristic included in the upgrade command that creating unit 203 is received according to receiving unit 202, with
Family, which is specified, to be created new version catalogue under the functional characteristic of upgrading and user is specified to the new version software bag of the functional characteristic of upgrading
It is decompressed under the new version catalogue of corresponding function characteristic, the default data after only being installed under new version catalogue at this time is primary
Version mesh is still early version.Processing unit 204 user is specified data under the early version catalogue of the functional characteristic of upgrading and
Document upgrading is under corresponding new version catalogue, during so as to new version as primary version, can inherit and be produced using early version
Raw data, there is provided corresponding function.
The startup user of upgrade unit 205 specifies data and file completion liter under the new version catalogue of the functional characteristic of upgrading
Level.Specifically, upgrade unit 205 needs first to stop the process for the functional characteristic that user specifies upgrading, and user is specified upgrading
The primary version updating of functional characteristic is the new version of corresponding function characteristic, and so mutual addition user specifies the functional characteristic of upgrading
Process, finally starts user and specifies the process of the functional characteristic of upgrading to complete upgrading.
After upgrade unit 205 completes upgrading, setting unit 206 is that the functional characteristic upgraded sets the mark that retracts.
User can issue inquiry instruction to data processing equipment, have rollback version to inquire about which functional characteristic.When needing to some work(
When energy characteristic is retracted, user can issue back-off instruction, and receiving unit 201 receives the back-off instruction, the back-off instruction
In comprising user specify rollback functional characteristic mark, rollback unit 207 start user specify rollback functional characteristic it is old
Data and file under the release directory are completed to retract.
Specifically, rollback unit 207 can first stop the process that user specifies the functional characteristic of rollback, and user is specified rollback
Functional characteristic primary version updating for user specify rollback functional characteristic early version, then add user specify rollback
Functional characteristic process, finally start user specify rollback functional characteristic process complete retract.
General Telecommunication Network Element only needs to support to retract once, therefore, after rollback unit 207 is completed to retract, clearly
Except unit 208 can remove the rollback mark of the functional characteristic to have retracted and/or remove the useless version of the functional characteristic to have retracted
Catalogue, to save storage resource.
In the present embodiment, the new version comprising each functional characteristic is soft in the software kit of the new version acquired in acquiring unit
Part bag, after the upgrade command that receiving unit receives that user issues, creating unit specifies the functional characteristic of upgrading in user
The new version software bag of lower establishment new version catalogue and the functional characteristic that user is specified to upgrading is decompressed to corresponding function characteristic
New version catalogue under, user is specified data and document upgrading under the early version catalogue of the functional characteristic of upgrading by processing unit
To under corresponding new version catalogue, upgrade unit startup user specifies data and text under the new version catalogue of the functional characteristic of upgrading
Part completes upgrading;After the back-off instruction that receiving unit receives that user issues, rollback unit starting user specifies rollback
Data and file under the early version catalogue of functional characteristic are completed to retract.I.e. the present embodiment can be carried out according to functional characteristic granularity
Edition upgrading or rollback, can specify user the functional characteristic of upgrading or rollback to be upgraded or retracted, not upgrade or retract
Functional characteristic it is unaffected, so as to meet the different demands of user.
Referring to Fig. 3, another embodiment of data processing equipment of the present invention includes transceiver 301 and processor 302, wherein:
Transceiver 301 is used for the software kit for obtaining new version, and each functional characteristic is included in the software kit of the new version
New version software bag;The upgrade command that user issues is received, specifies the work(of upgrading in the upgrade command comprising the user
The mark of energy characteristic;
Processor 302 is used for, and is specified the mark of the functional characteristic of upgrading to specify upgrading in the user according to the user
Functional characteristic under create and new version catalogue and specify the user new version software bag of the functional characteristic of upgrading to decompress
To under the new version catalogue of corresponding function characteristic;The user is specified to the data under the early version catalogue of the functional characteristic of upgrading
Under document upgrading to corresponding new version catalogue;Start under the new version catalogue of functional characteristic that the user specifies upgrading
Data and file complete upgrading.
In addition, the data processing equipment 300 of the present embodiment is additionally operable to perform other functions of aforementioned means embodiment, herein
Repeat no more.
Data processing method provided by the invention is described below, in of the invention, the network element software bag of each version is compatible, net
The software kit of each functional characteristic is included in meta software bag, the software kit of each functional characteristic is individually present.Such as can be by net
Functional characteristic in member is divided into one or more basic function characteristics, one or more business function characteristics.Basic function characteristic
There is provided basic function for network element, for example, provide unified network element externally communicate, authenticate, file transmission, the function such as Operation and Maintenance.Industry
Business functional characteristic provides business function, such as BTS management, cell management, mobile management etc., each functional characteristic for network element
One independent software kit is all set.When software kit is initially installed, the software kit of each functional characteristic in software kit carries out
Installation.
Referring to Fig. 4, data processing method one embodiment of the present invention includes:
401st, the software kit of new version is obtained;
When network element software is surrounded by new version issue, data processing equipment obtains the software kit of new version, the new version
Software kit in include the new version software bag of each functional characteristic, the new version software bag of each functional characteristic is independent soft
Part bag.
402nd, the upgrade command that user issues is received;
User can according to demand select to need the functional characteristic that upgrades and issue upgrade command, be included in the upgrade command
User specifies the mark of the functional characteristic of upgrading.
403rd, the mark of the functional characteristic of upgrading is specified to be created in the case where user specifies the functional characteristic of upgrading newly according to user
The release directory simultaneously specifies user the new version software bag of the functional characteristic of upgrading to be decompressed to the new version of corresponding function characteristic
Under catalogue;
Default data after only being installed under new version catalogue at this time.
The 404th, user is specified to data under the early version catalogue of the functional characteristic of upgrading and document upgrading to corresponding new
Under the release directory;
405th, startup user specifies the data under the new version catalogue of the functional characteristic of upgrading and file completion upgrading.
In the present embodiment, the new version software bag of each functional characteristic is included in the software kit of acquired new version,
After receiving the upgrade command that user issues, new version catalogue is created in the case where user specifies the functional characteristic of upgrading and by user
Specify the new version software bag of the functional characteristic of upgrading to be decompressed under the new version catalogue of corresponding function characteristic, user is specified
Data and document upgrading under the early version catalogue of the functional characteristic of upgrading are under corresponding new version catalogue;Start user and specify liter
Data and file under the new version catalogue of the functional characteristic of level complete upgrading.I.e. the present embodiment can be according to functional characteristic granularity
Edition upgrading is carried out, the functional characteristic of upgrading can be specified to upgrade to user, the functional characteristic not upgraded is unaffected, from
And meet the different demands of user.
For ease of understanding, data processing method of the present invention is introduced with a specific embodiment below, referring to Fig. 5, this reality
Applying the method for example includes:
501st, the software kit of new version is obtained;
Before the software kit of new version is obtained, the composition situation of network element software bag of the present invention is first introduced, specifically may be used
Refering to Fig. 6, the software kit of each functional characteristic is included in network element software bag, the software kit of each functional characteristic is individually present.If
There are dependence between different functional characteristics, then give and solve in software development.Such as if the first functional characteristic relies on
The library file of second functional characteristic is then bundled to first, it is necessary to call the library file of the second functional characteristic by the second functional characteristic
In the software kit of functional characteristic;If the first functional characteristic relies on the second functional characteristic, it is necessary to call what the second functional characteristic provided
The external interface file of second functional characteristic, then be bundled in the software kit of the first functional characteristic by service, so that each
The software kit of functional characteristic can be individually present.The installation function of network element software bag can be provided by install programs, start work(
It is able to can be provided by start programs.
When network element software bag initial version is installed, in the case where running catalogue, each functional characteristic has a release directory.
As shown in fig. 7, in active.cfg files, the current primary version of each functional characteristic is housed, network element software bag is initial
After version installation, the primary version of each functional characteristic is version1, and the software kit of each functional characteristic is decompressed to
Under the software catalogues of corresponding function characteristic, the data that are produced in each functional characteristic operational process are stored in corresponding function
Under the data catalogues of characteristic.The startup of initial version is, it is necessary to travel through under all functions characteristic catalogue under run catalogues
Active.cfg files, obtain primary the release directory of functional characteristic, the process initiation under primary the release directory are got up.
After the software kit of new version is developed, data processing equipment can obtain the software of new version from server
Wrap, the new version software bag of each functional characteristic is included in the software kit of the new version, the new version of each functional characteristic is soft
Part bag is independent software kit.
502nd, the upgrade command that user issues is received;
User can issue upgrade command according to demand, such as which functional characteristic can be specified to need to upgrade, data processing
Device receives the upgrade command, specifies the mark of the functional characteristic of upgrading in the upgrade command comprising user.
503rd, the mark of the functional characteristic of upgrading is specified to be created in the case where user specifies the functional characteristic of upgrading newly according to user
The release directory simultaneously specifies user the new version software bag of the functional characteristic of upgrading to be decompressed to the new version of corresponding function characteristic
Under catalogue;
For example, in step 502, user specifies functional characteristic 1,2,3 to need to upgrade, then data processing equipment is in functional characteristic
1st, 2, new version catalogues are created and specify user the new version software bag of the functional characteristic of upgrading to be decompressed to corresponding function for 3 time
Under the new version catalogue of characteristic, specifically can then it exist as shown in figure 8, feature1, feature2 and feature3 need to upgrade
The catalogue of new version catalogue version2 is added under feature1, feature2 and feature3, then by feature1,
The new version software bag of feature2 and feature3 is decompressed to feature1, feature2 and feature3 respectively
Under version2 catalogues.Default data after only being installed under each version2 catalogues at this time, in active.cfg files
Primary the release directory is still all version1.
The 504th, user is specified to data under the early version catalogue of the functional characteristic of upgrading and document upgrading to corresponding new
Under the release directory;
I.e. by the data in the data of the version1 of feature1 and document upgrading to the data of version2, so as to
When version2 is as primary version, can inherit and using version1 produce data, there is provided corresponding function.Similarly,
By in the data in the data of the version1 of feature2 and document upgrading to the data of version2, and by feature3
Version1 data in data and document upgrading in the data of version2.
505th, startup user specifies the data under the new version catalogue of the functional characteristic of upgrading and file completion upgrading;
In the specific implementation, data processing equipment realizes that the process of upgrading includes:
(1) process that user specifies the functional characteristic of upgrading is stopped;Such as stop feature1, feature2 and
The process of feature3.
(2) the primary version updating that user is specified to the functional characteristic of upgrading is the new version of corresponding function characteristic;Such as
The primary version of feature1 in active.cfg files is updated to version2 by version1, by active.cfg files
In the primary version of feature2 version2 is updated to by version1, and by feature3 in active.cfg files
Primary version is updated to version2 by version1.
(3) addition user specify upgrading functional characteristic process, such as addition feature1, feature2 and
The process of feature3;
(4) starting user specifies the process of the functional characteristic of upgrading to complete upgrading;Such as start feature1, feature2
And the process of feature3, since primary the release directory of each functional characteristic in active.cfg files has been changed,
The process of startup is all the process under new version.
506th, the functional characteristic to have upgraded sets the mark that retracts;
It is that feature1, feature2 and feature3 set the mark that retracts, as shown in figure 9, can in above example
To increase rollback.cfg files under feautre1, feature2, feature3 catalogue, the rollback version of the inside upgrades
Primary version in preceding active.cfg.
507th, the back-off instruction that user issues is received;
User can issue inquiry instruction to data processing equipment, have rollback version to inquire about which functional characteristic, above
In example, feautre1, feature2, feature3 can retract, the function that user can retract according to selection is actually needed
Characteristic, and back-off instruction is issued, the mark of the functional characteristic of rollback is specified in the back-off instruction comprising user.
508th, startup user specifies the data and file completion rollback under the early version catalogue of the functional characteristic of rollback;
In above example, if user, which specifies, needs rollback feature2, in the specific implementation, completing the process bag to retract
Include:
(1) stop the process that user specifies the functional characteristic of rollback, that is, stop the process of feature2;
(2) the primary version updating that user is specified to the functional characteristic of rollback is the old of the functional characteristic that user specifies rollback
Version, i.e., the version that retracts being updated to primary the release directory in active.cfg files in rollback.cfg, above
Example in, i.e., the primary version of feature2 in active.cfg files is updated to version1 by version2.
(3) addition user specifies the process of the functional characteristic of rollback, that is, adds the process of feature2;
(4) starting user specifies the process of the functional characteristic of rollback to complete to retract, that is, starts the process of feature2, due to
The primary version of feature2 has been updated to version1 in active.cfg files, so the process started at this time is
Process under version1 versions.
509th, remove the rollback mark of the functional characteristic to have retracted and/or remove the useless version of the functional characteristic to have retracted
Catalogue.
General Telecommunication Network Element only needs to support to retract once, and in above example, functional characteristic 2 has retracted, then may be used
To delete the rollback of functional characteristic 2 mark, such as the rollback.cfg of functional characteristic 2 can be deleted, and/or will
The version number that retracts of rollback.cfg is arranged to empty.Furthermore it is also possible to useless characteristic catalogue is removed, such as functional characteristic
2 version2 versions are useless, therefore can dispose.
In addition, it is necessary to illustrate, in above embodiment, merely illustrate and the functional characteristic that user specifies is risen
Level or the method to retract, in practical applications, can also utilize the above method to some functional characteristic patch installing or rollback,
Specific processing procedure see previous embodiment, and details are not described herein again.
In the present embodiment, the new version software bag of each functional characteristic is included in the software kit of acquired new version,
After receiving the upgrade command that user issues, new version catalogue is created in the case where user specifies the functional characteristic of upgrading and by user
Specify the new version software bag of the functional characteristic of upgrading to be decompressed under the new version catalogue of corresponding function characteristic, user is specified
Data and document upgrading under the early version catalogue of the functional characteristic of upgrading start user and specify liter to corresponding under new version catalogue
Data and file under the new version catalogue of the functional characteristic of level complete upgrading;Receive back-off instruction that user issues it
Afterwards, startup user specifies the data and file completion rollback under the early version catalogue of the functional characteristic of rollback.I.e. the present embodiment can
To carry out edition upgrading or rollback according to functional characteristic granularity, the functional characteristic of upgrading or rollback can be specified to rise to user
Level retracts, and the functional characteristic for not upgrading or retracting is unaffected, so as to meet the different demands of user.
In addition it should be noted that, device embodiment described above is only schematical, wherein described as separation
The unit of part description may or may not be it is physically separate, can be as the component that unit is shown or
It can not be physical location, you can with positioned at a place, or can also be distributed in multiple network unit.Can be according to reality
Border needs to select some or all of module therein to realize the purpose of this embodiment scheme.It is in addition, provided by the invention
In device embodiment attached drawing, the connection relation between module represents there is communication connection between them, specifically can be implemented as one
Bar or a plurality of communication bus or signal wire.Those of ordinary skill in the art are without creative efforts, you can with
Understand and implement.
Through the above description of the embodiments, it is apparent to those skilled in the art that the present invention can borrow
Software is helped to add the mode of required common hardware to realize, naturally it is also possible to include application-specific integrated circuit, specially by specialized hardware
Realized with CPU, private memory, special components and parts etc..Under normal circumstances, all functions of being completed by computer program can
Easily realized with corresponding hardware, moreover, for realizing that the particular hardware structure of same function can also be a variety of more
Sample, such as analog circuit, digital circuit or special circuit etc..But it is more for the purpose of the present invention in the case of software program it is real
It is now more preferably embodiment.Based on such understanding, technical scheme substantially in other words makes the prior art
The part of contribution can be embodied in the form of software product, which is stored in the storage medium that can be read
In, such as the floppy disk of computer, USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), random access memory
Device (RAM, Random Access Memory), magnetic disc or CD etc., including some instructions are with so that a computer is set
Standby (can be personal computer, server, or network equipment etc.) performs the method described in each embodiment of the present invention.
A kind of data processing method and device provided above the embodiment of the present invention is described in detail, for this
The those skilled in the art in field, according to the thought of the embodiment of the present invention, have change in specific embodiments and applications
Become part, therefore, this specification content should not be construed as limiting the invention.
Claims (10)
- A kind of 1. data processing equipment, it is characterised in that including:Acquiring unit, for obtaining the software kit of new version, the new of each functional characteristic is included in the software kit of the new version Version software bag;Wherein, the new version software bag of each functional characteristic is independent software kit;If the first functional characteristic relies on the Two functional characteristics are then included in the software kit of first functional characteristic, it is necessary to call the library file of second functional characteristic The library file of second functional characteristic;If the first functional characteristic relies on the second functional characteristic, it is necessary to call second function The service that characteristic provides, then the external interface comprising second functional characteristic is literary in the software kit of first functional characteristic Part;Receiving unit, the upgrade command issued for receiving user, specifies upgrading in the upgrade command comprising the user The mark of functional characteristic;Creating unit, for being specified the mark of functional characteristic of upgrading to specify in the user function of upgrading according to the user New version catalogue is created under characteristic and specifies the user new version software bag of the functional characteristic of upgrading to be decompressed to correspondence Under the new version catalogue of functional characteristic;Processing unit, for the user is specified upgrading functional characteristic early version catalogue under data and document upgrading arrive Under corresponding new version catalogue;Upgrade unit, for start the user specify upgrading functional characteristic new version catalogue under data and file complete Upgrading.
- 2. device as claimed in claim 1, it is characterised in that the upgrade unit is specifically used for:Stop the process that the user specifies the functional characteristic of upgrading;The primary version updating that the user is specified to the functional characteristic of upgrading is the new version of corresponding function characteristic;Add the process that the user specifies the functional characteristic of upgrading;Starting the user specifies the process of the functional characteristic of upgrading to complete upgrading.
- 3. device as claimed in claim 1 or 2, it is characterised in that described device further includes:Setting unit, for setting the mark that retracts for the functional characteristic that has upgraded so that the user inquires about;The receiving unit is additionally operable to, and receives the back-off instruction that the user issues, the user is included in the back-off instruction Specify the mark of the functional characteristic to retract;Described device further includes:Rollback unit, for start the user specify rollback functional characteristic early version catalogue under data and file complete Retract.
- 4. device as claimed in claim 3, it is characterised in that the rollback unit is specifically used for:Stop the process that the user specifies the functional characteristic of rollback;The primary version updating that the user is specified to the functional characteristic of rollback is the functional characteristic that the user specifies rollback Early version;Add the process that the user specifies the functional characteristic of rollback;Starting the user specifies the process of the functional characteristic of rollback to complete to retract.
- 5. device as claimed in claim 4, it is characterised in that described device further includes:Clearing cell, the functional characteristic to have retracted described in mark and/or removing that retracts of the functional characteristic to have retracted for removing Useless the release directory.
- A kind of 6. data processing method, it is characterised in that including:The software kit of new version is obtained, the new version software bag of each functional characteristic is included in the software kit of the new version;Its In, the new version software bag of each functional characteristic is independent software kit;If the first functional characteristic relies on the second functional characteristic, need Call the library file of second functional characteristic, then it is special comprising second function in the software kit of first functional characteristic The library file of property;If the first functional characteristic relies on the second functional characteristic, it is necessary to call the service that second functional characteristic provides, The external interface file of second functional characteristic is then included in the software kit of first functional characteristic;The upgrade command that user issues is received, specifies the mark of the functional characteristic of upgrading in the upgrade command comprising the user Know;The mark of the functional characteristic of upgrading is specified to be created in the case where the user specifies the functional characteristic of upgrading newly according to the user The release directory simultaneously specifies the user new version software bag of the functional characteristic of upgrading to be decompressed to the new of corresponding function characteristic Under the release directory;The user is specified to data under the early version catalogue of the functional characteristic of upgrading and document upgrading to corresponding new version Under catalogue;Start the user specify upgrading functional characteristic new version catalogue under data and file complete upgrading.
- 7. method as claimed in claim 6, it is characterised in that the startup user specifies the new of the functional characteristic of upgrading Data and file under the release directory, which complete upgrading, to be included:Stop the process that the user specifies the functional characteristic of upgrading;The primary version updating that the user is specified to the functional characteristic of upgrading is the new version of corresponding function characteristic;Add the process that the user specifies the functional characteristic of upgrading;Starting the user specifies the process of the functional characteristic of upgrading to complete upgrading.
- 8. method as claimed in claims 6 or 7, it is characterised in that the method further includes:Functional characteristic to have upgraded sets the mark that retracts so that the user inquires about;Receive the back-off instruction that the user issues, specify the functional characteristic of rollback in the back-off instruction comprising the user Mark;Start the user specify rollback functional characteristic early version catalogue under data and file complete retract.
- 9. method as claimed in claim 8, it is characterised in that the startup user specifies the old of the functional characteristic of rollback Data and file under the release directory, which complete rollback, to be included:Stop the process that the user specifies the functional characteristic of rollback;The primary version updating that the user is specified to the functional characteristic of rollback is the functional characteristic that the user specifies rollback Early version;Add the process that the user specifies the functional characteristic of rollback;Starting the user specifies the process of the functional characteristic of rollback to complete to retract.
- 10. method as claimed in claim 9, it is characterised in that the method further includes:Remove the useless version mesh of the functional characteristic to have retracted described in mark and/or removing that retracts of the functional characteristic to have retracted Record.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410635774.1A CN104461612B (en) | 2014-11-12 | 2014-11-12 | A kind of data processing method and device |
PCT/CN2015/078953 WO2016074460A1 (en) | 2014-11-12 | 2015-05-14 | Data processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410635774.1A CN104461612B (en) | 2014-11-12 | 2014-11-12 | A kind of data processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104461612A CN104461612A (en) | 2015-03-25 |
CN104461612B true CN104461612B (en) | 2018-05-04 |
Family
ID=52907717
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410635774.1A Active CN104461612B (en) | 2014-11-12 | 2014-11-12 | A kind of data processing method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104461612B (en) |
WO (1) | WO2016074460A1 (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104461612B (en) * | 2014-11-12 | 2018-05-04 | 上海华为技术有限公司 | A kind of data processing method and device |
CN105389172B (en) * | 2015-12-07 | 2018-09-14 | 深圳市金锐显数码科技有限公司 | Application program updating method and apparatus |
CN109582327A (en) * | 2017-09-29 | 2019-04-05 | 北京国双科技有限公司 | Update method and device |
CN109240737A (en) * | 2018-08-22 | 2019-01-18 | 杭州数澜科技有限公司 | A kind of method and system of the packing and issuing in big data platform |
CN114265605A (en) * | 2021-12-27 | 2022-04-01 | 中国建设银行股份有限公司 | Version rollback method and device for functional component of business system |
CN114398056A (en) * | 2021-12-31 | 2022-04-26 | 西安歌尔泰克电子科技有限公司 | Customized upgrading method and device and computer readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1710539A (en) * | 2004-06-16 | 2005-12-21 | 华为技术有限公司 | Software update method |
CN1913692A (en) * | 2006-08-16 | 2007-02-14 | 华为技术有限公司 | Method for loading equipment software according to allocation |
CN101383724A (en) * | 2008-08-29 | 2009-03-11 | 上海华为技术有限公司 | Network element upgrade method and operation and maintenance unit, single board and network element upgrade system |
CN102193805A (en) * | 2010-03-11 | 2011-09-21 | 华为技术有限公司 | Device and method for upgrading software patches |
CN102968298A (en) * | 2012-10-31 | 2013-03-13 | 山东浪潮齐鲁软件产业股份有限公司 | Software product construction method |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100544399C (en) * | 2006-12-26 | 2009-09-23 | 深圳市同洲电子股份有限公司 | Method and device for acquiring application data of a set-top box |
CN101778153A (en) * | 2009-12-31 | 2010-07-14 | 康佳集团股份有限公司 | Method and device for configuring functions of mobile phone |
CN102081532B (en) * | 2010-10-15 | 2012-12-19 | 福建新大陆通信科技股份有限公司 | Method for dynamically upgrading functions of set top box |
US9098629B2 (en) * | 2010-12-01 | 2015-08-04 | Sap Se | System and method for reversibility categories and characteristics of computer application functions |
CN102135895B (en) * | 2010-12-29 | 2013-08-28 | 华为软件技术有限公司 | System upgrading method and system |
US9552195B2 (en) * | 2013-03-08 | 2017-01-24 | Facebook, Inc. | Enlarging control regions to optimize script code compilation |
CN103150193A (en) * | 2013-04-10 | 2013-06-12 | 天津三星光电子有限公司 | Software upgrading method for mobile terminal |
CN104035799A (en) * | 2014-06-19 | 2014-09-10 | 浪潮电子信息产业股份有限公司 | Method for customizable upgrading of software |
CN104461612B (en) * | 2014-11-12 | 2018-05-04 | 上海华为技术有限公司 | A kind of data processing method and device |
-
2014
- 2014-11-12 CN CN201410635774.1A patent/CN104461612B/en active Active
-
2015
- 2015-05-14 WO PCT/CN2015/078953 patent/WO2016074460A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1710539A (en) * | 2004-06-16 | 2005-12-21 | 华为技术有限公司 | Software update method |
CN1913692A (en) * | 2006-08-16 | 2007-02-14 | 华为技术有限公司 | Method for loading equipment software according to allocation |
CN101383724A (en) * | 2008-08-29 | 2009-03-11 | 上海华为技术有限公司 | Network element upgrade method and operation and maintenance unit, single board and network element upgrade system |
CN102193805A (en) * | 2010-03-11 | 2011-09-21 | 华为技术有限公司 | Device and method for upgrading software patches |
CN102968298A (en) * | 2012-10-31 | 2013-03-13 | 山东浪潮齐鲁软件产业股份有限公司 | Software product construction method |
Also Published As
Publication number | Publication date |
---|---|
WO2016074460A1 (en) | 2016-05-19 |
CN104461612A (en) | 2015-03-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104461612B (en) | A kind of data processing method and device | |
CN102521031B (en) | Management method of mobile terminal preset application program and mobile terminal | |
EP2786249B1 (en) | Creation or installation of a disk image for a target device having one of a plurality of hardware platforms | |
EP2786246B1 (en) | Deployment and updating of applications and drivers on a client device using and extensible markup language (xml) configuration file | |
EP2786248B1 (en) | Automatic updating of an application or a driver on a client device using a deployment configuration file | |
CN102955702B (en) | A kind of software is installed and upgrade method and device | |
US20230393840A1 (en) | File update method and apparatus, device and storage medium | |
CN104182255A (en) | Method and terminal for upgrading library files of system application | |
WO2013081680A2 (en) | Deployment of a driver or an application on a client device having a write-filter | |
CN104104708A (en) | Access method of multiple cloud storage spaces and electronic communication device | |
CN104375849A (en) | Core loading method and device | |
US11630660B2 (en) | Firmware management | |
CN109002330A (en) | A kind of method, device and equipment identifying UEFI OS startup item | |
US8769521B2 (en) | Calendar aware adaptive patching of a computer program | |
CN113934437B (en) | Method, system and client cloud phone for installing applications on cloud phone | |
CA2860657C (en) | Installation engine and package format for parallelizable, reliable installations | |
CN118170431B (en) | Cross-operating system service migration method and device and electronic equipment | |
CN102122248A (en) | Method for managing wire clip software of communication equipment | |
CN106020935A (en) | Method for running openstack component service across versions | |
CN104809021B (en) | Management system and management method for multiple operation environment service | |
US11977559B2 (en) | Providing instant and distributed access to a source blob via copy-on-read blobs and link blobs | |
US11176089B2 (en) | Systems and methods for implementing dynamic file systems | |
US20150195177A1 (en) | Service management in appliance-based solutions | |
CN114047933B (en) | Method, device, equipment and medium for multi-open Android application | |
US20200073678A1 (en) | Systems and methods for operating system deployment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |