CN103810430A - Method for controlling electronic equipment and electronic equipment - Google Patents

Method for controlling electronic equipment and electronic equipment Download PDF

Info

Publication number
CN103810430A
CN103810430A CN201210455238.4A CN201210455238A CN103810430A CN 103810430 A CN103810430 A CN 103810430A CN 201210455238 A CN201210455238 A CN 201210455238A CN 103810430 A CN103810430 A CN 103810430A
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.)
Granted
Application number
CN201210455238.4A
Other languages
Chinese (zh)
Other versions
CN103810430B (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 CN201210455238.4A priority Critical patent/CN103810430B/en
Publication of CN103810430A publication Critical patent/CN103810430A/en
Application granted granted Critical
Publication of CN103810430B publication Critical patent/CN103810430B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/57Certifying or maintaining trusted computer platforms, e.g. secure boots or power-downs, version controls, system software checks, secure updates or assessing vulnerabilities
    • G06F21/575Secure boot

Abstract

The invention provides a method for controlling electronic equipment and the electronic equipment. The method is applied to the electronic equipment of firmware. The firmware has a secure boot function and a native UEFI (Unified Extensible Firmware Interface) environment function. When the secure boot function and the native UEFI environment function are started, a first operation system can be installed through the firmware. The method comprises the following steps of when the first operation system is loaded to the electronic equipment during starting by the firmware, detecting whether the electronic equipment satisfies a preset condition or not; when the electronic equipment satisfies the preset condition, disabling the secure boot function and the native UEFI environment function in the firmware, so that a second operation system can be installed to the electronic equipment, wherein the second operation system is different from the first operation system.

Description

A kind of method and electronic equipment of controlling electronic equipment
Technical field
The present invention relates to electronic technology field, relate in particular to a kind of method and electronic equipment of controlling electronic equipment.
Background technology
Along with the development of electronic technology, increasing operating system and firmware have been developed out, for example, the Windows8 system of just issuing recently, it is exactly clean boot function (Secure Boot) and primary UEFI environmental functional (the Native Unified Extensible Firmware Interface in requirement firmware that Windows8 has a feature; Local unified Extensible Firmware Interface), primary UEFI environment representation is without the pure UEFI environment of legacy equipment support module; Further, if electronic equipment is SSD(Solid State Disk; Solid state hard disc) type, also require to open the quick start-up performance of 2s, but in the time that these functions are all opened, can bring following technical matters:
First, because the unlatching of clean boot function and primary UEFI environmental functional, the electronic equipment that for example Windows8 operating system has been installed just can not, from the optical disk start-up of tradition (legacy) operating system assembling system of laying equal stress on, cannot be installed for example Windows7/XP/Linux system; Further, because the unlatching of these two functions can not start to DOS system.
The second, because the unlatching of the quick start-up performance of 2s, electronic equipment cannot enter the interface that arranges of firmware in the time of normal boot-strap, so cannot change the setting of firmware.
And solution of the prior art is exactly in the time that electronic equipment breaks start for the first time after alternating current, the quick start-up performance of 2s can be closed, so like this can be by conventional method, for example enter firmware by keyboard interface is set, arrange behind interface when entering firmware, user can manual-lock clean boot function and primary UEFI environmental functional, like this, in the time that electronic equipment starts next time, these three functions have just all been closed, and user just can install other operating system as prior art.
But the inventor finds realizing in process of the present invention, the very trouble of method operation of prior art, because first will first break one time alternating current, then will enter firmware and interface is set manually arranges; These operations are all more professional in addition, and general domestic consumer is difficult to grasp, so use inconvenient.Therefore, method operation of the prior art is not easy, is not easy to penetration and promotion.
Summary of the invention
The embodiment of the present invention provides a kind of method and electronic equipment of controlling electronic equipment, in order to solve the not easy technical matters of method operation of the closed safe start-up performance existing in prior art, primary UEFI environmental functional.
One aspect of the present invention provides a kind of method of controlling electronic equipment, be applied in the electronic equipment with a firmware, described firmware has clean boot function and primary UEFI environmental functional, in the time of described clean boot function and the unlatching of primary UEFI environmental functional, by described firmware, the first operating system can be installed, described method comprises: load in the process of described the first operating system by described firmware start at described electronic equipment, detect described electronic equipment and whether meet a predetermined condition; In the time that described electronic equipment meets described predetermined condition, forbid clean boot function and primary UEFI environmental functional in described firmware, make described electronic equipment that the second operating system can be installed, wherein, described the second operating system is different from described the first operating system.
Optionally, detect described electronic equipment and whether meet a predetermined condition, be specially: when all when failure, detecting the on off state of described clean boot function and primary UEFI environmental functional by the first operating system described in described firmware loads and described the second operating system; Wherein, when described clean boot function and primary UEFI environmental functional are during all in opening, represent that described electronic equipment meets described predetermined condition.
Optionally, described electronic equipment also comprises a switching key, clean boot function in the described firmware of described forbidding and primary UEFI environmental functional, specifically comprise: in the time detecting described clean boot function and primary UEFI environmental functional in opening, receive an illegal instruction by described switching key; Based on described illegal instruction, forbid clean boot function and primary UEFI environmental functional in described firmware.
Optionally, described electronic equipment also comprises a timer, clean boot function in the described firmware of described forbidding and primary UEFI environmental functional, specifically comprise: in the time detecting described clean boot function and primary UEFI environmental functional in opening, start described timer; In the time that described timer timing exceedes a schedule time, generate an illegal instruction; Based on described illegal instruction, forbid clean boot function and primary UEFI environmental functional in described firmware.
Optionally, described electronic equipment is connected with a storage unit, detects described electronic equipment and whether meets a predetermined condition, is specially: in the time that described firmware starts described storage unit, detect guidance field and the UEFI boot of described storage unit; Wherein, when the guidance field of described storage unit is the guidance field of described the second operating system and while there is not described UEFI boot, represent that described electronic equipment meets described predetermined condition.
Optionally, described electronic equipment also comprises a switching key, clean boot function in the described firmware of described forbidding and primary UEFI environmental functional, specifically comprise: be the guidance field of described the second operating system and while there is not described UEFI boot when detecting the guidance field of described storage unit, receive an illegal instruction by described switching key; Based on described illegal instruction, forbid clean boot function and primary UEFI environmental functional in described firmware.
Optionally, described electronic equipment also comprises a timer, clean boot function in the described firmware of described forbidding and primary UEFI environmental functional, specifically comprise: be the guidance field of described the second operating system and while there is not described UEFI boot when detecting the guidance field of described storage unit, start described timer; In the time that described timer timing exceedes a schedule time, generate an illegal instruction; Based on described illegal instruction, forbid clean boot function and primary UEFI environmental functional in described firmware.
Optionally, detect described electronic equipment and whether meet a predetermined condition, specifically comprise: the state that detects a zone bit; In the time that the state of described zone bit is the first state, judge whether to receive a scheduled operation; Wherein, in the time receiving described scheduled operation, represent that described electronic equipment meets described predetermined condition.
Optionally, before the state of described detection one zone bit, described method also comprises: the state of changing described zone bit by a button.
The present invention also provides a kind of electronic equipment on the other hand, comprising: circuit board; Firmware chip, is arranged on described circuit board, and described firmware chip has clean boot function and primary UEFI environmental functional, in the time of described clean boot function and the unlatching of primary UEFI environmental functional, by described firmware chip, the first operating system can be installed; Process chip, is arranged on described circuit board, for load the process of described the first operating system by described firmware chip start at described electronic equipment, detects described electronic equipment and whether meets a predetermined condition; And in the time that described electronic equipment meets described predetermined condition, forbid clean boot function and primary UEFI environmental functional in described firmware chip, make described electronic equipment that the second operating system can be installed, wherein, described the second operating system is different from described the first operating system.
Optionally, described process chip, specifically for when load described the first operating system and described the second operating system all whens failure by described firmware chip, detects the on off state of described clean boot function and primary UEFI environmental functional; Wherein, when described clean boot function and primary UEFI environmental functional are during all in opening, represent that described electronic equipment meets described predetermined condition.
Optionally, described electronic equipment also comprises a switching key, in the time detecting described clean boot function and primary UEFI environmental functional in opening, receives an illegal instruction by described switching key; Described process chip, specifically for based on described illegal instruction, is forbidden clean boot function and primary UEFI environmental functional in described firmware chip.
Optionally, described electronic equipment also comprises a timer, is connected in described process chip, and in the time detecting described clean boot function and primary UEFI environmental functional in opening, described process chip is specifically also for starting described timer; In the time that described timer timing exceedes a schedule time, generate an illegal instruction; Described process chip, specifically for based on described illegal instruction, is forbidden clean boot function and primary UEFI environmental functional in described firmware chip.
Optionally, described electronic equipment also comprises a storage unit, and described in described firmware chip enable when storage unit, described process chip is specifically for detecting guidance field and the UEFI boot of described storage unit; Wherein, when the guidance field of described storage unit is the guidance field of described the second operating system and while there is not described UEFI boot, represent that described electronic equipment meets described predetermined condition.
Optionally, described electronic equipment also comprises a status-pin, and described process chip is specifically for detecting the state of described status-pin; In the time that the state of described status-pin is the first state, judge whether to receive a scheduled operation; Wherein, in the time receiving described scheduled operation, represent that described electronic equipment meets described predetermined condition.
Optionally, described electronic equipment also comprises a button, is arranged on the shell of described electronic equipment, is connected with described status-pin, can change the state of described status-pin by described button.
The one or more technical schemes that provide in the embodiment of the present invention, at least have following technique effect or advantage:
One embodiment of the invention loads by starting shooting by firmware at electronic equipment in the process of the first operating system, whether detected electrons equipment meets a predetermined condition determines whether to want closed safe start-up performance and primary UEFI environmental functional, in the time that electronic equipment meets this predetermined condition, just forbid the clean boot function in firmware, like this, electronic equipment just can be installed the second operating system.For example electronic equipment wants to install Windows7 operating system, but because opening, clean boot function and primary UEFI environmental functional but cannot install, and can only load Windows8 operating system, so can utilize the method in the present embodiment implements, first start, in start process, whether meet a predetermined condition with regard to detected electrons equipment, if met, so just, from being about to clean boot function and primary UEFI environmental functional forbidding, just Windows7 operating system can be installed thus.Therefore, the method in the present embodiment does not need the alternating current of electronic equipment to break, and does not need to enter firmware yet and interface is set removes manual-lock clean boot function and primary UEFI environmental functional, so operation is very easy, easy to utilize.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of the method for the control electronic equipment in one embodiment of the invention;
Fig. 2 is the schematic diagram of the control electronic equipment 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 controlling electronic equipment, in order to solve the not easy technical matters of method operation of the closed safe start-up performance existing in prior art, primary UEFI environmental functional.
Technical scheme in the embodiment of the present invention is to solve above-mentioned technical matters, and general thought is as follows:
Load by starting shooting by firmware at electronic equipment in the process of the first operating system, whether detected electrons equipment meets a predetermined condition determines whether to want closed safe start-up performance and primary UEFI environmental functional, in the time that electronic equipment meets this predetermined condition, just forbid the clean boot function in firmware, like this, electronic equipment just can be installed the second operating system.For example electronic equipment wants to install Windows7 operating system, but because opening, clean boot function and primary UEFI environmental functional but cannot install, and can only load Windows8 operating system, so can utilize the method in the present embodiment implements, first start, in start process, whether meet a predetermined condition with regard to detected electrons equipment, if met, so just, from being about to clean boot function and primary UEFI environmental functional forbidding, just Windows7 operating system can be installed thus.Therefore, the method in the present embodiment does not need the alternating current of electronic equipment to break, and does not need to enter firmware yet and interface is set removes manual-lock clean boot function and primary UEFI environmental functional, so operation is very easy, easy to utilize.
In order better to understand technique scheme, below in conjunction with Figure of description and concrete embodiment, technique scheme is described in detail.
The present embodiment provides a kind of method of controlling electronic equipment, be applied in the electronic equipment with a firmware, this firmware has clean boot function and primary UEFI environmental functional, in the time of clean boot function and the unlatching of primary UEFI environmental functional, by firmware, the first operating system can be installed, wherein, electronic equipment is for example notebook computer, desktop computer, firmware is for example UEFI, the first operating system is for example Windows8 operating system.Please refer to Fig. 1, the method comprises:
Step 101: start shooting by firmware at electronic equipment and load in the process of the first operating system, whether detected electrons equipment meets a predetermined condition;
Step 102: in the time that electronic equipment meets predetermined condition, clean boot function and primary UEFI environmental functional in forbidding firmware, make electronic equipment that the second operating system can be installed, and wherein, the second operating system is different from the first operating system.
Wherein, the second operating system is for example Windows7/XP/Linux, certainly, can be also other operating systems.
Next the implementation process of the method will be introduced in detail, first, in step 101, for example user supresses the start button on electronic equipment, electronic equipment just starts to enter boot program, be responsible for start load operation system by firmware, in the present embodiment, start shooting by firmware at electronic equipment and load in the process of described the first operating system, can be to complete in firmware initialization, prepare the moment of guiding the first operating system, also it can be the moment after loading the first operating system and the failure of the second operating system, also it can be the moment in firmware initialization electronic equipment storage unit, it can certainly be the moment that can detect at other, then in these cases, whether detected electrons equipment meets a predetermined condition, and the content wherein detecting in the different moment has difference, and predetermined condition itself also has difference, and this will describe in detail in the back.
Then, in the time that electronic equipment meets predetermined condition, just perform step 102, forbid clean boot function and primary UEFI environmental functional in firmware, make electronic equipment that the second operating system can be installed.
In the first embodiment, step 101 is specially by firmware loads the first operating system and the second operating system all when failure, the entrance that starts all operations system is all when failure, just detect the on off state of clean boot function and primary UEFI environmental functional, if the result detecting shows that clean boot function and primary UEFI environmental functional are all in the time of opening, just explanation cannot start the operating system because these two functions unlatchings cause, so at this moment just illustrate that electronic equipment has met this predetermined condition, so just can self-closing safety start-up performance and primary UEFI environmental functional, and then restart electronic equipment, electronic equipment just can start the second operating system by firmware so.
In concrete implementation process, in firmware, can add one to switch fast the module that firmware is set, this module can show that failure information is to user, and a shortcut can be provided, the setting that makes user can a key switch firmware.For example, in the time that the result detecting shows clean boot function and primary UEFI environmental functional all in opening, can show and " not find any operating system by the display unit of electronic equipment.Press any key repeated priming sequence.Or press ' L ' key and download optimization setting to support legacy operating system and to restart computing machine " such prompting; user sees after such prompting so; just can press " L " key on keyboard; then electronic equipment generates illegal instruction; self-closing safety start-up performance and primary UEFI environmental functional; further, after closing, restart electronic equipment.In another embodiment, also can not by certain button on keyboard, but button on a shell that is arranged on electronic equipment, user is as long as seeing after similar prompting, just can press the button on shell, then electronic equipment generates illegal instruction, forbidding clean boot function and primary UEFI environmental functional.In other embodiments, as the switching key of this class of button on above-mentioned " L " key and shell, can also be other forms, the application is not construed as limiting.
Certainly, in the time of practice, also can not use above-mentioned switching key, but a timer is set in electronic equipment, in the time that the result detecting shows clean boot function and primary UEFI environmental functional all in opening, start timer and start timing, also can show information described above simultaneously, also can show will be in the schedule time simultaneously, for example self-closing safety start-up performance and primary UEFI environmental functional after 5s, so in the time that 5s is arrived in timer timing, will generate an illegal instruction, then can be based on this illegal instruction, clean boot function and primary UEFI environmental functional in forbidding firmware, after further closing, can restart electronic equipment.
By the method in the present embodiment, alternating current does not need first to break one time, user can be in the situation that not entering firmware, just can fast setting clean boot function and primary UEFI environmental functional, electronic equipment upper just can normal load while once starting or the second operating system is installed, so easy and simple to handle, user-friendly.
Foregoing description detect result be clean boot function and primary UEFI environmental functional be open state, in a further embodiment, when the result detecting is that clean boot function and primary UEFI environmental functional are while being the state of closing, represent so really not have in current electronic equipment the operating system that can start, can show so and " not find any operating system.Press any key repeated priming sequence." such information, user can continue by any key so.
In a second embodiment, electronic equipment is connected with a storage unit, for example CD, step 101 is specially in the time that firmware starts this storage unit, detect guidance field and the UEFI boot of this storage unit, when the guidance field of this storage unit is the guidance field of the second operating system and while there is not UEFI boot, represent that electronic equipment meets this predetermined condition, so just can perform step 102.
Specifically, although because under the first operating system schema, be under the pattern of clean boot function and the unlatching of primary UEFI environmental functional, firmware can not be from traditional optical disk start-up, but firmware but still has the ability of the whole CD content of read-write, so can be by firmware in start detection CD, detect guidance field and the UEFI loader(UEFI boot of CD), if CD exists traditional, there is not again UEFI boot in the boot section of the second operating system simultaneously, represent that so this CD is traditional CD, so at this moment just represent that electronic equipment has met this predetermined condition, can perform step 102, clean boot function and primary UEFI environmental functional are closed, can make start next time time, firmware can guide and complete the function that the second operating system is installed from CD.
In concrete implementation process, also can be as in the first embodiment, in firmware, can add one to switch fast the module that firmware is set, this module can display reminding information to user, and a shortcut can be provided, make user can one the key setting of switching firmware.For example, when the guidance field of this storage unit is the guidance field of the second operating system and while there is not UEFI boot, can on the display unit of electronic equipment, show " find a conventional optical disc; enable tradition support and again from this optical disk start-up computing machine? ' being '/'No' " such information, after user presses " Y " key on keyboard, electronic equipment generates illegal instruction, self-closing safety start-up performance and primary UEFI environmental functional, further, restart electronic equipment after closing.In another embodiment, also can not by certain button on keyboard, but button on a shell that is arranged on electronic equipment, user is as long as seeing after similar prompting, just can press the button on shell, then electronic equipment generates illegal instruction, forbidding clean boot function and primary UEFI environmental functional.In other embodiments, as the switching key of this class of button on above-mentioned " Y " key and shell, can also be other forms, the application is not construed as limiting.
Certainly, in the time of practice, also can not use above-mentioned switching key, but a timer is set in electronic equipment, be the guidance field of the second operating system and while there is not UEFI boot when detecting the guidance field of this storage unit, start timer and start timing, also can show information described above simultaneously, also can show will be in the schedule time simultaneously, for example self-closing safety start-up performance and primary UEFI environmental functional after 5s, so in the time that 5s is arrived in timer timing, will generate an illegal instruction, then can be based on this illegal instruction, clean boot function and primary UEFI environmental functional in forbidding firmware, after further closing, can restart electronic equipment.
By the method in the present embodiment, alternating current does not need first to break one time, user can be in the situation that not entering firmware, just can fast setting clean boot function and primary UEFI environmental functional, electronic equipment upper just can normal load while once starting or the second operating system is installed, so easy and simple to handle, user-friendly.
In the 3rd embodiment, a zone bit is set in electronic equipment, for example GPIO(General Purpose Input Output; Universal input output) status-pin, then performing step at 101 o'clock, just first detect the state of this flag, in the time that the state of this zone bit is the first state, judge whether to receive a scheduled operation, wherein, in the time receiving this scheduled operation, represent that electronic equipment meets this predetermined condition.
In specific implementation process, for example, in electronic equipment start process, detect the state of this GPIO status-pin, in the time that the level of this GPIO status-pin is high level, just on the display interface of electronic equipment, show a menu, as shown in Figure 2, menu 10 is multi-functional interfaces of an integration, in the time that menu 10 ejects, current guiding action just temporarily stops, so menu 10 can be called " starting by maintenance mode ".On menu 10, there is the option of selection to select for user, for example " continue to guide " option, " selection guiding entrance/equipment " option, " recovery system " option, and " entering firmware menu setting " option, certainly, in other embodiments, can also integrate other options and select for user, the application is not restricted.
Option represents that firmware will continue to guide operating system normally wherein " to continue guiding ", so in the time that user has selected this option, what firmware do not do with regard to, but continues normal guiding the first operating system; What the option that " enters firmware menu setting " represented link is the page that arranges of firmware, and in the time that user selects this option, firmware is just written into the page is set.
And in the time that user opens " selecting guiding entrance/equipment " option, just represent to have received this scheduled operation, and then represent that electronic equipment meets this predetermined condition, so just perform step 102, clean boot function and primary UEFI environmental functional are closed.In a further embodiment, after step 102, also show the choice menus of traditional guiding entrance/equipment, this time, user can select from CD-ROM drive, USB device or other device starts in this menu, because now clean boot function and primary UEFI environmental functional are closed, so user can start the operating systems such as Windows7/XP, i.e. the second operating system normally.
Equally, in the time that user selects to start the option of " recovery system ", also represent to have received this scheduled operation, and then also represent that electronic equipment meets this predetermined condition, so at this moment perform step 102, closed safe start-up performance and primary UEFI environmental functional, and then carry out restore funcitons.Because it may be traditional version that the key on electronic equipment recovers, i.e. the second operating system, also be likely UEFI version, i.e. the first operating system, therefore only close primary UEFI environmental functional guarantee and support simultaneously, in addition, even UEFI version, also not necessarily there is clean boot signature, so also want closed safe start-up performance.
By the method in the present embodiment, the alternating current that do not need first to break a time, and user do not need to enter firmware yet, just can fast setting clean boot function and primary UEFI environmental functional, so operation is very easy, easy to use.
Further, can change by a button state of this zone bit, for example, on the external casing with electronic equipment of this button, be connected with GPIO status-pin, often press once, the level of GPIO status-pin will change; Or change according to the time length of pressing, also can change according to compression number, those skilled in the art can go to set concrete form according to actual needs.
In other embodiments, this zone bit can be also status register, can certainly be connected to the value that changes status register on circuit board by external button, certainly, those skilled in the art also can adopt other zone bit form and button form, and the application is not restricted.
By this external button, user just can control the state of zone bit very easily, so further facilitated user's operation.
In a further embodiment, suggestion device also can be set, for example LED lamp, points out zone bit current state, is convenient to user and clearly understands current state.
Each embodiment can implement separately above, the enforcement of also can interosculating.
Based on same inventive concept, one embodiment of the invention also provides a kind of electronic equipment, please refer to Fig. 3, and this electronic equipment comprises: circuit board 20; Firmware chip 30, is arranged on circuit board 20, and firmware chip 30 has clean boot function and primary UEFI environmental functional, in the time of clean boot function and the unlatching of primary UEFI environmental functional, by firmware chip 30, the first operating system can be installed; Process chip 40, is arranged on circuit board 20, and for load the process of the first operating system by 30 starts of firmware chip at electronic equipment, whether detected electrons equipment meets a predetermined condition; And in the time that electronic equipment meets predetermined condition, clean boot function and primary UEFI environmental functional in forbidding firmware chip 30, make electronic equipment that the second operating system can be installed, wherein, the second operating system is different from the first operating system.
In one embodiment, process chip 40, specifically for when load the first operating system and the second operating system all whens failure by firmware chip 30, detects the on off state of clean boot function and primary UEFI environmental functional; Wherein, when clean boot function and primary UEFI environmental functional are during all in opening, represent that electronic equipment meets this predetermined condition.
Further, electronic equipment also comprises a switching key, in the time detecting clean boot function and primary UEFI environmental functional in opening, receives an illegal instruction by switching key; Process chip 40, specifically for based on illegal instruction, is forbidden clean boot function and primary UEFI environmental functional in firmware chip 30.
In another embodiment, electronic equipment also comprises a timer, is connected in process chip 40, and in the time detecting clean boot function and primary UEFI environmental functional in opening, process chip 40 is specifically also for starting timer; In the time that timer timing exceedes a schedule time, generate an illegal instruction; Process chip 40, specifically for based on illegal instruction, is forbidden clean boot function and primary UEFI environmental functional in firmware chip 30.
In another embodiment, electronic equipment also comprises a storage unit, and in the time that firmware chip 30 starts storage unit, process chip 40 is specifically for guidance field and the UEFI boot of detection of stored unit; Wherein, when the guidance field of storage unit is the guidance field of the second operating system and while there is not UEFI boot, represent that electronic equipment meets predetermined condition.
In another embodiment, electronic equipment also comprises a status-pin, and process chip 40 is specifically for the state of detected state pin; In the time that the state of status-pin is the first state, judge whether to receive a scheduled operation; Wherein, in the time receiving scheduled operation, represent that electronic equipment meets predetermined condition.
Further, electronic equipment also comprises a button, is arranged on the shell of electronic equipment, is connected with status-pin, can change the state of status-pin by button.
Various variation patterns in the method for the control electronic equipment in earlier figures 1 embodiment and instantiation are equally applicable to the electronic equipment of the present embodiment, by the detailed description of the aforementioned method to control electronic equipment, those skilled in the art can clearly know the implementation method of electronic equipment in the present embodiment, so succinct for instructions, is not described in detail in this.
The one or more technical schemes that provide in the embodiment of the present invention, at least have following technique effect or advantage:
One embodiment of the invention loads by starting shooting by firmware at electronic equipment in the process of the first operating system, whether detected electrons equipment meets a predetermined condition determines whether to want closed safe start-up performance and primary UEFI environmental functional, in the time that electronic equipment meets this predetermined condition, just forbid the clean boot function in firmware, like this, electronic equipment just can be installed the second operating system.For example electronic equipment wants to install Windows7 operating system, but because opening, clean boot function and primary UEFI environmental functional but cannot install, and can only load Windows8 operating system, so can utilize the method in the present embodiment implements, first start, in start process, whether meet a predetermined condition with regard to detected electrons equipment, if met, so just, from being about to clean boot function and primary UEFI environmental functional forbidding, just Windows7 operating system can be installed thus.Therefore, the method in the present embodiment does not need the alternating current of electronic equipment to break, and does not need to enter firmware yet and interface is set removes manual-lock clean boot function and primary UEFI environmental functional, so operation is very easy, easy to utilize.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware implementation example, completely implement software example or the form in conjunction with the embodiment of software and hardware aspect.And the present invention can adopt the form at one or more upper computer programs of implementing of computer-usable storage medium (including but not limited to magnetic disk memory and optical memory etc.) that wherein include computer usable program code.
The present invention is with reference to describing according to process flow diagram and/or the block scheme of the method for the embodiment of the present invention, equipment (system) and computer program.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or the combination of square frame.Can provide these computer program instructions to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, the instruction that makes to carry out by the processor of computing machine or other programmable data processing device produces the device for realizing the function of specifying at flow process of process flow diagram or multiple flow process and/or square frame of block scheme or multiple square frame.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, the instruction that makes to be stored in this computer-readable memory produces the manufacture that comprises command device, and this command device is realized the function of specifying in flow process of process flow diagram or multiple flow process and/or square frame of block scheme or multiple square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make to carry out sequence of operations step to produce computer implemented processing on computing machine or other programmable devices, thereby the instruction of carrying out is provided for realizing the step of the function of specifying in flow process of process flow diagram or multiple flow process and/or square frame of block scheme or multiple square frame on computing machine or other programmable devices.
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 (16)

1. control the method for electronic equipment for one kind, be applied in the electronic equipment with a firmware, described firmware has clean boot function and primary UEFI environmental functional, in the time of described clean boot function and the unlatching of primary UEFI environmental functional, by described firmware, the first operating system can be installed, it is characterized in that, described method comprises:
Load in the process of described the first operating system by described firmware start at described electronic equipment, detect described electronic equipment and whether meet a predetermined condition;
In the time that described electronic equipment meets described predetermined condition, forbid clean boot function and primary UEFI environmental functional in described firmware, make described electronic equipment that the second operating system can be installed, wherein, described the second operating system is different from described the first operating system.
2. the method for claim 1, is characterized in that, detects described electronic equipment and whether meets a predetermined condition, is specially:
When all when failure, detecting the on off state of described clean boot function and primary UEFI environmental functional by the first operating system described in described firmware loads and described the second operating system; Wherein, when described clean boot function and primary UEFI environmental functional are during all in opening, represent that described electronic equipment meets described predetermined condition.
3. method as claimed in claim 2, is characterized in that, described electronic equipment also comprises a switching key, and the clean boot function in the described firmware of described forbidding and primary UEFI environmental functional, specifically comprise:
In the time detecting described clean boot function and primary UEFI environmental functional in opening, receive an illegal instruction by described switching key;
Based on described illegal instruction, forbid clean boot function and primary UEFI environmental functional in described firmware.
4. method as claimed in claim 2, is characterized in that, described electronic equipment also comprises a timer, and the clean boot function in the described firmware of described forbidding and primary UEFI environmental functional, specifically comprise:
In the time detecting described clean boot function and primary UEFI environmental functional in opening, start described timer;
In the time that described timer timing exceedes a schedule time, generate an illegal instruction;
Based on described illegal instruction, forbid clean boot function and primary UEFI environmental functional in described firmware.
5. the method for claim 1, is characterized in that, described electronic equipment is connected with a storage unit, detects described electronic equipment and whether meets a predetermined condition, is specially:
In the time that described firmware starts described storage unit, detect guidance field and the UEFI boot of described storage unit; Wherein, when the guidance field of described storage unit is the guidance field of described the second operating system and while there is not described UEFI boot, represent that described electronic equipment meets described predetermined condition.
6. method as claimed in claim 5, is characterized in that, described electronic equipment also comprises a switching key, and the clean boot function in the described firmware of described forbidding and primary UEFI environmental functional, specifically comprise:
Be the guidance field of described the second operating system and while there is not described UEFI boot when detecting the guidance field of described storage unit, receive an illegal instruction by described switching key;
Based on described illegal instruction, forbid clean boot function and primary UEFI environmental functional in described firmware.
7. method as claimed in claim 5, is characterized in that, described electronic equipment also comprises a timer, and the clean boot function in the described firmware of described forbidding and primary UEFI environmental functional, specifically comprise:
Be the guidance field of described the second operating system and while there is not described UEFI boot when detecting the guidance field of described storage unit, start described timer;
In the time that described timer timing exceedes a schedule time, generate an illegal instruction;
Based on described illegal instruction, forbid clean boot function and primary UEFI environmental functional in described firmware.
8. the method for claim 1, is characterized in that, detects described electronic equipment and whether meets a predetermined condition, specifically comprises:
Detect the state of a zone bit;
In the time that the state of described zone bit is the first state, judge whether to receive a scheduled operation; Wherein, in the time receiving described scheduled operation, represent that described electronic equipment meets described predetermined condition.
9. method as claimed in claim 8, is characterized in that, before the state of described detection one zone bit, described method also comprises:
Change the state of described zone bit by a button.
10. an electronic equipment, is characterized in that, comprising:
Circuit board;
Firmware chip, is arranged on described circuit board, and described firmware chip has clean boot function and primary UEFI environmental functional, in the time of described clean boot function and the unlatching of primary UEFI environmental functional, by described firmware chip, the first operating system can be installed;
Process chip, is arranged on described circuit board, for load the process of described the first operating system by described firmware chip start at described electronic equipment, detects described electronic equipment and whether meets a predetermined condition; And in the time that described electronic equipment meets described predetermined condition, forbid clean boot function and primary UEFI environmental functional in described firmware chip, make described electronic equipment that the second operating system can be installed, wherein, described the second operating system is different from described the first operating system.
11. electronic equipments as claimed in claim 10, it is characterized in that, described process chip, specifically for when load described the first operating system and described the second operating system all whens failure by described firmware chip, detects the on off state of described clean boot function and primary UEFI environmental functional; Wherein, when described clean boot function and primary UEFI environmental functional are during all in opening, represent that described electronic equipment meets described predetermined condition.
12. electronic equipments as claimed in claim 11, is characterized in that, described electronic equipment also comprises a switching key, in the time detecting described clean boot function and primary UEFI environmental functional in opening, receive an illegal instruction by described switching key;
Described process chip, specifically for based on described illegal instruction, is forbidden clean boot function and primary UEFI environmental functional in described firmware chip.
13. electronic equipments as claimed in claim 11, is characterized in that, described electronic equipment also comprises a timer, are connected in described process chip,
In the time detecting described clean boot function and primary UEFI environmental functional in opening, described process chip is specifically also for starting described timer;
In the time that described timer timing exceedes a schedule time, generate an illegal instruction;
Described process chip, specifically for based on described illegal instruction, is forbidden clean boot function and primary UEFI environmental functional in described firmware.
14. electronic equipments as claimed in claim 10, it is characterized in that, described electronic equipment also comprises a storage unit, and described in described firmware chip enable when storage unit, described process chip is specifically for detecting guidance field and the UEFI boot of described storage unit; Wherein, when the guidance field of described storage unit is the guidance field of described the second operating system and while there is not described UEFI boot, represent that described electronic equipment meets described predetermined condition.
15. electronic equipments as claimed in claim 10, is characterized in that, described electronic equipment also comprises a status-pin, and described process chip is specifically for detecting the state of described status-pin; In the time that the state of described status-pin is the first state, judge whether to receive a scheduled operation; Wherein, in the time receiving described scheduled operation, represent that described electronic equipment meets described predetermined condition.
16. electronic equipments as claimed in claim 15, is characterized in that, described electronic equipment also comprises a button, are arranged on the shell of described electronic equipment, are connected with described status-pin, can change the state of described status-pin by described button.
CN201210455238.4A 2012-11-13 2012-11-13 The method and electronic equipment of a kind of control electronics Active CN103810430B (en)

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 true CN103810430A (en) 2014-05-21
CN103810430B 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)

Cited By (6)

* Cited by examiner, † Cited by third party
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
CN110287686A (en) * 2019-06-24 2019-09-27 深圳市同泰怡信息技术有限公司 A kind of the clean boot right management method and equipment of basic input output system
CN110895609A (en) * 2018-09-12 2020-03-20 佳能株式会社 Information processing apparatus, control method thereof, and storage medium
CN111831346A (en) * 2020-07-20 2020-10-27 平安科技(深圳)有限公司 Starting method and device of memory operating system for data acquisition
CN112347518A (en) * 2019-08-09 2021-02-09 铠侠股份有限公司 Storage device
CN112732284A (en) * 2021-02-26 2021-04-30 联想(北京)有限公司 Installation method, installation device, installation equipment and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
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
US20090063845A1 (en) * 2007-09-05 2009-03-05 High Tech Computer, Corp. System and electronic device having 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

Patent Citations (3)

* Cited by examiner, † Cited by third party
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
US20090063845A1 (en) * 2007-09-05 2009-03-05 High Tech Computer, Corp. System and electronic device having 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

Cited By (8)

* Cited by examiner, † Cited by third party
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
CN110895609A (en) * 2018-09-12 2020-03-20 佳能株式会社 Information processing apparatus, control method thereof, and storage medium
CN110895609B (en) * 2018-09-12 2023-11-14 佳能株式会社 Information processing apparatus, control method therefor, and storage medium
CN110287686A (en) * 2019-06-24 2019-09-27 深圳市同泰怡信息技术有限公司 A kind of the clean boot right management method and equipment of basic input output system
CN112347518A (en) * 2019-08-09 2021-02-09 铠侠股份有限公司 Storage device
CN111831346A (en) * 2020-07-20 2020-10-27 平安科技(深圳)有限公司 Starting method and device of memory operating system for data acquisition
CN111831346B (en) * 2020-07-20 2023-06-09 平安科技(深圳)有限公司 Method and device for starting memory operating system for data acquisition
CN112732284A (en) * 2021-02-26 2021-04-30 联想(北京)有限公司 Installation method, installation device, installation equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN103810430B (en) 2018-02-27

Similar Documents

Publication Publication Date Title
US20210365181A1 (en) Dynamic Command Presentation and Key Configuration for Keyboards
CN103810430A (en) Method for controlling electronic equipment and electronic equipment
EP2705422B1 (en) Dynamically redirecting boot to another operating system
US20090278679A1 (en) Methods and Media for Event Notification in Information Handling Systems
CN102804131B (en) The apparatus and method of access computer pre-boot routine
CN104951328A (en) Embedded equipment and starting method thereof
CN103473102A (en) System startup guiding method and tool of multi-operation system
CN105681533A (en) Call content recording method and apparatus
CN101201746A (en) Method for setting ROM-BIOS
US7849300B2 (en) Method for changing booting sources of a computer system and a related backup/restore method thereof
KR101326908B1 (en) Method of changing operation environment and apparatus for the same
US11500647B2 (en) Systems and methods for achieving faster boot times using BIOS attribute mitigation
CN103984572A (en) Method and equipment for realizing computer installation and operating system switch without CD driver
CN102135923A (en) Method for integrating operating system into BIOS (Basic Input/Output System) chip and method for starting operating system
CN103942059A (en) Electronic device with multiple starting modes
US20150324209A1 (en) Operating System Switching Method and Dual-Operating System Electronic Device Using the Same
CN100410893C (en) Method and apparatus for master-controlled applied programm of self-repairing built-in equipment
US20090070491A1 (en) Method for executing target programs with compound quick keys
JP5489278B2 (en) Information processing apparatus and activation method thereof
US9047010B2 (en) Selective key distinction at system startup
CN103488387B (en) A kind of method of information processing and a kind of electronic equipment
CN101630200A (en) Method for executing programs in computer system and correlative computer system
CN105446903A (en) Information processing method and electronic device
KR101110715B1 (en) Method and apparatus to control booting a system
CN103853972A (en) Method of information processing and electronic equipment

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