CN103810430B - The method and electronic equipment of a kind of control electronics - Google Patents
The method and electronic equipment of a kind of control electronics Download PDFInfo
- Publication number
- CN103810430B CN103810430B CN201210455238.4A CN201210455238A CN103810430B CN 103810430 B CN103810430 B CN 103810430B CN 201210455238 A CN201210455238 A CN 201210455238A CN 103810430 B CN103810430 B CN 103810430B
- Authority
- CN
- China
- Prior art keywords
- electronic equipment
- uefi
- firmware
- primary
- operating system
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/50—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
- G06F21/57—Certifying or maintaining trusted computer platforms, e.g. secure boots or power-downs, version controls, system software checks, secure updates or assessing vulnerabilities
- G06F21/575—Secure boot
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The present invention provides a kind of method and electronic equipment of control electronics.This method is applied in the electronic equipment of a firmware, the firmware has clean boot function and primary UEFI environmental functionals, when the clean boot function and primary UEFI environmental functionals are opened, the first operating system can be installed by the firmware, methods described includes:During the electronic equipment loads first operating system by firmware start, detect whether the electronic equipment meets a predetermined condition;When the electronic equipment meets the predetermined condition, disable the clean boot function in the firmware and primary UEFI environmental functionals, enable the electronic equipment that the second operating system is installed, wherein, second operating system is different from first operating system.
Description
Technical field
The present invention relates to the method and electronic equipment of electronic technology field, more particularly to a kind of control electronics.
Background technology
With the development of electronic technology, increasing operating system and firmware are developed, for example, just sending out recently
The Windows8 systems of cloth, it is exactly the clean boot function in requirement firmware that Windows8, which has a feature,(Secure Boot)
With primary UEFI environmental functionals(Native Unified Extensible Firmware Interface;That locally unifies can
Extend firmware interface), primary UEFI environment representations without legacy equipment support module pure UEFI environment;Further, such as
Fruit electronic equipment is SSD(Solid State Disk;Solid state hard disc)Type, also require to open the quick startup functions of 2s, still
When these functions are all opened, following technical problem can be brought:
First, because the unlatching of clean boot function and primary UEFI environmental functionals, it is mounted with that such as Windows8 is operated
The electronic equipment of system cannot be from tradition(legacy)The optical disk start-up of operating system simultaneously resets system, i.e., can not install for example
Windows7/XP/Linux systems;Further, because the unlatching of the two functions, DOS systems can not be started to.
Second, because the unlatching of the quick startup functions of 2s, electronic equipment cannot be introduced into the setting of firmware in normal boot-strap
Interface, so the setting of firmware can not be changed.
And solution of the prior art is exactly when the first time start after electronic equipment breaks alternating current, 2s is quick
Startup function can be closed, so so can be by the method for routine, such as firmware is entered by keyboard interface is set, when entering
After entering firmware setting interface, user can be with manual-lock clean boot function and primary UEFI environmental functionals, so, when electronics is set
For when starting next time, for these three functions with regard to being all closed, user's can installs other as prior art
Operating system.
However, the present inventor has found during the present invention is realized, the method operation of prior art is very troublesome, because
The alternating current that first breaks is first had to, then to enter firmware and set interface to set manually;These other operations are all more professional, and one
As domestic consumer be difficult grasp, so in-convenience in use.Therefore, method operation of the prior art is not easy, is not easy to popularize
Promote.
The content of the invention
The embodiment of the present invention provides a kind of method and electronic equipment of control electronics, to solve to deposit in the prior art
Closed safe startup function, the method for primary UEFI environmental functionals operate not easy technical problem.
One aspect of the present invention provides a kind of method of control electronics, applied to the electronic equipment with a firmware
In, the firmware has clean boot function and primary UEFI environmental functionals, when the clean boot function and primary UEFI rings
When border function is opened, the first operating system can be installed by the firmware, methods described includes:Pass through in the electronic equipment
During the firmware start loads first operating system, detect whether the electronic equipment meets a predetermined condition;
When the electronic equipment meets the predetermined condition, the clean boot function in the firmware and primary UEFI environment work(are disabled
Can so that the electronic equipment can install the second operating system, wherein, second operating system is different from the described first behaviour
Make system.
Optionally, detect whether the electronic equipment meets a predetermined condition, be specially:When passing through the firmware loads institute
State the first operating system and second operating system fail when, detect the clean boot function and primary UEFI environment work(
The on off state of energy;Wherein, when the clean boot function and primary UEFI environmental functionals are in opening, institute is represented
State electronic equipment and meet the predetermined condition.
Optionally, the electronic equipment also includes a switching key, the clean boot function of disabling in the firmware
With primary UEFI environmental functionals, specifically include:Opened when detecting that the clean boot function and primary UEFI environmental functionals are in
When opening state, a disabling is received by the switching key and instructed;Based on the disabling instruction, the safety in the firmware is disabled
Startup function and primary UEFI environmental functionals.
Optionally, the electronic equipment also includes a timer, clean boot function in the disabling firmware and
Primary UEFI environmental functionals, are specifically included:Opened when detecting that the clean boot function and primary UEFI environmental functionals are in
During state, start the timer;When the timer more than a scheduled time, the disabling instruction of generation one;Based on institute
Disabling instruction is stated, disables the clean boot function in the firmware and primary UEFI environmental functionals.
Optionally, the electronic equipment is connected with a memory cell, detects whether the electronic equipment meets a predetermined bar
Part, it is specially:When the firmware starts the memory cell, guidance field and the UEFI guiding journeys of the memory cell are detected
Sequence;Wherein, when the guidance field of the memory cell is the guidance field of second operating system and the UEFI is not present
During bootstrap, represent that the electronic equipment meets the predetermined condition.
Optionally, the electronic equipment also includes a switching key, the clean boot function of disabling in the firmware
With primary UEFI environmental functionals, specifically include:When the guidance field for detecting the memory cell is second operating system
Guidance field and when the UEFI bootstrap is not present, pass through the switching key and receive a disabling instruction;Based on described
Disabling instruction, disables the clean boot function in the firmware and primary UEFI environmental functionals.
Optionally, the electronic equipment also includes a timer, clean boot function in the disabling firmware and
Primary UEFI environmental functionals, are specifically included:When the guidance field for detecting the memory cell is second operating system
Guidance field and when the UEFI bootstrap is not present, starts the timer;It is predetermined more than one when the timer
During the time, the disabling instruction of generation one;Based on the disabling instruction, the clean boot function in the firmware and primary UEFI are disabled
Environmental functional.
Optionally, detect whether the electronic equipment meets a predetermined condition, specifically include:Detect the shape of a flag bit
State;When the state of the flag bit is first state, judge whether to receive a scheduled operation;Wherein, it is described when receiving
During scheduled operation, represent that the electronic equipment meets the predetermined condition.
Optionally, before the state of one flag bit of the detection, methods described also includes:By described in button change
The state of flag bit.
Another aspect of the present invention additionally provides a kind of electronic equipment, including:Circuit board;Firmware chip, it is arranged at the electricity
On the plate of road, the firmware chip has clean boot function and primary UEFI environmental functionals, when the clean boot function and original
When raw UEFI environmental functionals are opened, the first operating system can be installed by the firmware chip;Process chip, it is arranged at described
On circuit board, during loading first operating system by firmware chip start in the electronic equipment,
Detect whether the electronic equipment meets a predetermined condition;And when the electronic equipment meets the predetermined condition, disable institute
State the clean boot function in firmware chip and primary UEFI environmental functionals so that the electronic equipment can install the second operation
System, wherein, second operating system is different from first operating system.
Optionally, the process chip is specifically used for when by firmware chip loading first operating system and institute
When stating the second operating system and failing, the on off state of the clean boot function and primary UEFI environmental functionals is detected;Wherein,
When the clean boot function and primary UEFI environmental functionals are in opening, represent described in the electronic equipment satisfaction
Predetermined condition.
Optionally, the electronic equipment also includes a switching key, when detecting the clean boot function and primary
When UEFI environmental functionals are in opening, a disabling is received by the switching key and instructed;The process chip is specifically used
In based on the disabling instruction, the clean boot function in the firmware chip and primary UEFI environmental functionals are disabled.
Optionally, the electronic equipment also includes a timer, is connected to the process chip, when detecting the safety
When startup function and primary UEFI environmental functionals are in opening, the process chip is specifically additionally operable to start the timing
Device;When the timer more than a scheduled time, the disabling instruction of generation one;The process chip is specifically used for being based on institute
Disabling instruction is stated, disables the clean boot function in the firmware chip and primary UEFI environmental functionals.
Optionally, the electronic equipment also includes a memory cell, when the firmware chip starts the memory cell,
The process chip is specifically used for guidance field and the UEFI bootstrap for detecting the memory cell;Wherein, when the storage
The guidance field of unit for second operating system guidance field and when the UEFI bootstrap is not present, described in expression
Electronic equipment meets the predetermined condition.
Optionally, the electronic equipment also includes a status-pin, and the process chip is specifically used for detecting the state
The state of pin;When the state of the status-pin is first state, judge whether to receive a scheduled operation;Wherein, when
When receiving the scheduled operation, represent that the electronic equipment meets the predetermined condition.
Optionally, the electronic equipment also includes a button, is arranged on the shell of the electronic equipment, with the state
Pin is connected, and the state of the status-pin can be changed by the button.
The one or more technical schemes provided in the embodiment of the present invention, have at least the following technical effects or advantages:
During one embodiment of the invention in electronic equipment by starting shooting the first operating system of loading by firmware, detection
Whether electronic equipment meets a predetermined condition to determine whether to closed safe startup function and primary UEFI environmental functionals, when
When electronic equipment meets the predetermined condition, the clean boot function in firmware is just disabled, so, electronic equipment can just install the
Two operating systems.Such as electronic equipment wants installation Windows7 operating systems, but because clean boot function and primary
UEFI environmental functionals are opened and can not but installed, and can only load Windows8 operating systems, it is possible to using in the present embodiment
Method implement, first start shooting, in start process, just detect whether electronic equipment meets a predetermined condition, if met
, then disabled with regard to being about to clean boot function and primary UEFI environmental functionals certainly, thus can installation Windows7
Operating system.Therefore, the method in the present embodiment need not break the alternating current of electronic equipment, it is not required that into firmware
Set interface to go manual-lock clean boot function and primary UEFI environmental functionals, so operation is very easy, is easy to promote and answers
With.
Brief description of the drawings
Fig. 1 is the flow chart of the method for the control electronics in one embodiment of the invention;
Fig. 2 is the schematic diagram of the control electronics in one embodiment of the invention;
Fig. 3 is the frame diagram of the electronic equipment in one embodiment of the invention.
Embodiment
The embodiment of the present invention provides a kind of method and electronic equipment of control electronics, to solve to deposit in the prior art
Closed safe startup function, the method for primary UEFI environmental functionals operate not easy technical problem.
Technical scheme in the embodiment of the present invention is the above-mentioned technical problem of solution, and general thought is as follows:
During the first operating system of loading is started shooting by firmware in electronic equipment, whether detection electronic equipment is full
One predetermined condition of foot determines whether to closed safe startup function and primary UEFI environmental functionals, and when electronic equipment, meet should
During predetermined condition, the clean boot function in firmware is just disabled, so, electronic equipment can just install the second operating system.Example
Windows7 operating systems are installed as electronic equipment is desired, but because clean boot function and primary UEFI environmental functionals are opened
But it can not install, and Windows8 operating systems can only be loaded, it is possible to be implemented using the method in the present embodiment, first opened
Machine, in start process, just detect whether electronic equipment meets a predetermined condition, if met, then with regard to being about to pacify certainly
Full startup function and primary UEFI environmental functionals disable, thus can installation Windows7 operating systems.Therefore, originally
Method in embodiment need not break the alternating current of electronic equipment, it is not required that set interface to remove manual-lock into firmware
Clean boot function and primary UEFI environmental functionals, so operation is very easy, it is easy to utilize.
In order to be better understood from above-mentioned technical proposal, below in conjunction with Figure of description and specific embodiment to upper
Technical scheme is stated to be described in detail.
The present embodiment provides a kind of method of control electronics, and applied in the electronic equipment with a firmware, this is solid
Part has clean boot function and primary UEFI environmental functionals, when clean boot function and the unlatching of primary UEFI environmental functionals,
First operating system can be installed by firmware, wherein, electronic equipment is, for example, notebook computer, and desktop computer, firmware is for example
For UEFI, the first operating system is, for example, Windows8 operating systems.Fig. 1 is refer to, this method includes:
Step 101:During electronic equipment starts shooting the first operating system of loading by firmware, detection electronic equipment is
One predetermined condition of no satisfaction;
Step 102:When electronic equipment meets predetermined condition, the clean boot function in firmware and primary UEFI rings are disabled
Border function so that electronic equipment can install the second operating system, wherein, the second operating system is different from the first operating system.
Wherein, the second operating system is, for example, Windows7/XP/Linux, it is of course also possible to be other operating systems.
Next the implementation process of this method is will be described in detail, first, in a step 101, such as user presses electronics
Power on button in equipment, electronic equipment begin to enter boot program, are responsible for starting shooting and are loaded operating system by firmware,
Can be at the beginning of firmware during electronic equipment loads first operating system by firmware start in the present embodiment
Beginningization is completed, and at the time of preparing the first operating system of guiding or is loading the first operating system and the second operating system
At the time of after failure or at the time of firmware initializes electronic equipment memory cell, naturally it is also possible to be at other
At the time of can detecting;Then in these cases, whether detection electronic equipment meets a predetermined condition, wherein when different
The content for carving detection has difference, and predetermined condition also has difference in itself, and this will describe in detail later.
Then, when electronic equipment meets predetermined condition, step 102 is carried out, that is, disables the clean boot work(in firmware
Can be with primary UEFI environmental functionals so that electronic equipment can install the second operating system.
In the first embodiment, step 101 is equal specifically by the operating system of firmware loads first and the second operating system
During failure, that is, when starting the entrances of all operating systems and all failing, just detect clean boot function and primary UEFI environmental functionals
On off state, if the result of detection when showing that clean boot function and primary UEFI environmental functionals are in opening,
With regard to explanation can not start-up operation system be due to caused by the two functions are opened, then at this moment just explanation electronic equipment is full
The foot predetermined condition, then can self-closing safety startup function and primary UEFI environmental functionals, then open again again
Dynamic electronic equipment, then electronic equipment can starts the second operating system by firmware.
In specific implementation process, a module for being switched fast firmware setting, the module can be added in firmware
Failure information can be shown to user, and a shortcut can be provided so that user can be with the setting of one key switching firmware.
For example, when the result of detection shows clean boot function and primary UEFI environmental functionals are in opening, can pass through
The display unit of electronic equipment, which is shown, " does not find any operating system.By any key repeated priming sequence.Or pressing ' L '
Key downloads optimal design-aside to support legacy operating system and restarting computer " such prompt, then user sees so
Prompting after, it is possible to press " L " key on keyboard, then electronic equipment generation disabling instruction, self-closing safety start work(
Further, electronic equipment can be restarted after closing with primary UEFI environmental functionals.In another embodiment, it may not be and pass through
Some button on keyboard, but a button being arranged on the shell of electronic equipment, as long as user is seeing similar carry
After showing, it is possible to press the button on shell, then the instruction of electronic equipment generation disabling, disables clean boot function and primary
UEFI environmental functionals.In other embodiments, can be with as this kind of switching key of the button on above-mentioned " L " key and shell
It is other forms, the application is not construed as limiting.
Certainly, can also be without using above-mentioned switching key in practice, but a timing is set in electronic equipment
Device, when the result of detection shows clean boot function and primary UEFI environmental functionals are in opening, start timer
Start timing, while prompt message described above can also be shown, at the same can also show will after the scheduled time, such as 5s from
Dynamic closed safe startup function and primary UEFI environmental functionals, then when when timer to 5s, a disabling will be generated and referred to
Order, disabling instruction is may then based on, disable the clean boot function in firmware and primary UEFI environmental functionals, further close
Electronic equipment can be restarted after closing.
Pass through the method in the present embodiment, it is not necessary to which first break an alternating current, and user can not enter the situation of firmware
Under, it is possible to fast setting clean boot function and primary UEFI environmental functionals, electronic equipment just can be just when starting next time
The second operating system of often loading or installation, thus it is easy to operate, it is user-friendly.
The result that detection is described above is clean boot function and primary UEFI environmental functionals are the states opened, and is entering
In the embodiment of one step, when the result of detection is clean boot function and primary UEFI environmental functionals are the states closed, that
Represent in current electronic equipment really without the operating system that can start, then can show and " not find any operation
System.By any key repeated priming sequence." as prompt message, then user can be continued by any key.
In a second embodiment, electronic equipment is connected with a memory cell, such as CD, and step 101 is specially in firmware
When starting the memory cell, guidance field and the UEFI bootstrap of the memory cell are detected, when the boot section of the memory cell
Domain for the second operating system guidance field and when UEFI bootstrap is not present, expression electronic equipment meets the predetermined condition,
So can performs step 102.
Specifically, because while under the first operating system schema, i.e. clean boot function and primary UEFI environment work(
Under the pattern that can be opened, firmware can not be from traditional optical disk start-up, but firmware but still has the whole CD content of read-write
Ability, it is possible to by firmware when detection CD is started, detect guidance field and the UEFI loader of CD
(UEFI bootstrap)If CD exist it is traditional, i.e., the boot section of the second operating system simultaneously again in the absence of UEFI guide
Program, then it is traditional CD to represent the CD, then at this moment mean that electronic equipment meets the predetermined condition, can hold
Row step 102, clean boot function and primary UEFI environmental functionals are closed, when can make it that next time starts, firmware can be from
CD guides and completes to install the function of the second operating system.
In specific implementation process, it can also can add one in firmware as in first embodiment and be switched fast
The module of firmware setting, the module can be with display reminding information to user, and can provide a shortcut so that Yong Huke
With the setting of one key switching firmware.Such as when the guidance field of the memory cell is the guidance field of the second operating system and is not deposited
In UEFI bootstrap, it can be shown on the display unit of electronic equipment and " find a conventional optical disc, if to enable biography
System is supported and again from the optical disk start-up computerPrompt message as ' being '/'No' ", when user presses " Y " on keyboard
After key, electronic equipment generation disabling instructs, and self-closing safety startup function and primary UEFI environmental functionals, further, closes
Electronic equipment is restarted after closing.In another embodiment, may not be by some button on keyboard, but one is arranged on
Button on the shell of electronic equipment, as long as user is after similar prompting is seen, it is possible to press the button on shell, then
Electronic equipment generation disabling instruction, disables clean boot function and primary UEFI environmental functionals.In other embodiments, as above-mentioned
" Y " key and shell on this kind of switching key of button, can also be other forms, the application is not construed as limiting.
Certainly, can also be without using above-mentioned switching key in practice, but a timing is set in electronic equipment
Device, when for the guidance field of the second operating system and UEFI bootstrap is not present in the guidance field for detecting the memory cell
When, start timer and start timing, while prompt message described above can also be shown, while can also show will be in pre- timing
Between, such as self-closing safety startup function and primary UEFI environmental functionals after 5s, then, will when when timer to 5s
The disabling instruction of generation one, may then based on disabling instruction, disables the clean boot function in firmware and primary UEFI environment
Function, electronic equipment can be restarted after being further turned off.
Pass through the method in the present embodiment, it is not necessary to which first break an alternating current, and user can not enter the situation of firmware
Under, it is possible to fast setting clean boot function and primary UEFI environmental functionals, electronic equipment just can be just when starting next time
The second operating system of often loading or installation, thus it is easy to operate, it is user-friendly.
In the third embodiment, a flag bit, such as GPIO are set in the electronic device(General Purpose
Input Output;Universal input exports)Status-pin, then when performing step 101, just first detect the shape of the flag
State, when the state of the flag bit is first state, judge whether to receive a scheduled operation, wherein, it is predetermined when receiving this
During operation, represent that electronic equipment meets the predetermined condition.
In specific implementation process, such as in electronic equipment start process, the state of the GPIO status-pins is detected, when
When the level of the GPIO status-pins is high level, a menu is just shown on the display interface of electronic equipment, as shown in Fig. 2
Menu 10 is the multi-functional interface of an integration, and when the ejection of menu 10 comes, current guiding action just temporarily ceases, so dish
Single 10 are properly termed as " starting by maintenance mode ".There is selection option to be available for user to select on menu 10, such as " continuing to guide " choosing
, " selection guiding entrance/equipment " option, " recovery system " option, and " entering firmware menu setting " option, certainly, at it
In his embodiment, the selection of other options for user can also be integrated, the application is not restricted.
Wherein " continue to guide " option to represent that firmware continues to guide operating system by normal, so when user have selected this
During option, firmware just does nothing, and is to continue with normally guiding the first operating system;" entering firmware menu setting " option
Represent link is the setting page of firmware, and when user selects this option, firmware is just loaded into the setting page.
And when user opens " selection guiding entrance/equipment " option, mean that and have received the scheduled operation, and then represent
Electronic equipment meets the predetermined condition, so being carried out step 102, clean boot function and primary UEFI environmental functionals are closed
Close.In a further embodiment, after step 102, the selection menu of traditional guiding entrance/equipment is also shown, this
When user can be selected in this menu from CD-ROM drive, USB device or other equipment start because now clean boot function
Had been off with primary UEFI environmental functionals, so user can normally start the operating systems such as Windows7/XP, i.e.,
Two operating systems.
Equally, when user selects to start the option of " recovery system ", also illustrate that and have received the scheduled operation, and then also table
Show that electronic equipment meets the predetermined condition, so at this moment performing step 102, closed safe startup function and primary UEFI environment work(
Can, recovery function is then performed again.Because the One-key recovery on electronic equipment is probably traditional version, i.e. the second operating system,
It could also be possible that UEFI versions, i.e. the first operating system, therefore only close primary UEFI environmental functionals and just can guarantee that while prop up
Hold, even in addition, UEFI versions, also not necessarily there is clean boot signature, so also wanting closed safe startup function.
Pass through the method in the present embodiment, it is not necessary to which first break an alternating current, and user is also without into firmware, just
Can be with fast setting clean boot function and primary UEFI environmental functionals, so operating very easy, convenient use.
Further, it is possible to change the state of the flag bit by a button, such as the button is external with the machine of electronic equipment
On shell, it is connected with GPIO status-pins, often presses once, the level of GPIO status-pins will changes;Either basis
The time length of pressing changes, and can also be changed according to compression number, and those skilled in the art can be according to being actually needed
Go to set specific form.
In other embodiments, the flag bit can also be status register, naturally it is also possible to pass through external button connects
Change the value of status register on to circuit board, certainly, those skilled in the art can also use other flag bit forms
And pushbutton type, the application are not restricted.
By this external button, user's can very easily controls the state of flag bit, so further facilitating
The operation of user.
In a further embodiment, suggestion device, such as LED can also be set, to prompt flag bit current shape
State, it is easy to user to be apparent from current state.
Various embodiments above can individually be implemented, and can also be combined with each other implementation.
Based on same inventive concept, one embodiment of the invention also provides a kind of electronic equipment, refer to Fig. 3, and the electronics is set
It is standby to include:Circuit board 20;Firmware chip 30, it is arranged on circuit board 20, firmware chip 30 has clean boot function and primary
UEFI environmental functionals, when clean boot function and primary UEFI environmental functionals are opened, the can be installed by firmware chip 30
One operating system;Process chip 40, it is arranged on circuit board 20, for passing through the start of firmware chip 30 loading the in electronic equipment
During one operating system, whether detection electronic equipment meets a predetermined condition;And when electronic equipment meets predetermined condition,
Disable the clean boot function in firmware chip 30 and primary UEFI environmental functionals so that electronic equipment can install the second operation
System, wherein, the second operating system is different from the first operating system.
In one embodiment, process chip 40 is specifically used for when by loading the first operating system and second of firmware chip 30
When operating system fails, the on off state of clean boot function and primary UEFI environmental functionals is detected;Wherein, clean boot is worked as
When function and primary UEFI environmental functionals are in opening, represent that electronic equipment meets the predetermined condition.
Further, electronic equipment also includes a switching key, when detecting clean boot function and primary UEFI environment work(
When can be in opening, a disabling is received by switching key and instructed;Process chip 40 is specifically used for, based on disabling instruction, prohibiting
With the clean boot function in firmware chip 30 and primary UEFI environmental functionals.
In another embodiment, electronic equipment also includes a timer, is connected to process chip 40, when detecting to open safely
When dynamic function and primary UEFI environmental functionals are in opening, process chip 40 is specifically additionally operable to start timer;Work as timing
When device timing is more than a scheduled time, the disabling instruction of generation one;Process chip 40 is specifically used for, based on disabling instruction, disabling firmware
Clean boot function and primary UEFI environmental functionals in chip 30.
In another embodiment, electronic equipment also includes a memory cell, when firmware chip 30 starts memory cell, place
Manage guidance field and UEFI bootstrap that chip 40 is specifically used for detection memory cell;Wherein, when the boot section of memory cell
Domain for the second operating system guidance field and when UEFI bootstrap is not present, expression electronic equipment meets predetermined condition.
In another embodiment, electronic equipment also includes a status-pin, and process chip 40 is specifically used for detection state pipe
The state of pin;When the state of status-pin is first state, judge whether to receive a scheduled operation;Wherein, when receiving
During scheduled operation, represent that electronic equipment meets predetermined condition.
Further, electronic equipment also includes a button, is arranged on the shell of electronic equipment, is connected with status-pin, leads to
The state of status-pin can be changed by crossing button.
Various change mode and instantiation in the method for control electronics in the embodiment of earlier figures 1 is equally applicable
In the electronic equipment of the present embodiment, by the detailed description of the foregoing method to control electronics, those skilled in the art can
To be apparent from the implementation of electronic equipment in the present embodiment, thus it is succinct for specification, it will not be described in detail herein.
The one or more technical schemes provided in the embodiment of the present invention, have at least the following technical effects or advantages:
During one embodiment of the invention in electronic equipment by starting shooting the first operating system of loading by firmware, detection
Whether electronic equipment meets a predetermined condition to determine whether to closed safe startup function and primary UEFI environmental functionals, when
When electronic equipment meets the predetermined condition, the clean boot function in firmware is just disabled, so, electronic equipment can just install the
Two operating systems.Such as electronic equipment wants installation Windows7 operating systems, but because clean boot function and primary
UEFI environmental functionals are opened and can not but installed, and can only load Windows8 operating systems, it is possible to using in the present embodiment
Method implement, first start shooting, in start process, just detect whether electronic equipment meets a predetermined condition, if met
, then disabled with regard to being about to clean boot function and primary UEFI environmental functionals certainly, thus can installation Windows7
Operating system.Therefore, the method in the present embodiment need not break the alternating current of electronic equipment, it is not required that into firmware
Set interface to go manual-lock clean boot function and primary UEFI environmental functionals, so operation is very easy, is easy to promote and answers
With.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more
Usable storage medium(Including but not limited to magnetic disk storage and optical memory etc.)The shape of the computer program product of upper implementation
Formula.
The present invention is with reference to method according to embodiments of the present invention, equipment(System)And the flow of computer program product
Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention
God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to comprising including these changes and modification.
Claims (16)
1. a kind of method of control electronics, applied in the electronic equipment with a firmware, there is the firmware safety to open
Dynamic function and primary UEFI environmental functionals, when the clean boot function and the unlatching of primary UEFI environmental functionals, by described
Firmware can install the first operating system, it is characterised in that methods described includes:
During the electronic equipment loads first operating system by firmware start, detect the electronics and set
It is standby whether to meet a predetermined condition;
When the electronic equipment meets the predetermined condition, the clean boot function in the firmware and primary UEFI rings are disabled
Border function so that the electronic equipment can install the second operating system, wherein, second operating system is different from described the
One operating system.
2. the method as described in claim 1, it is characterised in that detect whether the electronic equipment meets a predetermined condition, have
Body is:
When failing by the first operating system described in the firmware loads and second operating system, the safety is detected
The on off state of startup function and primary UEFI environmental functionals;Wherein, when the clean boot function and primary UEFI environment work(
When can be in opening, represent that the electronic equipment meets the predetermined condition.
3. method as claimed in claim 2, it is characterised in that the electronic equipment also includes a switching key, the disabling
Clean boot function and primary UEFI environmental functionals in the firmware, are specifically included:
When detecting that the clean boot function and primary UEFI environmental functionals are in opening, pass through the switching key
Receive a disabling instruction;
Based on the disabling instruction, the clean boot function in the firmware and primary UEFI environmental functionals are disabled.
4. method as claimed in claim 2, it is characterised in that the electronic equipment also includes a timer, the disabling institute
The clean boot function in firmware and primary UEFI environmental functionals are stated, is specifically included:
When detecting that the clean boot function and primary UEFI environmental functionals are in opening, start the timer;
When the timer more than a scheduled time, the disabling instruction of generation one;
Based on the disabling instruction, the clean boot function in the firmware and primary UEFI environmental functionals are disabled.
5. the method as described in claim 1, it is characterised in that the electronic equipment is connected with a memory cell, described in detection
Whether electronic equipment meets a predetermined condition, is specially:
When the firmware starts the memory cell, guidance field and the UEFI bootstrap of the memory cell are detected;Its
In, when the guidance field that the guidance field of the memory cell is second operating system and guide journey in the absence of the UEFI
During sequence, represent that the electronic equipment meets the predetermined condition.
6. method as claimed in claim 5, it is characterised in that the electronic equipment also includes a switching key, the disabling
Clean boot function and primary UEFI environmental functionals in the firmware, are specifically included:
When the guidance field for detecting the memory cell is for the guidance field of second operating system and in the absence of described
During UEFI bootstrap, a disabling is received by the switching key and instructed;
Based on the disabling instruction, the clean boot function in the firmware and primary UEFI environmental functionals are disabled.
7. method as claimed in claim 5, it is characterised in that the electronic equipment also includes a timer, the disabling institute
The clean boot function in firmware and primary UEFI environmental functionals are stated, is specifically included:
When the guidance field for detecting the memory cell is for the guidance field of second operating system and in the absence of described
During UEFI bootstrap, start the timer;
When the timer more than a scheduled time, the disabling instruction of generation one;
Based on the disabling instruction, the clean boot function in the firmware and primary UEFI environmental functionals are disabled.
8. the method as described in claim 1, it is characterised in that detect whether the electronic equipment meets a predetermined condition, have
Body includes:
Detect the state of a flag bit;
When the state of the flag bit is first state, judge whether to receive a scheduled operation;Wherein, it is described when receiving
During scheduled operation, represent that the electronic equipment meets the predetermined condition.
9. method as claimed in claim 8, it is characterised in that before the state of one flag bit of the detection, methods described
Also include:
The state of the flag bit is changed by a button.
10. a kind of electronic equipment, it is characterised in that including:
Circuit board;
Firmware chip, it is arranged on the circuit board, the firmware chip has clean boot function and primary UEFI environment work(
Can, when the clean boot function and the unlatching of primary UEFI environmental functionals, the first behaviour can be installed by the firmware chip
Make system;
Process chip, it is arranged on the circuit board, institute is loaded for being started shooting in the electronic equipment by the firmware chip
During stating the first operating system, detect whether the electronic equipment meets a predetermined condition;And when the electronic equipment is expired
During the foot predetermined condition, the clean boot function in the firmware chip and primary UEFI environmental functionals are disabled so that described
Electronic equipment can install the second operating system, wherein, second operating system is different from first operating system.
11. electronic equipment as claimed in claim 10, it is characterised in that the process chip is specifically used for when by described solid
When part chip loading first operating system and second operating system fail, the clean boot function and original are detected
The on off state of raw UEFI environmental functionals;Wherein, when the clean boot function and primary UEFI environmental functionals are in opening
During state, represent that the electronic equipment meets the predetermined condition.
12. electronic equipment as claimed in claim 11, it is characterised in that the electronic equipment also includes a switching key, when
When detecting that the clean boot function and primary UEFI environmental functionals are in opening, one is received by the switching key
Disabling instruction;
The process chip is specifically used for instructing based on the disabling, disables the clean boot function and original in the firmware chip
Raw UEFI environmental functionals.
13. electronic equipment as claimed in claim 11, it is characterised in that the electronic equipment also includes a timer, connection
In the process chip,
When detecting that the clean boot function and primary UEFI environmental functionals are in opening, the process chip is specific
It is additionally operable to start the timer;
When the timer more than a scheduled time, the disabling instruction of generation one;
The process chip is specifically used for instructing based on the disabling, disables clean boot function in the firmware and primary
UEFI environmental functionals.
14. electronic equipment as claimed in claim 10, it is characterised in that the electronic equipment also includes a memory cell,
When the firmware chip starts the memory cell, the process chip is specifically used for the guidance field for detecting the memory cell
With UEFI bootstrap;Wherein, when the memory cell guidance field for second operating system guidance field and not
When the UEFI bootstrap be present, represent that the electronic equipment meets the predetermined condition.
15. electronic equipment as claimed in claim 10, it is characterised in that the electronic equipment also includes a status-pin, institute
State the state that process chip is specifically used for detecting the status-pin;When the state of the status-pin is first state, sentence
It is disconnected whether to receive a scheduled operation;Wherein, when receiving the scheduled operation, it is described pre- to represent that the electronic equipment meets
Fixed condition.
16. electronic equipment as claimed in claim 15, it is characterised in that the electronic equipment also includes a button, is arranged on
On the shell of the electronic equipment, it is connected with the status-pin, the shape of the status-pin can be changed by the button
State.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210455238.4A CN103810430B (en) | 2012-11-13 | 2012-11-13 | The method and electronic equipment of a kind of control electronics |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210455238.4A CN103810430B (en) | 2012-11-13 | 2012-11-13 | The method and electronic equipment of a kind of control electronics |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103810430A CN103810430A (en) | 2014-05-21 |
CN103810430B true CN103810430B (en) | 2018-02-27 |
Family
ID=50707183
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210455238.4A Active CN103810430B (en) | 2012-11-13 | 2012-11-13 | The method and electronic equipment of a kind of control electronics |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103810430B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107656885A (en) * | 2016-07-26 | 2018-02-02 | 深圳市祈飞科技有限公司 | A kind of collocation method of the adaptive display interfaces of UEFI BIOS |
JP7182966B2 (en) * | 2018-09-12 | 2022-12-05 | キヤノン株式会社 | Information processing device, method for starting information processing device, and program |
CN110287686B (en) * | 2019-06-24 | 2021-06-15 | 深圳市同泰怡信息技术有限公司 | Safe starting authority management method and equipment for basic input output system |
JP7341784B2 (en) * | 2019-08-09 | 2023-09-11 | キオクシア株式会社 | storage device |
CN111831346B (en) * | 2020-07-20 | 2023-06-09 | 平安科技(深圳)有限公司 | Method and device for starting memory operating system for data acquisition |
CN112732284B (en) * | 2021-02-26 | 2024-06-18 | 联想(北京)有限公司 | Installation method, installation device, installation equipment and computer readable storage medium |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1308846C (en) * | 2002-12-16 | 2007-04-04 | 联想(北京)有限公司 | Method and apparatus for realizing protection of computer operation system in hard disk |
TWI362612B (en) * | 2007-09-05 | 2012-04-21 | Htc Corp | System and electronic device using multiple operating systems and operating method thereof |
CN101477476B (en) * | 2008-01-02 | 2012-02-29 | 联想(北京)有限公司 | Control method and computer system for switching display between multi-operating system |
-
2012
- 2012-11-13 CN CN201210455238.4A patent/CN103810430B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN103810430A (en) | 2014-05-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103810430B (en) | The method and electronic equipment of a kind of control electronics | |
CN100424645C (en) | Information processing apparatus with boot devices, and method for starting up the information processing apparatus | |
CN101000549A (en) | Electronic device with accelerated boot process and method for the same | |
CN102693136B (en) | The quick start method of computer, quick start system and startup system | |
CN101526901B (en) | Method and device for viewing files in computer | |
US20170168849A1 (en) | Computer Device and Memory Startup Method of Computer Device | |
KR101260066B1 (en) | Computer system having serial and parallel interfaces | |
CN101855606A (en) | Launching an application from a power management state | |
CN102880477A (en) | Method for realizing computer start and computer | |
TW201117008A (en) | Electronic equipment and boot method, storage medium thereof | |
CN105339898B (en) | Operating system switching method and device | |
US7900030B2 (en) | Method for determining a rebooting action of a computer system and related computer system | |
TW201142608A (en) | Multiple processors based system and method for controlling PCI-E slots | |
CN1991756A (en) | System and method for selecting starting apparatus by hot-key | |
CN101201746A (en) | Method for setting ROM-BIOS | |
CN101206576A (en) | Computer host capable of shortening start time and method for shortening computer start time | |
CN103984572A (en) | Method and equipment for realizing computer installation and operating system switch without CD driver | |
CN105808440A (en) | Application low memory test method, apparatus and system | |
EP1323049A2 (en) | A system and method for hot swapping daughtercards in high availability computer systems | |
CN101436097A (en) | Electronic device and wake-up method thereof | |
CN107203375A (en) | The method for setting disk array | |
US9766898B2 (en) | Operating methods for a computer system and computer system | |
CN101901153B (en) | Electronic installation and starting-up method thereof | |
JP6331505B2 (en) | Startup control device, startup control method, and startup control program | |
CN102890619A (en) | Novel desk computer hard disk selector |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |