CN104461612A - Data processing method and device - Google Patents

Data processing method and device Download PDF

Info

Publication number
CN104461612A
CN104461612A CN201410635774.1A CN201410635774A CN104461612A CN 104461612 A CN104461612 A CN 104461612A CN 201410635774 A CN201410635774 A CN 201410635774A CN 104461612 A CN104461612 A CN 104461612A
Authority
CN
China
Prior art keywords
functional characteristic
upgrading
rollback
described user
redaction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410635774.1A
Other languages
Chinese (zh)
Other versions
CN104461612B (en
Inventor
朱湘毅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Shanghai Huawei Technologies Co Ltd
Original Assignee
Shanghai Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Huawei Technologies Co Ltd filed Critical Shanghai Huawei Technologies Co Ltd
Priority to CN201410635774.1A priority Critical patent/CN104461612B/en
Publication of CN104461612A publication Critical patent/CN104461612A/en
Priority to PCT/CN2015/078953 priority patent/WO2016074460A1/en
Application granted granted Critical
Publication of CN104461612B publication Critical patent/CN104461612B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/445Program 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 data processing method and device. The data processing method comprises the steps of obtaining a new-version software package, wherein the new-version software package includes various new-version software packages having different functional characteristics; receiving an update command issued by a user, wherein the update command includes identifications of the functional characteristics designated to be updated by the user; creating a new-version catalogue based on the functional characteristics designated to be updated by the user and uncompressing the new-version software packages having different functional characteristics designated to be updated by the user into the new-version catalogue corresponding to the functional characteristics; updating data and files in an old-version catalogue of the functional characteristics designated to be updated by the user into the corresponding new-version catalogue; starting the data and files in the new-version catalogue of the functional characteristics designated to be updated by the user to complete update. By means of the data processing method and device, the functional characteristics designated to be updated or backspaced by the user can be updated or backspaced so as to meet different demands of the user.

Description

A kind of data processing method and device
Technical field
The embodiment of the present invention relates to communication technical field, particularly relates to a kind of data processing method and device.
Background technology
A network element typically includes multiple functional characteristic, and the released version of network element is the complete or collected works of all functions characteristic, and the redaction of issue may have been carried out function to original part or all of characteristic and strengthened or defect amendment, or adds new characteristic etc.If user needs the current function or the existing defect of reparation network element that strengthen network element, then need the current version of network element to be upgraded to redaction.
Network element version generally integrally carries out upgrading or rollback by prior art, does not support that network element version being segmented again functional characteristic carries out upgrading or rollback.If namely user selects edition upgrading, then network element allomeric function is upgraded to redaction, does not support certain partial function characteristic of only upgrading; If need rollback after same customer upgrade, network element entirety can only be return back to the version before upgrading, can not select a rollback partial function characteristic, there is certain defect in this method.
Such as: some functional characteristic is stable, the function of the current operation version of this functional characteristic satisfies the demands, and does not need the function using these characteristics to strengthen in redaction, in order to avoid the function that redaction strengthens impacts the function that current version is stable; Again such as, the defect of some characteristic does not exist at this operator's use scenes, therefore without the need to upgrading version or patch repairs this characteristic.Namely when carrying out edition upgrading, to some functional characteristic sometimes operator do not wish upgrading, ites is desirable to keep stable running status, other functional characteristic needing to upgrade of only upgrading; Equally, if operator has upgraded after functional characteristic, existing defects when finding that some functional characteristic runs, need these characteristics of rollback, but the characteristic of other upgrading is no problem, does not wish characteristic all rollbacks of all upgradings, accomplish that rollback impact is minimum as far as possible, and prior art cannot meet this demand, therefore, be necessary to provide a kind of new method to solve the problem.
Summary of the invention
In view of this, embodiments provide a kind of data processing method and device, the functional characteristic of upgrading or rollback can be specified to upgrade or rollback, to meet the different demands of user to user.
First aspect, the data processing equipment that the embodiment of the present invention provides, comprising:
Acquiring unit, for obtaining the software package of redaction, comprises the new version software bag of each functional characteristic in the software package of described redaction;
Receiving element, for receiving the upgrade command that user issues, comprises the mark that described user specifies the functional characteristic of upgrading in described upgrade command;
Creating unit, creates redaction catalogue under described user specifies the functional characteristic of upgrading and under described user being specified the new version software bag of the functional characteristic of upgrading to be decompressed to the redaction catalogue of corresponding function characteristic for specifying being identified at of the functional characteristic of upgrading according to described user;
Processing unit, for described user is specified the functional characteristic of upgrading early version catalogue under data and document upgrading under corresponding redaction catalogue;
Upgrade unit, specifies the data under the redaction catalogue of the functional characteristic of upgrading and file to complete upgrading for starting described user.
In conjunction with first aspect, in the first embodiment of first aspect, described upgrade unit specifically for:
Described user is stopped to specify the process of the functional characteristic of upgrading;
The primary version updating of the functional characteristic of upgrading described user is specified to be the redaction of corresponding function characteristic;
Add the process that described user specifies the functional characteristic of upgrading;
Starting described user specifies the process of the functional characteristic of upgrading to complete upgrading.
In conjunction with first aspect, in the second embodiment of first aspect, if the first functional characteristic relies on the second functional characteristic, need the library file calling described second functional characteristic, then comprise the library file of described second functional characteristic in the software package of described first functional characteristic.
In conjunction with first aspect, in the third embodiment of first aspect, if the first functional characteristic relies on the second functional characteristic, need to call the service that described second functional characteristic provides, then comprise the external interface file of described second functional characteristic in the software package of described first functional characteristic.
In conjunction with first aspect, or the first embodiment of first aspect, or the second embodiment of first aspect, or the third embodiment of first aspect, in the 4th kind of embodiment of first aspect, described device also comprises:
Setting unit, arranges rollback mark for the functional characteristic for having upgraded and inquires about for described user;
Described receiving element also for, receive the back-off instruction that described user issues, in described back-off instruction, comprise the mark that described user specifies the functional characteristic of rollback;
Described device also comprises:
Rollback unit, specifies the data under the early version catalogue of the functional characteristic of rollback and file to complete rollback for starting described user.
In conjunction with the 4th kind of embodiment of first aspect, in the 5th kind of embodiment of first aspect, described rollback unit specifically for:
Described user is stopped to specify the process of the functional characteristic of rollback;
The primary version updating of the functional characteristic of rollback described user is specified to be the early version that described user specifies the functional characteristic of rollback;
Add the process that described user specifies the functional characteristic of rollback;
Starting described user specifies the process of the functional characteristic of rollback to complete rollback.
In conjunction with the 5th kind of embodiment of first aspect, in the 6th kind of embodiment of first aspect, described device also comprises:
Clearing cell, for useless the release directory of the rollback mark and/or the functional characteristic of rollback described in removing of removing the functional characteristic of rollback.
Second aspect, the data processing method that the embodiment of the present invention provides, comprising:
Obtain the software package of redaction, in the software package of described redaction, comprise the new version software bag of each functional characteristic;
Receive the upgrade command that user issues, in described upgrade command, comprise the mark that described user specifies the functional characteristic of upgrading;
Specify being identified at of the functional characteristic of upgrading to create redaction catalogue under described user specifies the functional characteristic of upgrading and under described user being specified the new version software bag of the functional characteristic of upgrading to be decompressed to the redaction catalogue of corresponding function characteristic according to described user;
Described user specified data under the early version catalogue of the functional characteristic of upgrading and document upgrading under corresponding redaction catalogue;
Starting described user specifies the data under the redaction catalogue of the functional characteristic of upgrading and file to complete upgrading.
In conjunction with second aspect, in the first embodiment of second aspect, the described user of described startup specifies the data under the redaction catalogue of the functional characteristic of upgrading and file to complete upgrading to comprise:
Described user is stopped to specify the process of the functional characteristic of upgrading;
The primary version updating of the functional characteristic of upgrading described user is specified to be the redaction of corresponding function characteristic;
Add the process that described user specifies the functional characteristic of upgrading;
Starting described user specifies the process of the functional characteristic of upgrading to complete upgrading.
In conjunction with second aspect, in the second embodiment of second aspect, if the first functional characteristic relies on the second functional characteristic, need the library file calling described second functional characteristic, then comprise the library file of described second functional characteristic in the software package of described first functional characteristic.
In conjunction with second aspect, in the third embodiment of second aspect, if the first functional characteristic relies on the second functional characteristic, need to call the service that described second functional characteristic provides, then comprise the external interface file of described second functional characteristic in the software package of described first functional characteristic.
In conjunction with second aspect, or the first embodiment of second aspect, or the second embodiment of second aspect, or the third embodiment of second aspect, in the 4th kind of embodiment of second aspect, described method also comprises:
Inquire about for described user for the functional characteristic of having upgraded arranges rollback mark;
Receive the back-off instruction that described user issues, in described back-off instruction, comprise the mark that described user specifies the functional characteristic of rollback;
Starting described user specifies the data under the early version catalogue of the functional characteristic of rollback and file to complete rollback.
In conjunction with the 4th kind of embodiment of second aspect, in the 5th kind of embodiment of second aspect, the described user of described startup specifies the data under the early version catalogue of the functional characteristic of rollback and file to complete rollback to comprise:
Described user is stopped to specify the process of the functional characteristic of rollback;
The primary version updating of the functional characteristic of rollback described user is specified to be the early version that described user specifies the functional characteristic of rollback;
Add the process that described user specifies the functional characteristic of rollback;
Starting described user specifies the process of the functional characteristic of rollback to complete rollback.
In conjunction with the 5th kind of embodiment of second aspect, in the 6th kind of embodiment of second aspect, described method also comprises:
Remove the rollback mark of the functional characteristic of rollback and/or useless the release directory of the functional characteristic of rollback described in removing.
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 bag of each functional characteristic is comprised in the software package of the redaction obtained, after receiving the upgrade that user issues, create redaction catalogue specify the functional characteristic of upgrading user under and under user being specified the new version software bag of the functional characteristic of upgrading to be decompressed to the redaction catalogue of corresponding function characteristic, user specified the data under the early version catalogue of the functional characteristic of upgrading and document upgrading under corresponding redaction catalogue; Startup user specifies the data under the redaction catalogue of the functional characteristic of upgrading and file to complete upgrading.Namely the embodiment of the present invention can be upgraded to the functional characteristic that user specifies, and the functional characteristic of not upgrading is unaffected, thus meets the different demands of user.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is data processing equipment of the present invention embodiment schematic diagram;
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 of the present invention embodiment schematic diagram;
Fig. 5 is another embodiment schematic diagram of data processing method of the present invention;
Fig. 6 is the formation one embodiment schematic diagram of network element software bag of the present invention;
Embodiment schematic diagram when Fig. 7 is network element software bag initial version of the present invention installation;
Embodiment schematic diagram when Fig. 8 is network element software bag of the present invention renewal;
Embodiment schematic diagram when Fig. 9 is network element software bag rollback of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Embodiments provide a kind of data processing method and device, the functional characteristic of upgrading or rollback can be specified to upgrade or rollback, to meet the different demands of user to user.
Refer to Fig. 1, Fig. 1 is data processing equipment of the present invention embodiment schematic diagram, and the data processing equipment 100 of the present embodiment comprises:
Acquiring unit 101, for obtaining the software package of redaction, comprises the new version software bag of each functional characteristic in the software package of described redaction;
Receiving element 102, for receiving the upgrade command that user issues, comprises the mark that described user specifies the functional characteristic of upgrading in described upgrade command;
Creating unit 103, creates redaction catalogue under described user specifies the functional characteristic of upgrading and under described user being specified the new version software bag of the functional characteristic of upgrading to be decompressed to the redaction catalogue of corresponding function characteristic for specifying being identified at of the functional characteristic of upgrading according to described user;
Processing unit 104, for described user is specified the functional characteristic of upgrading early version catalogue under data and document upgrading under corresponding redaction catalogue;
Upgrade unit 105, specifies the data under the redaction catalogue of the functional characteristic of upgrading and file to complete upgrading for starting described user.
In specific implementation, when network element software is surrounded by redaction issue, acquiring unit 101 obtains the software package of redaction, comprises the new version software bag of each functional characteristic in the software package of described redaction, and the new version software bag of each functional characteristic is independently software package.User can select need the functional characteristic of upgrading and issue upgrade command according to demand, and receiving element 102 receives described upgrade command, comprises the mark that user specifies the functional characteristic of upgrading in described upgrade command.
Being identified under user specifies the functional characteristic of upgrading of functional characteristic comprised in the upgrade command that creating unit 103 receives according to receiving element 102 creates redaction catalogue, and under user being specified the new version software bag of the functional characteristic of upgrading to be decompressed to the redaction catalogue of corresponding function characteristic, now only has the default data after installation under redaction catalogue, user specifies data under the early version catalogue of the functional characteristic of upgrading and document upgrading under corresponding redaction catalogue by processing unit 104, with the data making redaction to inherit and to use early version to produce, corresponding function is provided, upgrade unit 105 starts user and specifies the data under the redaction catalogue of the functional characteristic of upgrading and file to complete upgrading.
In the present embodiment, the new version software bag of each functional characteristic is comprised in the software package of the redaction that acquiring unit obtains, after receiving element receives the upgrade that user issues, creating unit creates redaction catalogue under user specifies the functional characteristic of upgrading and under user being specified the new version software bag of the functional characteristic of upgrading to be decompressed to the redaction catalogue of corresponding function characteristic, user specifies the data under the early version catalogue of the functional characteristic of upgrading and document upgrading under corresponding redaction catalogue by processing unit; Upgrade unit startup user specifies the data under the redaction catalogue of the functional characteristic of upgrading and file to complete upgrading.Namely the present embodiment can carry out edition upgrading according to functional characteristic granularity, and specify the functional characteristic of upgrading to upgrade to user, the functional characteristic of not upgrading is unaffected, thus meets the different demands of user.
For ease of understanding, introduce data processing equipment of the present invention specific embodiment below, refer to Fig. 2, the data processing equipment 200 of the present embodiment comprises:
Acquiring unit 201, for obtaining the software package of redaction, comprises the new version software bag of each functional characteristic in the software package of described redaction;
Receiving element 202, for receiving the upgrade command that user issues, comprises the mark that described user specifies the functional characteristic of upgrading in described upgrade command;
Creating unit 203, creates redaction catalogue under described user specifies the functional characteristic of upgrading and under described user being specified the new version software bag of the functional characteristic of upgrading to be decompressed to the redaction catalogue of corresponding function characteristic for specifying being identified at of the functional characteristic of upgrading according to described user;
Processing unit 204, for described user is specified the functional characteristic of upgrading early version catalogue under data and document upgrading under corresponding redaction catalogue;
Upgrade unit 205, specifies the data under the redaction catalogue of the functional characteristic of upgrading and file to complete upgrading for starting described user;
Setting unit 206, arranges rollback mark for the functional characteristic for having upgraded and inquires about for described user;
Receiving element 201 also for, receive the back-off instruction that described user issues, in described back-off instruction, comprise the mark that described user specifies the functional characteristic of rollback;
Data processing equipment 200 also comprises:
Rollback unit 207, specifies the data under the early version catalogue of the functional characteristic of rollback and file to complete rollback for starting described user;
Clearing cell 208, for useless the release directory of the rollback mark and/or the functional characteristic of rollback described in removing of removing the functional characteristic of rollback.
In specific implementation, the network element software bag of each version is compatible, and comprise the software package of each functional characteristic in network element software bag, the software package of each functional characteristic independently exists.If Existence dependency relationship between different functional characteristics, then solve when software development.If such as the first functional characteristic relies on the second functional characteristic, need the library file calling the second functional characteristic, then the library file of the second functional characteristic is bundled in the software package of the first functional characteristic; If the first functional characteristic relies on the second functional characteristic, need to call the service that the second functional characteristic provides, then the external interface file of the second functional characteristic is bundled in the software package of the first functional characteristic, makes the software package of each functional characteristic independently to exist like this.After network element software bag initial version is installed, under operation catalogue, each functional characteristic has a release directory, i.e. early version catalogue, and primary version time initial is early version.
After the software package developing redaction, acquiring unit 201 can obtain the software package of redaction from server, comprise the new version software bag of each functional characteristic in the software package of described redaction, the new version software bag of each functional characteristic is independently software package.
User can issue upgrade command according to demand, and which functional characteristic such as can be specified to need upgrading, and receiving element 202 receives described upgrade command, comprises the mark that user specifies the functional characteristic of upgrading in described upgrade command.
The mark of the functional characteristic comprised in the upgrade command that creating unit 203 receives according to receiving element 202, redaction catalogue is created and under user being specified the new version software bag of the functional characteristic of upgrading to be decompressed to the redaction catalogue of corresponding function characteristic specify the functional characteristic of upgrading user under, now only have the default data after installation under redaction catalogue, primary version order remains early version.User specifies data under the early version catalogue of the functional characteristic of upgrading and document upgrading under corresponding redaction catalogue by processing unit 204, so that when redaction is as primary version, the data that can inherit and use early version to produce, provide corresponding function.
Upgrade unit 205 starts user and specifies the data under the redaction catalogue of the functional characteristic of upgrading and file to complete upgrading.Particularly, upgrade unit 205 needs first to stop user specifying the process of the functional characteristic of upgrading, the primary version updating of the functional characteristic of upgrading user is specified to be the redaction of corresponding function characteristic, so add the process that user specifies the functional characteristic of upgrading mutually, finally start user and specify 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 of having upgraded arranges rollback mark.User can issue query statement to data processing equipment, has rollback version to inquire about which functional characteristic.When needs carry out rollback to certain functional characteristic, user can issue back-off instruction, receiving element 201 receives described back-off instruction, comprise the mark that user specifies the functional characteristic of rollback in described back-off instruction, rollback unit 207 starts user and specifies the data under the early version catalogue of the functional characteristic of rollback and file to complete rollback.
Particularly, rollback unit 207 can first stop user specifying the process of the functional characteristic of rollback, the primary version updating of the functional characteristic of rollback user is specified to be the early version that user specifies the functional characteristic of rollback, then add the process that user specifies the functional characteristic of rollback, finally start user and specify the process of the functional characteristic of rollback to complete rollback.
General Telecommunication Network Element only needs to support rollback once, therefore, after rollback unit 207 completes rollback, clearing cell 208 can be removed the rollback mark of the functional characteristic of rollback and/or remove useless the release directory of functional characteristic of rollback, to save storage resources.
In the present embodiment, the new version software bag of each functional characteristic is comprised in the software package of the redaction that acquiring unit obtains, after receiving element receives the upgrade that user issues, creating unit creates redaction catalogue and under user being specified the new version software bag of the functional characteristic of upgrading to be decompressed to the redaction catalogue of corresponding function characteristic under user specifies the functional characteristic of upgrading, user specifies the data under the early version catalogue of the functional characteristic of upgrading and document upgrading under corresponding redaction catalogue by processing unit, upgrade unit startup user specifies the data under the redaction catalogue of the functional characteristic of upgrading and file to complete upgrading, after receiving element receives the back-off instruction that user issues, rollback unit starting user specifies the data under the early version catalogue of the functional characteristic of rollback and file to complete rollback.Namely the present embodiment can carry out edition upgrading or rollback according to functional characteristic granularity, upgrading or the functional characteristic of rollback can be specified to upgrade or rollback to user, do not upgrade or the functional characteristic of rollback unaffected, thus meet the different demands of user.
Refer to Fig. 3, another embodiment of data processing equipment of the present invention comprises transceiver 301 and processor 302, wherein:
Transceiver 301, for obtaining the software package of redaction, comprises the new version software bag of each functional characteristic in the software package of described redaction; Receive the upgrade command that user issues, in described upgrade command, comprise the mark that described user specifies the functional characteristic of upgrading;
Processor 302 for, specify being identified at of the functional characteristic of upgrading to create redaction catalogue under described user specifies the functional characteristic of upgrading and under described user being specified the new version software bag of the functional characteristic of upgrading to be decompressed to the redaction catalogue of corresponding function characteristic according to described user; Described user specified data under the early version catalogue of the functional characteristic of upgrading and document upgrading under corresponding redaction catalogue; Starting described user specifies the data under the redaction catalogue of the functional characteristic of upgrading and file to complete upgrading.
In addition, the data processing equipment 300 of the present embodiment, also for performing other functions of aforementioned means embodiment, repeats no more herein.
Introduce data processing method provided by the invention below, in the present invention, the network element software bag of each version is compatible, and comprise the software package of each functional characteristic in network element software bag, the software package of each functional characteristic independently exists.Such as the functional characteristic in network element can be divided into one or more basic function characteristic, one or more business function characteristic.Basic function characteristic provides basic function for network element, such as provides the unified function such as the external communication of network element, authentication, file transfer, Operation and Maintenance.Business function characteristic provides business function, such as BTS management, cell management, mobile management etc. for network element, and each functional characteristic arranges an independently software package.When software package is initially installed, the software package of each functional characteristic in software package is installed.
Refer to Fig. 4, data processing method of the present invention embodiment comprises:
401, the software package of redaction is obtained;
When network element software be surrounded by redaction issue time, data processing equipment obtains the software package of redaction, comprises the new version software bag of each functional characteristic in the software package of described redaction, and the new version software bag of each functional characteristic is independently software package.
402, the upgrade command that user issues is received;
User can select need the functional characteristic of upgrading and issue upgrade command according to demand, comprises the mark that user specifies the functional characteristic of upgrading in described upgrade command.
403, specify being identified at of the functional characteristic of upgrading to create redaction catalogue under user specifies the functional characteristic of upgrading and under user being specified the new version software bag of the functional characteristic of upgrading to be decompressed to the redaction catalogue of corresponding function characteristic according to user;
Now only has the default data after installation under redaction catalogue.
404, user specified data under the early version catalogue of the functional characteristic of upgrading and document upgrading under corresponding redaction catalogue;
405, starting user specifies the data under the redaction catalogue of the functional characteristic of upgrading and file to complete upgrading.
In the present embodiment, the new version software bag of each functional characteristic is comprised in the software package of the redaction obtained, after receiving the upgrade that user issues, create redaction catalogue specify the functional characteristic of upgrading user under and under user being specified the new version software bag of the functional characteristic of upgrading to be decompressed to the redaction catalogue of corresponding function characteristic, user specified the data under the early version catalogue of the functional characteristic of upgrading and document upgrading under corresponding redaction catalogue; Startup user specifies the data under the redaction catalogue of the functional characteristic of upgrading and file to complete upgrading.Namely the present embodiment can carry out edition upgrading according to functional characteristic granularity, and the functional characteristic of upgrading can be specified to upgrade to user, the functional characteristic of not upgrading is unaffected, thus meets the different demands of user.
For ease of understanding, introduce data processing method of the present invention with a specific embodiment below, refer to Fig. 5, the method for the present embodiment comprises:
501, the software package of redaction is obtained;
Before the software package obtaining redaction, first introduce the formation situation of network element software bag of the present invention, specifically can consult Fig. 6, comprise the software package of each functional characteristic in network element software bag, the software package of each functional characteristic independently exists.If Existence dependency relationship between different functional characteristics, then solve when software development.If such as the first functional characteristic relies on the second functional characteristic, need the library file calling the second functional characteristic, then the library file of the second functional characteristic is bundled in the software package of the first functional characteristic; If the first functional characteristic relies on the second functional characteristic, need to call the service that the second functional characteristic provides, then the external interface file of the second functional characteristic is bundled in the software package of the first functional characteristic, makes the software package of each functional characteristic independently to exist like this.The installation function of network element software bag can be provided by install program, and start-up performance can be provided by start program.
When network element software bag initial version is installed, under operation catalogue, each functional characteristic has a release directory.As shown in Figure 7, in active.cfg file, house the primary version that each functional characteristic is current, after network element software bag initial version is installed, the primary version of each functional characteristic is version1, under the software package of each functional characteristic is decompressed to the software catalogue of corresponding function characteristic, the data produced in each functional characteristic operational process, under being stored in the data catalogue of corresponding function characteristic.The startup of initial version, needs the active.cfg file under all functions characteristic catalogue under traversal run catalogue, obtains primary the release directory of functional characteristic, got up by the process initiation under primary the release directory.
After the software package developing redaction, data processing equipment can obtain the software package of redaction from server, comprise the new version software bag of each functional characteristic in the software package of described redaction, the new version software bag of each functional characteristic is independently software package.
502, the upgrade command that user issues is received;
User can issue upgrade command according to demand, and which functional characteristic such as can be specified to need upgrading, and data processing equipment receives described upgrade command, comprises the mark that user specifies the functional characteristic of upgrading in described upgrade command.
503, specify being identified at of the functional characteristic of upgrading to create redaction catalogue under user specifies the functional characteristic of upgrading and under user being specified the new version software bag of the functional characteristic of upgrading to be decompressed to the redaction catalogue of corresponding function characteristic according to user;
Such as, in step 502, user's appointed function characteristic 1, 2, 3 need upgrading, then data processing equipment is at functional characteristic 1, 2, create redaction catalogues under user being specified the new version software bag of the functional characteristic of upgrading to be decompressed to the redaction catalogue of corresponding function characteristic 3 times, specifically can be as shown in Figure 8, feature1, feature2 and feature3 needs upgrading, then at feature1, the catalogue of redaction catalogue version2 is added under feature2 and feature3, then by feature1, the new version software bag of feature2 and feature3 is decompressed to feature1 respectively, under the version2 catalogue of feature2 and feature3.Now only have the default data after installation under each version2 catalogue, the primary the release directory in active.cfg file is still all version1.
504, user specified data under the early version catalogue of the functional characteristic of upgrading and document upgrading under corresponding redaction catalogue;
By the data in the data of the version1 of feature1 and document upgrading in the data of version2, so that when version2 is as primary version, the data that can inherit and use version1 to produce, provide corresponding function.In like manner, by the data in the data of the version1 of feature2 and document upgrading in the data of version2, and by the data in the data of the version1 of feature3 and document upgrading in the data of version2.
505, starting user specifies the data under the redaction catalogue of the functional characteristic of upgrading and file to complete upgrading;
In specific implementation, the process that data processing equipment realizes upgrading comprises:
(1) user is stopped to specify the process of the functional characteristic of upgrading; Such as stop the process of feature1, feature2 and feature3.
(2) the primary version updating of the functional characteristic of upgrading user is specified to be the redaction of corresponding function characteristic; Such as the primary version of feature1 in active.cfg file is updated to version2 by version1, the primary version of feature2 in active.cfg file is updated to version2 by version1, and the primary version of feature3 in active.cfg file is updated to version2 by version1.
(3) add the process that user specifies the functional characteristic of upgrading, such as, add the process of feature1, feature2 and feature3;
(4) starting user specifies the process of the functional characteristic of upgrading to complete upgrading; Such as start the process of feature1, feature2 and feature3, because primary the release directory of each functional characteristic in active.cfg file is revised, the process therefore started is all the process under redaction.
506, the functional characteristic for having upgraded arranges rollback mark;
In example above, be feature1, feature2 and feature3 and rollback mark is set, as shown in Figure 9, rollback.cfg file can be increased under feautre1, feature2, feature3 catalogue, the primary version that namely the rollback version of the inside upgrades in front active.cfg.
507, the back-off instruction that user issues is received;
User can issue query statement to data processing equipment, rollback version is had to inquire about which functional characteristic, in example above, feautre1, feature2, feature3 can rollbacks, user can select the functional characteristic of rollback according to actual needs, and issue back-off instruction, comprise the mark that user specifies the functional characteristic of rollback in described back-off instruction.
508, starting user specifies the data under the early version catalogue of the functional characteristic of rollback and file to complete rollback;
In example above, if user specifies need rollback feature2, then, in specific implementation, the process completing rollback comprises:
(1) stop user specifying the process of the functional characteristic of rollback, namely stop the process of feature2;
(2) the primary version updating of the functional characteristic of rollback user is specified to be the early version that user specifies the functional characteristic of rollback, by the primary the release directory in active.cfg file be updated in rollback.cfg can rollback version, in example above, be updated to version1 by the primary version of feature2 in active.cfg file by version2.
(3) add the process that user specifies the functional characteristic of rollback, namely add the process of feature2;
(4) starting user specifies the process of the functional characteristic of rollback to complete rollback, namely the process of feature2 is started, because in active.cfg file, the primary version of feature2 is updated to version1, so the process now started is the process under version1 version.
509, useless the release directory of the rollback mark removing the functional characteristic of rollback and/or the functional characteristic removing rollback.
General Telecommunication Network Element only needs to support rollback once, in example above, functional characteristic 2 rollback, then can delete function characteristic 2 rollback mark, such as can the rollback.cfg of delete function characteristic 2, and/or rollback.cfg rollback version number can be set to sky.In addition, can also remove useless characteristic catalogue, the version2 version of such as functional characteristic 2 is useless, therefore can dispose.
In addition, it should be noted that, in embodiment above, merely illustrate the functional characteristic of specifying user to upgrade or the method for rollback, in actual applications, said method can also be utilized certain functional characteristic patch installing or rollback, and concrete processing procedure can consult previous embodiment, repeats no more herein.
In the present embodiment, the new version software bag of each functional characteristic is comprised in the software package of the redaction obtained, after receiving the upgrade that user issues, redaction catalogue is created and under user being specified the new version software bag of the functional characteristic of upgrading to be decompressed to the redaction catalogue of corresponding function characteristic specify the functional characteristic of upgrading user under, user specified the data under the early version catalogue of the functional characteristic of upgrading and document upgrading under corresponding redaction catalogue, startup user specifies the data under the redaction catalogue of the functional characteristic of upgrading and file to complete upgrading, after receiving the back-off instruction that user issues, start user and specify the data under the early version catalogue of the functional characteristic of rollback and file to complete rollback.Namely the present embodiment can carry out edition upgrading or rollback according to functional characteristic granularity, upgrading or the functional characteristic of rollback can be specified to upgrade or rollback to user, do not upgrade or the functional characteristic of rollback unaffected, thus meet the different demands of user.
It should be noted that in addition, device embodiment described above is only schematic, the wherein said unit illustrated as separating component or can may not be and physically separates, parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of module wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.In addition, in device embodiment accompanying drawing provided by the invention, the annexation between module represents to have communication connection between them, specifically can be implemented as one or more communication bus or signal wire.Those of ordinary skill in the art, when not paying creative work, are namely appreciated that and implement.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add required common hardware by software and realize, and can certainly comprise special IC, dedicated cpu, private memory, special components and parts etc. realize by specialized hardware.Generally, all functions completed by computer program can realize with corresponding hardware easily, and the particular hardware structure being used for realizing same function also can be diversified, such as mimic channel, digital circuit or special circuit etc.But under more susceptible for the purpose of the present invention condition, software program realizes is better embodiment.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in the storage medium that can read, as the floppy disk of computing machine, USB flash disk, portable hard drive, ROM (read-only memory) (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc., comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform method described in the present invention each embodiment.
A kind of data processing method provided the embodiment of the present invention above and device are described in detail, for one of ordinary skill in the art, according to the thought of the embodiment of the present invention, all will change in specific embodiments and applications, therefore, this description should not be construed as limitation of the present invention.

Claims (14)

1. a data processing equipment, is characterized in that, comprising:
Acquiring unit, for obtaining the software package of redaction, comprises the new version software bag of each functional characteristic in the software package of described redaction;
Receiving element, for receiving the upgrade command that user issues, comprises the mark that described user specifies the functional characteristic of upgrading in described upgrade command;
Creating unit, creates redaction catalogue under described user specifies the functional characteristic of upgrading and under described user being specified the new version software bag of the functional characteristic of upgrading to be decompressed to the redaction catalogue of corresponding function characteristic for specifying being identified at of the functional characteristic of upgrading according to described user;
Processing unit, for described user is specified the functional characteristic of upgrading early version catalogue under data and document upgrading under corresponding redaction catalogue;
Upgrade unit, specifies the data under the redaction catalogue of the functional characteristic of upgrading and file to complete upgrading for starting described user.
2. device as claimed in claim 1, is characterized in that, described upgrade unit specifically for:
Described user is stopped to specify the process of the functional characteristic of upgrading;
The primary version updating of the functional characteristic of upgrading described user is specified to be the redaction of corresponding function characteristic;
Add the process that described user specifies the functional characteristic of upgrading;
Starting described user specifies the process of the functional characteristic of upgrading to complete upgrading.
3. device as claimed in claim 1, is characterized in that, if the first functional characteristic relies on the second functional characteristic, need the library file calling described second functional characteristic, then comprise the library file of described second functional characteristic in the software package of described first functional characteristic.
4. device as claimed in claim 1, it is characterized in that, if the first functional characteristic relies on the second functional characteristic, need to call the service that described second functional characteristic provides, then comprise the external interface file of described second functional characteristic in the software package of described first functional characteristic.
5. the device as described in Claims 1-4 any one, is characterized in that, described device also comprises:
Setting unit, arranges rollback mark for the functional characteristic for having upgraded and inquires about for described user;
Described receiving element also for, receive the back-off instruction that described user issues, in described back-off instruction, comprise the mark that described user specifies the functional characteristic of rollback;
Described device also comprises:
Rollback unit, specifies the data under the early version catalogue of the functional characteristic of rollback and file to complete rollback for starting described user.
6. device as claimed in claim 5, is characterized in that, described rollback unit specifically for:
Described user is stopped to specify the process of the functional characteristic of rollback;
The primary version updating of the functional characteristic of rollback described user is specified to be the early version that described user specifies the functional characteristic of rollback;
Add the process that described user specifies the functional characteristic of rollback;
Starting described user specifies the process of the functional characteristic of rollback to complete rollback.
7. device as claimed in claim 6, it is characterized in that, described device also comprises:
Clearing cell, for useless the release directory of the rollback mark and/or the functional characteristic of rollback described in removing of removing the functional characteristic of rollback.
8. a data processing method, is characterized in that, comprising:
Obtain the software package of redaction, in the software package of described redaction, comprise the new version software bag of each functional characteristic;
Receive the upgrade command that user issues, in described upgrade command, comprise the mark that described user specifies the functional characteristic of upgrading;
Specify being identified at of the functional characteristic of upgrading to create redaction catalogue under described user specifies the functional characteristic of upgrading and under described user being specified the new version software bag of the functional characteristic of upgrading to be decompressed to the redaction catalogue of corresponding function characteristic according to described user;
Described user specified data under the early version catalogue of the functional characteristic of upgrading and document upgrading under corresponding redaction catalogue;
Starting described user specifies the data under the redaction catalogue of the functional characteristic of upgrading and file to complete upgrading.
9. method as claimed in claim 8, is characterized in that, the described user of described startup specifies the data under the redaction catalogue of the functional characteristic of upgrading and file to complete upgrading to comprise:
Described user is stopped to specify the process of the functional characteristic of upgrading;
The primary version updating of the functional characteristic of upgrading described user is specified to be the redaction of corresponding function characteristic;
Add the process that described user specifies the functional characteristic of upgrading;
Starting described user specifies the process of the functional characteristic of upgrading to complete upgrading.
10. method as claimed in claim 8, is characterized in that, if the first functional characteristic relies on the second functional characteristic, need the library file calling described second functional characteristic, then comprise the library file of described second functional characteristic in the software package of described first functional characteristic.
11. methods as claimed in claim 8, it is characterized in that, if the first functional characteristic relies on the second functional characteristic, need to call the service that described second functional characteristic provides, then comprise the external interface file of described second functional characteristic in the software package of described first functional characteristic.
12. methods as described in claim 8 to 11 any one, it is characterized in that, described method also comprises:
Inquire about for described user for the functional characteristic of having upgraded arranges rollback mark;
Receive the back-off instruction that described user issues, in described back-off instruction, comprise the mark that described user specifies the functional characteristic of rollback;
Starting described user specifies the data under the early version catalogue of the functional characteristic of rollback and file to complete rollback.
13. methods as claimed in claim 12, is characterized in that, the described user of described startup specifies the data under the early version catalogue of the functional characteristic of rollback and file to complete rollback to comprise:
Described user is stopped to specify the process of the functional characteristic of rollback;
The primary version updating of the functional characteristic of rollback described user is specified to be the early version that described user specifies the functional characteristic of rollback;
Add the process that described user specifies the functional characteristic of rollback;
Starting described user specifies the process of the functional characteristic of rollback to complete rollback.
14. methods as claimed in claim 13, it is characterized in that, described method also comprises:
Remove the rollback mark of the functional characteristic of rollback and/or useless the release directory of the functional characteristic of rollback described in removing.
CN201410635774.1A 2014-11-12 2014-11-12 A kind of data processing method and device Active CN104461612B (en)

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 true CN104461612A (en) 2015-03-25
CN104461612B 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)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105389172A (en) * 2015-12-07 2016-03-09 深圳市金锐显数码科技有限公司 Application upgrading method and apparatus
WO2016074460A1 (en) * 2014-11-12 2016-05-19 华为技术有限公司 Data processing 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
CN109582327A (en) * 2017-09-29 2019-04-05 北京国双科技有限公司 Update method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1710539A (en) * 2004-06-16 2005-12-21 华为技术有限公司 Soft wave renewing 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 updating method and operation maintaining element, single board and network element updating system
CN102193805A (en) * 2010-03-11 2011-09-21 华为技术有限公司 Device and method for upgrading software patches
US20120144370A1 (en) * 2010-12-01 2012-06-07 Sap Ag System and method for reversibility categories and characteristics
CN102968298A (en) * 2012-10-31 2013-03-13 山东浪潮齐鲁软件产业股份有限公司 Software product construction method
US20140258998A1 (en) * 2013-03-08 2014-09-11 Facebook, Inc. Enlarging control regions to optimize script code compilation

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100544399C (en) * 2006-12-26 2009-09-23 深圳市同洲电子股份有限公司 A kind of application data retrieving method of set-top box and device
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
CN102135895B (en) * 2010-12-29 2013-08-28 华为软件技术有限公司 System upgrading method and system
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

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1710539A (en) * 2004-06-16 2005-12-21 华为技术有限公司 Soft wave renewing 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 updating method and operation maintaining element, single board and network element updating system
CN102193805A (en) * 2010-03-11 2011-09-21 华为技术有限公司 Device and method for upgrading software patches
US20120144370A1 (en) * 2010-12-01 2012-06-07 Sap Ag System and method for reversibility categories and characteristics
CN102968298A (en) * 2012-10-31 2013-03-13 山东浪潮齐鲁软件产业股份有限公司 Software product construction method
US20140258998A1 (en) * 2013-03-08 2014-09-11 Facebook, Inc. Enlarging control regions to optimize script code compilation

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016074460A1 (en) * 2014-11-12 2016-05-19 华为技术有限公司 Data processing method and device
CN105389172A (en) * 2015-12-07 2016-03-09 深圳市金锐显数码科技有限公司 Application upgrading method and apparatus
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

Also Published As

Publication number Publication date
WO2016074460A1 (en) 2016-05-19
CN104461612B (en) 2018-05-04

Similar Documents

Publication Publication Date Title
US11106446B2 (en) Preinstalled application management method for mobile terminal and mobile terminal
CN104375849A (en) Core loading method and device
EP2786279A2 (en) Deployment of a driver or an application on a client device having a write-filter
CN110096424B (en) Test processing method and device, electronic equipment and storage medium
WO2013081679A1 (en) Automatic updating of an application or a driver on a client device using a deployment configuration file
CN110908671A (en) Method and device for constructing docker mirror image and computer readable storage medium
CN104035800A (en) Incremental packet generation method and device, version upgrade method and device, and version upgrade system
CN104834541B (en) Function module hanging method, carry system and the method for updating carry system
CN104461612A (en) Data processing method and device
EP2805233B1 (en) Installation engine and package format for parallelizable, reliable installations
CN104239098A (en) Automatic software upgrading method and device and mobile terminal
CN113760306B (en) Method and device for installing software, electronic equipment and storage medium
CN105511854A (en) Application fallback method and terminal equipment
US8769521B2 (en) Calendar aware adaptive patching of a computer program
CN114153473A (en) Module integration method, device, storage medium and electronic equipment
WO2016029774A1 (en) Virtualization based application storage method and execution method, device and system
KR101461319B1 (en) Methods and device for upgrading firmware of set-top box
CN105204876A (en) System starting method and electronic equipment
US20120150898A1 (en) Dynamic Collection Of System Support Files In A Data Processing Environment
CN112000354A (en) Version information updating method, version information updating device, version information updating equipment and storage medium
CN113535221A (en) Method and device for managing application version
CN111240752B (en) Operating system self-adaption method and system
CN118245137B (en) Method, system, equipment and medium for managing data object
KR101771438B1 (en) Mobile communication terminal and Method for installing application thereof
CN104794400A (en) Application program restoration method

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