CN106959743B - Control method and electronic equipment - Google Patents

Control method and electronic equipment Download PDF

Info

Publication number
CN106959743B
CN106959743B CN201710196875.7A CN201710196875A CN106959743B CN 106959743 B CN106959743 B CN 106959743B CN 201710196875 A CN201710196875 A CN 201710196875A CN 106959743 B CN106959743 B CN 106959743B
Authority
CN
China
Prior art keywords
mode
electronic equipment
input
information
electronic device
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
CN201710196875.7A
Other languages
Chinese (zh)
Other versions
CN106959743A (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 CN201710196875.7A priority Critical patent/CN106959743B/en
Publication of CN106959743A publication Critical patent/CN106959743A/en
Application granted granted Critical
Publication of CN106959743B publication Critical patent/CN106959743B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3231Monitoring the presence, absence or movement of users
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • G06F1/3265Power saving in display device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/82Protecting input, output or interconnection devices
    • G06F21/84Protecting input, output or interconnection devices output devices, e.g. displays or monitors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The application provides a control method and electronic equipment, wherein when the electronic equipment is in a first mode, the method collects first input of the electronic equipment, and the first input is input capable of switching the electronic equipment from the first mode to a second mode; obtaining first information indicative of a spatial parameter of an electronic device; if the first information meets the first condition, switching the electronic equipment to a second mode; wherein the number of inputs to which the first mode is responsive is less than the number of inputs to which the second mode is responsive; if the first information satisfies the second condition, the electronic device is maintained in the first mode. Therefore, the mode switching of the electronic equipment can be controlled based on the space parameter related information of the electronic equipment, and the electronic equipment is controlled to keep the original mode without responding to input under the specific condition. Therefore, by applying the scheme, the problem of misoperation of the electronic equipment can be effectively solved, mistaken awakening of the screen of the equipment and mistaken starting of the application of the equipment are avoided, and power consumption of the equipment is saved.

Description

Control method and electronic equipment
Technical Field
The invention belongs to the technical field of operation and application of electronic equipment, and particularly relates to a control method and electronic equipment.
Background
At present, electronic devices such as mobile phones and tablet computers are more and more commonly applied.
When the electronic device is used daily, a user often wakes up a screen of the electronic device due to misoperation, so that the power consumption of the device is increased, and even related applications of the device are started by mistake.
For example, when a user puts an electronic device such as a mobile phone into a pocket or a handbag, the user may wake up the screen of the electronic device and directly enter the desktop of the device (for example, when a password and a screen locking function are not set) by touching related components of the electronic device by mistake, or wake up the screen and enter the desktop before the screen locking is started (for example, when the screen is locked in a delayed manner after a screen is blacked), or mistakenly unlock the screen and enter the desktop of the device, or light up the screen without unlocking the screen, and the like, which may easily cause a problem of increasing the power consumption of the device or mistakenly starting related applications of the device.
Disclosure of Invention
In view of the above, an object of the present invention is to provide a control method and an electronic device, which are used to solve the problem of misoperation of the electronic device, so as to save power consumption of the device and prevent false start of the device application.
Therefore, the invention discloses the following technical scheme:
a control method is applied to an electronic device, and the method comprises the following steps:
when the electronic equipment is in a first mode, acquiring first input of the electronic equipment; wherein the first input is an input that can switch the electronic device from the first mode to a second mode;
obtaining first information indicative of a spatial parameter of the electronic device;
if the first information meets a first condition, switching the electronic equipment to the second mode; wherein the number of inputs to which the first mode is responsive is less than the number of inputs to which the second mode is responsive;
if the first information meets a second condition, keeping the electronic equipment in the first mode.
In the above method, preferably, the electronic device includes a display device, and the obtaining of the first information indicating the spatial parameter of the electronic device includes:
obtaining orientation data of the sensing device in a three-dimensional space acquired by the sensing device, wherein at least part of the orientation data can correspond to a direction of content displayable by the display device;
based on the orientation data, orientation information indicative of an orientation of the displayed content is determined.
In the method, preferably, the first mode is a mode in which the display device is in a non-display state, and the second mode is a mode in which the display device is in a display state;
maintaining the electronic device in the first mode if the first information satisfies a second condition includes:
and if the direction indicated by the direction information meets the preset direction, keeping the display device in a non-display state.
In the method, preferably, the first mode is a mode in which the display device is in a non-display state, the second mode is a mode in which the display device is in a display state, and the first input includes second information that can change the access right of the electronic device;
maintaining the electronic device in the first mode if the first information satisfies a second condition includes:
verifying the second information to obtain a verification result;
and if the verification result shows that the second information passes the verification, when the direction indicated by the direction information meets the preset direction, the access authority of the electronic equipment is improved, and the display device is kept in a non-display state.
Preferably, after the raising the access right of the electronic device and maintaining the display device in the non-display state, the method further includes:
and detecting whether the current first information of the electronic equipment meets a first condition within a set first time delay to obtain a detection result, and controlling the electronic equipment to be in a display state if the detection result shows that the current first information meets the first condition.
In the method, preferably, the first mode is a mode in which the display device is in a display state and the electronic apparatus provides a first access right, the second mode is a mode in which the display device is in a display state and the electronic apparatus provides a second access right, the first access right is lower than the second access right, and the first input includes third information that can change the access right of the electronic apparatus;
maintaining the electronic device in the first mode if the first information satisfies a second condition includes:
and if the direction indicated by the direction information meets a preset direction, keeping the display device in a display state, and keeping the electronic equipment to provide the first access right.
An electronic device, comprising:
the acquisition device is used for acquiring a first input of the electronic equipment when the electronic equipment is in a first mode; wherein the first input is an input that can switch the electronic device from the first mode to a second mode;
processing means for performing:
obtaining first information indicative of a spatial parameter of the electronic device;
when the first information meets a first condition, controlling the electronic equipment to switch to the second mode; wherein the number of input types that the first mode can respond to is not greater than the number of input types that the second mode can respond to;
when the first information meets a second condition, the electronic equipment is kept in the first mode.
Preferably, in the electronic device, the electronic device further includes a display device and a sensing device, and the processing device obtains first information indicating a spatial parameter of the electronic device, and the electronic device further includes:
obtaining orientation data of the sensing device in a three-dimensional space acquired by the sensing device, wherein at least part of the orientation data can correspond to a direction of content displayable by the display device;
based on the orientation data, orientation information indicative of an orientation of the displayed content is determined.
In the electronic device, preferably, the first mode is a mode in which the display device is in a non-display state, and the second mode is a mode in which the display device is in a display state;
the processing device, when the first information satisfies a second condition, maintains the electronic device in the first mode, further comprising:
and when the direction indicated by the direction information meets a preset direction, keeping the display device in a non-display state.
In the above electronic device, preferably, the electronic device further includes a storage device, configured to store predetermined verification reference information, where the first mode is a mode in which the display device is in a non-display state, the second mode is a mode in which the display device is in a display state, and the first input includes second information that can change an access right of the electronic device;
the processing device, when the first information satisfies a second condition, maintains the electronic device in the first mode, further comprising:
verifying the second information by using the verification reference information to obtain a verification result;
and if the verification result shows that the second information passes the verification, when the direction indicated by the direction information meets the preset direction, the access authority of the electronic equipment is improved, and the display device is kept in a non-display state.
According to the scheme, when the electronic equipment is in the first mode, the control method and the electronic equipment collect first input of the electronic equipment, wherein the first input is input capable of switching the electronic equipment from the first mode to the second mode; obtaining first information indicative of a spatial parameter of an electronic device; if the first information meets a first condition, switching the electronic equipment to a second mode; wherein the number of inputs to which the first mode is responsive is less than the number of inputs to which the second mode is responsive; and if the first information meets a second condition, keeping the electronic equipment in the first mode. Therefore, the method and the device can control the mode switching of the electronic equipment based on the space parameter related information of the electronic equipment, control the electronic equipment not to respond to input under the specific condition, and keep the original mode. Therefore, by applying the scheme, the problem of misoperation of the electronic equipment can be effectively solved, mistaken awakening of the screen of the equipment and mistaken starting of the application of the equipment are avoided, and power consumption of the equipment is saved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flow chart of a first embodiment of a control method provided by the present application;
fig. 2 is a flowchart of a second embodiment of a control method provided in the present application;
fig. 3 is a schematic diagram illustrating a top of content that can be displayed by a display device of an electronic apparatus according to a second embodiment of the present application facing the ground;
fig. 4 is a schematic diagram of a plane of contents that can be displayed by a display device of an electronic device according to a second embodiment of the present application;
fig. 5 is a flowchart of a third embodiment of a control method provided in the present application;
FIG. 6 is a flowchart of a fourth embodiment of a control method provided in the present application;
fig. 7 is a flowchart of a fifth embodiment of a control method provided in the present application;
fig. 8 is a schematic structural diagram of a sixth embodiment of an electronic device provided in the present application;
fig. 9 is a schematic structural diagram of a seventh embodiment of an electronic device provided in the present application;
fig. 10 is a schematic structural diagram of an eighth embodiment of an electronic device provided in the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
An embodiment of the present invention provides a control method, which may be applied to an electronic device, where the electronic device may be a smart phone, a tablet computer, or the like, and with reference to a flowchart of a first embodiment of the control method shown in fig. 1, the method may include the following steps:
step 101, when an electronic device is in a first mode, collecting a first input of the electronic device; wherein the first input is an input that can switch the electronic device from the first mode to a second mode.
Aiming at the problem of misoperation of the electronic equipment, such as mistaken awakening of a screen of the electronic equipment, mistaken starting of equipment application and the like, the method and the device solve the problem by respectively taking states of the electronic equipment before and after user operation (such as awakening screen operation, unlocking operation and the like) as two different modes and performing mode switching control on the electronic equipment.
Based on this, the first mode and the second mode may be modes in which the electronic device is located before and after responding to the corresponding input of the user, specifically, for example, the first mode may be a mode in a non-display state corresponding to the electronic device being in a blank screen, and the second mode may be a mode in a display state corresponding to the electronic device being in a lit screen; or, the first mode may also be a mode in which the electronic device is in a display state and is provided with a first access right when the electronic device is blank and is not unlocked/decrypted, and the second mode may be a mode in which the electronic device is in a display state and is provided with a second access right when the electronic device is blank and is unlocked/decrypted. The first mode and the second mode may be specifically determined according to the misoperation condition of the electronic device in the real application scene, and are not limited to the above explanation of the embodiment.
And the number of inputs to which the first mode is responsive is less than the number of inputs to which the second mode is responsive. For example, when the first mode and the second mode are a mode in which the electronic device is in a non-display state and a mode in a display state, respectively, the first mode may respond to an input triggered by a user's wake-up screen operation, or may also respond to some shortcut operations, such as an input triggered by an operation to quickly start a camera, and the like; and the second mode corresponding to the display state, assuming that the second mode is specifically the display state and the non-unlock mode of the electronic device, the inputs that the second mode can respond to include an unlock input triggered by an unlock operation, a close screen input triggered by a close screen operation, and may also include an input triggered by the shortcut operation, and the like, assuming that the second mode is specifically the display state and the unlock mode of the electronic device, the inputs that the second mode can respond to include an input triggered by various application operations, an input triggered by various shortcut operations, and the like.
Correspondingly, when the electronic device is in the first mode, the collected first input of the electronic device is an input capable of switching the electronic device from the first mode to the second mode, for example, the first input may be specifically a wake-up screen input triggered and generated by a user operating a corresponding key (e.g., a power key) or a touch portion of the electronic device, or may also be password information or unlocking information generated by the user performing a password input operation or an unlocking operation.
Step 102, first information indicating a spatial parameter of the electronic device is obtained.
The first information indicating the spatial parameter of the electronic device may be orientation data of the electronic device in a three-dimensional space.
The orientation data of the electronic device in the three-dimensional space can be acquired by using a corresponding sensing device, for example, the orientation data can be acquired by using a gravity sensor or a gyroscope.
Step 103, if the first information meets a first condition, switching the electronic equipment to the second mode; wherein the number of inputs to which the first mode is responsive is less than the number of inputs to which the second mode is responsive.
The first condition is a predetermined judgment condition for the spatial parameter information of the electronic device, which can indicate that the first input of the user is not the input triggered based on the misoperation, so that when the electronic device is in the first mode and receives the first input of the user, whether the first input is the input triggered based on the misoperation can be determined through the comparison result of the first information (such as the orientation data) of the electronic device and the first condition.
If the first information meets the first condition, it indicates that the first input is not an input triggered by a misoperation of a user, and therefore, the electronic device may be controlled to switch from the current first mode to the second mode according to the first input, for example, the electronic device may be switched from the first mode corresponding to a non-display state (black screen) to the second mode corresponding to a display state (bright screen) according to a wake-up screen input of the user, and so on.
And step 104, if the first information meets a second condition, keeping the electronic equipment in the first mode.
The second condition is another predetermined judgment condition for the spatial parameter information of the electronic device, and the condition can indicate that the first input of the user is the input triggered by the misoperation, so that when the electronic device is in the first mode and receives the first input of the user, whether the first input is the input triggered by the misoperation can be determined through the comparison result of the first information (such as the orientation data) of the electronic device and the second condition.
If the first information meets the second condition, it indicates that the first input is an input triggered by a user's misoperation, and in this case, the embodiment does not respond to the first input of the user or does not completely respond to the first input of the user, continues to maintain the electronic device in the first mode, such as does not respond to a user's wakeup screen input, continues to maintain the electronic device in a non-display state mode, and so on.
In practical applications, the second condition may be specifically set as a non-first condition, or the first condition may also be set as a non-second condition.
According to the scheme, when the electronic equipment is in the first mode, the control method and the electronic equipment collect first input of the electronic equipment, wherein the first input is input capable of switching the electronic equipment from the first mode to the second mode; obtaining first information indicative of a spatial parameter of an electronic device; if the first information meets a first condition, switching the electronic equipment to a second mode; wherein the number of inputs to which the first mode is responsive is less than the number of inputs to which the second mode is responsive; and if the first information meets a second condition, keeping the electronic equipment in the first mode. Therefore, the method and the device can control the mode switching of the electronic equipment based on the space parameter related information of the electronic equipment, control the electronic equipment not to respond to input under the specific condition, and keep the original mode. Therefore, by applying the scheme, the problem of misoperation of the electronic equipment can be effectively solved, mistaken awakening of the screen of the equipment and mistaken starting of the application of the equipment are avoided, and power consumption of the equipment is saved.
Example two
In this embodiment, the electronic device includes a display device, which may be a display screen of the electronic device, where the first mode is a mode in which the display device is in a non-display state, and the second mode is a mode in which the display device is in a display state, for example, the first mode and the second mode may be a mode in which the display screen is in a black screen and a mode in which the display screen is in a bright screen respectively under the condition that the electronic device is not provided with a password and a screen locking function; the mode that the display screen is in a black screen mode and is not locked (screen locking is delayed after the screen is black) and the mode that the display screen is in a bright screen mode and is not locked can be respectively adopted when the electronic equipment is provided with the password and the screen locking function; the method can also be used for setting the password and the screen locking function of the electronic equipment, and respectively setting the display screen in a mode of locking the screen when the display screen is in a blank screen mode, and setting the display screen in a mode of locking the screen when the display screen is in a bright screen mode or not locking the screen when the display screen is in a bright screen mode, and the like.
On this basis, referring to a flowchart of a second embodiment of the control method shown in fig. 2, in this embodiment, the control method may further be implemented by the following processing procedures:
step 201, when an electronic device is in a first mode, collecting a first input of the electronic device; wherein the first input is an input that can switch the electronic device from the first mode to a second mode.
Specifically, when the electronic device is in the non-display mode, the first input of the electronic device may be, but is not limited to, an input for lighting a display device of the electronic device, such as an input for lighting a display screen of the electronic device triggered by pressing a power key on the side of the electronic device.
Step 202, obtaining orientation data of the sensing device in a three-dimensional space, wherein the orientation data is collected by the sensing device, and at least part of the orientation data can correspond to the direction of content capable of being displayed by the display device.
The sensing device may be a gravity sensor, a gyroscope, or the like, and may be integrated into the electronic device in advance during actual implementation.
In the face of various problems caused by misoperation of the electronic equipment, the embodiment considers direction information corresponding to the direction of the content capable of being displayed by the display device as first information capable of indicating a spatial parameter of the electronic equipment to identify whether the first input of the electronic equipment is an input triggered based on the misoperation.
Based on this, in this step, at least part of the orientation data of the sensing device in the three-dimensional space collected by the sensing device should correspond to the direction of the content that should be displayed by the display device. For example, the directions of the contents that can be displayed by the display device, etc. are corresponded with the component forces thereof in the three coordinate axis directions of the spatial coordinate system, or the component forces in the two coordinate axis directions thereof, which are detected by the gravity sensor.
Step 203, determining direction information indicating the direction of the displayed content based on the orientation data.
On the basis of obtaining the orientation data of the sensing device in the three-dimensional space, the orientation data can be analyzed, for example, the component forces in the three coordinate axis directions of the space, which are collected by the gravity sensor, are analyzed, so as to determine the direction information and the like corresponding to the direction of the content which can be displayed by the display device.
And step 204, if the direction indicated by the direction information meets a preset direction, keeping the display device in a non-display state.
The predetermined direction is a preset direction capable of indicating that the first input of the electronic device is the misoperation input, and specifically, for example, when the top of the content that can be displayed by the display device of the electronic device faces the ground, as shown in fig. 3, or when the plane of the content that can be displayed by the display device of the electronic device faces the ground, as shown in fig. 4, because the content that can be displayed by the display device assumes an inverted state with the top facing the ground (with the top of the display screen facing the ground), or assumes an inverted state with the plane of the display content facing the ground (with the plane of the display screen facing the ground), the normal viewing characteristics of people viewing the content displayed by the electronic device in general are not met, so that the two directions can be considered as the predetermined direction for indicating that the first input of the user is the misoperation input. The predetermined direction may be preset by a technician before the device leaves a factory, or may be set by a user based on actual requirements during the process of using the electronic device, which is not limited in this embodiment.
Based on this, when the direction indicated by the direction information satisfies the predetermined direction, the first input indicating that the electronic device is an input triggered based on a user's misoperation is performed, so that it is not necessary to respond to the input, that is, it is not necessary to light the display screen of the electronic device according to the first input, and it is sufficient to keep the display screen in a non-display state. On the contrary, if the direction indicated by the direction information does not meet the preset direction, the first input of the electronic equipment is not the input triggered by the misoperation of the user, so that the screen of the electronic equipment can be lightened in normal response to the first input.
In the second embodiment, when the electronic device is in the non-display state and receives a first input of a user for lighting the display device, if a direction of a content that can be displayed by the display device of the electronic device conforms to a predetermined direction indicating that the first input of the user is a wrong operation input, the first input is not responded, so that the wrong lighting and wrong wake-up of the screen of the electronic device are avoided, and the device application cannot be started by mistake.
EXAMPLE III
In this embodiment, the electronic device includes a display device, which may be a display screen of the electronic device, where the first mode is a mode in which the display device is in a non-display state, the second mode is a mode in which the display device is in a display state, and the first input includes second information that can change an access right of the electronic device; for example, the first mode may be a mode in which the electronic device is in a black-screen un-unlocked/un-decrypted or black-screen unlocked/decrypted state, and the second mode may be a mode in which the electronic device is in a bright-screen and unlocked/decrypted state.
On this basis, referring to a flowchart of a third embodiment of the control method shown in fig. 5, in this embodiment, the control method may further be implemented by the following processing procedures:
step 501, when an electronic device is in a first mode, collecting a first input of the electronic device; wherein the first input is an input that can switch the electronic device from the first mode to a second mode.
The first input comprises second information capable of changing the access authority of the electronic device, for example, the first information may comprise decryption password information of a display screen of the electronic device, and the like. More specifically, for example, assuming that a fingerprint sensor is disposed in a certain area of the back or front of the electronic device, the second information included in the first input may be user fingerprint data for decryption, which is input by a user by touching the fingerprint sensor of the electronic device when the electronic device is in a non-display state.
Step 502, obtaining orientation data of a sensing device in a three-dimensional space, wherein the orientation data is collected by the sensing device, and at least part of the orientation data can correspond to a direction of content capable of being displayed by a display device.
The sensing device may be a gravity sensor, a gyroscope, or the like, and may be integrated into the electronic device in advance during actual implementation.
In the face of various problems caused by misoperation of the electronic equipment, the embodiment considers direction information corresponding to the direction of the content capable of being displayed by the display device as first information capable of indicating a spatial parameter of the electronic equipment to identify whether the first input of the electronic equipment is an input triggered based on the misoperation.
Based on this, in this step, at least part of the orientation data of the sensing device in the three-dimensional space collected by the sensing device should correspond to the direction of the content that should be displayed by the display device. For example, the directions of the contents that can be displayed by the display device, etc. are corresponded with the component forces thereof in the three coordinate axis directions of the spatial coordinate system, or the component forces in the two coordinate axis directions thereof, which are detected by the gravity sensor.
Step 503, determining direction information indicating the direction of the displayed content based on the orientation data.
On the basis of obtaining the orientation data of the sensing device in the three-dimensional space, the orientation data can be analyzed, for example, the component forces in the three coordinate axis directions of the space, which are collected by the gravity sensor, are analyzed, so as to determine the direction information and the like corresponding to the direction of the content which can be displayed by the display device.
And step 504, verifying the second information to obtain a verification result.
On the basis of the above steps, the step verifies second information which can change the access authority of the electronic device and is included in the input information, taking the second information as fingerprint data input by a user through a fingerprint sensor as an example, the fingerprint data input this time can be verified by using a reference fingerprint registered in advance by the user, and a verification result is obtained.
Specifically, the verification may be implemented by comparing whether the two are consistent, and if the fingerprint data input by the user through the fingerprint sensor is consistent with the pre-stored reference fingerprint, the fingerprint of the user passes the verification, otherwise, if the two are not consistent, the fingerprint of the user fails the verification.
And 505, if the verification result shows that the second information passes the verification, if the direction indicated by the direction information meets a predetermined direction, promoting the access right of the electronic equipment, and keeping the display device in a non-display state.
The predetermined direction is a preset direction capable of indicating that the first input of the electronic device is the misoperation input, and specifically, for example, when the top of the content that can be displayed by the display device of the electronic device faces the ground, as shown in fig. 3, or when the plane of the content that can be displayed by the display device of the electronic device faces the ground, as shown in fig. 4, because the content that can be displayed by the display device assumes an inverted state with the top facing the ground (with the top of the display screen facing the ground), or assumes an inverted state with the plane of the display content facing the ground (with the plane of the display screen facing the ground), the normal viewing characteristics of people viewing the content displayed by the electronic device in general are not met, so that the two directions can be considered as the predetermined direction for indicating that the first input of the user is the misoperation input. The predetermined direction may be preset by a technician before the device leaves a factory, or may be set by a user based on actual requirements during the process of using the electronic device, which is not limited in this embodiment.
If the verification result indicates that the second information passes the verification, the access right of the electronic device may be promoted according to the second information, for example, when the user fingerprint data input by the user through the fingerprint sensor passes the verification, the electronic device is promoted from the right in the undecrypted state to the right after the decryption, and the like. But if the direction indicated by the direction information satisfies the predetermined direction, the mode in which the electronic device is in the non-display state, i.e. the electronic device is in the decrypted and non-display state, is still maintained since the first input is still recognized as the input triggered based on the misoperation. On the contrary, if the direction indicated by the direction information does not satisfy the predetermined direction, the electronic device can be switched to the mode of the display state while the electronic device is unlocked and the access right of the electronic device is promoted.
In the third embodiment, when the electronic device is in a non-display state and receives a first input of a user for changing the access right of the electronic device, if the second information included in the first input and capable of changing the access right of the electronic device passes verification, but the direction of the content capable of being displayed by the display device of the electronic device conforms to a predetermined direction indicating that the first input of the user is a misoperation input, the electronic device is still kept in the non-display state while the access right of the electronic device is changed, so that false lighting and false wake-up of a screen of the electronic device are avoided, and false starting of device application is avoided.
Example four
On the basis of the third embodiment, referring to the flowchart of the fourth embodiment of the control method shown in fig. 6, the method may further include the following steps:
step 506, in the set first time delay, detecting whether the current first information of the electronic equipment meets a first condition to obtain a detection result, and if the detection result indicates that the current first information meets the first condition, controlling the electronic equipment to be in a display state.
In the third embodiment, after the access right of the electronic device is raised and the display device is kept in the non-display state, whether the current first information of the electronic device satisfies the first condition may be continuously detected within a set first time delay (e.g., 5s), and if the first condition is a non-second condition, as an example, whether the current first information of the electronic device satisfies the first condition may be detected, that is, whether the direction information of the direction of the content that can be displayed by the display device of the electronic device satisfies the predetermined direction, and if the predetermined direction is not satisfied, the first condition is satisfied, and from the perspective of the user, the direction of the content that can be displayed by the display device of the electronic device is represented, and a direction that does not conform to the normal viewing characteristics of the user, such as the top of the content faces the ground or the plane where the content is located faces the ground, is not presented, in this case, it may be considered that the first input including the second information that is collected recently is not an input triggered by a misoperation of the user, so that the electronic device may be switched from the mode in the non-display state to the mode in the display state on the basis that the electronic access right has been raised according to the second information, for example, on the basis that the electronic access right has been decrypted.
Specifically, for example, in the case where the electronic device is decrypted (e.g., fingerprint decryption) but the screen of the electronic device is not lit according to the third embodiment, if the direction information of the direction of the content displayable by the display screen of the electronic device is detected within a set certain time delay and the predetermined direction is not satisfied, the mode switching control may be performed on the electronic device to switch the electronic device from the previous non-display state to the display state, and more specifically, for example, in the case where the user takes the mobile phone out of the pocket and directly touches the fingerprint sensor to perform decryption during the taking-out process, assuming that the direction of the content displayable by the display screen of the electronic device at the moment of fingerprint touch corresponds to the predetermined direction, the electronic device is decrypted first according to the fingerprint of the user but the screen is not lit, and subsequently, when the user performs direction adjustment on the electronic device, and when the direction of the content displayed by the display screen does not accord with the preset direction, lightening the screen of the electronic equipment to ensure that the electronic equipment is in a state of decrypting and lightening the screen for the user to use.
EXAMPLE five
In this embodiment, the electronic device includes a display device, which may be a display screen of the electronic device, where the first mode is a mode in which the display device is in a display state and the electronic device provides a first access right, the second mode is a mode in which the display device is in the display state and the electronic device provides a second access right, the first access right is lower than the second access right, and the first input includes third information that can change the access right of the electronic device.
Referring to the flowchart of a fifth embodiment of the control method shown in fig. 7, in this embodiment, the control method may further be implemented by the following processing procedures:
step 701, when an electronic device is in a first mode, acquiring a first input of the electronic device; wherein the first input is an input that can switch the electronic device from the first mode to a second mode.
The first mode, in particular, may be, for example, a mode in which the electronic device is in a bright screen but not unlocked/decrypted state, and the second mode may accordingly be a mode in which the electronic device is in a bright screen and unlocked/decrypted state, and obviously, the access right of the first mode is lower than that of the second mode. Based on this, when the electronic device is in the first mode, the third information, which is included in the collected first input and can change the access right of the electronic device, may specifically be information for unlocking/decrypting the electronic device.
Step 702, obtaining orientation data of the sensing device in a three-dimensional space, wherein the orientation data is collected by the sensing device, and at least part of the orientation data can correspond to a direction of content capable of being displayed by the display device.
The sensing device may be a gravity sensor, a gyroscope, or the like, and may be integrated into the electronic device in advance during actual implementation.
In the face of various problems caused by misoperation of the electronic equipment, the embodiment considers direction information corresponding to the direction of the content capable of being displayed by the display device as first information capable of indicating a spatial parameter of the electronic equipment to identify whether the first input of the electronic equipment is an input triggered based on the misoperation.
Based on this, in this step, at least part of the orientation data of the sensing device in the three-dimensional space collected by the sensing device should correspond to the direction of the content that should be displayed by the display device. For example, the directions of the contents that can be displayed by the display device, etc. are corresponded with the component forces thereof in the three coordinate axis directions of the spatial coordinate system, or the component forces in the two coordinate axis directions thereof, which are detected by the gravity sensor.
Step 703, determining direction information indicating a direction of the displayed content based on the orientation data.
On the basis of obtaining the orientation data of the sensing device in the three-dimensional space, the orientation data can be analyzed, for example, the component forces in the three coordinate axis directions of the space, which are collected by the gravity sensor, are analyzed, so as to determine the direction information and the like corresponding to the direction which can indicate the content that can be displayed by the display device.
Step 704, if the direction indicated by the direction information satisfies a predetermined direction, keeping the display device in a display state, and keeping the electronic device providing the first access right.
The predetermined direction is a preset direction capable of indicating that the first input of the electronic device is the misoperation input, and specifically, for example, when the top of the content that can be displayed by the display device of the electronic device faces the ground, as shown in fig. 3, or when the plane of the content that can be displayed by the display device of the electronic device faces the ground, as shown in fig. 4, because the content that can be displayed by the display device assumes an inverted state with the top facing the ground (with the top of the display screen facing the ground), or assumes an inverted state with the plane of the display content facing the ground (with the plane of the display screen facing the ground), the normal viewing characteristics of people viewing the content displayed by the electronic device in general are not met, so that the two directions can be considered as the predetermined direction for indicating that the first input of the user is the misoperation input. The predetermined direction may be preset by a technician before the device leaves a factory, or may be set by a user based on actual requirements during the process of using the electronic device, which is not limited in this embodiment.
Therefore, if the direction indicated by the direction information (the direction of the content that can be displayed by the display device of the electronic device) satisfies the predetermined direction, it indicates that the first input is an input triggered based on a misoperation, in this case, in this embodiment, the electronic device does not respond to the first input, and does not perform an operation of decrypting/unlocking the electronic device, that is, keeps the display device of the electronic device in a display state, and keeps the electronic device providing the first access right.
On the basis of avoiding mistaken lighting of the device screen or mistaken starting of the device application through the solutions of the embodiments of the present application, in practical applications, for convenience of use by a user, the solution of forcibly lighting the device screen may be expanded, for example, for the device space state in fig. 4, when the user normally operates the electronic device in a lying scene, the user operation may be determined as a false operation according to the preset predetermined direction, so that the user may forcibly light the screen by executing the operation of forcibly lighting the screen to enter the device.
EXAMPLE six
The sixth embodiment of the present invention provides an electronic device, where the electronic device may be a smart phone, a tablet computer, or the like, and referring to a schematic structural diagram of a sixth embodiment of the electronic device shown in fig. 8, the electronic device may include a collecting device 1 and a processing device 2.
The acquisition device 1 is used for acquiring a first input of the electronic equipment when the electronic equipment is in a first mode; wherein the first input is an input that can switch the electronic device from the first mode to a second mode.
Aiming at the problem of misoperation of the electronic equipment, such as mistaken awakening of a screen of the electronic equipment, mistaken starting of equipment application and the like, the method and the device solve the problem by respectively taking states of the electronic equipment before and after user operation (such as awakening screen operation, unlocking operation and the like) as two different modes and performing mode switching control on the electronic equipment.
Based on this, the first mode and the second mode may be modes in which the electronic device is located before and after responding to the corresponding input of the user, specifically, for example, the first mode may be a mode in a non-display state corresponding to the electronic device being in a blank screen, and the second mode may be a mode in a display state corresponding to the electronic device being in a lit screen; or, the first mode may also be a mode in which the electronic device is in a display state and is provided with a first access right when the electronic device is blank and is not unlocked/decrypted, and the second mode may be a mode in which the electronic device is in a display state and is provided with a second access right when the electronic device is blank and is unlocked/decrypted. The first mode and the second mode may be specifically determined according to the misoperation condition of the electronic device in the real application scene, and are not limited to the above explanation of the embodiment.
And the number of inputs to which the first mode is responsive is less than the number of inputs to which the second mode is responsive. For example, when the first mode and the second mode are a mode in which the electronic device is in a non-display state and a mode in a display state, respectively, the first mode may respond to an input triggered by a user's wake-up screen operation, or may also respond to some shortcut operations, such as an input triggered by an operation to quickly start a camera, and the like; and the second mode corresponding to the display state, assuming that the second mode is specifically the display state and the non-unlock mode of the electronic device, the inputs that the second mode can respond to include an unlock input triggered by an unlock operation, a close screen input triggered by a close screen operation, and may also include an input triggered by the shortcut operation, and the like, assuming that the second mode is specifically the display state and the unlock mode of the electronic device, the inputs that the second mode can respond to include an input triggered by various application operations, an input triggered by various shortcut operations, and the like.
Correspondingly, when the electronic device is in the first mode, the collected first input of the electronic device is an input capable of switching the electronic device from the first mode to the second mode, for example, the first input may be specifically a wake-up screen input triggered and generated by a user operating a corresponding key (e.g., a power key) or a touch portion of the electronic device, or may also be password information or unlocking information generated by the user performing a password input operation or an unlocking operation.
Processing means 2, said processing means 2 being adapted to perform: obtaining first information indicative of a spatial parameter of the electronic device; when the first information meets a first condition, controlling the electronic equipment to switch to the second mode; wherein the number of input types that the first mode can respond to is not greater than the number of input types that the second mode can respond to.
The first information indicating the spatial parameter of the electronic device may be orientation data of the electronic device in a three-dimensional space.
The orientation data of the electronic device in the three-dimensional space can be acquired by using a corresponding sensing device, for example, the orientation data can be acquired by using a gravity sensor or a gyroscope.
The first condition is a predetermined judgment condition for the spatial parameter information of the electronic device, which can indicate that the first input of the user is not the input triggered based on the misoperation, so that when the electronic device is in the first mode and receives the first input of the user, whether the first input is the input triggered based on the misoperation can be determined through the comparison result of the first information (such as the orientation data) of the electronic device and the first condition.
If the first information meets the first condition, it indicates that the first input is not an input triggered by a misoperation of a user, and therefore, the electronic device may be controlled to switch from the current first mode to the second mode according to the first input, for example, the electronic device may be switched from the first mode corresponding to a non-display state (black screen) to the second mode corresponding to a display state (bright screen) according to a wake-up screen input of the user, and so on.
The second condition is another predetermined judgment condition for the spatial parameter information of the electronic device, and the condition can indicate that the first input of the user is the input triggered by the misoperation, so that when the electronic device is in the first mode and receives the first input of the user, whether the first input is the input triggered by the misoperation can be determined through the comparison result of the first information (such as the orientation data) of the electronic device and the second condition.
If the first information meets the second condition, it indicates that the first input is an input triggered by a user's misoperation, and in this case, the embodiment does not respond to the first input of the user or does not completely respond to the first input of the user, continues to maintain the electronic device in the first mode, such as does not respond to a user's wakeup screen input, continues to maintain the electronic device in a non-display state mode, and so on.
In practical applications, the second condition may be specifically set as a non-first condition, or the first condition may also be set as a non-second condition.
According to the scheme, when the electronic equipment is in the first mode, the control method and the electronic equipment collect first input of the electronic equipment, wherein the first input is input capable of switching the electronic equipment from the first mode to the second mode; obtaining first information indicative of a spatial parameter of an electronic device; if the first information meets a first condition, switching the electronic equipment to a second mode; wherein the number of inputs to which the first mode is responsive is less than the number of inputs to which the second mode is responsive; and if the first information meets a second condition, keeping the electronic equipment in the first mode. Therefore, the method and the device can control the mode switching of the electronic equipment based on the space parameter related information of the electronic equipment, control the electronic equipment not to respond to input under the specific condition, and keep the original mode. Therefore, by applying the scheme, the problem of misoperation of the electronic equipment can be effectively solved, mistaken awakening of the screen of the equipment and mistaken starting of the application of the equipment are avoided, and power consumption of the equipment is saved.
EXAMPLE seven
In this embodiment, referring to a schematic structural diagram of a seventh embodiment of an electronic device shown in fig. 9, the electronic device further includes a display device 3, where the display device may specifically be a display screen of the electronic device, the first mode is a mode in which the display device is in a non-display state, and the second mode is a mode in which the display device is in a display state, for example, specifically, the first mode and the second mode may be a mode in which the display screen is in a black screen and a mode in which the display screen is in a bright screen respectively under the condition that the electronic device does not set a password and a screen locking function; the mode that the display screen is in a black screen mode and is not locked (screen locking is delayed after the screen is black) and the mode that the display screen is in a bright screen mode and is not locked can be respectively adopted when the electronic equipment is provided with the password and the screen locking function; the method can also be used for setting the password and the screen locking function of the electronic equipment, and respectively setting the display screen in a mode of locking the screen when the display screen is in a blank screen mode, and setting the display screen in a mode of locking the screen when the display screen is in a bright screen mode or not locking the screen when the display screen is in a bright screen mode, and the like.
On this basis, in this embodiment, the processing apparatus may specifically execute the following processing procedures:
when the electronic equipment is in a first mode, acquiring first input of the electronic equipment; wherein the first input is an input that can switch the electronic device from the first mode to a second mode; obtaining orientation data of the sensing device in a three-dimensional space acquired by the sensing device, wherein at least part of the orientation data can correspond to a direction of content displayable by the display device; determining orientation information indicative of an orientation of the displayed content based on the orientation data; and if the direction indicated by the direction information meets the preset direction, keeping the display device in a non-display state.
Specifically, when the electronic device is in the non-display mode, the first input of the electronic device may be, but is not limited to, an input for lighting a display device of the electronic device, such as an input for lighting a display screen of the electronic device triggered by pressing a power key on the side of the electronic device.
The sensing device may be a gravity sensor, a gyroscope, or the like, and may be integrated into the electronic device in advance during actual implementation.
In the face of various problems caused by misoperation of the electronic equipment, the embodiment considers direction information corresponding to the direction of the content capable of being displayed by the display device as first information capable of indicating a spatial parameter of the electronic equipment to identify whether the first input of the electronic equipment is an input triggered based on the misoperation.
Based on this, at least part of the orientation data of the sensing device in the three-dimensional space, which is collected by the sensing device, should correspond to the direction of the content that should be displayed by the display device. For example, the directions of the contents that can be displayed by the display device, etc. are corresponded with the component forces thereof in the three coordinate axis directions of the spatial coordinate system, or the component forces in the two coordinate axis directions thereof, which are detected by the gravity sensor.
On the basis of obtaining the orientation data of the sensing device in the three-dimensional space, the orientation data can be analyzed, for example, the component forces in the three coordinate axis directions of the space, which are collected by the gravity sensor, are analyzed, so as to determine the direction information and the like corresponding to the direction of the content which can be displayed by the display device.
The predetermined direction is a preset direction capable of indicating that the first input of the electronic device is the misoperation input, and specifically, for example, when the top of the content that can be displayed by the display device of the electronic device faces the ground, as shown in fig. 3, or when the plane of the content that can be displayed by the display device of the electronic device faces the ground, as shown in fig. 4, because the content that can be displayed by the display device assumes an inverted state with the top facing the ground (with the top of the display screen facing the ground), or assumes an inverted state with the plane of the display content facing the ground (with the plane of the display screen facing the ground), the normal viewing characteristics of people viewing the content displayed by the electronic device in general are not met, so that the two directions can be considered as the predetermined direction for indicating that the first input of the user is the misoperation input. The predetermined direction may be preset by a technician before the device leaves a factory, or may be set by a user based on actual requirements during the process of using the electronic device, which is not limited in this embodiment.
Based on this, when the direction indicated by the direction information satisfies the predetermined direction, the first input indicating that the electronic device is an input triggered based on a user's misoperation is performed, so that it is not necessary to respond to the input, that is, it is not necessary to light the display screen of the electronic device according to the first input, and it is sufficient to keep the display screen in a non-display state. On the contrary, if the direction indicated by the direction information does not meet the preset direction, the first input of the electronic equipment is not the input triggered by the misoperation of the user, so that the screen of the electronic equipment can be lightened in normal response to the first input.
In the second embodiment, when the electronic device is in the non-display state and receives a first input of a user for lighting the display device, if a direction of a content that can be displayed by the display device of the electronic device conforms to a predetermined direction indicating that the first input of the user is a wrong operation input, the first input is not responded, so that the wrong lighting and wrong wake-up of the screen of the electronic device are avoided, and the device application cannot be started by mistake.
Example eight
In this embodiment, referring to a schematic structural diagram of an eighth embodiment of an electronic device shown in fig. 10, the electronic device further includes a display device 3 and a storage device 4, where the display device may specifically be a display screen of the electronic device, the first mode is a mode in which the display device is in a non-display state, the second mode is a mode in which the display device is in a display state, and the first input includes second information that can change an access right of the electronic device; for example, the first mode may be a mode in which the electronic device is in a black-screen un-unlocked/un-decrypted or black-screen unlocked/decrypted state, and the second mode may be a mode in which the electronic device is in a bright-screen and unlocked/decrypted state; the storage device is used for storing predetermined verification reference information.
On this basis, in this embodiment, the processing apparatus may specifically execute the following processing procedures:
when the electronic equipment is in a first mode, acquiring first input of the electronic equipment; wherein the first input is an input that can switch the electronic device from the first mode to a second mode; obtaining orientation data of the sensing device in a three-dimensional space acquired by the sensing device, wherein at least part of the orientation data can correspond to a direction of content displayable by the display device; determining orientation information indicative of an orientation of the displayed content based on the orientation data; verifying the second information by using the verification reference information to obtain a verification result; and if the verification result shows that the second information passes the verification, when the direction indicated by the direction information meets the preset direction, the access authority of the electronic equipment is improved, and the display device is kept in a non-display state.
The first input comprises second information capable of changing the access authority of the electronic device, for example, the first information may comprise decryption password information of a display screen of the electronic device, and the like. More specifically, for example, assuming that a fingerprint sensor is disposed in a certain area of the back or front of the electronic device, the second information included in the first input may be user fingerprint data for decryption, which is input by a user by touching the fingerprint sensor of the electronic device when the electronic device is in a non-display state.
The sensing device may be a gravity sensor, a gyroscope, or the like, and may be integrated into the electronic device in advance during actual implementation.
In the face of various problems caused by misoperation of the electronic equipment, the embodiment considers direction information corresponding to the direction of the content capable of being displayed by the display device as first information capable of indicating a spatial parameter of the electronic equipment to identify whether the first input of the electronic equipment is an input triggered based on the misoperation.
Based on this, at least part of the orientation data of the sensing device in the three-dimensional space, which is collected by the sensing device, should correspond to the direction of the content that should be displayed by the display device. For example, the directions of the contents that can be displayed by the display device, etc. are corresponded with the component forces thereof in the three coordinate axis directions of the spatial coordinate system, or the component forces in the two coordinate axis directions thereof, which are detected by the gravity sensor.
On the basis of obtaining the orientation data of the sensing device in the three-dimensional space, the orientation data can be analyzed, for example, the component forces in the three coordinate axis directions of the space, which are collected by the gravity sensor, are analyzed, so as to determine the direction information and the like corresponding to the direction of the content which can be displayed by the display device.
On the basis of the above processing, the second information which can change the access authority of the electronic device and is included in the input information can be verified, taking the second information as the fingerprint data input by the user through the fingerprint sensor as an example, the fingerprint data input this time can be verified by using the reference fingerprint registered in advance by the user, and a verification result is obtained.
Specifically, the verification may be implemented by comparing whether the two are consistent, and if the fingerprint data input by the user through the fingerprint sensor is consistent with the pre-stored reference fingerprint, the fingerprint of the user passes the verification, otherwise, if the two are not consistent, the fingerprint of the user fails the verification.
The predetermined direction is a preset direction capable of indicating that the first input of the electronic device is the misoperation input, and specifically, for example, when the top of the content that can be displayed by the display device of the electronic device faces the ground, as shown in fig. 3, or when the plane of the content that can be displayed by the display device of the electronic device faces the ground, as shown in fig. 4, because the content that can be displayed by the display device assumes an inverted state with the top facing the ground (with the top of the display screen facing the ground), or assumes an inverted state with the plane of the display content facing the ground (with the plane of the display screen facing the ground), the normal viewing characteristics of people viewing the content displayed by the electronic device in general are not met, so that the two directions can be considered as the predetermined direction for indicating that the first input of the user is the misoperation input. The predetermined direction may be preset by a technician before the device leaves a factory, or may be set by a user based on actual requirements during the process of using the electronic device, which is not limited in this embodiment.
If the verification result indicates that the second information passes the verification, the access right of the electronic device may be promoted according to the second information, for example, when the user fingerprint data input by the user through the fingerprint sensor passes the verification, the electronic device is promoted from the right in the undecrypted state to the right after the decryption, and the like. But if the direction indicated by the direction information satisfies the predetermined direction, the mode in which the electronic device is in the non-display state, i.e. the electronic device is in the decrypted and non-display state, is still maintained since the first input is still recognized as the input triggered based on the misoperation. On the contrary, if the direction indicated by the direction information does not satisfy the predetermined direction, the electronic device can be switched to the mode of the display state while the electronic device is unlocked and the access right of the electronic device is promoted.
In the third embodiment, when the electronic device is in a non-display state and receives a first input of a user for changing the access right of the electronic device, if the second information included in the first input and capable of changing the access right of the electronic device passes verification, but the direction of the content capable of being displayed by the display device of the electronic device conforms to a predetermined direction indicating that the first input of the user is a misoperation input, the electronic device is still kept in the non-display state while the access right of the electronic device is changed, so that false lighting and false wake-up of a screen of the electronic device are avoided, and false starting of device application is avoided.
Example nine
On the basis of the eighth embodiment, in this embodiment, the processing device may further be configured to:
and detecting whether the current first information of the electronic equipment meets a first condition within a set first time delay to obtain a detection result, and controlling the electronic equipment to be in a display state if the detection result shows that the current first information meets the first condition.
In the solution according to the eighth embodiment, after the access right of the electronic device is raised and the display device is kept in the non-display state, whether the current first information of the electronic device satisfies the first condition may be continuously detected within a set first time delay (e.g. 5s), and taking the first condition as an example of the non-second condition, whether the current first information of the electronic device satisfies the first condition may be detected, that is, whether the direction information of the direction of the content that can be displayed by the display device of the electronic device satisfies the predetermined direction, and when the predetermined direction is not satisfied, that is, the first condition is satisfied, from the perspective of the user, that is, the direction of the content that can be displayed by the display device of the electronic device is indicated, and a direction that does not conform to the normal viewing characteristics of the user is not presented, such as the top of the content faces the ground or the plane where the content is located faces the ground, in this case, it may be considered that the first input including the second information that is collected recently is not an input triggered by a misoperation of the user, so that the electronic device may be switched from the mode in the non-display state to the mode in the display state on the basis that the electronic access right has been raised according to the second information, for example, on the basis that the electronic access right has been decrypted.
Specifically, for example, in the case where the electronic device is decrypted (e.g., fingerprint decryption) but the screen of the electronic device is not lit according to the scheme of the eighth embodiment, if the direction information of the direction of the content that can be displayed on the display screen of the electronic device is detected within a set certain time delay and the predetermined direction is not satisfied, the mode switching control may be performed on the electronic device to switch the electronic device from the previous non-display state to the display state, and more specifically, for example, in the case where the user takes the mobile phone out of the pocket and directly touches the fingerprint sensor to perform decryption during the taking-out process, assuming that the direction of the content that can be displayed on the display screen of the electronic device at the moment of fingerprint touch matches the predetermined direction, the electronic device is decrypted first according to the fingerprint of the user but the screen is not lit, and subsequently, when the user performs direction adjustment on the electronic device, and when the direction of the content displayed by the display screen does not accord with the preset direction, lightening the screen of the electronic equipment to ensure that the electronic equipment is in a state of decrypting and lightening the screen for the user to use.
Example ten
In this embodiment, referring to fig. 9, the electronic device also includes a display device, where the display device may specifically be a display screen of the electronic device, the first mode is a mode in which the display device is in a display state and the electronic device is provided with a first access right, the second mode is a mode in which the display device is in a display state and the electronic device is provided with a second access right, the first access right is lower than the second access right, and the first input includes third information that can change the access right of the electronic device.
In this embodiment, the processing apparatus may further specifically execute the following processing procedures:
when the electronic equipment is in a first mode, acquiring first input of the electronic equipment; wherein the first input is an input that can switch the electronic device from the first mode to a second mode; obtaining orientation data of the sensing device in a three-dimensional space acquired by the sensing device, wherein at least part of the orientation data can correspond to a direction of content displayable by the display device; determining orientation information indicative of an orientation of the displayed content based on the orientation data; and if the direction indicated by the direction information meets a preset direction, keeping the display device in a display state, and keeping the electronic equipment to provide the first access right.
The first mode, in particular, may be, for example, a mode in which the electronic device is in a bright screen but not unlocked/decrypted state, and the second mode may accordingly be a mode in which the electronic device is in a bright screen and unlocked/decrypted state, and obviously, the access right of the first mode is lower than that of the second mode. Based on this, when the electronic device is in the first mode, the third information, which is included in the collected first input and can change the access right of the electronic device, may specifically be information for unlocking/decrypting the electronic device.
The sensing device may be a gravity sensor, a gyroscope, or the like, and may be integrated into the electronic device in advance during actual implementation.
In the face of various problems caused by misoperation of the electronic equipment, the embodiment considers direction information corresponding to the direction of the content capable of being displayed by the display device as first information capable of indicating a spatial parameter of the electronic equipment to identify whether the first input of the electronic equipment is an input triggered based on the misoperation.
Based on this, at least part of the orientation data of the sensing device in the three-dimensional space, which is collected by the sensing device, should correspond to the direction of the content that should be displayed by the display device. For example, the directions of the contents that can be displayed by the display device, etc. are corresponded with the component forces thereof in the three coordinate axis directions of the spatial coordinate system, or the component forces in the two coordinate axis directions thereof, which are detected by the gravity sensor.
On the basis of obtaining the orientation data of the sensing device in the three-dimensional space, the orientation data can be analyzed, for example, the component forces in the three coordinate axis directions of the space, which are collected by the gravity sensor, are analyzed, so as to determine the direction information and the like corresponding to the direction which can indicate the content that can be displayed by the display device.
The predetermined direction is a preset direction capable of indicating that the first input of the electronic device is the misoperation input, and specifically, for example, when the top of the content that can be displayed by the display device of the electronic device faces the ground, as shown in fig. 3, or when the plane of the content that can be displayed by the display device of the electronic device faces the ground, as shown in fig. 4, because the content that can be displayed by the display device assumes an inverted state with the top facing the ground (with the top of the display screen facing the ground), or assumes an inverted state with the plane of the display content facing the ground (with the plane of the display screen facing the ground), the normal viewing characteristics of people viewing the content displayed by the electronic device in general are not met, so that the two directions can be considered as the predetermined direction for indicating that the first input of the user is the misoperation input. The predetermined direction may be preset by a technician before the device leaves a factory, or may be set by a user based on actual requirements during the process of using the electronic device, which is not limited in this embodiment.
Therefore, if the direction indicated by the direction information (the direction of the content that can be displayed by the display device of the electronic device) satisfies the predetermined direction, it indicates that the first input is an input triggered based on a misoperation, in this case, in this embodiment, the electronic device does not respond to the first input, and does not perform an operation of decrypting/unlocking the electronic device, that is, keeps the display device of the electronic device in a display state, and keeps the electronic device providing the first access right.
On the basis of avoiding mistaken lighting of the device screen or mistaken starting of the device application through the solutions of the embodiments of the present application, in practical applications, for convenience of use by a user, the solution of forcibly lighting the device screen may be expanded, for example, for the device space state in fig. 4, when the user normally operates the electronic device in a lying scene, the user operation may be determined as a false operation according to the preset predetermined direction, so that the user may forcibly light the screen by executing the operation of forcibly lighting the screen to enter the device.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other.
For convenience of description, the above system or apparatus is described as being divided into various modules or units by function, respectively. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
From the above description of the embodiments, it is clear to those skilled in the art that the present application can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present application may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments of the present application.
Finally, it is further noted that, herein, relational terms such as first, second, third, fourth, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (9)

1. A control method is applied to an electronic device, and the method comprises the following steps:
when the electronic equipment is in a first mode, acquiring first input of the electronic equipment; wherein the first input is an input that can switch the electronic device from the first mode to a second mode;
obtaining first information indicative of a spatial parameter of the electronic device;
if the first information meets a first condition, switching the electronic equipment to the second mode; wherein the number of inputs to which the first mode is responsive is less than the number of inputs to which the second mode is responsive;
if the first information meets a second condition, keeping the electronic equipment in the first mode;
the first mode is a mode that a display device of the electronic equipment is in a display state and the electronic equipment is provided with a first access right, the second mode is a mode that the display device is in the display state and the electronic equipment is provided with a second access right, the first access right is lower than the second access right, and the first input comprises third information capable of changing the access right of the electronic equipment; maintaining the electronic device in the first mode if the first information satisfies a second condition includes: if the direction of the content which can be displayed by the display device of the electronic equipment and is indicated by the first information meets a preset direction, the display device is kept in a display state, and the electronic equipment is kept to provide first access right.
2. The method of claim 1, wherein obtaining the first information indicative of the spatial parameter of the electronic device comprises:
obtaining orientation data of the sensing device in a three-dimensional space acquired by the sensing device, wherein at least part of the orientation data can correspond to a direction of content displayable by the display device;
based on the orientation data, orientation information indicative of an orientation of the displayed content is determined.
3. The method according to claim 2, wherein the first mode is a mode in which the display device is in a non-display state, and the second mode is a mode in which the display device is in a display state;
maintaining the electronic device in the first mode if the first information satisfies a second condition includes:
and if the direction indicated by the direction information meets the preset direction, keeping the display device in a non-display state.
4. A control method is applied to an electronic device, and the method comprises the following steps:
acquiring a first input of the electronic equipment when the electronic equipment is in a mode that a display device is in a non-display state; the first input is input which can switch the electronic equipment from a mode that a display device is in the non-display state to a mode that the display device is in the display state, and the first input comprises second information which can change the access authority of the electronic equipment;
obtaining first information indicative of a spatial parameter of the electronic device;
if the first information meets a first condition, switching the electronic equipment to a mode that a display device is in a display state;
if the first information meets a second condition, verifying the second information to obtain a verification result;
and if the verification result shows that the second information passes the verification, when the direction indicated by the direction information meets the preset direction, the access right of the electronic equipment is improved, and the display device is kept in a non-display state, wherein the direction information is used for indicating the direction of the content displayed by the display device.
5. The method according to claim 4, further comprising, after the raising the access right of the electronic device and keeping the display device in a non-display state:
and detecting whether the current first information of the electronic equipment meets a first condition within a set first time delay to obtain a detection result, and controlling the electronic equipment to be in a display state if the detection result shows that the current first information meets the first condition.
6. An electronic device, comprising:
the acquisition device is used for acquiring a first input of the electronic equipment when the electronic equipment is in a first mode; wherein the first input is an input that can switch the electronic device from the first mode to a second mode;
processing means for performing:
obtaining first information indicative of a spatial parameter of the electronic device;
when the first information meets a first condition, controlling the electronic equipment to switch to the second mode; wherein the number of input types that the first mode can respond to is not greater than the number of input types that the second mode can respond to;
when the first information meets a second condition, keeping the electronic equipment in the first mode;
the first mode is a mode that a display device of the electronic equipment is in a display state and the electronic equipment is provided with a first access right, the second mode is a mode that the display device is in the display state and the electronic equipment is provided with a second access right, the first access right is lower than the second access right, and the first input comprises third information capable of changing the access right of the electronic equipment; the maintaining, by the processing device, the electronic device in the first mode when the first information satisfies a second condition specifically includes: if the direction of the content which can be displayed by the display device of the electronic equipment and is indicated by the first information meets a preset direction, the display device is kept in a display state, and the electronic equipment is kept to provide first access right.
7. The electronic device of claim 6, wherein the electronic device further comprises a sensing device, and the processing device obtains first information indicating a spatial parameter of the electronic device, further comprising:
obtaining orientation data of the sensing device in a three-dimensional space acquired by the sensing device, wherein at least part of the orientation data can correspond to a direction of content displayable by the display device;
based on the orientation data, orientation information indicative of an orientation of the displayed content is determined.
8. The electronic device according to claim 7, wherein if the first mode is a mode in which the display device is in a non-display state, the second mode is a mode in which the display device is in a display state;
the processing device, when the first information satisfies a second condition, maintains the electronic device in the first mode, further comprising:
and when the direction indicated by the direction information meets the preset direction, keeping the display device in a non-display state.
9. An electronic device, comprising:
the acquisition device is used for acquiring a first input of the electronic equipment when the electronic equipment is in a first mode; the first input is input which can switch the electronic equipment from a mode that a display device is in a non-display state to a mode that the display device is in a display state, and the first input comprises second information which can change the access authority of the electronic equipment;
a storage device for storing predetermined verification reference information;
processing means for performing:
obtaining first information indicative of a spatial parameter of the electronic device;
if the first information meets a first condition, switching the electronic equipment to a mode that a display device is in a display state;
if the first information meets a second condition, verifying the second information by using the verification reference information to obtain a verification result;
if the verification result shows that the second information passes the verification, when the direction indicated by the direction information meets the preset direction, the access authority of the electronic equipment is improved, and the display device is kept in a non-display state; the direction information indicates a direction of the content displayed by the display device.
CN201710196875.7A 2017-03-29 2017-03-29 Control method and electronic equipment Active CN106959743B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710196875.7A CN106959743B (en) 2017-03-29 2017-03-29 Control method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710196875.7A CN106959743B (en) 2017-03-29 2017-03-29 Control method and electronic equipment

Publications (2)

Publication Number Publication Date
CN106959743A CN106959743A (en) 2017-07-18
CN106959743B true CN106959743B (en) 2020-06-23

Family

ID=59470569

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710196875.7A Active CN106959743B (en) 2017-03-29 2017-03-29 Control method and electronic equipment

Country Status (1)

Country Link
CN (1) CN106959743B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107609382B (en) * 2017-10-12 2020-03-20 广东小天才科技有限公司 Terminal device locking method, terminal device and storage medium
CN109409123B (en) * 2018-09-30 2022-10-25 联想(北京)有限公司 Electronic equipment, control method and processing device
CN109977652B (en) * 2019-04-01 2021-08-17 联想(北京)有限公司 Display control method and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102520852A (en) * 2011-11-29 2012-06-27 华为终端有限公司 Control method of mobile equipment screen status and associated mobile equipment
CN103369147A (en) * 2013-07-30 2013-10-23 广东欧珀移动通信有限公司 Conversation mode switching method and mobile terminal
CN103577073A (en) * 2012-07-30 2014-02-12 联想(北京)有限公司 Information processing method and electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007233504A (en) * 2006-02-28 2007-09-13 Toshiba Corp Information processor and optical projection control method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102520852A (en) * 2011-11-29 2012-06-27 华为终端有限公司 Control method of mobile equipment screen status and associated mobile equipment
CN103577073A (en) * 2012-07-30 2014-02-12 联想(北京)有限公司 Information processing method and electronic equipment
CN103369147A (en) * 2013-07-30 2013-10-23 广东欧珀移动通信有限公司 Conversation mode switching method and mobile terminal

Also Published As

Publication number Publication date
CN106959743A (en) 2017-07-18

Similar Documents

Publication Publication Date Title
EP3514729B1 (en) Implementation of biometric authentication without explicit authentication request from the user
EP3401779B1 (en) Method and apparatus for invoking function in application
US20140189604A1 (en) Method and system for unlocking a touchscreen of an electronic device
EP2769328B1 (en) Dynamic profile switching based on user identification
US9176614B2 (en) Adapative sensing component resolution based on touch location authentication
AU2017293746B2 (en) Electronic device and operating method thereof
US20130342672A1 (en) Using gaze determination with device input
CN110297536B (en) Control method and electronic equipment
US20150324570A1 (en) Method for processing fingerprint and electronic device therefor
US9953183B2 (en) User verification using touch and eye tracking
US9965086B2 (en) Method for enabling function module of terminal, and terminal device
CN103116400B (en) The control method of a kind of screen display state and electronic equipment
CN105095720A (en) Fingerprint recognition system and method and display device
CN105635483B (en) A kind of processing method, device and storage medium operating mobile terminal
CN104035706A (en) Display method and electronic device
CN108804006B (en) Unlocking method, device, equipment and storage medium for wearable equipment
CN106354494B (en) Method and system for quickly starting application program
CN107045421B (en) Screen switching method and mobile terminal
CN106959743B (en) Control method and electronic equipment
WO2020253495A1 (en) Screen lock control method, device, handheld terminal, and storage medium
CN112286070A (en) Equipment control method and device and electronic equipment
US20170039414A1 (en) Electronic device
CN108710806B (en) Terminal unlocking method and mobile terminal
CN113835558A (en) Screen parameter adjusting method and device and electronic equipment
CN104182161A (en) Method and device for opening screen functional area

Legal Events

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