CN103577286A - Method for power-on self-test on CD (Compact Disc) driver and electronic equipment - Google Patents

Method for power-on self-test on CD (Compact Disc) driver and electronic equipment Download PDF

Info

Publication number
CN103577286A
CN103577286A CN201210280822.0A CN201210280822A CN103577286A CN 103577286 A CN103577286 A CN 103577286A CN 201210280822 A CN201210280822 A CN 201210280822A CN 103577286 A CN103577286 A CN 103577286A
Authority
CN
China
Prior art keywords
rom drive
chip
motor
default sign
self check
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
CN201210280822.0A
Other languages
Chinese (zh)
Other versions
CN103577286B (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201210280822.0A priority Critical patent/CN103577286B/en
Publication of CN103577286A publication Critical patent/CN103577286A/en
Application granted granted Critical
Publication of CN103577286B publication Critical patent/CN103577286B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method for a power-on self-test on a CD (Compact Disc) driver and electronic equipment. The method is applied to a basic input/output system; the basic input/output system is arranged on the electronic equipment comprising an operating system; the electronic equipment comprises the CD driver; the CD driver comprises a CD driver firmware and a motor; the method comprises the steps of reading a preset identification of the CD driver firmware; after reading the preset identification, controlling the motor to be powered-off; after the enablement of the operating system, controlling the motor to be powered-on; obtaining a first detection instruction sent by the operating system and sending the first detection instruction to the CD driver; after the execution of the first detection instruction by the CD driver, obtaining a first confirmation message sent by the CD driver and sending the first confirmation message to the operating system.

Description

A kind of method of CD-ROM drive startup self-detection and electronic equipment
Technical field
The present invention relates to field of computer technology, relate in particular to a kind of method and electronic equipment of CD-ROM drive startup self-detection.
Background technology
Along with scientific and technological development, computing machine is applied in daily life more and more widely.No matter being notebook computer or desktop computer, all by CD-ROM drive, reading and writing laser disc content, is an accessory more common in computing machine.And be accompanied by increasingly extensive multimedia application, CD-ROM drive has become the standard configuration in the many accessories of computing machine.
At present, the each start of computing machine is all will carry out startup self-detection, switch on power, automatically move mainboard BIOS (Basic Input Output System, Basic Input or Output System (BIOS)) the curing program of chip, to comprising that the devices such as CPU, system board, base memory, exented memory, CD-ROM drive test, to guarantee that it can work.Traditional to the startup self-detection of CD-ROM drive in, first, BIOS controls the CD-ROM drive start that powers on; Then, CD-ROM drive can read the CD-ROM drive firmware of self voluntarily, carries out initialization; Next, according to CD-ROM drive firmware, the motor of controlling in CD-ROM drive rotates for the first time, shows that motor is normal; And then, at BIOS, identify after this CD-ROM drive, control motor power down; This is the first of CD-ROM drive startup self-detection.Next, enter the second portion of startup self-detection, first, after entering operating system, BIOS controls the CD-ROM drive start that again powers on; Then, CD-ROM drive reads the CD-ROM drive firmware of self again, carries out initialization; And then, according to CD-ROM drive firmware, control motor and rotate for the second time; After motor has rotated, generate a confirmation, and this information is sent to BIOS, more further send to operating system by BIOS, to represent that this motor can work; Finally, control motor power down.Like this, just completed CD-ROM drive startup self-detection.
But in the process of present inventor's invention technical scheme in realizing the embodiment of the present application, find that above-mentioned technology at least exists following technical matters:
1, because CD-ROM drive startup self-detection action each time all needs to control motor rotation twice, so, cause the power consumption of electronic equipment startup self-detection each time just to comprise the power consumption of twice rotation of motor, and then have the larger technical matters of start power consumption.
2, because CD-ROM drive startup self-detection action each time all needs to control motor rotation twice, so causing electronic equipment to be started shooting each time all needs CD-ROM drive rotation twice, and then has longer technical matters of on time.
3, due to motor rotation, all can produce the noise of certain decibel, twice of motor rotation, the noise decibels producing will double, so, the noise decibels that causes electronic equipment startup self-detection each time to be produced can be all the noise decibels twice that motor rotation once produces, and then has the excessive technical matters of noise.
Summary of the invention
The invention provides a kind of method and electronic equipment of CD-ROM drive startup self-detection, in order to solve the larger problem of start power consumption existing in prior art.
One embodiment of the invention provides a kind of method of CD-ROM drive startup self-detection, be applied to a Basic Input or Output System (BIOS), described Basic Input or Output System (BIOS) is arranged on the electronic equipment that comprises an operating system, described electronic equipment comprises a CD-ROM drive, described CD-ROM drive comprises a CD-ROM drive firmware, and a motor, and described method comprises: a default sign that reads described CD-ROM drive firmware, wherein, the described default sign that shows that described motor need not self check that is designated; After reading described default sign, control described motor power down; After described os starting, control described motor and power on; The first detection instruction that acquisition is sent by described operating system, and described the first detection instruction is sent to described CD-ROM drive; After described CD-ROM drive is carried out described the first detection instruction, obtain the first confirmation being sent by described CD-ROM drive, and described the first confirmation is sent to described operating system, wherein, described the first confirmation is for showing the normal information of described machine operation.
Optionally, described default sign specifically obtains by following steps: control the start that initially powers on of described CD-ROM drive; Read the self check state of described CD-ROM drive, wherein, described self check state is the information that shows that described CD-ROM drive self check completes; Based on described self check state, described default sign is write to described CD-ROM drive firmware.
Optionally, before the described self check state that reads described CD-ROM drive, described self check state specifically generates by following steps: at described CD-ROM drive, initially power on after start, described CD-ROM drive reads described CD-ROM drive firmware, generates the first steering order; Described CD-ROM drive is carried out described the first steering order, controls described motor rotation; After described motor completes rotation, described CD-ROM drive generates described self check state.
Optionally, described based on described self check state, described default sign is write to described CD-ROM drive firmware, specifically comprise: obtain the first message that described CD-ROM drive sends, wherein, described the first message is to show that described motor is about to the message of power down; Based on described self check state, described default sign is write to described CD-ROM drive firmware; After described default sign writes CD-ROM drive firmware completely, generate the second steering order; Carry out described the second steering order, control described motor power down.
Optionally, before a described default sign that reads described CD-ROM drive firmware, described method also comprises: control the start that powers on of described CD-ROM drive; Described CD-ROM drive reads the described default sign of described CD-ROM drive firmware; When described CD-ROM drive is read described default sign, keep described motor to remain static.
Optionally, described after reading described default sign, control described motor power down, specifically comprise: after reading described default sign, the second message that acquisition is sent by described CD-ROM drive, wherein, described the second message is to show that described motor is about to the message of power down; According to described the second message, generate the 3rd steering order; Carry out described the 3rd steering order, control described motor power down.
Another embodiment of the present invention provides a kind of electronic equipment, is mounted with an operating system on described electronic equipment, and described electronic equipment comprises: circuit board; CD-ROM drive, is connected with described circuit board, and wherein, described CD-ROM drive comprises CD-ROM drive firmware, and a motor; BIOS chip, is arranged on described circuit board, is connected with described CD-ROM drive, and for reading a default sign of described CD-ROM drive firmware, wherein, the described default sign that shows that described motor need not self check that is designated; After reading described default sign, control described motor power down; After described os starting, control described motor and power on; The first detection instruction that acquisition is sent by described operating system, and described the first detection instruction is sent to described CD-ROM drive; After described CD-ROM drive is carried out described the first detection instruction, obtain the first confirmation being sent by described CD-ROM drive, and described the first confirmation is sent to described operating system, wherein, described the first confirmation is for showing the normal information of described machine operation.
Optionally, described BIOS chip comprises: first reads chip, for reading a default sign of described CD-ROM drive firmware; The first control chip, for after reading described default sign, controls described motor power down, wherein, and the described default sign that shows that described motor need not self check that is designated; The second control chip, for after described os starting, controls described motor and powers on; The first transmission chip, for obtaining the first detection instruction being sent by described operating system, and sends to described CD-ROM drive by described the first detection instruction; The second transmission chip, for carry out described the first detection instruction at described CD-ROM drive after, obtain the first confirmation being sent by described CD-ROM drive, and described the first confirmation is sent to described operating system, wherein, described the first confirmation is for showing the normal information of described machine operation.
Optionally, described BIOS chip also comprises: the 3rd control chip, for controlling the start that initially powers on of described CD-ROM drive; Also for controlling the start that powers on each time of described CD-ROM drive; Second reads chip, and for reading the self check state of described CD-ROM drive, wherein, described self check state is the information that shows that described CD-ROM drive self check completes; First writes chip, for based on described self check state, described default sign is write to described CD-ROM drive firmware.
Optionally, described CD-ROM drive comprises: third reading is got chip, for initially powering at described CD-ROM drive after start, reads described CD-ROM drive firmware, generates the first steering order; The 4th control chip, for carrying out described the first steering order, controls described motor rotation; The first generating chip, for after described motor completes rotation, described CD-ROM drive generates described self check state.
Optionally, described first writes chip specifically comprises: the first son transmission chip, and the first message sending for obtaining described CD-ROM drive, wherein, described the first message is to show that described motor is about to the message of power down; The first son writes chip, for based on described self check state, described default sign is write to described CD-ROM drive firmware; The first sub-generation unit, for after described default sign writes CD-ROM drive firmware completely, generates the second steering order; The first sub-control chip, for carrying out described the second steering order, controls described motor power down.
Optionally, described CD-ROM drive also comprises: the 4th reads chip, for reading the described default sign of described CD-ROM drive firmware; The second generating chip, for when described CD-ROM drive is read described default sign, controls described motor and keeps stationary state.
Optionally, described the first control chip specifically comprises: the second son transmission chip, for after reading described default sign, obtain the second message of being sent by described CD-ROM drive, and wherein, described the second message is to show that described motor is about to the message of power down; The first sub-generating chip, for according to described the second message, generates the 3rd steering order; The second sub-control chip, for carrying out described the 3rd steering order, controls described motor power down.
The one or more technical schemes that provide in the embodiment of the present invention, at least have following technique effect or advantage:
While 1, initially powering on due to CD-ROM drive, one default sign is write to CD-ROM drive firmware, make after the startup self-detection of CD-ROM drive each time time, only need read this default sign, control motor and only rotate once in whole CD-ROM drive startup self-detection process, just only have rotation power consumption once, so, efficiently solve the larger technical matters of power consumption of starting shooting in prior art, and then reduced the power consumption of CD-ROM drive startup self-detection.
2, due to when CD-ROM drive initially powers on, one default sign is write to CD-ROM drive firmware, make after the startup self-detection of CD-ROM drive each time time, only need read this default sign, control motor only rotates once in whole CD-ROM drive startup self-detection process, so, effectively solve the longer technical matters of on time existing in prior art, and then accelerated the starting up speed of electronic equipment.
While 3, initially powering on due to CD-ROM drive, one default sign is write to CD-ROM drive firmware, make after the startup self-detection of CD-ROM drive each time time, only need read this default sign, control motor only rotates once in whole CD-ROM drive startup self-detection process, so effectively solved the excessive technical matters of noise in prior art, and then reduced the noise that CD-ROM drive startup self-detection produces.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of the method for the CD-ROM drive startup self-detection in the application one embodiment;
Fig. 2 is the structural drawing of a kind of electronic equipment in another embodiment of the application.
Embodiment
The invention provides a kind of method and a kind of electronic equipment of CD-ROM drive startup self-detection, in order to solve the larger technical matters of start power consumption existing in prior art.
Technical scheme in the embodiment of the present invention is for solving the problem of the starting up speed of above-mentioned quickening electronic equipment, and general thought is as follows:
After the electric rotating machine that initially powers at CD-ROM drive for the first time, one default sign is write to CD-ROM drive firmware, make after the startup self-detection of CD-ROM drive each time without controlling again motor, carry out twice rotation, only need to read above-mentioned default sign, controlling motor does not rotate for the first time, after motor completes rotation for the second time, realize CD-ROM drive startup self-detection, like this, in the process of CD-ROM drive startup self-detection, only motor rotates power consumption once, and then reduced the power consumption of CD-ROM drive startup self-detection, accelerated the starting up speed of electronic equipment, reduced the noise that CD-ROM drive startup self-detection produces.
In order better to understand technique scheme, below in conjunction with Figure of description and concrete embodiment, technique scheme is described in detail.
One embodiment of the invention provides a kind of method of CD-ROM drive startup self-detection, be applied to a Basic Input or Output System (BIOS), this Basic Input or Output System (BIOS) is arranged on the electronic equipment that comprises an operating system, and this electronic equipment comprises a CD-ROM drive, above-mentioned CD-ROM drive comprises a CD-ROM drive firmware, and a motor.Above-mentioned electronic equipment can be notebook computer, can be also desktop computer, so long as comprise with CD-ROM drive, and needs the electronic equipment of CD-ROM drive startup self-detection during start, and the application is not specifically limited.
As shown in Figure 1, the method step comprises:
Step S1: read a default sign of CD-ROM drive firmware, wherein, the default sign that shows that motor need not self check that is designated;
Step S2: after reading default sign, control motor power down;
Step S3: after os starting, control motor and power on;
Step S4: obtain the first detection instruction being sent by operating system, and the first detection instruction is sent to CD-ROM drive;
Step S5: after CD-ROM drive is carried out the first detection instruction, obtain the first confirmation being sent by CD-ROM drive, and the first confirmation is sent to operating system, wherein, the first confirmation is for showing the normal information of machine operation.
For more detailed description the present invention, lift concrete example below and carry out specific description, wherein, take notebook computer as example.
Incorporated by reference to Fig. 2, for example notebook computer 10 comprises a circuit board 101, and the CD-ROM drive 102 being connected with circuit board 101 is arranged on the BIOS chip 103 on circuit board 101 in addition, and wherein, CD-ROM drive 102 comprises CD-ROM drive firmware 1021 and motor 1022.At notebook computer 10, switch on power and press after key, execution step S1 reads a default sign of CD-ROM drive firmware 1021 that is:, wherein, and the default sign that shows that motor 1022 need not self check that is designated.In BIOS chip 103 first reads chip and in CD-ROM drive firmware 1021, reads a default sign, and wherein, this default sign can write CD-ROM drive firmware 1021 when CD-ROM drive 102 initial startup self-detection.
In specific implementation process, before step S1, the method can also comprise: control CD-ROM drive 102 start that powers on; CD-ROM drive 102 reads the default sign in CD-ROM drive firmware 1021; When CD-ROM drive 102 is read default sign, keep motor 1022 to remain static.
Specifically, when CD-ROM drive 102 starts to carry out startup self-detection, first, after notebook computer 10 switches on power and presses key, the second control chip of BIOS chip 103 is controlled CD-ROM drive 102 start that powers on; Next, the 4th of CD-ROM drive 102 the read chip and read the default sign in CD-ROM drive firmware 1021; Finally, when the second generating chip of CD-ROM drive 102 has been read this default sign, with regard to what action, do not do yet, keep the motor 1022 in CD-ROM drive 102 static.After this, CD-ROM drive 102 keeps holding state always, until operating system is about to start, just can carry out next one action.
Next, execution step S2 after reading default sign, controls motor 1022 power down that is:.
In specific implementation process, the embodiment of step S2 is as follows: after reading default sign, obtain the second message of being sent by CD-ROM drive 102, wherein, the second message is to show that motor 1022 is about to the message of power down, then according to the second message, generates the 3rd steering order; Carry out the 3rd steering order, control motor 1022 power down.
Specifically, read after chip read default sign when above-mentioned first, BIOS chip 103 just removes to control other accessory and carries out startup self-detection, CD-ROM drive 102 keeps holding state simultaneously, until the operating system in notebook computer 10 is while being about to start, in above-mentioned the first control chip second transmission chip can receive the second message being sent by CD-ROM drive 102, show that motor 1022 is about to power down, so, the second sub-generating chip in the first control chip will generate the 3rd steering order, next, in the first control chip second controlled sub-chip and carried out the 3rd steering order, control motor 1022 power down.
The 3rd step, execution step S3, that is: after os starting, control motor 1022 and power on.Specifically, after os starting, the second control chip in BIOS chip 103 generates a steering order, controls motor 1022 and again powers on.
The 4th step, execution step S4, that is: the first detection instruction that acquisition is sent by operating system, and the first detection instruction is sent to CD-ROM drive 102.
Specifically, after os starting, whether whether operating system can again detect CD-ROM drive 102 and can work, so operating system can send one first, detects instruction to BIOS chip 103, allow BIOS chip 103 remove again to detect CD-ROM drive 102 and can work.And the first transmission chip of BIOS chip 103 is after receiving this first detection instruction, this instruction can be transmitted to CD-ROM drive 102, allow CD-ROM drive 102 carry out from detecting.
After CD-ROM drive 102 receives the first detection instruction sending by step S4, enter step S5, that is: after CD-ROM drive 102 is carried out the first detection instruction, the first confirmation that acquisition is sent by CD-ROM drive 102, and the first confirmation is sent to operating system, wherein, the first confirmation is for showing the normal information of machine operation.
Specifically, CD-ROM drive 102 is carried out this instruction after receiving above-mentioned the first detection instruction, again reads the CD-ROM drive firmware 1021 of self, then according to CD-ROM drive firmware 1021, controls motor 1022 and is rotated.When motor 1022 can normally rotate, just show that motor 1022 can work, and when motor 1022 can not normally rotate, illustrate that motor 1022 is abnormal, so, BIOS chip 103 can give the alarm, and informs that user's CD-ROM drive 102 exists abnormal.Next, after motor 1022 completes rotation, CD-ROM drive 102 generates the first confirmation, confirm that motor 1022 is working properly, and this confirmation is sent to BIOS chip 103, the second transmission chip by BIOS chip 103 is transmitted to operating system again, informs that operating system motor 1022 can work, and then shows that CD-ROM drive 102 can work.
Finally, the in the situation that BIOS chip 103 not having laser disc in CD-ROM drive 102, control motor 1022 power down.
In one embodiment, the default sign in step S1 can obtain by the initial startup self-detection process of CD-ROM drive 102, so, below just the initial startup self-detection of CD-ROM drive 102 is described, the acquisition process of default sign is described.
First, control CD-ROM drive 102 start that initially powers on.
Specifically, after CD-ROM drive 102 is made, the second control chip of BIOS chip 103 is controlled CD-ROM drive 102 start that powers on for the first time, that is to say, the second control chip is controlled CD-ROM drive 102 start that initially powers on.
Next, read the self check state of CD-ROM drive 102, wherein, self check state completes and the normal information of motor 1022 for showing CD-ROM drive 102 self checks.
Specifically, when CD-ROM drive 102 reads self firmware, BIOS chip 103 is being monitored CD-ROM drive 102 always, and whether self check is complete, after CD-ROM drive 102 completes self check, generate a self check state, in BIOS chip 103 second reads chip and just removes to read this self check state, learn that CD-ROM drive 102 initialization are complete, and motor 1022 can work.
After this, BIOS chip 103 just removes to control other accessories and carries out startup self-detection, and CD-ROM drive 102 also keeps holding state always, until operating system will start, just can carry out next one action.
Finally, based on self check state, will preset sign and write CD-ROM drive firmware 1021.
In specific implementation process, above-mentioned based on self check state, the step that default sign is write to CD-ROM drive firmware 1021 can be specially: obtain the first message that CD-ROM drive 102 sends, wherein, the first message is to show that motor 1022 is about to the message of power down; Based on self check state, will preset sign and write CD-ROM drive firmware 1021; After default sign writes CD-ROM drive firmware 1021 completely, generate the second steering order; Carry out the second steering order, control motor 1022 power down.
Specifically, when operating system is about to start, first of BIOS chip 103 writes of first in chip transmission chip can receive first message of being sent by CD-ROM drive 102, inform that BIOS chip 103 motors 1022 are about to power down, now, the first son writes chip according to the self check state of the CD-ROM drive 102 reading before, writes default sign in CD-ROM drive firmware 1021, show that motor 1022 is without self check when next CD-ROM drive 102 startup self-detection.Next, the first the first sub-generating chip that writes chip in default sign writes CD-ROM drive firmware 1021 completely after, generate the second steering order, show that default sign has write CD-ROM drive firmware 1021.Finally, the first the first sub-control chip writing in chip is carried out this second steering order, controls motor 1022 power down.
In specific implementation process, default sign can also be obtained by additive method, and those skilled in the art can set according to actual conditions, and the application is not specifically limited.
In another embodiment, above-mentioned self check state can be obtained by following steps:
The first step, initially powers on after start at CD-ROM drive 102, and CD-ROM drive 102 reads CD-ROM drive firmware 1021, generates the first steering order.
Specifically, the third reading of CD-ROM drive 102 is got chip and is started to read CD-ROM drive firmware 1021, and according to this firmware content, the 3rd control chip generates the first steering order, and whether the motor 1022 detecting in CD-ROM drive 102 can work.
Second step, CD-ROM drive 102 is carried out the first steering order, controls motor 1022 rotations.
Specifically, the 3rd control chip of CD-ROM drive 102 is carried out above-mentioned the first steering order, controls motor 1022 rotations.When motor 1022 can normally rotate, just show that motor 1022 can work, and when motor 1022 can not normally rotate, illustrate that motor 1022 is abnormal, so, BIOS chip 103 will give the alarm, and informs that user's CD-ROM drive 102 exists abnormal.
The 3rd step, after motor 1022 completes rotation, CD-ROM drive 102 generates self check state.
Specifically, after motor 1022 can normally rotate and complete rotation, the first generating chip of CD-ROM drive 102 can generate a self check state, illustrates that CD-ROM drive 102 self checks complete and motor 1022 is normal.
In specific implementation process, self check state can also be obtained by additive method, and those skilled in the art can set according to actual conditions, and the application is not specifically limited.
So far, just completed the whole process of CD-ROM drive 102 startup self-detections.The method of applying CD-ROM drive 102 startup self-detections in an above-mentioned embodiment can make notebook computer 10 multiple switching machine at short notice, or in the situation in sleep/standby, need not all allow motor 1022 rotate twice at every turn, whether normally detect motor 1022, so just can make CD-ROM drive 102 reduce power consumption in the process of startup self-detection, reduce noise, and notebook computer 10 starts are accelerated.
Another embodiment of the present invention provides a kind of electronic equipment, is mounted with an operating system on electronic equipment.
As shown in Figure 2, electronic equipment 10 comprises: circuit board 101; CD-ROM drive 102, is connected with circuit board 101, and wherein, CD-ROM drive 102 comprises CD-ROM drive firmware 1021, and a motor 1022; BIOS chip 103, is arranged on circuit board 101, is connected with CD-ROM drive 102, and for reading a default sign of CD-ROM drive firmware 1021, wherein, the default sign that shows that motor 1022 need not self check that is designated; After reading default sign, control motor 1022 power down, wherein, the default sign that shows that motor 1022 need not self check that is designated; After os starting, control motor 1022 and power on; The first detection instruction that acquisition is sent by operating system, and the first detection instruction is sent to CD-ROM drive 102; After CD-ROM drive 102 is carried out the first detection instruction, obtain the first confirmation being sent by CD-ROM drive 102, and the first confirmation is sent to operating system, wherein, the first confirmation is the information that shows that motor 1022 is working properly.
Further, BIOS chip 103 comprises: first reads chip, for reading a default sign of CD-ROM drive 102 firmwares; The first control chip, for after reading default sign, controls motor 1022 power down, wherein, and the default sign that shows that motor 1022 need not self check that is designated; The second control chip, for after os starting, controls motor 1022 and powers on; The first transmission chip, for obtaining the first detection instruction being sent by operating system, and sends to CD-ROM drive 102 by the first detection instruction; The second transmission chip, after carrying out the first detection instruction at CD-ROM drive 102, obtains the first confirmation being sent by CD-ROM drive 102, and the first confirmation is sent to operating system, and wherein, the first confirmation is the information that shows that motor 1022 is working properly.
Further, BIOS chip 103 also comprises: the 3rd control chip, for controlling CD-ROM drive 102 start that initially powers on; Also for controlling CD-ROM drive 102 start that powers on each time; Second reads chip, and for reading the self check state of CD-ROM drive 102, wherein, self check state is the information that shows that CD-ROM drive 102 self checks complete; First writes chip, for based on self check state, will preset sign and write CD-ROM drive firmware 1021.
Further, CD-ROM drive 102 comprises: third reading is got chip, for initially powering at CD-ROM drive 102 after start, reads CD-ROM drive firmware 1021, generates the first steering order; The 4th control chip, for carrying out the first steering order, controls motor 1022 rotations; The first generating chip, for after motor 1022 completes rotation, CD-ROM drive 102 generates self check state.
Further, first writes chip specifically comprises: the first son transmission chip, and the first message sending for obtaining CD-ROM drive 102, wherein, the first message is to show that motor 1022102 is about to the message of power down; The first son writes chip, for based on self check state, will preset sign and write CD-ROM drive firmware 1021; The first sub-generation unit, for after default sign writes CD-ROM drive firmware 1021 completely, generates the second steering order; The first sub-control chip, for carrying out the second steering order, controls motor 1022 power down.
Further, CD-ROM drive 102 also comprises: the 4th reads chip, for reading the default sign of CD-ROM drive firmware 1021; The second generating chip, while presetting sign for reading when CD-ROM drive 102, controls motor 1022 and keeps stationary states.
Further, the first control chip specifically comprises: the second son transmission chip, for after reading default sign, obtain the second message of being sent by CD-ROM drive 102, and wherein, the second message is to show that motor 1022 is about to the message of power down; The first sub-generating chip, for according to the second message, generates the 3rd steering order; The second sub-control chip, for carrying out the 3rd steering order, controls motor 1022 power down.
Above-mentioned first reads chip and second, and to read chip can be same chip, also can be different chips; The first control chip, the second control chip, and the 3rd control chip can be same chip, can be also different chips; The first transmission chip and the second transmission chip can be same chip, also can be different chips; Third reading is got chip and the 4th, and to read chip can be same chip, also can be different chips; The first generating chip and the second generating chip can be same chip, also can be different chips; The first son transmission chip and the second son transmission chip can be same chip, also can be different chips.Those skilled in the art can set voluntarily, and the application is not specifically limited.
The one or more technical schemes that provide in the embodiment of the present invention, at least have following technique effect or advantage:
While 1, initially powering on due to CD-ROM drive, one default sign is write to CD-ROM drive firmware, make after the startup self-detection of CD-ROM drive each time time, only need read this default sign, control motor and only rotate once in whole CD-ROM drive startup self-detection process, just only have rotation power consumption once, so, efficiently solve the larger technical matters of power consumption of starting shooting in prior art, and then reduced the power consumption of CD-ROM drive startup self-detection.
2, due to when CD-ROM drive initially powers on, one default sign is write to CD-ROM drive firmware, make after the startup self-detection of CD-ROM drive each time time, only need read this default sign, control motor only rotates once in whole CD-ROM drive startup self-detection process, so, effectively solve the longer technical matters of on time existing in prior art, and then accelerated the starting up speed of electronic equipment.
While 3, initially powering on due to CD-ROM drive, one default sign is write to CD-ROM drive firmware, make after the startup self-detection of CD-ROM drive each time time, only need read this default sign, control motor only rotates once in whole CD-ROM drive startup self-detection process, so effectively solved the excessive technical matters of noise in prior art, and then reduced the noise that CD-ROM drive startup self-detection produces.
Although described the preferred embodiments of the present invention, once those skilled in the art obtain the basic creative concept of cicada, can make other change and modification to these embodiment.So claims are intended to all changes and the modification that are interpreted as comprising preferred embodiment and fall into the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.

Claims (13)

1. the method for a CD-ROM drive startup self-detection, be applied to a Basic Input or Output System (BIOS), described Basic Input or Output System (BIOS) is arranged on the electronic equipment that comprises an operating system, described electronic equipment comprises a CD-ROM drive, described CD-ROM drive comprises a CD-ROM drive firmware, and a motor, it is characterized in that, described method comprises:
Read a default sign of described CD-ROM drive firmware, wherein, the described default sign that shows that described motor need not self check that is designated;
After reading described default sign, control described motor power down;
After described os starting, control described motor and power on;
The first detection instruction that acquisition is sent by described operating system, and described the first detection instruction is sent to described CD-ROM drive;
After described CD-ROM drive is carried out described the first detection instruction, obtain the first confirmation being sent by described CD-ROM drive, and described the first confirmation is sent to described operating system, wherein, described the first confirmation is for showing the normal information of described machine operation.
2. the method for claim 1, is characterized in that, described default sign specifically obtains by following steps:
Control the start that initially powers on of described CD-ROM drive;
Read the self check state of described CD-ROM drive, wherein, described self check state is the information that shows that described CD-ROM drive self check completes;
Based on described self check state, described default sign is write to described CD-ROM drive firmware.
3. method as claimed in claim 2, is characterized in that, before the described self check state that reads described CD-ROM drive, described self check state specifically generates by following steps:
At described CD-ROM drive, initially power on after start, described CD-ROM drive reads described CD-ROM drive firmware, generates the first steering order;
Described CD-ROM drive is carried out described the first steering order, controls described motor rotation;
After described motor completes rotation, described CD-ROM drive generates described self check state.
4. method as claimed in claim 2, is characterized in that, described based on described self check state, and described default sign is write to described CD-ROM drive firmware, specifically comprises:
Obtain the first message that described CD-ROM drive sends, wherein, described the first message is to show that described motor is about to the message of power down;
Based on described self check state, described default sign is write to described CD-ROM drive firmware;
After described default sign writes CD-ROM drive firmware completely, generate the second steering order;
Carry out described the second steering order, control described motor power down.
5. the method for claim 1, is characterized in that, before a described default sign that reads described CD-ROM drive firmware, described method also comprises:
Controlling described motor powers on;
Described CD-ROM drive reads the described default sign of described CD-ROM drive firmware;
When described CD-ROM drive is read described default sign, keep described motor to remain static.
6. the method for claim 1, is characterized in that, described after reading described default sign, controls described motor power down, specifically comprises:
After reading described default sign, obtain the second message of being sent by described CD-ROM drive, wherein, described the second message is to show that described motor is about to the message of power down;
According to described the second message, generate the 3rd steering order;
Carry out described the 3rd steering order, control described motor power down.
7. an electronic equipment, is mounted with an operating system on described electronic equipment, it is characterized in that, described electronic equipment comprises:
Circuit board;
CD-ROM drive, is connected with described circuit board, and wherein, described CD-ROM drive comprises CD-ROM drive firmware, and a motor;
BIOS chip, is arranged on described circuit board, is connected, for reading a default sign of described CD-ROM drive firmware with described CD-ROM drive; After reading described default sign, control described motor power down, wherein, the described default sign that shows that described motor need not self check that is designated; After described os starting, control described motor and power on; The first detection instruction that acquisition is sent by described operating system, and described the first detection instruction is sent to described CD-ROM drive; After described CD-ROM drive is carried out described the first detection instruction, obtain the first confirmation being sent by described CD-ROM drive, and described the first confirmation is sent to described operating system, wherein, described the first confirmation is for showing the normal information of described machine operation.
8. electronic equipment as claimed in claim 7, is characterized in that, described BIOS chip comprises:
First reads chip, for reading a default sign of described CD-ROM drive firmware;
The first control chip, for after reading described default sign, controls described motor power down, wherein, and the described default sign that shows that described motor need not self check that is designated;
The second control chip, for after described os starting, controls described motor and powers on;
The first transmission chip, for obtaining the first detection instruction being sent by described operating system, and sends to described CD-ROM drive by described the first detection instruction;
The second transmission chip, for carry out described the first detection instruction at described CD-ROM drive after, obtain the first confirmation being sent by described CD-ROM drive, and described the first confirmation is sent to described operating system, wherein, described the first confirmation is for showing the normal information of described machine operation.
9. electronic equipment as claimed in claim 8, is characterized in that, described BIOS chip also comprises:
The 3rd control chip, for controlling the start that initially powers on of described CD-ROM drive; Also for controlling the start that powers on each time of described CD-ROM drive;
Second reads chip, and for reading the self check state of described CD-ROM drive, wherein, described self check state is the information that shows that described CD-ROM drive self check completes;
First writes chip, for based on described self check state, described default sign is write to described CD-ROM drive firmware.
10. electronic equipment as claimed in claim 7, is characterized in that, described CD-ROM drive comprises:
Third reading is got chip, for initially powering at described CD-ROM drive after start, reads described CD-ROM drive firmware, generates the first steering order;
The 4th control chip, for carrying out described the first steering order, controls described motor rotation;
The first generating chip, for after described motor completes rotation, described CD-ROM drive generates described self check state.
11. electronic equipments as claimed in claim 8, is characterized in that, described first writes chip specifically comprises:
The first son transmission chip, the first message sending for obtaining described CD-ROM drive, wherein, described the first message is to show that described motor is about to the message of power down;
The first son writes chip, for based on described self check state, described default sign is write to described CD-ROM drive firmware;
The first sub-generation unit, for after described default sign writes CD-ROM drive firmware completely, generates the second steering order;
The first sub-control chip, for carrying out described the second steering order, controls described motor power down.
12. electronic equipments as claimed in claim 10, is characterized in that, described CD-ROM drive also comprises:
The 4th reads chip, for reading the described default sign of described CD-ROM drive firmware;
The second generating chip, for when described CD-ROM drive is read described default sign, controls described motor and keeps stationary state.
13. electronic equipments as claimed in claim 7, is characterized in that, described the first control chip specifically comprises:
The second son transmission chip, for after reading described default sign, obtains the second message of being sent by described CD-ROM drive, and wherein, described the second message is to show that described motor is about to the message of power down;
The first sub-generating chip, for according to described the second message, generates the 3rd steering order;
The second sub-control chip, for carrying out described the 3rd steering order, controls described motor power down.
CN201210280822.0A 2012-08-08 2012-08-08 A kind of method of CD-ROM drive startup self-detection and electronic equipment Active CN103577286B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210280822.0A CN103577286B (en) 2012-08-08 2012-08-08 A kind of method of CD-ROM drive startup self-detection and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210280822.0A CN103577286B (en) 2012-08-08 2012-08-08 A kind of method of CD-ROM drive startup self-detection and electronic equipment

Publications (2)

Publication Number Publication Date
CN103577286A true CN103577286A (en) 2014-02-12
CN103577286B CN103577286B (en) 2017-03-01

Family

ID=50049118

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210280822.0A Active CN103577286B (en) 2012-08-08 2012-08-08 A kind of method of CD-ROM drive startup self-detection and electronic equipment

Country Status (1)

Country Link
CN (1) CN103577286B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107247596A (en) * 2017-06-22 2017-10-13 联想(北京)有限公司 Starting-up method, device and electronic equipment
CN110286946A (en) * 2019-06-25 2019-09-27 合肥联宝信息技术有限公司 Control method, controller and the computer-readable medium of system starting

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6098158A (en) * 1997-12-18 2000-08-01 International Business Machines Corporation Software-enabled fast boot
CN1261868C (en) * 2001-08-22 2006-06-28 联想(北京)有限公司 Method of rapid computer start-up

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6098158A (en) * 1997-12-18 2000-08-01 International Business Machines Corporation Software-enabled fast boot
CN1261868C (en) * 2001-08-22 2006-06-28 联想(北京)有限公司 Method of rapid computer start-up

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107247596A (en) * 2017-06-22 2017-10-13 联想(北京)有限公司 Starting-up method, device and electronic equipment
CN107247596B (en) * 2017-06-22 2021-11-16 联想(北京)有限公司 Starting method and device and electronic equipment
CN110286946A (en) * 2019-06-25 2019-09-27 合肥联宝信息技术有限公司 Control method, controller and the computer-readable medium of system starting

Also Published As

Publication number Publication date
CN103577286B (en) 2017-03-01

Similar Documents

Publication Publication Date Title
JP4164073B2 (en) Computer with multi-function power button and related method
EP2581826B1 (en) Method and device for cold starting android mobile terminal
US8892935B2 (en) Dynamic bus clock rate adjusting method and device
US8266359B2 (en) Method of connecting mass storage device
CN103970560A (en) Starting method and electronic device
US20100088547A1 (en) Computer motherboard and power-on self-test method thereof
JP4404843B2 (en) Multimedia Play Instant Play Method from Instant Key Standby State
JP2007035010A (en) Method for initializing instance and executing computer program by loading operation system core program from high-speed data access memory
CN113703799A (en) Computing device and BIOS updating method and medium thereof
JP2009524126A (en) Mobile computing device and data packet receiving method thereof
CN111475215A (en) Server starting method, device and related equipment
JP2010262621A (en) Computer system with power supply control, and power supply control method
CN108228109B (en) Method and device for protecting data of electronic equipment and computer storage medium
CN111930659B (en) Information processing method, electronic equipment and computer storage medium
CN103577286A (en) Method for power-on self-test on CD (Compact Disc) driver and electronic equipment
CN101436097B (en) Electronic device and wake-up method thereof
US7568091B2 (en) Computer platform system control unit data programming control method and system
CN103678018A (en) Method and device for recovering data
CN103870295A (en) Switching method and electronic device
US8954717B2 (en) System capable of booting through a universal serial bus device and method thereof
CN105159773A (en) Information processing method and electronic equipment
JP2009205277A (en) Controller for machine tool
CN103677881A (en) Method for controlling electronic device, and electronic device
US7937537B2 (en) Memory switching data processing system
CN107590087B (en) Electronic equipment and hard disk access method of electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant