CN1614532A - Re-starting card and method for determining test moment of re-starting mechanism - Google Patents

Re-starting card and method for determining test moment of re-starting mechanism Download PDF

Info

Publication number
CN1614532A
CN1614532A CN 200410091091 CN200410091091A CN1614532A CN 1614532 A CN1614532 A CN 1614532A CN 200410091091 CN200410091091 CN 200410091091 CN 200410091091 A CN200410091091 A CN 200410091091A CN 1614532 A CN1614532 A CN 1614532A
Authority
CN
China
Prior art keywords
starting
motherboard
card
bios
access
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 200410091091
Other languages
Chinese (zh)
Other versions
CN1287252C (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.)
Via Technologies Inc
Original Assignee
Via Technologies Inc
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 Via Technologies Inc filed Critical Via Technologies Inc
Priority to CN 200410091091 priority Critical patent/CN1287252C/en
Publication of CN1614532A publication Critical patent/CN1614532A/en
Application granted granted Critical
Publication of CN1287252C publication Critical patent/CN1287252C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

A restart card inserting on host board of computer comprises detection unit, counting unit and reset unit. A method for deciding opportunity to test restart mechanism includes starting up computer and executing I/O routine for finishing the starting up, making access of a complete code for detection, driving the counting unit for counting time up to set value, then driving reset unit to start host board for executing restart mechanism, otherwise not executing restart mechanism.

Description

The method of re-starting card and decision test moment of re-starting mechanism thereof
Technical field
The present invention is relevant for a kind of re-starting card that is used for Test Host plate re-starting mechanism, be meant especially about judging whether computer system has finished boot program, and the re-starting card and the method thereof of decision Test Host plate moment of re-starting mechanism, to determine computer system under the state that start is finished, just the connection test motherboard is carried out re-starting mechanism.
Background technology
Along with the fast development of science and technology, the computer system functions development is driven complete powerful more, and then brings the use common people considerable facility.Computer system has now all been supported the hardware re-starting mechanism, take place under the situation of machine to provide when computer system, can restart computer system power-on again, this re-starting mechanism promptly is located at the power switch button and the replacement button of main frame, for user's operation, re-starting mechanism is that the motherboard by computer system is provided, motherboard is provided with power button pin position (Power Button Pins) and replacement pin position (Reset Pins), when power button pin position sustained short-circuit after the several seconds, the supply of will cutting off the electricity supply of the System on Chip/SoC of motherboard, after treating that mainboard power supply cuts off, during short circuit primary power source button pin position, can restart computer system and start shooting again, and when seeing through replacement pin position, only need the short circuit pin position of once resetting, can make the drive system chip dump and start again.
Before computer system is sold in dispatching from the factory, in order to ensure the normal of above-mentioned re-starting mechanism with stable, producer can carry out thousands of times test to re-starting mechanism, the artificial manual test of early stage use, quite consuming time, develop hardware re-starting card (Hardware Reboot Card) afterwards, with can be automatic continuous short circuit power button pin number second, the automatic test re-starting mechanism is once carried out in short circuit primary power source button pin position or short circuit replacement pin position again.Current simple type re-starting card is when testing re-starting mechanism, be that employing is short circuit power button pin position or replacement pin position every a set time, with start again, this set time is to finish the required time of once starting shooting, use the re-starting card of this type will produce a problem, be regardless of the present state of computer system why re-starting card will promptly can drive mainboard every the set time and carry out re-starting mechanism.
So, when computer system is not finished complete boot program, when just not entering operating system, boot program promptly takes place to interrupt, when for example proceeding to the boot program of initialization hard disk, execution error takes place produce computer system when the machine situation, this moment, computer system should rest on this boot failure program, no longer carry out and restart test next time, for tester's detection computations machine system boot program, but whether above-mentioned re-starting card can't be learnt start and finish, and will continue the host board testing re-starting mechanism, and can't provide the testing staff to learn the state of computer system power-on failure.
At the problems referred to above, but the magnitude of current that part re-starting card detecting master plate or CPU (central processing unit) are arranged at present, and differentiate whether want driving host board test re-starting mechanism next time, this detecting mode is provided with complicated circuit for detecting in addition on re-starting card, this will improve the cost of manufacture of re-starting card, and according to the magnitude of current size of motherboard or CPU (central processing unit) is can't judge correctly whether computer system starts shooting to finish, and also can produce above-mentioned problem.
Therefore, the present invention is promptly in the method that proposes a kind of re-starting card and decision test moment of re-starting mechanism thereof at the problems referred to above.
Summary of the invention
The main technical problem to be solved in the present invention is: a kind of re-starting card is provided, Basic Input or Output System (BIOS) by motherboard, sign indicating number is finished in the access that continues after finishing whole boot program, know that for re-starting card detecting computer system finished start, with connection test re-starting mechanism next time, so whether re-starting card can start shooting according to computer system really and finish, and decision test opportunity.
Another technical matters that the present invention will solve is: a kind of method that determines test moment of re-starting mechanism is provided, be simply to match with the Basic Input or Output System (BIOS) of motherboard by re-starting card, can detect and know whether computer system finishes boot program, and then the opportunity of decision re-starting card Test Host plate re-starting mechanism, to reduce the cost of manufacture of re-starting card.
For this reason, the present invention at first proposes a kind of re-starting card, is inserted in a motherboard of a computer system, is used to test the re-starting mechanism of this motherboard, this computer system is carried out a Basic Input or Output System (BIOS) of this motherboard, after finishing boot program, sign indicating number is finished in access one, knows for this re-starting card and finishes boot program, this re-starting card comprises: a detecting unit, whether detecting has access this finishes sign indicating number, when detect access this when finishing yard, send one first signal; One counting unit receives this first signal, and gate time sends a secondary signal to setting value; And a reset cell, receive this secondary signal, drive this motherboard and carry out re-starting mechanism.
The present invention also proposes a kind of method of re-starting card decision test moment of re-starting mechanism, one Basic Input or Output System (BIOS) of one motherboard of its computer system of arranging in pairs or groups, when carrying out this Basic Input or Output System (BIOS), finish behind the boot program and sign indicating number is finished in access one, this re-starting card then carries out the following step: detect this and finish a yard access, know that this computer system finishes boot program; Gate time is to setting value; And drive this motherboard and carry out re-starting mechanism; Wherein, do not finish a yard access, when promptly this Basic Input or Output System (BIOS) is carried out in expression, do not finish boot program, then this re-starting card two steps that will not continue when this re-starting card detects this.
Characteristics of the present invention and advantage are: the method for re-starting card of the present invention and decision test moment of re-starting mechanism thereof, it is one of coupled computer system Basic Input or Output System (BIOS), start shooting when carrying out Basic Input or Output System (BIOS), after finishing boot program, sign indicating number is finished in the access one that continues, know that for re-starting card computer system finishes boot program, re-starting card includes a detecting unit, one counting unit and a reset cell, the method of re-starting card decision test moment of re-starting mechanism, at first promptly see through detecting unit, whether detecting has access, and this finishes sign indicating number, whether finish boot program to judge computer system, this finishes sign indicating number when detecting unit has detected access, promptly represents computer system to finish boot program; Drive counting unit afterwards, gate time to drive reset cell, starts the re-starting mechanism of motherboard, the re-starting mechanism of Test Host plate to setting value.The present invention has overcome the defective of prior art, and the Basic Input or Output System (BIOS) of its collocation mainboard can be simply and judge correctly whether computer system finishes boot program, with whether continue again next time test of decision, and then reduces the cost of manufacture of re-starting card.
Description of drawings
Fig. 1 is the calcspar of the embodiment of the invention; And
Fig. 2 is the process flow diagram of the embodiment of the invention.
The drawing reference numeral explanation:
10, re-starting card 12, detecting unit 14, counting unit 16, reset cell
Embodiment
Now for architectural feature of the present invention and the effect reached are more had further understanding and understanding, careful assistant describes in detail with specific embodiment and conjunction with figs., illustrate as after:
The present invention is by matching with the Basic Input or Output System (BIOS) of motherboard, after computer system execution Basic Input or Output System (BIOS) is finished boot program, sign indicating number is finished in the access that continues, know that for re-starting card detecting computer system finishes start, can drive mainboard and carry out re-starting mechanism, carry out the test of re-starting mechanism.
See also Fig. 1, be the calcspar of the embodiment of the invention; Re-starting card 10 of the present invention provides the tester in the motherboard preceding use of dispatching from the factory, re-starting mechanism with automatic testing host, re-starting card 10 is inserted in the slot of a motherboard of a computer system, re-starting card 10 cooperates Basic Input or Output System (BIOS) (the BasicInput Output System of mainboard, BIOS) use, Basic Input or Output System (BIOS) is after finishing the programmed instruction of all boot programs, add access one and finish the instruction of sign indicating number, promptly store or read the input/output end port (Input/Output Port) of a numerical value to motherboard 10, allow computer system carry out the complete boot program of Basic Input or Output System (BIOS), enter before the executive operating system, carry out this instruction accessing and finish sign indicating number, for re-starting card 10 detectings, to judge whether computer system finishes boot program, and this input/output end port can be one of them of input/output end port 80h-84h.
Re-starting card 10 includes a detecting unit 12, one counting unit 14 and a reset cell 16, detecting unit 12 is used to detect the input/output end port that sign indicating number is finished in the access of Basic Input or Output System (BIOS) institute, when detecting unit 12 detect input/output end port have access this when finishing yard, promptly represent computer system to finish boot program, this moment, detecting unit 12 sent one first signal to counting unit 14, drive counting unit 14 gate times to the setting-up time value, send a secondary signal to reset cell 16, drive reset cell 16 and carry out re-starting mechanism, promptly by one of reset cell 16 first short circuit motherboards power button pin number second, make the supply of cutting off the electricity supply of the System on Chip/SoC of motherboard, reset cell 16 short circuit power button again pin position afterwards, get final product power supply and re-execute Basic Input or Output System (BIOS), start shooting, but re-starting mechanism is carried out in also one of short circuit motherboard replacement pin position of reset cell 16 in addition.
See also Fig. 2, be the process flow diagram of the embodiment of the invention; When computer system is desired to start shooting, at first carry out step S1, carry out Basic Input or Output System (BIOS), carry out boot program, behind all boot programs that execute Basic Input or Output System (BIOS), carry out step S2, the input/output end port of sign indicating number to motherboard finished in access, do not execute all boot programs as computer system, promptly present when the machine state, with can not execution in step S2 more not ordering about the re-starting mechanism of re-starting card 10 Test Host plates, know the boot failure state for the tester, analyze solution; When carrying out step S1, when carrying out boot program, whether the specific input/output end port that the detecting unit 12 of re-starting card 10 promptly can the detecting host plate has access to finish sign indicating number.
When execution of step S2, detecting unit 12 promptly can be shown in step S3, the specific input/output end port that detects motherboard has access to finish sign indicating number, carry out step S4 and send first signal, drive counting unit 14, gate time to send secondary signal, carries out step S5 to setting value, drive reset cell 16, step S1 to carry out re-starting mechanism, is promptly carried out again in the power button pin position of short circuit mainboard or replacement pin position, the carrying out of above-mentioned steps S4, can allow computer system after executing boot program, continuing allows computer system execute an operating system, drives this motherboard again and carries out re-starting mechanism.From the above, the present invention can be really after computer system be finished boot program, and just continuing allows 10 pairs of motherboards of re-starting card carry out the test of re-starting mechanism.
As can be known above-mentioned in sum, the method of re-starting card of the present invention and decision test moment of re-starting mechanism thereof, cooperation by the Basic Input or Output System (BIOS) of motherboard, after finishing all boot programs, add access and finish the instruction of sign indicating number to the input/output end port of motherboard, know for re-starting card 10 detectings, so when re-starting card 10 does not detect input/output end port when having access to finish yard, re-starting card 10 will can not carried out re-starting mechanism by the driving host plate, relatively when computer system is finished all boot programs, re-starting card 10 promptly automatically the driving host plate carry out re-starting mechanism, with the re-starting mechanism of automatic Test Host plate; In addition, re-starting card 10 of the present invention detect side unit 12, owing to only be used to detect the carrying out that sign indicating number is finished in the input/output end port access, so circuit is quite simple and easy, be different from the lateral circuit of detecing that prior art is used to detect the CPU (central processing unit) or the motherboard magnitude of current, and then reduce cost, and it is also simple to add instruction in Basic Input or Output System (BIOS), need not expend too much time and cost, quite quick.
Though the present invention discloses with specific embodiment; but it is not in order to limit the present invention; any those skilled in the art; the displacement of the equivalent assemblies of under the prerequisite that does not break away from design of the present invention and scope, having done; or, all should still belong to the category that this patent is contained according to equivalent variations and modification that scope of patent protection of the present invention is done.

Claims (10)

1. re-starting card, be inserted in a motherboard of a computer system, be used to test the re-starting mechanism of this motherboard, it is characterized in that, this computer system is carried out a Basic Input or Output System (BIOS) of this motherboard, and after finishing boot program, sign indicating number is finished in access one, supply this re-starting card to know and finish boot program, this re-starting card comprises:
One detecting unit, whether detecting has access this finishes sign indicating number, when detect access this when finishing yard, send one first signal;
One counting unit receives this first signal, and gate time sends a secondary signal to setting value; And
One reset cell receives this secondary signal, drives this motherboard and carries out re-starting mechanism.
2. re-starting card as claimed in claim 1 is characterized in that, this is finished sign indicating number and is accessed in one of them of this motherboard input/output end port 80h-84h, this detecting unit detect this input/output end port 80h-84h one of them whether access is arranged this finishes sign indicating number.
3. re-starting card as claimed in claim 1 is characterized in that, a power button pin number of this reset cell elder generation this motherboard of short circuit is after second, the supply of cutting off the electricity supply, this power button pin position of short circuit again of continuing, power supply also re-executes this Basic Input or Output System (BIOS), again start.
4. re-starting card as claimed in claim 1 is characterized in that, a replacement pin position of this this motherboard of reset cell short circuit drives the supply of cutting off the electricity supply of this motherboard, again power supply and re-execute this Basic Input or Output System (BIOS), start again.
5. re-starting card as claimed in claim 1 is characterized in that, this counting unit is carried out gate time for after carrying out boot program, and continuing allows computer system execute an operating system, and this reset cell drives this motherboard again and carries out re-starting mechanism.
6. the method for re-starting card decision test moment of re-starting mechanism, it is characterized in that, one Basic Input or Output System (BIOS) of one motherboard of its computer system of arranging in pairs or groups, when carrying out this Basic Input or Output System (BIOS), finish behind the boot program and sign indicating number is finished in access one, this re-starting card then carries out the following step:
Detect this and finish a yard access, know that this computer system finishes boot program;
Gate time is to setting value; And
Drive this motherboard and carry out re-starting mechanism;
Wherein, do not finish a yard access, when promptly this Basic Input or Output System (BIOS) is carried out in expression, do not finish boot program, then this re-starting card two steps that will not continue when this re-starting card detects this.
7. the method for re-starting card decision test moment of re-starting mechanism as claimed in claim 6, it is characterized in that, in carrying out this Basic Input or Output System (BIOS), after finishing boot program, access one is finished in the step of sign indicating number, this finishes sign indicating number in one of them of this motherboard input/output end port 80h-84h for access, this re-starting card detect this input/output end port 80h-84h one of them whether access this finish sign indicating number.
8. the method for re-starting card decision test moment of re-starting mechanism as claimed in claim 6, it is characterized in that, carry out in the step of re-starting mechanism in driving this motherboard, it is power button pin number second of this motherboard of short circuit, the supply of cutting off the electricity supply, this power button pin position of short circuit again of continuing, power supply also re-executes this Basic Input or Output System (BIOS), again start.
9. the method for re-starting card decision test moment of re-starting mechanism as claimed in claim 6, it is characterized in that, carry out in the step of re-starting mechanism in driving this motherboard, it is a replacement pin position of this motherboard of short circuit, drive the supply of cutting off the electricity supply of this motherboard, power supply and re-execute this Basic Input or Output System (BIOS), start again again.
10. the method for re-starting card decision test moment of re-starting mechanism as claimed in claim 6, it is characterized in that, in the step in gate time to setting value, be after carrying out boot program, continuing allows computer system execute an operating system, drives this motherboard again and carries out re-starting mechanism.
CN 200410091091 2004-11-16 2004-11-16 Re-starting card and method for determining test moment of re-starting mechanism Active CN1287252C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200410091091 CN1287252C (en) 2004-11-16 2004-11-16 Re-starting card and method for determining test moment of re-starting mechanism

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200410091091 CN1287252C (en) 2004-11-16 2004-11-16 Re-starting card and method for determining test moment of re-starting mechanism

Publications (2)

Publication Number Publication Date
CN1614532A true CN1614532A (en) 2005-05-11
CN1287252C CN1287252C (en) 2006-11-29

Family

ID=34766260

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200410091091 Active CN1287252C (en) 2004-11-16 2004-11-16 Re-starting card and method for determining test moment of re-starting mechanism

Country Status (1)

Country Link
CN (1) CN1287252C (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100489794C (en) * 2006-01-21 2009-05-20 鸿富锦精密工业(深圳)有限公司 System and method for detecting time of starting up computer system
CN101271413B (en) * 2007-03-21 2011-12-14 鸿富锦精密工业(深圳)有限公司 Computer operation condition detecting and processing method and system
CN101872233B (en) * 2009-04-22 2012-02-08 技嘉科技股份有限公司 Automatic on-off schedule control method and system thereof
CN109375956A (en) * 2018-11-01 2019-02-22 郑州云海信息技术有限公司 A kind of method of reboot operation system, logical device and control equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100489794C (en) * 2006-01-21 2009-05-20 鸿富锦精密工业(深圳)有限公司 System and method for detecting time of starting up computer system
CN101271413B (en) * 2007-03-21 2011-12-14 鸿富锦精密工业(深圳)有限公司 Computer operation condition detecting and processing method and system
CN101872233B (en) * 2009-04-22 2012-02-08 技嘉科技股份有限公司 Automatic on-off schedule control method and system thereof
CN109375956A (en) * 2018-11-01 2019-02-22 郑州云海信息技术有限公司 A kind of method of reboot operation system, logical device and control equipment
CN109375956B (en) * 2018-11-01 2021-10-15 郑州云海信息技术有限公司 Method for restarting operating system, logic device and control device

Also Published As

Publication number Publication date
CN1287252C (en) 2006-11-29

Similar Documents

Publication Publication Date Title
US20240086269A1 (en) Method, Apparatus and System for Locating Fault of Server, and Computer-readable Storage Medium
CN100517262C (en) Master plate monitoring system and method
CN110750396B (en) Server operating system compatibility testing method and device and storage medium
CN102521105B (en) Output method of power on self test information, virtual machine manager and processor
CN106547653B (en) Computer system fault state detection method, device and system
CN111221800A (en) Database migration method and device, electronic equipment and storage medium
US8122293B2 (en) Method for automatically simulating manual testing of a computer, and testing system for performing the method
CN101739319A (en) Computer device
CN113315675B (en) White box switch U-Boot automatic testing method, system and storage medium
CN1287252C (en) Re-starting card and method for determining test moment of re-starting mechanism
US7213159B2 (en) Method for testing and verifying power management features of computer system
CN114138527A (en) Method, device and medium for improving performance of server
CN101923503B (en) Method for regulating internal parameters of internal storage and computer system using same
CN102541702A (en) Test method for automatically restarting mainboard and recording debugging datum as well as restarting device of mainboard
TWI436203B (en) Testing method for automatically rebooting a motherboard and recording related debug information and rebooting device thereof
CN100397351C (en) Debug apparatus and method of computer system
CN104142843A (en) System power-on failure diagnosis method
KR20090037223A (en) Method and system for power-on self testing after system off, and booting method the same
CN115204081A (en) Chip simulation method, chip simulation platform, chip simulation system, and computer-readable storage medium
CN112269705A (en) Detection board for fault location of X86 architecture system
CN102023916A (en) Computer system detection method
CN111814415A (en) Efficient regression testing method for chip verification
TWI270782B (en) Rebooting card and its method for determining a timing of restarting a reset mechanism
CN101231608A (en) Device and method for detecting error
CN115686978B (en) Aging test method and system and PCB

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