CN104503789B - The control method and ICT equipment of version updating - Google Patents
The control method and ICT equipment of version updating Download PDFInfo
- Publication number
- CN104503789B CN104503789B CN201410787615.3A CN201410787615A CN104503789B CN 104503789 B CN104503789 B CN 104503789B CN 201410787615 A CN201410787615 A CN 201410787615A CN 104503789 B CN104503789 B CN 104503789B
- Authority
- CN
- China
- Prior art keywords
- updated
- compatible
- configuration file
- version number
- ict equipment
- 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
Abstract
The embodiment of the present invention provides a kind of control method and ICT equipment of version updating.This method includes:ICT equipment obtains the version number of part to be updated and the version number of target component in ICT equipment, and determines the attribute information of part to be updated;ICT equipment determines compatible configuration file corresponding to part to be updated according to the attribute information of part to be updated from the first compatible configuration file, the second compatible configuration file and the 3rd compatible configuration file;ICT equipment version number of compatible configuration file and target component according to corresponding to part to be updated treats renewal part and is updated.Method provided by the invention, by using different compatible configuration files to the part to be updated of different attribute, without carrying out global judgement, therefore improve renewal efficiency;In addition, method provided in an embodiment of the present invention is advantageous to each layer part difference promotion and demotion, renewal is more flexible.
Description
Technical field
The present embodiments relate to computer technology, more particularly to a kind of control method of version updating and ICT equipment.
Background technology
ICT (Information and Communication Technology, hereinafter referred to as ICT) system
System includes multiple ICT equipment with software unit and hardware cell.Chip on hardware cell can also be accompanied with self-operating
Necessary Small Scale Software, these Small Scale Softwares are referred to as firmware (Firmware).Therefore, ICT equipment can essentially think
Be made up of hardware, firmware, the class carrier of software three, also, system software is operated on firmware, firmware operate in hardware it
On.In addition, the unit (unit can be hardware cell, firmware unit or software unit) in ICT equipment is respectively had its own correspondingly
Version identifier, every time more new capital using version identifier as mark.Due to the software and hardware in ICT equipment be frequently necessary to amendment or
Person client needs the what's new characteristic in ICT equipment, therefore operating ICT equipment is frequently necessary to carry out edition upgrading, separately
Outside, if it find that redaction operation is problematic in ICT equipment, it is also possible to which operating version is degraded.
Prior art to ICT equipment when carrying out promotion and demotion, often using the mode for reading configuration file, i.e. ICT
Whether equipment reads the compatibility description in configuration file, describe to judge between version between liftable level or version according to the compatibility
Whether front and rear compatibility.
But software, hardware and firmware are arranged on identical file by prior art using the configuration file of the overall situation
In be controlled so that the promotion and demotion underaction of version, and promotion and demotion are less efficient.
The content of the invention
The embodiment of the present invention provides a kind of control method and ICT equipment of version updating, to solve ICT in the prior art
The technical problem that the version updating of equipment is dumb and renewal efficiency is low.
In a first aspect, the present invention provides a kind of control method of version updating, applied to ICT ICT systems,
The ICT systems include at least one ICT equipment, and the ICT equipment includes the first compatible configuration file, the second compatible configuration text
Part and the 3rd compatible configuration file, the first compatible configuration file include and the first part to be updated in the ICT equipment
Version number's scope of compatible first component, the second compatible configuration file include and second in the first ICT equipment
Version number's scope of part to be updated and the first part to be updated second component of compatibility, the described 3rd compatible configuration text
Part includes the third member compatible with the 3rd part to be updated in the first ICT equipment and second part to be updated
Version number's scope;First part to be updated and the described second part relation to be updated, second part to be updated with
3rd part relation to be updated, and the ICT equipment normal operation;Methods described includes:
The ICT equipment obtains the version number of part to be updated and the version number of target component in the ICT equipment, and
Determine the attribute information of the part to be updated;The part to be updated is the described first part to be updated, described second treated more
Any of new part, described 3rd part to be updated;
The ICT equipment is according to the attribute information of the part to be updated, from the described first compatible configuration file, described
Compatible configuration file corresponding to the part to be updated is determined in two compatible configuration files and the 3rd compatible configuration file;
ICT equipment version number of compatible configuration file and the target component according to corresponding to the part to be updated
The part to be updated is updated.
With reference in a first aspect, in the first possible embodiment of first aspect, the ICT equipment is treated according to
The version number of compatible configuration file and the target component corresponding to renewal part is updated to the part to be updated, wraps
Include:
The ICT equipment judge the target component version number whether with the part to be updated corresponding to it is compatible configuration
Part version numbers match in file, obtain judged result;
The ICT equipment is updated according to the judged result to the part to be updated.
With reference to the first possible embodiment of first aspect, in second of possible embodiment of first aspect
In, if the part to be updated is the described first part to be updated, compatible configuration file corresponding to the part to be updated is
The first compatible configuration file;Then the ICT equipment is updated according to the judged result to the part to be updated, bag
Include:
If the judged result is the part version in version number's configuration file compatible with described first of the target component
Version number matches, then the ICT equipment judge whether the version number of the described second part to be updated corresponding with the target component
Part version numbers match in 4th compatible configuration file;Wherein, the 4th compatible configuration file includes and the target
Version number's scope of the compatible second component of part;
If so, then the described first component update to be updated is the target component by the ICT equipment.
With reference to second of possible embodiment of first aspect, in the third possible embodiment of first aspect
In, the ICT equipment judge the described second part to be updated whether with the target component corresponding to the 4th compatible configuration file
In part version numbers match, in addition to:
If the ICT equipment judge the version number of the described second part to be updated with the 4th compatible configuration file
Part version number mismatches, if then the ICT equipment judges second as redaction by the described second component update to be updated
After part, if with the part version numbers match in the 4th compatible configuration file;
If so, then the described first component update to be updated is the target component by the ICT equipment, and by described second
Component update to be updated is the second component of the redaction.
With reference to the first possible embodiment of first aspect, in the 4th kind of possible embodiment of first aspect
In, if the part to be updated is the described second part to be updated, compatible configuration file corresponding to the part to be updated is
The second compatible configuration file;Then the ICT equipment is updated according to the judged result to the part to be updated, bag
Include:
If the judged result is the part version in version number's configuration file compatible with described second of the target component
Version number matches, then the ICT equipment judge whether the version number of the 3rd part to be updated corresponding with the target component
Part version numbers match in 5th compatible configuration file;Wherein, the 5th compatible configuration file includes and the target
Version number's scope of the compatible third member of part;
If so, then the described second component update to be updated is the target component by the ICT equipment.
With reference to the 4th kind of possible embodiment of first aspect, in the 5th kind of possible embodiment of first aspect
In, the ICT equipment judge the 3rd part to be updated version number whether with the target component corresponding to it is the 5th compatible
Part version numbers match in configuration file, in addition to:
If the ICT equipment judge the version number of the 3rd part to be updated with the 5th compatible configuration file
Part version number mismatches, if then the ICT equipment judges the 3rd as redaction by the 3rd component update to be updated
After part, if with the part version numbers match in the 5th compatible configuration file;
If so, then the described second component update to be updated is the target component by the ICT equipment, and by the described 3rd
Component update to be updated is the third member of the redaction.
With reference to the 4th kind of possible embodiment of first aspect, in the 6th kind of possible embodiment of first aspect
In, the ICT equipment is updated according to the judged result to the part to be updated, in addition to:
If the judged result is the part version in version number's configuration file compatible with described second of the target component
This number mismatch, if then the ICT equipment judge by the first component update to be updated as the first component of redaction after, the mesh
Mark the part version numbers match in version number's configuration file whether compatible with the 6th of part;Wherein, the described 6th compatible configuration
File includes version number's scope of the second component compatible with the first component of the redaction and the part to be updated;
If so, then the ICT equipment judge the 3rd part to be updated version number whether with the target component pair
Part version numbers match in the 5th compatible configuration file answered;
If so, then the described second component update to be updated is the target component by the ICT equipment, and by described first
Component update to be updated is the first component of the redaction.
With reference to the first possible embodiment of first aspect, in the 7th kind of possible embodiment of first aspect
In, if the part to be updated is the 3rd part to be updated, compatible configuration file corresponding to the part to be updated is described
3rd compatible configuration file;Then the ICT equipment is updated according to the judged result to the part to be updated, including:
If version number of the judged result for the target component and the part version in the 3rd compatible configuration file
Version number matches, then the 3rd component update to be updated is the target component by the ICT equipment.
Second aspect, the embodiment of the present invention provide a kind of ICT ICT equipment, and the ICT equipment is preset with the
One compatible configuration file, the second compatible configuration file and the 3rd compatible configuration file, the first compatible configuration file include with
Version number's scope of the first component of the first part compatibility to be updated in the ICT equipment, the second compatible configuration file
Including the second component compatible with the second part to be updated in the first ICT equipment and first part to be updated
Version number's scope, the 3rd compatible configuration file include and the 3rd part to be updated in the first ICT equipment and described
Version number's scope of the compatible third member of second part to be updated;First part to be updated and described second to be updated
Part relation, second part to be updated and the 3rd part relation to be updated, and the ICT equipment normal operation;Institute
Stating ICT equipment includes:
Acquisition module, for obtaining the version number of part to be updated and the version number of target component in the ICT equipment,
And determine the attribute information of the part to be updated;The part to be updated is the described first part to be updated, described second treated
Update any of part, described 3rd part to be updated;
Determining module, for the attribute information according to the part to be updated, from the described first compatible configuration file, described
Compatible configuration file corresponding to the part to be updated is determined in second compatible configuration file and the 3rd compatible configuration file;
Update module, for the version of compatible configuration file and the target component according to corresponding to the part to be updated
Number the part to be updated is updated.
With reference to second aspect, in the first possible embodiment of second aspect, the update module, it is specifically used for
Judge the target component version number whether with the part to be updated corresponding to part version number in compatible configuration file
Matching, judged result is obtained, and the part to be updated is updated according to the judged result.
With reference to the first possible embodiment of second aspect, in second of possible embodiment of second aspect
In, if the part to be updated is the described first part to be updated, compatible configuration file corresponding to the part to be updated is
The first compatible configuration file;The then update module, if specifically for the version that the judged result is the target component
Part version numbers match in this number configuration file compatible with described first, then judge the version number of the described second part to be updated
Whether with the target component corresponding to part version numbers match in the 4th compatible configuration file;If matching, by described the
One component update to be updated is the target component;Wherein, the 4th compatible configuration file includes and the target component
Version number's scope of compatible second component.
With reference to second of possible embodiment of second aspect, in the third possible embodiment of second aspect
In, the update module, if being additionally operable to judge the version number of the described second part to be updated and the 4th compatible configuration file
In part version number mismatch, if then determine whether by the described second component update to be updated be redaction second component
Afterwards, if with the part version numbers match in the 4th compatible configuration file;If matching, by the described first part to be updated
It is updated to the target component, and the second component by the described second component update to be updated for the redaction.
With reference to the first possible embodiment of second aspect, in the 4th kind of possible embodiment of second aspect
In, if the part to be updated is the described second part to be updated, compatible configuration file corresponding to the part to be updated is
The second compatible configuration file;The then update module, if specifically for the version that the judged result is the target component
Part version numbers match in this number configuration file compatible with described second, then judge the version number of the 3rd part to be updated
Whether with the target component corresponding to part version numbers match in the 5th compatible configuration file;If matching, by described the
Two component updates to be updated are the target component;Wherein, the 5th compatible configuration file includes and the target component
Version number's scope of compatible third member.
With reference to the 4th kind of possible embodiment of second aspect, in the 5th kind of possible embodiment of second aspect
In, the update module, be additionally operable to judge the version number of the 3rd part to be updated with the 5th compatible configuration file
Part version number mismatch, if then determine whether by the 3rd component update to be updated be redaction third member
Afterwards, if with the part version numbers match in the 5th compatible configuration file;If matching, by the described second part to be updated
It is updated to the target component, and the third member by the 3rd component update to be updated for the redaction.
With reference to the 4th kind of possible embodiment of second aspect, in the 6th kind of possible embodiment of second aspect
In, the update module, if being additionally operable to version number's configuration compatible with described second that the judged result is the target component
Part version number in file mismatches, if then determining whether the first component by the first component update to be updated for redaction
Afterwards, the part version numbers match in the version number of target component configuration file whether compatible with the 6th;If matching, enters one
Step judge the 3rd part to be updated version number whether with the target component corresponding in the 5th compatible configuration file
Part version numbers match;If matching, is the target component by the described second component update to be updated, and described first is treated
Renewal part is updated to the first component of the redaction;Wherein, the 6th compatible configuration file includes and the redaction
First component and the compatible second component of the part to be updated version number's scope.
With reference to the first possible embodiment of second aspect, in the 7th kind of possible embodiment of second aspect
In, if the part to be updated is the 3rd part to be updated, compatible configuration file corresponding to the part to be updated is described
3rd compatible configuration file;The then update module, specifically for the judged result for the target component version number with
Part version numbers match in the 3rd compatible configuration file, then it is the target portion by the 3rd component update to be updated
Part.
The control method and ICT equipment of version updating provided in an embodiment of the present invention, ICT is stated by the acquisition of ICT equipment and set
The standby upper version number of part to be updated and the version number of target component, and the attribute information of the part to be updated is determined, and
According to the attribute information of part to be updated, from the compatible configuration text of the first compatible configuration file, the second compatible configuration file and the 3rd
Compatible configuration file corresponding to the part to be updated is determined in part, so as to the version according to the compatible configuration file and target component
Renewal part number is treated to be updated.Method provided in an embodiment of the present invention, by being used to the part to be updated of different attribute
Different compatible configuration files, ICT equipment need to be only judged pair when renewal part is updated judge whether treating
The compatible configuration file answered, without carrying out global judgement, therefore the time of more redaction is saved, improve renewal effect
Rate;In addition, method provided in an embodiment of the present invention is advantageous to each layer part difference promotion and demotion, renewal is more flexible.
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 embodiment or existing
There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are this hairs
Some bright embodiments, for those of ordinary skill in the art, without having to pay creative labor, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is ICT system architecture schematic diagrams provided by the invention;
Fig. 2 is the schematic flow sheet of the control method embodiment one of version updating provided by the invention;
Fig. 3 is the provided by the invention first compatible configuration file schematic diagram;
Fig. 4 is the provided by the invention second compatible configuration file schematic diagram;
Fig. 5 is the schematic flow sheet of the control method embodiment two of version updating provided by the invention;
Fig. 6 is the schematic flow sheet of the control method embodiment three of version updating provided by the invention;
Fig. 7 is the schematic flow sheet of the control method example IV of version updating provided by the invention;
Fig. 8 is the provided by the invention 3rd compatible configuration file schematic diagram;
Fig. 9 is the structural representation of ICT apparatus embodiments provided by the invention.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
Part of the embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
The present invention practices includes at least one in ICT systems, ICT system architectures shown in Figure 1, the ICT systems
Individual ICT equipment, the ICT equipment can be (Information Technology, hereinafter referred to as IT) equipment, or
(Communication Technology, hereinafter referred to as CT) equipment.Set when needing to update one or more ICT in ICT systems
When standby software, firmware or hardware, the implementation procedure of following embodiments of the method may refer to.The embodiment of the present invention solves existing
Technical problem dumb and that renewal efficiency is low is updated when the software of technology innovation ICT equipment, firmware or hardware.
Fig. 2 is the schematic flow sheet of the control method embodiment one of version updating provided by the invention.The execution of this method
Main body is the ICT equipment shown in above-mentioned Fig. 1, and the ICT equipment includes the first compatible configuration file, the second compatible configuration file and the
Three compatible configuration files.The first compatible configuration file includes compatible with the first part to be updated in the ICT equipment the
Version number's scope of one part, the second compatible configuration file include and the second portion to be updated in the first ICT equipment
Version number's scope of the compatible second component of part and first part to be updated, the 3rd compatible configuration file include with
The version number of the 3rd part to be updated and second the part to be updated third member of compatibility in the first ICT equipment
Scope.Optionally, " version number's scope " described here can be multiple discontinuous part version number set or connect
Continuous part version number scope.
In addition, above-mentioned first part to be updated and the described second part relation to be updated, second part to be updated with
3rd part relation to be updated, and the ICT equipment normal operation.That is, the first part to be updated, second treating more
New part and the part that the 3rd part to be updated is matching running in ICT equipment.It should be noted that above-mentioned first portion to be updated
Part can be software (i.e. Current software) to be updated in ICT equipment, and the second part to be updated can be to be updated in ICT equipment
Firmware (i.e. current firmware), the 3rd part to be updated can be hardware (i.e. Current hardware) to be updated in ICT equipment.
As shown in Fig. 2 this method includes:
S101:ICT equipment obtains the version number of part to be updated and the version number of target component in the ICT equipment,
And determine the attribute information of the part to be updated;The part to be updated is the described first part to be updated, described second treated
Update any of part, described 3rd part to be updated.
Specifically, ICT equipment can obtain the portion to be updated in ICT equipment according to the request of user or the operation of correlation
The version number of part and the version number of target component.Optionally, the part to be updated can be the above-mentioned first part to be updated, also may be used
Think the above-mentioned second part to be updated, can also be above-mentioned 3rd part to be updated, be i.e. the part to be updated can be ICT equipment
On software to be updated or firmware to be updated or hardware to be updated.
ICT equipment get part to be updated version number and target component version number while, further determine
The attribute information of part to be updated.The attribute information is used for the type for showing the part to be updated, that is, shows that part to be updated is
Software type or firmware type either type of hardware.It should be noted that ICT equipment is only it needs to be determined that part to be updated
Attribute information, the attribute information of target component is identical with the attribute information of part to be updated, i.e., target component and treats more
New part belongs to same type.
S102:ICT equipment is according to the attribute information of the part to be updated, from the described first compatible configuration file, described
Compatible configuration file corresponding to the part to be updated is determined in second compatible configuration file and the 3rd compatible configuration file.
Specifically, ICT equipment is compatible according to corresponding to the part to be updated that the attribute information of above-mentioned part to be updated determines
Configuration file can be the first compatible configuration file, the second compatible configuration file and one kind in the 3rd compatible configuration file or
Two kinds, compatible configuration file corresponding to the part to be updated of different attribute is different or part is identical.
For example, when the attribute of part to be updated is the first part (i.e. Current software) to be updated, i.e., user needs to update
Current software (part to be updated is Current software) in ICT equipment, it is simultaneous corresponding to the part to be updated determined by ICT equipment
Appearance configuration file is the first compatible configuration file, the first compatible configuration file include Current software version number and with it is current
(version number's scope of the other software is above-mentioned to version number's scope of the other software of the edition compatibility of software and first treats more
Version number's scope of the compatible first component of new part), the first compatible configuration file may refer to shown in Fig. 3.In figure 3, ICT
The version number of Current software (part i.e. to be updated) is " 2200210311 " in equipment, the version number with the software of the edition compatibility
For " 2200210000-2200219999 ".
When the attribute of part to be updated is the second part (current firmware i.e. in ICT equipment) to be updated, i.e., user needs
Update the current firmware (part to be updated is current firmware) in ICT equipment, the part pair to be updated determined by ICT equipment
The compatible configuration file answered is the second compatible configuration file, and the second compatible configuration file includes the version of current firmware, with
And version number's scope of other firmwares compatible with current firmware and Current software.Here " with current firmware and current soft
Version number's scope of other compatible firmwares of part " is above-mentioned " equal with the second part to be updated and the first part to be updated
Version number's scope of compatible second component ".The second compatible configuration file be may refer to shown in Fig. 4, and in Fig. 4, ICT is set
The version number of standby upper Current software be " 2200210311 ", and the version number of current firmware is " 6.01T03 ", with Current software and ought
Version number's scope of other compatible firmwares of preceding firmware is " First Version-Last Version ".Need what is illustrated
It is that the compatible configuration file of second in Fig. 4 includes the firmware version of three modules, i.e., may includes three in an ICT equipment
Module, different firmwares is run in each module, the software of identical version is run on each firmware;It is above-mentioned described to be only
The version number of current firmware in " Module11 ", and, it is compatible with Current software and current firmware in " Module11 "
Firmware version number's scope." Module2 " and " Module3 " content are no longer gone to live in the household of one's in-laws on getting married herein with reference to the introduction of " Module11 "
State.
S103:ICT equipment version of compatible configuration file and the target component according to corresponding to the part to be updated
Number the part to be updated is updated.
Specifically, ICT equipment after compatible configuration file corresponding to part to be updated is determined, can configure according to the compatibility
File determines whether that by component update to be updated be target component.Such as:Assuming that it is by the component update to be updated of current version
Target component, then ICT equipment need to judge whether the part after updating enables ICT equipment normal operations, if occur
There is firmware and the incompatible situation of hardware component in software and the incompatible situation of firmware.If by the to be updated of current version
For component update for after target component, ICT equipment remains able to normal operation, then ICT equipment determination can be by part to be updated more
New is target component.Optionally, renewal here can be the version for upgrading part to be updated, or degradation target component
Version.
In the prior art, when treating renewal part progress upgrade or downgrade, no matter the part to be updated is software or hard
Part or firmware, prior art using global compatible configuration file, i.e., prior art by software, firmware, hardware it is simultaneous
Appearance constraints, which is placed in same compatible configuration file, to be controlled, and in the part on updating ICT equipment, prior art will be to whole
Individual file carries out global search judgement, hence in so that the renewal time length of part version, renewal efficiency is low and renewal is dumb;But
It is that in embodiments of the present invention, its part to be updated to different attribute uses different compatible configuration files, i.e., is treated in renewal
When updating part, the embodiment of the present invention employs hierarchical control, and ICT equipment is carrying out judging whether that can treat renewal part enters
Compatible configuration file corresponding to need to only judging during row renewal, without carrying out global judgement, therefore saves more redaction
Time, improve renewal efficiency;In addition, the present embodiments relate to method be advantageous to the difference promotion and demotion of each layer part, renewal
Compare flexibly.
The control method of version updating provided in an embodiment of the present invention, obtain to state by ICT equipment and treated more in ICT equipment
The new version number of part and the version number of target component, and the attribute information of the part to be updated is determined, and according to be updated
The attribute information of part, being determined from the first compatible configuration file, the second compatible configuration file and the 3rd compatible configuration file should
Compatible configuration file corresponding to part to be updated, so that according to the version number of the compatible configuration file and target component to be updated
Part is updated.Method provided in an embodiment of the present invention, by using different compatibilities to the part to be updated of different attribute
Configuration file, ICT equipment are carrying out judging whether to treat when renewal part is updated only judging that corresponding compatibility is matched somebody with somebody
File is put, without carrying out global judgement, therefore the time of more redaction is saved, improves renewal efficiency;In addition, this hair
The method that bright embodiment provides is advantageous to each layer part difference promotion and demotion, and renewal is more flexible.
Further,, can when ICT equipment is updated to software to be updated on the basis of above-mentioned embodiment illustrated in fig. 2
With by judge above-mentioned target component version number whether with part to be updated corresponding to part version in compatible configuration file
Number matching, obtains judged result, and the part to be updated is updated according to the judged result.Its concrete implementation process
It may refer to following embodiments of the method.
Fig. 5 is the schematic flow sheet of the control method embodiment two of version updating provided by the invention.The present embodiment is related to
Method be when above-mentioned part to be updated is the first part to be updated, i.e., when above-mentioned part to be updated be ICT equipment on work as
During preceding software, the version number of ICT equipment first compatible configuration file and target component according to corresponding to first part to be updated
The detailed process being updated to the first part to be updated.Further, above-mentioned S103 is specifically included:
S201:ICT equipment judges the version number of the target component whether corresponding with the described first part to be updated
Part version numbers match in one compatible configuration file, obtain judged result.
Specifically, in the present embodiment, part to be updated is the first part to be updated, i.e., part to be updated is in ICT equipment
Current software, above-mentioned target component is the software of target version, then in the first compatible configuration file part version number bag
Include version number's scope of the first component compatible with the Current software in ICT equipment, the first component be actually with it is current soft
The compatible software of part.
Therefore, ICT equipment judges in the version number of target software configuration file whether compatible with first and Current software
Version number's commensurate in scope of compatible software, obtain judged result.It should be noted that " matching " herein is sentenced for ICT equipment
Some software version in software version number scope in version number's configuration file whether compatible with first of disconnected target software
It is number identical.If some software in software version number scope in the version number of target software configuration file compatible with first
Version number is identical, then illustrates the compatible current software of target software.
S202:If the judged result is the portion in version number's configuration file compatible with described first of the target component
Part version numbers match, then the ICT equipment judge the described second part to be updated version number whether with the target component pair
Part version numbers match in the 4th compatible configuration file answered;Wherein, the 4th compatible configuration file include with it is described
Version number's scope of the compatible second component of target component.If so, then perform S203;If it is not, then perform S204.
Specifically, the second part to be updated is the current firmware of ICT equipment in the present embodiment, i.e., the second part to be updated is
The firmware supporting with Current software in ICT equipment, the 4th compatible configuration file include second compatible with above-mentioned target software
Version number's scope of part, the second component are actually the firmware compatible with target software.
Therefore when above-mentioned judged result is the software version number model in version number's configuration file compatible with first of target software
Matching is enclosed, then ICT equipment determines whether in the whether above-mentioned 4th compatible configuration file of the version number of current firmware and target
Version number's commensurate in scope of the firmware of softwarecompatible, that is, it is exactly to judge the target by the software upgrading of current version as corresponding version
After software, whether the target software is compatible with current firmware.It should be noted that " matching " herein judges to work as ICT equipment
Some firmware version number phase in firmware version number scope in the version number of preceding firmware configuration file whether compatible with the 4th
Together.
S203:Described first component update to be updated is the target component by ICT equipment.
Specifically, if ICT equipment judges that the version number of current firmware is soft with target with above-mentioned 4th compatible configuration file
Version number's commensurate in scope of the compatible firmware of part, also, the version number of the judged result in above-mentioned S202, i.e. target software
Also the software version number commensurate in scope in configuration file compatible with first, then illustrate target software and the current software of ICT equipment
Compatibility, also compatible with the firmware that ICT equipment is current, then Current software is just updated to target software by ICT equipment.
S204:If ICT equipment judge by the described second component update to be updated as the second component of redaction after, if with
Part version numbers match in the 4th compatible configuration file;If so, then perform S205;If it is not, then perform S206.
Specifically, if ICT equipment judges that the version number of current firmware is soft with target with above-mentioned 4th compatible configuration file
Version number's scope of the compatible firmware of part is mismatched, then ICT equipment is determined whether if current firmware is updated into redaction
Firmware after, if version number's commensurate in scope with the firmware compatible with target software in above-mentioned 4th compatible configuration file,
And following step is performed according to obtained judged result selection.
S205:Described first component update to be updated is the target component by ICT equipment, and to be updated by described second
Component update is the second component of the redaction.
If if specifically, ICT equipment judge current firmware is updated to the firmware of redaction after, the firmware of redaction
Version number and version number's commensurate in scope of the firmware compatible with target software in above-mentioned 4th compatible configuration file, then illustrate mesh
Mark software and the current softwarecompatible of ICT equipment, it is also compatible with the firmware of the redaction, then ICT equipment just by Current software more
New is target software, and the current firmware of ICT equipment is updated to the firmware of above-mentioned redaction.
S206:ICT equipment sends error reporting, and renewal is unsuccessful, and terminates to update.
In order to be better understood from the embodiment of the present invention, cite a plain example herein to illustrate, referring to table 1 below institute
Show.
Table 1
It is current software (the i.e. first portion to be updated that part to be updated in ICT equipment, which has been shown in particular, in content in table 1
Part), its version number is SW1, and the version number of current firmware is FW1, and the version number of Current hardware is HW1, and user needs to set ICT
Standby upper Current software is updated to target software, and the version number of target software is SW2.ICT equipment is updated to Current software
Process be specifically as follows:
ICT equipment judges in the version number (SW2) of target software configuration file whether compatible with first and Current software
Compatible software version number matching, if matching, whether ICT equipment determines whether the version number (FW1) of current firmware with the
The firmware version number matching compatible with target software in four compatible configuration files.If matching, illustrate target software both with ICT
The current softwarecompatible of equipment, also compatible with the firmware that ICT equipment is current, then it is soft to be updated to target by ICT equipment for Current software
Part;If the firmware version number compatible with target software in version number (FW1) configuration file compatible with the 4th of current firmware is not
Matching, if then ICT equipment judges current firmware being updated to the firmware of redaction (assuming that the version number of the firmware of redaction is
FW2 after), the FW2 whether version number's scope with the firmware compatible with target software in above-mentioned 4th compatible configuration file
Match somebody with somebody.If so, then illustrating target software and the current softwarecompatible of ICT equipment, also compatible with the firmware of the redaction, then ICT is set
It is standby that Current software is just updated to target software, and the current firmware of ICT equipment is updated to the firmware of above-mentioned redaction.
The control method of version updating provided by the invention, when part to be updated is the first part to be updated, ICT is set
It is standby to be judged according to the version number of the first part to be updated, the version number of target component and with reference to the first compatible configuration file,
So as to be target component by component update to be updated.Method provided in an embodiment of the present invention, by the to be updated of different attribute
Part uses different compatible configuration files, and ICT equipment is carrying out judging whether to treat when renewal part is updated only
Compatible configuration file corresponding to need to judging, without carrying out global judgement, therefore saves the time of more redaction, improves
Update efficiency;In addition, method provided in an embodiment of the present invention is advantageous to each layer part difference promotion and demotion, renewal is more flexible.
Fig. 6 is the schematic flow sheet of the control method embodiment three of version updating provided by the invention.The present embodiment is related to
Method be when above-mentioned part to be updated is the second part to be updated, i.e., when above-mentioned part to be updated be ICT equipment on work as
During preceding firmware, the version number of ICT equipment second compatible configuration file and target component according to corresponding to second part to be updated
The detailed process being updated to the second part to be updated.Further, above-mentioned S103 is specifically included:
S301:ICT equipment judges the version number of the target component whether corresponding with the described second part to be updated
Part version numbers match in two compatible configuration files;If so, then perform S302;If it is not, then perform S306.
Specifically, in the present embodiment, part to be updated is the second part to be updated, i.e., part to be updated is in ICT equipment
Current firmware, above-mentioned target component is the firmware of target version, then in the second compatible configuration file part version number bag
Version number's scope of the second component compatible with the Current software in ICT equipment and current firmware is included, the second component is actual
Upper is the firmware compatible with Current software and current firmware.
Therefore, ICT equipment judges in the version number of target firmware configuration file whether compatible with second and Current software
Version number's commensurate in scope of compatible firmware, obtains judged result with current firmware.It should be noted that " matching " herein
Judge for ICT equipment a certain in the firmware version number scope in the version number of target firmware configuration file whether compatible with second
Individual firmware version number is identical.The second compatible configuration file actually includes the firmware compatible with Current software and current firmware
Version number's scope.It is if a certain in the firmware version number scope in the version number of target firmware configuration file compatible with second
Individual firmware version number is identical, then illustrates target firmware compatibility Current software and current firmware;If the version number of target firmware with
All firmware version numbers in firmware version number scope in second compatible configuration file differ, then illustrate target firmware not
Compatible Current software and current firmware.
S302:ICT equipment judges the version number of the 3rd part to be updated whether corresponding with the target component
Part version numbers match in five compatible configuration files;Wherein, the 5th compatible configuration file includes and the target portion
Version number's scope of the compatible third member of part.If so, then perform S303;If it is not, then perform S304.
Specifically, the 3rd part to be updated is the current hardware of ICT equipment in the present embodiment, i.e. the 3rd part to be updated is
The hardware supporting with Current software and current firmware in ICT equipment, the 5th compatible configuration file include and above-mentioned target firmware
Version number's scope of compatible third member, the third member is actually the hardware compatible with target firmware.
Therefore when above-mentioned judged result is the firmware version number model in version number's configuration file compatible with second of target firmware
When enclosing matching, then ICT equipment determines whether in the whether above-mentioned 5th compatible configuration file of the version number of Current hardware and mesh
Version number's commensurate in scope of the compatible hardware of firmware is marked, that is, is exactly the mesh for judging the firmware of current version being updated to corresponding version
After marking firmware, whether the target firmware is compatible with Current hardware.It should be noted that " matching " herein judges for ICT equipment
Some hardware version numbers in hardware version numbers scope in the version number of Current hardware configuration file whether compatible with the 5th
It is identical.
S303:Described second component update to be updated is the target component by ICT equipment.
Specifically, if ICT equipment judges that the version number of Current hardware consolidates with above-mentioned 5th compatible configuration file with target
Version number's commensurate in scope of the compatible hardware of part, also, the version number of the judged result in above-mentioned S302, i.e. target firmware
Also the firmware version number commensurate in scope in configuration file compatible with second, then illustrate target firmware and ICT equipment Current software and
Current firmware is compatible, also the hardware compatibility current with ICT equipment, then current firmware is just updated to target firmware by ICT equipment.
S304:If ICT equipment judge by the 3rd component update to be updated as the third member of redaction after, if with
Part version numbers match in the 5th compatible configuration file;If so, then perform S305;If it is not, then perform S309.
Specifically, if ICT equipment judges that the version number of Current hardware consolidates with above-mentioned 5th compatible configuration file with target
Version number's scope of the compatible hardware of part is mismatched, then ICT equipment is judged if will currently consolidate hardware update as the hard of redaction
After part, if version number's commensurate in scope with the hardware compatible with target firmware in above-mentioned 5th compatible configuration file, and root
Following step is performed according to obtained judged result selection.
S305:Described second component update to be updated is the target component by ICT equipment, and to be updated by the described 3rd
Component update is the third member of the redaction.
If if specifically, ICT equipment judge Current hardware is updated to the hardware of redaction after, the hardware of redaction
Version number and version number's commensurate in scope of the hardware compatible with target firmware in above-mentioned 5th compatible configuration file, then illustrate mesh
It is both compatible with Current software and current firmware with ICT equipment to mark firmware, also with the hardware compatibility of the redaction, then ICT equipment is just
Current firmware is updated to target firmware, and the Current hardware of ICT equipment is updated to the hardware of above-mentioned redaction.
S306:If ICT equipment judge by the first component update to be updated as the first component of redaction after, the target portion
Part version numbers match in the version number of part configuration file whether compatible with the 6th;Wherein, the 6th compatible configuration file
Include version number's scope of the compatible second component of the first component with the redaction and the part to be updated;If so,
Then perform S307;If it is not, then perform S309.
Specifically, when above-mentioned S301 judged result is in version number's configuration file compatible with described second of target component
Part version number when mismatching, i.e., when the firmware version number in the version number of target firmware configuration file compatible with second not
Match somebody with somebody, illustrate all firmware version numbers in the firmware version number scope in version number's configuration file compatible with second of target firmware
Differ, then further illustrate the incompatible Current software of target firmware and current firmware.Now ICT equipment needs to do a vacation
If the judgement of property, if judging, the version number of target firmware is when the Current software of ICT equipment is updated into the software of redaction
Firmware version number commensurate in scope in 6th compatible configuration file corresponding to the no software with the redaction.6th compatible configuration
File includes the firmware version number scope compatible with the software and current firmware of the redaction.
If ICT equipment judges the firmware version number scope in the version number of target firmware configuration file compatible with the 6th
Match somebody with somebody, then illustrate target firmware compatibility current firmware and the software of redaction.
S307:ICT equipment judges the version number of the 3rd part to be updated whether corresponding with the target component
Part version numbers match in five compatible configuration files;If so, then perform S308;If it is not, then perform S309.
Specifically, when above-mentioned judged result is the firmware version in version number's configuration file compatible with the 6th of target firmware
During number commensurate in scope, then ICT equipment is determined whether in the whether above-mentioned 5th compatible configuration file of the version number of Current hardware
Version number's commensurate in scope of the hardware compatible with target firmware, that is, it is exactly to judge the firmware of current version being updated to corresponding version
Target firmware after, whether the target firmware compatible with Current hardware.
S308:Described second component update to be updated is the target component by ICT equipment, and to be updated by described first
Component update is the first component of the redaction.
Specifically, if ICT equipment judges that the version number of Current hardware consolidates with above-mentioned 5th compatible configuration file with target
Version number's commensurate in scope of the compatible hardware of part, also, the version number of target firmware also in configuration file compatible with the 6th with it is new
The firmware version number commensurate in scope of the softwarecompatible of version, then illustrate the software and ICT equipment of target firmware and above-mentioned redaction
On current firmware it is compatible, the also hardware compatibility current with ICT equipment, then ICT equipment current firmware be just updated to target consolidated
Part, and the Current software of ICT equipment is updated to the software of the redaction.
S309:ICT equipment sends error reporting, and renewal is unsuccessful, and terminates to update.
In order to be better understood from the embodiment of the present invention, cite a plain example herein to illustrate, referring to table 2 below institute
Show.
Table 2
It is current firmware (the i.e. second portion to be updated that part to be updated in ICT equipment, which has been shown in particular, in content in table 2
Part), its version number is FW1, and the version number of Current software is SW1, and the version number of Current hardware is HW1, and user needs to set ICT
Standby upper current firmware is updated to target firmware, and the version number of the target firmware is FW2.ICT equipment is carried out more to current firmware
New process is specifically as follows:
ICT equipment judges in the version number (FW2) of target firmware configuration file whether compatible with second and Current software
The firmware version number matching compatible with current firmware.
It is if simultaneous with Current software and current firmware in version number (FW2) configuration file compatible with second of target firmware
The firmware version number matching of appearance, then ICT equipment determine whether the version number (HW1) of Current hardware compatible with the 5th and match somebody with somebody
Put the hardware version numbers matching compatible with target firmware in file.If matching, illustrate target firmware both with ICT equipment
Current software and current firmware are compatible, also the hardware compatibility current with ICT equipment, then current firmware is updated to mesh by ICT equipment
Mark firmware;If the hardware version compatible with target firmware in version number (HW1) configuration file compatible with the 5th of Current hardware
Number mismatch, if then ICT equipment judges Current hardware being updated to the hardware of redaction (assuming that the version of the firmware of redaction
Number be HW2) after, the HW2 whether version number's model with the hardware compatible with target firmware in above-mentioned 5th compatible configuration file
Enclose matching.If so, then illustrate that target firmware is compatible with the Current software in ICT equipment and current firmware, also with the redaction
Hardware compatibility, then current firmware is just updated to target firmware by ICT equipment, and the Current hardware of ICT equipment is updated to above-mentioned
The hardware of redaction.
It is if simultaneous with Current software and current firmware in version number (FW2) configuration file compatible with second of target firmware
The firmware version number of appearance mismatches, then illustrates that the Current software of target firmware and ICT equipment and current firmware are incompatible, then ICT
Now need to do a hypothetical judgement, if judging the Current software in ICT equipment being updated to the soft of redaction
During part (assuming that the version number of the software of the redaction is SW2), FW2 whether with the software of the redaction corresponding to the 6th compatible match somebody with somebody
The firmware version number commensurate in scope in file is put, the 6th compatible configuration file includes the software and current firmware with the redaction
Compatible firmware version number scope.If ICT equipment judges the firmware version number scope in FW2 configuration files compatible with the 6th
Match somebody with somebody, then illustrate target firmware compatibility current firmware and the software of redaction, then ICT equipment determines whether the version of Current hardware
The hardware version numbers matching compatible with target firmware in number (HW1) configuration file whether compatible with the 5th.If matching, illustrates
Target firmware is both with the current firmware in ICT equipment and the softwarecompatible of above-mentioned redaction, and also the hardware current with ICT equipment is simultaneous
Hold, then current firmware is updated to target firmware by ICT equipment, and the Current software of ICT equipment is updated into the soft of redaction
Part.
The control method of version updating provided by the invention, when part to be updated is the second part to be updated, ICT is set
It is standby to be judged according to the version number of the second part to be updated, the version number of target component and with reference to the second compatible configuration file,
So as to be target component by component update to be updated.Method provided in an embodiment of the present invention, by the to be updated of different attribute
Part uses different compatible configuration files, and ICT equipment is carrying out judging whether to treat when renewal part is updated only
Compatible configuration file corresponding to need to judging, without carrying out global judgement, therefore saves the time of more redaction, improves
Update efficiency;In addition, method provided in an embodiment of the present invention is advantageous to each layer part difference promotion and demotion, renewal is more flexible.
Fig. 7 is the schematic flow sheet of the control method example IV of version updating provided by the invention.The present embodiment is related to
Method be when above-mentioned part to be updated is three part to be updated, i.e., when above-mentioned part to be updated be in ICT equipment it is current
Hardware when, the version number of ICT equipment the 3rd compatible configuration file and target component according to corresponding to the 3rd part to be updated
The detailed process being updated to the 3rd part to be updated.Further, above-mentioned S103 is specifically included:
S401:ICT equipment judges the version number of the target component whether corresponding with the 3rd part to be updated
Part version numbers match in three compatible configuration files;If so, then perform S402;If it is not, then perform S403.
Specifically, in the present embodiment, part to be updated is the 3rd part to be updated, i.e., part to be updated is in ICT equipment
Current hardware, above-mentioned target component is the hardware of target version, then in the 3rd compatible configuration file part version number bag
Version number's scope of the third member compatible with the current firmware in ICT equipment and Current hardware is included, the third member is actual
Upper is the hardware compatible with current firmware and Current hardware.
Therefore, ICT equipment judges in the version number of target hardware configuration file whether compatible with the 3rd and current firmware
Version number's commensurate in scope of compatible hardware, obtains judged result with Current hardware.It should be noted that " matching " herein
Judge for ICT equipment a certain in the hardware version numbers scope in the version number of target hardware configuration file whether compatible with the 3rd
Individual hardware version numbers are identical.If in the hardware version numbers scope in the version number of target hardware configuration file compatible with the 3rd
Some hardware version numbers is identical, then illustrates target hardware compatible current firmware and Current hardware.
S402:3rd component update to be updated is the target component by ICT equipment.
S403:ICT equipment sends error reporting, and renewal is unsuccessful, and terminates to update.
In order to be better understood from the embodiment of the present invention, cite a plain example herein to illustrate, referring to Table 3 below institute
Show.
Table 3
It is current hardware (i.e. the 3rd portion to be updated that part to be updated in ICT equipment, which has been shown in particular, in content in table 3
Part), its version number is HW1, and the version number of current firmware is FW1, and the version number of Current software is SW1, and user needs to set ICT
Standby upper Current hardware is updated to target hardware, and the version number of target hardware is HW2.ICT equipment is updated to Current hardware
Process be specifically as follows:
ICT equipment judges in version number (HW2) configuration file whether compatible with the 3rd of target hardware and current firmware
The compatible hardware version numbers matching with Current hardware, if matching, illustrate target hardware and the current firmware in ICT equipment and
Current hardware is compatible, then Current hardware is just updated to target hardware by ICT equipment.3rd compatible configuration file may refer to
Shown in Fig. 8.In fig. 8, the version number of current firmware is " 6.01T03 " in ICT equipment, and the version number of Current hardware is
" 6.01T03 ", version number's scopes of other hardware compatible with current firmware and Current hardware be " First Version-
Last Version”.It should be noted that the 3rd compatible configuration file in Fig. 8 includes the firmware version of three modules, i.e., one
Three modules may be included in individual ICT equipment, different hardware is run in each module;That described in above-mentioned is only " Module11 "
In current firmware and hardware version number, and, in " Module11 " with compatible hard of Current hardware and current firmware
Version number's scope of part." Module2 " and " Module3 " content will not be repeated here with reference to the introduction of " Module11 ".
The control method of version updating provided by the invention, when part to be updated is three part to be updated, ICT is set
It is standby to be judged according to the version number of the 3rd part to be updated, the version number of target component and with reference to the 3rd compatible configuration file,
So as to be target component by component update to be updated.Method provided in an embodiment of the present invention, by the to be updated of different attribute
Part uses different compatible configuration files, and ICT equipment is carrying out judging whether to treat when renewal part is updated only
Compatible configuration file corresponding to need to judging, without carrying out global judgement, therefore saves the time of more redaction, improves
Update efficiency;In addition, method provided in an embodiment of the present invention is advantageous to each layer part difference promotion and demotion, renewal is more flexible.
It is following to lift two specifically for the clearer applicable cases for introducing the embodiment of the present invention in actual renewal process
Example illustrate.
Example one:
Assuming that the Current software in ICT equipment is SW1, version number sw1, current firmware FW1, version number fw1, when
The hardware of preceding version is HW;User needs to carry out whole updating to the version in ICT equipment, you can be that simple renewal is current
Software or renewal Current software and current firmware.In the present example, ICT equipment need not update hardware.Assuming that target
Software is SW2, version number sw2, target firmware FW2, version number fw2.Because ICT equipment is carried out more to the part of itself
The upgrading of part and the degradation of part can newly be included, therefore, renewal process can specifically be divided into tetra- kinds of following A, B, C, D feelings
Condition.
A:Referring to shown in table 4 below:
Table 4
In table 4, the version of target software is higher than the version of Current software, and the version of target firmware is higher than the version of current firmware
This, the hardware version before and after ICT renewal of the equipment does not change.In example shown in table 4, the renewal of ICT its upper side parts is specific
There can be following three kinds of situations
(1) if ICT equipment judges that sw2 matches with the software version number in the first compatible configuration file corresponding to sw1, fw1
With SW2 corresponding to firmware version number in the 4th compatible configuration file match, and fw2 also with SW2 corresponding to the 4th compatible configure
Firmware version number matching in file, then illustrate that SW2 is compatible with SW1, FW1, FW2 are compatible with SW2.Optionally, ICT equipment
SW1 individually can be upgraded into SW2, SW1 can also be upgraded to SW2, and FW1 is upgraded to FW2.Finally set in ICT
The part of standby upper operation is SW2, FW2 and HW.
(2) if ICT equipment judges that sw2 matches with the software version number in the first compatible configuration file corresponding to sw1, fw2
With SW2 corresponding to firmware version number in the 4th compatible configuration file match, but corresponding to fw1 and SW2 the 4th it is compatible configure it is literary
Firmware version number in part mismatches, then illustrates that SW2 is compatible with SW1, and FW2 is compatible with SW2, but FW1 and SW2 is incompatible, then without
By FW1 and FW2 version size, SW1 can all be upgraded to SW2 by ICT equipment, and FW1 is upgraded into FW2.I.e. finally in ICT
The part run in equipment is SW2, FW2 and HW.
(3) if ICT equipment judges that sw2 matches with the software version number in the first compatible configuration file corresponding to sw1, fw2
With SW2 corresponding to firmware version number in the 4th compatible configuration file mismatch, but the 4th compatible configured corresponding to fw1 and SW2
In file firmware version number matching, then illustrate that SW2 is compatible with SW1, FW2 is incompatible with SW2, but FW1 is compatible with SW2, then without
By FW1 and FW2 version size, SW1 can all be upgraded to SW2 by ICT equipment, and not upgrade FW1.I.e. finally in ICT equipment
The part of upper operation is SW2, FW1 and HW.
B:Referring to shown in table 5 below:
Table 5
In table 5, the version of target software is higher than the version of Current software, and the version of target firmware is less than the version of current firmware
This, the hardware version before and after ICT renewal of the equipment does not change.In example shown in table 5, the renewal of ICT its upper side parts is specific
There can be following three kinds of situations
(1) if ICT equipment judges that sw2 matches with the software version number in the first compatible configuration file corresponding to sw1, fw1
With SW2 corresponding to firmware version number in the 4th compatible configuration file match, and fw2 also with SW2 corresponding to the 4th compatible configure
Firmware version number matching in file, then illustrate that SW2 is compatible with SW1, FW1, FW2 are compatible with SW2.But due to fw2<Fw1,
Then illustrating that the version of current firmware is higher than the version of target component, then SW1 individually can be upgraded to SW2 by ICT equipment,
FW1 need not be updated.The part finally run in ICT equipment is SW2, FW1 and HW.
(2) if ICT equipment judges that sw2 matches with the software version number in the first compatible configuration file corresponding to sw1, fw2
With SW2 corresponding to firmware version number in the 4th compatible configuration file match, but corresponding to fw1 and SW2 the 4th it is compatible configure it is literary
Firmware version number in part mismatches, then illustrates that SW2 is compatible with SW1, FW2 is compatible with SW2, but FW1 and SW2 is incompatible, then
SW1 can be upgraded to SW2 by ICT equipment, and FW1 is degraded and return back to FW2.The part finally run in ICT equipment is
SW2, FW2 and HW.
(3) if ICT equipment judges that sw2 matches with the software version number in the first compatible configuration file corresponding to sw1, fw2
With SW2 corresponding to firmware version number in the 4th compatible configuration file mismatch, but the 4th compatible configured corresponding to fw1 and SW2
Firmware version number matching in file, then illustrate that SW2 is compatible with SW1, FW2 is incompatible with SW2, but FW1 is compatible with SW2, then
SW1 can be upgraded to SW2 by ICT equipment, and not update FW1.The part finally run in ICT equipment is SW2, FW1
And HW.
C:Referring to shown in table 6 below:
Table 6
In table 6, the version of target software is less than the version of Current software, and the version of target firmware is less than the version of current firmware
This, the hardware version before and after ICT renewal of the equipment does not change.In example shown in table 6, the renewal of ICT its upper side parts is specific
There can be following three kinds of situations
(1) if ICT equipment judges that sw2 matches with the software version number in the first compatible configuration file corresponding to sw1, fw1
With SW2 corresponding to firmware version number in the 4th compatible configuration file match, and fw2 also with SW2 corresponding to the 4th compatible configure
Firmware version number matching in file, then illustrate that SW2 is compatible with SW1, FW1, FW2 are compatible with SW2.But no matter FW1 and FW2
Version size, FW1 without retract (it is optional, can also retract, but to be determined according to specific system risk, general feelings
Do not retracted under condition), SW1 is only return back to SW2.The part finally run in ICT equipment is SW2, FW1 and HW.
(2) if ICT equipment judges that sw2 matches with the software version number in the first compatible configuration file corresponding to sw1, fw2
With SW2 corresponding to firmware version number in the 4th compatible configuration file match, but corresponding to fw1 and SW2 the 4th it is compatible configure it is literary
Firmware version number in part mismatches, then illustrates that SW2 is compatible with SW1, FW2 is compatible with SW2, but FW1 and SW2 is incompatible, then
SW1 can return back to SW2 by ICT equipment, and FW1 is degraded and return back to FW2.The part finally run in ICT equipment is
SW2, FW2 and HW.
(3) if ICT equipment judges that sw2 matches with the software version number in the first compatible configuration file corresponding to sw1, fw2
With SW2 corresponding to firmware version number in the 4th compatible configuration file mismatch, but the 4th compatible configured corresponding to fw1 and SW2
Firmware version number matching in file, then illustrate that SW2 is compatible with SW1, FW2 is incompatible with SW2, but FW1 is compatible with SW2, then
SW1 can return back to SW2, and the FW1 that do not retract by ICT equipment.The part finally run in ICT equipment is SW2, FW1
And HW.
D:Referring to shown in table 7 below:
Table 7
In table 7, the version of target software is less than the version of Current software, and the version of target firmware is higher than the version of current firmware
This, the hardware version before and after ICT renewal of the equipment does not change.In example shown in table 7, the renewal of ICT its upper side parts is specific
There can be following three kinds of situations
(1) if ICT equipment judges that sw2 matches with the software version number in the first compatible configuration file corresponding to sw1, fw1
With SW2 corresponding to firmware version number in the 4th compatible configuration file match, and fw2 also with SW2 corresponding to the 4th compatible configure
Firmware version number matching in file, then illustrate that SW2 is compatible with SW1, FW1, FW2 are compatible with SW2.Optionally, ICT equipment
SW1 only can be return back to SW2, FW1 does not upgrade, or, SW1 is return back to SW2, also, FW1 is upgraded to FW2.
The part finally run in ICT equipment is SW2, FW1 and HW, or, can also be SW2, FW2 and HW.
(2) if ICT equipment judges that sw2 matches with the software version number in the first compatible configuration file corresponding to sw1, fw2
With SW2 corresponding to firmware version number in the 4th compatible configuration file match, but corresponding to fw1 and SW2 the 4th it is compatible configure it is literary
Firmware version number in part mismatches, then illustrates that SW2 is compatible with SW1, FW2 is compatible with SW2, but FW1 and SW2 is incompatible, then
SW1 can return back to SW2 by ICT equipment, and FW1 is upgraded into FW2.The part finally run in ICT equipment be SW2,
FW2 and HW.
(3) if ICT equipment judges that sw2 matches with the software version number in the first compatible configuration file corresponding to sw1, fw2
With SW2 corresponding to firmware version number in the 4th compatible configuration file mismatch, but the 4th compatible configured corresponding to fw1 and SW2
Firmware version number matching in file, then illustrate that SW2 is compatible with SW1, FW2 is incompatible with SW2, but FW1 is compatible with SW2, then ICT
SW1 can return back to SW2 by equipment, and not upgrade FW1.The part finally run in ICT equipment be SW2, FW1 and
HW。
Example two:
If there is hardware module damage in operating ICT equipment, it is necessary to carry out parts replacement.The version number of spare part and
Operating part version number is possible to inconsistent, and part version number here can be that hardware version numbers are inconsistent, Ke Yishi
Firmware version number is inconsistent, can also be that software version number is inconsistent.Needed for maintenance is convenient with safety in operation, ICT systems
System carries out version synchronization, it is ensured that the spare part version newly accessed is compatible with the ICT systems holding being currently running, therefore is changing spare part
Afterwards, also the part on the spare part is updated.
Assuming that after some ICT equipment replacement spare part in ICT systems, the version number of the software SW1 on spare part is sw1,
The version number of firmware FW1 on spare part is fw1, and the version number of the hardware HW1 on spare part is hw1, the spare part version and ICT systems
In the versions of other ICT equipment can not keep compatible, it is therefore desirable to update the spare part version.Therefore, the spare part version can be with
It is considered the version of foregoing part to be updated, and the part version number of normal operation includes in ICT systems:Software SW2 version
This number sw2, firmware FW2 version number fw2, hardware HW2 version number hw2, therefore, these cause ICT system normal operations
Part version be target component version.Also, SW2, FW2 and HW2 are compatible.Therefore, renewal process is specific
Following tetra- kinds of situations of E, F, G, H can be divided into.
E:Ginseng is shown in Table 8:
Table 8
In table 8, software version on spare part is less than the version of target software, and the firmware version on spare part is less than target firmware
Version, the hardware version on spare part is less than the version of target hardware.In the example shown in table 8, after changing spare part, ICT is set
The synchronization of standby upper spare part can specifically have following four situation
(1) if ICT equipment judges that sw2 matches with the software version number in the first compatible configuration file corresponding to sw1, and sentence
Disconnected hw1 and version numbers match (the i.e. hw1 Hardware Compatibility Lists corresponding with FW2 in the 5th compatible configuration file corresponding to FW2
In version numbers match), and determine fw1 and fw2 with SW2 corresponding to firmware version number in the 4th compatible configuration file
Match somebody with somebody, then illustrate that SW2 is compatible with SW1, FW1, FW2 are compatible with SW2, and HW1 is compatible with FW2.Then ICT equipment can be by SW1 liters
Level arrives SW2, and FW1 is upgraded to FW2, and uses HW1.The part finally run in ICT equipment is SW2, FW2 and HW1.
(2) if ICT equipment judges that sw2 matches with the software version number in the first compatible configuration file corresponding to sw1, and sentence
Disconnected hw1 and version numbers match (the i.e. hw1 Hardware Compatibility Lists corresponding with FW2 in the 5th compatible configuration file corresponding to FW2
In version numbers match), and determine that fw1 and firmware version number in the 4th compatible configuration file corresponding to SW2 match, but fw2
With SW2 corresponding to firmware version number in the 4th compatible configuration file mismatch, then illustrate that SW2 is compatible with SW1, FW1 is simultaneous with SW2
Hold, FW2 is incompatible with SW2, and HW1 is compatible with FW2.Then SW1 can be upgraded to SW2 by ICT equipment, and FW1 does not upgrade, and uses
HW1.The part finally run in ICT equipment is SW2, FW1 and HW1.
(3) if ICT equipment judges that sw2 matches with the software version number in the first compatible configuration file corresponding to sw1, and sentence
Disconnected hw1 mismatches (i.e. hw1 hardware compatibility row corresponding with FW2 with the version number in the 5th compatible configuration file corresponding to FW2
Version number in table mismatches), but hw1 is compatible with FW1;And determine fw1 with the 4th compatible configuration file corresponding to SW2
Firmware version number matching, then illustrate that SW2 is compatible with SW1, FW1 is compatible with SW2, and HW1 is compatible with FW1, then ICT equipment can general
SW1 is upgraded to SW2, and FW1 does not upgrade, and uses HW1.The part finally run in ICT equipment is SW2, FW1 and HW1.
(4) if ICT equipment judges that sw2 matches with the software version number in the first compatible configuration file corresponding to sw1, and sentence
Disconnected hw1 mismatches (i.e. hw1 hardware compatibility row corresponding with FW2 with the version number in the 5th compatible configuration file corresponding to FW2
Version number in table mismatches), but hw1 is compatible with FW1;And determine fw1 and the 4th compatible configuration file corresponding to SW2
In firmware version number mismatch, then illustrate that SW2 is compatible with SW1, HW1 is compatible with FW1, but FW1 and SW2 is incompatible, then ICT is set
Standby report an error does not update.
F:Ginseng is shown in Table 9:
Table 9
In table 9, software version on spare part is less than the version of target software, and the firmware version on spare part is higher than target firmware
Version, the hardware version on spare part is less than the version of target hardware.In the example shown in table 9, after changing spare part, ICT is set
The synchronization of standby upper spare part can specifically have following four situation
(1) if ICT equipment judges that sw2 matches with the software version number in the first compatible configuration file corresponding to sw1, and sentence
Disconnected hw1 and version numbers match (the i.e. hw1 Hardware Compatibility Lists corresponding with FW2 in the 5th compatible configuration file corresponding to FW2
In version numbers match), and determine fw1 and fw2 with SW2 corresponding to firmware version number in the 4th compatible configuration file
Match somebody with somebody, then illustrate that SW2 is compatible with SW1, FW1, FW2 are compatible with SW2, and HW1 is compatible with FW2.Then ICT equipment can be by SW1 liters
Level arrives SW2, and FW1 does not upgrade, and uses HW1.The part finally run in ICT equipment is SW2, FW1 and HW1.
(2) if ICT equipment judges that sw2 matches with the software version number in the first compatible configuration file corresponding to sw1, and sentence
Disconnected hw1 and version numbers match (the i.e. hw1 Hardware Compatibility Lists corresponding with FW2 in the 5th compatible configuration file corresponding to FW2
In version numbers match), and determine that fw2 and firmware version number in the 4th compatible configuration file corresponding to SW2 match, but fw1
With SW2 corresponding to firmware version number in the 4th compatible configuration file mismatch, then illustrate that SW2 is compatible with SW1, FW2 is simultaneous with SW2
Hold, FW1 is incompatible with SW2, and HW1 is compatible with FW2.Then SW1 can be upgraded to SW2 by ICT equipment, and FW1 return back to FW2, and
Using HW1.The part finally run in ICT equipment is SW2, FW2 and HW1.
(3) if ICT equipment judges that sw2 matches with the software version number in the first compatible configuration file corresponding to sw1, and sentence
Disconnected hw1 mismatches (i.e. hw1 hardware compatibility row corresponding with FW2 with the version number in the 5th compatible configuration file corresponding to FW2
Version number in table mismatches), but hw1 is compatible with FW1;And determine fw1 with the 4th compatible configuration file corresponding to SW2
Firmware version number matching, then illustrate that HW1 is compatible with FW1, FW1 is compatible with SW2, and SW2 is compatible with SW1, then ICT equipment can general
SW1 is upgraded to SW2, and FW1 does not update, and uses HW1.The part finally run in ICT equipment is SW2, FW1 and HW1.
(4) if ICT equipment judges that sw2 matches with the software version number in the first compatible configuration file corresponding to sw1, and sentence
Disconnected hw1 mismatches (i.e. hw1 hardware compatibility row corresponding with FW2 with the version number in the 5th compatible configuration file corresponding to FW2
Version number in table mismatches), but hw1 is compatible with FW1;And determine fw1 and the 4th compatible configuration file corresponding to SW2
In firmware version number mismatch, then illustrate that SW2 is compatible with SW1, HW1 is compatible with FW1, but FW1 and SW2 is incompatible, then ICT
Equipment, which reports an error, not to be updated.
G:Ginseng is shown in Table 10:
Table 10
In table 10, software version on spare part is less than the version of target software, and the firmware version on spare part is consolidated higher than target
The version of part, the hardware version on spare part are higher than the version of target hardware.In the example shown in table 10, after changing spare part, ICT
The synchronization of spare part can specifically have following four situation in equipment
(1) if ICT equipment judges that sw2 matches with the software version number in the first compatible configuration file corresponding to sw1, and sentence
Disconnected hw1 and version numbers match (the i.e. hw1 Hardware Compatibility Lists corresponding with FW2 in the 5th compatible configuration file corresponding to FW2
In version numbers match), and determine fw1 and fw2 with SW2 corresponding to firmware version number in the 4th compatible configuration file
Match somebody with somebody, then illustrate that SW2 is compatible with SW1, FW1, FW2 are compatible with SW2, and HW1 is compatible with FW2.Then ICT equipment can be by SW1 liters
Level arrives SW2, and FW1 does not upgrade, and uses HW1.The part finally run in ICT equipment is SW2, FW1 and HW1.
(2) if ICT equipment judges that sw2 matches with the software version number in the first compatible configuration file corresponding to sw1, and sentence
Disconnected hw1 is with the version numbers match in the 5th compatible configuration file corresponding to FW2 (i.e. in hw1 Hardware Compatibility Lists corresponding with FW2
Version numbers match), and determine that fw2 and firmware version number in the 4th compatible configuration file corresponding to SW2 match, but fw1 with
Firmware version number in 4th compatible configuration file corresponding to SW2 mismatches, then illustrates that SW2 is compatible with SW1, FW2 is simultaneous with SW2
Hold, FW1 is incompatible with SW2, and HW1 is compatible with FW2.Then SW1 can be upgraded to SW2 by ICT equipment, and FW1 return back to FW2, and
Using HW1.The part finally run in ICT equipment is SW2, FW2 and HW1.
(3) if ICT equipment judges that sw2 matches with the software version number in the first compatible configuration file corresponding to sw1, and sentence
Disconnected hw1 mismatches (i.e. hw1 hardware compatibility row corresponding with FW2 with the version number in the 5th compatible configuration file corresponding to FW2
Version number in table mismatches), but hw1 is compatible with FW1;And determine fw1 with the 4th compatible configuration file corresponding to SW2
Firmware version number matching, then illustrate that HW1 is compatible with FW1, FW1 is compatible with SW2, and SW2 is compatible with SW1, then ICT equipment can general
SW1 is upgraded to SW2, and FW1 does not update, and uses HW1.The part finally run in ICT equipment is SW2, FW1 and HW1.
(4) if ICT equipment judges that sw2 matches with the software version number in the first compatible configuration file corresponding to sw1, and sentence
Disconnected hw1 mismatches (i.e. hw1 hardware compatibility row corresponding with FW2 with the version number in the 5th compatible configuration file corresponding to FW2
Version number in table mismatches), but hw1 is compatible with FW1;And determine fw1 and the 4th compatible configuration file corresponding to SW2
In firmware version number mismatch, then illustrate that SW2 is compatible with SW1, HW1 is compatible with FW1, but FW1 and SW2 is incompatible, then ICT
Equipment, which reports an error, not to be updated.
H:Ginseng is shown in Table 11:
Table 11
In table 11, software version on spare part is higher than the version of target software, and the firmware version on spare part is consolidated higher than target
The version of part, the hardware version on spare part are higher than the version of target hardware.In the example shown in table 11, after changing spare part, ICT
The synchronization of spare part can specifically have following four situation in equipment
(1) if ICT equipment judges that sw2 matches with the software version number in the first compatible configuration file corresponding to sw1, and sentence
Disconnected hw1 and version numbers match (the i.e. hw1 Hardware Compatibility Lists corresponding with FW2 in the 5th compatible configuration file corresponding to FW2
In version numbers match), and determine fw1 and fw2 with SW2 corresponding to firmware version number in the 4th compatible configuration file
Match somebody with somebody, then illustrate that SW2 is compatible with SW1, FW1, FW2 are compatible with SW2, and HW1 is compatible with FW2.Then ICT equipment can return SW1
SW2 is fallen back on, FW1 does not upgrade, and uses HW1.The part finally run in ICT equipment is SW2, FW1 and HW1.
(2) if ICT equipment judges that sw2 matches with the software version number in the first compatible configuration file corresponding to sw1, and sentence
Disconnected hw1 and version numbers match (the i.e. hw1 Hardware Compatibility Lists corresponding with FW2 in the 5th compatible configuration file corresponding to FW2
In version numbers match), and determine that fw2 and firmware version number in the 4th compatible configuration file corresponding to SW2 match, but fw1
With SW2 corresponding to firmware version number in the 4th compatible configuration file mismatch, then illustrate that SW2 is compatible with SW1, FW2 is simultaneous with SW2
Hold, HW1 is compatible with FW2, and FW1 is incompatible with SW2.Then SW1 can return back to SW2 by ICT equipment, and FW1 return back to FW2, and adopts
Use HW1.The part finally run in ICT equipment is SW2, FW2 and HW1.
(3) if ICT equipment judges that sw2 matches with the software version number in the first compatible configuration file corresponding to sw1, and sentence
Disconnected hw1 mismatches (i.e. hw1 hardware compatibility row corresponding with FW2 with the version number in the 5th compatible configuration file corresponding to FW2
Version number in table mismatches), but hw1 is compatible with FW1;And determine fw1 with the 4th compatible configuration file corresponding to SW2
Firmware version number matching, then illustrate that HW1 is compatible with FW1, FW1 is compatible with SW2, and SW2 is compatible with SW1, then ICT equipment can general
SW1 return back to SW2, and FW1 does not update, and uses HW1.The part finally run in ICT equipment is SW2, FW1 and HW1.
(4) if ICT equipment judges that sw2 matches with the software version number in the first compatible configuration file corresponding to sw1, and sentence
Disconnected hw1 mismatches (i.e. hw1 hardware compatibility row corresponding with FW2 with the version number in the 5th compatible configuration file corresponding to FW2
Version number in table mismatches), but hw1 is compatible with FW1;And determine fw1 and the 4th compatible configuration file corresponding to SW2
In firmware version number mismatch, then illustrate that SW2 is compatible with SW1, HW1 is compatible with FW1, but FW1 and SW2 is incompatible, then ICT
Equipment, which reports an error, not to be updated.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above-mentioned each method embodiment can lead to
The related hardware of programmed instruction is crossed to complete.Foregoing program can be stored in a computer read/write memory medium.The journey
Sequence upon execution, execution the step of including above-mentioned each method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or
Person's CD etc. is various can be with the medium of store program codes.
Fig. 9 is the structural representation of ICT apparatus embodiments provided by the invention.The ICT equipment is preset with the first compatibility and matched somebody with somebody
File, the second compatible configuration file and the 3rd compatible configuration file are put, the first compatible configuration file includes setting with the ICT
Version number's scope of the compatible first component of standby the first upper part to be updated, the second compatible configuration file include with it is described
Version number's model of the second part to be updated and first the part to be updated second component of compatibility in first ICT equipment
Enclose, the 3rd compatible configuration file includes treating more with the 3rd part to be updated and described second in the first ICT equipment
Version number's scope of the compatible third member of new part;First part to be updated closes with the described second part to be updated
Connection, second part to be updated and the 3rd part relation to be updated, and the ICT equipment normal operation.Such as Fig. 9 institutes
Show, the ICT equipment 10 includes:Acquisition module 11, determining module 12 and update module 13.
Wherein, acquisition module 11, for obtaining version number and the target component of part to be updated in the ICT equipment
Version number, and determine the attribute information of the part to be updated;The part to be updated is the described first part to be updated, described
Any of second part to be updated, described 3rd part to be updated;
Determining module 12, for the attribute information according to the part to be updated, from the described first compatible configuration file, institute
State and compatible configuration text corresponding to the part to be updated is determined in the second compatible configuration file and the 3rd compatible configuration file
Part;
Update module 13, for the version of compatible configuration file and the target component according to corresponding to the part to be updated
This number is updated to the part to be updated.
ICT equipment provided in an embodiment of the present invention, can perform the embodiment of the method shown in above-mentioned Fig. 2, its realization principle
It is similar with technique effect, it will not be repeated here.
Further, above-mentioned update module 13, specifically for judging whether the version number of the target component treats with described
The part version numbers match in compatible configuration file corresponding to part is updated, obtains judged result, and according to the judged result
The part to be updated is updated.
Optionally, it is simultaneous corresponding to the part to be updated if the part to be updated is the described first part to be updated
Appearance configuration file is the described first compatible configuration file;The then update module 13, if being institute specifically for the judged result
The part version numbers match in version number's configuration file compatible with described first of target component is stated, then judges that described second treats more
The version number of new part whether with the target component corresponding to part version numbers match in the 4th compatible configuration file;If
Match somebody with somebody, be then the target component by the described first component update to be updated;Wherein, the 4th compatible configuration file include with
Version number's scope of the compatible second component of the target component.
Optionally, above-mentioned update module 13, if being additionally operable to judge the version number of the described second part to be updated and described the
Part version number in four compatible configuration files mismatches, if then determining whether, by the described second component update to be updated be new
After the second component of version, if with the part version numbers match in the 4th compatible configuration file;If matching, by described in
First component update to be updated is the target component, and by the described second component update to be updated be the redaction second
Part.
ICT equipment provided in an embodiment of the present invention, can perform the embodiment of the method shown in above-mentioned Fig. 5, its realization principle
It is similar with technique effect, it will not be repeated here.
Optionally, it is simultaneous corresponding to the part to be updated if the part to be updated is the described second part to be updated
Appearance configuration file is the described second compatible configuration file;The then update module 13, if being institute specifically for the judged result
The part version numbers match in version number's configuration file compatible with described second of target component is stated, then judges that the described 3rd treats more
The version number of new part whether with the target component corresponding to part version numbers match in the 5th compatible configuration file;If
Match somebody with somebody, be then the target component by the described second component update to be updated;Wherein, the 5th compatible configuration file include with
Version number's scope of the compatible third member of the target component.
Optionally, the update module 13, it is additionally operable to judge the version number and the described 5th of the 3rd part to be updated
Part version number in compatible configuration file mismatches, if then determining whether, by the 3rd component update to be updated be new edition
After this third member, if with the part version numbers match in the 5th compatible configuration file;If matching, by described the
Two component updates to be updated are the target component, and the 3rd by the 3rd component update to be updated for the redaction
Part.
Optionally, the update module 13, if being additionally operable to the judged result as the version number of the target component and institute
The part version number stated in the second compatible configuration file mismatches, if then determining whether, by the first component update to be updated be new
After the first component of version, the part version number in version number's configuration file whether compatible with the 6th of the target component
Match somebody with somebody;If matching, determine whether the 3rd part to be updated version number whether the corresponding with the target component the 5th
Part version numbers match in compatible configuration file;If matching, is the target portion by the described second component update to be updated
Part, and the first component by the described first component update to be updated for the redaction;Wherein, the 6th compatible configuration file
Include version number's scope of the compatible second component of the first component with the redaction and the part to be updated.
ICT equipment provided in an embodiment of the present invention, can perform the embodiment of the method shown in above-mentioned Fig. 6, its realization principle
It is similar with technique effect, it will not be repeated here.
Optionally, if the part to be updated is the 3rd part to be updated, compatibility corresponding to the part to be updated is matched somebody with somebody
It is the 3rd compatible configuration file to put file;The then update module 13, it is the target specifically for the judged result
The version number of part and the part version numbers match in the 3rd compatible configuration file, then by the 3rd part to be updated more
It is newly the target component.
ICT equipment provided in an embodiment of the present invention, can perform the embodiment of the method shown in above-mentioned Fig. 6, its realization principle
It is similar with technique effect, it will not be repeated here.
Finally it should be noted that:Various embodiments above is merely illustrative of the technical solution of the present invention, rather than its limitations;To the greatest extent
The present invention is described in detail with reference to foregoing embodiments for pipe, it will be understood by those within the art that:Its according to
The technical scheme described in foregoing embodiments can so be modified, either which part or all technical characteristic are entered
Row equivalent substitution;And these modifications or replacement, the essence of appropriate technical solution is departed from various embodiments of the present invention technology
The scope of scheme.
Claims (16)
1. a kind of control method of version updating, applied to ICT ICT systems, the ICT systems include at least one
Individual ICT equipment, it is characterised in that it is simultaneous that the ICT equipment includes the first compatible configuration file, the second compatible configuration file and the 3rd
Hold configuration file, the first compatible configuration file includes compatible with the first part to be updated in the ICT equipment first
Version number's scope of part, the second compatible configuration file include and the second part to be updated in the ICT equipment and institute
State version number's scope of the compatible second component of the first part to be updated, the 3rd compatible configuration file include with it is described
Version number's scope of the 3rd part to be updated and second the part to be updated third member of compatibility in ICT equipment;Institute
State the first part to be updated and the described second part relation to be updated, second part to be updated and the 3rd portion to be updated
Part associates, and the ICT equipment normal operation;Methods described includes:
The ICT equipment obtains the version number of part to be updated and the version number of target component in the ICT equipment, and determines
The attribute information of the part to be updated;The part to be updated is the described first part to be updated, second portion to be updated
Any of part, described 3rd part to be updated;
The ICT equipment is according to the attribute information of the part to be updated, from the described first compatible configuration file, described second simultaneous
Hold in configuration file and the 3rd compatible configuration file and determine compatible configuration file corresponding to the part to be updated;
The ICT equipment according to corresponding to the part to be updated the version number of compatible configuration file and the target component to institute
Part to be updated is stated to be updated.
2. according to the method for claim 1, it is characterised in that the ICT equipment is according to corresponding to the part to be updated
The version number of compatible configuration file and the target component is updated to the part to be updated, including:
The ICT equipment judge the target component version number whether with the part to be updated corresponding to compatible configuration file
In part version numbers match, obtain judged result;
The ICT equipment is updated according to the judged result to the part to be updated.
3. according to the method for claim 2, it is characterised in that if the part to be updated is the described first portion to be updated
Part, then compatible configuration file corresponding to the part to be updated is the described first compatible configuration file;Then the ICT equipment according to
The judged result is updated to the part to be updated, including:
If the judged result is the part version number in version number's configuration file compatible with described first of the target component
Matching, then the ICT equipment judge the described second part to be updated version number whether the corresponding with the target component the 4th
Part version numbers match in compatible configuration file;Wherein, the 4th compatible configuration file includes and the target component
Version number's scope of compatible second component;
If so, then the described first component update to be updated is the target component by the ICT equipment.
4. according to the method for claim 3, it is characterised in that the ICT equipment judges that the described second part to be updated is
Part version numbers match in no 4th compatible configuration file corresponding to the target component, in addition to:
If the ICT equipment judges the version number of the described second part to be updated and the part in the 4th compatible configuration file
Version number mismatch, if then the ICT equipment judge by the described second component update to be updated as the second component of redaction after,
Whether with the part version numbers match in the 4th compatible configuration file;
If so, then the described first component update to be updated is the target component by the ICT equipment, and described second is treated more
New component update is the second component of the redaction.
5. according to the method for claim 2, it is characterised in that if the part to be updated is the described second portion to be updated
Part, then compatible configuration file corresponding to the part to be updated is the described second compatible configuration file;Then the ICT equipment according to
The judged result is updated to the part to be updated, including:
If the judged result is the part version number in version number's configuration file compatible with described second of the target component
Matching, then the ICT equipment judge the 3rd part to be updated version number whether the corresponding with the target component the 5th
Part version numbers match in compatible configuration file;Wherein, the 5th compatible configuration file includes and the target component
Version number's scope of compatible third member;
If so, then the described second component update to be updated is the target component by the ICT equipment.
6. according to the method for claim 5, it is characterised in that the ICT equipment judges the 3rd part to be updated
Version number whether with the target component corresponding to part version numbers match in the 5th compatible configuration file, in addition to:
If the ICT equipment judges the version number of the 3rd part to be updated and the part in the 5th compatible configuration file
Version number mismatch, if then the ICT equipment judge by the 3rd component update to be updated as the third member of redaction after,
Whether with the part version numbers match in the 5th compatible configuration file;
If so, then the described second component update to be updated is the target component by the ICT equipment, and the described 3rd is treated more
New component update is the third member of the redaction.
7. according to the method for claim 5, it is characterised in that the ICT equipment is treated according to the judged result to described
Renewal part is updated, in addition to:
If the judged result is the part version number in version number's configuration file compatible with described second of the target component
Mismatch, if then the ICT equipment judge by the first component update to be updated as the first component of redaction after, the target portion
Part version numbers match in the version number of part configuration file whether compatible with the 6th;Wherein, the 6th compatible configuration file
Include version number's scope of the compatible second component of the first component with the redaction and the part to be updated;
If so, then the ICT equipment judges whether the version number of the 3rd part to be updated is corresponding with the target component
Part version numbers match in 5th compatible configuration file;
If so, then the described second component update to be updated is the target component by the ICT equipment, and described first is treated more
New component update is the first component of the redaction.
8. according to the method for claim 2, it is characterised in that if the part to be updated is the 3rd part to be updated,
Compatible configuration file corresponding to the part to be updated is the 3rd compatible configuration file;Then the ICT equipment is according to
Judged result is updated to the part to be updated, including:
If version number of the judged result for the target component and the part version number in the 3rd compatible configuration file
Matching, then the 3rd component update to be updated is the target component by the ICT equipment.
9. a kind of ICT ICT equipment, it is characterised in that the ICT equipment is preset with the first compatible configuration file,
Two compatible configuration files and the 3rd compatible configuration file, the first compatible configuration file include and the in the ICT equipment
Version number's scope of the compatible first component of one part to be updated, the second compatible configuration file include and the ICT equipment
On the compatible second component of the second part to be updated and first part to be updated version number's scope, the described 3rd is simultaneous
Holding configuration file includes threeth compatible with the 3rd part to be updated in the ICT equipment and second part to be updated
Version number's scope of part;First part to be updated and the described second part relation to be updated, second portion to be updated
Part and the 3rd part relation to be updated, and the ICT equipment normal operation;The ICT equipment includes:
Acquisition module, for obtaining the version number of part to be updated and the version number of target component in the ICT equipment, and really
The attribute information of the fixed part to be updated;The part to be updated is the described first part to be updated, described second to be updated
Any of part, described 3rd part to be updated;
Determining module, for the attribute information according to the part to be updated, from the described first compatible configuration file, described second
Compatible configuration file corresponding to the part to be updated is determined in compatible configuration file and the 3rd compatible configuration file;
Update module, for the version number pair of compatible configuration file and the target component according to corresponding to the part to be updated
The part to be updated is updated.
10. ICT equipment according to claim 9, it is characterised in that the update module, specifically for judging the mesh
Mark part version number whether with the part to be updated corresponding to part version numbers match in compatible configuration file, sentenced
Disconnected result, and the part to be updated is updated according to the judged result.
11. ICT equipment according to claim 10, it is characterised in that if the part to be updated is treated more for described first
New part, then compatible configuration file corresponding to the part to be updated is the described first compatible configuration file;The then renewal mould
Block, if being the part in version number's configuration file compatible with described first of the target component specifically for the judged result
Version numbers match, then judge the described second part to be updated version number whether with the target component corresponding to the 4th compatible match somebody with somebody
Put the part version numbers match in file;If matching, is the target component by the described first component update to be updated;Its
In, the 4th compatible configuration file includes version number's scope of the second component compatible with the target component.
12. ICT equipment according to claim 11, it is characterised in that the update module, if being additionally operable to judge described
The version number of two parts to be updated mismatches with the part version number in the 4th compatible configuration file, if then determining whether
By the described second component update to be updated for redaction second component after, if with the portion in the 4th compatible configuration file
Part version numbers match;If matching, is the target component by the described first component update to be updated, and described second is treated more
New component update is the second component of the redaction.
13. ICT equipment according to claim 10, it is characterised in that if the part to be updated is treated more for described second
New part, then compatible configuration file corresponding to the part to be updated is the described second compatible configuration file;The then renewal mould
Block, if being the part in version number's configuration file compatible with described second of the target component specifically for the judged result
Version numbers match, then judge the 3rd part to be updated version number whether with the target component corresponding to the 5th compatible match somebody with somebody
Put the part version numbers match in file;If matching, is the target component by the described second component update to be updated;Its
In, the 5th compatible configuration file includes version number's scope of the third member compatible with the target component.
14. ICT equipment according to claim 13, it is characterised in that the update module, be additionally operable to judge the described 3rd
The version number of part to be updated mismatches with the part version number in the 5th compatible configuration file, will if then determining whether
After 3rd component update to be updated is the third member of redaction, if with the part in the 5th compatible configuration file
Version numbers match;If matching, is the target component by the described second component update to be updated, and to be updated by the described 3rd
Component update is the third member of the redaction.
15. ICT equipment according to claim 13, it is characterised in that the update module, if being additionally operable to the judgement knot
Fruit mismatches for the part version number in version number's configuration file compatible with described second of the target component, then further sentences
If it is disconnected by the first component update to be updated for the first component of redaction after, the version number of the target component whether with it is the 6th simultaneous
Hold the part version numbers match in configuration file;If matching, determining whether the version number of the 3rd part to be updated is
Part version numbers match in no 5th compatible configuration file corresponding to the target component;If matching, by described second
Component update to be updated is the target component, and first by the described first component update to be updated for the redaction
Part;Wherein, the 6th compatible configuration file includes compatible with the first component of the redaction and the part to be updated
Second component version number's scope.
16. ICT equipment according to claim 10, it is characterised in that if the part to be updated is the 3rd portion to be updated
Part, then compatible configuration file corresponding to the part to be updated is the 3rd compatible configuration file;The then update module, tool
Body is used for version number of the judged result for the target component and the part version number in the 3rd compatible configuration file
Matching, then be the target component by the 3rd component update to be updated.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410787615.3A CN104503789B (en) | 2014-12-17 | 2014-12-17 | The control method and ICT equipment of version updating |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410787615.3A CN104503789B (en) | 2014-12-17 | 2014-12-17 | The control method and ICT equipment of version updating |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104503789A CN104503789A (en) | 2015-04-08 |
CN104503789B true CN104503789B (en) | 2017-11-17 |
Family
ID=52945190
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410787615.3A Active CN104503789B (en) | 2014-12-17 | 2014-12-17 | The control method and ICT equipment of version updating |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104503789B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110347414A (en) * | 2019-07-15 | 2019-10-18 | 西安易朴通讯技术有限公司 | Firmware update, device, equipment and computer readable storage medium |
CN112732296B (en) * | 2020-12-31 | 2023-10-24 | 青岛海尔科技有限公司 | Software version updating method and device, storage medium and electronic equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101763279A (en) * | 2010-01-15 | 2010-06-30 | 上海维宏电子科技有限公司 | BootLoader architectural design method |
CN103984581A (en) * | 2014-05-30 | 2014-08-13 | 乐视致新电子科技(天津)有限公司 | Firmware upgrading method and device of chip |
CN104125276A (en) * | 2014-07-21 | 2014-10-29 | 中兴通讯股份有限公司 | Upgrading method and device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2002013003A2 (en) * | 2000-08-04 | 2002-02-14 | Marconi Communications, Inc. | System and method for implementing a self-activating embedded application |
US20070106979A1 (en) * | 2005-10-11 | 2007-05-10 | Bea Systems, Inc. | Patch management system |
-
2014
- 2014-12-17 CN CN201410787615.3A patent/CN104503789B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101763279A (en) * | 2010-01-15 | 2010-06-30 | 上海维宏电子科技有限公司 | BootLoader architectural design method |
CN103984581A (en) * | 2014-05-30 | 2014-08-13 | 乐视致新电子科技(天津)有限公司 | Firmware upgrading method and device of chip |
CN104125276A (en) * | 2014-07-21 | 2014-10-29 | 中兴通讯股份有限公司 | Upgrading method and device |
Also Published As
Publication number | Publication date |
---|---|
CN104503789A (en) | 2015-04-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104238963B (en) | A kind of date storage method, storage device and storage system | |
US20160306612A1 (en) | Determining errors and warnings corresponding to a source code revision | |
ITMI20071601A1 (en) | METHOD OF WRITING DATA INTO A NON-VOLATILE MEMORY UNIT. | |
CN107122364A (en) | Data manipulation method and data management server | |
CN107656734A (en) | Update method, system, computer-readable recording medium and the storage control of code release information | |
CN102541941A (en) | Version management control method for multiple parties to co-operate file | |
CN110515641A (en) | The update method of server firmware, apparatus and system | |
US7818622B2 (en) | Method for recovering data processing system failures | |
CN105468373A (en) | Branch merging method and device | |
CN104503789B (en) | The control method and ICT equipment of version updating | |
CN104391714A (en) | Software update method and software update device for vehicle | |
CN108108193A (en) | A kind of easy-to-use firmware upgrade method of safety and system | |
CN107301070A (en) | A kind of upgrade method and terminal | |
CN104376073A (en) | Database recovery method and device | |
CN103514231A (en) | File naming method and electronic device | |
CN105739964A (en) | Implementation method for supporting version compatibility control based on Android platform | |
CN104317723B (en) | Method and system for tracking running information of drive program | |
US20090022244A1 (en) | Information processing apparatus and process execution method | |
CN104809325A (en) | Method and device for detecting distinctions between event log and process model | |
CN107391315A (en) | A kind of method and device of standby system file | |
CN104317833A (en) | Method and device for recovering system file indexes | |
CN101894024B (en) | Model bank-based model element consistency ensuring method | |
CN103677941B (en) | A kind of method and device for realizing smart card operating system module upgrade | |
US20200004389A1 (en) | Hierarchy editor tool for source code | |
CN105574024B (en) | Non-volatile data storage method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |