CN108717508B - Information processing method and electronic equipment - Google Patents

Information processing method and electronic equipment Download PDF

Info

Publication number
CN108717508B
CN108717508B CN201810444054.5A CN201810444054A CN108717508B CN 108717508 B CN108717508 B CN 108717508B CN 201810444054 A CN201810444054 A CN 201810444054A CN 108717508 B CN108717508 B CN 108717508B
Authority
CN
China
Prior art keywords
electronic equipment
electronic device
data
preset condition
interface
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
CN201810444054.5A
Other languages
Chinese (zh)
Other versions
CN108717508A (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 CN201810444054.5A priority Critical patent/CN108717508B/en
Publication of CN108717508A publication Critical patent/CN108717508A/en
Application granted granted Critical
Publication of CN108717508B publication Critical patent/CN108717508B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • 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
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text

Landscapes

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

Abstract

The embodiment of the invention discloses an information processing method and electronic equipment; the method comprises the following steps: when the electronic equipment is in a first state and the electronic equipment is detected to meet a first preset condition, generating a first instruction, acquiring first data according to the first instruction, judging whether the electronic equipment meets a second preset condition or not according to the first data, and when the electronic equipment meets the second preset condition, switching the electronic equipment to the second state and controlling to display a first interface; when the electronic equipment does not meet the second preset condition, controlling to display a second interface; when the electronic equipment displays the second interface, second data are collected, whether the electronic equipment meets a third preset condition or not is judged according to the second data, and when the electronic equipment meets the third preset condition, the first interface is controlled to be displayed.

Description

Information processing method and electronic equipment
The present application is a divisional application of patent applications having application numbers of 201410487238.1, application dates of 2014, 09 and 22, and having an invention name of "information processing method and electronic device".
Technical Field
The present invention relates to information processing technologies, and in particular, to an information processing method and an electronic device.
Background
In order to prevent misoperation, an existing smart phone generally needs to be unlocked when a user enters a desktop; common unlocking means generally include: slide unlock, graphical unlock, password unlock, and the like. When a user normally uses the smart phone, the user also needs to slide to unlock the smart phone, or unlock the smart phone by a graph, or unlock the smart phone by a password. If an information processing scheme exists, misoperation can be prevented, a user can directly enter the desktop of the smart phone without unlocking, and operation experience of the user can be greatly improved. However, in the related art, there is no effective solution to this problem.
Disclosure of Invention
In order to solve the existing technical problem, embodiments of the present invention provide an information processing method and an electronic device.
In order to achieve the above purpose, the technical solution of the embodiment of the present invention is realized as follows:
the embodiment of the invention provides an information processing method, which is applied to electronic equipment, wherein the electronic equipment comprises a first state and a second state, and the power consumption of the electronic equipment in the first state is lower than that in the second state; the method comprises the following steps:
when the electronic equipment is in the first state and the electronic equipment is detected to meet a first preset condition, generating a first instruction, acquiring first data according to the first instruction, judging whether the electronic equipment meets a second preset condition according to the first data, and obtaining a first judgment result;
when the first judgment result shows that the electronic equipment meets the second preset condition, the electronic equipment is switched to the second state and controls to display a first interface;
when the first judgment result indicates that the electronic equipment does not meet the second preset condition, controlling to display a second interface;
when the electronic equipment displays the second interface, acquiring second data, and judging whether the electronic equipment meets a third preset condition according to the second data to obtain a second judgment result;
and when the second judgment result shows that the electronic equipment meets the third preset condition, controlling to display the first interface.
The embodiment of the invention also provides an information processing method, which is applied to electronic equipment, wherein the electronic equipment comprises a first state and a second state, and the power consumption of the electronic equipment in the first state is lower than that in the second state; the method comprises the following steps:
when the electronic equipment is in the first state and the electronic equipment is detected to meet a first preset condition, generating a first instruction, acquiring first data according to the first instruction, judging whether the electronic equipment meets a second preset condition according to the first data, and obtaining a first judgment result;
when the first judgment result shows that the electronic equipment meets the second preset condition, the electronic equipment controls and displays a first interface in the second state;
when the first judgment result indicates that the electronic equipment does not meet the second preset condition, the electronic equipment controls and displays a second interface in the second state;
when the electronic equipment displays the second interface, acquiring second data, and judging whether the electronic equipment meets a third preset condition according to the second data to obtain a second judgment result;
and when the second judgment result shows that the electronic equipment meets the third preset condition, controlling to display the first interface.
The embodiment of the invention also provides electronic equipment, which comprises a first state and a second state, wherein the power consumption of the electronic equipment in the first state is lower than that in the second state; the electronic device includes: the device comprises a generating unit, a first acquisition unit, a judging unit, a control display unit and a second acquisition unit; wherein the content of the first and second substances,
the generating unit is used for generating a first instruction when the electronic equipment is in the first state and the electronic equipment is detected to meet a first preset condition;
the first acquisition unit is used for acquiring first data according to the first instruction generated by the generation unit;
the judging unit is used for judging whether the electronic equipment meets a second preset condition according to the first data acquired by the first acquisition unit to obtain a first judgment result; the electronic equipment is also used for judging whether the electronic equipment meets a third preset condition according to the second data acquired by the second acquisition unit to obtain a second judgment result;
the control display unit is used for switching the electronic equipment to the second state and controlling to display a first interface when the first judgment result obtained by the judgment unit shows that the electronic equipment meets the second preset condition; when the first judgment result obtained by the judgment unit is that the electronic equipment does not meet the second preset condition, controlling to display a second interface; the electronic device is further configured to control to display the first interface when the second judgment result obtained by the judgment unit indicates that the electronic device meets the third preset condition;
and the second acquisition unit is used for acquiring second data when the control display unit controls the display of the second interface.
The embodiment of the invention also provides electronic equipment, which comprises a first state and a second state, wherein the power consumption of the electronic equipment in the first state is lower than that in the second state; the electronic device includes: the device comprises a generating unit, a first acquisition unit, a judging unit, a control display unit and a second acquisition unit; wherein the content of the first and second substances,
the generating unit is used for generating a first instruction when the electronic equipment is in the first state and the electronic equipment is detected to meet a first preset condition;
the first acquisition unit is used for acquiring first data according to the first instruction generated by the generation unit;
the judging unit is used for judging whether the electronic equipment meets a second preset condition according to the first data acquired by the first acquisition unit to obtain a first judgment result; the electronic equipment is also used for judging whether the electronic equipment meets a third preset condition according to the second data acquired by the second acquisition unit to obtain a second judgment result;
the control display unit is used for controlling the electronic equipment to display a first interface in the second state when the first judgment result obtained by the judgment unit shows that the electronic equipment meets the second preset condition; when the first judgment result obtained by the judgment unit indicates that the electronic equipment does not meet the second preset condition, the electronic equipment controls and displays a second interface in the second state; the electronic device is further configured to control to display the first interface when the second judgment result obtained by the judgment unit indicates that the electronic device meets the third preset condition;
and the second acquisition unit is used for acquiring second data when the control display unit controls the display of the second interface.
According to the information processing method and the electronic device provided by the embodiment of the invention, the electronic device comprises a first state and a second state, and the power consumption of the electronic device in the first state is lower than that in the second state; the method comprises the following steps: when the electronic equipment is in the first state and the electronic equipment is detected to meet a first preset condition, generating a first instruction, acquiring first data according to the first instruction, judging whether the electronic equipment meets a second preset condition according to the first data, and obtaining a first judgment result; when the first judgment result shows that the electronic equipment meets the second preset condition, the electronic equipment is switched to the second state and controls to display a first interface; when the first judgment result indicates that the electronic equipment does not meet the second preset condition, controlling to display a second interface; when the electronic equipment displays the second interface, acquiring second data, and judging whether the electronic equipment meets a third preset condition according to the second data to obtain a second judgment result; and when the second judgment result shows that the electronic equipment meets the third preset condition, controlling to display the first interface. In this way, when the electronic equipment meets the second preset condition, the first interface is directly displayed, and the unlocking operation process is simplified; the operation experience of the user is greatly improved; and when the electronic equipment does not meet the second preset condition, the second interface is still displayed, so that the leakage of the internal information of the electronic equipment when the electronic equipment is occupied by a layman is avoided, and the safety of using the electronic equipment by a user is greatly improved.
Drawings
Fig. 1 is a schematic flowchart of an information processing method according to a first embodiment of the present invention;
FIG. 2 is a schematic illustration of a second interface in an embodiment of the invention;
FIG. 3 is a flowchart illustrating an information processing method according to a second embodiment of the present invention;
FIG. 4 is a flowchart illustrating an information processing method according to a third embodiment of the present invention;
FIG. 5 is a flowchart illustrating an information processing method according to a fourth embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
Example one
The embodiment of the invention provides an information processing method, which is applied to electronic equipment; fig. 1 is a schematic flowchart of an information processing method according to a first embodiment of the present invention; as shown in fig. 1, the information processing method includes:
step 101: when the electronic equipment is in a first state and the electronic equipment is detected to meet a first preset condition, a first instruction is generated.
Here, the electronic device includes a first state and a second state, and power consumption of the electronic device is lower in the first state than in the second state. Wherein the electronic device has a display-function unit, and the first state and the second state are states characterized by power consumption of the display-function unit. Specifically, when the electronic device is in the first state, the unit of the display function is in the closed state; when the electronic equipment is in a second state, the unit with the display function is in a starting state; in practical application, the unit with the display function may be a display screen or a touch display screen of the electronic device, and when the electronic device is in the first state, the display screen or the touch display screen of the electronic device is turned off; when the electronic equipment is in the second state, the display screen or the touch display screen of the electronic equipment is lightened.
Step 102: acquiring first data according to the first instruction, and judging whether the electronic equipment meets a second preset condition according to the first data to obtain a first judgment result.
Here, the first data is used to determine whether the electronic device satisfies the second preset condition, that is, determine whether the triggering operation of the electronic device that satisfies the first preset condition is a user misoperation. In a first scenario, the electronic device is currently located in a pocket or a carrying bag of a user, and when it is detected that the electronic device meets the first preset condition, it may be determined that a trigger operation for enabling the electronic device to meet the first preset condition is a user misoperation; in this scenario, the first data is distance data between the electronic device and the obstruction, and whether the electronic device meets a second preset condition is determined according to the distance data. In a second scenario, a user holds the electronic device, the front face of the user faces the electronic device, and the electronic device obtains a trigger operation of the user so that the electronic device meets the first preset condition; in this scenario, the first data may be acquired image data, and whether the electronic device satisfies a second preset condition is determined according to the image data.
Step 103: and when the first judgment result shows that the electronic equipment meets the second preset condition, the electronic equipment is switched to the second state and controls to display a first interface.
Here, in the first scenario described in step 102, that is, the first data is distance data between the electronic device and an obstruction, it is determined whether the electronic device meets a second preset condition according to the distance data, and a first determination result is obtained; and determining that the electronic equipment meets a second preset condition when the first judgment result indicates that the distance data is not within a preset range interval. In the second scenario in step 102, the first data may be acquired image data, and whether the electronic device meets a second preset condition is determined according to the image data, so as to obtain a first determination result; determining that the electronic device meets a second preset condition when the image feature data in the image data is in a preset image feature data set.
Step 104: and when the first judgment result shows that the electronic equipment does not meet the second preset condition, the electronic equipment is switched to the second state and controls to display a second interface.
Here, in the first scenario described in step 102, that is, the first data is distance data between the electronic device and an obstruction, it is determined whether the electronic device meets a second preset condition according to the distance data, and a first determination result is obtained; and determining that the electronic equipment does not meet the second preset condition when the first judgment result is that the distance data is within a preset range interval. In the second scenario in step 102, the first data may be acquired image data, and whether the electronic device meets a second preset condition is determined according to the image data, so as to obtain a first determination result; determining that the electronic device does not satisfy a second preset condition when the image feature data in the image data is not in a preset image feature data set.
In this embodiment, when the electronic device is switched to the second state, the electronic device may display two interfaces: a first interface and a second interface; wherein the electronic device is responsive to a first number of input operations when the electronic device displays the first interface; when the electronic equipment displays the second interface, the electronic equipment can respond to a second number of input operations, and the second number is smaller than the first number.
Specifically, the first interface in the embodiment of the present invention is an interface presented on a desktop of the electronic device, a plurality of application icons are presented on the first interface, at least one widget may also be presented on the first interface, and the application may be executed and started through an input operation for any application icon on the first interface, that is, when the electronic device displays the first interface, the electronic device may respond to a first number of input operations.
The second interface in this embodiment is an unlocking interface of the electronic device, and fig. 2 is a display schematic diagram of the second interface in the embodiment of the present invention; as shown in fig. 2, the unlocking manner represented by the second interface is a sliding unlocking manner, and a touch control (i.e., a slider) and a section of sliding track are presented on the second interface, when the electronic device displays the second interface, the second number of input operations that the electronic device can respond to are: and pressing the touch control piece in a touch mode and pressing the sliding input operation of the sliding track. The schematic diagram of the second interface shown in fig. 2 is only an embodiment, the unlocking manner further presented by the second interface may also be a graphical unlocking manner and a password unlocking manner, when the unlocking manner presented by the second interface is the graphical unlocking manner, a preset number of touch points are presented on the second interface, and then the second number of input operations that the electronic device can respond to are: performing sliding input operation on at least two touch points in the preset number of touch points; wherein the second number of input operations is one sliding operation; when the unlocking mode presented on the second interface is a password unlocking mode, a preset number of password input boxes are presented on the second interface, and the second number of input operations that the electronic device can respond to are as follows: a password input operation for a keyboard of the electronic device; wherein the second number of input operations may be considered a one-time password input operation.
It can be seen that when the electronic device displays the first interface, the electronic device can respond to the first number of input operations, the first number being associated with the number of application icons and the number of widgets presented on the first interface; when the electronic device displays the second interface, the electronic device can respond to the second number of input operations, that is, the second number of input operations is an unlocking input operation, and the second number is 1; thus, the second number is smaller than the first number.
Step 105: and when the electronic equipment displays the second interface, acquiring second data.
Here, when the electronic device displays the second interface, that is, when the electronic device displays an unlocking interface, the second data is collected, where the second data is data representing an input operation for the second interface.
Step 106: and judging whether the electronic equipment meets a third preset condition according to the second data to obtain a second judgment result.
Here, since the second interface is an unlocking interface and the second data is data representing an input operation for the second interface, the determining, according to the second data, whether the electronic device satisfies a third preset condition is: and judging whether the electronic equipment can normally respond to the input operation aiming at the second interface according to the second data to obtain a second judgment result. And if the second interface is an unlocking interface, the normal response is a response that the input operation aiming at the second interface passes the screen locking verification, and all other input operations aiming at the second interface that do not pass the screen locking verification are abnormal responses.
Step 107: and when the second judgment result shows that the electronic equipment meets the third preset condition, controlling to display the first interface.
Specifically, taking the second interface shown in fig. 2 as an example, the unlocking mode represented by the second interface shown in fig. 2 is a sliding unlocking mode, and the electronic device can only normally respond to a sliding input operation for a touch control (i.e., a slider) and according to a preset sliding track; therefore, when the second data is the coordinate data represented by the sliding input operation for the touch control (i.e., the slider) and according to the preset sliding track, it may be determined that the electronic device can normally respond to the input operation for the second interface, that is, it is determined that the electronic device satisfies a third preset condition.
In a second embodiment, that is, when the unlocking manner represented by the second interface is the graphical unlocking manner, a preset number of touch points are presented on the second interface, and the electronic device can only normally respond to the sliding input operation for at least two touch points in the preset number of touch points; the sliding input operation of the at least two touch points is matched with the preset sliding input operation of the at least two touch points; therefore, when the second data is the coordinate data represented by the sliding input operation for the at least two touch points, it may be determined that the electronic device can normally respond to the input operation for the second interface, that is, it is determined that the electronic device satisfies a third preset condition.
In a third embodiment, that is, when the unlocking mode represented by the second interface is a password unlocking mode, a preset number of password input boxes are presented on the second interface, and the electronic device can only normally respond to password input operations for the preset number of password input boxes; therefore, when the second data is password data input by password input operation and the input password is matched with a preset password, it can be determined that the electronic device can normally respond to the input operation aiming at the second interface, that is, it is determined that the electronic device meets a third preset condition.
Based on the above three embodiments, when it is determined that the electronic device satisfies the third preset condition, that is, when the electronic device can normally respond to the input operation for the second interface, indicating that the screen locking verification is passed, the electronic device switches the second interface to output the first interface.
In steps 102 to 104 of this embodiment, the electronic device includes a first acquisition unit; the judging whether the electronic equipment meets a second preset condition according to the first data comprises the following steps:
acquiring first data through the first acquisition unit, and judging whether the first data is in a first preset data set range;
correspondingly, the first judgment result shows that the electronic device meets the second preset condition, including:
when the first data is within the first preset data set range, determining that the electronic equipment meets the second preset condition;
correspondingly, the first judgment result indicates that the electronic device does not satisfy the second preset condition, including:
when the first data is not within the range of the first preset data set, determining that the electronic equipment does not meet the second preset condition.
Specifically, in one embodiment, the electronic device has a distance detection unit, and the first data is distance data between the electronic device and a shield detected by the distance detection unit; acquiring first data according to the first instruction, and judging whether the electronic device meets a second preset condition according to the first data to obtain a first judgment result, wherein the first judgment result comprises: triggering and starting the distance detection unit according to the first instruction, and judging whether the distance data is in a first preset range interval or not by detecting the distance data between the distance detection unit and a shielding object; when the distance data is in the first preset range interval, determining that the electronic equipment does not meet the second preset condition; and when the distance data is not in the first preset range interval, determining that the electronic equipment meets the second preset condition. Specifically, the first preset range interval may be 0 to 10 centimeters; the 10 cm can be set according to the actual situation; when the distance data between the electronic equipment and the shelter is detected to be between 0 and 10 centimeters through the distance detection unit, the fact that the shelter exists in a close distance in front of the distance detection unit of the electronic equipment can be determined, the electronic equipment is possibly in a pocket of clothes of a user or in a bag carrying the electronic equipment, and then the electronic equipment is determined not to meet the second preset condition; when the distance data between the electronic equipment and the shielding object is detected to be not between 0 and 10 centimeters through the distance detection unit, the fact that the electronic equipment is not shielded in a short distance in front of the distance detection unit of the electronic equipment can be determined, and the electronic equipment can be determined to meet the second preset condition.
In another embodiment, the electronic device has an image acquisition unit, and the first data is image data acquired by the image acquisition unit; acquiring first data according to the first instruction, and judging whether the electronic device meets a second preset condition according to the first data to obtain a first judgment result, wherein the first judgment result comprises: triggering and starting the image acquisition unit according to the first instruction, and acquiring image data through the image acquisition unit; analyzing the image data to obtain image characteristic data in the image data; judging whether the image characteristic data is in a preset image characteristic data set or not; when the image characteristic data is in the preset image characteristic data set, determining that the electronic equipment meets the second preset condition; and when the image characteristic data is not in the preset image characteristic data set, determining that the electronic equipment does not meet the second preset condition.
In steps 105 to 106 of this embodiment, the electronic device further includes a second acquisition unit; the acquiring of the second data and the judging of whether the electronic equipment meets a third preset condition according to the second data comprise:
according to the second data acquired by the second acquisition unit, judging whether the second data is matched with second preset data;
correspondingly, the second judgment result indicates that the electronic device meets a third preset condition, which includes:
and when the second data is matched with the second preset data, determining that the electronic equipment meets a third preset condition.
In step 101 of this embodiment, the electronic device satisfies a first preset condition, that is, the electronic device satisfies a preset trigger condition, so that the electronic device can be switched from the first state to the second state, that is, when the electronic device is currently in the first state and it is detected that the electronic device satisfies the preset trigger condition, the electronic device can be switched from the current first state to the second state.
In this embodiment, the electronic device further includes a third acquisition unit; the detecting that the electronic device meets a first preset condition includes: and generating a second instruction according to third data acquired by the third acquisition unit, and determining that the electronic equipment meets the first preset condition when the second instruction is matched with a preset instruction.
The electronic equipment meets a first preset condition that: the electronic equipment obtains the trigger operation meeting the preset trigger condition, so that the current state of the electronic equipment is changed.
Specifically, in the first embodiment, the triggering operation may be a triggering operation for a first key of the electronic device, and the first key may be all keys capable of triggering the display screen or the touch display screen of the electronic device to be turned on, such as a power key and a Home key of the electronic device. In this embodiment, if the third acquisition unit is a key detection unit, the second instruction is generated according to the third data acquired by the third acquisition unit, and when the second instruction matches a preset instruction, it is determined that the electronic device meets the first preset condition, and the step is: when the key detection unit detects a key value for representing the operation of the first key, generating a second instruction according to the key value, and when the second instruction is matched with a preset switching instruction, determining that the electronic equipment meets the first preset condition; the key detection unit can be realized through a detection circuit, when the first key is triggered, one key value can be detected through the detection circuit, and different instructions are correspondingly generated by different key values.
In the second embodiment, the trigger operation may also be an action operation for the electronic device, such as a "shake-and-shake" operation; in this embodiment, if the third acquisition unit is an acceleration sensing unit or a gravity sensing unit, the second instruction is generated according to the third data acquired by the third acquisition unit, and when the second instruction matches a preset instruction, it is determined that the electronic device satisfies the first preset condition, and the second instruction is: detecting the number of times of change of the acceleration of the electronic equipment through the acceleration sensing unit, generating a second instruction when the number of times of change of the acceleration reaches a first threshold value, and determining that the electronic equipment meets the first condition when the second instruction is matched with a preset switching instruction; or detecting the inclination angle of the electronic equipment through the gravity sensing unit, generating a second instruction when the inclination angle of the electronic equipment changes within a first preset angle range, and determining that the electronic equipment meets the first preset condition when the second instruction is matched with a preset switching instruction; the electronic device is preset with a corresponding relation between the second command and the action operation aiming at the electronic device, and when the action operation aiming at the electronic device is detected through the acceleration sensing unit and the gravity sensing unit, the second command corresponding to the action operation is generated.
In the third embodiment, the trigger operation may also be a voice instruction operation for the electronic device; in this embodiment, if the third acquisition unit is a voice recognition unit, the second instruction is generated according to the third data acquired by the third acquisition unit, and when the second instruction matches a preset instruction, it is determined that the electronic device meets the first preset condition, and the method includes: the voice recognition unit collects voice data, analyzes the voice data, obtains a second instruction included in the voice data, and determines that the electronic equipment meets the first preset condition when the second instruction is matched with a preset switching instruction.
In a fourth embodiment, the trigger operation may also be a touch operation for a specific area of the electronic device, where the specific area may be a fingerprint scanning area; in this embodiment, if the third acquiring unit is a fingerprint identifying unit, the second instruction is generated according to the third data acquired by the third acquiring unit, and when the second instruction matches a preset instruction, it is determined that the electronic device meets the first preset condition, and the determining is as follows: the fingerprint identification unit is used for collecting fingerprint characteristic data, when the fingerprint characteristic data are matched with preset fingerprint characteristic data in a consistent mode, a second instruction is generated, and when the second instruction is matched with a preset switching instruction, the electronic equipment is determined to meet the first preset condition.
In a fifth embodiment, the electronic device has a touch-control functional unit and a display functional unit, and when the display functional unit is in a first state, that is, when the display functional unit is in an off state, the touch-control functional unit can detect a touch operation and recognize the touch operation; based on this, the trigger operation may be a touch operation for a specific area of the electronic device, where the unit of the touch function can detect the area of the touch operation; in this embodiment, if the third acquisition unit is a touch unit, the second instruction is generated according to the third data acquired by the third acquisition unit, and when the second instruction matches a preset instruction, it is determined that the electronic device meets the first preset condition, and the method includes: the method comprises the steps that touch operation is detected through the touch unit, a second instruction is generated based on the touch operation, and when the second instruction is matched with a preset instruction, the electronic equipment is determined to meet the first preset condition.
By adopting the technical scheme of the embodiment of the invention, when the electronic equipment meets the second preset condition, the first interface is directly displayed, so that the unlocking operation process is simplified; the operation experience of the user is greatly improved; and when the electronic equipment does not meet the second preset condition, the second interface is still displayed, so that the leakage of the internal information of the electronic equipment when the electronic equipment is occupied by a layman is avoided, and the safety of using the electronic equipment by a user is greatly improved.
Example two
The embodiment of the invention also provides an information processing method, which is applied to the electronic equipment; FIG. 3 is a flowchart illustrating an information processing method according to a first embodiment of the present invention; as shown in fig. 3, the information processing method includes:
step 301: when the electronic equipment is in a first state and the electronic equipment is detected to meet a first preset condition, a first instruction is generated.
Here, the electronic device includes a first state and a second state, and power consumption of the electronic device is lower in the first state than in the second state. Wherein the electronic device has a display-function unit, and the first state and the second state are states characterized by power consumption of the display-function unit. Specifically, when the electronic device is in the first state, the unit of the display function is in the closed state; when the electronic equipment is in a second state, the unit with the display function is in a starting state; in practical application, the unit with the display function may be a display screen or a touch display screen of the electronic device, and when the electronic device is in the first state, the display screen or the touch display screen of the electronic device is turned off; when the electronic equipment is in the second state, the display screen or the touch display screen of the electronic equipment is lightened.
Step 302: acquiring first data according to the first instruction, and judging whether the electronic equipment meets a second preset condition according to the first data to obtain a first judgment result.
Here, the first data is used to determine whether the electronic device satisfies the second preset condition, that is, determine whether the triggering operation of the electronic device that satisfies the first preset condition is a user misoperation. In a first scenario, the electronic device is currently located in a pocket or a carrying bag of a user, and when it is detected that the electronic device meets the first preset condition, it may be determined that a trigger operation for enabling the electronic device to meet the first preset condition is a user misoperation; in this scenario, the first data is distance data between the electronic device and the obstruction, and whether the electronic device meets a second preset condition is determined according to the distance data. In a second scenario, a user holds the electronic device, the front face of the user faces the electronic device, and the electronic device obtains a trigger operation of the user so that the electronic device meets the first preset condition; in this scenario, the first data may be acquired image data, and whether the electronic device satisfies a second preset condition is determined according to the image data.
Step 303: and when the first judgment result shows that the electronic equipment meets the second preset condition, the electronic equipment is switched to the second state and controls to display a first interface.
Here, in the first scenario described in step 302, that is, the first data is distance data between the electronic device and an obstruction, it is determined whether the electronic device meets a second preset condition according to the distance data, and a first determination result is obtained; and determining that the electronic equipment meets a second preset condition when the first judgment result indicates that the distance data is not within a preset range interval. In the second scenario in step 302, the first data may be acquired image data, and whether the electronic device meets a second preset condition is determined according to the image data, so as to obtain a first determination result; determining that the electronic device meets a second preset condition when the image feature data in the image data is in a preset image feature data set.
Step 304: and when the first judgment result shows that the electronic equipment does not meet the second preset condition, controlling to display a second interface.
Here, in the first scenario described in step 302, that is, the first data is distance data between the electronic device and an obstruction, it is determined whether the electronic device meets a second preset condition according to the distance data, and a first determination result is obtained; and determining that the electronic equipment does not meet the second preset condition when the first judgment result is that the distance data is within a preset range interval. In the second scenario in step 102, the first data may be acquired image data, and whether the electronic device meets a second preset condition is determined according to the image data, so as to obtain a first determination result; determining that the electronic device does not satisfy a second preset condition when the image feature data in the image data is not in a preset image feature data set.
In this embodiment, when the electronic device is switched to the second state, the electronic device may display two interfaces: a first interface and a second interface; wherein the electronic device is responsive to a first number of input operations when the electronic device displays the first interface; when the electronic equipment displays the second interface, the electronic equipment can respond to a second number of input operations, and the second number is smaller than the first number.
Specifically, the first interface in the embodiment of the present invention is an interface presented on a desktop of the electronic device, a plurality of application icons are presented on the first interface, at least one widget may also be presented on the first interface, and the application may be executed and started through an input operation for any application icon on the first interface, that is, when the electronic device displays the first interface, the electronic device may respond to a first number of input operations.
In this embodiment, the second interface is an unlocking interface of the electronic device, as shown in fig. 2, an unlocking manner represented by the second interface is a sliding unlocking manner, and a touch control (i.e., a slider) and a section of sliding track are presented on the second interface, so that when the electronic device displays the second interface, the second number of input operations that the electronic device can respond to are: and pressing the touch control piece in a touch mode and pressing the sliding input operation of the sliding track. The schematic diagram of the second interface shown in fig. 2 is only an embodiment, the unlocking manner further presented by the second interface may also be a graphical unlocking manner and a password unlocking manner, when the unlocking manner presented by the second interface is the graphical unlocking manner, a preset number of touch points are presented on the second interface, and then the second number of input operations that the electronic device can respond to are: performing sliding input operation on at least two touch points in the preset number of touch points; wherein the second number of input operations is one sliding operation; when the unlocking mode presented on the second interface is a password unlocking mode, a preset number of password input boxes are presented on the second interface, and the second number of input operations that the electronic device can respond to are as follows: a password input operation for a keyboard of the electronic device; wherein the second number of input operations may be considered a one-time password input operation.
It can be seen that when the electronic device displays the first interface, the electronic device can respond to the first number of input operations, the first number being associated with the number of application icons and the number of widgets presented on the first interface; when the electronic device displays the second interface, the electronic device can respond to the second number of input operations, that is, the second number of input operations is an unlocking input operation, and the second number is 1; thus, the second number is smaller than the first number.
Step 305: and when the electronic equipment displays the second interface, acquiring second data.
Here, when the electronic device displays the second interface, that is, when the electronic device displays an unlocking interface, the second data is collected, where the second data is data representing an input operation for the second interface.
Step 306: and judging whether the electronic equipment meets a third preset condition according to the second data to obtain a second judgment result.
Here, since the second interface is an unlocking interface and the second data is data representing an input operation for the second interface, the determining, according to the second data, whether the electronic device satisfies a third preset condition is: and judging whether the electronic equipment can normally respond to the input operation aiming at the second interface according to the second data to obtain a second judgment result. And if the second interface is an unlocking interface, the normal response is a response that the input operation aiming at the second interface passes the screen locking verification, and all other input operations aiming at the second interface that do not pass the screen locking verification are abnormal responses.
Step 307: and when the second judgment result shows that the electronic equipment meets the third preset condition, controlling to display the first interface.
Specifically, taking the second interface shown in fig. 2 as an example, the unlocking mode represented by the second interface shown in fig. 2 is a sliding unlocking mode, and the electronic device can only normally respond to a sliding input operation for a touch control (i.e., a slider) and according to a preset sliding track; therefore, when the second data is the coordinate data represented by the sliding input operation for the touch control (i.e., the slider) and according to the preset sliding track, it may be determined that the electronic device can normally respond to the input operation for the second interface, that is, it is determined that the electronic device satisfies a third preset condition.
In a second embodiment, that is, when the unlocking manner represented by the second interface is the graphical unlocking manner, a preset number of touch points are presented on the second interface, and the electronic device can only normally respond to the sliding input operation for at least two touch points in the preset number of touch points; the sliding input operation of the at least two touch points is matched with the preset sliding input operation of the at least two touch points; therefore, when the second data is the coordinate data represented by the sliding input operation for the at least two touch points, it may be determined that the electronic device can normally respond to the input operation for the second interface, that is, it is determined that the electronic device satisfies a third preset condition.
In a third embodiment, that is, when the unlocking mode represented by the second interface is a password unlocking mode, a preset number of password input boxes are presented on the second interface, and the electronic device can only normally respond to password input operations for the preset number of password input boxes; therefore, when the second data is password data input by password input operation and the input password is matched with a preset password, it can be determined that the electronic device can normally respond to the input operation aiming at the second interface, that is, it is determined that the electronic device meets a third preset condition.
Based on the above three embodiments, when it is determined that the electronic device satisfies the third preset condition, that is, when the electronic device can normally respond to the input operation for the second interface, indicating that the screen locking verification is passed, the electronic device switches the second interface to output the first interface.
Step 308: when the second judgment result shows that the electronic equipment does not meet a third preset condition, controlling to display a second interface containing specific content; the specific content is used for representing that the electronic equipment does not meet the third preset condition.
Here, when the second interface is the second interface shown in fig. 2, the unlocking manner represented by the second interface shown in fig. 2 is a sliding unlocking manner, and the electronic device can only normally respond to a sliding input operation for a touch control (i.e., a slider) and according to a preset sliding track; therefore, when the second data is not the coordinate data represented by the sliding input operation for the touch control (i.e., the slider) and according to the preset sliding track, it may be determined that the electronic device cannot normally respond to the input operation for the second interface, i.e., it is determined that the electronic device does not satisfy the third preset condition.
In a second embodiment, that is, when the unlocking manner represented by the second interface is the graphical unlocking manner, a preset number of touch points are presented on the second interface, and the electronic device can only normally respond to the sliding input operation for at least two touch points in the preset number of touch points; the sliding input operation of the at least two touch points is matched with the preset sliding input operation of the at least two touch points; therefore, when the second data is not the coordinate data characterized by the sliding input operation for the at least two touch points, it may be determined that the electronic device cannot normally respond to the input operation for the second interface, i.e., it is determined that the electronic device does not satisfy the third preset condition.
In a third embodiment, that is, when the unlocking mode represented by the second interface is a password unlocking mode, a preset number of password input boxes are presented on the second interface, and the electronic device can only normally respond to password input operations for the preset number of password input boxes; therefore, when the second data is not password data input by a password input operation, or the second data is password data input by a password input operation but the input password is inconsistent with a preset password, it may be determined that the electronic device cannot normally respond to the input operation for the second interface, i.e., it is determined that the electronic device does not satisfy the third preset condition.
Based on the three embodiments, when it is determined that the electronic device does not satisfy the third preset condition, that is, when the electronic device cannot normally respond to the input operation for the second interface, it indicates that the screen locking verification fails, the electronic device displays the second interface containing specific content; the specific content is used for representing that the electronic equipment does not meet the third preset condition; specifically, the specific content may be text content that indicates that the electronic device does not satisfy the third preset condition, such as "verification fails".
In steps 302 to 304 for the present embodiment, the electronic device includes a first acquisition unit; the judging whether the electronic equipment meets a second preset condition according to the first data comprises the following steps:
acquiring first data through the first acquisition unit, and judging whether the first data is in a first preset data set range;
correspondingly, the first judgment result shows that the electronic device meets the second preset condition, including:
when the first data is within the first preset data set range, determining that the electronic equipment meets the second preset condition;
correspondingly, the first judgment result indicates that the electronic device does not satisfy the second preset condition, including:
when the first data is not within the range of the first preset data set, determining that the electronic equipment does not meet the second preset condition.
Specifically, in one embodiment, the electronic device has a distance detection unit, and the first data is distance data between the electronic device and a shield detected by the distance detection unit; acquiring first data according to the first instruction, and judging whether the electronic device meets a second preset condition according to the first data to obtain a first judgment result, wherein the first judgment result comprises: triggering and starting the distance detection unit according to the first instruction, and judging whether the distance data is in a first preset range interval or not by detecting the distance data between the distance detection unit and a shielding object; when the distance data is in the first preset range interval, determining that the electronic equipment does not meet the second preset condition; and when the distance data is not in the first preset range interval, determining that the electronic equipment meets the second preset condition. Specifically, the first preset range interval may be 0 to 10 centimeters; the 10 cm can be set according to the actual situation; when the distance data between the electronic equipment and the shelter is detected to be between 0 and 10 centimeters through the distance detection unit, the fact that the shelter exists in a close distance in front of the distance detection unit of the electronic equipment can be determined, the electronic equipment is possibly in a pocket of clothes of a user or in a bag carrying the electronic equipment, and then the electronic equipment is determined not to meet the second preset condition; when the distance data between the electronic equipment and the shielding object is detected to be not between 0 and 10 centimeters through the distance detection unit, the fact that the electronic equipment is not shielded in a short distance in front of the distance detection unit of the electronic equipment can be determined, and the electronic equipment can be determined to meet the second preset condition.
In another embodiment, the electronic device has an image acquisition unit, and the first data is image data acquired by the image acquisition unit; acquiring first data according to the first instruction, and judging whether the electronic device meets a second preset condition according to the first data to obtain a first judgment result, wherein the first judgment result comprises: triggering and starting the image acquisition unit according to the first instruction, and acquiring image data through the image acquisition unit; analyzing the image data to obtain image characteristic data in the image data; judging whether the image characteristic data is in a preset image characteristic data set or not; when the image characteristic data is in the preset image characteristic data set, determining that the electronic equipment meets the second preset condition; and when the image characteristic data is not in the preset image characteristic data set, determining that the electronic equipment does not meet the second preset condition.
In steps 305 to 306 for this embodiment, the electronic device further includes a second acquisition unit; the acquiring of the second data and the judging of whether the electronic equipment meets a third preset condition according to the second data comprise:
according to the second data acquired by the second acquisition unit, judging whether the second data is matched with second preset data;
correspondingly, the second judgment result indicates that the electronic device meets a third preset condition, which includes:
and when the second data is matched with the second preset data, determining that the electronic equipment meets a third preset condition.
In step 301 of this embodiment, the electronic device satisfies a first preset condition, that is, the electronic device satisfies a preset trigger condition, so that the electronic device can be switched from the first state to the second state, that is, when the electronic device is currently in the first state and it is detected that the electronic device satisfies the preset trigger condition, the electronic device can be switched from the current first state to the second state.
In this embodiment, the electronic device further includes a third acquisition unit; the detecting that the electronic device meets a first preset condition includes: and generating a second instruction according to third data acquired by the third acquisition unit, and determining that the electronic equipment meets the first preset condition when the second instruction is matched with a preset instruction.
The electronic equipment meets a first preset condition that: the electronic equipment obtains the trigger operation meeting the preset trigger condition, so that the current state of the electronic equipment is changed.
Specifically, in the first embodiment, the triggering operation may be a triggering operation for a first key of the electronic device, and the first key may be all keys capable of triggering the display screen or the touch display screen of the electronic device to be turned on, such as a power key and a Home key of the electronic device. In this embodiment, if the electronic device has a key detection unit, the electronic device generates a second instruction according to the third data acquired by the third acquisition unit, and when the second instruction matches a preset instruction, it is determined that the electronic device satisfies the first preset condition, that is: when the key detection unit detects a key value for representing the operation of the first key, generating a second instruction according to the key value, and when the second instruction is matched with a preset switching instruction, determining that the electronic equipment meets the first preset condition; the key detection unit can be realized through a detection circuit, when the first key is triggered, one key value can be detected through the detection circuit, and different instructions are correspondingly generated by different key values.
In the second embodiment, the trigger operation may also be an action operation for the electronic device, such as a "shake-and-shake" operation; in this embodiment, if the electronic device has an acceleration sensing unit or a gravity sensing unit, the second instruction is generated according to the third data acquired by the third acquisition unit, and when the second instruction matches a preset instruction, it is determined that the electronic device satisfies the first preset condition, that is: detecting the number of times of change of the acceleration of the electronic equipment through the acceleration sensing unit, generating a second instruction when the number of times of change of the acceleration reaches a first threshold value, and determining that the electronic equipment meets the first condition when the second instruction is matched with a preset switching instruction; or detecting the inclination angle of the electronic equipment through the gravity sensing unit, generating a second instruction when the inclination angle of the electronic equipment changes within a first preset angle range, and determining that the electronic equipment meets the first preset condition when the second instruction is matched with a preset switching instruction; the electronic device is preset with a corresponding relation between the second command and the action operation aiming at the electronic device, and when the action operation aiming at the electronic device is detected through the acceleration sensing unit and the gravity sensing unit, the second command corresponding to the action operation is generated.
In the third embodiment, the trigger operation may also be a voice instruction operation for the electronic device; in this embodiment, if the electronic device has a voice recognition unit, the electronic device generates a second instruction according to the third data acquired by the third acquisition unit, and when the second instruction matches a preset instruction, it is determined that the electronic device satisfies the first preset condition, and that: the voice recognition unit collects voice data, analyzes the voice data, obtains a second instruction included in the voice data, and determines that the electronic equipment meets the first preset condition when the second instruction is matched with a preset switching instruction.
In a fourth embodiment, the trigger operation may also be a touch operation for a specific area of the electronic device, where the specific area may be a fingerprint scanning area; in this embodiment, if the electronic device has a fingerprint identification unit, the electronic device generates a second instruction according to the third data acquired by the third acquisition unit, and when the second instruction matches a preset instruction, it is determined that the electronic device satisfies the first preset condition, and the first preset condition is: the fingerprint identification unit is used for collecting fingerprint characteristic data, when the fingerprint characteristic data are matched with preset fingerprint characteristic data in a consistent mode, a second instruction is generated, and when the second instruction is matched with a preset switching instruction, the electronic equipment is determined to meet the first preset condition.
In a fifth embodiment, the electronic device has a touch-control functional unit and a display functional unit, and when the display functional unit is in a first state, that is, when the display functional unit is in an off state, the touch-control functional unit can detect a touch operation and recognize the touch operation; based on this, the trigger operation may be a touch operation for a specific area of the electronic device, where the unit of the touch function can detect the area of the touch operation; in this embodiment, if the third acquisition unit is a touch unit, the second instruction is generated according to the third data acquired by the third acquisition unit, and when the second instruction matches a preset instruction, it is determined that the electronic device meets the first preset condition, and the method includes: the method comprises the steps that touch operation is detected through the touch unit, a second instruction is generated based on the touch operation, and when the second instruction is matched with a preset instruction, the electronic equipment is determined to meet the first preset condition.
By adopting the technical scheme of the embodiment of the invention, when the electronic equipment meets the second preset condition, the first interface is directly displayed, so that the unlocking operation process is simplified; the operation experience of the user is greatly improved; and when the electronic equipment does not meet the second preset condition, the second interface is still displayed, so that the leakage of the internal information of the electronic equipment when the electronic equipment is occupied by a layman is avoided, and the safety of using the electronic equipment by a user is greatly improved.
The present invention will be described in further detail with reference to specific examples.
EXAMPLE III
The embodiment of the invention also provides an information processing method, which is applied to electronic equipment, wherein the electronic equipment is provided with an image acquisition unit, and the image acquisition unit can be a camera; FIG. 4 is a flowchart illustrating an information processing method according to a third embodiment of the present invention; as shown in fig. 4, the information processing method includes:
step 401: when the electronic equipment is in a first state and the electronic equipment is detected to meet a first preset condition, a first instruction is generated.
Here, the electronic device includes a first state and a second state, and power consumption of the electronic device is lower in the first state than in the second state. Wherein the electronic device has a display-function unit, and the first state and the second state are states characterized by power consumption of the display-function unit. Specifically, when the electronic device is in the first state, the unit of the display function is in the closed state; when the electronic equipment is in a second state, the unit with the display function is in a starting state; in practical application, the unit with the display function may be a display screen or a touch display screen of the electronic device, and when the electronic device is in the first state, the display screen or the touch display screen of the electronic device is turned off; when the electronic equipment is in the second state, the display screen or the touch display screen of the electronic equipment is lightened.
Step 402: triggering and starting the image acquisition unit according to the first instruction, acquiring first image data through the image acquisition unit, analyzing the first image data, and obtaining first image characteristic data in the first image data.
Here, the image capturing unit and the unit with a display function in the electronic device are on the same plane, and the unit with a display function may be specifically a display screen or a touch display screen, that is, the image capturing unit and the display screen are on the same plane, or the image capturing unit and the touch display screen are on the same plane.
Wherein the first image feature data is feature data of a target object in the first image data; wherein the target object is an object with the largest size, or the middle position, or the most front position in the first image data; the first image feature data may be feature data characterized by an outline of the target object, and when the target object is a human, the first image feature data may also be feature data characterized by a human eye.
Step 403: and when the first image characteristic data is determined to be matched with the first preset image characteristic data, the electronic equipment is switched to the second state, and a first interface is controlled to be displayed.
Here, the first preset image feature data may be a preset image feature data set including at least one preset image feature data therein, and the at least one preset image feature data may be feature data characterized by at least one human eye. That is to say, in the present embodiment, as long as the first image feature data included in the image data acquired by the image acquisition unit matches and coincides with any one of the preset image feature data in the preset image feature data set, it may be determined that the electronic device satisfies the second preset condition. Therefore, in practical applications, the electronic device may store image feature data of faces of a plurality of users as a preset image feature data set in advance, and the electronic device may be switched to the second state and control to display the first interface in the manner described in this step, without being limited to the user of the electronic device, as long as any user in the preset image feature data set.
Of course, the first preset image feature data in this step may also be the only preset image feature data, and only after the first image feature data in the first image data acquired by the image acquisition unit matches the first preset image feature data, the electronic device may be switched to the second state, and the display of the first interface is controlled. This may be advantageous to ensure privacy of the electronic device to prevent content in the electronic device from being observed by other users.
Step 404: and when the first image characteristic data is determined to be inconsistent with the first preset image characteristic data in matching, the electronic equipment is switched to the second state, and a second interface is controlled to be displayed.
Here, when the first preset image feature data may be a preset image feature data set, that is, when the preset image feature data set includes at least one preset image feature data, the first image feature data included in the image data acquired by the image acquisition unit is not matched or consistent with all preset image feature data in the preset image feature data set, it is determined that the electronic device does not satisfy a second preset condition; or when the first preset image feature data is the only preset image feature data, the first image feature data in the first image data acquired by the image acquisition unit is inconsistent with the first preset image feature data in a matching manner, and the electronic equipment is determined not to meet a second preset condition.
In this embodiment, when the electronic device is switched to the second state, the electronic device may display two interfaces: a first interface and a second interface; wherein the electronic device is responsive to a first number of input operations when the electronic device displays the first interface; when the electronic equipment displays the second interface, the electronic equipment can respond to a second number of input operations, and the second number is smaller than the first number.
Specifically, the first interface in the embodiment of the present invention is an interface presented on a desktop of the electronic device, a plurality of application icons are presented on the first interface, at least one widget may also be presented on the first interface, and the application may be executed and started through an input operation for any application icon on the first interface, that is, when the electronic device displays the first interface, the electronic device may respond to a first number of input operations.
The second interface in this embodiment is an unlocking interface of the electronic device, and the electronic device can respond to a second number of input operations when displaying the second interface to achieve screen locking verification passing.
Step 405: when the electronic equipment displays the second interface, second image data are acquired through the image acquisition unit, and the second image data are analyzed to obtain second image feature data in the second image data.
In this embodiment, the lock screen displayed on the second interface is unlocked through the second image data acquired by the image acquisition unit, so that when the electronic device displays the second interface, the electronic device can respond to a second number of input operations, where the second number of input operations is an acquisition operation of the second image data of the image acquisition unit.
Step 406: and controlling the first interface to be displayed when the second image characteristic data is determined to be matched with second preset image characteristic data.
Here, a specific implementation manner of the matching between the second image feature data and the second preset image feature data is consistent with the specific implementation manner of the first image feature data and the first preset image feature data in step 403, and details are not repeated here.
When the second image characteristic data is matched with second preset image characteristic data in a consistent manner, namely when the electronic equipment is determined to meet a third preset condition, it is determined that screen locking and unlocking presented by the second interface are successful, and verification is passed.
Step 407: and controlling to display the second interface containing the specific content when the second image characteristic data is determined to be inconsistent with the second preset image characteristic data.
When the second image characteristic data is inconsistent with the second preset image characteristic data in a matching mode, namely the electronic equipment is determined not to meet a third preset condition, it is determined that the screen locking and unlocking presented by the second interface is unsuccessful, and the verification is not passed. Specifically, the specific content may be text content that indicates that the electronic device does not satisfy the third preset condition, such as "verification fails".
By adopting the technical scheme provided by the embodiment, when the electronic equipment meets the second preset condition, the first interface is directly displayed, so that the unlocking operation process is simplified; the operation experience of the user is greatly improved; and when the electronic equipment does not meet the second preset condition, the second interface is still displayed, so that the leakage of the internal information of the electronic equipment when the electronic equipment is occupied by a layman is avoided, and the safety of using the electronic equipment by a user is greatly improved.
Example four
The embodiment of the invention also provides an information processing method, which is applied to electronic equipment, wherein the electronic equipment is provided with a distance detection unit, and the distance detection unit can detect the distance between the electronic equipment and a shelter in front of the distance detection unit; the distance detection unit can be realized by an infrared distance measurement sensor; the electronic equipment is also provided with a touch unit and a display unit; the touch control unit can detect touch control operation, and when the display unit is in a closed state, the touch control unit can still detect the touch control operation; FIG. 5 is a flowchart illustrating an information processing method according to a third embodiment of the present invention; as shown in fig. 5, the information processing method includes:
step 501: when the electronic equipment is in a first state, a first touch operation is detected through the touch unit, a second instruction is generated based on the first touch operation, and when the second instruction is matched with a preset instruction, a first instruction is generated.
Here, the electronic device includes a first state and a second state, and power consumption of the electronic device is lower in the first state than in the second state. Wherein the electronic device has a display-function unit, and the first state and the second state are states characterized by power consumption of the display-function unit. Specifically, when the electronic device is in the first state, the unit of the display function is in the closed state; when the electronic equipment is in a second state, the unit with the display function is in a starting state; in practical application, the unit with the display function may be a display screen or a touch display screen of the electronic device, and when the electronic device is in the first state, the display screen or the touch display screen of the electronic device is turned off; when the electronic equipment is in the second state, the display screen or the touch display screen of the electronic equipment is lightened.
In the embodiment of the present invention, since the touch unit and the display unit are relatively independent, when the display unit is in the first state, the touch unit can still detect the first touch operation.
Preferably, when the electronic device is in the first state and the touch unit detects the first touch operation, the electronic device generates a second instruction matched with the preset instruction, and the electronic device triggers generation of the first instruction through the second instruction matched with the preset instruction.
Step 502: and triggering and starting the distance detection unit according to the first instruction, detecting distance data through the distance detection unit, judging whether the distance data is in a preset range interval, and obtaining a first judgment result.
Step 503: and when the distance data is not in the preset range interval, the electronic equipment is switched to the second state and controls to display a first interface.
The present embodiment can be applied to the following scenarios: when the electronic equipment is in a pocket of clothes of a user or a carrying bag carrying the electronic equipment, the distance detection unit detects distance data and judges whether the distance data is within a preset range interval; when the distance data is not within the preset range, it may be determined that there is no shielding object in front of the distance detection unit of the electronic device, which indicates that the electronic device is unlikely to be in a pocket of clothes of a user, and the electronic device is unlikely to be in a carrying bag carrying the electronic device, it may be determined that the first touch operation in step 501 is not a misoperation, but an active touch operation of the user to which the electronic device belongs.
Step 504: and when the distance data is within the preset range interval, the electronic equipment is switched to the second state and controls to display a second interface.
Here, when the distance data is within the preset range, it may be determined that there is a shielding object in front of the distance detection unit of the electronic device, which indicates that the electronic device may be in a pocket of clothes of a user or the electronic device may be in a carrying bag carrying the electronic device, and it may be determined that the first touch operation in step 501 is a false operation.
Specifically, the first preset range interval may be 0 to 10 centimeters; the 10 cm can be set according to the actual situation; when the distance data between the electronic device and the shelter is detected to be between 0 and 10 centimeters through the distance detection unit, the shelter in the close distance in front of the distance detection unit of the electronic device can be determined, and the electronic device is possibly in a pocket of clothes of a user or a carrying bag carrying the electronic device; when the distance data between the electronic equipment and the shielding object is detected to be not between 0 and 10 centimeters through the distance detection unit, the fact that the shielding object is not close to the front of the distance detection unit of the electronic equipment can be determined.
In this embodiment, when the electronic device is switched to the second state, the electronic device may display two interfaces: a first interface and a second interface; wherein the electronic device is responsive to a first number of input operations when the electronic device displays the first interface; when the electronic equipment displays the second interface, the electronic equipment can respond to a second number of input operations, and the second number is smaller than the first number.
Specifically, the first interface in the embodiment of the present invention is an interface presented on a desktop of the electronic device, a plurality of application icons are presented on the first interface, at least one widget may also be presented on the first interface, and the application may be executed and started through an input operation for any application icon on the first interface, that is, when the electronic device displays the first interface, the electronic device may respond to a first number of input operations.
The second interface in this embodiment is an unlocking interface of the electronic device, and the electronic device can respond to a second number of input operations when displaying the second interface to achieve screen locking verification passing.
Step 505: when the electronic equipment displays the second interface, a second touch operation is detected through the touch unit.
Here, when the electronic device displays the second interface, that is, when the electronic device displays an unlocking interface, the detecting, by the touch unit, a second touch operation is: and detecting a second touch operation aiming at the unlocking interface through the touch unit.
The second touch operation may be a sliding touch operation or an input touch operation.
Step 506: and when the second touch operation is matched with the preset touch operation in a consistent manner, controlling the first interface to be displayed.
Specifically, taking the second interface shown in fig. 2 as an example, the unlocking mode represented by the second interface shown in fig. 2 is a sliding unlocking mode, and the electronic device can only normally respond to a sliding input operation for a touch control (i.e., a slider) and according to a preset sliding track; therefore, when the second touch operation is a sliding input operation for the touch control (i.e., the slider) and according to a preset sliding track, it may be determined that the electronic device can normally respond to the second touch operation and control the display of the first interface.
In a second embodiment, that is, when the unlocking manner represented by the second interface is the graphical unlocking manner, a preset number of touch points are presented on the second interface, and the electronic device can only normally respond to the sliding input operation for at least two touch points in the preset number of touch points; the sliding input operation of the at least two touch points is matched with the preset sliding input operation of the at least two touch points; therefore, when the second touch operation is the sliding input operation aiming at the at least two touch points and the operation track of the sliding input operation aiming at the at least two touch points is determined to be matched and consistent with the operation track of the preset sliding input operation, it can be determined that the electronic equipment can normally respond to the second touch operation and control the display of the first interface.
In a third embodiment, that is, when the unlocking mode represented by the second interface is a password unlocking mode, a preset number of password input boxes are presented on the second interface, and the electronic device can only normally respond to password input operations for the preset number of password input boxes; therefore, when the second touch operation is a password input operation and the input password data is matched with the preset password data consistently, it can be determined that the electronic equipment can normally respond to the second touch operation and control the display of the first interface.
Step 507: and when the second touch operation is not consistent with the preset touch operation in matching, controlling to display the second interface containing specific content.
Here, when the second interface is the second interface shown in fig. 2, the unlocking manner represented by the second interface shown in fig. 2 is a sliding unlocking manner, and the electronic device can only normally respond to a sliding input operation for a touch control (i.e., a slider) and according to a preset sliding track; therefore, when the second touch operation is not a sliding input operation for the touch control (i.e., a slider) and according to a preset sliding track, it may be determined that the electronic device cannot normally respond to the second touch operation, i.e., the unlocking verification of the second interface is not passed.
In a second embodiment, that is, when the unlocking manner represented by the second interface is the graphical unlocking manner, a preset number of touch points are presented on the second interface, and the electronic device can only normally respond to the sliding input operation for at least two touch points in the preset number of touch points; the sliding input operation of the at least two touch points is matched with the preset sliding input operation of the at least two touch points; therefore, when the second touch operation is not a sliding input operation for the at least two touch points, or the operation trajectory of the sliding input operation for the at least two touch points is not matched and consistent with the operation trajectory of a preset sliding input operation, it may be determined that the electronic device cannot normally respond to the second touch operation, that is, the unlocking verification of the second interface is failed.
In a third embodiment, that is, when the unlocking mode represented by the second interface is a password unlocking mode, a preset number of password input boxes are presented on the second interface, and the electronic device can only normally respond to password input operations for the preset number of password input boxes; therefore, when the second touch operation is a password input operation and the input password data is inconsistent with the preset password data in matching, it can be determined that the electronic device cannot normally respond to the second touch operation, that is, the unlocking verification of the second interface fails.
When the second touch operation is inconsistent with the preset touch operation in a matching mode, namely the electronic equipment is determined not to meet a third preset condition, it is determined that the screen locking and unlocking presented by the second interface is unsuccessful, and the verification is not passed. Specifically, the specific content may be text content that indicates that the electronic device does not satisfy the third preset condition, such as "verification fails".
By adopting the technical scheme provided by the embodiment, when the electronic equipment meets the second preset condition, the first interface is directly displayed, so that the unlocking operation process is simplified; the operation experience of the user is greatly improved; and when the electronic equipment does not meet the second preset condition, the second interface is still displayed, so that the leakage of the internal information of the electronic equipment when the electronic equipment is occupied by a layman is avoided, and the safety of using the electronic equipment by a user is greatly improved.
EXAMPLE six
The embodiment of the invention also provides electronic equipment corresponding to the information processing method of the first embodiment of the invention, wherein the electronic equipment comprises a first state and a second state, and the power consumption of the electronic equipment in the first state is lower than that in the second state; fig. 6 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention; as shown in fig. 6, the electronic apparatus includes: a generating unit 61, a first collecting unit 62, a judging unit 63, a control display unit 64 and a second collecting unit 65; wherein the content of the first and second substances,
the generating unit 61 is configured to generate a first instruction when the electronic device is in the first state and it is detected that the electronic device meets a first preset condition;
the first acquisition unit 62 is configured to acquire first data according to the first instruction generated by the generation unit 61;
the judging unit 63 is configured to judge whether the electronic device meets a second preset condition according to the first data acquired by the first acquiring unit 62, so as to obtain a first judgment result; the second acquiring unit 65 is further configured to determine whether the electronic device meets a third preset condition according to the second data acquired by the second acquiring unit, so as to obtain a second determination result;
the control display unit 64 is configured to switch the electronic device to the second state and control to display a first interface when the first determination result obtained by the determining unit 63 indicates that the electronic device meets the second preset condition; when the first judgment result obtained by the judgment unit 63 is that the electronic device does not meet the second preset condition, controlling to display a second interface; the electronic device is further configured to control to display the first interface when the second judgment result obtained by the judgment unit 63 indicates that the electronic device meets the third preset condition;
the second acquiring unit 65 is configured to acquire second data when the control display unit 64 controls to display the second interface.
Wherein, when the control display unit 64 controls to display the first interface, the electronic device can respond to a first number of input operations;
when the control display unit 64 controls to display the second interface, the electronic device can respond to a second number of input operations, and the second number is smaller than the first number.
In a specific embodiment, the determining unit 63 is configured to determine whether the first data acquired by the first acquiring unit 62 is within a first preset data set range; when the first data is within the first preset data set range, determining that the electronic equipment meets the second preset condition; when the first data is not within the range of the first preset data set, determining that the electronic equipment does not meet the second preset condition.
In a specific embodiment, the determining unit 63 is configured to determine whether the second data acquired by the second acquiring unit 65 matches second preset data; and when the second data is matched with the second preset data, determining that the electronic equipment meets a third preset condition.
In a specific embodiment, the electronic device further includes a third collecting unit 66, configured to collect third data;
the generating unit 61 is further configured to generate a second instruction according to the third data acquired by the third acquiring unit 66, and when the second instruction matches a preset instruction, it is determined that the electronic device meets the first preset condition.
Based on the above three specific embodiments, wherein the second acquisition unit and the third acquisition unit 65 are the same acquisition unit 66; alternatively, the first and second electrodes may be,
the first collecting unit 62 and the second collecting unit 65 are the same collecting unit.
It should be understood by those skilled in the art that the functions of each processing unit in the electronic device according to the embodiment of the present invention may be understood by referring to the description of the information processing method, and each processing unit in the electronic device according to the embodiment of the present invention may be implemented by an analog circuit that implements the functions described in the embodiment of the present invention, or may be implemented by running software that executes the functions described in the embodiment of the present invention on an intelligent terminal.
EXAMPLE seven
The embodiment of the invention also provides electronic equipment corresponding to the information processing method of the first embodiment of the invention, wherein the electronic equipment comprises a first state and a second state, and the power consumption of the electronic equipment in the first state is lower than that in the second state; as shown in fig. 6, the electronic device according to this embodiment includes: a generating unit 61, a first collecting unit 62, a judging unit 63, a control display unit 64 and a second collecting unit 65; wherein the content of the first and second substances,
the generating unit 61 is configured to generate a first instruction when the electronic device is in the first state and it is detected that the electronic device meets a first preset condition;
the first acquisition unit 62 is configured to acquire first data according to the first instruction generated by the generation unit 61;
the judging unit 63 is configured to judge whether the electronic device meets a second preset condition according to the first data acquired by the first acquiring unit 62, so as to obtain a first judgment result; the second acquiring unit 65 is further configured to determine whether the electronic device meets a third preset condition according to the second data acquired by the second acquiring unit, so as to obtain a second determination result;
the control display unit 64 is configured to switch the electronic device to the second state and control to display a first interface when the first determination result obtained by the determining unit 63 indicates that the electronic device meets the second preset condition; when the first judgment result obtained by the judgment unit 63 is that the electronic device does not meet the second preset condition, controlling to display a second interface; the electronic device is further configured to control to display the first interface when the second judgment result obtained by the judgment unit 63 indicates that the electronic device meets the third preset condition; the determining unit 63 is further configured to control to display the second interface containing specific content when the second determination result obtained by the determining unit 63 indicates that the electronic device does not satisfy a third preset condition; the specific content is used for representing that the electronic equipment does not meet the third preset condition;
the second acquiring unit 65 is configured to acquire second data when the control display unit 64 controls to display the second interface.
Wherein, when the control display unit 64 controls to display the first interface, the electronic device can respond to a first number of input operations;
when the control display unit 64 controls to display the second interface, the electronic device can respond to a second number of input operations, and the second number is smaller than the first number.
In a specific embodiment, the determining unit 63 is configured to determine whether the first data acquired by the first acquiring unit 62 is within a first preset data set range; when the first data is within the first preset data set range, determining that the electronic equipment meets the second preset condition; when the first data is not within the range of the first preset data set, determining that the electronic equipment does not meet the second preset condition.
In a specific embodiment, the determining unit 63 is configured to determine whether the second data acquired by the second acquiring unit 65 matches second preset data; and when the second data is matched with the second preset data, determining that the electronic equipment meets a third preset condition.
In a specific embodiment, the electronic device further includes a third collecting unit 66, configured to collect third data;
the generating unit 61 is further configured to generate a second instruction according to the third data acquired by the third acquiring unit 66, and when the second instruction matches a preset instruction, it is determined that the electronic device meets the first preset condition.
Based on the above three specific embodiments, wherein the second acquisition unit and the third acquisition unit 65 are the same acquisition unit 66; alternatively, the first and second electrodes may be,
the first collecting unit 62 and the second collecting unit 65 are the same collecting unit.
It should be understood by those skilled in the art that the functions of each processing unit in the electronic device according to the embodiment of the present invention may be understood by referring to the description of the information processing method, and each processing unit in the electronic device according to the embodiment of the present invention may be implemented by an analog circuit that implements the functions described in the embodiment of the present invention, or may be implemented by running software that executes the functions described in the embodiment of the present invention on an intelligent terminal.
In the sixth and seventh embodiments, the electronic device may be an electronic device such as a smart phone or a tablet computer in practical application; the generating Unit 61, the determining Unit 63, and the control display Unit 64 in the electronic device may be implemented by a Central Processing Unit (CPU), a Digital Signal Processor (DSP), or a Programmable Gate Array (FPGA) in the electronic device in practical application; in practical application, the first acquisition unit 62 in the electronic device may be implemented by a distance sensor or a camera in the electronic device; in practical application, the second acquisition units 65 in the electronic device may be implemented by a touch screen or a camera in the electronic device; in practical applications, the third collecting unit 66 in the electronic device may be implemented by an acceleration sensor, a gravity sensor, a voice recognition module, a touch screen, a key detection module, or a fingerprint recognition module in the electronic device.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (9)

1. An information processing method is applied to an electronic device, the electronic device comprises a first state and a second state, and the power consumption of the electronic device is lower when the electronic device is in the first state than when the electronic device is in the second state; the method comprises the following steps:
when the electronic equipment is in the first state and the electronic equipment is detected to meet a first preset condition, generating a first instruction, acquiring first data according to the first instruction, judging whether the electronic equipment meets a second preset condition according to the first data, and obtaining a first judgment result; the first data is used for judging whether the triggering operation of the electronic equipment meeting the first preset condition is misoperation of a user or not;
when the first judgment result shows that the electronic equipment meets the second preset condition, the electronic equipment is switched to the second state and controls to display a first interface; when the electronic equipment displays the first interface, the electronic equipment can respond to a first number of input operations;
when the first judgment result indicates that the electronic equipment does not meet the second preset condition, controlling to display a second interface; when the electronic equipment displays the second interface, the electronic equipment can respond to a second number of input operations, and the second number is smaller than the first number;
when the electronic equipment displays the second interface, acquiring second data, and judging whether the electronic equipment meets a third preset condition according to the second data to obtain a second judgment result;
and when the second judgment result shows that the electronic equipment meets the third preset condition, controlling to display the first interface.
2. An information processing method is applied to an electronic device, the electronic device comprises a first state and a second state, and the power consumption of the electronic device is lower when the electronic device is in the first state than when the electronic device is in the second state; the method comprises the following steps:
when the electronic equipment is in the first state and the electronic equipment is detected to meet a first preset condition, generating a first instruction, acquiring first data according to the first instruction, judging whether the electronic equipment meets a second preset condition according to the first data, and obtaining a first judgment result; the first data is used for judging whether the triggering operation of the electronic equipment meeting the first preset condition is misoperation of a user or not;
when the first judgment result shows that the electronic equipment meets the second preset condition, the electronic equipment controls and displays a first interface in the second state; when the electronic equipment displays the first interface, the electronic equipment can respond to a first number of input operations;
when the first judgment result indicates that the electronic equipment does not meet the second preset condition, the electronic equipment controls and displays a second interface in the second state; when the electronic equipment displays the second interface, the electronic equipment can respond to a second number of input operations, and the second number is smaller than the first number;
when the electronic equipment displays the second interface, acquiring second data, and judging whether the electronic equipment meets a third preset condition according to the second data to obtain a second judgment result;
and when the second judgment result shows that the electronic equipment meets the third preset condition, controlling to display the first interface.
3. The method of claim 1 or 2, wherein the electronic device comprises a first acquisition unit; the judging whether the electronic equipment meets a second preset condition according to the first data comprises the following steps:
acquiring first data through the first acquisition unit, and judging whether the first data is in a first preset data set range;
correspondingly, the first judgment result shows that the electronic device meets the second preset condition, including:
when the first data is within the first preset data set range, determining that the electronic equipment meets the second preset condition;
correspondingly, the first judgment result indicates that the electronic device does not satisfy the second preset condition, including:
when the first data is not within the range of the first preset data set, determining that the electronic equipment does not meet the second preset condition.
4. The method of claim 3, wherein the electronic device further comprises a second acquisition unit; the acquiring of the second data and the judging of whether the electronic equipment meets a third preset condition according to the second data comprise:
according to the second data acquired by the second acquisition unit, judging whether the second data is matched with second preset data;
correspondingly, the second judgment result indicates that the electronic device meets a third preset condition, which includes:
when the second data is matched with the second preset data, determining that the electronic equipment meets a third preset condition;
the electronic equipment further comprises a third acquisition unit; the detecting that the electronic device meets a first preset condition includes:
generating a second instruction according to third data acquired by the third acquisition unit, and determining that the electronic equipment meets the first preset condition when the second instruction is matched with a preset instruction;
the second acquisition unit and the third acquisition unit are the same acquisition unit; alternatively, the first and second electrodes may be,
the first acquisition unit and the second acquisition unit are the same acquisition unit.
5. The method according to claim 1 or 2, characterized in that the method further comprises: when the second judgment result shows that the electronic equipment does not meet a third preset condition, controlling to display a second interface containing specific content; the specific content is used for representing that the electronic equipment does not meet the third preset condition.
6. The method according to claim 1 or 2, wherein the electronic device is switched from the first state to the second state when it is detected that the electronic device satisfies a first preset condition.
7. The method according to claim 3, wherein when it is detected that the electronic device meets a first preset condition, a first instruction is generated, the first acquisition unit is enabled according to the first instruction, and first data is acquired through the first acquisition unit.
8. An electronic device comprising a first state and a second state, the electronic device in the first state consuming less power than in the second state; the electronic device includes: the device comprises a generating unit, a first acquisition unit, a judging unit, a control display unit and a second acquisition unit; wherein the content of the first and second substances,
the generating unit is used for generating a first instruction when the electronic equipment is in the first state and the electronic equipment is detected to meet a first preset condition;
the first acquisition unit is used for acquiring first data according to the first instruction generated by the generation unit; the first data is used for judging whether the triggering operation of the electronic equipment meeting the first preset condition is misoperation of a user or not; the judging unit is used for judging whether the electronic equipment meets a second preset condition according to the first data acquired by the first acquisition unit to obtain a first judgment result; the electronic equipment is also used for judging whether the electronic equipment meets a third preset condition according to second data acquired by the second acquisition unit to obtain a second judgment result;
the control display unit is used for switching the electronic equipment to the second state and controlling to display a first interface when the first judgment result obtained by the judgment unit shows that the electronic equipment meets the second preset condition; when the first judgment result obtained by the judgment unit is that the electronic equipment does not meet the second preset condition, controlling to display a second interface; the electronic device is further configured to control to display the first interface when the second judgment result obtained by the judgment unit indicates that the electronic device meets the third preset condition; wherein the electronic device is responsive to a first number of input operations when the electronic device displays the first interface;
when the electronic equipment displays the second interface, the electronic equipment can respond to a second number of input operations, and the second number is smaller than the first number;
and the second acquisition unit is used for acquiring second data when the control display unit controls the display of the second interface.
9. An electronic device comprising a first state and a second state, the electronic device in the first state consuming less power than in the second state; the electronic device includes: the device comprises a generating unit, a first acquisition unit, a judging unit, a control display unit and a second acquisition unit; wherein the content of the first and second substances,
the generating unit is used for generating a first instruction when the electronic equipment is in the first state and the electronic equipment is detected to meet a first preset condition;
the first acquisition unit is used for acquiring first data according to the first instruction generated by the generation unit; the first data is used for judging whether the triggering operation of the electronic equipment meeting the first preset condition is misoperation of a user or not; the judging unit is used for judging whether the electronic equipment meets a second preset condition according to the first data acquired by the first acquisition unit to obtain a first judgment result; the electronic equipment is also used for judging whether the electronic equipment meets a third preset condition according to second data acquired by the second acquisition unit to obtain a second judgment result;
the control display unit is used for controlling the electronic equipment to display a first interface in the second state when the first judgment result obtained by the judgment unit shows that the electronic equipment meets the second preset condition; when the first judgment result obtained by the judgment unit indicates that the electronic equipment does not meet the second preset condition, the electronic equipment controls and displays a second interface in the second state; the electronic device is further configured to control to display the first interface when the second judgment result obtained by the judgment unit indicates that the electronic device meets the third preset condition; wherein the electronic device is responsive to a first number of input operations when the electronic device displays the first interface;
when the electronic equipment displays the second interface, the electronic equipment can respond to a second number of input operations, and the second number is smaller than the first number;
and the second acquisition unit is used for acquiring second data when the control display unit controls the display of the second interface.
CN201810444054.5A 2014-09-22 2014-09-22 Information processing method and electronic equipment Active CN108717508B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810444054.5A CN108717508B (en) 2014-09-22 2014-09-22 Information processing method and electronic equipment

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810444054.5A CN108717508B (en) 2014-09-22 2014-09-22 Information processing method and electronic equipment
CN201410487238.1A CN104346073B (en) 2014-09-22 2014-09-22 A kind of information processing method and electronic equipment

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201410487238.1A Division CN104346073B (en) 2014-09-22 2014-09-22 A kind of information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN108717508A CN108717508A (en) 2018-10-30
CN108717508B true CN108717508B (en) 2021-07-16

Family

ID=52501806

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201410487238.1A Active CN104346073B (en) 2014-09-22 2014-09-22 A kind of information processing method and electronic equipment
CN201810444054.5A Active CN108717508B (en) 2014-09-22 2014-09-22 Information processing method and electronic equipment

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201410487238.1A Active CN104346073B (en) 2014-09-22 2014-09-22 A kind of information processing method and electronic equipment

Country Status (1)

Country Link
CN (2) CN104346073B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104992094A (en) * 2015-06-25 2015-10-21 广东欧珀移动通信有限公司 Terminal operation method and terminal
CN107463813A (en) * 2017-07-13 2017-12-12 广东欧珀移动通信有限公司 Condition control method and Related product
CN107545167A (en) * 2017-09-05 2018-01-05 广东欧珀移动通信有限公司 Unlocking screen method, apparatus and terminal
CN107908447B (en) * 2017-10-31 2021-06-11 北京小鸟看看科技有限公司 Application switching method and device and virtual reality device
CN111158493B (en) * 2020-01-02 2022-11-15 维沃移动通信有限公司 Night mode switching method and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102508591A (en) * 2010-09-16 2012-06-20 微软公司 Prevention of accidental device activation
CN104008319A (en) * 2014-05-14 2014-08-27 深圳市汇顶科技股份有限公司 Terminal based on fingerprint recognition and method and system for logging into same in stand-by state

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8994499B2 (en) * 2011-03-16 2015-03-31 Apple Inc. Locking and unlocking a mobile device using facial recognition
CN102202133B (en) * 2011-04-26 2013-11-27 深圳市嘉兰图设计有限公司 Mobile terminal unlocking method and mobile terminal
CN102880384A (en) * 2012-08-24 2013-01-16 百度在线网络技术(北京)有限公司 Method and device for unlocking mobile terminal screen and mobile terminal comprising device
CN102929538A (en) * 2012-10-17 2013-02-13 广东欧珀移动通信有限公司 Method and system for preventing incorrect operation of mobile terminal with touch screen
CN102938820B (en) * 2012-12-03 2015-06-17 华为终端有限公司 Mobile phone proximity waking method and mobile phone proximity waking device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102508591A (en) * 2010-09-16 2012-06-20 微软公司 Prevention of accidental device activation
CN104008319A (en) * 2014-05-14 2014-08-27 深圳市汇顶科技股份有限公司 Terminal based on fingerprint recognition and method and system for logging into same in stand-by state

Also Published As

Publication number Publication date
CN104346073B (en) 2018-06-05
CN104346073A (en) 2015-02-11
CN108717508A (en) 2018-10-30

Similar Documents

Publication Publication Date Title
CN108717508B (en) Information processing method and electronic equipment
US9703941B2 (en) Electronic device with touch screen for fingerprint recognition
CN103823632B (en) A kind of unlocking screen method and its terminal
TWI474263B (en) Method of executing software functions using biometric detection and related electronic device
CN108710469B (en) Application program starting method, mobile terminal and medium product
US9953183B2 (en) User verification using touch and eye tracking
CN107045421B (en) Screen switching method and mobile terminal
CN104978028B (en) A kind of control method and mobile terminal of mobile terminal
CN104035698B (en) Terminal device and its state switching method
US10248231B2 (en) Electronic device with fingerprint detection
CN103795868A (en) Mobile terminal screen unlocking method and device and mobile terminal
CN104809402B (en) A kind of information fuzzy display methods and terminal
CN106415472A (en) Gesture control method, device, terminal apparatus and storage medium
CN107087075B (en) Prompting method based on screen fingerprint identification and mobile terminal
CN105511758B (en) Information processing method and electronic equipment
US20160357301A1 (en) Method and system for performing an action based on number of hover events
KR101349526B1 (en) Automatic teller machine and display method
CN105224448B (en) The method and apparatus for recording test scene
WO2017185670A1 (en) Method and device for controlling fingerprint sensor, and electronic device
CN107346193A (en) Prevent the method and device of false touch screen
CN108683809B (en) Screen locking method, device and system
CN106020689A (en) Unlocking method, device for touch screen and wearable equipment
CN105912158A (en) Touch-screen photographing method, device for mobile terminal and mobile terminal
WO2017185672A1 (en) Method and device for controlling fingerprint sensor, and electronic device
US20170249495A1 (en) Methods, devices, and computer-readable mediums for verifying a fingerprint

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