CN1869935A - Automatic start method of switchboard plate - Google Patents

Automatic start method of switchboard plate Download PDF

Info

Publication number
CN1869935A
CN1869935A CN 200510137221 CN200510137221A CN1869935A CN 1869935 A CN1869935 A CN 1869935A CN 200510137221 CN200510137221 CN 200510137221 CN 200510137221 A CN200510137221 A CN 200510137221A CN 1869935 A CN1869935 A CN 1869935A
Authority
CN
China
Prior art keywords
data
program
storer
plate
veneer
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
CN 200510137221
Other languages
Chinese (zh)
Other versions
CN100395706C (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 CNB2005101372214A priority Critical patent/CN100395706C/en
Publication of CN1869935A publication Critical patent/CN1869935A/en
Application granted granted Critical
Publication of CN100395706C publication Critical patent/CN100395706C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

A method for self-starting up plate of exchanger includes resetting plate, loading program and /or data from storage in plate by plate, running plate after loading is finished, judging whether program and data in said storage is usable or not before program and data are loaded, loading program and data not usable in storage from background server by plate if program and/or data in storage is not usable.

Description

A kind of method of switchboard plate self-starting
Technical field
The present invention relates to the method for a kind of equipment plate self-starting, the method for loading procedure and data when relating in particular to a kind of switchboard plate self-starting.
Background technology
Along with present switch adopts the modular structure mode, the program of a lot of veneers no longer is simply to be solidificated in the veneer, but adopts from background server loading monoboard program to veneer, and the maintenance function of veneer and expanded function all are improved.Only there is the BIOS boot in the veneer, veneer loads to background server BAM application, the program of finishing loads, finish data load, (program and data can be compressed at background server earlier for program and data, and then in the veneer decompression) there is the memory address that is placed on appointment, this memory address is exactly the start address of program run.Jump to the program origin from bios program at last, the operation monoboard programme.
Many veneers reset once more or plug after, veneer can jump in the boot of BIOS and move, therefore program that loads in the veneer and data can lose, so veneer all can load to background server BAM application once more, and the time length of the process that loads and the size of monoboard programme and data have relation, under the certain situation of communication bandwidth, the program of veneer and data are big more, and the loading consumed time is just long more.Switch or other communication programs were less in the past, the business function that provides is also comparatively simple, the time that loads cost is not long, along with the function of switching equipment constantly increases, program and data are also increasing, according to the mode that loads fully veneer is reruned like this, the professional time of recovering again is long, has no longer met present device requirement.
Describe switch in the prior art among Fig. 1 and realized the flow process of board resetting and loading procedure and data, the realization of existing switch generally all is as the back administrative unit with background server, can directly be connected between background server and the veneer with the LAN netting twine, also can between background server BAM and veneer, connect by switch Front Administration Module FAM, can adopt the LAN netting twine to be connected between background server BAM and the Front Administration Module FAM, Front Administration Module FAM can adopt the HDLC link to be connected with veneer; Monoboard programme that veneer loads in the switch and data all are to exist in advance in the BAM, veneer is after setting up communication channel in the switch, to backstage BAM application loading monoboard program and data, after loading was finished, veneer can move the program of loading and use corresponding data.
If BAM (background server)/WS (client workstation) issues reset command to the veneer that moves and (also exists in the situation of the enterprising horizontal reset of veneer in the prior art, as open the reset switch of veneer, do not need BAM/WS to send out reset command), after veneer is received reset command, program out of service, original state is jumped in board resetting, once more to backstage BAM application loading procedure and data; BAM confirms to load, and returns load information; Next the loading monoboard program reloads the veneer data after monoboard programme has loaded; After the veneer data load was finished, veneer returns to load to be confirmed; Veneer brings into operation.
But can there be some shortcomings in above-mentioned existing scheme, BAM is the gateway of machine and external information in return, switch is very high to performance and the stability requirement of BAM, provide the dependence of manufacturer very strong to BAM, and BAM is subject to outside world, as virus, hacker etc., and the difficult shortcoming that expands.
Along with the function of switching equipment constantly increases, program and data are also increasing, according to the mode that loads fully veneer are reruned like this, and after veneer loading procedure and the data, the time that normally goes into operation is long, has no longer met present device requirement.
Summary of the invention
Purpose of the present invention just provides a kind of startup method, reduces the dependence of veneer loading to outside BAM, reduces the time that veneer loads.Reach purpose of the present invention by following technical solution:
The invention provides a kind of method of switchboard plate self-starting, comprise the steps:
1) plate carries out reset operation;
2) loading procedure and/or data in the storer of described plate from this plate;
3) behind the loaded, the plate operation.
In described step 2) in before loading procedure and the data, judge also whether program and the data in the described storer available, carry out the loading of program and data according to judged result.
If program and/or the data judged in the storer are unavailable, then this plate is carried in disabled program and/or data in the storer from background server.
After having loaded program and data, judge also whether described storer can be write, if can write, then program that needs are write and/or data are write in the described storer.
Described reset operation receives reset command that background server sends or this plate of plug or outage and produces.
Described storer is FLASH storer or hard disk.
Adopt the switch veneer of technique scheme of the present invention, increase in the program managing that veneer loads, increase the FLASH memory function, whether program and the data of checking the FLASH storer are available, determine whether to load from the backstage, relatively load mode, when the program and the data of FLASH storer all are available, after device looses power, the program and the data that obtain from the FLASH storer save time more realistic beginning request for utilization more than loading.After realizing the present invention, other information of veneer can be kept in the veneer by the FLASH storer equally, by ordering or automatically this information is provided the user or safeguarding and use, and such as abnormal information, Debugging message or the like.
By below in conjunction with the accompanying drawing description of the preferred embodiment of the present invention, other characteristics of the present invention, purpose and effect will become clear more and easy to understand.
Description of drawings
Preferred implementation of the present invention is described below with reference to the accompanying drawings, wherein:
Switch is realized the process flow diagram of board resetting and loading procedure and data in Fig. 1 prior art;
Fig. 2 veneer of realizing on switch of the present invention is from the implementing procedure figure that opens function;
Fig. 3 opens the simplification flow process of checking the FLASH storer certainly for veneer among the present invention;
In all above-mentioned accompanying drawings, identical label represents to have identical, similar or corresponding feature or function.
Embodiment
The present invention is described further below in conjunction with accompanying drawing.
Fig. 2 describes the veneer of realizing of the present invention from a kind of method that opens function on switch, specific implementation process is as follows:
(1) veneer increases the FLASH storer in the switch, and the program of veneer/data increase management function: comprise that determining program can be with/unavailable, data can with/unavailable, program writable/can not write and data can be write/can not write.
(2) for the first time can setting program/data all unavailable for veneer, program/data all can be write.After the board resetting, monoboard programme/data that the original BAM that obtains of veneer provides are all unavailable, will ask complete loading procedure of background server BAM and data like this.According to loading protocol contents, veneer can be with program and the data that load, and the CRC check value of program and data, leave in one section memory field of veneer appointment, program and data have been loaded, program/the data of inspection veneer can be write, and just program and data are write the FLASH storer, and veneer has just been stored the program and the data of this veneer on the background server like this.
(3) after the veneer operation, veneer can check that the CRC check value of the data that internal memory is preserved and the data CRC check value of FLASH storer compare, if data have modification, the capital writes data updated the data storage area of FLASH storer once more, CRC check value with program and data is kept in the FLASH simultaneously, maintenance program and data all the time with background server on program and data consistent, and both proof test values are consistent all the time.Program/the data of veneer can be provided with available control later on.
(4) backstage all is made as the monoboard programme/data of preserving among the veneer FLASH available, if veneer resets once more like this, the gauge tap of veneer energy scrutiny program/data is all available, veneer will be according to the CRC check formula, respectively the program and the data of preserving among the FLASH are calculated, obtained the CRC check value of present procedure among the FLASH.If the present procedure that program of preserving among the CRC check value of checking FLASH storer internal program and data and the calculating FLASH and data obtain is identical with the CRC check value of data, just directly with in the FLASH storer program and data read, write corresponding program and data address, directly move monoboard programme and use data.If check that FLASH storer internal program or data are incorrect.Will be at the program and/or the data of mistake, to corresponding correct program and/or the data of background server request of loading.
(5) load from backstage BAM fully if desired, only need that setting program/data are all unavailable once more, like this after the board resetting, it is all unavailable that veneer obtains monoboard programme/data that BAM provides, will be from background server BAM complete loading procedure and data.
Relatively prior art and difference of the present invention, exist veneer to check whether the program and the data of FLASH storer are available among the present invention, determine whether to load from background server, the load mode of relative prior art, the program and the data that obtain to need to load from the FLASH storer among the present invention save time more realistic request for utilization more than loading.
Fig. 3 has described the embodiment that veneer of the present invention checks that the program of FLASH storer and data are whether available and whether can write; Comprise the steps:
1) veneer obtain program/data available/can write sign; The backstage is by one group of administration order, and to the available of the program of the veneer of each module and data with can write and carry out configuration management, this configuration data need not be placed on the veneer, is placed directly in background server.After the board resetting, at the BIOS initial phase, veneer is at first to background server application load request, background server obtains the configuration data of program and data, with the available of the program of veneer and data with can write management data and report veneer, veneer just obtained program/data available/can write sign;
2) veneer checks whether program and data that background server reports can available with the control sign; If program can with/data are unavailable, the CRC check of the program that need preserve FLASH is carried out verification with the CRC check value that the FLASH program stored is calculated acquisition, if CRC check value unanimity, then from FLASH memory load program, otherwise from the BAM loading procedure, data are unavailable from the BAM loading data, enter step 3); If program were unavailable/data could use, then need loading procedure from BAM, the CRC check value that needs simultaneously FLASH to be preserved the CRC check of data and the data computation acquisition that FLASH stores is carried out verification, if CRC check value unanimity, then from FLASH memory load data, otherwise need be from the BAM loading data.Enter step 3); If program/data are all unavailable,, enter step 3) from BAM loading procedure/data; If program/data are all available, need carry out verification to the CRC check value that the CRC check of FLASH save routine and data and FLASH program stored and data are calculated acquisition respectively, with program consistent with CRC check value in the data directly from the FLASH memory load, load from BAM CRC check value in program and the data is inconsistent; Enter step 5);
3) whether the program that obtains from background server of veneer inspection and data can be write the control sign and can write, and if not, enter step 5); If can write, enter step 4);
4) write a program and data to the FLASH storer;
5) program/data are correct, operation.
Enumerating several veneers below obtains program and data and obtains program from BAM and the example of data up to startup institute's time spent compares from the FLASH storer, so that beneficial effect of the present invention to be described, adopt central processing module/Service Processing Module (MPU/SPC) veneer of SM (Switch Module the Switching Module)/SPM (ServiceProcess Module Service Processing Module) of certain version of switching equipment for example.
Example 1: switch module SM, the comparison of MPU veneer:
Condition: bandwidth 512K, compression-loaded program and data, program and size of data 3.4Mbytes
MPU from backstage loading procedure and data to going into operation spended time 2 minutes and 20 seconds.
MPU obtains program and data to going into operation spended time 1 minute and 30 seconds from the FLASH storer.
The time about 35.7% that the MPU veneer is saved.
Example 2: switch module SPM, the comparison of SPC veneer:
Condition: bandwidth 10M, compression-loaded program and data, program and size of data 4.1Mbytes
SPC from backstage loading procedure and data to going into operation spended time 1 minute and 05 second.
SPC obtains program and data to going into operation spended time 0 minute and 25 seconds from the FLASH storer.
The time about 61.5% that the SPC veneer is saved.
The switch of indication is made a general reference the communication facilities with function of exchange herein, such as fixed network switch, wireless exchange board, Softswitch, SCP, charging gateway etc.; BAM: switch high speed, magnanimity, secondary peripheral storage device, this paper is referred to as the switch Backend Administration Module, also is background server, realizes the business datum and the Equipment Management Function of whole switching equipment; FAM: switch Front Administration Module; SM: switch adopts modular construction, and a SM is one of them module, and this paper is referred to as the exchange service processing module; MPU: be the central processing module of SM, realize the business processing and the Equipment Management Function of SM module; CPC: the protocol processes veneer is to realize the management of AM/CM module device, data management and signaling process function; SPC: service processing board is to realize the management of SPM module device, data management and signaling process function.
Being not limited to the FLASH storer among the present invention, can be other known storer, and for example veneer is supported hard disk, and this hard disk is used for stored programme and data.Working method is as follows: veneer is owing to there is hard disc apparatus, directly be loaded into program and the data of backstage BAM on the hard disk, acquisition program and data from the hard disk again, so just do not need FLASH memory management to veneer, only need be before loading, relatively whether the program on the veneer hard disk is consistent with program and the data of BAM with data, determines whether loading procedure and data.Though it is will be hurry up that the relative backstage of hard-disk interface loads, but the stability of the operation of hard disk is good not as the FLASH storer, and the FLASH storer also is will have superiority more than the hard disk mode on price, along with improving constantly of electronic technology, must produce the FLASH storer of high capacity and high stable, the widespread use that the quick startup of equipment is obtained.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (11)

1. the method for a switchboard plate self-starting comprises the steps:
1) plate carries out reset operation;
2) loading procedure and/or data in the storer of described plate from this plate;
3) behind the loaded, the plate operation.
2. the method for a kind of switchboard plate self-starting according to claim 1, it is characterized in that, in described step 2) in before loading procedure and the data, judge also whether program and the data in the described storer available, carry out the loading of program and data according to judged result.
3. the method for a kind of switchboard plate self-starting according to claim 2, it is characterized in that, if program and/or the data judged in the storer are unavailable, then this plate is carried in disabled program and/or data in the storer from background server.
4. the method for a kind of switchboard plate self-starting according to claim 3, it is characterized in that, loaded program and/or data from described background server after, judge also whether described storer can be write, if can write, then program that needs are write and/or data are write in the described storer.
5. the method for a kind of switchboard plate self-starting according to claim 4, it is characterized in that, after the plate operation, check at preset time whether program in the described storer and/or data are identical with program and data in the background server, if it is different, then upgrade the corresponding contents in the described storer, make program in the said storer and program and the data in data and the background server be consistent.
6. according to the method for each described a kind of switchboard plate self-starting in the claim 2 to 5, it is characterized in that describedly judge whether available step comprises for program in the storer and data:
The program that detection reports from background server and data can be with the control sign CRC check value of the present procedure that obtains of program in the whether available and/or CRC check value of checking program in the described storer and data and the computing store and data and data whether identical.
7. according to the method for each described a kind of switchboard plate self-starting in the claim 1 to 5, it is characterized in that described reset operation receives reset command that background server sends or this plate of plug or outage and produces.
8. according to the method for each described a kind of switchboard plate self-starting in the claim 1 to 5, it is characterized in that described storer is FLASH storer or hard disk.
9. the method for a kind of switchboard plate self-starting according to claim 6 is characterized in that, described storer is FLASH storer or hard disk.
10. the method for a kind of switchboard plate self-starting according to claim 7 is characterized in that, described storer is FLASH storer or hard disk.
11. the method for a kind of switchboard plate self-starting according to claim 6 is characterized in that, described reset operation receives reset command that background server sends or this plate of plug or outage and produces.
CNB2005101372214A 2005-12-31 2005-12-31 Automatic start method of switchboard plate Expired - Fee Related CN100395706C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005101372214A CN100395706C (en) 2005-12-31 2005-12-31 Automatic start method of switchboard plate

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005101372214A CN100395706C (en) 2005-12-31 2005-12-31 Automatic start method of switchboard plate

Publications (2)

Publication Number Publication Date
CN1869935A true CN1869935A (en) 2006-11-29
CN100395706C CN100395706C (en) 2008-06-18

Family

ID=37443603

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005101372214A Expired - Fee Related CN100395706C (en) 2005-12-31 2005-12-31 Automatic start method of switchboard plate

Country Status (1)

Country Link
CN (1) CN100395706C (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102360316A (en) * 2011-10-20 2012-02-22 深圳芯邦科技股份有限公司 Method and device for operating startup procedure in one-time programmable storage
CN104102520B (en) * 2014-07-25 2017-10-27 新华三技术有限公司 A kind of system start method and device
CN112769800A (en) * 2020-12-31 2021-05-07 武汉船舶通信研究所(中国船舶重工集团公司第七二二研究所) Switch integrity verification method and device and computer storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1124746C (en) * 1999-09-11 2003-10-15 华为技术有限公司 Single board festing method and device
JP2002140204A (en) * 2000-10-31 2002-05-17 Mitsubishi Electric Corp Device and method for upgrade
CN100426226C (en) * 2002-08-16 2008-10-15 中兴通讯股份有限公司 Single board edition automatic loading method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102360316A (en) * 2011-10-20 2012-02-22 深圳芯邦科技股份有限公司 Method and device for operating startup procedure in one-time programmable storage
CN104102520B (en) * 2014-07-25 2017-10-27 新华三技术有限公司 A kind of system start method and device
CN112769800A (en) * 2020-12-31 2021-05-07 武汉船舶通信研究所(中国船舶重工集团公司第七二二研究所) Switch integrity verification method and device and computer storage medium
CN112769800B (en) * 2020-12-31 2022-10-04 武汉船舶通信研究所(中国船舶重工集团公司第七二二研究所) Switch integrity verification method and device and computer storage medium

Also Published As

Publication number Publication date
CN100395706C (en) 2008-06-18

Similar Documents

Publication Publication Date Title
CN102955720B (en) A kind of method improving ext file system stability
CN102244669B (en) Software upgrading method in stacking equipment and stacking equipment
CN102819465A (en) Failure recovery method in virtualization environment
CN102088490B (en) Data storage method, device and system
CN109271172B (en) Host performance expansion method and device of sweep cluster
CN1834909A (en) Updating method for distance equipment system software
CN112235142B (en) Power utilization information acquisition system capable of realizing key business disaster tolerance and operation method thereof
CN107623703A (en) Global transaction identifies GTID synchronous method, apparatus and system
CN107688512A (en) One kind optimization virtual-machine data backup method and system
CN1622483A (en) A method for implementing software hot-backup of main and reserve machines
CN1308278A (en) IP fault-tolerant method for colony server
CN1869935A (en) Automatic start method of switchboard plate
CN104753992A (en) Method, device and system for data storage and method and device for virtual platform failure recovery
CN110209550A (en) Fault handling method, device, electronic equipment and the storage medium of storage medium
CN1275476C (en) Clustering system for utilizing sharing internal memory in mobile communiation system and realizing method thereof
CN101853185B (en) Blade server and service dispatching method thereof
CN101166334B (en) Method for remote RF unit to record information in radio communication system
CN110620798A (en) Control method, system, equipment and storage medium for FTP connection
CN104158843A (en) Storage unit invalidation detecting method and device for distributed file storage system
CN1203427C (en) Load balance modulator possessing TCP connection fault tolerant function and its modulating method
CN106533790A (en) Method, apparatus and system for deploying storage server, and storage server
CN115391106A (en) Method, system and device for pooling backup resources
CN109144800A (en) A kind of collection method, device and the relevant device of server failure information
CN102339305A (en) Database cluster failure recovery method on basis of partial ordering relation logs
CN114610567A (en) Container monitoring method, network device and storage medium

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080618

Termination date: 20121231