CN101159685B - Method of starting pluggable member - Google Patents

Method of starting pluggable member Download PDF

Info

Publication number
CN101159685B
CN101159685B CN2007101767025A CN200710176702A CN101159685B CN 101159685 B CN101159685 B CN 101159685B CN 2007101767025 A CN2007101767025 A CN 2007101767025A CN 200710176702 A CN200710176702 A CN 200710176702A CN 101159685 B CN101159685 B CN 101159685B
Authority
CN
China
Prior art keywords
information
pluggable member
pluggable
startup
entirely
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 - Fee Related
Application number
CN2007101767025A
Other languages
Chinese (zh)
Other versions
CN101159685A (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 CN2007101767025A priority Critical patent/CN101159685B/en
Publication of CN101159685A publication Critical patent/CN101159685A/en
Application granted granted Critical
Publication of CN101159685B publication Critical patent/CN101159685B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention provides a method for starting up a pluggable component, which comprises acquiring an information identification code (ID) from a system when the pluggable component starts initialization; judging whether every bit of the information ID is 1, if it is, re-acquiring the information ID from the system and judging until not all bits of the information ID are 1; and storing the acquired information ID and initializing according to the acquired information ID. The inventive method accelerates the startup of the pluggable component.

Description

A kind of method that starts pluggable member
Technical field
The present invention relates to the start-up technique of pluggable member, relate in particular to a kind of method that starts pluggable member.
Background technology
In having the system of pluggable member, the reliable startup of pluggable member is the major issue that this type systematic is paid close attention to.Usually, when this type systematic of design, start-up course goes wrong easily.For example, described system is a backboard, and described pluggable member is a veneer, and then veneer will obtain groove position information from its backboard that will insert, and with the parameter of described groove position information as described single board starting.If described groove position information errors will cause single board starting failure etc.
Enumerate a kind of situation and reason thereof that above-mentioned groove position information errors may occur below.Fig. 1 is the connector annexation schematic diagram of veneer and backboard, as shown in Figure 1, because the difference of pin length in the veneer connector, in the plate process, the pin of-48V power supply and-48 ground plane noise voltages (VGND) contacts the connector in the backboard earlier, the connector behind the pin of signal ID0 in the contact backboard.3.3V power supply in the veneer is by-48V power source conversion, and-48V power supply is in case after the contact, the 3.3V power supply can obtain correspondent voltage, and the CPU on the veneer brings into operation.Afterwards, veneer carries out initialization, and obtains message identification code (ID) from backboard, also i.e. above described groove position information.Yet, the processing speed of CPU is very fast, when veneer obtains Information ID, if the ID0 position in the Information ID on the veneer by on move 3.3V to and ID0 is not inserted into the position, then CPU can obtain the ID0 information of the high level of a mistake, and correct value should be the low level of direct ground connection (GND) on the backboard.Fig. 2 is the level translation schematic diagram of ID0 in the new electrifying startup process of pluggable member on the veneer, as shown in Figure 2, when-48V power supply in case after the contact, ID0 becomes high level, when veneer was inserted into fully, ID0 changed low level into, and the correct value that veneer should obtain is a low level.
In view of the above problem that may occur, when carrying out single board starting in the prior art at present, in reading the step of Information ID, add time-delay for a long time, be inserted into the position during with the assurance single board starting, can obtain correct Information ID.Fig. 3 is a board startup process schematic diagram in the prior art, and as shown in Figure 3, this flow process comprises:
Step 301: when veneer begins initialization, carry out the time-delay of certain hour earlier, generally all be made as 5s, the perhaps longer time is to wait for that veneer is inserted into the position.
Step 302: veneer obtains Information ID from backboard.
Step 303: carry out the initialization of veneer with the information that obtains in the step 302.
Step 304: finish single-board starting process.
Wherein, the time length of step 101 centerboard can't determine, according to the people's of plate action speed decision.Somebody's plate is very fast relatively, then can not read wrong Information ID; Somebody's plate is relatively slow, just may not be inserted into the position because of veneer, and reads error message ID.Read wrong Information ID for avoiding veneer not to be inserted into the position, the time-delay of setting is chronic in the step 301.And the toggle speed of this system that will slow down; And in the time of can not guaranteeing to start fully in theory, the Information ID of reading in the step 302 be correct.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of method that starts pluggable member, can shorten the time-delay in the start-up course, quickens the startup of pluggable member.
For achieving the above object, technical scheme of the present invention is achieved in that
The invention provides a kind of method that starts pluggable member, this method comprises:
A, when pluggable member begins initialization, obtain message identification code ID from system;
B, judging whether each position of the Information ID obtain is 1 entirely, as being 1 entirely, then obtaining Information ID and judge from system again, is not 1 o'clock up to each position of Information ID entirely, continues execution in step C;
The Information ID that Information ID that C, preservation are obtained and basis are obtained carries out the initialization of pluggable member;
D, obtain Information ID from system once more, and with step C in the Information ID preserved compare, if consistent, finish whole flow process; If inconsistent, pluggable member resets, and execution in step A afterwards restarts the startup flow process of pluggable member.
Reset counter is set in pluggable member;
Accordingly, further comprise in the steps A: when pluggable member begins initialization, check described reset counter, if described pluggable member is new electrifying startup, described reset counter is zero, then obtains Information ID from system, and execution in step B; If described pluggable member is to reset to restart, it is 1 non-vanishing that the count value of described reset counter adds, and then obtains Information ID from system, and execution in step C.
Described system is a backboard, and described pluggable member is a veneer.
Described reset counter is realized by using programmable logic device EPLD.
The method of startup pluggable member provided by the present invention has following advantage and characteristics:
(1) whether each position of judging the Information ID obtain is 1 entirely, by above-mentioned judgement as can be known pluggable member whether be inserted into the position.Each position as Information ID is 1 entirely, shows that then pluggable member is not inserted into the position, obtains Information ID again, is not 1 entirely up to each position of Information ID, can plug part when being inserted into, carries out follow-up initialization flow process; As long as pluggable member is inserted into the position, then can to obtain be not 1 Information ID to pluggable member at once entirely, thereby carry out initialization, no longer need to set long time-delay, to determine obtaining correct Information ID, shortened the time of obtaining Information ID, promptly, shorten the time that consumes in the start-up course, quickened the startup of pluggable member.
(2) after the pluggable member initialization is finished, obtain Information ID once more, and the Information ID that obtains when beginning with initialization compares, guarantee the correctness that pluggable member starts.
(3) add reset counter, be used to check that whether pluggable member is by the new electrifying startup of pluggable member, if pluggable member is not by the new electrifying startup of pluggable member, but during software reset's pluggable member, because pluggable member has been inserted into the position, so the startup of pluggable member need not any time-delay, directly obtain Information ID and carry out follow-up initialization, accelerated the start-up course of the pluggable member under software reset's pluggable member situation.
Description of drawings
Fig. 1 is the connector annexation schematic diagram of veneer and backboard;
Fig. 2 is the level translation schematic diagram of ID0 in the new electrifying startup process of pluggable member on the veneer;
Fig. 3 is a board startup process schematic diagram in the prior art;
Fig. 4 is for starting the method flow schematic diagram of pluggable member among the present invention.
Embodiment
Basic thought of the present invention is: when pluggable member begins initialization, from system, obtain Information ID, whether each position of judging the Information ID that pluggable member obtains from system is 1 entirely, if be 1 entirely, then obtain Information ID again and judge, each position up to the Information ID that obtains is not 1 o'clock entirely, and preserving described is not 1 Information ID entirely, and by described be not that 1 Information ID carries out the initialization of pluggable member entirely.
Below, be described with reference to the accompanying drawings by specific embodiment.
Fig. 4 as shown in Figure 4, comprising for starting the method flow schematic diagram of pluggable member among the present invention:
At first by certain technological means, for example use programmable logic device (EPLD), realize a counter, be called reset counter in the present invention, initial count value was zero when described reset counter newly powered on, the not zero clearing of count value when resetting pluggable member in the reset counter, and add 1 once, with the number of resets of statistics veneer, also promptly when resetting, the count value in the reset counter adds 1 at every turn.
In the present embodiment, pluggable member is meant that all can carry out the circuit board of hot plug, for example veneer or ply-yarn drill, and system is meant that pluggable member can be inserted in the circuit board that carries out hot plug on it, for example backboard.
Step 401: when pluggable member begins initialization, the check reset counter, as be zero, execution in step 402 as non-vanishing, is obtained Information ID and execution in step 403 from system.
When described pluggable member was veneer, when veneer began initialization, the check reset counter if the numerical value in the reset counter is zero, showed that veneer is new electrifying startup, execution in step 402; If the numerical value in the reset counter is non-vanishing, show veneer not by new electrifying startup, restart that then explanation pluggable member this moment has been inserted into the position but reset, need not whether to be inserted into for pluggable member in the execution in step 402 judgement of position, directly execution in step 403.
Step 402: pluggable member obtains Information ID from system, judges whether each position is 1 to Information ID entirely that obtain, is 1 entirely as each position of Information ID, obtains Information ID from system again, till each position of Information ID is not 1 entirely, afterwards, execution in step 403.
Whether the Information ID that pluggable member obtains has multidigit, such as 4, is ID0~ID3, when ID0~ID3 is 1 entirely, is illegal state, shows that pluggable member is not inserted into the position, therefore, can be 1 to judge whether pluggable member has been inserted into the position entirely according to Information ID.
Wherein, veneer obtains Information ID from system, if be 1 entirely, shows that then veneer is not inserted into the position, need repeat to obtain Information ID, is not 1 o'clock entirely up to the Information ID that obtains, and shows that veneer has been inserted into the position, execution in step 403.
Wherein, it is very known in the prior art how pluggable member obtains Information ID from system, repeats no more here.
Step 403: preserve the Information ID that obtains from system.
Wherein, after the step 402 during execution in step 403, what preserved is that each that obtain from system at last is not 1 Information ID entirely.
Step 404: the Information ID of preserving with step 403 carries out the initialization of pluggable member.Initialization needs certain hour, if the time falls short of, can suitably add some time-delay.
Carry out the initialization of veneer with the Information ID that obtains in the step 402, initialization needs the regular hour, so add the time-delay of certain hour, the processing speed of system itself etc. is depended in described time-delay, need determine according to practical situations, perhaps, also there is the possibility that does not add time-delay according to actual conditions.
Wherein, pluggable member for example veneer how to carry out initialization according to the Information ID that obtains very known in the prior art, repeat no more here.
Step 405: errorless in order to ensure the Information ID of preserving in the step 403 that obtains from system, obtain Information ID again, and with step 403 in the Information ID preserved compare.If the same, the Information ID that obtains from system that obtains in the description of step 403 is correct, and pluggable member continues operation, finishes whole startup flow process; Otherwise the Information ID that obtains in the description of step 403 is incorrect, and then execution in step 406.
Wherein, the main cause of obtaining Information ID again is: even each position of the Information ID that obtains at last in the step 402 is not 1 entirely; but still having the Information ID that obtains is wrong possibility; errorless in order to ensure the Information ID that obtains; from system, obtain Information ID again, and with step 403 in the Information ID that obtains compare.If consistent, the Information ID that obtains in the description of step 403 is correct, and veneer continues operation, starts flow process and finishes; Otherwise the Information ID that obtains in the description of step 403 is incorrect, and then execution in step 406.
Wherein, step 405 is an optional step, and when step 405 was removed, corresponding, step 406 also needed to remove, and whole flow performing promptly finishes to step 404.
Step 406: pluggable member resets, and returns step 401, and pluggable member restarts.
Wherein, the realization of the reset counter in the step 401 is not to be necessary for the present invention, can not require realization.At this moment, when pluggable member began initialization, direct execution in step 402 was carried out obtaining and the startup flow process of step 403 afterwards~406 of Information ID.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.

Claims (4)

1. a method that starts pluggable member is characterized in that, this method comprises:
A, when pluggable member begins initialization, obtain message identification code ID from system;
B, judging whether each position of the Information ID obtain is 1 entirely, as being 1 entirely, then obtaining Information ID and judge from system again, is not 1 o'clock up to each position of Information ID entirely, continues execution in step C;
The Information ID that Information ID that C, preservation are obtained and basis are obtained carries out the initialization of pluggable member;
D, obtain Information ID from system once more, and with step C in the Information ID preserved compare, if consistent, finish whole flow process; If inconsistent, pluggable member resets, and execution in step A afterwards restarts the startup flow process of pluggable member.
2. the method for startup pluggable member according to claim 1 is characterized in that, reset counter is set in pluggable member;
Accordingly, further comprise in the steps A: when pluggable member begins initialization, check described reset counter, if described pluggable member is new electrifying startup, described reset counter is zero, then obtains Information ID from system, and execution in step B; If described pluggable member is to reset to restart, it is 1 non-vanishing that the count value of described reset counter adds, and then obtains Information ID from system, and execution in step C.
3. the method for startup pluggable member according to claim 1 is characterized in that, described system is a backboard, and described pluggable member is a veneer.
4. the method for startup pluggable member according to claim 2 is characterized in that, described reset counter is realized by using programmable logic device EPLD.
CN2007101767025A 2007-11-01 2007-11-01 Method of starting pluggable member Expired - Fee Related CN101159685B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101767025A CN101159685B (en) 2007-11-01 2007-11-01 Method of starting pluggable member

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101767025A CN101159685B (en) 2007-11-01 2007-11-01 Method of starting pluggable member

Publications (2)

Publication Number Publication Date
CN101159685A CN101159685A (en) 2008-04-09
CN101159685B true CN101159685B (en) 2011-03-02

Family

ID=39307610

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101767025A Expired - Fee Related CN101159685B (en) 2007-11-01 2007-11-01 Method of starting pluggable member

Country Status (1)

Country Link
CN (1) CN101159685B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040117431A1 (en) * 2002-10-24 2004-06-17 Sun Microsystems, Inc. Mapping of hot-swap states to plug-in unit states
CN1756377A (en) * 2004-09-28 2006-04-05 华为技术有限公司 Method for detecting single board fault
CN1889050A (en) * 2006-07-26 2007-01-03 华为技术有限公司 System and method for raising single-board exception handling ability
CN1996882A (en) * 2006-12-27 2007-07-11 华为技术有限公司 A detection method and device
CN101025700A (en) * 2006-02-21 2007-08-29 中兴通讯股份有限公司 Abnormal reset system protection method and reset protection system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040117431A1 (en) * 2002-10-24 2004-06-17 Sun Microsystems, Inc. Mapping of hot-swap states to plug-in unit states
CN1756377A (en) * 2004-09-28 2006-04-05 华为技术有限公司 Method for detecting single board fault
CN101025700A (en) * 2006-02-21 2007-08-29 中兴通讯股份有限公司 Abnormal reset system protection method and reset protection system
CN1889050A (en) * 2006-07-26 2007-01-03 华为技术有限公司 System and method for raising single-board exception handling ability
CN1996882A (en) * 2006-12-27 2007-07-11 华为技术有限公司 A detection method and device

Also Published As

Publication number Publication date
CN101159685A (en) 2008-04-09

Similar Documents

Publication Publication Date Title
CN108320773B (en) Automatic reset pulse generator and memory device having the same
EP2993579A1 (en) System and method for automatically configuring bios performance profiles
EP3002677A1 (en) System and method for managing multiple bios default configurations
CN100511148C (en) CPU system starting method and system
TWI410793B (en) Computer, and method for error-detecting and booting of bios thereof
CN105955911B (en) Hot plug control circuit and control method thereof
CN106547653B (en) Computer system fault state detection method, device and system
US20090271660A1 (en) Motherboard, a method for recovering the bios thereof and a method for booting a computer
CN107729196B (en) Smart card power-off test method
CN110928743A (en) Computing system, automatic diagnosis method and medium storing instructions thereof
US20150154091A1 (en) Bios maintenance method
US20140195697A1 (en) Apparatus and method for detecting functions of video card
US20040123088A1 (en) Method and apparatus for detecting an interruption in memory initialization
CN101582045A (en) Computer test system and method
CN109375956B (en) Method for restarting operating system, logic device and control device
US20060236084A1 (en) Method and system for providing an auxiliary bios code in an auxiliary bios memory utilizing time expiry control
CN110750374A (en) Watchdog circuit and control method thereof
CN102446101A (en) System for mandatorily upgrading firmware and method for mandatorily upgrading firmware thereof
CN101159685B (en) Method of starting pluggable member
CN109408099B (en) Remote FPGA firmware code updating system, method and medium
CN116932010B (en) System firmware upgrading method, device and server
CN108873668B (en) Time calibration method, processor and time calibration system
CN105653376A (en) Optimization algorithm for guaranteeing information synchronization when BIOS and BMC in ARM platform are started at same time
CN112000508A (en) Starting repair method of ARM server and related device
TWI643058B (en) Electronic device and methods for calculating power on hours

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

Granted publication date: 20110302

Termination date: 20171101

CF01 Termination of patent right due to non-payment of annual fee