CN100458696C - System and method for realizing multiple CPU loading - Google Patents

System and method for realizing multiple CPU loading Download PDF

Info

Publication number
CN100458696C
CN100458696C CNB2006100788157A CN200610078815A CN100458696C CN 100458696 C CN100458696 C CN 100458696C CN B2006100788157 A CNB2006100788157 A CN B2006100788157A CN 200610078815 A CN200610078815 A CN 200610078815A CN 100458696 C CN100458696 C CN 100458696C
Authority
CN
China
Prior art keywords
cpu
software
storage unit
load server
load
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.)
Active
Application number
CNB2006100788157A
Other languages
Chinese (zh)
Other versions
CN101051274A (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 CNB2006100788157A priority Critical patent/CN100458696C/en
Publication of CN101051274A publication Critical patent/CN101051274A/en
Application granted granted Critical
Publication of CN100458696C publication Critical patent/CN100458696C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

A method for loading multiple CPU in communication system includes obtaining basic software from each own independent storage unit to start up BOOTROM on each CPU and using lead system load server to carry out loading on BOOTROM at each CPU if start-up is failure, obtaining expanded software and data file from each own independent storage to start up basic software on each CPU and using normal system load server to load basic software on each CPU if start-up is failure, carrying out communication version calibration with load server by basic software if start-up is successful, updating and resetting version act9ively if version is not correct.

Description

Realize the system and method that many CPU load
Technical field
The present invention relates to a kind of technology of computer realm, relate in particular to the quick loading processing technology of a kind of many CPU.
Background technology
At present, high integration, distributed treatment are the directions of communication system development.Usually the structure of communication system comprises a plurality of CPU (CPU (central processing unit)), for example, and for the communication system that becomes by the multimachine group, comprise a plurality of machine frames in the rack, the polylith veneer that distributing in each machine frame, every veneer can be single CPU, also can be a plurality of CPU.
CPU is the elementary cell of distribution software.Because incompatible cpu instruction collection is different, thus the different software that may distribute on the different CPU, and, even between the compatible CPU, because the physical resource or the restriction of class of service also might move different software.
Therefore,, need the software on realization flexible distributed, renewal and each CPU of control, comprise loading, startup, upgrading at software for multi-CPU system.Wherein, load to be meant how single CPU obtains correct software and data, startup is meant that the software on single CPU carries out initialization, and many CPU software cooperates the processing procedure with the startup of finishing total system when initialization.
At present, realize that in communication system the method that many CPU load mainly contains two kinds, will describe respectively this scheme of CPU realization of loading more than two kinds below.
(1) in the prior art, it is load server of the unified design of total system that a kind of many CPU of employing load implementation, and this load server is responsible for all CPU in the total system are carried out software loading.
Wherein, the function of load server comprises: indication is loaded the foundation that CPU loads passage, and indication is loaded the download that CPU carries out software document and data file.
Minimum software systems are arranged for being loaded CPU, and this is referred to as BOOTROM (guidance system) usually, and BOOTROM is responsible for and load server communicates, and finishes the foundation that loads passage.Afterwards, load the basic software of CPU, carry out the startup of BOOTROM, carry out the startup of the basic software of CPU by same loading passage loading expanding software and data file again after starting successfully by loading passage.
As can be seen, in this implementation, there is following shortcoming:
(1) shortcoming of poor expandability:
BOOTROM, though need in principle to keep it constant, may change owing to load when being loaded in edition upgrading under passage and the file when the upgrading of system version as minimum software systems, therefore, BOOTROM is still had the demand of interlock upgrading;
(2) Single Point of Faliure takes place easily:
Because if load server breaks down, then total system can't normal load, therefore, makes will cause Single Point of Faliure when can't normal load at some CPU, influences the performance of whole communication system;
(3) loading velocity is slow:
The loading of all CPU depends on the foundation that loads passage, and order loads, and channel bandwidth is little or be loaded under the many situations of cpu data and will cause loading velocity slower loading, and then has reduced the loading efficiency at many CPU.
In the prior art, also adopted another many CPU to load implementation, be specially:
Two load servers of the unified design of total system, one is the guidance system load server, is responsible for BOOTROM and loads, another is the normal system load server, is responsible for normal system and loads.Wherein, the BOOTROM of each CPU is started by the basic software of guidance system load server by the loading passage loading CPU of BOOTROM; The basic software of each CPU is to be started by basic software loading passage loading expanding software and data file by the normal system load server.
Though this scheme has overcome the shortcoming of the poor expandability of last scheme, but there is easy Single Point of Faliure equally, if be that load server breaks down then total system can't normal load, simultaneously, in this implementation, because it is the loading of all CPU still depends on the foundation and the order that load passage and loads, therefore, little or be loaded the slower problem of loading velocity that the many situations of cpu data cause and still exist by loading channel bandwidth.
Summary of the invention
The purpose of this invention is to provide a kind of high speed, reliable many CPU loading system and utilize this system to realize the method that multi-CPU system loads fast.
The objective of the invention is to be achieved through the following technical solutions:
The present invention realizes the system that many CPU load, comprise a plurality of CPU, it is characterized in that each CPU is provided with software storage unit separately, when CPU is loaded, then call in the software storage unit separately saved software or data and carry out the CPU load operation;
The present invention realizes that the system that many CPU load preferably also comprises: guidance system load server and the normal system load server that can communicate by letter with many CPU, when each CPU fails by software storage unit loading separately, then carry out the CPU load operation by described guidance system load server and normal system load server.
Described software storage unit comprises: guidance system BOOTROM storage unit, basic software storage unit, expanding software storage unit and data file storage unit.
Described software storage unit realizes by hard disk or flash memory FLASH.
The present invention realizes the method that many CPU load, and it is characterized in that, comprises step:
A, each CPU call the information that needs in the loading procedure from software storage unit separately, and carry out loading processing;
After B, each CPU load successfully, communicate by letter with load server and to finish load operation;
The method that the many CPU of above-mentioned realization load also comprises step:
C, when this CPU loads success, by guidance system load server and normal system load server this CPU is carried out load operation.
Described step B also comprises:
Each loads successful CPU and communicates by letter with load server, carries out the version verification, and version initiatively carries out version updating, resets when incorrect.
Described step C comprises:
The basic software that BOOTROM on C1, each CPU obtains CPU by the guidance system load server by the loading passage of BOOTROM starts;
Basic software on C2, each CPU obtains expanding software by the normal system load server by the loading passage of basic software and data file starts.
Described steps A comprises:
BOOTROM on A1, each CPU obtains basic software and starts from software storage unit separately;
Basic software on A2, each CPU is obtained expanding software and data file starts from separately software storage unit.
Described steps A 1 preferably also comprises:
When the BOOTROM on this CPU started not success, the basic software of obtaining CPU by the loading passage of BOOTROM by the guidance system load server started, and execution in step A2;
Behind execution in step A2, when the basic software on this CPU starts success, obtain expanding software by the loading passage of basic software and data file starts by the normal system load server.
As seen from the above technical solution provided by the invention, many CPU of realization loading system of the present invention and method, because every CPU is provided with software storage unit separately, when CPU is loaded, then call in the software storage unit separately saved software or data and carry out the CPU load operation, do not rely on the foundation that loads passage, fast, the difficult Single Point of Faliure that takes place of speed; Again owing to after each CPU loads successfully, communicate by letter with load server, the verification version if version is incorrect, initiatively carries out version updating and resets, and has guaranteed the reliability of version; In addition, because the present invention also comprises guidance system load server and normal system load server, when each CPU fails by software storage unit loading separately, then carry out the CPU load operation, further guaranteed the reliability of system by described guidance system load server and normal system load server.
Description of drawings
Fig. 1 is the structural representation of the software storage unit of each CPU in the system of the present invention;
Fig. 2 is the schematic diagram of the method described in the present invention.
Fig. 3 is the specific implementation structural representation of the system described in the present invention;
Fig. 4 is the specific implementation schematic flow sheet of the method described in the present invention.
Embodiment
Core of the present invention is to be respectively each CPU corresponding software storage unit is set, and when a plurality of CPU at communication system load, at first utilize software storage unit separately to carry out the loading of many CPU, afterwards, communicate by letter with load server again and finish load operation.Thereby can realize quick loading processing, solve the problem that present many CPU loading velocity is slow, system reliability is low at a plurality of CPU.
More specifically say, the invention provides a kind of many CPU of realization loading system and a kind of method that realizes that many CPU load fast, below will be respectively the realization of described system and method be described.
Described many CPU of realization loading system comprises a plurality of CPU, and as shown in Figure 1, each CPU is provided with software storage unit separately, when CPU is loaded, then calls in the software storage unit separately saved software or data and carries out the CPU load operation.Described software storage unit comprises guidance system BOOTROM storage unit, basic software storage unit, expanding software storage unit and data file storage unit.Above-mentioned software storage unit generally realizes by hard disk or flash memory FLASH two media.
System also comprises guidance system load server and normal system load server, when each CPU fails by software storage unit loading separately, then carries out the CPU load operation by described guidance system load server and normal system load server.
The method that the many CPU of described realization load fast as shown in Figure 2, comprising:
Step 21: each CPU preferentially calls the information that needs in the loading procedure from software storage unit separately, and carries out loading processing.
If load successfully, then carry out:
Step 22: communicate by letter with load server, the verification version if version is incorrect, initiatively carries out version updating and resets.
Version updating also resets and is meant the upgrading of initiatively carrying out version by the far-end load server that can communicate by letter with CPU, and be returned to starting state, can select restarting systems this moment as required, or restarting systems and by the time next time use new version during start-up system not.When selection was restarted, because the also incomplete dependence load server of system's this moment loads whole software document and data file, so system still can realize quick startup.
In general, storage is correct in this locality for the software of each CPU and data.Changing under the situation of plugging in veneer or renewal configuration, the software of some CPU and data are stored in this locality and were lost efficacy, and in this case, carry out the version verification by step 22, and system is reliable with assurance.
When carrying out step 21, get nowhere, then carry out if load:
Step 23: carry out load operation by guidance system load server and normal system load server; Concrete loading procedure comprises:
(1) at the start-up operation of the BOOTROM among the CPU:
The basic software that BOOTROM on each CPU obtains CPU by the guidance system load server by the loading passage of BOOTROM starts;
(2) at the start-up operation of the basic software among the CPU:
After obtaining the BOOTROM on the basic software startup CPU, the basic software on each CPU obtains expanding software by the normal system load server by the loading passage of basic software and data file starts.
By the processing of execution in step 23, can further guarantee the reliability of system.
For ease of the present invention there being further understanding, the present invention will be described in detail below in conjunction with accompanying drawing and corresponding specific embodiment.
At first, in conjunction with Fig. 3, the present invention is realized that the preferable concrete application example of many CPU loading system is described in detail.
As shown in Figure 3, the present invention realizes that many CPU loading system comprises 3 CPU, also a plurality of CPU can be arranged, and each CPU is provided with separately independently software storage unit, when CPU is loaded, then at first call in the software storage unit separately saved software or data and carry out the CPU load operation.Described software storage unit realizes by hard disk or flash memory FLASH two media, described software storage unit comprises guidance system BOOTROM storage unit, basic software storage unit, expanding software storage unit and data file storage unit, is stored on hard disk or the FLASH.
The present invention also comprises guidance system load server and normal system load server, described guidance system load server is responsible for guidance system and is loaded, and the basic software that the loading passage of the BOOTROM that is specifically responsible for each CPU by BOOTROM loads CPU starts; Described normal system load server is responsible for normal system and is loaded.The basic software of being specifically responsible for each CPU starts by basic software loading passage loading expanding software and data file.When each CPU fails by software storage unit loading separately, then carry out the CPU load operation by described guidance system load server and normal system load server.
Secondly, again in conjunction with Fig. 4, the concrete application example of realizing the method that many CPU load fast is described in detail.
The present invention realizes the multi-CPU system loading method as shown in Figure 4, each CPU at first calls the information that needs in the loading procedure from software storage unit separately, and carry out loading processing, when this CPU loads not success, carry out load operation by guidance system load server and normal system load server.When this CPU loads successfully, load server communication, the verification version if version is incorrect, initiatively carries out version updating and resets.Specifically comprise step:
Step 41: the BOOTROM on each CPU at first obtains basic software and starts from software storage unit separately.Get nowhere if start, then:
Step 42: the BOOTROM on this CPU is started by the basic software of guidance system load server by the loading passage loading CPU of BOOTROM;
Be specially: by the loading passage of guidance system load server basic software is loaded on this CPU by BOOTROM, afterwards, and on this CPU, just can be by the start-up operation of this basic software realization at the BOOTROM on the CPU.
After starting successfully, carry out:
Step 43: the basic software on each CPU is at first obtained expanding software and data file starts from separately software storage unit.
After starting successfully, carry out:
Step 44:CPU communicates by letter with load server, and the verification version if version is incorrect, initiatively carries out version updating and resets.
Version updating also resets and is meant the upgrading of initiatively carrying out version by the far-end load server that can communicate by letter with CPU, and be returned to starting state, can select restarting systems this moment as required, or restarting systems and by the time next time use new version during start-up system not.When selection was restarted, because the also incomplete dependence load server of system's this moment loads whole software document and data file, so system still can realize quick startup.
In general, storage is correct in this locality for the software of each CPU and data.Changing under the situation of plugging in veneer or renewal configuration, the software of some CPU and data are stored in this locality and were lost efficacy, and in this case, carry out the version verification by step 44, and system is reliable with assurance.
If step 43 starts unsuccessful, then:
Step 45: the basic software on this CPU is started by the loading passage loading expanding software and the data file of normal system load server by basic software.
Be specially: expanding software and data file are loaded on this CPU by the loading passage of normal system load server by basic software, afterwards, on this CPU, just can pass through this expanding software and data file realization start-up operation at the basic software on the CPU.
Generally speaking, step 41, step 43, step 44 can be finished successively, but do not get rid of step 41 or step 43 yet and have the situation that starts failure, at this moment, carry out load operation by step 42 or step 45 by guidance system load server and normal system load server, can guarantee safety startup of system.
In sum, many CPU of realization loading system and method in the communication system of the present invention, because each CPU is provided with software storage unit separately, when CPU is loaded, then call in the software storage unit separately saved software or data and carry out the CPU load operation, do not rely on the foundation that loads passage, fast, the difficult Single Point of Faliure that takes place of speed; Again owing to after each CPU loads successfully, communicate by letter with load server, the verification version if version is incorrect, initiatively carries out version updating and resets, and has guaranteed the reliability of version; In addition, because the present invention also comprises guidance system load server and normal system load server, when each CPU fails by software storage unit loading separately, then carry out the CPU load operation, further guaranteed the reliability of system by described guidance system load server and normal system load server.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.

Claims (8)

1, a kind of system that realizes that many CPU load, comprise a plurality of CPU, it is characterized in that each CPU is provided with software storage unit separately, when CPU is loaded, then call in the software storage unit separately saved software or data and carry out the CPU load operation;
This system also comprises: guidance system load server of communicating by letter with many CPU and normal system load server, when each CPU fails by software storage unit loading separately, then carry out the CPU load operation by described guidance system load server and normal system load server.
2, the system of the many CPU loadings of realization according to claim 1 is characterized in that described software storage unit comprises: guidance system BOOTROM storage unit, basic software storage unit, expanding software storage unit and data file storage unit.
3, the system of the many CPU loadings of realization according to claim 1 and 2 is characterized in that, described software storage unit realizes by hard disk or flash memory FLASH.
4, a kind of method that realizes that many CPU load is characterized in that, comprises step:
A, each CPU call the information that needs in the loading procedure from software storage unit separately, and carry out loading processing;
After B, each CPU load successfully, communicate by letter with load server and to finish load operation;
C, when this CPU loads success, by guidance system load server and normal system load server this CPU is carried out load operation.
5, the method for the many CPU loadings of realization according to claim 4 is characterized in that described step B also comprises:
Each loads successful CPU and communicates by letter with load server, carries out the version verification, and version initiatively carries out version updating, resets when incorrect.
6, the method for the many CPU loadings of realization according to claim 4 is characterized in that described step C comprises:
The basic software that guidance system BOOTROM on C1, each CPU obtains CPU by the guidance system load server by the loading passage of guidance system BOOTROM starts;
Basic software on C2, each CPU obtains expanding software by the normal system load server by the loading passage of basic software and data file starts.
7, the method for the many CPU loadings of realization according to claim 4 is characterized in that described steps A comprises:
Guidance system BOOTROM on A1, each CPU obtains basic software and starts from software storage unit separately;
Basic software on A2, each CPU is obtained expanding software and data file starts from separately software storage unit.
8, the method for the many CPU loadings of realization according to claim 7 is characterized in that described steps A 1 also comprises:
When the guidance system BOOTROM on this CPU started not success, the basic software of obtaining CPU by the loading passage of guidance system BOOTROM by the guidance system load server started, and execution in step A2;
Behind execution in step A2, when the basic software on this CPU starts success, obtain expanding software by the loading passage of basic software and data file starts by the normal system load server.
CNB2006100788157A 2006-05-08 2006-05-08 System and method for realizing multiple CPU loading Active CN100458696C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100788157A CN100458696C (en) 2006-05-08 2006-05-08 System and method for realizing multiple CPU loading

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100788157A CN100458696C (en) 2006-05-08 2006-05-08 System and method for realizing multiple CPU loading

Publications (2)

Publication Number Publication Date
CN101051274A CN101051274A (en) 2007-10-10
CN100458696C true CN100458696C (en) 2009-02-04

Family

ID=38782700

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100788157A Active CN100458696C (en) 2006-05-08 2006-05-08 System and method for realizing multiple CPU loading

Country Status (1)

Country Link
CN (1) CN100458696C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102043648A (en) * 2009-10-23 2011-05-04 中兴通讯股份有限公司 Multi-core system and starting method thereof

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101222373B (en) * 2008-01-29 2010-07-28 杭州华三通信技术有限公司 Multi-master control system and master control board starting method thereof
CN101639794B (en) * 2009-05-27 2011-01-26 福州思迈特数码科技有限公司 Safe starting method of multi-CPU system
CN111124436B (en) * 2019-11-05 2023-12-29 上海航天控制技术研究所 Method for improving loading reliability of star sensor software

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0270680A1 (en) * 1986-05-21 1988-06-15 Fanuc Ltd. Boot loading system in a multi-processor system
JP2001306307A (en) * 2000-04-25 2001-11-02 Hitachi Ltd Method for processing firmware
CN1447940A (en) * 2000-06-28 2003-10-08 英特尔公司 Cache line pre-load and pre-own based on cache coherence speculation
CN1512373A (en) * 2002-12-26 2004-07-14 华为技术有限公司 Method for multiple CPU communication
CN1525353A (en) * 2003-09-17 2004-09-01 中兴通讯股份有限公司 Multiprocessor system and method for sharing bootstrap module thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0270680A1 (en) * 1986-05-21 1988-06-15 Fanuc Ltd. Boot loading system in a multi-processor system
JP2001306307A (en) * 2000-04-25 2001-11-02 Hitachi Ltd Method for processing firmware
CN1447940A (en) * 2000-06-28 2003-10-08 英特尔公司 Cache line pre-load and pre-own based on cache coherence speculation
CN1512373A (en) * 2002-12-26 2004-07-14 华为技术有限公司 Method for multiple CPU communication
CN1525353A (en) * 2003-09-17 2004-09-01 中兴通讯股份有限公司 Multiprocessor system and method for sharing bootstrap module thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102043648A (en) * 2009-10-23 2011-05-04 中兴通讯股份有限公司 Multi-core system and starting method thereof

Also Published As

Publication number Publication date
CN101051274A (en) 2007-10-10

Similar Documents

Publication Publication Date Title
EP2798491B1 (en) Method and device for managing hardware errors in a multi-core environment
CN100525206C (en) Realizing method and system for automatic restoring equipment fault
CN103365696B (en) BIOS image file acquisition methods and device
CN101923473B (en) Embedded electronic device and method for updating firmware thereof
CN103608792A (en) Method and system for supporting resource isolation under multi-core architecture
CN102214118A (en) Method, system and device for controlling virtual machine (VM)
CN103425592A (en) Memory management method and device for multiprocess system
CN101373433A (en) Method for updating BIOS and computer and system using the same
CN102104516B (en) Network mode switching method and serial data communication network
CN101482823A (en) Single board application version implementing method and system
CN100458696C (en) System and method for realizing multiple CPU loading
CN101571807A (en) System with firmware and starting method thereof
CN102331958A (en) Method for starting hard disk under Linux system
JP4696151B2 (en) Information processing apparatus and memory management method
CN111708608A (en) Container large cluster rapid deployment method and system based on infrastructure
US20170286128A1 (en) BOOT online upgrading device and method
US20080215771A1 (en) Pool i/o device operation confirmation method and computer system
CN101119188B (en) Single board updating method for implementing uninterruptive service
CN100362470C (en) BIOS on-line upgrading method
CN100384122C (en) On-line promotion method for network terminal product
CN111124749A (en) Method and system for automatically repairing BMC (baseboard management controller) system of tightly-coupled high-performance computer system
CN109298873A (en) A kind of method for upgrading system and device
CN102033767A (en) Single plate and method for upgrading same on line
CN111913753A (en) Method and system for changing starting mode in cloud migration of windows system
CN110688130A (en) Physical machine deployment method, physical machine deployment device, readable storage medium and electronic equipment

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