[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN1489047A - Method for loading and synchronizing of software patch for embedded system - Google Patents

Method for loading and synchronizing of software patch for embedded system Download PDF

Info

Publication number
CN1489047A
CN1489047A CNA021311048A CN02131104A CN1489047A CN 1489047 A CN1489047 A CN 1489047A CN A021311048 A CNA021311048 A CN A021311048A CN 02131104 A CN02131104 A CN 02131104A CN 1489047 A CN1489047 A CN 1489047A
Authority
CN
China
Prior art keywords
patch
master control
control borad
veneer
type
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
CNA021311048A
Other languages
Chinese (zh)
Other versions
CN1245686C (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 CN 02131104 priority Critical patent/CN1245686C/en
Publication of CN1489047A publication Critical patent/CN1489047A/en
Application granted granted Critical
Publication of CN1245686C publication Critical patent/CN1245686C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The method includes following steps. New patch file is copied from external to patch file buffer part in main control board. Based on types of new patch file, loading module loads new patch file to patch areas of all the typed single board, and the patch parameters are written to patch parameter areas of FLASH of all the typed single board as well as FLASH of main control board. When new inserted single board is started, the typed patch file in main control board is copied to the single board through handshaking between the single board and BIOS of main control board. Thus, the single board obtains patch parameters. If the patch parameters obtained is the same as the patch parameters stored in the single board, then loading module in the single board loads the patch file in FLASH of the single board to the patch area of the single board. The invention possesses features of small message coupling degree between loading module and other modules, and simple loading procedure.

Description

The loading of software patch and synchronous method in the embedded system
Technical field
The present invention relates to the software patch technology, particularly a kind of under the situation that the polytype veneer exists, between many veneers of same type, carry out patch and load and synchronous implementation method.
Background technology
Software patch is a term in computer software and the Software Engineering, and it is meant in order to realize the modification of some mistake in the system software and the independently software unit of issuing.Software patch is finished the correction to system mistake under the situation that does not influence the normal operation of system, system is carried out dynamic update.The realization of software patch needs several gordian techniquies, comprising: the making of patch file, the loading of patch be with synchronously and the management of patch unit, wherein, the loading of patch with get in touch synchronously closely.Patch loads to refer to patch file is loaded into patch area, patch comprises the synchronous and patch parameter synchronization of patch file synchronously, patch file refers to the patch file unanimity in the veneer of same kind synchronously, and the patch parameter synchronization refers to the patch parameter unanimity in the veneer of same kind.
In the prior art, patch realization of loading mechanism is: the patch module receives orders after row loads the message of patch, send a notification message to load-on module, load-on module is read the patch file buffer zone from ftp server with patch file after notified message, a series of interacting message by patch module and load-on module is deployed into patch area with patch file, after patch file launches to finish, load-on module writes veneer FLASH with the content of patch file buffer zone, at last, the patch module is sent out message informing load-on module release patch file buffer zone.Although this kind loads the loading that realization mechanism can be finished patch, in loading procedure, that the function of patch module and load-on module is divided is clear inadequately, the message interface definition complexity between the module, message degree of coupling height; Further, when relating to multiple veneer, this kind loads realization mechanism and makes that the Message Processing between the veneer is complicated especially.
In the prior art, patch only relate to synchronously between one type the two boards synchronously, promptly between master control borad and the slave board synchronously, its realization mechanism is as follows:
(1) slave board starts, and sends check request to master control borad;
(2) master control borad carries out CRC check calculating (cyclic redundancy check (CRC) calculating) after receiving check request, and check information sent to slave board, check information comprises: program version number, program CRC check and, the patch number of patch release number, patch CRC, overall patch number, commencement of commercial operation or the like;
(3) when the record of preserving in the version/CRC of the master control borad program that slave board is received and the slave board is consistent, execution in step (4), otherwise, reload the master control borad program;
(4) patch release of preserving in patch release/CRC that slave board is received and slave board writes down under the inconsistent situation, sends the patch load request to master control borad;
(5) slave board carries out the loading of patch file;
(6) slave board to the patch file loaded after, begin to carry out patch and recover.
Above-mentioned embodiment realizes that patch file is synchronous, and simultaneously, master control borad also regularly sends to slave board with the patch state of oneself, realizes the patch parameter synchronization.Above-mentioned patch synchronization mechanism only is suitable for for active and standby plate, can't realize for the patch between the veneer of other type synchronous.For example, when system is moving three types polylith veneer, realize the difficulty relatively just synchronously between three types the veneer respectively; Perhaps, when veneer of new insertion, make and realize between the veneer of new insertion and the veneer of the same type that patch will be a difficult problem synchronously.
Summary of the invention
In view of this, fundamental purpose of the present invention is: provide a kind of software patch to load and synchronization mechanism, it is little to make in the dynamic load process functions of modules divide between clear, the module message degree of coupling.In order to reach the above object, the present invention needs following steps:
A. the master control borad load-on module new patch file that will obtain from the outside is kept at master control borad patch file buffer zone and new patch file is write the master control borad FLASH from master control borad patch file buffer zone;
B. be that master control borad type or a certain type veneer except that the master control borad type are operated according to new patch file, comprise that the new patch file with the master control borad type in the master control borad patch file buffer zone is loaded among master control borad patch area and the FLASH thereof, or the new patch file of a certain type veneer except that the master control borad type in the master control borad patch file buffer zone is loaded in the patch area and FLASH thereof of all veneers of the type;
C. as new patch file be the patch file of a certain type veneer except that master control borad, the patch parameter of the type veneer is write the patch parameter region of all veneer FLASH of the type and the patch parameter region of master control borad FLASH respectively.
Wherein, this method further comprises:
When the program file of the type veneer or patch file version are inconsistent among program file in veneer FLASH or patch file and the master control borad FLASH, program file among the master control borad FLASH or patch file are copied among the type veneer FLASH, obtain the patch parameter of the type veneer again from the patch parameter region of master control borad FLASH, patch parameter among this parameter and this veneer FLASH is compared, unanimity, then the load-on module of this veneer is loaded on the patch file among this veneer FLASH the patch area of this veneer.
Wherein, whether unanimity further comprises more described FileVersion:
Described a certain type single board starting except that the master control borad type, the BIOS of this veneer and master control borad carry out handshake communication, discovery has the patch file or the program file version of the type veneer of preserving among patch file among this veneer FLASH or program file version and the master control borad FLASH inconsistent, then the BIOS of this veneer sends load request to master control borad, and master control borad carries out described copy.
Wherein, this method further comprises:
The new veneer that inserts from the patch parameter region of master control borad FLASH obtain the patch parameter of the type veneer and with this parameter as patch parameter that should new insertion veneer.
Wherein, described loading comprises:
The patch module of d1. described a certain type veneer except that the master control borad type sends " patch request of loading " message to its load-on module, and this load-on module is received this message, application veneer patch file buffer zone on this veneer;
D2. the load-on module of described veneer is copied to the patch file among described this veneer FLASH in the patch file buffer zone of this veneer;
D3. described this veneer load-on module calls the verification expanded function patch file in this veneer patch file buffer zone is carried out verification, verification by after patch file is written to this veneer patch area along data stream.
Wherein, after the described steps d 3, this method further comprises:
Patch file buffer zone and described this veneer load-on module that described this veneer load-on module discharges this veneer send the loading success message to its patch module.
Wherein, in step a, obtain described new patch file from the outside and comprise:
A1. send patch loading command by terminal to master control borad;
A2. the order line module parses of master control borad should be ordered, and sent " patch request of loading " message to the master control borad load-on module, and the master control borad load-on module applies for that on master control borad internal memory is as master control borad patch file buffer zone;
A3. the master control borad load-on module according to the IP address in " patch request of loading " message from the new patch file of downloaded at new patch file place to master control borad patch file buffer zone.
Wherein, in step b, described new patch file with the master control borad type in the master control borad patch file buffer zone is loaded on the master control borad patch area, further comprises:
B1. the master control borad load-on module calls the verification expanded function the new patch file in the described master control borad patch file buffer zone is carried out verification, verification by after the new patch file of the master control borad type in the master control borad patch file buffer zone is loaded among master control borad patch area and the FLASH thereof; With should new patch file write master control slave board FLASH and be loaded in the master control slave board patch area;
B2. the master control borad load-on module discharges master control borad patch file buffer zone, sends to master control borad patch module and loads success message.
Wherein, in step b, described new patch file with a certain type veneer except that the master control borad type in the master control borad patch file buffer zone is loaded among the patch area of all veneers of the type and the FLASH thereof and further comprises:
The master control borad load-on module sends loading patch request message to the load-on module of all veneers of the type, and these load-on modules are loaded on the new patch file of the type veneer in the master control borad patch file buffer zone in the patch area and FLASH thereof of all veneers of the type respectively.
Wherein, described loading comprises:
The load-on module of b11. described all veneers of the type is received and is loaded the patch request message, applying for veneer patch file buffer zone on the veneer separately respectively, and send response message to the master control borad load-on module respectively, the master control borad load-on module is received response message, the new patch file that is kept at the type veneer in the master control borad patch file buffer zone is copied to respectively in the patch file buffer zone of all veneers of the type;
B12. the load-on module of all veneers of the type calls the verification expanded function respectively the new patch file in the patch file buffer zone of veneer is separately carried out verification, verification by after the new patch file in each piece veneer patch file buffer zone of the type is copied in the patch area and FLASH thereof of each piece veneer of the type along data stream.
Wherein, after described step b12, this method further comprises:
B13. the load-on module of all veneers of the type discharges the patch file buffer zone of veneer separately respectively;
B14. the load-on module of all veneers of the type sends to the master control borad load-on module respectively and loads success message, after the master control borad load-on module is received the success message of all veneers of the type, discharges described master control borad patch file buffer zone.
Wherein, described step c comprises:
The load-on module of all veneers of the type sends a notification message to the patch module of veneer separately respectively; The patch module of all veneers of the type is received message respectively, and the patch parameter of the type veneer is write the patch parameter region of all veneer FLASH of the type and the patch parameter region of master control borad FLASH respectively.
Wherein, this method further comprises:
Obstructed out-of-date when described verification, load-on module returns the reason that loads failure to terminal.
As seen in the present invention, the master control borad load-on module is copied to new patch file from the outside master control borad patch file buffer zone, type according to new patch file, the master control borad load-on module sends a notification message to the load-on module of all veneers of the type, the load-on module of all veneers of the type is received message, respond, the new patch file of the type veneer in the master control borad patch file buffer zone is copied in the patch file buffer zone of all veneers of the type, the load-on module of all veneers of the type is loaded into the new patch file in its veneer patch file buffer zone in its veneer patch area respectively, simultaneously, the patch parameter of the type veneer is write respectively in the patch parameter region of the FLASH of all veneers of the type and master control borad FLASH;
Certain type of veneer restarts, the BIOS of all veneers of the type carries out handshake communication with master control borad respectively, as find that program file or the FileVersion in patch file and the master control borad preserved among the veneer FLASH are inconsistent, with the document copying in the master control borad to this veneer, otherwise, do not carry out copied files and following loading procedure; This veneer obtains the patch parameter of the type veneer from master control borad, and compare with patch parameter among its veneer FLASH, unanimity, then the load-on module of this veneer is loaded on the patch file among its veneer FLASH in its veneer patch area, otherwise loading procedure finishes.Load-on module is finished loading, and load-on module and other module message degree of coupling in loading procedure is little, and loading procedure is simple; By patch file being loaded in the patch area of all veneers of the type according to new patch file type, and the patch parameter of the type veneer is write the patch parameter region of all veneer FLASH of the type and master control borad FLASH, realized that the patch of polylith same kind veneer is synchronous in the system that the polymorphic type veneer constitutes.
Description of drawings
Fig. 1 is for writing the schematic flow sheet of new patch file from external dynamic.
Fig. 2 is that certain type of single board starting patch loads schematic flow sheet.
Embodiment
In the present invention, type according to new patch file, a kind of load-on module of type plates is loaded into patch file in all plate patch areas of the type, as patch file is the patch file of the veneer of a certain type, the patch parameter of the type veneer is write the patch parameter region of all veneer FLASH of the type and master control borad FLASH;
When the program file of the type veneer or patch file version are inconsistent in program file in veneer or patch file and the master control borad, behind all single board startings of the type, BIOS by separately carries out handshake communication with master control borad respectively, that preserves in the patch file in the discovery veneer or program file and the master control borad is inconsistent, with the document copying of the type veneer of preserving in the master control borad to this veneer, this veneer obtains the patch parameter of this veneer from the patch parameter region of master control borad FLASH, this veneer compares the patch parameter in this parameter and its veneer, unanimity, then the load-on module of this veneer patch file that will be kept among its FLASH is loaded in its veneer patch area.
Describe the present invention with reference to the accompanying drawings:
Referring to Fig. 1, Fig. 1 has provided the schematic flow sheet that writes new patch file from external dynamic, and thin arrow is represented message flow among the figure, and hollow thick arrow representative operation is guided, and solid thick arrow representative of data flow is finished this process need following steps:
(1) operating personnel send patch loading command 1.1 by terminal (comprising local maintenance serial ports etc.) to master control borad order line module;
(2) the order line module parses should be ordered, send " patch request of loading " message 1.2.1 to the master control borad load-on module, the master control borad load-on module is received this message executable operations 1.2.2: according to the size of new patch file to the master control borad application suitably the internal memory of size as master control borad patch file buffer zone, simultaneously, master control borad loads the fast executable operations 1.2.3 of mould: the hard disk that finds the file place computing machine that needs loading according to the IP address of sending in " patch request of loading " message, adopt the hard disk of File Transfer Protocol along data stream 1.2.31 from the computing machine that finds and download the new patch file of appointment to master control borad patch file buffer zone, after download finished, master control borad load-on module executable operations 1.2.4: control was copied to new patch file the master control borad FLASH from master control borad patch file buffer zone along data stream 1.2.41 and preserves; So far, load new patch file by outer computer and finish to the process of internal system, following operation is all finished in internal system;
(3) if this downloaded files is the new patch file of master control borad, master control borad loads the fast executable operations 1.2.5 of mould: call the verification expanded function the new patch file in the master control borad patch file buffer zone is carried out verification, verification by after should be loaded into the master control borad patch area along data stream 1.2.51 by new patch file, for use, simultaneously, new patch file in the backup master control borad patch file buffer zone is to the master control slave board, should copy among the master control slave board FLASH by new patch file, and it is loaded in the master control slave board patch area, after finishing above-mentioned steps, the master control borad load-on module discharges master control borad patch file buffer zone;
(4) if the new patch file of this download is the patch file of a certain type veneer except that master control borad, need carry out following steps:
4.1, the master control borad load-on module to the veneer load-on module of promising new patch file type send message 1.3 respectively, notify the load-on module of all the type veneers to prepare to carry out the loading of patch file;
4.2, the type veneer load-on module receives message 1.3 respectively, executable operations 1.4.2: the size according to new patch file is applying for that suitably big or small internal memory is as veneer patch file buffer zone in the veneer separately, simultaneously, all veneer load-on modules of the type send response message 1.4.1 respectively to the master control borad load-on module, the master control borad load-on module is received response message, executable operations 1.4.3: control is copied to the new patch file of the type veneer in the master control borad patch file buffer zone in the patch file buffer zone of each piece veneer of the type respectively along data stream 1.4.31;
4.2, the type veneer load-on module executable operations 1.4.4 respectively: call the verification expanded function the new patch file in the patch file buffer zone of this veneer carried out verification, after verification is passed through, new patch file is loaded in the patch area of this veneer along data stream 1.4.41 from the patch file buffer zone of this veneer, realize loading, all veneers of the type all load in this way, realize that the patch file of same kind veneer is synchronous; After passing through in verification, new patch file is write along data stream 1.4.42 among the FLASH of this veneer, to preserve new patch file, then, the load-on module of all veneers of the type discharges the patch file buffer zone of veneer separately respectively;
4.3, loaded, the load-on module of all veneers of the type is respectively to the 1.5.1 that sends a notification message of the patch module of veneer separately: notify the new patch file loaded of veneer separately, simultaneously, the load-on module of all veneers of the type sends to the master control borad load-on module respectively and loads success message 15.2, the master control borad load-on module is received the loading success message of all the type veneers, executable operations 1.5.3: discharge master control borad patch file buffer zone;
4.4, the patch module of all veneers of the type is respectively behind the notified message 1.5.1, patch check information with the type veneer, version and proof test value, patch release and proof test value or the like of comprising monoboard programme, write the patch parameter region among the veneer FLASH separately respectively, simultaneously, give master control borad with the patch reporting parameters of the type veneer, master control borad writes patch parameter region among the master control borad FLASH with this patch parameter.
Referring to Fig. 2, when having provided certain type of single board starting, Fig. 2 loads the schematic flow sheet of patch file, and thin arrow is represented message flow among the figure, and hollow thick arrow representative operation is guided, and solid thick arrow representative of data flow is finished this process need following steps:
When (5) certain type of veneer starts once more, the BIOS of all veneers of the type carries out handshake communication with master control borad respectively, if the program file or the patch file version of this type veneer of depositing among the program file among the discovery veneer FLASH or patch file version and the master control borad FLASH are inconsistent, then the BIOS of this veneer sends load request to master control borad, the master control borad load-on module is loaded into the program file or the patch file of this type veneer of depositing in the master control borad among this veneer FLASH, realize the program and the patch file unanimity of this type veneer operation identical version, otherwise loading procedure finishes;
(6) after this veneer application program starts, the patch parameter region of this veneer from master control borad FLASH obtains the patch parameter of this type veneer, the patch module of this veneer compares the patch parameter of preserving in this patch parameter and its veneer, consistent then show the patch parameter synchronization that has realized the same kind veneer, begin this patch loading procedure, otherwise, stop the patch loading procedure; Wherein, for the veneer of new insertion, the patch parameter that obtains the type veneer from the patch parameter region of master control borad is loading new the insertion on the veneer to guarantee patch file as should the new patch parameter of inserting veneer;
(7) the patch module of this veneer sends " patch request of loading " message 2.1 to its load-on module, the load-on module of this veneer is received this message, executable operations 2.2: the patch file among this veneer FLASH is copied to its patch file buffer zone along data stream 2.21, the load-on module executable operations 2.3 of this veneer: call the verification expanded function patch file in the patch file buffer zone is carried out verification, verification by after this patch file is loaded into the patch area of this veneer along data stream 2.31, after patch loads successfully, the load-on module of this veneer discharges its veneer patch file buffer zone, and sends loading success message 2.4 to its patch module;
Wherein, in whole loading procedure, if the situation that verification is not passed through, load-on module returns the reason that loads failure to terminal.
This example has good application under following two concrete conditions:
1. when veneer application program is upgraded: because the veneer application program upgrading, patch parameter and the patch parameter in the master control borad in this veneer are inconsistent, therefore, this example will stop the loading of the patch file in the veneer, avoid operation and the unmatched patch file of program in the veneer.
2. when newly inserting veneer: newly insert veneer, by the BIOS handshake communication with the file load of the type veneer of preserving in the master control borad in this veneer, and from master control borad, obtain the patch parameter, and guarantee patch parameter unanimity, the patch file of the type is loaded in this new insertion veneer.
As seen, the present invention is carrying out new patch file when loading, new patch file is copied to master control borad patch file buffer zone, if new patch file is the master control borad type, then the master control borad load-on module is finished the step that new patch file is write master control borad FLASH and master control borad patch area by master control borad patch file buffer zone, if new patch file is the patch file of a certain type veneer except that master control borad, then pass through the interacting message of the load-on module of master control borad load-on module and all veneers of the type, the new patch file of the type veneer in the master control borad patch file buffer zone is copied to respectively in the patch file buffer zone of all veneers of the type, the load-on module of all veneers of the type respectively will be separately new patch file in the patch file buffer zone be loaded in separately the patch area, and will this new patch file write among separately the FLASH and preserve, simultaneously, all veneers of the type write its patch parameter respectively the patch parameter region of all veneer FLASH of the type and master control borad FLASH;
When certain type of veneer restarts, the BIOS of all veneers of the type carries out handshake communication with master control borad respectively, as version and the FileVersion in the master control borad of finding program file in the veneer or patch file are inconsistent, the corresponding file of copy is to this veneer from master control borad, to guarantee identical program and the patch file unanimity of operation in the same kind veneer, otherwise, do not carry out copied files and following patch loading procedure; This veneer obtains the patch parameter of the type veneer from master control borad, its patch module compares the patch parameter of preserving among this patch parameter and its veneer FLASH, consistent, the load-on module of this veneer is loaded into its patch area with the patch file among its FLASH, has realized that the loading of patch is with synchronously.The present invention has only load-on module to participate in loading procedure, reduced the degree of coupling of message, make that the loading of multiple veneer is also uncomplicated, type according to patch file loads, the patch file of having realized the same kind veneer is synchronous, each type veneer is kept at the patch parameter region of its FLASH with the patch parameter, and this patch parameter is write the patch parameter region of master control borad FLASH, realizes the patch parameter synchronization with this.

Claims (13)

1. the loading of software patch and synchronous method in the embedded system is characterized in that this method comprises:
A. the master control borad load-on module new patch file that will obtain from the outside is kept at master control borad patch file buffer zone and new patch file is write the master control borad FLASH from master control borad patch file buffer zone;
B. be that master control borad type or a certain type veneer except that the master control borad type are operated according to new patch file, comprise that the new patch file with the master control borad type in the master control borad patch file buffer zone is loaded among master control borad patch area and the FLASH thereof, or the new patch file of a certain type veneer except that the master control borad type in the master control borad patch file buffer zone is loaded in the patch area and FLASH thereof of all veneers of the type;
C. as new patch file be the patch file of a certain type veneer except that master control borad, the patch parameter of the type veneer is write the patch parameter region of all veneer FLASH of the type and the patch parameter region of master control borad FLASH respectively.
2. according to described loading of claim 1 and synchronous method, it is characterized in that this method further comprises:
When the program file of the type veneer or patch file version are inconsistent among program file in veneer FLASH or patch file and the master control borad FLASH, program file among the master control borad FLASH or patch file are copied among the type veneer FLASH, obtain the patch parameter of the type veneer again from the patch parameter region of master control borad FLASH, patch parameter among this parameter and this veneer FLASH is compared, unanimity, then the load-on module of this veneer is loaded on the patch file among this veneer FLASH the patch area of this veneer.
3. loading according to claim 2 and synchronous method, whether unanimity further comprises more described FileVersion:
Described a certain type single board starting except that the master control borad type, the BIOS of this veneer and master control borad carry out handshake communication, discovery has the patch file or the program file version of the type veneer of preserving among patch file among this veneer FLASH or program file version and the master control borad FLASH inconsistent, then the BIOS of this veneer sends load request to master control borad, and master control borad carries out described copy.
4. loading according to claim 2 and synchronous method is characterized in that this method further comprises:
The new veneer that inserts from the patch parameter region of master control borad FLASH obtain the patch parameter of the type veneer and with this parameter as patch parameter that should new insertion veneer.
5. loading according to claim 2 and synchronous method is characterized in that described loading comprises:
The patch module of d1. described a certain type veneer except that the master control borad type sends " patch request of loading " message to its load-on module, and this load-on module is received this message, application veneer patch file buffer zone on this veneer;
D2. the load-on module of described veneer is copied to the patch file among described this veneer FLASH in the patch file buffer zone of this veneer;
D3. described this veneer load-on module calls the verification expanded function patch file in this veneer patch file buffer zone is carried out verification, verification by after patch file is written to this veneer patch area along data stream.
6. loading according to claim 5 and synchronous method is characterized in that this method further comprises after described steps d 3:
Patch file buffer zone and described this veneer load-on module that described this veneer load-on module discharges this veneer send the loading success message to its patch module.
7. according to described loading of claim 1 and synchronous method, it is characterized in that in step a, obtain described new patch file from the outside and comprise:
A1. send patch loading command by terminal to master control borad;
A2. the order line module parses of master control borad should be ordered, and sent " patch request of loading " message to the master control borad load-on module, and the master control borad load-on module applies for that on master control borad internal memory is as master control borad patch file buffer zone;
A3. the master control borad load-on module according to the IP address in " patch request of loading " message from the new patch file of downloaded at new patch file place to master control borad patch file buffer zone.
8. according to described loading of claim 1 and synchronous method, it is characterized in that in step b that described new patch file with the master control borad type in the master control borad patch file buffer zone is loaded on the master control borad patch area, further comprises:
B1. the master control borad load-on module calls the verification expanded function the new patch file in the described master control borad patch file buffer zone is carried out verification, verification by after the new patch file of the master control borad type in the master control borad patch file buffer zone is loaded among master control borad patch area and the FLASH thereof; With should new patch file write master control slave board FLASH and be loaded in the master control slave board patch area;
B2. the master control borad load-on module discharges master control borad patch file buffer zone, sends to master control borad patch module and loads success message.
9. according to described loading of claim 1 and synchronous method, it is characterized in that in step b described new patch file with a certain type veneer except that the master control borad type in the master control borad patch file buffer zone is loaded among the patch area of all veneers of the type and the FLASH thereof and further comprises:
The master control borad load-on module sends loading patch request message to the load-on module of all veneers of the type, and these load-on modules are loaded on the new patch file of the type veneer in the master control borad patch file buffer zone in the patch area and FLASH thereof of all veneers of the type respectively.
10. according to described loading of claim 9 and synchronous method, it is characterized in that described loading comprises:
The load-on module of b11. described all veneers of the type is received and is loaded the patch request message, applying for veneer patch file buffer zone on the veneer separately respectively, and send response message to the master control borad load-on module respectively, the master control borad load-on module is received response message, the new patch file that is kept at the type veneer in the master control borad patch file buffer zone is copied to respectively in the patch file buffer zone of all veneers of the type;
B12. the load-on module of all veneers of the type calls the verification expanded function respectively the new patch file in the patch file buffer zone of veneer is separately carried out verification, verification by after the new patch file in each piece veneer patch file buffer zone of the type is copied in the patch area and FLASH thereof of each piece veneer of the type along data stream.
11. loading according to claim 10 and synchronous method is characterized in that after described step b12, this method further comprises:
B13. the load-on module of all veneers of the type discharges the patch file buffer zone of veneer separately respectively;
B14. the load-on module of all veneers of the type sends to the master control borad load-on module respectively and loads success message, after the master control borad load-on module is received the success message of all veneers of the type, discharges described master control borad patch file buffer zone.
12. loading according to claim 1 and synchronous method is characterized in that described step c comprises:
The load-on module of all veneers of the type sends a notification message to the patch module of veneer separately respectively; The patch module of all veneers of the type is received message respectively, and the patch parameter of the type veneer is write the patch parameter region of all veneer FLASH of the type and the patch parameter region of master control borad FLASH respectively.
13., it is characterized in that this method further comprises according to claim 5 or 8 described loadings and synchronous method:
Obstructed out-of-date when described verification, load-on module returns the reason that loads failure to terminal.
CN 02131104 2002-10-09 2002-10-09 Method for loading and synchronizing of software patch for embedded system Expired - Lifetime CN1245686C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 02131104 CN1245686C (en) 2002-10-09 2002-10-09 Method for loading and synchronizing of software patch for embedded system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 02131104 CN1245686C (en) 2002-10-09 2002-10-09 Method for loading and synchronizing of software patch for embedded system

Publications (2)

Publication Number Publication Date
CN1489047A true CN1489047A (en) 2004-04-14
CN1245686C CN1245686C (en) 2006-03-15

Family

ID=34144779

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 02131104 Expired - Lifetime CN1245686C (en) 2002-10-09 2002-10-09 Method for loading and synchronizing of software patch for embedded system

Country Status (1)

Country Link
CN (1) CN1245686C (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1331049C (en) * 2004-11-22 2007-08-08 华为技术有限公司 Single-board telecommunication software loading method
CN100358294C (en) * 2004-12-22 2007-12-26 华为技术有限公司 Method for loading software
CN100362473C (en) * 2006-03-14 2008-01-16 华为技术有限公司 Net element apparatus operating method and net element apparatus
CN100403258C (en) * 2004-07-21 2008-07-16 中国科学院软件研究所 Built-in equipment integrated development system and its use method
CN101267344B (en) * 2008-04-25 2011-07-13 中兴通讯股份有限公司 An upgrade method and device for network element single-board software
CN102360324A (en) * 2011-10-28 2012-02-22 华为技术有限公司 Failure recovery method and equipment for failure recovery
CN101483576B (en) * 2008-01-11 2012-07-25 上海博达数据通信有限公司 Version management implementing method in distributed system
WO2016070727A1 (en) * 2014-11-04 2016-05-12 华为技术有限公司 Patch software loading method and apparatus
CN106021089A (en) * 2015-10-30 2016-10-12 北京中电华大电子设计有限责任公司 Method and device for testing patch interface
CN109284116A (en) * 2018-09-11 2019-01-29 陕西千山航空电子有限责任公司 A kind of data managing method of the comprehensive number pipe of polymorphic type big data quantity

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100403258C (en) * 2004-07-21 2008-07-16 中国科学院软件研究所 Built-in equipment integrated development system and its use method
CN1331049C (en) * 2004-11-22 2007-08-08 华为技术有限公司 Single-board telecommunication software loading method
CN100358294C (en) * 2004-12-22 2007-12-26 华为技术有限公司 Method for loading software
CN100362473C (en) * 2006-03-14 2008-01-16 华为技术有限公司 Net element apparatus operating method and net element apparatus
CN101483576B (en) * 2008-01-11 2012-07-25 上海博达数据通信有限公司 Version management implementing method in distributed system
CN101267344B (en) * 2008-04-25 2011-07-13 中兴通讯股份有限公司 An upgrade method and device for network element single-board software
CN102360324A (en) * 2011-10-28 2012-02-22 华为技术有限公司 Failure recovery method and equipment for failure recovery
CN102360324B (en) * 2011-10-28 2014-04-16 华为技术有限公司 Failure recovery method and equipment for failure recovery
WO2016070727A1 (en) * 2014-11-04 2016-05-12 华为技术有限公司 Patch software loading method and apparatus
CN106021089A (en) * 2015-10-30 2016-10-12 北京中电华大电子设计有限责任公司 Method and device for testing patch interface
CN106021089B (en) * 2015-10-30 2018-09-18 北京中电华大电子设计有限责任公司 A kind of test method and device of patch interface
CN109284116A (en) * 2018-09-11 2019-01-29 陕西千山航空电子有限责任公司 A kind of data managing method of the comprehensive number pipe of polymorphic type big data quantity
CN109284116B (en) * 2018-09-11 2022-03-08 陕西千山航空电子有限责任公司 Data management method for multi-type large-data-volume comprehensive data management

Also Published As

Publication number Publication date
CN1245686C (en) 2006-03-15

Similar Documents

Publication Publication Date Title
TWI225215B (en) Method and system for maintaining firmware versions in a data processing system
CN1300685C (en) Common boot environment for a modular server system
CN1251074C (en) Restarting method for computer
JP5026509B2 (en) Converting a machine to a virtual machine
CN1224905C (en) Resource action in clustered computer system incorporating prepare operation
CN1313923C (en) A software distribution method and system
CN101056205A (en) A management method, system and device based on ATCA architecture-based server
CN1731738A (en) Automated quick deployment method for large-scale computer cluster node
CN1245686C (en) Method for loading and synchronizing of software patch for embedded system
CN1916861A (en) Method for modifying configuration information of computer
WO2020103904A1 (en) Cloud desktop upgrade method, device, cloud server, and storage medium
CN100343807C (en) Upgrading method for Boot software and recovering method for Boot software
CN1508679A (en) File-system filter moudle to be managed and its structure
CN1900914A (en) System and method for creating an application-consistent remote copy of data using remote mirroring
CN101030146A (en) Method and system for updating fastener
CN1825283A (en) Method for implementing hardware image starting optimizing of embedded operating system
CN1875346A (en) Configuration synchronization for redundant processors executing different versions of software
CN1812332A (en) Method for assurng conformity of exchanger various monoboard software edition
CN1908910A (en) Method for data backup and recovery
CN1570863A (en) System and method for remotely loading or upgrading program
CN1549130A (en) Method of document synchronization
WO2013078607A1 (en) Service package installation method and related device
CN1491386A (en) Automatic startup of cluster system after occurrence of recoverable error
CN1501621A (en) A safe system starting method
CN1786910A (en) BIOS on-line upgrading method

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
CX01 Expiry of patent term
CX01 Expiry of patent term

Granted publication date: 20060315