CN105159773B - Information processing method and electronic equipment - Google Patents

Information processing method and electronic equipment Download PDF

Info

Publication number
CN105159773B
CN105159773B CN201510642484.4A CN201510642484A CN105159773B CN 105159773 B CN105159773 B CN 105159773B CN 201510642484 A CN201510642484 A CN 201510642484A CN 105159773 B CN105159773 B CN 105159773B
Authority
CN
China
Prior art keywords
mode
electronic equipment
current
determining
starting
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
Application number
CN201510642484.4A
Other languages
Chinese (zh)
Other versions
CN105159773A (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 CN201510642484.4A priority Critical patent/CN105159773B/en
Publication of CN105159773A publication Critical patent/CN105159773A/en
Application granted granted Critical
Publication of CN105159773B publication Critical patent/CN105159773B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses an information processing method and electronic equipment, comprising the following steps: determining that the electronic equipment is in a power-on state; acquiring a current use mode of the electronic equipment; determining a current start-up mode matching the current usage mode based on the current usage mode; starting the electronic equipment based on the current starting mode. Through the technical scheme provided by the invention, the technical problem that the electronic equipment in the prior art is single in starting mode is solved.

Description

Information processing method and electronic equipment
Technical Field
The present invention relates to the field of electronic technologies, and in particular, to an information processing method and an electronic device.
Background
With the continuous development of scientific technology, various electronic devices, such as: notebook computers, desktop computers, all-in-one computers, and the like are constantly present in people's work and life.
In the process of actually using these electronic devices, it is essential to Power On the electronic devices, and then in the process of powering On the electronic devices, the BIOS POST (Basic Input Output System, Basic Input Output System; Power On Self Test, Power On Processing Test) will detect the CPU (Central Processing Unit), the motherboard, the serial-parallel interface, the display card, the hard-disk System, the keyboard, and the like of the electronic devices, or other hardware devices.
In the prior art, electronic devices such as: a notebook computer may have multiple usage modes: a notebook mode, a standing mode, a tent mode, a tablet mode, or the like, wherein if the usage mode of the electronic device is the notebook mode, normal POST detection can be performed; when the usage mode of the electronic device is other than the notebook mode, functions of some hardware devices on the electronic device are locked, and if normal POST detection is still performed, it takes a long time.
In the process of implementing the technical scheme in the embodiment of the present application, the inventor of the present application finds that at least the following technical problems exist in the prior art:
the electronic equipment in the prior art has the technical problem of single starting mode.
Disclosure of Invention
The embodiment of the invention provides an information processing method and electronic equipment, which are used for solving the technical problem that the electronic equipment in the prior art has a single starting mode so as to achieve the technical effect of providing multiple starting modes.
An information processing method comprising:
determining that the electronic equipment is in a power-on state;
acquiring a current use mode of the electronic equipment;
determining a current start-up mode matching the current usage mode based on the current usage mode;
starting the electronic equipment based on the current starting mode.
Optionally, the obtaining of the current usage mode of the electronic device specifically includes:
the embedded controller of the electronic equipment acquires at least one parameter information of the electronic equipment through a sensor on the electronic equipment, wherein the at least one parameter information is used for representing the current use mode of the electronic equipment;
the embedded controller acquires the current use mode based on the at least one parameter information and stores the current use mode in a memory of the embedded controller;
and the basic input and output system of the electronic equipment reads the current use mode from the memory.
Optionally, the determining, based on the current usage mode, a current start mode matched with the current usage mode specifically includes:
acquiring a corresponding relation between a use mode and a starting mode of the electronic equipment;
and determining the current starting mode matched with the current using mode based on the corresponding relation.
Optionally, the determining, based on the current usage mode, a current start mode matched with the current usage mode specifically includes:
determining at least one hardware device from the electronic device based on the current usage mode, wherein the at least one hardware device is a hardware device which is not detected by the basic input output system in the starting process of the electronic device;
determining, based on the at least one hardware device, a current activation pattern that matches the current usage pattern.
Optionally, the starting the electronic device based on the current starting mode specifically includes:
in the starting process of the electronic equipment, the basic input and output system is directly started from a hard disk of the electronic equipment, wherein an execution program for detecting the at least one hardware equipment is in a non-executed state.
Alternatively to this, the first and second parts may,
the current use mode is a tablet mode or a standing mode, and an execution program for detecting the entity input device of the electronic equipment is in the non-executed state; or
The current usage mode is a tent mode, and an execution program for detecting the entity input device and/or the image acquisition unit of the electronic equipment is in the non-executed state.
An embodiment of the present application further provides an electronic device, including:
a housing;
the embedded controller is arranged in the shell and used for determining that the electronic equipment is in a power-on state; acquiring a current use mode of the electronic equipment;
the basic input and output system chip is arranged in the shell, is connected with the embedded controller and is used for determining a current starting mode matched with the current using mode based on the current using mode; starting the electronic equipment based on the current starting mode.
Alternatively to this, the first and second parts may,
the embedded controller acquires at least one parameter information of the electronic equipment through a sensor in the electronic equipment, wherein the at least one parameter information is used for representing the current use mode of the electronic equipment;
the embedded controller acquires the current use mode based on the at least one parameter information and stores the current use mode in a memory of the embedded controller;
the BIOS chip reads the current usage pattern from the memory.
Optionally, the basic input/output system chip is specifically configured to:
acquiring a corresponding relation between a use mode and a starting mode of the electronic equipment;
and determining the current starting mode matched with the current using mode based on the corresponding relation.
Optionally, the basic input/output system chip is specifically configured to:
determining at least one hardware device from the electronic device based on the current usage mode, wherein the at least one hardware device is a hardware device which is not detected by the basic input output system in the starting process of the electronic device;
determining, based on the at least one hardware device, a current activation pattern that matches the current usage pattern.
Alternatively to this, the first and second parts may,
in the starting process of the electronic equipment, the basic input and output system chip is directly started from a hard disk of the electronic equipment, wherein an execution program for detecting the at least one hardware equipment is in a non-executed state.
An embodiment of the present application further provides an electronic device, including:
the first determining unit is used for determining that the electronic equipment is in a power-on state;
the first acquisition unit is used for acquiring the current use mode of the electronic equipment;
a second determining unit, configured to determine, based on the current usage mode, a current start-up mode that matches the current usage mode;
and the first starting unit is used for starting the electronic equipment based on the current starting mode.
One or more technical solutions in the embodiments of the present application have at least one or more of the following technical effects:
the technical scheme in the embodiment of the application is that the electronic equipment is determined to be in a power-on state; acquiring a current use mode of the electronic equipment; determining a current start-up mode matching the current usage mode based on the current usage mode; starting the electronic equipment based on the current starting mode. The electronic equipment power-on detection method and the electronic equipment power-on detection device have the advantages that no matter what usage mode the usage mode of the electronic equipment is in the prior art, normal POST detection is carried out in the power-on process of the electronic equipment, more time is spent, different starting modes can be determined based on different usage modes of the electronic equipment by adopting the scheme, and the POST detection time in different usage modes is reduced, so that the technical problem that the starting mode of the electronic equipment in the prior art is single can be effectively solved, and the technical effect of providing multiple starting modes is achieved.
Secondly, according to the technical scheme in the embodiment, in the starting process of the electronic device, the basic input and output system is directly started from a hard disk of the electronic device, wherein an execution program for detecting the at least one hardware device is in an unexecuted state. In the technical scheme, the electronic equipment is directly started from the hard disk of the electronic equipment, so that the detection of other starting equipment is skipped, and the technical effect of reducing the starting time of the electronic equipment is achieved.
Thirdly, because the current use mode is a tablet mode or a standing mode, the execution program for detecting the entity input device of the electronic equipment is in the non-executed state; or the current use mode is a tent mode, and an execution program for detecting the entity input device and/or the image acquisition unit of the electronic equipment is in the non-executed state. In the technical scheme, when the electronic equipment is in a flat panel mode or a standing mode, detection and initialization of the entity input device can be skipped, and when the electronic equipment is in a tent mode, detection and initialization of the entity input device and/or the image acquisition unit can be skipped, so that the technical effects of further reducing the starting time of the electronic equipment and improving the user experience degree are achieved.
Drawings
Fig. 1 is a flowchart illustrating an implementation of an information processing method according to a first embodiment of the present disclosure;
fig. 2A-2C are schematic diagrams illustrating different usage modes of an electronic device according to a first embodiment of the present application;
fig. 3 is a flowchart of a first implementation of step S103 in an information processing method according to a first embodiment of the present application;
fig. 4 is a flowchart of a second implementation of step S103 in an information processing method according to a first embodiment of the present application;
fig. 5 is a structural diagram of an electronic device provided in the second embodiment of the present application;
fig. 6 is a structural diagram of an electronic device according to three embodiments of the present application.
Detailed Description
The technical scheme provided by the embodiment of the application is used for solving the technical problem that the electronic equipment in the prior art has a single starting mode so as to achieve the technical effect of providing multiple starting modes.
In order to solve the technical problems, the general idea of the embodiment of the application is as follows:
determining that the electronic equipment is in a power-on state;
acquiring a current use mode of the electronic equipment;
determining a current start-up mode matching the current usage mode based on the current usage mode;
starting the electronic equipment based on the current starting mode.
In the technical scheme, the electronic equipment is determined to be in a power-on state; acquiring a current use mode of the electronic equipment; determining a current start-up mode matching the current usage mode based on the current usage mode; starting the electronic equipment based on the current starting mode. The electronic equipment power-on detection method and the electronic equipment power-on detection device have the advantages that no matter what usage mode the usage mode of the electronic equipment is in the prior art, normal POST detection is carried out in the power-on process of the electronic equipment, more time is spent, different starting modes can be determined based on different usage modes of the electronic equipment by adopting the scheme, and the POST detection time in different usage modes is reduced, so that the technical problem that the starting mode of the electronic equipment in the prior art is single can be effectively solved, and the technical effect of providing multiple starting modes is achieved.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are some, not all embodiments of the solution of the invention. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments described in the present application without creative efforts shall fall within the protection scope of the technical solution of the present invention.
Example one
Referring to fig. 1, an information processing method provided in an embodiment of the present application includes:
s101: determining that the electronic equipment is in a power-on state;
s102: acquiring a current use mode of the electronic equipment;
s103: determining a current start-up mode matching the current usage mode based on the current usage mode;
s104: starting the electronic equipment based on the current starting mode.
The information processing method provided by the embodiment of the application can be applied to an electronic device, such as: notebook computers, all-in-one computers, netbooks, and the like, or other electronic devices, are not illustrated here.
In the embodiment of the present application, step S101 is first executed: determining that the electronic device is in a powered-on state.
In a specific implementation process, if the pressing operation of a power key on the electronic equipment is obtained, determining that the electronic equipment is in a power-on state; or after detecting that the voltage value output by the hardware position on the electronic device is the preset voltage value, determining that the electronic device is in the power-on state, or determining that the electronic device is in the power-on state by using other methods, which is not specifically limited in the embodiment of the present application.
After step S102 is executed, step S102 is executed: and acquiring the current use mode of the electronic equipment.
In the specific implementation process of step S102, the following steps are specifically included:
the embedded controller of the electronic equipment acquires at least one parameter information of the electronic equipment through a sensor on the electronic equipment, wherein the at least one parameter information is used for representing the current use mode of the electronic equipment;
the embedded controller acquires the current use mode based on the at least one parameter information and stores the current use mode in a memory of the embedded controller;
and the basic input and output system of the electronic equipment reads the current use mode from the memory.
In this embodiment, it is assumed that the electronic device has a first body provided with a display unit and an image capturing unit and a second body provided with a keyboard, the first body and the second body are connected through a rotating shaft, and the first body and the second body rotate relatively around the rotating shaft, so that the first body and the second body form different angles.
In a specific implementation process, taking the example of respectively providing the angle sensors on the first body and the second body, when the electronic device is in the power-on state, the embedded controller of the electronic device obtains an angle formed between the first body and the second body through the angle sensor of the electronic device, such as: 0-180 degrees; or 225-; or 360 degrees, etc.;
after obtaining the at least one parameter information, determining a current usage mode of the electronic device based on the obtained at least one parameter information, such as: when the angle formed between the first body and the second body is 0-180 degrees, the current use mode of the electronic equipment is a notebook mode; the second body provided with the keyboard is rotated, and when the angle formed between the first body and the second body is 225-360 degrees, the current use mode of the electronic equipment is a standing mode; the second body provided with the display unit and the image acquisition unit is rotated, and when the angle between the first body and the second body is 225-plus-360 degrees, the current use mode of the electronic equipment is the tent mode; when the angle between the first body and the second body is 360 degrees, it indicates that the current usage mode of the electronic device is the tablet mode, please refer to fig. 2A-2C.
In the embodiment of the application, in addition to determining the usage mode of the electronic device by detecting the angle formed between the first body and the second body of the electronic device, the current usage mode of the electronic device may be a display mode or a host mode, where the display mode is a working mode in which the input of the first display unit of the electronic device is output by the second operation of the second electronic device; the host operating mode is an operating mode in which an output of the arithmetic unit of the electronic apparatus is an input of the second display device of the second electronic apparatus.
After the using mode of the electronic equipment is determined, the embedded controller stores the current using mode in a storage unit of the embedded controller, and then a basic input and output system of the electronic equipment reads from the storage unit, namely the current using mode of the electronic equipment can be obtained.
After step S102 is executed, step S103 is executed: based on the current usage pattern, a current startup pattern that matches the current usage pattern is determined.
In the specific implementation process, there are two implementation manners for the specific implementation process of step S103.
In a first implementation manner, please refer to fig. 3, which specifically includes the following steps:
s301: acquiring a corresponding relation between a use mode and a starting mode of the electronic equipment;
s302: and determining the current starting mode matched with the current using mode based on the corresponding relation.
In this embodiment, the one-to-one correspondence table between the usage mode and the activation mode of the electronic device may be set and stored in a memory of the electronic device when the electronic device is shipped from a factory, or stored in a network-side device connected to the electronic device, and acquired from the memory or the network-side electronic device when needed.
In a specific implementation process, the correspondence between the usage mode and the activation mode of the electronic device may be, for example: when the using mode of the electronic equipment is a flat panel mode or a tent mode, the second body and the first body are back to back, the second body is not in the visual field range of a user, at this time, the input function of the keyboard on the second body and the shooting or camera shooting function of the image acquisition unit are locked, namely, the user does not use the keyboard by default, and then in the starting process of the electronic equipment, the detection and initialization of the keyboard and the image acquisition unit of the electronic equipment are skipped.
If the use mode of the electronic equipment is the standing mode, the second body of the electronic equipment is attached to the bearing surface of the object for bearing the electronic equipment, the user can not use the keyboard of the electronic equipment any more, and at the moment, the keyboard function and the image acquisition unit on the second body are locked, so that the detection and initialization of the keyboard and the image acquisition unit of the electronic equipment are skipped in the power-on process of the electronic equipment.
If the usage mode of the electronic equipment is the host usage mode, that is, the display unit output of the electronic equipment cannot be utilized by default, and in the process of powering on the electronic equipment, the detection and initialization of the display unit of the electronic equipment are skipped.
In a specific implementation process, after the current use mode of the electronic device is obtained, the current start mode matched with the current use mode is determined from the corresponding relationship between the use mode and the start mode.
In a second implementation manner, please refer to fig. 4, which specifically includes the following steps:
s401: determining at least one hardware device from the electronic device based on the current usage mode, wherein the at least one hardware device is a hardware device which is not detected by the basic input output system in the starting process of the electronic device;
s402: determining, based on the at least one hardware device, a current activation pattern that matches the current usage pattern.
In the embodiment of the application, the usage mode and the start-up mode of the electronic device may be set when the electronic device is shipped from a factory, or may be determined in real time according to the current usage mode of the electronic device.
In this embodiment, the at least one hardware device is a hardware device that is not initialized by the input/output system during the startup process of the electronic device.
In a specific implementation process, when the electronic device is in different usage modes, functions corresponding to part of hardware devices on the electronic device are locked, and the locked hardware devices are not required to be detected and initialized in a process of powering on the electronic device, so that in an embodiment of the present application, a current start mode of the electronic device may be determined based on the locked hardware devices, for example: when the current use mode of the electronic device is the tablet mode, the keyboard of the electronic device is behind the display unit, the keyboard is not used by the user by default, and the detection and initialization of the keyboard are skipped in the determined current start mode corresponding to the tablet mode.
When the current use mode of the electronic equipment is the display mode, the input of the display is the output of the arithmetic unit of the second electronic equipment connected with the electronic equipment, so that the arithmetic unit of the default electronic equipment is not used, and the detection and the initialization of the arithmetic unit of the electronic equipment which is skipped in the current start mode corresponding to the display mode are determined.
When the current use mode of the electronic equipment is the tent mode, the keyboard and the camera of the electronic equipment are not within the sight range of the user, the keyboard and/or the camera are not used by the default user, and the keyboard and/or the camera are/is skipped to detect and initialize the keyboard and/or the camera in the determined current start mode corresponding to the tent mode.
After step S103 is executed, step S104 is executed: starting the electronic equipment based on the current starting mode.
The specific implementation process of step S104 specifically includes the following steps:
in the starting process of the electronic equipment, the basic input and output system is directly started from a hard disk of the electronic equipment, wherein an execution program for detecting the at least one hardware equipment is in a non-executed state.
In the specific implementation of step S104,
the current use mode is a tablet mode or a standing mode, and an execution program for detecting the entity input device of the electronic equipment is in the non-executed state; or
The current usage mode is a tent mode, and an execution program for detecting the entity input device and/or the image acquisition unit of the electronic equipment is in the non-executed state.
The current use mode is a tablet mode or a standing mode, and an execution program for initializing an entity input device of the electronic equipment is in the non-executed state; or
The current usage mode is a tent mode, and an execution program for detecting the entity input device and/or the image acquisition unit of the electronic equipment is in the non-executed state.
After determining the current starting mode of the electronic equipment, starting the electronic equipment based on the determined current starting mode.
In the embodiment of the application, the electronic equipment is started directly from the hard disk of the electronic equipment, so that the detection of other starting items arranged in the electronic equipment is omitted, and the POST detection time is further reduced. This is because in the actual use process, the electronic device generally includes a plurality of start items, such as: the method comprises the following steps of starting a USB optical drive device, a CDROM optical drive device, a hard disk device and the like, and having a default starting sequence, such as: the method comprises the steps of setting a USB CD-ROM drive equipment starting item as a first starting item, setting a CDROM drive starting item as a second starting item, and setting a hardware equipment starting item as a third starting item, if the first starting item needs to be detected in sequence according to a normal default starting sequence, detecting the second starting item when the first starting item cannot be started, and detecting the third starting item when the second starting item cannot be started, so that more time is usually spent, the technical scheme is directly started from a hard disk, and the starting time can be saved.
In this embodiment of the present application, in a process of directly starting from a hard disk of an electronic device, an execution program for detecting and initializing at least one hardware device is in a non-executed state, and in a specific implementation process, when a current usage mode is a tablet mode or a stand mode, the execution program is used for outputting, to the electronic device, an entity output device, such as: the keyboard and the touchpad are in a non-executed state for detection and initialization; when the current usage mode is the tent mode, the physical output device for the electronic device, such as: a keyboard, a touch pad; an image acquisition unit: the execution program for detecting and initializing the camera is in a non-executed state.
In this embodiment of the present application, in the process of powering on the electronic device, besides skipping the detection and initialization of at least one hardware device to save the POST time, the method may also be controlled to output the prompt information, for example: "Please enter BIOS SETUP page according to F12 or F2" or "Press DEL to enter SETUP" executive is not executed; meanwhile, initialization and the like of a PXE (preboot execution environment) can be skipped, so that POST detection time is further reduced, and user experience is improved.
Example two
An embodiment of the present application further provides an electronic device, please refer to fig. 5, including:
a housing 50;
the embedded controller 51 is arranged in the shell and used for determining that the electronic equipment is in a power-on state; acquiring a current use mode of the electronic equipment;
a basic input/output system chip 52, disposed in the housing, connected to the embedded controller, and configured to determine, based on the current usage mode, a current activation mode matching the current usage mode; starting the electronic equipment based on the current starting mode.
Alternatively to this, the first and second parts may,
the embedded controller 51 acquires at least one parameter information of the electronic device through a sensor in the electronic device, wherein the at least one parameter information is used for representing a current usage mode of the electronic device;
the embedded controller 51 obtains the current usage mode based on the at least one parameter information and stores the current usage mode in a memory of the embedded controller;
the bios chip 52 reads the current usage pattern from the memory.
Optionally, the bios chip 52 is specifically configured to:
acquiring a corresponding relation between a use mode and a starting mode of the electronic equipment;
and determining the current starting mode matched with the current using mode based on the corresponding relation.
Optionally, the bios chip 52 is specifically configured to:
determining at least one hardware device from the electronic device based on the current usage mode, wherein the at least one hardware device is a hardware device which is not detected by the basic input output system in the starting process of the electronic device;
determining, based on the at least one hardware device, a current activation pattern that matches the current usage pattern.
Alternatively to this, the first and second parts may,
in the process of starting the electronic device, the bios chip 52 is directly started from a hard disk of the electronic device, where an execution program for detecting the at least one hardware device is in a non-executed state.
EXAMPLE III
An embodiment of the present application further provides an electronic device, please refer to fig. 6, including:
a first determination unit 60 configured to determine that the electronic device is in a power-on state;
a first obtaining unit 61, configured to obtain a current usage mode of the electronic device;
a second determining unit 62, configured to determine, based on the current usage mode, a current activation mode matching the current usage mode;
a first starting unit 63, configured to start the electronic device based on the current starting mode.
Optionally, the first obtaining unit 61 specifically includes:
the electronic equipment comprises a first acquisition module, a second acquisition module and a control module, wherein the first acquisition module is used for acquiring at least one parameter information of the electronic equipment by an embedded controller of the electronic equipment through a sensor on the electronic equipment, and the at least one parameter information is used for representing the current use mode of the electronic equipment;
a second obtaining module, configured to obtain, by the embedded controller, the current usage mode based on the at least one parameter information
A first storage module for storing the current usage mode in a memory of the embedded controller;
a first reading module, configured to read the current usage mode from the memory by a bios of the electronic device.
Optionally, the second determining unit 62 specifically includes:
the third acquisition module is used for acquiring the corresponding relation between the use mode and the starting mode of the electronic equipment;
and the first determining module is used for determining the current starting mode matched with the current using mode based on the corresponding relation.
Optionally, the second determining unit 62 specifically includes:
a second determining module, configured to determine, based on the current usage mode, at least one hardware device from the electronic device, where the at least one hardware device is a hardware device that is not detected by the bios during a starting process of the electronic device;
a third determining module for determining a current activation mode matching the current usage mode based on the at least one hardware device.
Optionally, the first starting unit 63 specifically includes:
the first starting module is used for starting the basic input and output system directly from a hard disk of the electronic equipment in the starting process of the electronic equipment, wherein an execution program used for detecting the at least one hardware equipment is in a non-executed state.
Through one or more technical solutions in the embodiments of the present application, one or more of the following technical effects can be achieved:
the technical scheme in the embodiment of the application is that the electronic equipment is determined to be in a power-on state; acquiring a current use mode of the electronic equipment; determining a current start-up mode matching the current usage mode based on the current usage mode; starting the electronic equipment based on the current starting mode. The electronic equipment power-on detection method and the electronic equipment power-on detection device have the advantages that no matter what usage mode the usage mode of the electronic equipment is in the prior art, normal POST detection is carried out in the power-on process of the electronic equipment, more time is spent, different starting modes can be determined based on different usage modes of the electronic equipment by adopting the scheme, and the POST detection time in different usage modes is reduced, so that the technical problem that the starting mode of the electronic equipment in the prior art is single can be effectively solved, and the technical effect of providing multiple starting modes is achieved.
Secondly, according to the technical scheme in the embodiment, in the starting process of the electronic device, the basic input and output system is directly started from a hard disk of the electronic device, wherein an execution program for detecting the at least one hardware device is in an unexecuted state. In the technical scheme, the electronic equipment is directly started from the hard disk of the electronic equipment, so that the detection of other starting equipment is skipped, and the technical effect of reducing the starting time of the electronic equipment is achieved.
Thirdly, because the current use mode is a tablet mode or a standing mode, the execution program for detecting the entity input device of the electronic equipment is in the non-executed state; or the current use mode is a tent mode, and an execution program for detecting the entity input device and/or the image acquisition unit of the electronic equipment is in the non-executed state. In the technical scheme, when the electronic equipment is in a flat panel mode or a standing mode, detection and initialization of the entity input device can be skipped, and when the electronic equipment is in a tent mode, detection and initialization of the entity input device and/or the image acquisition unit can be skipped, so that the technical effects of further reducing the starting time of the electronic equipment and improving the user experience degree are achieved.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Specifically, the computer program instructions corresponding to the information processing method in the embodiment of the present application may be stored on a storage medium such as an optical disc, a hard disc, a usb disk, or the like, and when the computer program instructions corresponding to the information processing method in the storage medium are read or executed by an electronic device, the method includes the following steps:
determining that the electronic equipment is in a power-on state;
acquiring a current use mode of the electronic equipment;
determining a current start-up mode matching the current usage mode based on the current usage mode;
starting the electronic equipment based on the current starting mode.
Optionally, the step of storing in the storage medium: the obtaining of the current usage mode of the electronic device, during a specific executed process of a corresponding computer instruction, specifically includes the following steps:
the embedded controller of the electronic equipment acquires at least one parameter information of the electronic equipment through a sensor on the electronic equipment, wherein the at least one parameter information is used for representing the current use mode of the electronic equipment;
the embedded controller acquires the current use mode based on the at least one parameter information and stores the current use mode in a memory of the embedded controller;
and the basic input and output system of the electronic equipment reads the current use mode from the memory.
Optionally, the step of storing in the storage medium: the determining, based on the current usage pattern, a current start-up pattern that matches the current usage pattern, wherein a corresponding computer instruction, in a specific executed process, specifically includes the following steps:
acquiring a corresponding relation between a use mode and a starting mode of the electronic equipment;
and determining the current starting mode matched with the current using mode based on the corresponding relation.
Optionally, the step of storing in the storage medium: the determining, based on the current usage pattern, a current start-up pattern that matches the current usage pattern, wherein a corresponding computer instruction, in a specific executed process, specifically includes the following steps:
determining at least one hardware device from the electronic device based on the current usage mode, wherein the at least one hardware device is a hardware device which is not detected by the basic input output system in the starting process of the electronic device;
determining, based on the at least one hardware device, a current activation pattern that matches the current usage pattern.
Optionally, the step of storing in the storage medium: the starting of the electronic device based on the current starting mode, wherein the corresponding computer instructions specifically include the following steps in the specific executed process:
in the starting process of the electronic equipment, the basic input and output system is directly started from a hard disk of the electronic equipment, wherein an execution program for detecting the at least one hardware equipment is in a non-executed state.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. An information processing method comprising:
determining that the electronic equipment is in a power-on state;
acquiring at least one parameter information of the electronic equipment through a sensor on the electronic equipment, thereby acquiring a current use mode of the electronic equipment;
determining a current start-up mode matching the current usage mode based on the current usage mode;
booting the electronic device based on the current booting mode,
the obtaining of the at least one parameter information of the electronic device, so as to obtain the current usage mode of the electronic device, specifically includes:
the embedded controller of the electronic equipment acquires at least one parameter information of the electronic equipment through a sensor on the electronic equipment, wherein the at least one parameter information is used for representing the current use mode of the electronic equipment;
the embedded controller acquires the current use mode based on the at least one parameter information and stores the current use mode in a memory of the embedded controller;
and the basic input and output system of the electronic equipment reads the current use mode from the memory.
2. The method of claim 1, wherein determining a current activation pattern that matches the current usage pattern based on the current usage pattern comprises:
acquiring a corresponding relation between a use mode and a starting mode of the electronic equipment;
and determining the current starting mode matched with the current using mode based on the corresponding relation.
3. The method of claim 1, wherein determining a current activation pattern that matches the current usage pattern based on the current usage pattern comprises:
determining at least one hardware device from the electronic device based on the current usage mode, wherein the at least one hardware device is a hardware device which is not detected by a basic input output system in a starting process of the electronic device;
determining, based on the at least one hardware device, a current activation pattern that matches the current usage pattern.
4. The method of claim 3, wherein the booting the electronic device based on the current boot mode specifically comprises:
in the starting process of the electronic equipment, the basic input and output system is directly started from a hard disk of the electronic equipment, wherein an execution program for detecting the at least one hardware equipment is in a non-executed state.
5. The method of claim 4,
the current use mode is a tablet mode or a standing mode, and an execution program for detecting the entity input device of the electronic equipment is in the non-executed state; or
The current usage mode is a tent mode, and an execution program for detecting the entity input device and/or the image acquisition unit of the electronic equipment is in the non-executed state.
6. An electronic device, comprising:
a housing;
the embedded controller is arranged in the shell and used for determining that the electronic equipment is in a power-on state;
the sensor acquires at least one parameter information of the electronic equipment, so as to acquire the current use mode of the electronic equipment;
the basic input and output system chip is arranged in the shell, is connected with the embedded controller and is used for determining a current starting mode matched with the current using mode based on the current using mode; booting the electronic device based on the current booting mode,
the embedded controller acquires at least one parameter information of the electronic equipment through a sensor in the electronic equipment, wherein the at least one parameter information is used for representing a current use mode of the electronic equipment;
the embedded controller acquires the current use mode based on the at least one parameter information and stores the current use mode in a memory of the embedded controller;
the BIOS chip reads the current usage pattern from the memory.
7. The electronic device of claim 6, wherein the BIOS chip is specifically configured to:
acquiring a corresponding relation between a use mode and a starting mode of the electronic equipment;
and determining the current starting mode matched with the current using mode based on the corresponding relation.
8. The electronic device of claim 6, wherein the BIOS chip is specifically configured to:
determining at least one hardware device from the electronic device based on the current usage mode, wherein the at least one hardware device is a hardware device which is not detected by a basic input output system in a starting process of the electronic device;
determining, based on the at least one hardware device, a current activation pattern that matches the current usage pattern.
9. The electronic device of claim 8,
in the starting process of the electronic equipment, the basic input and output system chip is directly started from a hard disk of the electronic equipment, wherein an execution program for detecting the at least one hardware equipment is in a non-executed state.
10. An electronic device, comprising:
the first determining unit is used for determining that the electronic equipment is in a power-on state;
the electronic equipment comprises a first acquisition unit, a second acquisition unit and a control unit, wherein the first acquisition unit is used for acquiring at least one parameter information of the electronic equipment so as to acquire the current use mode of the electronic equipment;
a second determining unit, configured to determine, based on the current usage mode, a current start-up mode that matches the current usage mode;
a first activation unit for activating the electronic device based on the current activation mode,
wherein the first acquisition unit includes:
the electronic equipment comprises a first acquisition module, a second acquisition module and a control module, wherein the first acquisition module is used for acquiring at least one parameter information of the electronic equipment by an embedded controller of the electronic equipment through a sensor on the electronic equipment, and the at least one parameter information is used for representing the current use mode of the electronic equipment;
a second obtaining module, configured to obtain, by the embedded controller, the current usage mode based on the at least one parameter information;
a first storage module for storing the current usage mode in a memory of the embedded controller;
a first reading module, configured to read the current usage mode from the memory by a bios of the electronic device.
CN201510642484.4A 2015-09-30 2015-09-30 Information processing method and electronic equipment Active CN105159773B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510642484.4A CN105159773B (en) 2015-09-30 2015-09-30 Information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510642484.4A CN105159773B (en) 2015-09-30 2015-09-30 Information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN105159773A CN105159773A (en) 2015-12-16
CN105159773B true CN105159773B (en) 2021-06-15

Family

ID=54800636

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510642484.4A Active CN105159773B (en) 2015-09-30 2015-09-30 Information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN105159773B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111683801B (en) * 2018-01-16 2022-06-28 住友重机械工业株式会社 Injection molding machine
CN109710319B (en) * 2018-12-06 2022-07-19 郑州云海信息技术有限公司 Method and system for identifying in-place hard disk of computer
CN110286952B (en) * 2019-06-28 2020-11-20 联想(北京)有限公司 Information processing method of electronic equipment and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4530052A (en) * 1982-10-14 1985-07-16 Honeywell Information Systems Inc. Apparatus and method for a data processing unit sharing a plurality of operating systems
CN1737758A (en) * 2004-08-18 2006-02-22 神基科技股份有限公司 Method for starting multimedia function of computer
US20070143590A1 (en) * 2005-12-16 2007-06-21 Hon Hai Precision Industry Co., Ltd. System and method for selecting a first boot device for a computer
CN101765074A (en) * 2008-12-24 2010-06-30 宏达国际电子股份有限公司 Method, device and recording medium for controlling operation pattern of electronic device
CN102263847A (en) * 2010-05-25 2011-11-30 康佳集团股份有限公司 Mobile phone mode selection method and mode-selectable mobile phone
CN103869953A (en) * 2012-12-17 2014-06-18 联想(北京)有限公司 Control method as well as control device and electronic device
CN104052858A (en) * 2013-03-13 2014-09-17 联想移动通信科技有限公司 Method for setting situational pattern of mobile terminal and mobile terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1220941C (en) * 2002-06-19 2005-09-28 联想(北京)有限公司 Method for realizing computer multi-functional starting up
CN1282923C (en) * 2003-03-20 2006-11-01 宏碁股份有限公司 Computer system capable of operating under multiple operation modes and its operation method
CN1254741C (en) * 2003-08-20 2006-05-03 英业达股份有限公司 Method for automatic switching starting-up mode

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4530052A (en) * 1982-10-14 1985-07-16 Honeywell Information Systems Inc. Apparatus and method for a data processing unit sharing a plurality of operating systems
CN1737758A (en) * 2004-08-18 2006-02-22 神基科技股份有限公司 Method for starting multimedia function of computer
US20070143590A1 (en) * 2005-12-16 2007-06-21 Hon Hai Precision Industry Co., Ltd. System and method for selecting a first boot device for a computer
CN101765074A (en) * 2008-12-24 2010-06-30 宏达国际电子股份有限公司 Method, device and recording medium for controlling operation pattern of electronic device
CN102263847A (en) * 2010-05-25 2011-11-30 康佳集团股份有限公司 Mobile phone mode selection method and mode-selectable mobile phone
CN103869953A (en) * 2012-12-17 2014-06-18 联想(北京)有限公司 Control method as well as control device and electronic device
CN104052858A (en) * 2013-03-13 2014-09-17 联想移动通信科技有限公司 Method for setting situational pattern of mobile terminal and mobile terminal

Also Published As

Publication number Publication date
CN105159773A (en) 2015-12-16

Similar Documents

Publication Publication Date Title
US9501291B2 (en) Method and system for providing hybrid-shutdown and fast startup processes
US9098305B2 (en) Computer system and bootup and shutdown method thereof
US8874953B2 (en) System and method of cloud testing and remote monitoring for integrated circuit components in system validation
EP4300448A2 (en) Device power-on method using power button integrated with fingerprint sensor
US9658863B2 (en) Information processing apparatus and control method therefor
US10565418B2 (en) Fingerprint reader on a portion of a device for changing the configuration of the device
CN105159773B (en) Information processing method and electronic equipment
US11599247B2 (en) Information processing apparatus and control method
US20180293080A1 (en) Technology To Facilitate Rapid Booting With High-Speed And Low-Speed Nonvolatile Memory
EP3432180B1 (en) Fingerprint unlocking method and terminal
TW200923658A (en) Detection system for the peripheral apparatus
US9411602B2 (en) Techniques for booting an information processing system
TWI515557B (en) Computer system and control method
US20070118717A1 (en) Information processing apparatus and memory address space assignment method
US20070233995A1 (en) Information processing apparatus and memory address space allocation method
US20220270538A1 (en) Display mode setting determinations
US20140245428A1 (en) Computer and control method thereof
TW201342042A (en) Notebook computer
US20220050688A1 (en) Device state data loading onto rfid chip
US9465944B2 (en) Electronic system, electronic device and method capable of erasing password from basic input/output system automatically
CN101887372B (en) Computer mainboard with built-in configuration display functions in basic input/output system
KR102567368B1 (en) An electronic device and a method for displaying history of use
TW201805854A (en) Fingerprint identification module and fingerprint identification method
WO2020113469A1 (en) Power on self test method, power on self test device and mobile terminal
US20200120616A1 (en) Radio frequency power controls

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