CN100426226C - Single board edition automatic loading method - Google Patents

Single board edition automatic loading method Download PDF

Info

Publication number
CN100426226C
CN100426226C CNB021365466A CN02136546A CN100426226C CN 100426226 C CN100426226 C CN 100426226C CN B021365466 A CNB021365466 A CN B021365466A CN 02136546 A CN02136546 A CN 02136546A CN 100426226 C CN100426226 C CN 100426226C
Authority
CN
China
Prior art keywords
version
veneer
single board
machine
version file
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.)
Expired - Lifetime
Application number
CNB021365466A
Other languages
Chinese (zh)
Other versions
CN1476217A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CNB021365466A priority Critical patent/CN100426226C/en
Publication of CN1476217A publication Critical patent/CN1476217A/en
Application granted granted Critical
Publication of CN100426226C publication Critical patent/CN100426226C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Abstract

The present invention proposes a method for automatically loading single board versions. The method comprises the following steps: (1) before powered on, a single board is normally connected with a version machine, and the connection is always kept normal when the single board runs; (2) the single board is powered on, and after a bootstrap program finishes running, version files at the flash point of a flash memory are validly checked before the version files directly jumping to the flash point of the flash memory run; (3) if the validity check is not passed, the course of loading versions from the version machine is executed; if the versions are successfully loaded or the validity check is passed, the version files jump to a version file point to continuously run. The present invention directly copies versions to a version machine; if version files on a single board is detected not to accord with version files on the version machine after the single board is powered on, the version files on the version machine are automatically loaded to run without the need of manual intervention.

Description

Single board edition automatic loading method
Technical field
The present invention relates to computing machine and communication field, specifically, is a kind of method of loading version when realizing single board starting automatically.
Background technology
The version of veneer is meant the executable file of finishing the veneer predetermined function, also claims the version file of veneer.The version machine is meant the main frame of the version that stores veneer.
Generally do not have hard disk on the veneer, the version file of veneer resides on the flash memory Flash of veneer usually, and the version file on the Flash gets on by the manual loading of manual intervention.Suppose to be mounted with version file on the Flash of veneer, Board Power up starts according to following steps: (1) veneer at first moves guiding (the being boot) program that is stored on the ROM, boot program run success; (2) memory address that directly jumps to version file begins the place and continues operation, and so far the start-up course of veneer finishes, and veneer formally begins to finish a series of predetermined function.There is following shortcoming in the traditional single-board starting process of above-mentioned this:
Each version loads and must manual intervention finish by hand, and each in other words version is changed or edition upgrading all needs manual finishing, and can not carry out automatically;
If exist the polylith veneer of same type to need load application version, need carry out manual loading one by one, can not disposablely finish automatically;
If the version file on the Flash is destroyed, its corresponding measures can not be checked out and be made to above-mentioned start-up course, still jump to the version file place by normal flow and bring into operation, cause veneer normally not start up, thereby influenced the stability of total system.
At present, do not retrieve the open source literature of discussing and addressing the above problem as yet.
Summary of the invention
The technical problem to be solved in the present invention is that version loads during at single board starting, and a kind of method of single board edition automatic loading is provided.Above-mentioned shortcoming when the present invention can effectively solve traditional single board starting makes that the single board edition loading process is oversimplified, robotization, and improves the stability and the robustness of total system greatly.
Of the present invention being achieved in that
(1) before the Board Power up, be connected one group of veneer normal with the version machine and to remain this connection in the veneer operational process normal;
(2) Board Power up behind the boot end of run, before the version file that directly jumps to flash memory Flash place brings into operation, carries out validity check to the version file at flash memory Flash place;
(3) if validity check is not passed through, then carry out the process of loading version from the version machine; If version loads success or validity check is passed through, then jump to the version file place and continue operation, the version start-up course is finished smoothly.
Compare with traditional single-board starting process, the present invention has following advantage:
Each version loads (as version updating or edition upgrading), directly version is copied on this machine of plate, if the version file and the version file on the version machine that detect behind the Board Power up on the veneer are inconsistent, the version file operation on the load application version machine must not finished automatically in manual intervention automatically.
Give the polylith single-board replacement version of same type if desired, directly the version file with such veneer is stored on the version machine, and the polylith veneer can load same version simultaneously automatically and start operation, must manual intervention not load one by one.
If the version file on the Flash is destroyed, above-mentioned algorithm can detect this mistake automatically, and the operation of the version on the load application version machine again, has avoided because this mistake causes the serious consequence that veneer can not normally start.
Characteristics of the present invention are succinctly feasible, are easy to realize.
Description of drawings
Fig. 1 is the memory address space distribution diagram of veneer.
Fig. 2 is the layout of equipment of single board edition automatic loading.
Fig. 3 is the single board edition automatic loading algorithm flow chart.
Embodiment
Below in conjunction with accompanying drawing, the embodiment of single board edition automatic loading method of the present invention is described in detail.
Fig. 1 is the memory address space distribution diagram of veneer, it has provided the internal storage structure (comprising ROM, RAM, FLASH) of general veneer, mainly be in order to illustrate that boot program and version file are stored in the different address spaces in the internal memory of single board respectively, as: the boot procedure stores is in ROM, version file is stored among the FLASH, behind the Board Power up, boot program on the veneer ROM is at first moved, if move successfully, the version file place that directly jumps on the FLASH brings into operation, and traditional single-board starting process finishes.
Fig. 2 is the single board edition automatic loading layout of equipment, in order to realize single board edition automatic loading, veneer must be linked to each other with the version machine, and the connected mode of veneer and version machine can be supported TCP/IP, HDLC as the case may be.If polytype polylith veneer is articulated on the same version machine, should store the version file of each type veneer correspondence on the version machine.Veneer 1_1, veneer 1_2, veneer 1_n represent the polylith veneer of same type among Fig. 2, and the version machine can be simultaneously loads automatically to one group polylith veneer wherein.Certainly, the minimum number of one group of veneer can be one.
Fig. 3 is single board edition automatic loading realization flow figure, specifically describes as follows:
Step1: beginning links to each other veneer with the version machine;
Step 2: Board Power up, boot program run;
Step 3:boot program must check before the version file place that jumps on the Flash that is: (1) checks whether version file exists to the version file on the Flash, if there is no, carried out Step4; (2) check whether version file is correct,, carry out Step4 if incorrect; (3) check whether the version file on the veneer is consistent with the version file on the version machine,, carry out step4 if inconsistent; Otherwise change step5;
Step4: carry out the process that veneer loads version file from the version machine,, change step6 if load successfully;
Step5; If version loads failure, keep a diary or alarm, prompting version error information, the version start-up course is returned;
Step6: the version file place that veneer boot program jumps to Flash brings into operation, and the version start-up course is finished.
The above-mentioned automatic loading version method according to the present invention can make that the version file of polylith veneer operation of same type is in full accord.

Claims (4)

1. the method for a single board edition automatic loading is characterized in that, comprises the steps:
(1) before the Board Power up, be connected one group of veneer normal with the version machine and to remain this connection in the veneer operational process normal;
(2) Board Power up behind the boot end of run, before the version file that directly jumps to flash memory Flash place brings into operation, carries out validity check to the version file at flash memory Flash place;
(3) if validity check is not passed through, then carry out the process of loading version from the version machine; If version loads success or validity check is passed through, then jump to the version file place and continue operation.
2. the method for single board edition automatic loading according to claim 1 is characterized in that, described validity check comprises: check whether version file exists; Check whether version file is correct; Check whether the version file on the veneer is consistent with the version file on the version machine.
3. the method for single board edition automatic loading according to claim 1 is characterized in that, described one group of veneer is minimum can be a veneer.
4. the method for single board edition automatic loading according to claim 2 is characterized in that:
If check that version file does not exist, carry out veneer from the process that the version machine loads version file, load successfully back end;
If check that version file is incorrect, carry out veneer from the process that the version machine loads version file, load successfully back end;
If the version file on version file on the inspection veneer and the version machine is inconsistent, carry out veneer from the process that the version machine loads version file, load successfully back end; Version loads failure else if, and keep a diary or alarm, prompting version error information, the version start-up course is returned.
CNB021365466A 2002-08-16 2002-08-16 Single board edition automatic loading method Expired - Lifetime CN100426226C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB021365466A CN100426226C (en) 2002-08-16 2002-08-16 Single board edition automatic loading method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB021365466A CN100426226C (en) 2002-08-16 2002-08-16 Single board edition automatic loading method

Publications (2)

Publication Number Publication Date
CN1476217A CN1476217A (en) 2004-02-18
CN100426226C true CN100426226C (en) 2008-10-15

Family

ID=34146527

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB021365466A Expired - Lifetime CN100426226C (en) 2002-08-16 2002-08-16 Single board edition automatic loading method

Country Status (1)

Country Link
CN (1) CN100426226C (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100342335C (en) * 2004-09-23 2007-10-10 华为技术有限公司 Chip program loading method
CN100383737C (en) * 2005-01-12 2008-04-23 华为技术有限公司 SCM online loading and updating method and system
CN100395706C (en) * 2005-12-31 2008-06-18 华为技术有限公司 Automatic start method of switchboard plate
CN102006156B (en) * 2009-09-02 2015-05-13 中兴通讯股份有限公司 Method and system for synchronizing configuration data among boards

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1288161A (en) * 1999-09-11 2001-03-21 深圳市华为技术有限公司 Single board festing method and device
US6275875B1 (en) * 1991-04-15 2001-08-14 Canon Kabushiki Kaisha Electronic apparatus with version-up information having address information storing in EEPROM
CN1326135A (en) * 2000-05-25 2001-12-12 国际商业机器公司 Method for using collections of programs and data files by update of versions
CN1346089A (en) * 2000-09-26 2002-04-24 华为技术有限公司 Intelligent upgrade method, system and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6275875B1 (en) * 1991-04-15 2001-08-14 Canon Kabushiki Kaisha Electronic apparatus with version-up information having address information storing in EEPROM
CN1288161A (en) * 1999-09-11 2001-03-21 深圳市华为技术有限公司 Single board festing method and device
CN1326135A (en) * 2000-05-25 2001-12-12 国际商业机器公司 Method for using collections of programs and data files by update of versions
CN1346089A (en) * 2000-09-26 2002-04-24 华为技术有限公司 Intelligent upgrade method, system and device

Also Published As

Publication number Publication date
CN1476217A (en) 2004-02-18

Similar Documents

Publication Publication Date Title
US9792105B2 (en) Method and system for booting and automatically updating software, and recovering from update error, and computer readable recording medium storing method
CN104572206A (en) Application program self updating and backup recovery method
CN105354063B (en) Program on-line upgrading method and system
CN103024782B (en) A kind of method and system of base station software version management
CN101425018A (en) Embedded firmware upgrading method and device based on sectional form
CN111562934B (en) Software system upgrading method based on hot patch, terminal and storage medium
CN111309354A (en) OTA (over the air) upgrading method and device of networking equipment
CN101482823A (en) Single board application version implementing method and system
CN105930184A (en) System upgrade method and device
CN100426226C (en) Single board edition automatic loading method
WO2017198156A1 (en) Service deployment method, apparatus and system
CN106156626A (en) A kind of method and apparatus of security of system upgrading
US8205190B2 (en) Data processing system and method
CN111782246A (en) Embedded program upgrading method of multi-node equipment based on bus
CN116028084A (en) Cross-version hot upgrading method, system and terminal based on OpenStack cloud platform
CN112579338B (en) Starting method and system of equipment and storage medium
CN111949290B (en) Hot patch management method and device, electronic equipment and storage medium
CN108920210B (en) Method, system and related assembly for loading storage control software
CN105278993B (en) A kind of drive module upgrade method and device based on linux system
CN114968299A (en) Multi-boot-based equipment firmware upgrading and exception handling method
US7490232B2 (en) Disk device using disk to rewrite firmware and firmware determination method
CN112947979B (en) Firmware patch loading mode of IPC (IPC) equipment based on overlay FS (fs)
CN113467797B (en) Program updating method, device and system and computer readable storage medium
CN105630515A (en) Dual-system mirror image guiding method
CN1635473A (en) Method for judging program code correctness in storage module

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: 20081015