CN102147804A - Method and device for managing file of network equipment - Google Patents
Method and device for managing file of network equipment Download PDFInfo
- Publication number
- CN102147804A CN102147804A CN2011100311153A CN201110031115A CN102147804A CN 102147804 A CN102147804 A CN 102147804A CN 2011100311153 A CN2011100311153 A CN 2011100311153A CN 201110031115 A CN201110031115 A CN 201110031115A CN 102147804 A CN102147804 A CN 102147804A
- Authority
- CN
- China
- Prior art keywords
- wiring board
- storer
- various files
- storing
- master control
- 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
Links
Images
Landscapes
- Stored Programmes (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the invention provides a method and a device for managing a file of network equipment. The method mainly comprises the following steps of: installing new hardware on a circuit board of the network equipment and determining a compatible relation between various files stored in a circuit board memory of the circuit board and various files required by maintaining the running of the circuit board for installing the new hardware; and updating or not updating the various files stored in the circuit board memory of the circuit board according to the compatible relation. In the embodiment of the invention, the various files stored in the circuit board memory of the circuit board are updated conditionally by installing the new hardware on the circuit board of the network equipment instead of re-issuing an installation packet to the whole network equipment, so that the whole network equipment is not needed to be restarted. Therefore, the hardware upgrading efficiency of the network equipment can be improved and the hardware upgrading cost can be reduced.
Description
Technical field
The present invention relates to electronic technology field, relate in particular to a kind of file management method and device of the network equipment.
Background technology
In actual applications, need the network equipment to support after new installed hardware, promptly require after the software support of the network equipment to hardware compatibility.But for Drive Layer software or the part stronger with hardware and software coupling, the change of hardware need software to cooperate usually to revise could support hardware use, in this case, the software of the network equipment is difficult to realize that the back is to hardware compatibility.
A network equipment comprises: a master control borad management and a plurality of wiring board, comprise master control borad CPU (Central Processing Unit, central processing unit) and master control borad storer in the master control borad, and comprise wiring board CPU and wiring board storer in each wiring board.The storage master control borad various files relevant in the master control borad storer with all wiring boards, the various files that master control borad is relevant comprise that keeping master control borad moves files such as needed software document, and the various files that wiring board is relevant comprise that keeping wiring board moves files such as needed software document.The relevant various files of this wiring board of storage in the wiring board storer, and the various files relevant with this wiring board of storing in the master control borad storer are consistent.
Method to hardware compatibility behind a kind of software of realizing the network equipment of the prior art is: when on certain wiring board at the network equipment new hardware is installed after, because it is consistent that the wiring board of identical type moves needed software document, need to the wiring board storer of all wiring boards of above-mentioned wiring board identical type and master control borad storer on the various files stored upgrade.So the installation kit of the redaction of the various files of the master control borad of delivery network equipment and all wiring boards moves this installation kit on the network equipment again.Then, the network equipment restarts, and the various files of storing on the master control borad storer of the network equipment and all wiring board storeies are upgraded.
In realizing process of the present invention, the inventor finds behind method from the software of the realization network equipment of the prior art to hardware compatibility, and there are the following problems at least: when only on the minority wiring board new hardware is installed after, hardware for example only newly is installed on a wiring board, need the whole network equipment to restart, the flow of the whole network equipment all can interrupt, constantly efficient is low, and the cost height.
Summary of the invention
Embodiments of the invention provide a kind of file management method and device of the network equipment, to improve the new efficient that hardware is installed on the network equipment.
A kind of file management method of the network equipment comprises:
After new hardware is installed on the wiring board of the network equipment, judges the various files of storing in the wiring board storer of described wiring board and keep the wiring board that new hardware is installed and move compatibility relation between the needed various file;
According to described compatibility relation the various files of storing in the described wiring board storer are upgraded or do not upgrade.
A kind of document management apparatus of the network equipment comprises:
The compatibility relation judge module is used for after new hardware is installed on the wiring board of the network equipment, judges the various files of storing in the wiring board storer of described wiring board and keeps the wiring board that new hardware is installed and move compatibility relation between the needed various file;
The file update processing module is used for the compatibility relation judged according to described compatibility relation judge module, and the various files of storing in the described wiring board storer are upgraded or do not upgrade.
The technical scheme that is provided by the embodiment of the invention described above as can be seen, the embodiment of the invention is by behind new installation hardware on the wiring board of the network equipment, only conditionally the various files of storing in the described wiring board storer are upgraded, and do not need the whole network equipment is issued installation kit again, the whole network equipment does not need to restart.Thereby can improve the HardwareUpgring efficient of the network equipment, reduce the HardwareUpgring cost.
Description of drawings
In order to be illustrated more clearly in the technical scheme of the embodiment of the invention, the accompanying drawing of required use is done to introduce simply in will describing embodiment below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
The principle schematic of the file management method of a kind of network equipment that Fig. 1 embodiment of the invention one provides;
The treatment scheme synoptic diagram of the file management method of a kind of network equipment that Fig. 2 provides for the embodiment of the invention one;
The treatment scheme synoptic diagram of the file management method of a kind of network equipment that Fig. 3 provides for the embodiment of the invention two;
The concrete structure synoptic diagram of the document management apparatus of a kind of network equipment that Fig. 4 provides for the embodiment of the invention.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer, below in conjunction with the accompanying drawing in the embodiment of the invention, technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
For ease of understanding, be that example is further explained explanation below in conjunction with accompanying drawing with several specific embodiments, and each embodiment does not constitute the qualification to the embodiment of the invention to the embodiment of the invention.
Embodiment one
The principle schematic of the file management method of a kind of network equipment that this embodiment provides as shown in Figure 1, concrete treatment scheme comprises following treatment step as shown in Figure 2:
For example, replace when a wiring board of the network equipment need carry out chip edition upgrading, chip, FPGA (Field Programmable Gate Array, field programmable gate array) when logical update or hardware local optimum etc., hardware can newly be installed on above-mentioned wiring board.
Wiring board CPU obtains the information that the wiring board that new hardware is installed moves needed various files of keeping according to information such as the type of this wiring board and functions, and the information of above-mentioned various files comprises information such as the title of files such as software document and logical file and version.Wiring board CPU also obtains the information of the various files of storing in the wiring board storer.
Wiring board CPU judges whether the compatible wiring board that new hardware is installed of keeping moves needed various file to the various files of storing in self storer, if then the various files of storing in the above-mentioned wiring board storer are not upgraded; Otherwise, the various files of storing in the above-mentioned wiring board storer are upgraded, the various representation of file after the above-mentioned renewal are kept the wiring board that new hardware is installed and are moved needed various file.
Because the various files of storing on the wiring board storer of the embodiment of the invention to the master control borad storer of the above-mentioned network equipment and All other routes plate do not upgrade, therefore, the whole network equipment does not need to restart.Above-mentioned wiring board storer can be storeies such as flash.
Such as, scene 1: in wiring board shown in Figure 11, behind the new installation hardware, the various files of storing in wiring board 1 storer are upgraded.Various files to the master control borad storer of the above-mentioned network equipment and the last storage of the wiring board storer of All other routes plate (such as wiring board 2 storeies) do not upgrade.
After step 22, wiring board restart, send the file request information of carrying the various files of storing in the above-mentioned wiring board storer to master control borad CPU.
After the various files of storing in to above-mentioned wiring board storer upgrade, need restart, the various files after the renewal of storing in the above-mentioned wiring board storer are come into force wiring board.
After above-mentioned wiring board restarted, wiring board CPU obtained the information of the various files of storing in the wiring board storer.Then, wiring board CPU sends the file request information of carrying the various files of storing in the above-mentioned wiring board storer to master control borad CPU.
Step 23, master control borad CPU judge the compatibility relation between the relevant various files of the above-mentioned wiring board stored in the various files stored in the above-mentioned wiring board storer and the master control borad storer, determine whether the relevant various files of storing in the various files stored in the above-mentioned wiring board storer or the master control borad storer of above-mentioned wiring board are upgraded according to compatibility relation.
After master control borad CPU receives above-mentioned file request information, obtain the various files of storing in the wiring board storer that wherein carries.Master control borad CPU also obtains the relevant various files of storing in the master control borad storer of above-mentioned wiring board.
Then, master control borad CPU judges the relevant various files of above-mentioned the wiring board whether various files stored in the above-mentioned wiring board storer are stored in the compatible above-mentioned master control borad storer, concrete determination methods can judge for the version according to file, the file that the file of latest edition can compatible legacy version; If, then the relevant various files of storing in the master control borad storer of above-mentioned wiring board are replaced with the various files of storing in the above-mentioned wiring board storer, the various files of storing in the above-mentioned wiring board storer are not upgraded, promptly do not carry out file and transmit to above-mentioned wiring board; Otherwise, the relevant various files of storing in the above-mentioned master control borad storer of above-mentioned wiring board are sent to above-mentioned wiring board, and wiring board CPU replaces with the various files of storing in the above-mentioned wiring board storer the relevant various files of storing in the master control borad storer of above-mentioned wiring board.Afterwards, wiring board is restarted, the various files after the renewal of storing in the above-mentioned wiring board storer are come into force.
Such as, at above-mentioned scene 1, after wiring board 1 restarted, wiring board 1CPU sent the file request information of carrying the various files of storing in above-mentioned wiring board 1 storer to master control borad CPU.Because the various files that the above-mentioned wiring board of storing in the master control borad storer is relevant do not upgrade, the version of the various files of storing in above-mentioned wiring board 1 storer is higher than the version of the relevant various files of the above-mentioned wiring board stored in the above-mentioned master control borad storer.So the information of the various files that the above-mentioned wiring board stored in the master control borad storer is relevant replaces with the various files of storing in the above-mentioned wiring board storer.
Optionally, in the master control borad storer, store the relevant various files of wiring board respectively, i.e. the corresponding identical file of a plurality of wiring boards of identical type according to the kind of wiring board.
Then, after master control borad CPU receives the file request information of carrying the various files of storing in the wiring board storer of wiring board transmission, judge the various the files whether relevant various files of the kind at the above-mentioned wiring board place of storing in the described master control borad storer are stored in the compatible above-mentioned wiring board storer, if, then that the kind at the above-mentioned wiring board place of storing in the master control borad storer is relevant various files send to described wiring board, the various files of storing in the above-mentioned wiring board storer are replaced with the relevant various files of kind at the above-mentioned wiring board place of storing in the master control borad storer; Otherwise the various files that the kind at the above-mentioned wiring board place of storing in the master control borad storer is relevant replace with the various files of storing in the above-mentioned wiring board storer.Thereby the wiring board of having realized the latest edition that master control borad CPU can upload according to a wiring board moves the various files of storing in needed various file other wiring board storer to identical type and upgrades.
Such as, at above-mentioned Fig. 1 and scene 1, wiring board 1 and wiring board 2 are same kinds, and wiring board 2 does not have adding hardware, after wiring board 2 restarts according to user's needs, send the file request information of carrying the various files of storing in above-mentioned wiring board 2 storeies to master control borad CPU.Because the various files of the latest edition of storing in wiring board 1 storer that the master control borad storer has sent according to wiring board 1, the various files relevant with the kind at wiring board 2 places to above-mentioned wiring board 1 upgrade, and the version of the various files that the above-mentioned wiring board of storing in the master control borad storer 1 is relevant with the kind at wiring board 2 places is than the version updating of the various files of storing in above-mentioned wiring board 2 storeies.So, the above-mentioned wiring board 1 various files of storing in the above-mentioned master control borad storer relevant with the kind at wiring board 2 places are sent to above-mentioned wiring board 2, and wiring board 2CPU replaces with the various files of storing in above-mentioned wiring board 2 storeies above-mentioned wiring board 1 various files of storing in the master control borad storer relevant with the kind at wiring board 2 places.
Then, after in wiring board 2, newly hardware being installed, because the various files of storing in wiring board 2 storeies upgrade in advance, the various files of storing in wiring board 2 storeies can compatible new installed hardware, master control borad and wiring board 2 do not need to carry out the renewal operation of various files, thereby have realized " plug and play " of new installed hardware on the above-mentioned wiring board 2.
This embodiment is by behind new installation hardware on the wiring board of the network equipment, only conditionally the various files of storing in the described wiring board storer are upgraded, and do not need the whole network equipment is issued installation kit again, the whole network equipment does not need to restart.Thereby can improve the HardwareUpgring efficient of the network equipment, reduce the HardwareUpgring cost.
This embodiment, selects the relevant various files of storing in the various files stored in the above-mentioned wiring board storer or the master control borad storer of above-mentioned wiring board are upgraded according to the compatibility relation between the relevant various files of the above-mentioned wiring board of storing in various files of storing in the above-mentioned wiring board storer and the master control borad storer by master control borad CPU.Can realize the required various files of wiring board operation of keeping of latest edition are kept in wiring board storer and the master control borad storer simultaneously.
This embodiment is by storing the relevant various files of wiring board respectively according to the kind of wiring board in the master control borad storer, upgrade thereby the wiring board of having realized the latest edition that master control borad CPU can upload according to a wiring board moves the various files of storing in needed various file other wiring board storer to identical type.By the various files of storing in the wiring board storer are upgraded in advance, make the various files stored in the wiring board storer can compatible new installed hardware, realize " plug and play " of new installed hardware.
Embodiment two
The concrete processing flow chart of the file management method of a kind of network equipment that this embodiment provides comprises following treatment step as shown in Figure 3:
Behind new installation hardware on the wiring board of the network equipment, wiring board CPU obtains the information that the wiring board of keeping the new hardware of above-mentioned installation moves needed various files according to information such as the type of this wiring board and functions, and the information of above-mentioned various files comprises information such as the title of files such as software document and logical file and version.Wiring board CPU also obtains the information of the various files of storing in the wiring board storer.
Then, wiring board CPU judges whether the compatible wiring board of keeping the new hardware of above-mentioned installation moves needed various file to the various files of storing in self storer, if then the various files of storing in the above-mentioned wiring board storer are not upgraded; Otherwise, the various files of storing in the above-mentioned wiring board storer are upgraded, the various representation of file after the above-mentioned renewal are kept the wiring board that new hardware is installed and are moved needed various file.
Because the various files of storing on the wiring board storer of the embodiment of the invention to the master control borad storer of the above-mentioned network equipment and All other routes plate do not upgrade, therefore, the whole network equipment does not need to restart.Above-mentioned wiring board storer can be storeies such as flash.
Such as, in wiring board shown in Figure 11, behind the new installation hardware, the various files of storing in wiring board 1 storer are upgraded.Various files to the master control borad storer of the above-mentioned network equipment and the last storage of the wiring board storer of All other routes plate (such as wiring board 2 storeies) do not upgrade.
After step 32, wiring board restart, send the file request information of keeping the various files of storing in required various files of above-mentioned wiring board operation and the above-mentioned wiring board storer of carrying to master control borad CPU.
After the various files of storing in to above-mentioned wiring board storer upgrade, need restart, the various files after the renewal of storing in the above-mentioned wiring board storer are come into force wiring board.
After above-mentioned wiring board restarts, wiring board CPU at first obtains the information of keeping the required various files of above-mentioned wiring board operation according to information such as the type of above-mentioned wiring board and functions, and wiring board CPU also obtains the information of the various files of storing in the wiring board storer.Then, wiring board CPU sends the above-mentioned file request information of keeping the various files of storing in required various files of wiring board operation and the wiring board storer of carrying to master control borad CPU.
After master control borad CPU receives above-mentioned file request information, obtain the various files of having stored in required various files of wiring board operation and the wiring board storer of keeping that wherein carry.Master control borad CPU also obtains the information of the relevant various files of the above-mentioned wiring board stored in the master control borad storer.
Then, when master control borad CPU judges the required various file of various files that above-mentioned wiring board that the various files stored in the above-mentioned wiring board storer store in the compatible above-mentioned master control borad storeies simultaneously is relevant and the operation of above-mentioned wiring board, then the information of the various files that the above-mentioned wiring board of storing in the master control borad storer is correlated with replaces with the various files of having stored in the above-mentioned wiring board storer, the various files of storing in the above-mentioned wiring board storer are not upgraded, promptly do not carry out file and transmit to above-mentioned wiring board.
When master control borad CPU judges the required various file of various files that the various files stored in the above-mentioned master control borad storer are stored in the compatible above-mentioned wiring board storeies simultaneously and the operation of above-mentioned wiring board, then the relevant various files of storing in the above-mentioned master control borad storer of above-mentioned wiring board are sent to above-mentioned wiring board, the various files of storing in the above-mentioned wiring board storer are replaced with the relevant various files of storing in the master control borad storer of above-mentioned wiring board.
When master control borad CPU judges the information of the various files that the above-mentioned wiring board stored in the compatible above-mentioned master control borad storer of information of the various files of storing in the above-mentioned wiring board storer is relevant, but incompatible when keeping the required various file of above-mentioned wiring board operation; Perhaps, master control borad CPU judges the various files of storing in the relevant above-mentioned wiring board storer of various file compatibilities of the above-mentioned wiring board stored in the above-mentioned master control borad storer, but it is incompatible when keeping the required various file of above-mentioned wiring board operation, then the downloaded of master control borad CPU from network kept the required various files of above-mentioned wiring board operation, the required various files of downloading of wiring board operation of keeping are kept in the master control borad storer, and send to the wiring board storer and preserve, master control borad CPU replaces with the required various files of the described wiring board operation of keeping of described downloaded from network with the relevant various files of storing in the master control borad storer of described wiring board, and wiring board CPU replaces with the required various files of the described wiring board operation of keeping of described downloaded from network with the various files of storing in the wiring board storer.
This embodiment is by behind new installation hardware on the wiring board of the network equipment, only conditionally the various files of storing in the described wiring board storer are upgraded, and do not need the whole network equipment is issued installation kit again, the whole network equipment does not need to restart.Thereby can improve the HardwareUpgring efficient of the network equipment, reduce the HardwareUpgring cost.
This embodiment, selects the relevant various files of storing in the various files stored in the above-mentioned wiring board storer or the master control borad storer of above-mentioned wiring board are upgraded according to the compatibility relation between the relevant various files of the above-mentioned wiring board of storing in various files of storing in the above-mentioned wiring board storer and the master control borad storer by master control borad CPU.Can realize the required various files of wiring board operation of keeping of latest edition are kept in wiring board storer and the master control borad storer simultaneously.
This embodiment, selects the relevant various files of storing in the various files stored in the wiring board storer or the master control borad storer of above-mentioned wiring board are upgraded according to the relevant various files of the above-mentioned wiring board of storing in the various files of storing in the wiring board storer, the master control borad storer with keep compatibility relation between the required various files of above-mentioned wiring board operation by master control borad CPU.Under the situation that can guarantee that the version of the file stored is all lower or all be damaged in circuit board memory, master control borad storer, that downloads latest edition from the webserver keeps the required various files of wiring board operation.
The embodiment of the invention also provides a kind of document management apparatus of the network equipment, is arranged in the network equipment, and its specific implementation structure specifically can comprise as shown in Figure 4:
Compatibility relation judge module 41, be used on the wiring board of the network equipment new hardware is installed after, judge the various files of storing in the wiring board storer of described wiring board and keep the wiring board that new hardware is installed and move compatibility relation between the needed various file.
File update processing module 42 is used for the compatibility relation judged according to described compatibility relation judge module, and the various files of storing in the described wiring board storer are upgraded or do not upgrade.
Described compatibility relation judge module 41 judges that the incompatible wiring board that new hardware is installed of keeping of the various files of storing in the wiring board storer of described wiring board moves needed various file; Described file update processing module 42 is upgraded the various files of storing in the described wiring board storer.
Described compatibility relation judge module 41 judges that the various file compatibilities of storing in the wiring board storer of described wiring board keep the wiring board that new hardware is installed and move needed various file; Described file update processing module 42 is not upgraded the various files of storing in the described wiring board storer.
Restart at described wiring board, after the file request information of the various files of storing in the described wiring board storer is carried in the master control borad transmission of the described network equipment.
Described compatibility relation judge module 41 is judged the relevant various files of storing in the master control borad storer of the described master control borad of storing in the described wiring board storer of various file compatibilities of described wiring board; Described file update processing module 42 replaces with the various files of storing in the described wiring board storer with the relevant various files of storing in the described master control borad storer of described wiring board.
Such as, at above-mentioned scene 1, after wiring board 1 restarted, wiring board 1CPU sent the file request information of carrying the various files of storing in above-mentioned wiring board 1 storer to master control borad CPU.Because the various files that the above-mentioned wiring board of storing in the master control borad storer is relevant do not upgrade, the version of the various files of storing in above-mentioned wiring board 1 storer is higher than the version of the relevant various files of the above-mentioned wiring board stored in the above-mentioned master control borad storer.So the information of the various files that the above-mentioned wiring board stored in the master control borad storer is relevant replaces with the various files of storing in the above-mentioned wiring board storer.
Described compatibility relation judge module 41 is judged the relevant various files of storing in the master control borad storer of the incompatible described master control borad of storing in the described wiring board storer of various files of described wiring board; Described file update processing module 42, the relevant various files of storing in the described master control borad storer of above-mentioned wiring board are sent to above-mentioned wiring board, the various files of storing in the described wiring board storer are replaced with the relevant various files of storing in the described master control borad storer of described wiring board by wiring board CPU.
Restart at described wiring board, after the file request information of keeping the various files of storing in required various files of described wiring board operation and the described wiring board storer is carried in the master control borad transmission of the described network equipment.
Described compatibility relation judge module 41 is judged the various files that described wiring board that the various files stored in the described wiring board storer store in the compatible described master control borad storeies simultaneously is relevant and is kept the required various files of described wiring board operation; Described file update processing module 42 replaces with the various files of storing in the described wiring board storer with the relevant various files of storing in the master control borad storer of described wiring board.
Described compatibility relation judge module 41 is judged the various files of storing in the various compatible described wiring board storeies of storing in the described master control borad storer of files while and is kept the required various files of described wiring board operation; Described file update processing module 42, the relevant various files of storing in the described master control borad storer of described wiring board are sent to described wiring board, the various files of storing in the described wiring board storer are replaced with the relevant various files of storing in the described master control borad storer of described wiring board by wiring board CPU.
Described compatibility relation judge module 41 is judged the relevant various files of storing in the described master control borad storer of the various file compatibilities of storing in the described wiring board storer of described wiring board, but the incompatible required various files of described wiring board operation of keeping; Perhaps, judge the various files of storing in the relevant described wiring board storer of various file compatibilities of the described wiring board stored in the described master control borad storer, but the incompatible required various files of described wiring board operation of keeping; Described file update processing module 42, downloaded from network is kept the required various files of described wiring board operation, the required various files of downloading of described wiring board operation of keeping are kept in the master control borad storer and send to described wiring board, the relevant various files of storing in the master control borad storer of described wiring board are replaced with the required various files of the described wiring board operation of keeping of described downloaded from network, the various files of storing in the wiring board storer are replaced with the required various files of the described wiring board operation of keeping of described downloaded from network by wiring board CPU.
In the master control borad storer of the master control borad of the described network equipment, store the relevant various files of wiring board respectively, after described master control borad receives the file request information of carrying the various files of storing in the described wiring board storer that wiring board sends according to the kind of wiring board.
Described compatibility relation judge module 41 is judged the various files of storing in the relevant described wiring board storer of various file compatibilities of the kind at the described wiring board place of storing in the described master control borad storer; Described file update processing module 42, the various files that the kind at the described wiring board place of storing in the described master control borad storer is relevant send to described wiring board, the various files of storing in the described wiring board storer are replaced with the relevant various files of kind at the described wiring board place of storing in the described master control borad storer.
Described compatibility relation judge module 41 is judged the various files of storing in the relevant incompatible described wiring board storer of various files of the kind at the described wiring board place of storing in the described master control borad storer; Described file update processing module 42, the various files that the kind at the described wiring board place of storing in the described master control borad storer is relevant replace with the various files of storing in the described wiring board storer.
One of ordinary skill in the art will appreciate that all or part of flow process that realizes in the foregoing description method, be to instruct relevant hardware to finish by computer program, described program can be stored in the computer read/write memory medium, this program can comprise the flow process as the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only storage memory body (Read-Only Memory, ROM) or at random store memory body (Random Access Memory, RAM) etc.
In sum, the embodiment of the invention is by behind new installation hardware on the wiring board of the network equipment, only conditionally the various files of storing in the described wiring board storer are upgraded, and do not need the whole network equipment is issued installation kit again, the whole network equipment does not need to restart.Thereby can improve the HardwareUpgring efficient of the network equipment, reduce the HardwareUpgring cost.
The embodiment of the invention, is selected the relevant various files of storing in the various files stored in the above-mentioned wiring board storer or the master control borad storer of above-mentioned wiring board are upgraded according to the compatibility relation between the relevant various files of the above-mentioned wiring board of storing in various files of storing in the above-mentioned wiring board storer and the master control borad storer by master control borad CPU.Can realize the required various files of wiring board operation of keeping of latest edition are kept in wiring board storer and the master control borad storer simultaneously.
The embodiment of the invention is by storing the relevant various files of wiring board respectively according to the kind of wiring board in the master control borad storer, upgrade thereby the wiring board of having realized the latest edition that master control borad CPU can upload according to a wiring board moves the various files of storing in needed various file other wiring board storer to identical type.By the various files of storing in the wiring board storer are upgraded in advance, make the various files stored in the wiring board storer can compatible new installed hardware, realize " plug and play " of new installed hardware.
The embodiment of the invention, is selected the relevant various files of storing in the various files stored in the wiring board storer or the master control borad storer of above-mentioned wiring board are upgraded according to the relevant various files of the above-mentioned wiring board of storing in the various files of storing in the wiring board storer, the master control borad storer with keep compatibility relation between the required various files of above-mentioned wiring board operation by master control borad CPU.Under the situation that can guarantee that the version of the file stored is all lower or all be damaged in circuit board memory, master control borad storer, that downloads latest edition from the webserver keeps the required various files of wiring board operation.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claim.
Claims (11)
1. the file management method of a network equipment is characterized in that, comprising:
After new hardware is installed on the wiring board of the network equipment, judges the various files of storing in the wiring board storer of described wiring board and keep the wiring board that new hardware is installed and move compatibility relation between the needed various file;
According to described compatibility relation the various files of storing in the described wiring board storer are upgraded or do not upgrade.
2. the file management method of the network equipment according to claim 1 is characterized in that, describedly according to described compatibility relation the various files of storing in the described wiring board storer is upgraded or does not upgrade, and comprising:
When the various files of storing in the wiring board storer of described wiring board are incompatible when keeping described wiring board and moving needed various file, the various files of storing in the described wiring board storer are upgraded;
When the various file compatibilities of storing in the wiring board storer of described wiring board are kept described wiring board and moved needed various file, the various files of storing in the described wiring board storer are not upgraded.
3. the file management method of the network equipment according to claim 1 is characterized in that, described method also comprises:
After described wiring board restarts, send the file request information of carrying the various files of storing in the described wiring board storer to the master control borad of the described network equipment;
Described master control borad is judged the relevant various files of described the wiring board whether various files stored in the described wiring board storer are stored in the master control borad storer of compatible described master control borad, if then the relevant various files of storing in the described master control borad storer of described wiring board are replaced with the various files of storing in the described wiring board storer; Otherwise, the relevant various files of storing in the described master control borad storer of described wiring board are sent to described wiring board, the various files of storing in the described wiring board storer are replaced with the relevant various files of storing in the described master control borad storer of described wiring board by described wiring board central processor CPU.
4. the file management method of the network equipment according to claim 1 is characterized in that, described method also comprises:
After described wiring board restarts, carry the file request information of keeping the various files of storing in required various files of described wiring board operation and the described wiring board storer to the master control borad transmission of the described network equipment;
Described master control borad judges the various files that the described wiring board stored in the master control borad storer of the various files of storing in the described wiring board storer, described master control borad is relevant and keeps compatibility relation between the required various files of described wiring board operation, determines whether the relevant various files of storing in the various files stored in the described wiring board storer or the described master control borad storer of described wiring board are upgraded according to described compatibility relation.
5. the file management method of the network equipment according to claim 4, it is characterized in that, describedly determine whether the relevant various files of storing in the various files stored in the described wiring board storer or the described master control borad storer of described wiring board are upgraded, comprising according to described compatibility relation:
When described master control borad is judged the various files that described wiring board that the various files stored in the described wiring board storer store in the compatible described master control borad storeies simultaneously is relevant and keep the required various file of described wiring board operation, then the relevant various files of storing in the master control borad storer of described wiring board are replaced with the various files of storing in the described wiring board storer;
When described master control borad is judged the various files that the various files stored in the described master control borad storer are stored in the compatible described wiring board storeies simultaneously and keep the required various file of described wiring board operation, then the relevant various files of storing in the described master control borad storer of described wiring board are sent to described wiring board, the various files of storing in the described wiring board storer are replaced with the relevant various files of storing in the described master control borad storer of described wiring board by described wiring board CPU;
When described master control borad is judged the various files that the described wiring board stored in the described master control borad storer of the various file compatibilities of storing in the described wiring board storer is relevant, but incompatible when keeping the required various file of described wiring board operation; Perhaps, described master control borad is judged the various files of storing in the relevant described wiring board storer of various file compatibilities of the described wiring board stored in the described master control borad storer, but it is incompatible when keeping the required various file of described wiring board operation, the downloaded of then described master control borad from network kept the required various files of described wiring board operation, the required various files of downloading of described wiring board operation of keeping are kept in the master control borad storer and send to described wiring board, the relevant various files of storing in the master control borad storer of described wiring board are replaced with the required various files of the described wiring board operation of keeping of described downloaded from network, the various files of storing in the wiring board storer are replaced with the required various files of the described wiring board operation of keeping of described downloaded from network by wiring board CPU.
6. according to the file management method of each described network equipment of claim 1 to 5, it is characterized in that described method also comprises:
In the master control borad storer of the master control borad of the described network equipment, store the relevant various files of wiring board respectively according to the kind of wiring board;
After described master control borad receives the file request information of carrying the various files of storing in the described wiring board storer of wiring board transmission, judge the various the files whether relevant various files of the kind at the described wiring board place of storing in the described master control borad storer are stored in the compatible described wiring board storer, if, then that the kind at the described wiring board place of storing in the described master control borad storer is relevant various files send to described wiring board, the various files of storing in the described wiring board storer are replaced with the relevant various files of kind at the described wiring board place of storing in the described master control borad storer by wiring board CPU; Otherwise the various files that the kind at the described wiring board place of storing in the described master control borad storer is relevant replace with the various files of storing in the described wiring board storer.
7. the document management apparatus of a network equipment is characterized in that, comprising:
The compatibility relation judge module is used for after new hardware is installed on the wiring board of the network equipment, judges the various files of storing in the wiring board storer of described wiring board and keeps the wiring board that new hardware is installed and move compatibility relation between the needed various file;
The file update processing module is used for the compatibility relation judged according to described compatibility relation judge module, and the various files of storing in the described wiring board storer are upgraded or do not upgrade.
8. the document management apparatus of the network equipment according to claim 7 is characterized in that,
Described compatibility relation judge module judges that the incompatible wiring board that new hardware is installed of keeping of the various files of storing in the wiring board storer of described wiring board moves needed various file; Described file update processing module is upgraded the various files of storing in the described wiring board storer;
Described compatibility relation judge module judges that the various file compatibilities of storing in the wiring board storer of described wiring board keep the wiring board that new hardware is installed and move needed various file; Described file update processing module is not upgraded the various files of storing in the described wiring board storer.
9. the document management apparatus of the network equipment according to claim 7 is characterized in that, restart at described wiring board, and after the file request information of the various files of storing in the described wiring board storer is carried in the master control borad transmission of the described network equipment,
Described compatibility relation judge module is judged the relevant various files of storing in the master control borad storer of the described master control borad of storing in the described wiring board storer of various file compatibilities of described wiring board; Described file update processing module replaces with the various files of storing in the described wiring board storer with the relevant various files of storing in the described master control borad storer of described wiring board;
Described compatibility relation judge module is judged the relevant various files of storing in the master control borad storer of the incompatible described master control borad of storing in the described wiring board storer of various files of described wiring board; Described file update processing module, the relevant various files of storing in the described master control borad storer of described wiring board are sent to described wiring board, the various files of storing in the described wiring board storer are replaced with the relevant various files of storing in the described master control borad storer of described wiring board by described wiring board CPU.
10. the document management apparatus of the network equipment according to claim 7, it is characterized in that, restart at described wiring board, after the file request information of keeping the various files of storing in required various files of described wiring board operation and the described wiring board storer is carried in the master control borad transmission of the described network equipment
Described compatibility relation judge module is judged the various files that described wiring board that the various files stored in the described wiring board storer store in the compatible described master control borad storeies simultaneously is relevant and is kept the required various files of described wiring board operation; Described file update processing module replaces with the various files of storing in the described wiring board storer with the relevant various files of storing in the master control borad storer of described wiring board;
Described compatibility relation judge module is judged the various files of storing in the various compatible described wiring board storeies of storing in the described master control borad storer of files while and is kept the required various files of described wiring board operation; Described file update processing module, the relevant various files of storing in the described master control borad storer of described wiring board are sent to described wiring board, the various files of storing in the described wiring board storer are replaced with the relevant various files of storing in the described master control borad storer of described wiring board by described wiring board CPU;
Described compatibility relation judge module is judged the relevant various files of storing in the described master control borad storer of the various file compatibilities of storing in the described wiring board storer of described wiring board, but the incompatible required various files of described wiring board operation of keeping; Perhaps, judge the various files of storing in the relevant described wiring board storer of various file compatibilities of the described wiring board stored in the described master control borad storer, but the incompatible required various files of described wiring board operation of keeping; Described file update processing module, downloaded from network is kept the required various files of described wiring board operation, the required various files of downloading of described wiring board operation of keeping are kept in the master control borad storer and send to described wiring board, the relevant various files of storing in the master control borad storer of described wiring board are replaced with the required various files of the described wiring board operation of keeping of described downloaded from network, the various files of storing in the wiring board storer are replaced with the required various files of the described wiring board operation of keeping of described downloaded from network by described wiring board CPU.
11. document management apparatus according to each described network equipment of claim 7 to 10, it is characterized in that, in the master control borad storer of the master control borad of the described network equipment, store the relevant various files of wiring board respectively according to the kind of wiring board, after described master control borad receives the file request information of carrying the various files of storing in the described wiring board storer of wiring board transmission
Described compatibility relation judge module is judged the various files of storing in the relevant described wiring board storer of various file compatibilities of the kind at the described wiring board place of storing in the described master control borad storer; Described file update processing module, the various files that the kind at the described wiring board place of storing in the described master control borad storer is relevant send to described wiring board, the various files of storing in the described wiring board storer are replaced with the relevant various files of kind at the described wiring board place of storing in the described master control borad storer by described wiring board CPU;
Described compatibility relation judge module is judged the various files of storing in the relevant incompatible described wiring board storer of various files of the kind at the described wiring board place of storing in the described master control borad storer; Described file update processing module, the various files that the kind at the described wiring board place of storing in the described master control borad storer is relevant replace with the various files of storing in the described wiring board storer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110031115.3A CN102147804B (en) | 2011-01-26 | 2011-01-26 | Method and device for managing file of network equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110031115.3A CN102147804B (en) | 2011-01-26 | 2011-01-26 | Method and device for managing file of network equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102147804A true CN102147804A (en) | 2011-08-10 |
CN102147804B CN102147804B (en) | 2014-10-08 |
Family
ID=44422070
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110031115.3A Expired - Fee Related CN102147804B (en) | 2011-01-26 | 2011-01-26 | Method and device for managing file of network equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102147804B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2001067785A2 (en) * | 2000-03-04 | 2001-09-13 | Motorola Inc. | Secure data download |
CN1786908A (en) * | 2004-12-11 | 2006-06-14 | 鸿富锦精密工业(深圳)有限公司 | Active software renewing apparatus and method thereof |
CN101119188A (en) * | 2007-09-25 | 2008-02-06 | 中兴通讯股份有限公司 | Single board updating method for implementing uninterruptive service |
CN101834746A (en) * | 2010-05-24 | 2010-09-15 | 中兴通讯股份有限公司 | Method, device and system for implementing compatibility of network management device and equipment veneer |
-
2011
- 2011-01-26 CN CN201110031115.3A patent/CN102147804B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2001067785A2 (en) * | 2000-03-04 | 2001-09-13 | Motorola Inc. | Secure data download |
CN1786908A (en) * | 2004-12-11 | 2006-06-14 | 鸿富锦精密工业(深圳)有限公司 | Active software renewing apparatus and method thereof |
CN101119188A (en) * | 2007-09-25 | 2008-02-06 | 中兴通讯股份有限公司 | Single board updating method for implementing uninterruptive service |
CN101834746A (en) * | 2010-05-24 | 2010-09-15 | 中兴通讯股份有限公司 | Method, device and system for implementing compatibility of network management device and equipment veneer |
Also Published As
Publication number | Publication date |
---|---|
CN102147804B (en) | 2014-10-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
RU2446450C2 (en) | Converting machines to virtual machines | |
CN101425017B (en) | Installation method and system of updated software for server components | |
CN103793238A (en) | Rack and method for simultaneously updating multiple basic input output systems thereof | |
US20110173604A1 (en) | Firmware updating system, firmware delivering server, firmware embedded device, and program | |
CN105183517A (en) | Method and device for mounting external storage equipment in recovery mode and electronic device | |
RU2008144691A (en) | SYSTEM AND METHOD FOR UPDATING THE PROGRAM FOR MOBILE TERMINAL WITH OTA SUPPORT | |
CN102855146A (en) | Firmware updating system and method | |
CN101840341A (en) | Intelligent mobile phone system and starting method thereof | |
CN101183337A (en) | Space management techniques based on NAND FLASH mobile terminal storage medium | |
CN104142847A (en) | Stateless virtual machine under cloud computation environment and application thereof | |
CN101287187A (en) | Intelligent mobile phone and operating method of the operation system | |
CN110633091A (en) | Electronic module and software wireless upgrading method thereof | |
WO2008038063A1 (en) | Method and apparatus for updating firmware as a background task | |
CN101876885A (en) | Method and device for allocating logical DOS drives | |
CN103425527A (en) | Multi-system switching method and switching device | |
CN105068819A (en) | Application calling method and device and terminal | |
CN103136015A (en) | Method and system for controlling U boot to enter download operation mode | |
CN104035800A (en) | Incremental packet generation method and device, version upgrade method and device, and version upgrade system | |
CN104239098A (en) | Automatic software upgrading method and device and mobile terminal | |
CN104657164A (en) | Method and device for updating and processing software | |
CN104461621A (en) | Attribute information updating method and device | |
CN1932779A (en) | Method and apparatus for updating data | |
CN103036948A (en) | Network file processing method and execution node and software as a service (SaaS) platform | |
EP1732297A1 (en) | Processor controlled device with different operation modes | |
CN103392174B (en) | Based on the system of flash memory storage, partition method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C53 | Correction of patent of invention or patent application | ||
CB02 | Change of applicant information |
Address after: 100085 Beijing, Haidian District on the road, No. 3 Applicant after: Beijing Huawei Digital Technology Co.,Ltd. Address before: 100085 Beijing, Haidian District on the road, No. 3 Applicant before: Huawei Digit Technology Co., Ltd. |
|
COR | Change of bibliographic data |
Free format text: CORRECT: APPLICANT; FROM: HUAWEI DIGIT TECHNOLOGY CO., LTD. TO: BEIJING HUAWEI DIGITAL TECHNOLOGY CO., LTD. |
|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20141008 Termination date: 20190126 |