CN102831000A - System upgrading method and system - Google Patents

System upgrading method and system Download PDF

Info

Publication number
CN102831000A
CN102831000A CN2012103343305A CN201210334330A CN102831000A CN 102831000 A CN102831000 A CN 102831000A CN 2012103343305 A CN2012103343305 A CN 2012103343305A CN 201210334330 A CN201210334330 A CN 201210334330A CN 102831000 A CN102831000 A CN 102831000A
Authority
CN
China
Prior art keywords
subsystem
file
upgrade file
level subsystem
level
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
CN2012103343305A
Other languages
Chinese (zh)
Other versions
CN102831000B (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 CN201210334330.5A priority Critical patent/CN102831000B/en
Publication of CN102831000A publication Critical patent/CN102831000A/en
Application granted granted Critical
Publication of CN102831000B publication Critical patent/CN102831000B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a system upgrading method and a system, which relate to the field of a computer. The system upgrading method comprises the following steps that a primary subsystem receives a target upgrading file transmitted by a main system through a first upgrading protocol, wherein the target upgrading file comprises a first upgrading file and a second upgrading file for upgrading a secondary subsystem, the first upgrading file at least comprises a first code which is used for adding a target function for the primary subsystem, and the target function enables the primary subsystem to be capable of transmitting the second upgrading file to the secondary subsystem; the primary subsystem analyzes the target upgrading file to obtain the first upgrading file and the second upgrading file; the primary subsystem runs the first upgrading file, so that the primary subsystem has a function for transmitting the second upgrading file to the secondary subsystem; and the primary subsystem transmits the second upgrading file to the secondary subsystem through a second upgrading protocol, so that the secondary subsystem is upgraded. Through the system upgrading method and the system, the operation for upgrading the secondary subsystem can be simplified, and the upgrading efficiency can be improved.

Description

The method and system of system upgrade
Technical field
The present invention relates to computer realm, especially relate to a kind of method and system of system upgrade.
Background technology
At present, in the wavelength-division communication system, photoelectric conversion module is operated on the service board, and photoelectric conversion module comprises some internal components.The partial interior device of service board, photoelectric conversion module and optical-electric module all has software systems separately.If the software systems of service board are regarded as main system; Then the software systems of photoelectric conversion module are the one-level subsystem; The software systems of photoelectric conversion module internal components are the secondary subsystem, and wherein, above-mentioned main system, one-level subsystem and secondary subsystem have constituted the dibaryon system.
In implementation procedure; In order to make main system, one-level subsystem and secondary subsystem can carry out alternately; Usually follow following standard: have first communication protocol and first updating protocol between main system and the one-level subsystem; Wherein, first communication protocol is used for the data interaction between main system and the one-level subsystem, and it is that the software of one-level subsystem is upgraded that first updating protocol is specifically designed to main system; When the one-level subsystem receives the data that main system sends over through first updating protocol, promptly think the file that the one-level subsystem is upgraded.There are the second communication agreement and second updating protocol between one-level subsystem and the secondary subsystem; The second communication agreement is used for the data interaction between one-level subsystem and the secondary subsystem; It is that the software of secondary subsystem is upgraded that second updating protocol is specifically designed to the one-level subsystem; When the secondary subsystem receives the data that the one-level subsystem sends over through second updating protocol, promptly think the file that the secondary subsystem is upgraded.
Need to prove; The internal components manufacturer of photoelectric conversion module is more; And the method for upgrading software of the internal components of each manufacturer production also has nothing in common with each other, and the developer is unknown for the employed internal components of photoelectric conversion module when carrying out the initial designs of main system and one-level subsystem; So when main system and one-level subsystem are designed, not will consider the problem that the software of secondary subsystem is upgraded usually.
After the internal components installation, in the process of using,, at present, take following method usually if need upgrade to the software in the secondary subsystem:
At first; Need or upgrade to main system by the technician by the superior system of main system; Make main system possess the function that the upgrade file of secondary subsystem is divided into a plurality of order bags according to first communication protocol; Also need in the one-level subsystem, add the upgrade function module, make the one-level subsystem possess the function of giving the secondary sub-system staging through second updating protocol by technician or upgrading tool;
Secondly, main system is divided into a plurality of order bags according to first communication protocol with the upgrade file of secondary subsystem, will order again wrap one by one send to the one-level subsystem.
Then; When the one-level subsystem receives the order bag that main system issues; Resolve according to first communication protocol and to obtain order bag content; And will order the bag content to be packaged into the upgrade file order again according to second updating protocol and wrap; According to second updating protocol upgrade file order bag is sent to the secondary subsystem one by one again, so that the secondary subsystem when receiving upgrade file order bag, is resolved and obtained upgrade file order bag content and with the address space of this upgrade file order bag content stores to appointment.After all upgrade file order bags that the secondary subsystem will receive are all resolved and stored the address space of appointment into, accomplish the upgrading of secondary subsystem.
In the existing method; When needs are upgraded to the secondary subsystem; Main system is packaged into upgrade file the order bag and will orders bag to send to the one-level subsystem according to first communication protocol, because the data volume that each order bag of defined can be deposited in first communication protocol is too small, so in escalation process; Needs exchanges data repeatedly could be accomplished the transmission of upgrade file between main system and the one-level subsystem; Cause the data transmission between main system and one-level subsystem consuming time longer, make that the operation when the secondary subsystem upgraded is comparatively complicated, efficient is lower.
Summary of the invention
Embodiments of the invention provide a kind of method and system of system upgrade, through the present invention, have simplified the operation when the secondary subsystem upgraded, and improve upgrading efficient.
For achieving the above object, embodiments of the invention adopt following technical scheme:
A kind of method of system upgrade is applied in the dibaryon system, and said dibaryon system comprises: main system, one-level subsystem and secondary subsystem comprise:
The one-level subsystem receives the targeted update file that main system is sent through first updating protocol; Wherein, The targeted update file comprises first upgrade file and second upgrade file that is used for the secondary subsystem is upgraded; First upgrade file comprises first code that is used to one-level subsystem increase objective function at least, and objective function makes said one-level subsystem can second upgrade file be sent to the secondary subsystem;
One-level sub system analysis targeted update file obtains first upgrade file and second upgrade file;
The one-level subsystem moves first upgrade file, makes the one-level subsystem have the function that second upgrade file is sent to the secondary subsystem;
The one-level subsystem sends to the secondary subsystem through second updating protocol with second upgrade file, makes the secondary subsystem accomplish upgrading.
The method of another kind of system upgrade is applied in the dibaryon system, and said dibaryon system comprises: main system, one-level subsystem and secondary subsystem comprise:
Main system is obtained the user first upgrade file and second upgrade file is merged the targeted update file that obtains after the processing;
Main system sends to the one-level subsystem through first updating protocol with the targeted update file; Wherein, The targeted update file comprises first upgrade file and second upgrade file that is used for the secondary subsystem is upgraded; First upgrade file comprises first code that is used to one-level subsystem increase objective function at least, and objective function makes said one-level subsystem can second upgrade file be sent to the secondary subsystem.
A kind of one-level subsystem comprises:
Receiving element; Be used to receive the targeted update file that main system is sent through first updating protocol; Wherein, The targeted update file comprises first upgrade file and second upgrade file that is used for the secondary subsystem is upgraded, and first upgrade file comprises first code that is used to one-level subsystem increase objective function at least, and objective function makes said one-level subsystem can second upgrade file be sent to the secondary subsystem;
Resolution unit is used to resolve the targeted update file, obtains first upgrade file and second upgrade file;
The operation unit is used to move first upgrade file, makes the one-level subsystem have the function that second upgrade file is sent to the secondary subsystem;
Transmitting element is used for through second updating protocol second upgrade file being sent to the secondary subsystem, makes the secondary subsystem accomplish upgrading.
A kind of main system comprises:
Acquiring unit is used to obtain the user first upgrade file and second upgrade file is merged the targeted update file that obtains after the processing;
Transmitting element; Be used for the targeted update file being sent to the one-level subsystem through first updating protocol; Wherein, The targeted update file comprises first upgrade file and second upgrade file that is used for the secondary subsystem is upgraded, and first upgrade file comprises first code that is used to one-level subsystem increase objective function at least, and objective function makes said one-level subsystem can second upgrade file be sent to the secondary subsystem.
A kind of dibaryon system comprises:
Above-mentioned main system, above-mentioned one-level subsystem and secondary subsystem.
The method and system of a kind of system upgrade provided by the invention; Main system takes place the targeted update file to the one-level subsystem through first updating protocol; The one-level subsystem is resolved first upgrade file that obtains through operation; Make the one-level subsystem have the function that second upgrade file is sent to the secondary subsystem, the one-level subsystem sends to the secondary subsystem through second updating protocol with second upgrade file again, makes the secondary subsystem accomplish upgrading.Among the present invention; When the secondary subsystem is upgraded, because the data volume that each order bag of defined can be deposited in first updating protocol is bigger, when main system sends to the one-level subsystem with file destination; Then can file destination be divided into less order bag and send to the one-level subsystem; Thereby effectively reduced the time of data transmission between main system and one-level subsystem, simplified the operation when the secondary subsystem upgraded, improved upgrading efficient.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art; To do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below; Obviously, the 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 method flow diagram of a kind of system upgrade that Fig. 1 provides for one embodiment of the present of invention;
The method flow diagram of the another kind of system upgrade that Fig. 2 provides for one embodiment of the present of invention;
The method flow diagram of a kind of system upgrade that Fig. 3 provides for an alternative embodiment of the invention;
The method flow diagram of a kind of system upgrade that Fig. 4 provides for another embodiment of the present invention;
The structural drawing of a kind of one-level subsystem that Fig. 5 provides for another embodiment of the present invention;
The structural drawing of the another kind of one-level subsystem that Fig. 6 provides for another embodiment of the present invention;
The structural drawing of a kind of main system that Fig. 7 provides for another embodiment of the present invention;
A kind of dibaryon system construction drawing that Fig. 8 provides for another embodiment of the present invention.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
Referring to Fig. 1, one embodiment of the present of invention provide a kind of method flow diagram of system upgrade, specifically comprise the steps:
101: the one-level subsystem receives the targeted update file that main system is sent through first updating protocol; Wherein, The targeted update file comprises first upgrade file and second upgrade file that is used for the secondary subsystem is upgraded; First upgrade file comprises first code that is used to one-level subsystem increase objective function at least, and objective function makes the one-level subsystem can second upgrade file be sent to the secondary subsystem.
102: one-level sub system analysis targeted update file obtains first upgrade file and second upgrade file.
103: the one-level subsystem moves first upgrade file, makes the one-level subsystem have said objective function, is about to the function that second upgrade file sends to the secondary subsystem.
104: the one-level subsystem sends to the secondary subsystem through second updating protocol with second upgrade file, makes the secondary subsystem accomplish upgrading.
Referring to Fig. 2, one embodiment of the present of invention provide the method flow diagram of another kind of system upgrade, specifically comprise the steps:
201: main system is obtained the user first upgrade file and second upgrade file is merged the targeted update file that obtains after the processing;
202: main system sends to the one-level subsystem through first updating protocol with the targeted update file; Wherein, The targeted update file comprises first upgrade file and second upgrade file that is used for the secondary subsystem is upgraded; First upgrade file comprises first code that is used to one-level subsystem increase objective function at least, and objective function makes said one-level subsystem can second upgrade file be sent to the secondary subsystem.
The method of a kind of system upgrade that present embodiment provides; Main system takes place the targeted update file to the one-level subsystem through first updating protocol; The one-level subsystem is resolved first upgrade file that obtains through operation; Make the one-level subsystem have the function that second upgrade file is sent to the secondary subsystem, the one-level subsystem sends to the secondary subsystem through second updating protocol with second upgrade file again, makes the secondary subsystem accomplish upgrading.In the method that present embodiment provides; When the secondary subsystem is upgraded, because the data volume that each order bag of defined can be deposited in first updating protocol is bigger, when main system sends to the one-level subsystem with file destination; Then can file destination be divided into less order bag and send to the one-level subsystem; Thereby effectively reduced the time of data transmission between main system and one-level subsystem, simplified the operation when the secondary subsystem upgraded, improved upgrading efficient.
In the present embodiment; Before the secondary subsystem is upgraded; The user judges in the one-level subsystem except that original file, and whether enough the storage of remaining storage space comprises first upgrade file and second upgrade file of first generation sign indicating number, wherein; First code is used to the one-level subsystem increases objective function, and objective function makes said one-level subsystem can second upgrade file be sent to the secondary subsystem.
When in the one-level subsystem except that original file, remaining memory space inadequate is when storing first upgrade file (comprising first code) and second upgrade file, the method that the secondary subsystem is upgraded is with reference to Fig. 3.
When in the one-level subsystem except that original file, when remaining storage space was enough stored first upgrade file (comprising first code) and second upgrade file, the method that the secondary subsystem is upgraded was with reference to Fig. 4.
Introduce the method that the described secondary subsystem of Fig. 3 and Fig. 4 is upgraded below successively.
Participate in Fig. 3, an alternative embodiment of the invention provides a kind of method flow diagram of system upgrade, specifically comprises the steps:
301: main system is obtained the user first upgrade file and second upgrade file is merged the targeted update file that obtains after the processing.
Wherein, first upgrade file can be embodied as being used to of writing the code that the one-level subsystem increases objective function for the user.
Optional; In the embodiment of the invention; First upgrade file can comprise first code and interface document, and first code is used to the one-level subsystem increases objective function, and objective function is for sending to second upgrade file function of secondary subsystem through second updating protocol; After interface document is used for the one-level subsystem and moves first code, when carrying out objective function the interface document that must call.
Wherein, second upgrade file is to be used for upgrade file that the secondary subsystem is upgraded, just the code of user through writing.
Wherein, the user merges the targeted update file that obtains after the processing with above-mentioned first upgrade file and above-mentioned second upgrade file that comprises first code and interface document.
Need to prove; Because secondary subsystem and one-level subsystem development merchant's is different; Possibly cause different in secondary subsystem and one-level subsystem file storage format; Therefore, before this step 301, the user judges whether the form of second upgrade file satisfies the storage format demand of one-level subsystem;
When the form of second upgrade file did not satisfy the storage format demand of one-level subsystem, the user carried out format conversion to second upgrade file, made the second upgrade file form can satisfy the storage format of one-level subsystem.
Optional, the user can accomplish on main system the operation that second upgrade file carries out format conversion, and wherein, the format conversion of file belongs to prior art, repeats no more at this.
For example, original form of second upgrade file is the DIN form, and the acceptable storage format is the HEX form in the one-level subsystem, at this moment, can on main system, the format conversion of second upgrade file be become the HEX form by the user.
302: main system sends to the one-level subsystem through first updating protocol with delete instruction, with original file of deletion one-level subsystem.
Wherein, first updating protocol is an existing protocol.
Need to prove; Since in the one-level subsystem except that original file; Remaining memory space inadequate is to store first upgrade file (comprising first code) and second upgrade file; Main system is deleted original file of one-level subsystem through sending delete instruction, with thinking targeted update file reserved storage space.
303: main system is sent the targeted update file through first updating protocol to the one-level subsystem.
Wherein, the targeted update file comprises first upgrade file and second upgrade file, and first upgrade file comprises first code and interface document.
304: after the one-level subsystem receives the targeted update file, resolve the targeted update file, obtain first upgrade file and second upgrade file.
305: one-level subsystem stores first upgrade file and second upgrade file.
Wherein, the one-level subsystem is stored in first upgrade file and second upgrade file in the flash space of appointment.
306: the one-level subsystem moves first upgrade file, makes the one-level subsystem have the function that second upgrade file is sent to the secondary subsystem.
Need to prove; In the prior art, the one-level subsystem can think that promptly this document is the file that the one-level subsystem is upgraded when receiving the file that main system sends over through first updating protocol; Thereby operation this document is upgraded to the one-level subsystem; The present invention has utilized this point just, and first upgrade file that will have objective function sends to the one-level subsystem through first updating protocol, after the one-level subsystem receives first upgrade file; Promptly can move first upgrade file, self have objective function thereby make.
307: the one-level subsystem sends to the secondary subsystem through second updating protocol with second upgrade file, makes the secondary subsystem accomplish upgrading.
Wherein, second updating protocol is an existing protocol.
308: main system sends to the one-level subsystem through first updating protocol with original file of one-level subsystem.
Need to prove; When in the one-level subsystem except that original file; When remaining storage space only can be stored first upgrade file, then main system was only deleted second upgrade file in the one-level subsystem before through first updating protocol original file of one-level subsystem being sent to the one-level subsystem; Keep first upgrade file; So that the one-level subsystem possesses objective function for a long time, when carrying out upgrading secondary subsystem, need can not possess objective function receiving first upgrade file next time, reduced the volume of transmitted data between the main system and one-level subsystem when the secondary subsystem upgraded more.
309: after the one-level subsystem receives original file of the one-level subsystem that main system sends, reduction one-level subsystem.
It is emphasized that the present invention is applied in the dibaryon system, the dibaryon system comprises: above-mentioned main system, above-mentioned one-level subsystem and above-mentioned secondary subsystem.With the wavelength-division system is example, and main system can be the software system of service board, and the one-level subsystem can be the software systems of photoelectric conversion module, and the secondary subsystem is the software systems of photoelectric conversion module internal components.But the scope of application of the present invention is not limited thereto, if satisfy main system through the one-level subsystem to the secondary subsystem upgrade concern the time, be the scope of application of the present invention.
The method of a kind of system upgrade that present embodiment provides; When the memory space inadequate of one-level subsystem; After by main system original file of one-level subsystem being deleted, through first updating protocol targeted update file is sent to the one-level subsystem as the upgrade file of one-level subsystem again, the one-level subsystem is resolved first upgrade file that obtains through operation; Make the one-level subsystem have the function that second upgrade file is sent to the secondary subsystem; The one-level subsystem sends to the secondary subsystem through second updating protocol with second upgrade file again, makes the secondary subsystem accomplish upgrading, after the secondary sub-system staging is accomplished; Main system sends to the one-level subsystem through first updating protocol with original file of one-level subsystem, reduction one-level subsystem.In the present embodiment; When the secondary subsystem is upgraded, because the data volume that each order bag of defined can be deposited in first updating protocol is bigger, when main system sends to the one-level subsystem with file destination; Then can file destination be divided into less order bag and send to the one-level subsystem; Thereby effectively reduced the time of data transmission between main system and one-level subsystem, simplified the operation when the secondary subsystem upgraded, improved upgrading efficient.
Participate in Fig. 4; When in the one-level subsystem except that original file; When remaining storage space was enough stored first upgrade file (comprising first code) and second upgrade file, another embodiment of the present invention provided a kind of method flow diagram of system upgrade, specifically comprises the steps:
401: main system is obtained the user first upgrade file and second upgrade file is merged the targeted update file that obtains after the processing.
Wherein, first upgrade file can be the code that be used to be embodied as one-level subsystem increase objective function of user through writing.
Optional, in the embodiment of the invention, first upgrade file can comprise first code, and first code is used to the one-level subsystem increases objective function, and objective function is for sending to second upgrade file function of secondary subsystem through second updating protocol.
Wherein, second upgrade file is the upgrade file of secondary subsystem, the code that also can obtain through coding for the user.
Wherein, the user merges the targeted update file that obtains after the processing with above-mentioned first upgrade file and above-mentioned second upgrade file that comprises first code.
Need to prove; Because secondary subsystem and one-level subsystem development merchant's is different; Possibly cause different in secondary subsystem and one-level subsystem file storage format; Therefore, before this step 401, the user judges whether the form of second upgrade file satisfies the storage format demand of one-level subsystem;
When the form of second upgrade file did not satisfy the storage format demand of one-level subsystem, the user carried out format conversion to second upgrade file, made the second upgrade file form can satisfy the storage format of one-level subsystem.
Optional, the user carries out operating on the main system of format conversion to second upgrade file and accomplishes, and wherein, the format conversion of file belongs to prior art, repeats no more at this.
For example, original form of second upgrade file is the DIN form, and the acceptable storage format is the HEX form in the one-level subsystem, at this moment, can on main system, the format conversion of second upgrade file be become the HEX form by the user.
402: main system is sent the targeted update file through first updating protocol to the one-level subsystem.
Wherein, first updating protocol is an existing protocol.
Wherein, the targeted update file comprises first upgrade file and second upgrade file, and first upgrade file comprises first code.
403: after the one-level subsystem receives the targeted update file, resolve the targeted update file, obtain first upgrade file and second upgrade file.
404: one-level subsystem stores first upgrade file and second upgrade file.
Wherein, the one-level subsystem is stored in first upgrade file and second upgrade file in the flash space of appointment.
405: the one-level subsystem moves first upgrade file, makes the one-level subsystem have the function that second upgrade file is sent to the secondary subsystem.
Need to prove; In the prior art, the one-level subsystem can think that promptly this document is the file that the one-level subsystem is upgraded when receiving the file that main system sends over through first updating protocol; Thereby operation this document is upgraded to the one-level subsystem; The present invention has utilized this point just, and first upgrade file that will have objective function sends to the one-level subsystem through first updating protocol, after the one-level subsystem receives first upgrade file; Promptly can move first upgrade file, self have objective function thereby make.
406: the one-level subsystem sends to the secondary subsystem through second updating protocol with second upgrade file, makes the secondary subsystem accomplish upgrading.
Wherein, second updating protocol is an existing protocol.
Need to prove that after step above-mentioned 406, in order to discharge the storage space of one-level subsystem, this method also comprises the steps:
407: the one-level subsystem is deleted second upgrade file.
Optional, step 407 can also for: the one-level subsystem is deleted first upgrade file and second upgrade file.
Need to prove; The one-level subsystem is preferably only deleted second upgrade file; Keep first upgrade file; So that the one-level subsystem possesses objective function for a long time, when carrying out upgrading secondary subsystem, need can not possess objective function receiving first upgrade file next time, reduced the volume of transmitted data between the main system and one-level subsystem when the secondary subsystem upgraded more.
It is emphasized that the present invention is applied in the dibaryon system, the dibaryon system comprises: above-mentioned main system, above-mentioned one-level subsystem and above-mentioned secondary subsystem.With the wavelength-division system is example, and main system can be the software system of service board, and the one-level subsystem can be the software systems of photoelectric conversion module, and the secondary subsystem is the software systems of photoelectric conversion module internal components.But the scope of application of the present invention is not limited thereto, if satisfy main system through the one-level subsystem to the secondary subsystem upgrade concern the time, be the scope of application of the present invention.
The method of a kind of system upgrade that present embodiment provides; When the storage space of one-level subsystem is enough; Directly the targeted update file is sent to the one-level subsystem as the upgrade file of one-level subsystem by main system through first updating protocol; The one-level subsystem is resolved first upgrade file that obtains through operation; Make the one-level subsystem have the function that second upgrade file is sent to the secondary subsystem, the one-level subsystem sends to the secondary subsystem through second updating protocol with second upgrade file again, makes the secondary subsystem accomplish upgrading.In the present embodiment; When the secondary subsystem is upgraded, because the data volume that each order bag of defined can be deposited in first updating protocol is bigger, when main system sends to the one-level subsystem with file destination; Then can file destination be divided into less order bag and send to the one-level subsystem; Thereby effectively reduced the time of data transmission between main system and one-level subsystem, simplified the operation when the secondary subsystem upgraded, improved upgrading efficient.
Referring to Fig. 5, another embodiment of the present invention provides a kind of structural drawing of one-level subsystem, and said one-level subsystem 500 specifically comprises:
Receiving element 501; Be used to receive the targeted update file that main system is sent through first updating protocol; Wherein, The targeted update file comprises first upgrade file and second upgrade file that is used for the secondary subsystem is upgraded, and first upgrade file comprises first code that is used to one-level subsystem increase objective function at least, and objective function makes said one-level subsystem can second upgrade file be sent to the secondary subsystem;
Resolution unit 502 is used to resolve the targeted update file, obtains first upgrade file and second upgrade file;
Operation unit 503 is used to move first upgrade file, makes the one-level subsystem have the function that second upgrade file is sent to the secondary subsystem;
Transmitting element 504 is used for through second updating protocol second upgrade file being sent to the secondary subsystem, makes the secondary subsystem accomplish upgrading.
Further, referring to Fig. 6, above-mentioned one-level subsystem also comprises:
Storage unit 505 is used to store first upgrade file and second upgrade file.
Further, first upgrade file also comprises interface document, after interface document is used for the one-level subsystem and moves first code, when carrying out objective function the interface document that must call;
Original file of one-level subsystem sends delete instruction by main system through first updating protocol and deletes.
Above-mentioned receiving element 501 also is used for after transmitting element 504 sends to the secondary subsystem through second updating protocol with second upgrade file, receives the original file of main system through the one-level subsystem of first updating protocol transmission, and reduction one-level subsystem.
Referring to Fig. 7, another embodiment of the present invention provides a kind of structural drawing of main system, and said main system 600 specifically comprises:
Acquiring unit 601 is used to obtain the user first upgrade file and second upgrade file is merged the targeted update file that obtains after the processing;
Transmitting element 602; Main system sends to the one-level subsystem through first updating protocol with the targeted update file; Wherein, The targeted update file comprises first upgrade file and second upgrade file that is used for the secondary subsystem is upgraded, and first upgrade file comprises first code that is used to one-level subsystem increase objective function at least, and objective function makes said one-level subsystem can second upgrade file be sent to the secondary subsystem.
Further, first upgrade file also comprises interface document, after interface document is used for the one-level subsystem and moves first code, when carrying out objective function the interface document that must call;
Above-mentioned transmitting element 602; Also be used for before the targeted update file being sent to the one-level subsystem through first updating protocol; When the storage space of one-level subsystem can not satisfy the demand of storage first upgrade file and second upgrade file; Through first updating protocol first instruction is sent to the one-level subsystem, with original file of deletion one-level subsystem.
Further, above-mentioned transmitting element 602 also is used for through first updating protocol original file of one-level subsystem being sent to the one-level subsystem.
Referring to Fig. 8, another embodiment of the present invention provides a kind of dibaryon system construction drawing, specifically comprises above-mentioned one-level subsystem 500, above-mentioned main system 600 and above-mentioned secondary subsystem 700;
Further, above-mentioned main system 600 is the software systems of service board in the wavelength-division communication system; One-level subsystem 500 is the software systems of photoelectric conversion module; Secondary subsystem 700 is the software systems of photoelectric conversion module internal components.
The system of a kind of system upgrade that present embodiment provides; Main system takes place the targeted update file to the one-level subsystem through first updating protocol; The one-level subsystem is resolved first upgrade file that obtains through operation; Make the one-level subsystem have the function that second upgrade file is sent to the secondary subsystem, the one-level subsystem sends to the secondary subsystem through second updating protocol with second upgrade file again, makes the secondary subsystem accomplish upgrading.In the present embodiment; When the secondary subsystem is upgraded, because the data volume that each order bag of defined can be deposited in first updating protocol is bigger, when main system sends to the one-level subsystem with file destination; Then can file destination be divided into less order bag and send to the one-level subsystem; Thereby effectively reduced the time of data transmission between main system and one-level subsystem, simplified the operation when the secondary subsystem upgraded, improved upgrading efficient.
Through the description of above embodiment, the those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential common hardware, can certainly pass through hardware, but the former is better embodiment under a lot of situation.Based on such understanding; The part that technical scheme of the present invention contributes to prior art in essence in other words can be come out with the embodied of software product, and this computer software product is stored in the storage medium that can read, like the floppy disk of computing machine; Hard disk or CD etc.; Comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
The above; Be merely embodiment of the present invention, but protection scope of the present invention is not limited thereto, any technician who is familiar with the present technique field is in the technical scope that the present invention discloses; Can expect easily changing 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 said claim.

Claims (16)

1. the method for a system upgrade is applied in the dibaryon system, and said dibaryon system comprises: main system, one-level subsystem and secondary subsystem, it is characterized in that, and comprising:
Said one-level subsystem receives the targeted update file that said main system is sent through first updating protocol; Wherein, Said targeted update file comprises first upgrade file and second upgrade file that is used for said secondary subsystem is upgraded; Said first upgrade file comprises first code that is used to said one-level subsystem increase objective function at least, and said objective function makes said one-level subsystem can said second upgrade file be sent to said secondary subsystem;
The said targeted update file of said one-level sub system analysis obtains said first upgrade file and said second upgrade file;
Said one-level subsystem moves said first upgrade file, makes said one-level subsystem have the function that said second upgrade file is sent to said secondary subsystem;
Said one-level subsystem sends to said secondary subsystem through second updating protocol with said second upgrade file, makes said secondary subsystem accomplish upgrading.
2. method according to claim 1 is characterized in that, also comprises:
Said first upgrade file of said one-level subsystem stores and said second upgrade file.
3. method according to claim 2 is characterized in that, said first upgrade file also comprises interface document, after said interface document is used for the one-level subsystem and moves said first code, when carrying out said objective function the interface document that must call;
Original file of said one-level subsystem sends delete instruction by said main system through said first updating protocol and deletes.
4. method according to claim 3 is characterized in that, after said one-level subsystem sends to said secondary subsystem through second updating protocol with said second upgrade file, also comprises:
Said one-level subsystem receives original file of the said one-level subsystem that said main system sends through said first updating protocol, and reduces said one-level subsystem.
5. the method for a system upgrade is applied in the dibaryon system, and said dibaryon system comprises: main system, one-level subsystem and secondary subsystem, it is characterized in that, and comprising:
Said main system is obtained the user first upgrade file and second upgrade file is merged the targeted update file that obtains after the processing;
Said main system sends to said one-level subsystem through first updating protocol with said targeted update file; Wherein, Said targeted update file comprises first upgrade file and second upgrade file that is used for said secondary subsystem is upgraded; Said first upgrade file comprises first code that is used to said one-level subsystem increase objective function at least, and said objective function makes said one-level subsystem can said second upgrade file be sent to said secondary subsystem.
6. method according to claim 5 is characterized in that, said first upgrade file also comprises interface document, after said interface document is used for the one-level subsystem and moves said first code, when carrying out said objective function the interface document that must call;
Before said main system sends to said one-level subsystem through first updating protocol with the targeted update file, also comprise:
When the storage space of said one-level subsystem can not satisfy the demand of said first upgrade file of storage and said second upgrade file; Said main system sends to said one-level subsystem through said first updating protocol with delete instruction, with original file of deletion one-level subsystem.
7. method according to claim 6 is characterized in that, also comprises:
Said main system sends to said one-level subsystem through said first updating protocol with original file of said one-level subsystem.
8. an one-level subsystem is characterized in that, comprising:
Receiving element; Be used to receive the targeted update file that said main system is sent through first updating protocol; Wherein, Said targeted update file comprises first upgrade file and second upgrade file that is used for said secondary subsystem is upgraded, and said first upgrade file comprises first code that is used to said one-level subsystem increase objective function at least, and said objective function makes said one-level subsystem can said second upgrade file be sent to said secondary subsystem;
Resolution unit is used to resolve said targeted update file, obtains said first upgrade file and said second upgrade file;
The operation unit is used to move said first upgrade file, makes said one-level subsystem have the function that said second upgrade file is sent to said secondary subsystem;
Transmitting element is used for through second updating protocol said second upgrade file being sent to said secondary subsystem, makes said secondary subsystem accomplish upgrading.
9. one-level subsystem according to claim 8 is characterized in that, also comprises:
Storage unit is used to store said first upgrade file and said second upgrade file.
10. one-level subsystem according to claim 9; It is characterized in that; Said first upgrade file also comprises interface document, after said interface document is used for the one-level subsystem and moves said first code, when carrying out said objective function the interface document that must call;
Original file of said one-level subsystem sends delete instruction by said main system through said first updating protocol and deletes.
11. one-level subsystem according to claim 10 is characterized in that,
Said receiving element; Also be used for after said transmitting element sends to said secondary subsystem through second updating protocol with said second upgrade file; Receive original file of the said one-level subsystem that said main system sends through said first updating protocol, and reduce said one-level subsystem.
12. a main system is characterized in that, comprising:
Acquiring unit is used to obtain the user first upgrade file and second upgrade file is merged the targeted update file that obtains after the processing;
Transmitting element; Be used for said targeted update file being sent to said one-level subsystem through first updating protocol; Wherein, Said targeted update file first upgrade file and second upgrade file that is used for said secondary subsystem is upgraded, said first upgrade file comprise first code that is used to said one-level subsystem increase objective function at least, and said objective function makes said one-level subsystem can said second upgrade file be sent to said secondary subsystem.
13. method according to claim 12 is characterized in that, said first upgrade file also comprises interface document, after said interface document is used for the one-level subsystem and moves said first code, when carrying out said objective function the interface document that must call;
Said transmitting element; Also be used for before the targeted update file being sent to said one-level subsystem through first updating protocol; When the storage space of said one-level subsystem can not satisfy the demand of said first upgrade file of storage and said second upgrade file; Through first updating protocol first instruction is sent to said one-level subsystem, with original file of deletion one-level subsystem.
14. method according to claim 13 is characterized in that, said transmitting element also is used for through said first updating protocol original file of said one-level subsystem being sent to said one-level subsystem.
15. a dibaryon system is characterized in that, comprises the described main system of right 12-14, the described one-level subsystem of claim 8-11 and secondary subsystem.
16. dibaryon according to claim 15 system is characterized in that said main system is the software systems of service board in the wavelength-division communication system; Said one-level subsystem is the software systems of photoelectric conversion module; Said secondary subsystem is the software systems of said photoelectric conversion module internal components.
CN201210334330.5A 2012-09-11 2012-09-11 The method and system of system upgrade Active CN102831000B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210334330.5A CN102831000B (en) 2012-09-11 2012-09-11 The method and system of system upgrade

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210334330.5A CN102831000B (en) 2012-09-11 2012-09-11 The method and system of system upgrade

Publications (2)

Publication Number Publication Date
CN102831000A true CN102831000A (en) 2012-12-19
CN102831000B CN102831000B (en) 2015-11-25

Family

ID=47334149

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210334330.5A Active CN102831000B (en) 2012-09-11 2012-09-11 The method and system of system upgrade

Country Status (1)

Country Link
CN (1) CN102831000B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104657160A (en) * 2013-11-21 2015-05-27 联创汽车电子有限公司 Multichip application burning method of vehicle-mounted controller
WO2015158120A1 (en) * 2014-04-18 2015-10-22 中兴通讯股份有限公司 Method and apparatus for upgrading software version
CN105722119A (en) * 2016-01-27 2016-06-29 努比亚技术有限公司 Mobile terminal and system upgrade method thereof
CN106445615A (en) * 2016-10-12 2017-02-22 北京元心科技有限公司 Multi-system OTA upgrading method and device
CN107015829A (en) * 2017-03-31 2017-08-04 广东欧珀移动通信有限公司 Audio system upgrade method, device
CN107332936A (en) * 2017-08-25 2017-11-07 长沙曙通信息科技有限公司 A kind of distributed storage distribution and installation network system realization

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1570863A (en) * 2003-07-23 2005-01-26 华为技术有限公司 System and method for remotely loading or upgrading program
US20090037904A1 (en) * 2007-07-31 2009-02-05 Eugene Cohen Firmware Installation
CN101730882A (en) * 2007-05-21 2010-06-09 汤姆逊许可公司 Robust firmware upgrade in a network terminal
CN101950253A (en) * 2010-08-12 2011-01-19 深圳市共进电子有限公司 Method for upgrading optical module firmware in optical network unit by utilizing WEB webpage interface

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1570863A (en) * 2003-07-23 2005-01-26 华为技术有限公司 System and method for remotely loading or upgrading program
CN101730882A (en) * 2007-05-21 2010-06-09 汤姆逊许可公司 Robust firmware upgrade in a network terminal
US20090037904A1 (en) * 2007-07-31 2009-02-05 Eugene Cohen Firmware Installation
CN101950253A (en) * 2010-08-12 2011-01-19 深圳市共进电子有限公司 Method for upgrading optical module firmware in optical network unit by utilizing WEB webpage interface

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104657160A (en) * 2013-11-21 2015-05-27 联创汽车电子有限公司 Multichip application burning method of vehicle-mounted controller
CN104657160B (en) * 2013-11-21 2018-04-17 联创汽车电子有限公司 The method for burn-recording of Vehicle Controller multi-chip application program
WO2015158120A1 (en) * 2014-04-18 2015-10-22 中兴通讯股份有限公司 Method and apparatus for upgrading software version
CN105024839A (en) * 2014-04-18 2015-11-04 中兴通讯股份有限公司 Method and device for software version upgrading
CN105024839B (en) * 2014-04-18 2019-12-03 中兴通讯股份有限公司 A kind of method and device of software release upgrade
CN105722119A (en) * 2016-01-27 2016-06-29 努比亚技术有限公司 Mobile terminal and system upgrade method thereof
CN105722119B (en) * 2016-01-27 2019-09-06 努比亚技术有限公司 Mobile terminal and its method for upgrading system
CN106445615A (en) * 2016-10-12 2017-02-22 北京元心科技有限公司 Multi-system OTA upgrading method and device
CN107015829A (en) * 2017-03-31 2017-08-04 广东欧珀移动通信有限公司 Audio system upgrade method, device
CN107332936A (en) * 2017-08-25 2017-11-07 长沙曙通信息科技有限公司 A kind of distributed storage distribution and installation network system realization

Also Published As

Publication number Publication date
CN102831000B (en) 2015-11-25

Similar Documents

Publication Publication Date Title
CN102831000A (en) System upgrading method and system
US20110131293A1 (en) Data delivery apparatus and data delivery method
CN102413156B (en) Distributed data storage system and method
CN103905447A (en) Service link selection control method and device
US8463737B2 (en) Realtime unification management information data conversion and monitoring apparatus and method for thereof
CN102200901A (en) Image transfer method, image transfer system, and projector
CN103401909A (en) Data interaction method and system based on BS (browser/server), client end and server
CN102369714A (en) Method of cloud terminal accessing cloud server in cloud computing system and cloud computing system
CN103092602A (en) Software development kit and terminal apparatus
CN104935499A (en) Message format conversion method and equipment
CN104113435A (en) Method and device for generating identifier
CN103428184A (en) Method and system for converting communication messages
CN104750524A (en) Upgraded data package transmitting method and device and data package upgrading method and device
CN105786732A (en) Data access method and apparatus
CN101763340B (en) Business bill conversion method, device and system
CN103646015A (en) Method and system for sending, receiving and transmitting XML message
CN102377738A (en) Process integration server and method for realizing system integration by utilizing process integration server
JP2015064636A (en) Information processing system, distribution processing method, and program
CN102130786B (en) Method and device for updating characteristics of single board
CN110045980A (en) Remote upgrade method, equipment and the system of a kind of pair of NB-IOT equipment
CN104486215A (en) Message transmitting method and equipment
CN113453371B (en) Method, base station, and computer storage medium for wireless communication
CN104363269A (en) Methods and devices for transmitting and receiving NAS (network attached storage) data through FC (fiber channel) link
CN101170584A (en) Distributed system and data configuration method in the system
CN102571412A (en) Target machine server of embedded distributed system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant