CN104503789A - Version updating control method and ICT (information and communication technology) equipment - Google Patents

Version updating control method and ICT (information and communication technology) equipment Download PDF

Info

Publication number
CN104503789A
CN104503789A CN201410787615.3A CN201410787615A CN104503789A CN 104503789 A CN104503789 A CN 104503789A CN 201410787615 A CN201410787615 A CN 201410787615A CN 104503789 A CN104503789 A CN 104503789A
Authority
CN
China
Prior art keywords
parts
updated
configuration file
version number
compatible
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410787615.3A
Other languages
Chinese (zh)
Other versions
CN104503789B (en
Inventor
杜宇旻
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201410787615.3A priority Critical patent/CN104503789B/en
Publication of CN104503789A publication Critical patent/CN104503789A/en
Application granted granted Critical
Publication of CN104503789B publication Critical patent/CN104503789B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

An embodiment of the invention provides a version updating control method and ICT (information and communication technology) equipment. The control method includes that the ICT equipment acquires a version number of a part for updating of the ICP equipment and a version number of a target part and determines attribute information of the part for updating; according to the attribute information of the part for updating, the ICT equipment determines a compatible configuration file corresponding to the part for updating from a first compatible configuration file, a second compatible configuration file and a third compatible configuration file; based on the compatible configuration file corresponding to the part for updating and the version number of the target part, the ICT equipment performs updating on the part for updating. According to the control method, the parts for updating of different attributes are subjected to different compatible configuration files, without global judgment, accordingly improving updating efficiency; besides, according to the embodiment, multi-level parts are conveniently upgraded and degraded, and updating is flexible.

Description

The control method of version updating and ICT equipment
Technical field
The embodiment of the present invention relates to computer technology, particularly relates to a kind of control method and ICT equipment of version updating.
Background technology
ICT (information and communication technology) (Information and Communication Technology, hereinafter referred to as ICT) system comprises multiple ICT equipment with software unit and hardware cell.Chip on hardware cell also can be accompanied with the necessary Small Scale Software of self-operating, and these Small Scale Softwares are referred to as firmware (Firmware).Therefore, in fact ICT equipment can be thought to be made up of hardware, firmware, software three class carrier, and system software operates on firmware, and firmware operates on hardware.In addition, the unit (this unit can be hardware cell, firmware unit or software unit) on ICT equipment respectively has its own corresponding version identifier, and more new capital take version identifier as mark at every turn.Because the software and hardware on ICT equipment often needs to revise or client's needs what's new characteristic on ICT equipment, therefore operating ICT equipment often needs to carry out edition upgrading, in addition, if find that on ICT equipment, redaction operation has problem, also may demote to operating version.
Prior art is when carrying out promotion and demotion to ICT equipment, and what often adopt is read the mode of configuration file, and the compatibility that namely ICT equipment reads in configuration file describes, and describes to judge between version whether whether front and back compatibility between liftable level or version according to this compatibility.
But what prior art adopted is overall configuration file, is arranged in identical file and controls, make the promotion and demotion underaction of version, and promotion and demotion efficiency is lower by software, hardware and firmware.
Summary of the invention
The embodiment of the present invention provides a kind of control method and ICT equipment of version updating, and the version updating in order to solve ICT equipment in prior art is dumb and upgrade inefficient technical matters.
First aspect, the invention provides a kind of control method of version updating, be applied to ICT (information and communication technology) ICT system, described ICT system comprises at least one ICT equipment, described ICT equipment comprises the first compatible configuration file, second compatible configuration file and the 3rd compatible configuration file, described first compatible configuration file comprises the version number's scope with the first component of the parts compatibility to be updated of first on described ICT equipment, described second compatible configuration file comprises the version number's scope with the second parts to be updated on a described ICT equipment and the equal compatible second component of described first parts to be updated, described 3rd compatible configuration file comprises the version number's scope with the 3rd parts to be updated on a described ICT equipment and equal the 3rd compatible parts of described second parts to be updated, described first parts to be updated and described second part relation to be updated, described second parts to be updated and described 3rd part relation to be updated, and described ICT equipment normally runs, described method comprises:
Described ICT equipment obtains the version number of parts to be updated on described ICT equipment and the version number of target component, and determines the attribute information of described parts to be updated; Described parts to be updated are any one in described first parts to be updated, described second parts to be updated, described 3rd parts to be updated;
Described ICT equipment, according to the attribute information of described parts to be updated, determines the compatible configuration file that described parts to be updated are corresponding from described first compatible configuration file, described second compatible configuration file and described 3rd compatible configuration file;
Described ICT equipment upgrades described parts to be updated according to the version number of compatible configuration file corresponding to described parts to be updated and described target component.
In conjunction with first aspect, in the first possible embodiment of first aspect, described ICT equipment upgrades described parts to be updated according to the version number of compatible configuration file corresponding to described parts to be updated and described target component, comprising:
Described ICT equipment judges the parts version numbers match in the compatible the configuration file whether version number of described target component is corresponding with described parts to be updated, obtains judged result;
Described ICT equipment upgrades described parts to be updated according to described judged result.
In conjunction with the first possible embodiment of first aspect, in the embodiment that the second of first aspect is possible, if described parts to be updated are described first parts to be updated, then the compatible configuration file that described parts to be updated are corresponding is described first compatible configuration file; Then described ICT equipment upgrades described parts to be updated according to described judged result, comprising:
If described judged result is the parts version numbers match in the version number of described target component and described first compatible configuration file, then described ICT equipment judges the parts version numbers match in the 4th compatible the configuration file whether version number of described second parts to be updated is corresponding with described target component; Wherein, described 4th compatible configuration file comprises the version number's scope with the second component of described target component compatibility;
If so, then described first component update to be updated is described target component by described ICT equipment.
In conjunction with the embodiment that the second of first aspect is possible, in the third possible embodiment of first aspect, described ICT equipment judges the parts version numbers match in the 4th compatible configuration file whether described second parts to be updated are corresponding with described target component, also comprises:
If described ICT equipment judges that the version number of described second parts to be updated does not mate with the parts version number in described 4th compatible configuration file, if then described ICT equipment judges described second component update to be updated is after the second component of redaction, whether with the parts version numbers match in described 4th compatible configuration file;
If so, then described first component update to be updated is described target component by described ICT equipment, and is the second component of described redaction by described second component update to be updated.
In conjunction with the first possible embodiment of first aspect, in the 4th kind of possible embodiment of first aspect, if described parts to be updated are described second parts to be updated, then the compatible configuration file that described parts to be updated are corresponding is described second compatible configuration file; Then described ICT equipment upgrades described parts to be updated according to described judged result, comprising:
If described judged result is the parts version numbers match in the version number of described target component and described second compatible configuration file, then described ICT equipment judges the parts version numbers match in the 5th compatible the configuration file whether version number of described 3rd parts to be updated is corresponding with described target component; Wherein, described 5th compatible configuration file comprises the version number's scope with the 3rd parts of described target component compatibility;
If so, then described second component update to be updated is described target component by described ICT equipment.
In conjunction with the 4th kind of possible embodiment of first aspect, in the 5th kind of possible embodiment of first aspect, described ICT equipment judges the parts version numbers match in the 5th compatible the configuration file whether version number of described 3rd parts to be updated is corresponding with described target component, also comprises:
If described ICT equipment judges that the version number of described 3rd parts to be updated does not mate with the parts version number in described 5th compatible configuration file, if then described ICT equipment judges described 3rd component update to be updated is after the 3rd parts of redaction, whether with the parts version numbers match in described 5th compatible configuration file;
If so, then described second component update to be updated is described target component by described ICT equipment, and is the 3rd parts of described redaction by described 3rd component update to be updated.
In conjunction with the 4th kind of possible embodiment of first aspect, in the 6th kind of possible embodiment of first aspect, described ICT equipment upgrades described parts to be updated according to described judged result, also comprises:
If the version number that described judged result is described target component does not mate with the parts version number in described second compatible configuration file, if then described ICT equipment judges the first component update to be updated is after the first component of redaction, the version number of described target component whether with the parts version numbers match in the 6th compatible configuration file; Wherein, described 6th compatible configuration file comprises the version number's scope with the first component of described redaction and the equal compatible second component of described parts to be updated;
If so, then described ICT equipment judges the parts version numbers match in the 5th compatible the configuration file whether version number of described 3rd parts to be updated is corresponding with described target component;
If so, then described second component update to be updated is described target component by described ICT equipment, and is the first component of described redaction by described first component update to be updated.
In conjunction with the first possible embodiment of first aspect, in the 7th kind of possible embodiment of first aspect, if described parts to be updated are the 3rd parts to be updated, then the compatible configuration file that described parts to be updated are corresponding is described 3rd compatible configuration file; Then described ICT equipment upgrades described parts to be updated according to described judged result, comprising:
If described judged result is the parts version numbers match in the version number of described target component and described 3rd compatible configuration file, then described 3rd component update to be updated is described target component by described ICT equipment.
Second aspect, the embodiment of the present invention provides a kind of ICT (information and communication technology) ICT equipment, described ICT equipment is preset with the first compatible configuration file, second compatible configuration file and the 3rd compatible configuration file, described first compatible configuration file comprises the version number's scope with the first component of the parts compatibility to be updated of first on described ICT equipment, described second compatible configuration file comprises the version number's scope with the second parts to be updated on a described ICT equipment and the equal compatible second component of described first parts to be updated, described 3rd compatible configuration file comprises the version number's scope with the 3rd parts to be updated on a described ICT equipment and equal the 3rd compatible parts of described second parts to be updated, described first parts to be updated and described second part relation to be updated, described second parts to be updated and described 3rd part relation to be updated, and described ICT equipment normally runs, described ICT equipment comprises:
Acquisition module, for obtaining the version number of parts to be updated on described ICT equipment and the version number of target component, and determines the attribute information of described parts to be updated; Described parts to be updated are any one in described first parts to be updated, described second parts to be updated, described 3rd parts to be updated;
Determination module, for the attribute information according to described parts to be updated, determines the compatible configuration file that described parts to be updated are corresponding from described first compatible configuration file, described second compatible configuration file and described 3rd compatible configuration file;
Update module, for upgrading described parts to be updated according to the version number of compatible configuration file corresponding to described parts to be updated and described target component.
In conjunction with second aspect, in the first possible embodiment of second aspect, described update module, specifically for judging the parts version numbers match in the compatible the configuration file whether version number of described target component is corresponding with described parts to be updated, obtain judged result, and according to described judged result, described parts to be updated are upgraded.
In conjunction with the first possible embodiment of second aspect, in the embodiment that the second of second aspect is possible, if described parts to be updated are described first parts to be updated, then the compatible configuration file that described parts to be updated are corresponding is described first compatible configuration file; Then described update module, if specifically for the parts version numbers match that described judged result is in the version number of described target component and described first compatible configuration file, then judge the parts version numbers match in the 4th compatible the configuration file whether version number of described second parts to be updated is corresponding with described target component; If coupling, be then described target component by described first component update to be updated; Wherein, described 4th compatible configuration file comprises the version number's scope with the second component of described target component compatibility.
In conjunction with the embodiment that the second of second aspect is possible, in the third possible embodiment of second aspect, described update module, if also for judging that the version number of described second parts to be updated does not mate with the parts version number in described 4th compatible configuration file, if then judging described second component update to be updated is further after the second component of redaction, whether with the parts version numbers match in described 4th compatible configuration file; If coupling, be then described target component by described first component update to be updated, and be the second component of described redaction by described second component update to be updated.
In conjunction with the first possible embodiment of second aspect, in the 4th kind of possible embodiment of second aspect, if described parts to be updated are described second parts to be updated, then the compatible configuration file that described parts to be updated are corresponding is described second compatible configuration file; Then described update module, if specifically for the parts version numbers match that described judged result is in the version number of described target component and described second compatible configuration file, then judge the parts version numbers match in the 5th compatible the configuration file whether version number of described 3rd parts to be updated is corresponding with described target component; If coupling, be then described target component by described second component update to be updated; Wherein, described 5th compatible configuration file comprises the version number's scope with the 3rd parts of described target component compatibility.
In conjunction with the 4th kind of possible embodiment of second aspect, in the 5th kind of possible embodiment of second aspect, described update module, also for judging that the version number of described 3rd parts to be updated does not mate with the parts version number in described 5th compatible configuration file, if then judging described 3rd component update to be updated is further after the 3rd parts of redaction, whether with the parts version numbers match in described 5th compatible configuration file; If coupling, be then described target component by described second component update to be updated, and be the 3rd parts of described redaction by described 3rd component update to be updated.
In conjunction with the 4th kind of possible embodiment of second aspect, in the 6th kind of possible embodiment of second aspect, described update module, if be also that the version number of described target component does not mate with the parts version number in described second compatible configuration file for described judged result, if then judging the first component update to be updated is further after the first component of redaction, the version number of described target component whether with the parts version numbers match in the 6th compatible configuration file; If coupling, then judge the parts version numbers match in the 5th compatible the configuration file whether version number of described 3rd parts to be updated is corresponding with described target component further; If coupling, be then described target component by described second component update to be updated, and be the first component of described redaction by described first component update to be updated; Wherein, described 6th compatible configuration file comprises the version number's scope with the first component of described redaction and the equal compatible second component of described parts to be updated.
In conjunction with the first possible embodiment of second aspect, in the 7th kind of possible embodiment of second aspect, if described parts to be updated are the 3rd parts to be updated, then the compatible configuration file that described parts to be updated are corresponding is described 3rd compatible configuration file; Then described update module is the parts version numbers match in the version number of described target component and described 3rd compatible configuration file specifically for described judged result, be then described target component by described 3rd component update to be updated.
The control method of the version updating that the embodiment of the present invention provides and ICT equipment, the version number of parts to be updated and the version number of target component that state on ICT equipment is obtained by ICT equipment, and determine the attribute information of described parts to be updated, and according to the attribute information of parts to be updated, from the first compatible configuration file, the second compatible configuration file and the 3rd compatible configuration file, determine the compatible configuration file that these parts to be updated are corresponding, thus treat according to the version number of this compatible configuration file and target component and upgrade parts and upgrade.The method that the embodiment of the present invention provides, by adopting different compatible configuration files to the parts to be updated of different attribute, ICT equipment only need judge corresponding compatible configuration file carrying out judging whether treating upgrading when parts upgrade, judge without the need to carrying out the overall situation, therefore save the time upgrading version, improve renewal efficiency; In addition, the method that the embodiment of the present invention provides is conducive to the promotion and demotion respectively of each layer parts, upgrades more flexible.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is ICT system architecture schematic diagram 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 first compatible configuration file schematic diagram provided by the invention;
Fig. 4 is the second compatible configuration file schematic diagram provided by the invention;
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 embodiment four of version updating provided by the invention;
Fig. 8 is the 3rd compatible configuration file schematic diagram provided by the invention;
Fig. 9 is the structural representation of ICT apparatus embodiments provided by the invention.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The invention process is applied to ICT system, ICT system architecture shown in Figure 1, this ICT system comprises at least one ICT equipment, this ICT equipment can be (Information Technology, hereinafter referred to as IT) equipment, also can be (Communication Technology, hereinafter referred to as CT) equipment.When ICT system needing upgrade the software of one or more ICT equipment, firmware or hardware, can see the implementation of following embodiment of the method.The embodiment of the present invention solves when prior art upgrades the software of ICT equipment, firmware or hardware and upgrades dumb and upgrade inefficient technical matters.
Fig. 2 is the schematic flow sheet of the control method embodiment one of version updating provided by the invention.The executive agent of the method is the ICT equipment shown in above-mentioned Fig. 1, and this ICT equipment comprises the first compatible configuration file, the second compatible configuration file and the 3rd compatible configuration file.This first compatible configuration file comprises the version number's scope with the first component of the parts compatibility to be updated of first on described ICT equipment, described second compatible configuration file comprises the version number's scope with the second parts to be updated on a described ICT equipment and the equal compatible second component of described first parts to be updated, and described 3rd compatible configuration file comprises the version number's scope with the 3rd parts to be updated on a described ICT equipment and equal the 3rd compatible parts of described second parts to be updated.Optionally, " version number's scope " described here can be the set of multiple discontinuous parts version number, also can be continuous print parts version number scope.
In addition, above-mentioned first parts to be updated and described second part relation to be updated, described second parts to be updated and described 3rd part relation to be updated, and described ICT equipment normally runs.That is, the first parts to be updated, the second parts to be updated and the 3rd parts to be updated are the parts of matching running on ICT equipment.It should be noted that, above-mentioned first parts to be updated can be software (i.e. Current software) to be updated on ICT equipment, second parts to be updated can be firmware (i.e. current firmware) to be updated on ICT equipment, and the 3rd parts to be updated can be hardware (i.e. Current hardware) to be updated on ICT equipment.
As shown in Figure 2, the method comprises:
S101:ICT equipment obtains the version number of parts to be updated on described ICT equipment and the version number of target component, and determines the attribute information of described parts to be updated; Described parts to be updated are any one in described first parts to be updated, described second parts to be updated, described 3rd parts to be updated.
Concrete, ICT equipment can according to the version number of parts to be updated in the request of user or relevant operation acquisition ICT equipment and the version number of target component.Optionally, these parts to be updated can be above-mentioned first parts to be updated, also can be above-mentioned second parts to be updated, can also be above-mentioned 3rd parts to be updated, and namely these parts to be updated can be software to be updated on ICT equipment or firmware to be updated or hardware to be updated.
ICT equipment also determines the attribute information of parts to be updated while getting the version number of parts to be updated and the version number of target component further.This attribute information, for showing the type of these parts to be updated, namely shows that parts to be updated are software type or firmware type or type of hardware.It should be noted that, ICT equipment only needs the attribute information determining parts to be updated, and the attribute information of target component is identical with the attribute information of parts to be updated, and namely target component and parts to be updated belong to same type.
S102:ICT equipment, according to the attribute information of described parts to be updated, determines the compatible configuration file that described parts to be updated are corresponding from described first compatible configuration file, described second compatible configuration file and described 3rd compatible configuration file.
Concrete, the compatible configuration file that the parts to be updated determined according to the attribute information of above-mentioned parts to be updated of ICT equipment are corresponding can be one in the first compatible configuration file, the second compatible configuration file and the 3rd compatible configuration file or two kinds, and the compatible configuration file that the parts to be updated of different attribute are corresponding is different or part is identical.
Such as, when the attribute of parts to be updated is first parts to be updated (i.e. Current software), namely user needs to upgrade the Current software (parts to be updated are Current software) on ICT equipment, the compatible configuration file that ICT equipment these parts to be updated determined are corresponding is the first compatible configuration file, this first compatible configuration file comprises version number's scope (version number's scope of these other softwares is version number's scope that the is above-mentioned and first component of the first parts compatibility to be updated) of the version number of Current software and other softwares with the edition compatibility of Current software, first compatible configuration file can be shown in Figure 3.In figure 3, on ICT equipment, the version number of Current software (i.e. parts to be updated) is " 2200210311 ", is " 2200210000-2200219999 " with the version number of the software of this edition compatibility.
When the attribute of parts to be updated is the second parts to be updated (current firmware namely on ICT equipment), namely user needs to upgrade the current firmware (parts to be updated are current firmware) on ICT equipment, the compatible configuration file that ICT equipment these parts to be updated determined are corresponding is the second compatible configuration file, this the second compatible configuration file comprises the version of current firmware, and, version number's scope of other firmwares all compatible with current firmware and Current software.Here " version number's scopes of other firmwares all compatible with current firmware and Current software " are above-mentioned " with version number's scope of the second parts to be updated and all compatible second component of the first parts to be updated ".This second compatible configuration file can be shown in Figure 4, in the diagram, on ICT equipment, the version number of Current software is " 2200210311 ", the version number of current firmware is " 6.01T03 ", is " First Version – Last Version " with version number's scope of Current software and equal other the compatible firmwares of current firmware.It should be noted that, the in Fig. 4 second compatible configuration file comprises the firmware version of three modules, namely an ICT equipment may comprise three modules, each module run different firmwares, each firmware runs the software of identical version; Above-mentioned said be only the version number of current firmware in " Module11 ", and, in " Module11 " with version number's scope of Current software and all compatible firmware of current firmware.The content of " Module2 " and " Module3 ", with reference to the introduction of " Module11 ", does not repeat them here.
S103:ICT equipment upgrades described parts to be updated according to the version number of compatible configuration file corresponding to described parts to be updated and described target component.
Concrete, can ICT equipment, after determining compatible configuration file corresponding to parts to be updated, can determine to be target component by component update to be updated according to this compatible configuration file.Such as: suppose that by the component update to be updated of current version be target component, then whether ICT equipment needs the parts after judging renewal to make ICT equipment normally to run, and whether there will be software and the incompatible situation of firmware or occurs firmware and the incompatible situation of hardware component.If be that after target component, ICT equipment still can normally run by the component update to be updated of current version, then ICT equipment determines can be target component by component update to be updated.Optionally, renewal here can be the version of upgrading parts to be updated, also can be the version of degradation target component.
In prior art, when treating renewal parts and carrying out upgrade or downgrade, no matter these parts to be updated are software or hardware or firmware, what prior art all adopted is overall compatible configuration file, namely the compatibility restriction condition of software, firmware, hardware is placed in same compatible configuration file and controls by prior art, and when upgrading the parts on ICT equipment, prior art will carry out global search judgement to whole file, therefore make the update time of parts version long, upgrade efficiency low and upgrade dumb; But, in embodiments of the present invention, it adopts different compatible configuration files to the parts to be updated of different attribute, namely when upgrading parts to be updated, the embodiment of the present invention have employed hierarchical control, and ICT equipment, carrying out judging whether to treat to upgrade when parts upgrade only judging corresponding compatible configuration file, judges without the need to carrying out the overall situation, therefore save the time upgrading version, improve renewal efficiency; In addition, the method that the embodiment of the present invention relates to is conducive to the promotion and demotion respectively of each layer parts, upgrades more flexible.
The control method of the version updating that the embodiment of the present invention provides, the version number of parts to be updated and the version number of target component that state on ICT equipment is obtained by ICT equipment, and determine the attribute information of described parts to be updated, and according to the attribute information of parts to be updated, from the first compatible configuration file, the second compatible configuration file and the 3rd compatible configuration file, determine the compatible configuration file that these parts to be updated are corresponding, thus treat according to the version number of this compatible configuration file and target component and upgrade parts and upgrade.The method that the embodiment of the present invention provides, by adopting different compatible configuration files to the parts to be updated of different attribute, ICT equipment only need judge corresponding compatible configuration file carrying out judging whether treating upgrading when parts upgrade, judge without the need to carrying out the overall situation, therefore save the time upgrading version, improve renewal efficiency; In addition, the method that the embodiment of the present invention provides is conducive to the promotion and demotion respectively of each layer parts, upgrades more flexible.
Further, on above-mentioned basis embodiment illustrated in fig. 2, ICT equipment treats update software when upgrading, can by judging the parts version numbers match in the compatible the configuration file whether version number of above-mentioned target component is corresponding with parts to be updated, obtain judged result, and according to this judged result, described parts to be updated are upgraded.Its concrete implementation procedure can see following embodiment of the method.
Fig. 5 is the schematic flow sheet of the control method embodiment two of version updating provided by the invention.The method that the present embodiment relates to is when above-mentioned parts to be updated are the first parts to be updated, namely when above-mentioned parts to be updated are the Current software on ICT equipment, the detailed process that ICT equipment upgrades the first parts to be updated according to the version number of the first compatible configuration file corresponding to these first parts to be updated and target component.Further, above-mentioned S103 specifically comprises:
S201:ICT equipment judges the parts version numbers match in the first compatible the configuration file whether version number of described target component is corresponding with described first parts to be updated, obtains judged result.
Concrete, in the present embodiment, parts to be updated are the first parts to be updated, namely parts to be updated are the Current software on ICT equipment, above-mentioned target component is the software of target version, parts version number then in the first compatible configuration file comprises the version number's scope with the first component of the Current software compatibility on ICT equipment, and this first component is actually the software with Current software compatibility.
Therefore, the version number that ICT equipment judges target software whether with in the first compatible configuration file with version number's commensurate in scope of the software of Current software compatibility, obtain judged result.It should be noted that, " coupling " herein judges that whether the version number of target software is identical with the some software version number in the software version number scope in the first compatible configuration file for ICT equipment.If the version number of target software is identical with the some software version number in the software version number scope in the first compatible configuration file, then the software that target software is compatible current is described.
S202: if described judged result is the parts version numbers match in the version number of described target component and described first compatible configuration file, then described ICT equipment judges the parts version numbers match in the 4th compatible the configuration file whether version number of described second parts to be updated is corresponding with described target component; Wherein, described 4th compatible configuration file comprises the version number's scope with the second component of described target component compatibility.If so, then S203 is performed; If not, then S204 is performed.
Concrete, in the present embodiment, the second parts to be updated are the current firmware of ICT equipment, namely the second parts to be updated are firmware supporting with Current software on ICT equipment, 4th compatible configuration file comprises the version number's scope with the second component of above-mentioned target software compatibility, and this second component is actually the firmware with target software compatibility.
Therefore, software version number commensurate in scope in above-mentioned judged result is the version number of target software and the first compatible configuration file, then ICT equipment judge further in the whether above-mentioned 4th compatible configuration file of the version number of current firmware with version number's commensurate in scope of the firmware of target software compatibility, namely judge the software upgrading of current version to be after the target software of corresponding version exactly, whether this target software is compatible with current firmware.It should be noted that, " coupling " herein judges that whether the version number of current firmware is identical with the some firmware version number in the firmware version number scope in the 4th compatible configuration file for ICT equipment.
Described first component update to be updated is described target component by S203:ICT equipment.
Concrete, if ICT equipment judges the version number's commensurate in scope with the firmware of target software compatibility in the version number of current firmware and above-mentioned 4th compatible configuration file, and, according to the judged result in above-mentioned S202, the i.e. software version number commensurate in scope of the version number of target software also with first in compatible configuration file, the softwarecompatible that target software and ICT equipment are current is then described, also current with ICT equipment firmware compatibility, then Current software is just updated to target software by ICT equipment.
If S204:ICT equipment judges to be after the second component of redaction by described second component update to be updated, whether with the parts version numbers match in described 4th compatible configuration file; If so, then S205 is performed; If not, then S206 is performed.
Concrete, if ICT equipment judges that the version number of current firmware does not mate with version number's scope of the firmware of target software compatibility with above-mentioned 4th compatible configuration file, then ICT equipment judges if after current firmware being updated to the firmware of redaction further, whether with in above-mentioned 4th compatible configuration file with version number's commensurate in scope of the firmware of target software compatibility, and select to perform following step according to the judged result obtained.
Described first component update to be updated is described target component by S205:ICT equipment, and is the second component of described redaction by described second component update to be updated.
Concrete, if if after current firmware is updated to the firmware of redaction by the judgement of ICT equipment, in the version number of the firmware of redaction and above-mentioned 4th compatible configuration file with version number's commensurate in scope of the firmware of target software compatibility, target software and the current softwarecompatible of ICT equipment are then described, also compatible with the firmware of this redaction, then Current software is just updated to target software by ICT equipment, and the current firmware of ICT equipment is updated to the firmware of above-mentioned redaction.
S206:ICT equipment sends error reporting, upgrades unsuccessful, and terminates to upgrade.
Embodiment for a better understanding of the present invention, cites a plain example to illustrate, shown in following table 1 herein.
Table 1
It is current software (i.e. the first parts to be updated) that content in table 1 particularly illustrates parts to be updated on ICT equipment, its version number is SW1, the version number of current firmware is FW1, the version number of Current hardware is HW1, user needs the Current software on ICT equipment to be updated to target software, and the version number of target software is SW2.ICT equipment is specifically as follows the process that Current software upgrades:
The version number (SW2) that ICT equipment judges target software whether with mating with the software version number of Current software compatibility in the first compatible configuration file, if coupling, then ICT equipment judge current firmware further version number (FW1) whether with mating with the firmware version number of target software compatibility in the 4th compatible configuration file.If coupling, then the softwarecompatible that target software is both current with ICT equipment is described, also current with ICT equipment firmware is compatible, then Current software is updated to target software by ICT equipment; If the version number of current firmware (FW1) and not mating with the firmware version number of target software compatibility in the 4th compatible configuration file, if after then ICT equipment judges current firmware to be updated to the firmware (supposing that the version number of the firmware of redaction is FW2) of redaction, this FW2 whether with in above-mentioned 4th compatible configuration file with version number's commensurate in scope of the firmware of target software compatibility.If so, the softwarecompatible that target software and ICT equipment are current is then described, also with the firmware compatibility of this redaction, then Current software is just updated to target software by ICT equipment, 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 parts to be updated are the first parts to be updated, component update to be updated according to the version number of the first parts to be updated, the version number of target component judging in conjunction with the first compatible configuration file, thus is target component by ICT equipment.The method that the embodiment of the present invention provides, by adopting different compatible configuration files to the parts to be updated of different attribute, ICT equipment only need judge corresponding compatible configuration file carrying out judging whether treating upgrading when parts upgrade, judge without the need to carrying out the overall situation, therefore save the time upgrading version, improve renewal efficiency; In addition, the method that the embodiment of the present invention provides is conducive to the promotion and demotion respectively of each layer parts, upgrades more flexible.
Fig. 6 is the schematic flow sheet of the control method embodiment three of version updating provided by the invention.The method that the present embodiment relates to is when above-mentioned parts to be updated are the second parts to be updated, namely when above-mentioned parts to be updated are the current firmware on ICT equipment, the detailed process that ICT equipment upgrades the second parts to be updated according to the version number of the second compatible configuration file corresponding to these second parts to be updated and target component.Further, above-mentioned S103 specifically comprises:
S301:ICT equipment judges the parts version numbers match in the second compatible the configuration file whether version number of described target component is corresponding with described second parts to be updated; If so, then S302 is performed; If not, then S306 is performed.
Concrete, in the present embodiment, parts to be updated are the second parts to be updated, namely parts to be updated are the current firmware on ICT equipment, above-mentioned target component is the firmware of target version, parts version number then in the second compatible configuration file comprises version number's scope of the second component all compatible with the Current software on ICT equipment and current firmware, and this second component is actually and Current software and all compatible firmware of current firmware.
Therefore, the version number that ICT equipment judges target firmware whether with in the second compatible configuration file with version number's commensurate in scope of Current software and all compatible firmware of current firmware, obtain judged result.It should be noted that, " coupling " herein judges that whether the version number of target firmware is identical with the some firmware version number in the firmware version number scope in the second compatible configuration file for ICT equipment.In fact this second compatible configuration file comprises the version number's scope with Current software and the equal compatible firmware of current firmware.If the version number of target firmware is identical with the some firmware version number in the firmware version number scope in the second compatible configuration file, then the compatible Current software of target firmware and current firmware are described; If the version number of target firmware is all not identical with all firmware version number in the firmware version number scope in the second compatible configuration file, then the incompatible Current software of target firmware and current firmware are described.
S302:ICT equipment judges the parts version numbers match in the 5th compatible the configuration file whether version number of described 3rd parts to be updated is corresponding with described target component; Wherein, described 5th compatible configuration file comprises the version number's scope with the 3rd parts of described target component compatibility.If so, then S303 is performed; If not, then S304 is performed.
Concrete, in the present embodiment, the 3rd parts to be updated are the current hardware of ICT equipment, namely the 3rd parts to be updated be on ICT equipment with Current software and the supporting hardware of current firmware, 5th compatible configuration file comprises the version number's scope with the 3rd parts of above-mentioned target firmware compatibility, and the 3rd parts are actually the hardware with target firmware compatibility.
Therefore, when firmware version number commensurate in scope during above-mentioned judged result is the version number of target firmware and the second compatible configuration file, then ICT equipment judge further in the whether above-mentioned 5th compatible configuration file of the version number of Current hardware with version number's commensurate in scope of the hardware of target firmware compatibility, namely, after judging that the firmware of current version is updated to the target firmware of corresponding version exactly, whether this target firmware is compatible with Current hardware.It should be noted that, " coupling " herein judges that whether the version number of Current hardware is identical with the some hardware version numbers in the hardware version numbers scope in the 5th compatible configuration file for ICT equipment.
Described second component update to be updated is described target component by S303:ICT equipment.
Concrete, if ICT equipment judges the version number's commensurate in scope with the hardware of target firmware compatibility in the version number of Current hardware and above-mentioned 5th compatible configuration file, and, according to the judged result in above-mentioned S302, the i.e. firmware version number commensurate in scope of the version number of target firmware also with second in compatible configuration file, then illustrate that target firmware and ICT equipment Current software and current firmware are all compatible, also current with ICT equipment hardware compatibility, then current firmware is just updated to target firmware by ICT equipment.
If S304:ICT equipment judges to be after the 3rd parts of redaction by described 3rd component update to be updated, whether with the parts version numbers match in described 5th compatible configuration file; If so, then S305 is performed; If not, then S309 is performed.
Concrete, if ICT equipment judges that the version number of Current hardware does not mate with version number's scope of the hardware of target firmware compatibility with above-mentioned 5th compatible configuration file, if then ICT equipment judges to be after the hardware of redaction by current solid hardware update, whether with in above-mentioned 5th compatible configuration file with version number's commensurate in scope of the hardware of target firmware compatibility, and select to perform following step according to the judged result obtained.
Described second component update to be updated is described target component by S305:ICT equipment, and is the 3rd parts of described redaction by described 3rd component update to be updated.
Concrete, if if after Current hardware is updated to the hardware of redaction by the judgement of ICT equipment, in the version number of the hardware of redaction and above-mentioned 5th compatible configuration file with version number's commensurate in scope of the hardware of target firmware compatibility, then illustrate target firmware and ICT equipment both with Current software and current firmware compatibility, also with the hardware compatibility of this redaction, then current firmware is just updated to target firmware by ICT equipment, and the Current hardware of ICT equipment is updated to the hardware of above-mentioned redaction.
If S306:ICT equipment judges to be after the first component of redaction by the first component update to be updated, the version number of described target component whether with the parts version numbers match in the 6th compatible configuration file; Wherein, described 6th compatible configuration file comprises the version number's scope with the first component of described redaction and the equal compatible second component of described parts to be updated; If so, then S307 is performed; If not, then S309 is performed.
Concrete, when the version number that the judged result of above-mentioned S301 is target component does not mate with the parts version number in described second compatible configuration file, namely when the version number of target firmware does not mate with the firmware version number in the second compatible configuration file, illustrate that the version number of target firmware is all not identical with all firmware version number in the firmware version number scope in the second compatible configuration file, then further illustrate the incompatible Current software of target firmware and current firmware.Now ICT equipment needs to do a hypothetical judgement, if namely judge when the Current software of ICT equipment is updated to the software of redaction, the firmware version number commensurate in scope in the 6th compatible the configuration file whether version number of target firmware is corresponding with the software of this redaction.6th compatible configuration file comprises and the software of this redaction and the equal compatible firmware version number scope of current firmware.
If ICT equipment judges the firmware version number commensurate in scope in the version number of target firmware and the 6th compatible configuration file, then the software of the compatible current firmware of target firmware and redaction is described.
S307:ICT equipment judges the parts version numbers match in the 5th compatible the configuration file whether version number of described 3rd parts to be updated is corresponding with described target component; If so, then S308 is performed; If not, then S309 is performed.
Concrete, when firmware version number commensurate in scope during above-mentioned judged result is the version number of target firmware and the 6th compatible configuration file, then ICT equipment judge further in the whether above-mentioned 5th compatible configuration file of the version number of Current hardware with version number's commensurate in scope of the hardware of target firmware compatibility, namely, after judging that the firmware of current version is updated to the target firmware of corresponding version exactly, whether this target firmware is compatible with Current hardware.
Described second component update to be updated is described target component by S308:ICT equipment, and is the first component of described redaction by described first component update to be updated.
Concrete, if ICT equipment judges the version number's commensurate in scope with the hardware of target firmware compatibility in the version number of Current hardware and above-mentioned 5th compatible configuration file, and, the version number of target firmware also with the 6th compatible configuration file in the firmware version number commensurate in scope of the softwarecompatible of redaction, current firmware compatibility on the software of target firmware and above-mentioned redaction and ICT equipment is then described, also current with ICT equipment hardware compatibility, then current firmware is just updated to target firmware by ICT equipment, and the Current software of ICT equipment is updated to the software of described redaction.
S309:ICT equipment sends error reporting, upgrades unsuccessful, and terminates to upgrade.
Embodiment for a better understanding of the present invention, cites a plain example to illustrate, shown in following table 2 herein.
Table 2
It is current firmware (i.e. the second parts to be updated) that content in table 2 particularly illustrates parts to be updated on ICT equipment, its version number is FW1, the version number of Current software is SW1, the version number of Current hardware is HW1, user needs the current firmware on ICT equipment to be updated to target firmware, and the version number of this target firmware is FW2.ICT equipment is specifically as follows the process that current firmware upgrades:
The version number (FW2) that ICT equipment judges target firmware whether with mating with Current software and all compatible firmware version number of current firmware in the second compatible configuration file.
If the version number of target firmware (FW2) and the firmware version number all compatible with Current software and current firmware in the second compatible configuration file being mated, then ICT equipment judge Current hardware further version number (HW1) whether with mating with the hardware version numbers of target firmware compatibility in the 5th compatible configuration file.If coupling, then illustrate that target firmware is both compatible with the Current software on ICT equipment and current firmware, also current with ICT equipment hardware compatibility, then current firmware is updated to target firmware by ICT equipment; If the version number of Current hardware (HW1) and not mating with the hardware version numbers of target firmware compatibility in the 5th compatible configuration file, if after then ICT equipment judges Current hardware to be updated to the hardware (supposing that the version number of the firmware of redaction is HW2) of redaction, this HW2 whether with in above-mentioned 5th compatible configuration file with version number's commensurate in scope of the hardware of target firmware compatibility.If so, Current software on target firmware and ICT equipment and current firmware compatibility are then described, also with the hardware compatibility of this redaction, then current firmware is just updated to target firmware by ICT equipment, and the Current hardware of ICT equipment is updated to the hardware of above-mentioned redaction.
If the version number of target firmware (FW2) and not mating with Current software and the equal compatible firmware version number of current firmware in the second compatible configuration file, then illustrate the Current software of target firmware and ICT equipment and current firmware incompatible, then ICT now needs to do a hypothetical judgement, if when namely judging software (the supposing that the version number of the software of this redaction is SW2) that the Current software on ICT equipment be updated to a redaction, firmware version number commensurate in scope in the 6th compatible configuration file whether FW2 is corresponding with the software of this redaction, 6th compatible configuration file comprises and the software of this redaction and the equal compatible firmware version number scope of current firmware.If ICT equipment judges the firmware version number commensurate in scope in FW2 and the 6th compatible configuration file, the software of the compatible current firmware of target firmware and redaction is then described, then ICT equipment judge Current hardware further version number (HW1) whether with mating with the hardware version numbers of target firmware compatibility in the 5th compatible configuration file.If coupling, then illustrate target firmware both with the softwarecompatible of the current firmware on ICT equipment and above-mentioned redaction, also current with ICT equipment hardware compatibility, then current firmware is updated to target firmware by ICT equipment, and the Current software of ICT equipment is updated to the software of redaction.
The control method of version updating provided by the invention, when parts to be updated are the second parts to be updated, component update to be updated according to the version number of the second parts to be updated, the version number of target component judging in conjunction with the second compatible configuration file, thus is target component by ICT equipment.The method that the embodiment of the present invention provides, by adopting different compatible configuration files to the parts to be updated of different attribute, ICT equipment only need judge corresponding compatible configuration file carrying out judging whether treating upgrading when parts upgrade, judge without the need to carrying out the overall situation, therefore save the time upgrading version, improve renewal efficiency; In addition, the method that the embodiment of the present invention provides is conducive to the promotion and demotion respectively of each layer parts, upgrades more flexible.
Fig. 7 is the schematic flow sheet of the control method embodiment four of version updating provided by the invention.The method that the present embodiment relates to is when above-mentioned parts to be updated are the 3rd parts to be updated, namely when above-mentioned parts to be updated are hardware current on ICT equipment, the detailed process that ICT equipment upgrades the 3rd parts to be updated according to the version number of the 3rd compatible configuration file corresponding to the 3rd parts to be updated and target component.Further, above-mentioned S103 specifically comprises:
S401:ICT equipment judges the parts version numbers match in the 3rd compatible the configuration file whether version number of described target component is corresponding with described 3rd parts to be updated; If so, then S402 is performed; If not, then S403 is performed.
Concrete, in the present embodiment, parts to be updated are the 3rd parts to be updated, namely parts to be updated are the Current hardware on ICT equipment, above-mentioned target component is the hardware of target version, parts version number then in the 3rd compatible configuration file comprises version number's scope of three parts all compatible with the current firmware on ICT equipment and Current hardware, and the 3rd parts are actually and current firmware and all compatible hardware of Current hardware.
Therefore, the version number that ICT equipment judges target hardware whether with in the 3rd compatible configuration file with version number's commensurate in scope of current firmware and all compatible hardware of Current hardware, obtain judged result.It should be noted that, " coupling " herein judges that whether the version number of target hardware is identical with the some hardware version numbers in the hardware version numbers scope in the 3rd compatible configuration file for ICT equipment.If the version number of target hardware is identical with the some hardware version numbers in the hardware version numbers scope in the 3rd compatible configuration file, then the compatible current firmware of target hardware and Current hardware are described.
Described 3rd component update to be updated is described target component by S402:ICT equipment.
S403:ICT equipment sends error reporting, upgrades unsuccessful, and terminates to upgrade.
Embodiment for a better understanding of the present invention, cites a plain example to illustrate, shown in following table 3 herein.
Table 3
It is current hardware (i.e. the 3rd parts to be updated) that content in table 3 particularly illustrates parts to be updated on ICT equipment, its version number is HW1, the version number of current firmware is FW1, the version number of Current software is SW1, user needs the Current hardware on ICT equipment to be updated to target hardware, and the version number of target hardware is HW2.ICT equipment is specifically as follows the process that Current hardware upgrades:
The version number (HW2) that ICT equipment judges target hardware whether with mating with current firmware and all compatible hardware version numbers of Current hardware in the 3rd compatible configuration file, if coupling, then illustrate current firmware on target hardware and ICT equipment and Current hardware all compatible, then Current hardware is just updated to target hardware by ICT equipment.3rd compatible configuration file can be shown in Figure 8.In fig. 8, on ICT equipment, the version number of current firmware is " 6.01T03 ", and the version number of Current hardware is " 6.01T03 ", is " First Version – LastVersion " with version number's scope of current firmware and equal other the compatible hardware of Current hardware.It should be noted that, the 3rd compatible configuration file in Fig. 8 comprises the firmware version of three modules, namely an ICT equipment may comprise three modules, each module runs different hardware; Above-mentioned said be only the version number of current firmware in " Module11 " and hardware, and, in " Module11 " with version number's scope of Current hardware and all compatible hardware of current firmware.The content of " Module2 " and " Module3 ", with reference to the introduction of " Module11 ", does not repeat them here.
The control method of version updating provided by the invention, when parts to be updated are the 3rd parts to be updated, component update to be updated according to the version number of the 3rd parts to be updated, the version number of target component judging in conjunction with the 3rd compatible configuration file, thus is target component by ICT equipment.The method that the embodiment of the present invention provides, by adopting different compatible configuration files to the parts to be updated of different attribute, ICT equipment only need judge corresponding compatible configuration file carrying out judging whether treating upgrading when parts upgrade, judge without the need to carrying out the overall situation, therefore save the time upgrading version, improve renewal efficiency; In addition, the method that the embodiment of the present invention provides is conducive to the promotion and demotion respectively of each layer parts, upgrades more flexible.
Introduce the applicable cases of the embodiment of the present invention in actual renewal process in order to clearer, followingly to illustrate for two concrete examples.
Example one:
Suppose that the Current software on ICT equipment is SW1, version number is sw1, and current firmware is FW1, and version number is fw1, and the hardware of current version is HW; User needs to carry out whole updating to the version on ICT equipment, namely can be simple renewal Current software, also can be to upgrade Current software and current firmware.In the present example, ICT equipment does not need to upgrade hardware.Hypothetical target software is SW2, and version number is sw2, and target firmware is FW2, and version number is fw2.Can comprise the upgrading of parts and the degradation of parts because ICT equipment carries out renewal to the parts of self, therefore, renewal process specifically can be divided into following A, B, C, D tetra-kinds of situations.
A: shown in following table 4:
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, and 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 part specifically can have following three kinds of situations
(1) if ICT equipment judges the software version number coupling in the first compatible configuration file that sw2 and sw1 is corresponding, firmware version number coupling in the 4th compatible configuration file that fw1 and SW2 is corresponding, and the firmware version number coupling in also corresponding with SW2 the 4th compatible configuration file of fw2, then illustrate that SW2 and SW1 is compatible, FW1, FW2 and SW2 are all compatible.Optionally, what ICT equipment can be independent upgrades to SW2 by SW1, SW1 can also be upgraded to SW2, and FW1 is upgraded to FW2.Namely the final parts run on ICT equipment are SW2, FW2 and HW.
(2) if ICT equipment judges the software version number coupling in the first compatible configuration file that sw2 and sw1 is corresponding, firmware version number coupling in the 4th compatible configuration file that fw2 and SW2 is corresponding, but the firmware version number in the 4th compatible configuration file that fw1 and SW2 is corresponding is not mated, then illustrate that SW2 and SW1 is compatible, FW2 and SW2 is compatible, but FW1 and SW2 is incompatible, then the version size of no matter FW1 and FW2, SW1 all can be upgraded to SW2 by ICT equipment, and FW1 is upgraded to FW2.Namely the final parts run on ICT equipment are SW2, FW2 and HW.
(3) if ICT equipment judges the software version number coupling in the first compatible configuration file that sw2 and sw1 is corresponding, firmware version number in the 4th compatible configuration file that fw2 and SW2 is corresponding is not mated, but the firmware version number coupling in the 4th compatible configuration file that fw1 and SW2 is corresponding, then illustrate that SW2 and SW1 is compatible, FW2 and SW2 is incompatible, but FW1 and SW2 is compatible, then the version size of no matter FW1 and FW2, SW1 all can be upgraded to SW2 by ICT equipment, and the FW1 that do not upgrade.Namely the final parts run on ICT equipment are SW2, FW1 and HW.
B: shown in following table 5:
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 lower than the version of current firmware, and 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 part specifically can have following three kinds of situations
(1) if ICT equipment judges the software version number coupling in the first compatible configuration file that sw2 and sw1 is corresponding, firmware version number coupling in the 4th compatible configuration file that fw1 and SW2 is corresponding, and the firmware version number coupling in also corresponding with SW2 the 4th compatible configuration file of fw2, then illustrate that SW2 and SW1 is compatible, FW1, FW2 and SW2 are all compatible.But due to fw2<fw1, then the version of version higher than target component of current firmware is described, then what ICT equipment can be independent upgrades to SW2 by SW1, do not need to upgrade FW1.Namely the final parts run on ICT equipment are SW2, FW1 and HW.
(2) if ICT equipment judges the software version number coupling in the first compatible configuration file that sw2 and sw1 is corresponding, firmware version number coupling in the 4th compatible configuration file that fw2 and SW2 is corresponding, but the firmware version number in the 4th compatible configuration file that fw1 and SW2 is corresponding is not mated, then illustrate that SW2 and SW1 is compatible, FW2 and SW2 is compatible, but FW1 and SW2 is incompatible, then SW1 can be upgraded to SW2 by ICT equipment, and FW1 degradation is return back to FW2.Namely the final parts run on ICT equipment are SW2, FW2 and HW.
(3) if ICT equipment judges the software version number coupling in the first compatible configuration file that sw2 and sw1 is corresponding, firmware version number in the 4th compatible configuration file that fw2 and SW2 is corresponding is not mated, but the firmware version number coupling in the 4th compatible configuration file that fw1 and SW2 is corresponding, then illustrate that SW2 and SW1 is compatible, FW2 and SW2 is incompatible, but FW1 and SW2 is compatible, then SW1 can be upgraded to SW2 by ICT equipment, and does not upgrade FW1.Namely the final parts run on ICT equipment are SW2, FW1 and HW.
C: shown in following table 6:
Table 6
In table 6, the version of target software is lower than the version of Current software, and the version of target firmware is lower than the version of current firmware, and 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 part specifically can have following three kinds of situations
(1) if ICT equipment judges the software version number coupling in the first compatible configuration file that sw2 and sw1 is corresponding, firmware version number coupling in the 4th compatible configuration file that fw1 and SW2 is corresponding, and the firmware version number coupling in also corresponding with SW2 the 4th compatible configuration file of fw2, then illustrate that SW2 and SW1 is compatible, FW1, FW2 and SW2 are all compatible.But the no matter version size of FW1 and FW2, SW1, without rollback (optional, also can rollback, but will determine according to concrete system risk, generally not rollback), be return back to SW2 by FW1.Namely the final parts run on ICT equipment are SW2, FW1 and HW.
(2) if ICT equipment judges the software version number coupling in the first compatible configuration file that sw2 and sw1 is corresponding, firmware version number coupling in the 4th compatible configuration file that fw2 and SW2 is corresponding, but the firmware version number in the 4th compatible configuration file that fw1 and SW2 is corresponding is not mated, then illustrate that SW2 and SW1 is compatible, FW2 and SW2 is compatible, but FW1 and SW2 is incompatible, then SW1 can be return back to SW2 by ICT equipment, and FW1 degradation is return back to FW2.Namely the final parts run on ICT equipment are SW2, FW2 and HW.
(3) if ICT equipment judges the software version number coupling in the first compatible configuration file that sw2 and sw1 is corresponding, firmware version number in the 4th compatible configuration file that fw2 and SW2 is corresponding is not mated, but the firmware version number coupling in the 4th compatible configuration file that fw1 and SW2 is corresponding, then illustrate that SW2 and SW1 is compatible, FW2 and SW2 is incompatible, but FW1 and SW2 is compatible, then SW1 can be return back to SW2 by ICT equipment, and not rollback FW1.Namely the final parts run on ICT equipment are SW2, FW1 and HW.
D: shown in following table 7:
Table 7
In table 7, the version of target software is lower than the version of Current software, and the version of target firmware is higher than the version of current firmware, and 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 part specifically can have following three kinds of situations
(1) if ICT equipment judges the software version number coupling in the first compatible configuration file that sw2 and sw1 is corresponding, firmware version number coupling in the 4th compatible configuration file that fw1 and SW2 is corresponding, and the firmware version number coupling in also corresponding with SW2 the 4th compatible configuration file of fw2, then illustrate that SW2 and SW1 is compatible, FW1, FW2 and SW2 are all compatible.Optionally, SW1 only can be return back to SW2 by ICT equipment, and FW1 does not upgrade, or, SW1 is return back to SW2, and, FW1 is upgraded to FW2.Namely the final parts run on ICT equipment are SW2, FW1 and HW, or, can also be SW2, FW2 and HW.
(2) if ICT equipment judges the software version number coupling in the first compatible configuration file that sw2 and sw1 is corresponding, firmware version number coupling in the 4th compatible configuration file that fw2 and SW2 is corresponding, but the firmware version number in the 4th compatible configuration file that fw1 and SW2 is corresponding is not mated, then illustrate that SW2 and SW1 is compatible, FW2 and SW2 is compatible, but FW1 and SW2 is incompatible, then SW1 can be return back to SW2 by ICT equipment, and FW1 is upgraded to FW2.Namely the final parts run on ICT equipment are SW2, FW2 and HW.
(3) if ICT equipment judges the software version number coupling in the first compatible configuration file that sw2 and sw1 is corresponding, firmware version number in the 4th compatible configuration file that fw2 and SW2 is corresponding is not mated, but the firmware version number coupling in the 4th compatible configuration file that fw1 and SW2 is corresponding, then illustrate that SW2 and SW1 is compatible, FW2 and SW2 is incompatible, but FW1 and SW2 is compatible, then SW1 can be return back to SW2 by ICT equipment, and the FW1 that do not upgrade.Namely the final parts run on ICT equipment are SW2, FW1 and HW.
Example two:
If have hardware module to damage in operating ICT equipment, just need to carry out parts replacement.Version number and the operating parts version number of spare part are likely inconsistent, and parts version number here can be that hardware version numbers is inconsistent, can be that firmware version number is inconsistent, can also be that software version number is inconsistent.Convenient and the security of operation sexual needs for maintenance, ICT system carries out version synchronization, guarantees that the spare part version of new access and the ICT system run keep compatible, therefore after replacing spare part, also will upgrade the parts on this spare part.
After supposing the some ICT equipment replacement spare parts in ICT system, the version number of the software SW1 on spare part is sw1, the version number of the firmware FW1 on spare part is fw1, the version number of the hardware HW1 on spare part is hw1, the version of other ICT equipment in this spare part version and ICT system can not keep compatible, therefore needs to upgrade this spare part version.Therefore, this spare part version can think the version of aforesaid parts to be updated, and the normal parts version number run comprises in ICT system: the version number sw2 of software SW2, the version number fw2 of firmware FW2, the version number hw2 of hardware HW2, therefore, these parts versions that ICT system is normally run are the version of target component.Further, SW2, FW2 and HW2 are compatible.Therefore, renewal process specifically can be divided into following E, F, G, H tetra-kinds of situations.
E: ginseng is shown in Table 8:
Table 8
In table 8, the software version on spare part is lower than the version of target software, and the firmware version on spare part is lower than the version of target firmware, and the hardware version on spare part is lower than the version of target hardware.In example shown in table 8, after changing spare part, on ICT equipment, the synchronous of spare part specifically can have following four kinds of situations
(1) if ICT equipment judges the software version number coupling in the first compatible configuration file that sw2 and sw1 is corresponding, and the version numbers match (version numbers match in the Hardware Compatibility List that namely hw1 and FW2 is corresponding) in judging the 5th compatible configuration file that hw1 and FW2 is corresponding, and the firmware version number coupling in determining the 4th compatible configuration file that fw1 and fw2 is all corresponding with SW2, then illustrate that SW2 and SW1 is compatible, FW1, FW2 and SW2 are all compatible, and HW1 and FW2 is compatible.Then SW1 can be upgraded to SW2 by ICT equipment, and FW1 is upgraded to FW2, and adopts HW1.Namely the final parts run on ICT equipment are SW2, FW2 and HW1.
(2) if ICT equipment judges the software version number coupling in the first compatible configuration file that sw2 and sw1 is corresponding, and the version numbers match (version numbers match in the Hardware Compatibility List that namely hw1 and FW2 is corresponding) in judging the 5th compatible configuration file that hw1 and FW2 is corresponding, and the firmware version number coupling in determining the 4th compatible configuration file that fw1 and SW2 is corresponding, but the firmware version number in the 4th compatible configuration file that fw2 and SW2 is corresponding is not mated, then illustrate that SW2 and SW1 is compatible, FW1 and SW2 is compatible, FW2 and SW2 is incompatible, and HW1 and FW2 is compatible.Then SW1 can be upgraded to SW2 by ICT equipment, and FW1 does not upgrade, and adopts HW1.Namely the final parts run on ICT equipment are SW2, FW1 and HW1.
(3) if ICT equipment judges the software version number coupling in the first compatible configuration file that sw2 and sw1 is corresponding, and the version number in judging the 5th compatible configuration file that hw1 and FW2 is corresponding does not mate (version number in the Hardware Compatibility List that namely hw1 and FW2 is corresponding does not mate), but hw1 and FW1 is compatible; And the firmware version number coupling in determining the 4th compatible configuration file that fw1 and SW2 is corresponding, then illustrate that SW2 and SW1 is compatible, FW1 and SW2 is compatible, and HW1 and FW1 is compatible, then SW1 can be upgraded to SW2 by ICT equipment, and FW1 does not upgrade, and adopts HW1.Namely the final parts run on ICT equipment are SW2, FW1 and HW1.
(4) if ICT equipment judges the software version number coupling in the first compatible configuration file that sw2 and sw1 is corresponding, and the version number in judging the 5th compatible configuration file that hw1 and FW2 is corresponding does not mate (version number in the Hardware Compatibility List that namely hw1 and FW2 is corresponding does not mate), but hw1 and FW1 is compatible; And the firmware version number in determining the 4th compatible configuration file that fw1 and SW2 is corresponding is not mated, then illustrate that SW2 and SW1 is compatible, HW1 and FW1 is compatible, but FW1 and SW2 is incompatible, then ICT equipment reports an error and do not upgrade.
F: ginseng is shown in Table 9:
Table 9
In table 9, the software version on spare part is lower than the version of target software, and the firmware version on spare part is higher than the version of target firmware, and the hardware version on spare part is lower than the version of target hardware.In example shown in table 9, after changing spare part, on ICT equipment, the synchronous of spare part specifically can have following four kinds of situations
(1) if ICT equipment judges the software version number coupling in the first compatible configuration file that sw2 and sw1 is corresponding, and the version numbers match (version numbers match in the Hardware Compatibility List that namely hw1 and FW2 is corresponding) in judging the 5th compatible configuration file that hw1 and FW2 is corresponding, and the firmware version number coupling in determining the 4th compatible configuration file that fw1 and fw2 is all corresponding with SW2, then illustrate that SW2 and SW1 is compatible, FW1, FW2 and SW2 are all compatible, and HW1 and FW2 is compatible.Then SW1 can be upgraded to SW2 by ICT equipment, and FW1 does not upgrade, and adopts HW1.Namely the final parts run on ICT equipment are SW2, FW1 and HW1.
(2) if ICT equipment judges the software version number coupling in the first compatible configuration file that sw2 and sw1 is corresponding, and the version numbers match (version numbers match in the Hardware Compatibility List that namely hw1 and FW2 is corresponding) in judging the 5th compatible configuration file that hw1 and FW2 is corresponding, and the firmware version number coupling in determining the 4th compatible configuration file that fw2 and SW2 is corresponding, but the firmware version number in the 4th compatible configuration file that fw1 and SW2 is corresponding is not mated, then illustrate that SW2 and SW1 is compatible, FW2 and SW2 is compatible, FW1 and SW2 is incompatible, and HW1 and FW2 is compatible.Then SW1 can be upgraded to SW2 by ICT equipment, and FW1 return back to FW2, and adopts HW1.Namely the final parts run on ICT equipment are SW2, FW2 and HW1.
(3) if ICT equipment judges the software version number coupling in the first compatible configuration file that sw2 and sw1 is corresponding, and the version number in judging the 5th compatible configuration file that hw1 and FW2 is corresponding does not mate (version number in the Hardware Compatibility List that namely hw1 and FW2 is corresponding does not mate), but hw1 and FW1 is compatible; And the firmware version number coupling in determining the 4th compatible configuration file that fw1 and SW2 is corresponding, then illustrate that HW1 and FW1 is compatible, FW1 and SW2 is compatible, and SW2 and SW1 is compatible, then SW1 can be upgraded to SW2 by ICT equipment, and FW1 does not upgrade, and adopts HW1.Namely the final parts run on ICT equipment are SW2, FW1 and HW1.
(4) if ICT equipment judges the software version number coupling in the first compatible configuration file that sw2 and sw1 is corresponding, and the version number in judging the 5th compatible configuration file that hw1 and FW2 is corresponding does not mate (version number in the Hardware Compatibility List that namely hw1 and FW2 is corresponding does not mate), but hw1 and FW1 is compatible; And the firmware version number in determining the 4th compatible configuration file that fw1 and SW2 is corresponding is not mated, then illustrate that SW2 and SW1 is compatible, HW1 and FW1 is compatible, but FW1 and SW2 is incompatible, then ICT equipment reports an error and do not upgrade.
G: ginseng is shown in Table 10:
Table 10
In table 10, the software version on spare part is lower than the version of target software, and the firmware version on spare part is higher than the version of target firmware, and the hardware version on spare part is higher than the version of target hardware.In example shown in table 10, after changing spare part, on ICT equipment, the synchronous of spare part specifically can have following four kinds of situations
(1) if ICT equipment judges the software version number coupling in the first compatible configuration file that sw2 and sw1 is corresponding, and the version numbers match (version numbers match in the Hardware Compatibility List that namely hw1 and FW2 is corresponding) in judging the 5th compatible configuration file that hw1 and FW2 is corresponding, and the firmware version number coupling in determining the 4th compatible configuration file that fw1 and fw2 is all corresponding with SW2, then illustrate that SW2 and SW1 is compatible, FW1, FW2 and SW2 are all compatible, and HW1 and FW2 is compatible.Then SW1 can be upgraded to SW2 by ICT equipment, and FW1 does not upgrade, and adopts HW1.Namely the final parts run on ICT equipment are SW2, FW1 and HW1.
(2) if ICT equipment judges the software version number coupling in the first compatible configuration file that sw2 and sw1 is corresponding, and the version numbers match (version numbers match in the Hardware Compatibility List that namely hw1 and FW2 is corresponding) in judging the 5th compatible configuration file that hw1 and FW2 is corresponding, and the firmware version number coupling in determining the 4th compatible configuration file that fw2 and SW2 is corresponding, but the firmware version number in the 4th compatible configuration file that fw1 and SW2 is corresponding is not mated, then illustrate that SW2 and SW1 is compatible, FW2 and SW2 is compatible, FW1 and SW2 is incompatible, and HW1 and FW2 is compatible.Then SW1 can be upgraded to SW2 by ICT equipment, and FW1 return back to FW2, and adopts HW1.Namely the final parts run on ICT equipment are SW2, FW2 and HW1.
(3) if ICT equipment judges the software version number coupling in the first compatible configuration file that sw2 and sw1 is corresponding, and the version number in judging the 5th compatible configuration file that hw1 and FW2 is corresponding does not mate (version number in the Hardware Compatibility List that namely hw1 and FW2 is corresponding does not mate), but hw1 and FW1 is compatible; And the firmware version number coupling in determining the 4th compatible configuration file that fw1 and SW2 is corresponding, then illustrate that HW1 and FW1 is compatible, FW1 and SW2 is compatible, and SW2 and SW1 is compatible, then SW1 can be upgraded to SW2 by ICT equipment, and FW1 does not upgrade, and adopts HW1.Namely the final parts run on ICT equipment are SW2, FW1 and HW1.
(4) if ICT equipment judges the software version number coupling in the first compatible configuration file that sw2 and sw1 is corresponding, and the version number in judging the 5th compatible configuration file that hw1 and FW2 is corresponding does not mate (version number in the Hardware Compatibility List that namely hw1 and FW2 is corresponding does not mate), but hw1 and FW1 is compatible; And the firmware version number in determining the 4th compatible configuration file that fw1 and SW2 is corresponding is not mated, then illustrate that SW2 and SW1 is compatible, HW1 and FW1 is compatible, but FW1 and SW2 is incompatible, then ICT equipment reports an error and do not upgrade.
H: ginseng is shown in Table 11:
Table 11
In table 11, the software version on spare part is higher than the version of target software, and the firmware version on spare part is higher than the version of target firmware, and the hardware version on spare part is higher than the version of target hardware.In example shown in table 11, after changing spare part, on ICT equipment, the synchronous of spare part specifically can have following four kinds of situations
(1) if ICT equipment judges the software version number coupling in the first compatible configuration file that sw2 and sw1 is corresponding, and the version numbers match (version numbers match in the Hardware Compatibility List that namely hw1 and FW2 is corresponding) in judging the 5th compatible configuration file that hw1 and FW2 is corresponding, and the firmware version number coupling in determining the 4th compatible configuration file that fw1 and fw2 is all corresponding with SW2, then illustrate that SW2 and SW1 is compatible, FW1, FW2 and SW2 are all compatible, and HW1 and FW2 is compatible.Then SW1 can be return back to SW2 by ICT equipment, and FW1 does not upgrade, and adopts HW1.Namely the final parts run on ICT equipment are SW2, FW1 and HW1.
(2) if ICT equipment judges the software version number coupling in the first compatible configuration file that sw2 and sw1 is corresponding, and the version numbers match (version numbers match in the Hardware Compatibility List that namely hw1 and FW2 is corresponding) in judging the 5th compatible configuration file that hw1 and FW2 is corresponding, and the firmware version number coupling in determining the 4th compatible configuration file that fw2 and SW2 is corresponding, but the firmware version number in the 4th compatible configuration file that fw1 and SW2 is corresponding is not mated, then illustrate that SW2 and SW1 is compatible, FW2 and SW2 is compatible, HW1 and FW2 is compatible, and FW1 and SW2 is incompatible.Then SW1 can be return back to SW2 by ICT equipment, and FW1 return back to FW2, and adopts HW1.Namely the final parts run on ICT equipment are SW2, FW2 and HW1.
(3) if ICT equipment judges the software version number coupling in the first compatible configuration file that sw2 and sw1 is corresponding, and the version number in judging the 5th compatible configuration file that hw1 and FW2 is corresponding does not mate (version number in the Hardware Compatibility List that namely hw1 and FW2 is corresponding does not mate), but hw1 and FW1 is compatible; And the firmware version number coupling in determining the 4th compatible configuration file that fw1 and SW2 is corresponding, then illustrate that HW1 and FW1 is compatible, FW1 and SW2 is compatible, and SW2 and SW1 is compatible, then SW1 can be return back to SW2 by ICT equipment, and FW1 does not upgrade, and adopts HW1.Namely the final parts run on ICT equipment are SW2, FW1 and HW1.
(4) if ICT equipment judges the software version number coupling in the first compatible configuration file that sw2 and sw1 is corresponding, and the version number in judging the 5th compatible configuration file that hw1 and FW2 is corresponding does not mate (version number in the Hardware Compatibility List that namely hw1 and FW2 is corresponding does not mate), but hw1 and FW1 is compatible; And the firmware version number in determining the 4th compatible configuration file that fw1 and SW2 is corresponding is not mated, then illustrate that SW2 and SW1 is compatible, HW1 and FW1 is compatible, but FW1 and SW2 is incompatible, then ICT equipment reports an error and do not upgrade.
One of ordinary skill in the art will appreciate that: all or part of step realizing above-mentioned each embodiment of the method can have been come by the hardware that programmed instruction is relevant.Aforesaid program can be stored in a computer read/write memory medium.This program, when performing, performs the step comprising above-mentioned each embodiment of the method; And aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium.
Fig. 9 is the structural representation of ICT apparatus embodiments provided by the invention.This ICT equipment is preset with the first compatible configuration file, second compatible configuration file and the 3rd compatible configuration file, described first compatible configuration file comprises the version number's scope with the first component of the parts compatibility to be updated of first on described ICT equipment, described second compatible configuration file comprises the version number's scope with the second parts to be updated on a described ICT equipment and the equal compatible second component of described first parts to be updated, described 3rd compatible configuration file comprises the version number's scope with the 3rd parts to be updated on a described ICT equipment and equal the 3rd compatible parts of described second parts to be updated, described first parts to be updated and described second part relation to be updated, described second parts to be updated and described 3rd part relation to be updated, and described ICT equipment normally runs.As shown in Figure 8, this ICT equipment 10 comprises: acquisition module 11, determination module 12 and update module 13.
Wherein, acquisition module 11, for obtaining the version number of parts to be updated on described ICT equipment and the version number of target component, and determines the attribute information of described parts to be updated; Described parts to be updated are any one in described first parts to be updated, described second parts to be updated, described 3rd parts to be updated;
Determination module 12, for the attribute information according to described parts to be updated, determines the compatible configuration file that described parts to be updated are corresponding from described first compatible configuration file, described second compatible configuration file and described 3rd compatible configuration file;
Update module 13, for upgrading described parts to be updated according to the version number of compatible configuration file corresponding to described parts to be updated and described target component.
The ICT equipment that the embodiment of the present invention provides, can perform the embodiment of the method shown in above-mentioned Fig. 2, and it realizes principle and technique effect is similar, does not repeat them here.
Further, above-mentioned update module 13, specifically for judging the parts version numbers match in the compatible the configuration file whether version number of described target component is corresponding with described parts to be updated, obtaining judged result, and according to described judged result, described parts to be updated being upgraded.
Optionally, if described parts to be updated are described first parts to be updated, then the compatible configuration file that described parts to be updated are corresponding is described first compatible configuration file; Then described update module 13, if specifically for the parts version numbers match that described judged result is in the version number of described target component and described first compatible configuration file, then judge the parts version numbers match in the 4th compatible the configuration file whether version number of described second parts to be updated is corresponding with described target component; If coupling, be then described target component by described first component update to be updated; Wherein, described 4th compatible configuration file comprises the version number's scope with the second component of described target component compatibility.
Optionally, above-mentioned update module 13, if also for judging that the version number of described second parts to be updated does not mate with the parts version number in described 4th compatible configuration file, if then judging described second component update to be updated is further after the second component of redaction, whether with the parts version numbers match in described 4th compatible configuration file; If coupling, be then described target component by described first component update to be updated, and be the second component of described redaction by described second component update to be updated.
The ICT equipment that the embodiment of the present invention provides, can perform the embodiment of the method shown in above-mentioned Fig. 5, and it realizes principle and technique effect is similar, does not repeat them here.
Optionally, if described parts to be updated are described second parts to be updated, then the compatible configuration file that described parts to be updated are corresponding is described second compatible configuration file; Then described update module 13, if specifically for the parts version numbers match that described judged result is in the version number of described target component and described second compatible configuration file, then judge the parts version numbers match in the 5th compatible the configuration file whether version number of described 3rd parts to be updated is corresponding with described target component; If coupling, be then described target component by described second component update to be updated; Wherein, described 5th compatible configuration file comprises the version number's scope with the 3rd parts of described target component compatibility.
Optionally, described update module 13, also for judging that the version number of described 3rd parts to be updated does not mate with the parts version number in described 5th compatible configuration file, if then judging described 3rd component update to be updated is further after the 3rd parts of redaction, whether with the parts version numbers match in described 5th compatible configuration file; If coupling, be then described target component by described second component update to be updated, and be the 3rd parts of described redaction by described 3rd component update to be updated.
Optionally, described update module 13, if be also that the version number of described target component does not mate with the parts version number in described second compatible configuration file for described judged result, if then judging the first component update to be updated is further after the first component of redaction, the version number of described target component whether with the parts version numbers match in the 6th compatible configuration file; If coupling, then judge the parts version numbers match in the 5th compatible the configuration file whether version number of described 3rd parts to be updated is corresponding with described target component further; If coupling, be then described target component by described second component update to be updated, and be the first component of described redaction by described first component update to be updated; Wherein, described 6th compatible configuration file comprises the version number's scope with the first component of described redaction and the equal compatible second component of described parts to be updated.
The ICT equipment that the embodiment of the present invention provides, can perform the embodiment of the method shown in above-mentioned Fig. 6, and it realizes principle and technique effect is similar, does not repeat them here.
Optionally, if described parts to be updated are the 3rd parts to be updated, then the compatible configuration file that described parts to be updated are corresponding is described 3rd compatible configuration file; Then described update module 13 is the parts version numbers match in the version number of described target component and described 3rd compatible configuration file specifically for described judged result, be then described target component by described 3rd component update to be updated.
The ICT equipment that the embodiment of the present invention provides, can perform the embodiment of the method shown in above-mentioned Fig. 6, and it realizes principle and technique effect is similar, does not repeat them here.
Last it is noted that above each embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to foregoing embodiments to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein some or all of technical characteristic; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (16)

1. the control method of a version updating, be applied to ICT (information and communication technology) ICT system, described ICT system comprises at least one ICT equipment, it is characterized in that, described ICT equipment comprises the first compatible configuration file, second compatible configuration file and the 3rd compatible configuration file, described first compatible configuration file comprises the version number's scope with the first component of the parts compatibility to be updated of first on described ICT equipment, described second compatible configuration file comprises the version number's scope with the second parts to be updated on a described ICT equipment and the equal compatible second component of described first parts to be updated, described 3rd compatible configuration file comprises the version number's scope with the 3rd parts to be updated on a described ICT equipment and equal the 3rd compatible parts of described second parts to be updated, described first parts to be updated and described second part relation to be updated, described second parts to be updated and described 3rd part relation to be updated, and described ICT equipment normally runs, described method comprises:
Described ICT equipment obtains the version number of parts to be updated on described ICT equipment and the version number of target component, and determines the attribute information of described parts to be updated; Described parts to be updated are any one in described first parts to be updated, described second parts to be updated, described 3rd parts to be updated;
Described ICT equipment, according to the attribute information of described parts to be updated, determines the compatible configuration file that described parts to be updated are corresponding from described first compatible configuration file, described second compatible configuration file and described 3rd compatible configuration file;
Described ICT equipment upgrades described parts to be updated according to the version number of compatible configuration file corresponding to described parts to be updated and described target component.
2. method according to claim 1, is characterized in that, described ICT equipment upgrades described parts to be updated according to the version number of compatible configuration file corresponding to described parts to be updated and described target component, comprising:
Described ICT equipment judges the parts version numbers match in the compatible the configuration file whether version number of described target component is corresponding with described parts to be updated, obtains judged result;
Described ICT equipment upgrades described parts to be updated according to described judged result.
3. method according to claim 2, is characterized in that, if described parts to be updated are described first parts to be updated, then the compatible configuration file that described parts to be updated are corresponding is described first compatible configuration file; Then described ICT equipment upgrades described parts to be updated according to described judged result, comprising:
If described judged result is the parts version numbers match in the version number of described target component and described first compatible configuration file, then described ICT equipment judges the parts version numbers match in the 4th compatible the configuration file whether version number of described second parts to be updated is corresponding with described target component; Wherein, described 4th compatible configuration file comprises the version number's scope with the second component of described target component compatibility;
If so, then described first component update to be updated is described target component by described ICT equipment.
4. method according to claim 3, is characterized in that, described ICT equipment judges the parts version numbers match in the 4th compatible configuration file whether described second parts to be updated are corresponding with described target component, also comprises:
If described ICT equipment judges that the version number of described second parts to be updated does not mate with the parts version number in described 4th compatible configuration file, if then described ICT equipment judges described second component update to be updated is after the second component of redaction, whether with the parts version numbers match in described 4th compatible configuration file;
If so, then described first component update to be updated is described target component by described ICT equipment, and is the second component of described redaction by described second component update to be updated.
5. method according to claim 2, is characterized in that, if described parts to be updated are described second parts to be updated, then the compatible configuration file that described parts to be updated are corresponding is described second compatible configuration file; Then described ICT equipment upgrades described parts to be updated according to described judged result, comprising:
If described judged result is the parts version numbers match in the version number of described target component and described second compatible configuration file, then described ICT equipment judges the parts version numbers match in the 5th compatible the configuration file whether version number of described 3rd parts to be updated is corresponding with described target component; Wherein, described 5th compatible configuration file comprises the version number's scope with the 3rd parts of described target component compatibility;
If so, then described second component update to be updated is described target component by described ICT equipment.
6. method according to claim 5, is characterized in that, described ICT equipment judges the parts version numbers match in the 5th compatible the configuration file whether version number of described 3rd parts to be updated is corresponding with described target component, also comprises:
If described ICT equipment judges that the version number of described 3rd parts to be updated does not mate with the parts version number in described 5th compatible configuration file, if then described ICT equipment judges described 3rd component update to be updated is after the 3rd parts of redaction, whether with the parts version numbers match in described 5th compatible configuration file;
If so, then described second component update to be updated is described target component by described ICT equipment, and is the 3rd parts of described redaction by described 3rd component update to be updated.
7. method according to claim 5, is characterized in that, described ICT equipment upgrades described parts to be updated according to described judged result, also comprises:
If the version number that described judged result is described target component does not mate with the parts version number in described second compatible configuration file, if then described ICT equipment judges the first component update to be updated is after the first component of redaction, the version number of described target component whether with the parts version numbers match in the 6th compatible configuration file; Wherein, described 6th compatible configuration file comprises the version number's scope with the first component of described redaction and the equal compatible second component of described parts to be updated;
If so, then described ICT equipment judges the parts version numbers match in the 5th compatible the configuration file whether version number of described 3rd parts to be updated is corresponding with described target component;
If so, then described second component update to be updated is described target component by described ICT equipment, and is the first component of described redaction by described first component update to be updated.
8. method according to claim 2, is characterized in that, if described parts to be updated are the 3rd parts to be updated, then the compatible configuration file that described parts to be updated are corresponding is described 3rd compatible configuration file; Then described ICT equipment upgrades described parts to be updated according to described judged result, comprising:
If described judged result is the parts version numbers match in the version number of described target component and described 3rd compatible configuration file, then described 3rd component update to be updated is described target component by described ICT equipment.
9. an ICT (information and communication technology) ICT equipment, it is characterized in that, described ICT equipment is preset with the first compatible configuration file, second compatible configuration file and the 3rd compatible configuration file, described first compatible configuration file comprises the version number's scope with the first component of the parts compatibility to be updated of first on described ICT equipment, described second compatible configuration file comprises the version number's scope with the second parts to be updated on a described ICT equipment and the equal compatible second component of described first parts to be updated, described 3rd compatible configuration file comprises the version number's scope with the 3rd parts to be updated on a described ICT equipment and equal the 3rd compatible parts of described second parts to be updated, described first parts to be updated and described second part relation to be updated, described second parts to be updated and described 3rd part relation to be updated, and described ICT equipment normally runs, described ICT equipment comprises:
Acquisition module, for obtaining the version number of parts to be updated on described ICT equipment and the version number of target component, and determines the attribute information of described parts to be updated; Described parts to be updated are any one in described first parts to be updated, described second parts to be updated, described 3rd parts to be updated;
Determination module, for the attribute information according to described parts to be updated, determines the compatible configuration file that described parts to be updated are corresponding from described first compatible configuration file, described second compatible configuration file and described 3rd compatible configuration file;
Update module, for upgrading described parts to be updated according to the version number of compatible configuration file corresponding to described parts to be updated and described target component.
10. ICT equipment according to claim 9, it is characterized in that, described update module, specifically for judging the parts version numbers match in the compatible the configuration file whether version number of described target component is corresponding with described parts to be updated, obtain judged result, and according to described judged result, described parts to be updated are upgraded.
11. ICT equipment according to claim 10, is characterized in that, if described parts to be updated are described first parts to be updated, then the compatible configuration file that described parts to be updated are corresponding is described first compatible configuration file; Then described update module, if specifically for the parts version numbers match that described judged result is in the version number of described target component and described first compatible configuration file, then judge the parts version numbers match in the 4th compatible the configuration file whether version number of described second parts to be updated is corresponding with described target component; If coupling, be then described target component by described first component update to be updated; Wherein, described 4th compatible configuration file comprises the version number's scope with the second component of described target component compatibility.
12. ICT equipment according to claim 11, it is characterized in that, described update module, if also for judging that the version number of described second parts to be updated does not mate with the parts version number in described 4th compatible configuration file, if then judging described second component update to be updated is further after the second component of redaction, whether with the parts version numbers match in described 4th compatible configuration file; If coupling, be then described target component by described first component update to be updated, and be the second component of described redaction by described second component update to be updated.
13. ICT equipment according to claim 10, is characterized in that, if described parts to be updated are described second parts to be updated, then the compatible configuration file that described parts to be updated are corresponding is described second compatible configuration file; Then described update module, if specifically for the parts version numbers match that described judged result is in the version number of described target component and described second compatible configuration file, then judge the parts version numbers match in the 5th compatible the configuration file whether version number of described 3rd parts to be updated is corresponding with described target component; If coupling, be then described target component by described second component update to be updated; Wherein, described 5th compatible configuration file comprises the version number's scope with the 3rd parts of described target component compatibility.
14. ICT equipment according to claim 13, it is characterized in that, described update module, also for judging that the version number of described 3rd parts to be updated does not mate with the parts version number in described 5th compatible configuration file, if then judging described 3rd component update to be updated is further after the 3rd parts of redaction, whether with the parts version numbers match in described 5th compatible configuration file; If coupling, be then described target component by described second component update to be updated, and be the 3rd parts of described redaction by described 3rd component update to be updated.
15. ICT equipment according to claim 13, it is characterized in that, described update module, if be also that the version number of described target component does not mate with the parts version number in described second compatible configuration file for described judged result, if then judging the first component update to be updated is further after the first component of redaction, the version number of described target component whether with the parts version numbers match in the 6th compatible configuration file; If coupling, then judge the parts version numbers match in the 5th compatible the configuration file whether version number of described 3rd parts to be updated is corresponding with described target component further; If coupling, be then described target component by described second component update to be updated, and be the first component of described redaction by described first component update to be updated; Wherein, described 6th compatible configuration file comprises the version number's scope with the first component of described redaction and the equal compatible second component of described parts to be updated.
16. ICT equipment according to claim 10, is characterized in that, if described parts to be updated are the 3rd parts to be updated, then the compatible configuration file that described parts to be updated are corresponding is described 3rd compatible configuration file; Then described update module is the parts version numbers match in the version number of described target component and described 3rd compatible configuration file specifically for described judged result, be then described target component by described 3rd component update to be updated.
CN201410787615.3A 2014-12-17 2014-12-17 The control method and ICT equipment of version updating Active CN104503789B (en)

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 true CN104503789A (en) 2015-04-08
CN104503789B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
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
CN112732296A (en) * 2020-12-31 2021-04-30 青岛海尔科技有限公司 Software version updating method and device, storage medium and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020065958A1 (en) * 2000-08-04 2002-05-30 Claude Rocray System and method for implementing a self-activating embedded application
US20070106979A1 (en) * 2005-10-11 2007-05-10 Bea Systems, Inc. Patch management system
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020065958A1 (en) * 2000-08-04 2002-05-30 Claude Rocray System and method for implementing a self-activating embedded application
US20070106979A1 (en) * 2005-10-11 2007-05-10 Bea Systems, Inc. Patch management system
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

Cited By (3)

* Cited by examiner, † Cited by third party
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
CN112732296A (en) * 2020-12-31 2021-04-30 青岛海尔科技有限公司 Software version updating method and device, storage medium and electronic equipment
CN112732296B (en) * 2020-12-31 2023-10-24 青岛海尔科技有限公司 Software version updating method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN104503789B (en) 2017-11-17

Similar Documents

Publication Publication Date Title
US9075695B2 (en) Version conflict checking to installable unit
US8495618B1 (en) Updating firmware in a high availability enabled computer system
CN102057355B (en) Synchronizing virtual machine and application life cycles
KR101515198B1 (en) Apparatus and method for firmware upgrade in mobile device
CN100378670C (en) Apparatus and method for updating I/O capability of a logically-partitioned computer system
US20170169223A1 (en) Detection system and method thereof
CN103458086A (en) Smart phone and fault detection method thereof
CN102216905A (en) Application restore points
EP3040854B1 (en) Method, apparatus and storage medium for dynamically patching function
CN110633091A (en) Electronic module and software wireless upgrading method thereof
CN101739266A (en) Firmware updating method
CN101126920A (en) Method and device implementing on-line upgrading of a fixed programme
CN102890647B (en) Method and device for storing and updating data
CN104461402B (en) A kind of method for adjusting disk order under Linux system between multi-controller
CN105516230A (en) Data processing method and device
CN104391714A (en) Software update method and software update device for vehicle
CN110764486B (en) Method and device for operating vehicle-mounted controller, vehicle-mounted controller and storage medium
CN106569863A (en) Android app resource updating and repairing method based on resource and code modularization
CN104503789A (en) Version updating control method and ICT (information and communication technology) equipment
CN104133714B (en) The method of third party&#39;s module software online management
CN103064698A (en) Method and apparatus to install software automatically
CN104731618A (en) Design method for automatically refreshing firmware based on RACK cabinet node middle plate
CN116028084A (en) Cross-version hot upgrading method, system and terminal based on OpenStack cloud platform
CN116360834A (en) Kubernetes cluster in-situ upgrading method and system based on OSTree
CN111427588A (en) Suspending installation of firmware packages

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