WO2017143539A1 - 一种处理方法和电子设备 - Google Patents

一种处理方法和电子设备 Download PDF

Info

Publication number
WO2017143539A1
WO2017143539A1 PCT/CN2016/074471 CN2016074471W WO2017143539A1 WO 2017143539 A1 WO2017143539 A1 WO 2017143539A1 CN 2016074471 W CN2016074471 W CN 2016074471W WO 2017143539 A1 WO2017143539 A1 WO 2017143539A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
matching result
preset
fingerprint
preset range
Prior art date
Application number
PCT/CN2016/074471
Other languages
English (en)
French (fr)
Inventor
李小娟
郜文美
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2016/074471 priority Critical patent/WO2017143539A1/zh
Priority to CN201680079957.7A priority patent/CN108496140B/zh
Priority to US16/079,063 priority patent/US10706255B2/en
Priority to EP16890993.5A priority patent/EP3410281B1/en
Publication of WO2017143539A1 publication Critical patent/WO2017143539A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/12Fingerprints or palmprints
    • G06V40/1365Matching; Classification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1684Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675
    • G06F1/1694Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675 the I/O peripheral being a single or a set of motion sensors for pointer control or gesture input obtained by sensing movements of the portable computer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1637Details related to the display arrangement, including those related to the mounting of the display in the housing
    • G06F1/1643Details related to the display arrangement, including those related to the mounting of the display in the housing the display being associated to a digitizer, e.g. laptops that can be used as penpads
    • 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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0412Digitisers structurally integrated in a display
    • 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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3226Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using a predetermined code, e.g. password, passphrase or PIN
    • H04L9/3231Biological data, e.g. fingerprint, voice or retina
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/12Fingerprints or palmprints
    • G06V40/1341Sensing with light passing through the finger

Definitions

  • the present invention relates to the field of information processing technologies, and in particular, to a processing method and an electronic device.
  • the fingerprint device is configured at a designated position (such as a side or a back) of the electronic device, and the electronic device is in a locked state.
  • the electronic device can be unlocked.
  • the user holds the electronic device during running or walking, and easily touches the fingerprint sensor.
  • the electronic device performs fingerprint matching on the fingerprint collected by the fingerprint sensor and the preset fingerprint to obtain a matching result, and performs the matching result. Responding, but the user does not want to perform the response during the actual operation.
  • This paper provides a processing method and an electronic device, which can solve the technical problem that the fingerprint sensor causes a response.
  • the first aspect provides a processing method for an electronic device having a fingerprint sensor and a display screen, the method comprising:
  • the matching result of the fingerprint collected by the fingerprint sensor and the preset fingerprint is determined, and the matching result includes: matching or not matching, when the orientation of the display screen and the direction of gravity When the included angle is not within the preset range, the response corresponding to the matching result is not performed; when the angle between the orientation of the display screen and the direction of the gravity is within the preset range, the response corresponding to the matching result is executed.
  • the electronic device collects the fingerprint through the fingerprint sensor
  • the collected fingerprint is matched with the preset fingerprint to obtain a matching result
  • the electronic device directly performs a response corresponding to the matching result, for example, unlocking the state or outputting the prompt information.
  • the matching of the fingerprint collected by the fingerprint sensor with the preset fingerprint fails. Since the fingerprint sensor is integrated on the outer side or the back of the electronic device, the user easily touches the fingerprint sensor, causing the electronic device to perform a response corresponding to the matching result, and the actual operation process The user does not want to perform the response.
  • the operation acting on the fingerprint sensor is detected, and the matching result between the fingerprint collected by the fingerprint sensor and the preset fingerprint is determined. When the angle between the orientation of the display screen and the direction of the gravity is not within the preset range, The user accidentally touches the fingerprint sensor, and the electronic device does not perform a response corresponding to the matching result, thereby reducing power consumption of the electronic device.
  • a three-dimensional coordinate system can be established.
  • the direction of gravity always points to the ground, and the direction of gravity can be set to the positive direction of the Z-axis.
  • the orientation of the display is from the back of the electronic device to the display. It can be set from the direction of the display counterclockwise (or clockwise) to the direction of gravity.
  • the steering angle defines the angle between the orientation of the display and the direction of gravity. .
  • the orientation of the display screen is the reverse direction of the Z axis; for example, the electronic device shown in FIG.
  • the orientation of the display screen is the positive direction of the Z-axis; taking the electronic device shown in FIG. 2e as an example, when the display screen of the electronic device is vertically to the left, the orientation of the display screen is the reverse direction of the X-axis; as shown in FIG. 2f For example, when the display of the electronic device is perpendicular to the right, the orientation of the display screen is the positive direction of the X-axis.
  • the preset range of the angle between the orientation of the display screen and the direction of gravity may be set to be not less than 90 degrees and not more than 180 degrees, or may be set to not less than 0 degrees and not more than 180 degrees, or may be set to not Less than 0 degrees and no more than 360 degrees, or set to other angle ranges.
  • the angle between the orientation of the display screen and the direction of gravity is 0 degrees; when the display screen of the electronic device is vertically to the left, the angle between the orientation of the display screen and the direction of gravity is 90 degrees; When the display screen of the electronic device is horizontally upward, the angle between the orientation of the display screen and the direction of gravity is 180 degrees; when the display screen of the electronic device is vertically rightward, the angle between the orientation of the display screen and the direction of gravity is 270 degrees.
  • the response corresponding to the matching result is performed, specifically: when the matching result is a match, the unlock state is released; when the matching result is not matched, the prompt information is output, and the prompt information is used to indicate that the fingerprint sensor is collected. The fingerprint failed to match the preset fingerprint.
  • the method further includes: acquiring an acceleration value of the electronic device in the X-axis, the Y-axis, and the Z-axis by using the acceleration sensor, when acquiring When each of the three acceleration values is smaller than the corresponding preset acceleration threshold, the response corresponding to the matching result is not executed; when any of the obtained three acceleration values is not less than the corresponding preset acceleration threshold , the response corresponding to the matching result is executed.
  • the electronic device can count the acceleration values of the electronic device in the X-axis, the Y-axis, and the Z-axis during the process of picking up the electronic device, and determine the preset acceleration threshold of the X-axis according to the statistically obtained acceleration value of the X-axis, and obtain the Y according to the statistics.
  • the acceleration value of the axis determines the preset acceleration threshold of the Y axis, and the preset acceleration threshold of the Z axis is determined according to the statistically obtained acceleration value of the Z axis.
  • the electronic device in order to improve the accuracy of determining whether the user accidentally touches the fingerprint sensor, when the angle between the orientation of the display screen and the direction of the gravity is not within the preset range, the electronic device can acquire the electronic device on the X axis through the acceleration sensor.
  • the acceleration values of the Y-axis and the Z-axis when the acceleration value of the X-axis is not less than the preset acceleration threshold of the X-axis, or the acceleration value of the Y-axis is not less than the preset acceleration threshold of the Y-axis, or the acceleration value of the Z-axis is not less than
  • the preset acceleration threshold of the Z axis indicates that the user does not accidentally touch the fingerprint sensor, the response corresponding to the matching result is executed.
  • the acceleration value of the X-axis is smaller than the preset acceleration threshold of the X-axis
  • the acceleration value of the Y-axis is smaller than the preset acceleration threshold of the Y-axis
  • the acceleration value of the Z-axis is smaller than the preset acceleration threshold of the Z-axis, indicating that the user accidentally touches the fingerprint.
  • the sensor does not perform a response corresponding to the matching result.
  • the electronic device may also update the preset range according to the state of the electronic device, for example, when the electronic device detects that the user is in a moving state (for example, the user carrying the electronic device is walking, running, or riding), the electronic device The device uses the first preset range [90°, 180°]; the electronic device detects that it is at rest, and the electronic device uses the second preset range [0°, 270°].
  • the state of the electronic device can also be divided in other ways, and the corresponding preset ranges can also be set separately, which do not constitute a limitation of the present invention.
  • the holding state of the electronic device is usually that the display screen is horizontally inclined or inclined at an angle, that is, the angle between the orientation of the display screen and the direction of gravity is about 180 degrees.
  • the holding state of the electronic device is usually that the display screen is vertically leftward or rightward (or inclined at an angle), that is, the angle between the orientation of the display screen and the direction of gravity is about 90 degrees. Or about 270 degrees.
  • the holding state of the electronic device is usually that the display screen is horizontally downward or inclined at an angle, that is, the angle between the orientation of the display screen and the direction of gravity is about 0 degrees or 360 degrees.
  • the holding state of the electronic device is usually between the angle of the display screen and the direction of gravity between 90 degrees and 180 degrees.
  • the electronic device may further update the preset range according to the posture of the user holding the electronic device (for example, walking, running, standing, sitting, lying, lying or lying on the back), for example, the electronic device detects The posture of the user holding the electronic device is walking, running, standing or sitting, the electronic device uses the first preset range [90°, 180°]; when the electronic device detects that the posture of the user holding the electronic device is prone, The electronic device uses the second preset range [180°-offset value, 180°+offset value].
  • the posture of the user holding the electronic device for example, walking, running, standing, sitting, lying, lying or lying on the back
  • the electronic device detects The posture of the user holding the electronic device is walking, running, standing or sitting, the electronic device uses the first preset range [90°, 180°]; when the electronic device detects that the posture of the user holding the electronic device is prone, The electronic device uses the second preset range [180°-offset value, 180°+offset value].
  • the electronic device uses the third preset range [0°-offset value, 0°+offset value] and/or [360°-offset value, 360° + offset value].
  • the electronic device uses the fourth preset range [90°-offset value, 90°+offset value] and/or [270°-offset value , 270° + offset value].
  • the posture state of the user holding the electronic device may also be divided in other manners, and the corresponding preset ranges may also be separately set, and the offset value may be 15° or 30°, or may be other values, which do not constitute the present invention. limited.
  • the preset ranges may be different, may be partially the same, or may be completely different, and are not specifically limited by the embodiments of the present invention.
  • the preset range in the embodiment of the present invention includes but is not limited to four preset ranges, for example, the preset range may be [180°-first preset angle, 180°+first preset angle]
  • the preset range may be [150°, 210°]; and the preset range may include a first preset range and a second preset range, and the first preset range may be [0°, first Preset angle] and [360° - first preset angle, 360°], the second preset range may be [180° - third preset angle, 180 ° + third preset angle], exemplary,
  • the first preset range may be [0°, 30°] and [330°, 360°]
  • the second preset range may be [150°, 210°] or the like, which is not specifically limited by the embodiment of the present invention.
  • the angle of orientation of the display screen with the direction of gravity is determined by data collected by at least one of a geomagnetic sensor, an angular velocity sensor, and an acceleration sensor.
  • the matching result of the operation detected within the preset duration is determined, and when the matching result includes the matching, the corresponding response is performed.
  • the electronic device detects the operation acting on the fingerprint sensor multiple times within the preset time period, it indicates that the user desires to perform a response corresponding to the matching result, and the electronic device misjudges the user as the user. Incorrectly touching the fingerprint sensor.
  • the electronic device detects that the number of operations on the fingerprint sensor exceeds a preset number of values within a preset duration, the matching result of the operation detected within the preset duration may be determined, and when the matching result includes the matching, Perform a matching response.
  • the matching result of the last operation detected within the preset duration is determined, and the response corresponding to the matching result of the last operation is performed.
  • the electronic device can determine the last detected in the preset duration.
  • the matching result of the operation, the response corresponding to the matching result of the last operation is performed, and the processing efficiency is improved.
  • the second aspect also provides a processing method for an electronic device having a fingerprint sensor, a camera, and a display screen, including:
  • the matching result includes: matching or not matching, when the image acquired by the camera is not When the preset face is included, the response corresponding to the matching result is not executed; when the image acquired by the camera includes the preset face, the response corresponding to the matching result is executed.
  • the image acquired by the camera when the image acquired by the camera includes a preset face, it indicates that the user is currently using the electronic device, and the user does not accidentally touch the fingerprint sensor, so that the response corresponding to the matching result can be performed.
  • the image acquired by the camera does not include the preset face, it indicates that the user is not currently using the electronic device, and the user accidentally touches the fingerprint sensor, so that the response corresponding to the matching result may not be executed, thereby improving resource utilization and reducing the work of the electronic device. Consumption.
  • the preset face may be pre-stored by the electronic device.
  • the electronic device may acquire the face of the owner of the electronic device through the camera, and store the acquired face of the owner as a preset face in the memory.
  • the electronic device After detecting the operation of the fingerprint sensor, the electronic device acquires an image through the camera, performs face recognition on the image acquired by the camera, and determines when the image includes a human face. Whether the face contained in the image matches the preset face, and when the face included in the image matches the preset face, it indicates that the owner of the electronic device is currently using electricity.
  • the child device can perform a response corresponding to the matching result.
  • the image does not include a face or the face included in the image does not match the preset face, it indicates that the owner of the electronic device is not currently using the electronic device, and the response corresponding to the matching result may not be executed.
  • the third aspect also provides a processing method for an electronic device having a fingerprint sensor, an infrared sensor, and a display screen, including:
  • the operation acting on the fingerprint sensor is detected, and the matching result between the fingerprint collected by the fingerprint sensor and the preset fingerprint is determined, and the matching result includes: matching or not matching, and infrared rays are emitted through the infrared sensor, when not received.
  • the infrared ray is reflected, the response corresponding to the matching result is not performed; when the reflected infrared ray is received, the response corresponding to the matching result is executed.
  • the electronic device emits infrared light through the infrared sensor.
  • the infrared light emitted to the user will be reflected to the electronic device, and the electronic device can receive the reflected infrared light, indicating that the user is currently using the electronic device, and the user Instead of accidentally touching the fingerprint sensor, the response corresponding to the matching result can be executed.
  • the electronic device does not receive the reflected infrared light, it indicates that the user is not currently using the electronic device, and the user accidentally touches the fingerprint sensor, so that the response corresponding to the matching result may not be performed, thereby improving resource utilization and reducing power consumption of the electronic device.
  • a fourth aspect also provides an electronic device comprising means for performing the method provided by the first aspect or any of the possible aspects of the first aspect.
  • a fifth aspect also provides an electronic device comprising one or more processors, a memory, a bus system, a fingerprint sensor, a display screen, and one or more programs, the processor, the memory, the fingerprint sensor, and the display screen are connected by a bus system
  • One or more programs are stored in the memory, and the one or more programs include instructions that, when executed by the electronic device, cause the electronic device to perform the first aspect and any one of the methods provided in all possible designs of the first aspect .
  • a sixth aspect also provides a graphical user interface on an electronic device, the electronic device including a display, a fingerprint sensor, a memory, a plurality of applications, and a program for executing one or more programs stored in the memory
  • the graphical user interface comprising a user interface displayed in accordance with any of the first aspect and any of the possible designs of the first aspect, wherein the display comprises a touch-sensitive surface and a display screen.
  • a seventh aspect also provides a computer readable storage medium storing one or more programs, the one or more programs comprising instructions that, when executed by an electronic device, cause the electronic device to execute The first aspect and any of the methods provided in all possible designs of the first aspect.
  • An eighth aspect also provides an electronic device comprising means for performing the method provided by the second aspect or any of the possible implementations of the second aspect.
  • a ninth aspect further provides an electronic device, comprising: one or more processors, a memory, a bus system, a fingerprint sensor, a camera, a display screen, and one or more programs, a processor, a memory, a fingerprint sensor, The camera and the display are connected by a bus system;
  • One or more of the programs are stored in a memory, and the one or more programs include instructions that, when executed by the electronic device, cause the electronic device to perform the second aspect and any one of the methods provided in all possible designs of the second aspect.
  • a tenth aspect also provides a graphical user interface on an electronic device, the electronic device comprising a display, a fingerprint sensor, a camera, a memory, a plurality of applications; and for executing one or more stored in the memory
  • the graphical user interface comprising a user interface displayed in accordance with any of the second aspect and any of the possible designs of the second aspect, wherein the display comprises a touch-sensitive surface and a display Screen.
  • An eleventh aspect also provides a computer readable storage medium storing one or more programs, the one or more programs comprising instructions that, when executed by an electronic device, cause the electronic device to perform the second aspect and all of the second aspect Any of the methods available in the design.
  • a twelfth aspect further provides an electronic device comprising means for performing the method provided by the third aspect or any of the possible implementations of the third aspect.
  • a thirteenth aspect further provides an electronic device, comprising: one or more processors, a memory, a bus system, a fingerprint sensor, an infrared sensor, a display screen, and one or more programs, a processor, a memory, and a fingerprint
  • the sensor, the infrared sensor and the display are connected by a bus system;
  • a fourteenth aspect also provides a graphical user interface on an electronic device, the electronic device comprising a display, a fingerprint sensor, a memory, a plurality of applications; and for executing one or more programs stored in the memory
  • the graphical user interface comprising a user interface displayed in accordance with any of the methods of the third aspect and all possible designs of the third aspect, wherein the display comprises a touch-sensitive surface and a display .
  • a fifteenth aspect further provides a computer readable storage medium storing one or more programs, the one or more programs comprising instructions that, when executed by the electronic device, cause the electronic device to perform all of the third aspect and the third aspect Any of the methods available in the design.
  • FIG. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • FIG. 2a is a schematic diagram of an interface of an electronic device with a fingerprint sensor according to an embodiment of the present invention
  • 2b is a schematic diagram of an interface between an orientation of a display screen and a direction of gravity provided in an embodiment of the present invention
  • 2c is a schematic diagram of an interface of an electronic device according to an embodiment of the present invention.
  • 2d is a schematic diagram of an interface of an electronic device according to another embodiment of the present invention.
  • 2 e is a schematic diagram of an interface of an electronic device according to another embodiment of the present invention.
  • 2f is a schematic diagram of an interface of an electronic device according to another embodiment of the present invention.
  • 2g is a schematic diagram of an interface of an electronic device according to another embodiment of the present invention.
  • 2h is a schematic diagram of an interface of an electronic device according to another embodiment of the present invention.
  • 2i is a schematic diagram of an interface of an electronic device according to another embodiment of the present invention.
  • 2j is a schematic diagram of an interface of an electronic device according to another embodiment of the present invention.
  • 2k is a schematic diagram of an interface of an electronic device according to another embodiment of the present invention.
  • FIG. 3 is a schematic flow chart of a processing method according to an embodiment of the present invention.
  • FIG. 4 is a schematic flow chart of a processing method according to another embodiment of the present invention.
  • FIG. 5 is a schematic flowchart of a processing method according to another embodiment of the present invention.
  • FIG. 6 is a schematic flowchart of a processing method according to another embodiment of the present invention.
  • FIG. 7 is a schematic flowchart of a processing method according to another embodiment of the present invention.
  • FIG. 8 is a schematic flowchart of a processing method according to another embodiment of the present invention.
  • FIG. 9 is a schematic flowchart of a processing method according to another embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of an electronic device according to another embodiment of the present invention.
  • FIG. 11 is a schematic structural diagram of an electronic device according to another embodiment of the present invention.
  • the electronic device provided by the embodiment of the present invention may be as shown in FIG. 1.
  • the electronic device 1 includes an input unit 11, at least one processor 12, an output unit 13, a memory 14, a power source 15, a communication unit 16, and the like. These components communicate over one or more buses.
  • the structure of the electronic device shown in the figure does not constitute a limitation of the present invention. It may be a bus type structure or a star structure, and may include more or less than the illustration. Parts, or combine some parts, or different parts.
  • the electronic device 1 may be any mobile or portable electronic device, including but not limited to a mobile phone, a mobile computer, a tablet computer, a personal digital assistant (PDA), a media player, and a smart device. TV, and combinations of two or more of the above.
  • the input unit 11 is used to implement user interaction with the electronic device 1 and/or information input into the electronic device 1.
  • the input unit 11 can receive numeric or character information input by the user to generate a signal input related to user setting or function control.
  • the input unit 11 includes at least a fingerprint sensor 111; the input unit 11 may further include a touch panel 112 and/or other human-machine interaction interface 113, such as a camera, an acceleration sensor, a geomagnetic sensor, an angular velocity sensor, or an infrared Sensors, etc.
  • the touch panel 112 also referred to as a touch screen or touch screen, collects operational actions on which the user touches or approaches.
  • the user uses any suitable object or accessory such as a finger or a stylus on the touch panel 112.
  • the touch panel 112 may include two parts: a touch detection device and a touch controller. Wherein the touch detection device detects a touch operation of the user, converts the detected touch operation into an electrical signal, and transmits the electrical signal to the touch controller; the touch controller receives the electrical signal from the touch detection device, and It is converted to contact coordinates and sent to the processor 12.
  • the touch controller can also receive commands from the processor 12 and execute them.
  • the touch panel 112 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the physical input keys used by the input unit 11 may include, but are not limited to, a physical keyboard, function keys (such as a volume control button, a switch button, etc.), a trackball, a mouse, a joystick, and the like. kind or more.
  • the input unit 11 in the form of a microphone can collect the voice input by the user or the environment and convert it into a command executable by the processor 12 in the form of an electrical signal.
  • the processor 12 is a control center of the electronic device 1, which connects various parts of the entire electronic device 1 with various interfaces and lines, by running or executing software programs and/or modules stored in the memory 14, and recalls stored in the memory 14. Data to perform various functions and/or process data of the electronic device 1.
  • the processor 12 may be composed of an integrated circuit (IC), for example, may be composed of a single packaged IC, or may be composed of a plurality of packaged ICs that have the same function or different functions.
  • the processor 12 may include only a central processing unit (CPU), or may be a GPU, a digital signal processor (DSP), and a control chip in the communication unit 16. A combination of (eg baseband chips).
  • the CPU may be a single operation core, and may also include multiple operation cores.
  • the output unit 13 includes, but is not limited to, an image output unit 131 and a sound output unit 132.
  • the image output unit 131 is configured to output prompt information, and the prompt information may be text, a picture, and/or a video.
  • the sound output unit 132 may be a vibration sensor or a microphone or the like for outputting prompt information, and the prompt information may be vibration or ringtone.
  • the image output unit 131 in the embodiment of the present invention includes at least a display screen 1311, such as a liquid crystal display (LCD), an organic light-emitting diode (OLED), and a field emission display (field). Emission display, abbreviated: FED).
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • FED field emission display
  • the image output unit 131 A reflective display, such as an electrophoretic display, or a display utilizing an Interferometric Modulation of Light, may be included.
  • the image output unit 131 may include a single display or a plurality of displays of different sizes.
  • the display panel 1311 used by the touch panel 112 and the output unit 13 used by the input unit 11 may be collectively referred to as a display.
  • the touch panel 112 detects a touch or proximity gesture operation thereon, it is transmitted to the processor 12 to determine the type of touch event, and then the processor 12 provides a corresponding visual output on the display 1311 according to the type of the touch event. .
  • the input unit 11 and the output unit 13 function as two separate components to implement the input and output functions of the electronic device 1, in some embodiments, the touch panel 112 can be integrated with the display 1311.
  • the input and output functions of the electronic device 1 are realized in one body.
  • the image output unit 131 can display various graphical user interfaces (GUIs) as virtual control components, including but not limited to windows, scroll axes, icons, and scrapbooks, for the user to touch. The way to operate.
  • GUIs graphical user interfaces
  • the image output unit 131 includes a filter and an amplifier for filtering and amplifying the video output by the processor 12.
  • the sound output unit 132 includes a digital to analog converter for converting the audio signal output by the processor 12 from a digital format to an analog format.
  • the memory 14 can be used to store software programs and modules, and the processor 12 executes various functional applications of the electronic device 1 and implements data processing by running software programs and modules stored in the memory 14.
  • the memory 14 mainly includes a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function, such as a sound playing program, an image playing program, and the like; and the data storage area can be stored according to the electronic device.
  • the data created by the use of 1 (such as audio data, phone book, etc.).
  • the memory 14 may include a volatile memory, such as a nonvolatile volatile random access memory (NVRAM), a phase change random access memory (Phase Change RAM, abbreviation: PRAM), magnetoresistive random access memory (Magnetoresistive RAM, abbreviation: MRAM), etc., may also include non-volatile memory, such as at least one magnetic disk storage device, electrically erasable programmable read only memory (Electrically Erasable Programmable Read) -Only Memory, abbreviation: EEPROM), flash memory devices such as NOR flash memory or NAND flash Memory).
  • NVRAM nonvolatile volatile random access memory
  • PRAM phase change random access memory
  • MRAM magnetoresistive random access memory
  • MRAM magnetoresistive random access memory
  • EEPROM Electrically erasable programmable read only memory
  • flash memory devices such as NOR flash memory or NAND flash Memory
  • the memory 14 loads the running program and data from the non-volatile memory into the memory and stores the digital content in a plurality of storage devices.
  • the operating system includes controls and management of general system tasks such as memory management, storage device control, power management, etc., as well as various components and/or drivers that facilitate communication between various hardware and software.
  • the operating system may be an Android system of Google Inc., an iOS system developed by Apple Inc., or a Windows operating system developed by Microsoft Corporation, or an embedded operating system such as Vxworks.
  • Applications include any application installed on an electronic device, including but not limited to browsers, email, instant messaging services, word processing, keyboard virtualization, widgets, encryption, digital rights management, voice recognition, voice replication , positioning (such as those provided by GPS), music playback, and more.
  • the power source 15 is used to power different components of the electronic device 1 to maintain its operation.
  • the power source can be a built-in battery, such as a common lithium ion battery, a nickel-hydrogen battery, etc., and an external power source that directly supplies power to the electronic device, such as an AC adapter.
  • the power supply may also be more widely defined, for example, may also include a power management system, a charging system, a power failure detection circuit, a power converter or an inverter, and a power status indicator (such as a light source). Diode), and any other component associated with the generation, management, and distribution of electrical energy from the electronic device.
  • the communication unit 16 is configured to establish a communication channel, to cause the electronic device 1 to connect to the remote server through the communication channel, and to media the data from the remote server.
  • the communication unit 16 may include a wireless local area network (WLAN) module, a Bluetooth module, a baseband module, and the like, and a radio frequency (RF) circuit corresponding to the communication module.
  • WLAN wireless local area network
  • RF radio frequency
  • WCDMA Wideband Code Division Multiple Access
  • HSDPA High Speed Downlink Access
  • the communication module is used to control communication of components in the electronic device, and can support Direct Memory Access.
  • various communication modules in communication unit 16 are generally integrated The form of an integrated circuit chip appears and can be selectively combined without having to include all communication modules and corresponding antenna groups.
  • communication unit 16 may include only baseband chips, radio frequency chips, and corresponding antennas to provide communication functionality in a cellular communication system.
  • the electronic device 1 can be connected to a cellular network (Cellular Network) or the Internet (Internet) via a wireless communication connection established by the communication unit 16, such as wireless local area network access or WCDMA access.
  • communication modules, such as baseband modules, in communication unit 16 may be integrated into processor 12, typically an APQ+MDM series platform such as that provided by Qualcomm.
  • the radio frequency circuit is used for receiving and transmitting signals during information transmission and reception or during a call. For example, after the downlink information of the base station is received, it is processed by the processor 12; in addition, the data designed for the uplink is transmitted to the base station.
  • radio frequency circuits include well-known circuits for performing these functions, including but not limited to antenna systems, radio frequency transceivers, one or more amplifiers, tuners, one or more oscillators, digital signal processors, codecs (Codec A chipset, a Subscriber Identity Module (SIM) card, memory, and the like.
  • the RF circuit can communicate with the network and other devices through wireless communication.
  • Wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), code division multiple access. (Code Division Multiple Access, abbreviation: CDMA), Wideband Code Division Multiple Access (WCDMA), High Speed Uplink Packet Access (HSUPA), long-term Evolution (Long Term Evolution, LTE), e-mail, Short Messaging Service (SMS), etc.
  • GSM Global System of Mobile communication
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • HSUPA High Speed Uplink Packet Access
  • LTE Long Term Evolution
  • SMS Short Messaging Service
  • the processor 12 detects an operation acting on the fingerprint sensor 111 when the electronic device 1 is in the locked state, and the processor 12 determines a matching result between the fingerprint collected by the fingerprint sensor 111 and the preset fingerprint.
  • the matching result includes: matching or not matching.
  • the processor 12 does not perform the response corresponding to the matching result; when the orientation of the display screen 1311 and the direction of gravity
  • the processor 12 performs a response corresponding to the matching result.
  • the processor 12 performs a response corresponding to the matching result, including: when the matching result is a match, the processor 12 releases the locked state; when the matching result is a mismatch, the output unit 13 outputs the prompt.
  • the information is used to indicate that the fingerprint collected by the fingerprint sensor fails to match the preset fingerprint.
  • the processor 12 may perform the following operations: when the angle between the orientation of the display screen 1311 and the direction of the gravity is not within the preset range, the acceleration of the electronic device 1 on the X-axis, the Y-axis, and the Z-axis is acquired by the acceleration sensor. a value, when each of the obtained three acceleration values is smaller than the corresponding preset acceleration threshold, the response corresponding to the matching result is not performed; and any one of the obtained three acceleration values is not less than the corresponding one.
  • the acceleration threshold is preset, the response corresponding to the matching result is executed.
  • the angle between the orientation of the display screen 1311 and the direction of gravity is determined by data collected by at least one of a geomagnetic sensor, an angular velocity sensor, and an acceleration sensor.
  • the method further includes: when detecting that the number of operations on the fingerprint sensor exceeds a preset number of values within the preset duration, the processor 12 determines the preset duration detection.
  • the result of the matching of the operation when the matching result includes the matching, the matching corresponding response is performed.
  • the method further includes: when detecting that the number of operations on the fingerprint sensor exceeds a preset number of values within a preset duration, the processor 12 determines the preset duration The matching result of the last operation detected inside, and the response corresponding to the matching result of the last operation.
  • the processor 12 detects an operation acting on the fingerprint sensor 111 when the electronic device 1 is in the locked state, and the processor 12 determines a matching result between the fingerprint collected by the fingerprint sensor 111 and the preset fingerprint.
  • the matching result includes: matching or not matching.
  • the processor 12 does not perform the response corresponding to the matching result; when the image obtained by the camera includes the preset face, the processor 12 The response corresponding to the matching result is executed.
  • the processor 12 detects an operation acting on the fingerprint sensor 111 when the electronic device 1 is in the locked state, and the processor 12 determines a matching result between the fingerprint collected by the fingerprint sensor 111 and the preset fingerprint.
  • the matching result includes: matching or not matching, and transmitting infrared rays through the infrared sensor.
  • the processor 12 does not perform a response corresponding to the matching result; when receiving the reflected infrared rays, the processor 12 performs a response corresponding to the matching result. .
  • the electronic device is in a locked state, that is, the display screen of the electronic device is locked.
  • the fingerprint sensor can be applied to input the fingerprint, so that the electronic device obtains the matching result through fingerprint recognition, and the locked state is released when the matching result is matched;
  • the prompt message is output when the matching result is not matched.
  • the prompt information may be used to indicate that the fingerprint collected by the fingerprint sensor fails to match the preset fingerprint.
  • the electronic device may output the prompt information by vibrating, brightening, loudening, or displaying text information.
  • the fingerprint sensor in the electronic device may include one or more. Taking the interface diagram of the electronic device with the fingerprint sensor shown in FIG. 2a as an example, the fingerprint sensor A is integrated in the upper right corner of the display screen of the electronic device, and the fingerprint sensor B is integrated in In the upper left corner of the display of the electronic device, the fingerprint sensor C is integrated in the lower right corner of the display of the electronic device, and the fingerprint sensor D is integrated in the lower left corner of the display of the electronic device. It should be noted that the fingerprint sensor may be integrated on the back side of the electronic device, the display screen or the side, etc., and is not limited by the embodiment of the present invention.
  • the preset duration can be a preset period of time, such as 10 seconds or 15 seconds.
  • the preset number value can be a preset value, such as 3 or 5, and the like. For example, if the angle between the orientation of the display screen and the direction of the gravity is not within the preset range due to improper operation, the electronic device does not perform the matching result.
  • the response and the electronic device detects the operation of the fingerprint sensor more than 5 times in a 10-second period, indicating that the user repeatedly operates the fingerprint sensor, and the user desires to perform a response corresponding to the matching result.
  • the electronic device can perform a response corresponding to the matching result.
  • FIG. 3 is a schematic flowchart of a processing method according to an embodiment of the present invention.
  • the processing method provided by the embodiment of the present invention is applied to an electronic device including a fingerprint sensor and a display screen. As shown in FIG. 3, the method may include:
  • Step S301 the electronic device detects an operation acting on the fingerprint sensor while in the locked state.
  • the electronic device When the electronic device is in the locked state, it can detect whether there is an operation of the user acting on the fingerprint sensor, and when detecting the operation of the user acting on the fingerprint sensor, the fingerprint can be collected by the fingerprint sensor.
  • the electronic device when the electronic device is in the locked state, the user can input the fingerprint in the fingerprint input area shown in FIG. 2g, and the electronic device can detect the operation acting on the fingerprint sensor.
  • Step S302 the electronic device determines a matching result between the fingerprint collected by the fingerprint sensor and the preset fingerprint.
  • the electronic device can determine the matching result between the fingerprint collected by the fingerprint sensor and the preset fingerprint.
  • the matching result is a match; when the collected fingerprint does not match the preset fingerprint, the matching result is matched. For no match.
  • the electronic device may obtain a matching result between the fingerprint collected by the fingerprint sensor and the preset fingerprint through fingerprint identification, and the fingerprint identification technology may include a method for comparing and comparing the fingerprint images with a fingerprint image and a method for comparing the feature information of the fingerprint image.
  • the method for statistical comparison of different fingerprint images may be: statistically comparing two fingerprint images, obtaining similarity between two fingerprint images, and determining whether the fingerprint and the preset fingerprint collected by the fingerprint sensor are based on the similarity match.
  • the method for comparing the feature information of the fingerprint image may be: obtaining the feature information of each fingerprint image according to the structural features of the two fingerprint images, and comparing the feature information of each fingerprint image to determine the fingerprint sensor collection. Whether the fingerprint obtained matches the preset fingerprint.
  • Step S303 the electronic device determines whether the angle between the orientation of the display screen and the direction of gravity is within a preset range.
  • Step S304 is further performed; when the angle between the orientation of the display screen and the direction of gravity is within a preset range, step S305 is further performed.
  • the direction from the display to the counterclockwise (or clockwise) to the direction of gravity can be set to define the angle between the orientation of the display and the direction of gravity (the display can also be defined in other ways). The angle toward the direction of gravity does not constitute a limitation of the invention).
  • the preset range of the angle between the orientation of the display screen and the direction of gravity may be set to be not less than 90 degrees and not more than 180 degrees, or may be set to not less than 0 degrees and not more than 180 degrees, or may be set to not Less than 0 degrees and no more than 360 degrees, or set to other angle ranges.
  • the electronic device can determine that the direction of gravity is the same as the direction of the Z-axis, further obtain the orientation of the display screen of the electronic device, and obtain the orientation of the display screen according to the direction of gravity and the orientation of the display screen.
  • step S302 and step S303 may be performed at the same time, or step S302 may be performed first, or step S303 may be performed first, or step S303 may be performed first, and then step S302 is performed.
  • the invention is defined.
  • the preset range may be set, for example, the preset range may include a first preset range, a second preset range, a third preset range, and a fourth preset range, when the display is When the angle toward the direction of gravity is not within the first preset range, the second preset range, the third preset range, and the fourth preset range, determining that the orientation of the display screen and the direction of gravity are not preset Within the scope. Determining the display screen when the angle between the orientation of the display screen and the direction of gravity is within any of the first preset range, the second preset range, the third preset range, and the fourth preset range The angle toward the direction of gravity is within a preset range.
  • the first preset range may be [0°, 30°] and [330°, 360°]
  • the second preset range may be [60°, 120°]
  • the third preset range may be [150° , 210°]
  • the fourth preset range can be [240°, 310°], when the orientation of the display is in the direction of gravity Determine the display when the angle is within [0°, 30°], [330°, 360°], [60°, 120°], [150°, 210°] or [240°, 310°]
  • the angle toward the direction of gravity is within the preset range; when the orientation of the display is not in the direction of gravity, [0°, 30°], [330°, 360°], [60°, 120°]
  • the angle between the orientation of the display screen and the direction of gravity is determined to be out of the preset range.
  • the electronic device may further update the preset range according to the state of the electronic device. For example, when the electronic device detects that the user is in a moving state (for example, the user carrying the electronic device is walking, running, or riding a car), the electronic device uses the first The preset range is [90°, 180°]; the electronic device detects that it is at a standstill, and the electronic device uses the second preset range [0°, 270°].
  • the state of the electronic device can also be divided in other ways, and the corresponding preset ranges can also be set separately, which do not constitute a limitation of the present invention.
  • the electronic device may further update the preset range according to the posture of the user holding the electronic device (for example, walking, running, standing, sitting, lying, lying or lying on the back), for example, the electronic device detects the holding electronic
  • the electronic device detects the holding electronic
  • the electronic device uses the first preset range [90°, 180°]; when the electronic device detects that the posture of the user holding the electronic device is prone, the electronic device uses The second preset range [180° - offset value, 180 ° + offset value].
  • the electronic device uses the third preset range [0°-offset value, 0°+offset value] and/or [360°-offset value, 360° + offset value].
  • the electronic device uses the fourth preset range [90°-offset value, 90°+offset value] and/or [270°-offset value , 270° + offset value].
  • the posture state of the user holding the electronic device may also be divided in other manners, and the corresponding preset ranges may also be separately set, and the offset value may be 15° or 30°, or may be other values, which do not constitute the present invention. limited.
  • the preset ranges may be different, may be partially the same, or may be completely different, and are not specifically limited by the embodiments of the present invention.
  • the data collected by the at least one of the geomagnetic sensor, the angular velocity sensor, and the acceleration sensor may determine an angle between the orientation of the display screen and the direction of gravity.
  • the electronic device can acquire the gravity distribution and the geomagnetic data of the electronic device on the X, Y, and Z axes through the geomagnetic sensor, and obtain the orientation of the display screen according to the gravity distribution and the geomagnetic data.
  • the electronic device can obtain the angular velocity of the electronic device in the X, Y, and Z axes through the angular velocity sensor, and integrate the angular velocity in time, obtain the angle between the electronic device and the X, Y, and Z axes, and then obtain the display screen according to the above angle. Orientation.
  • the electronic device can acquire the acceleration x of the electronic device on the X-axis through the acceleration sensor, the acceleration y of the electronic device on the Y-axis, and the acceleration z of the electronic device in the Z-axis, by formula Obtain the angle between the electronic device and the Z axis; Obtain the angle between the electronic device and the X axis; Obtain an angle between the electronic device and the Y-axis, and then obtain the orientation of the display screen according to the above angle.
  • the direction of gravity is the positive direction of the Z-axis, and the electronic device can obtain the angle between the orientation of the display screen and the direction of gravity according to the orientation of the display screen, and can be set to rotate counterclockwise (or clockwise) from the display screen.
  • the steering angle to the direction of gravity defines the angle between the orientation of the display screen and the direction of gravity.
  • Figures 2b and 2g herein show the direction of the steering angle from counterclockwise to gravity as a display screen. The angle toward the direction of gravity.
  • the electronic device may acquire the acceleration values of the electronic device in the X-axis, the Y-axis, and the Z-axis through the acceleration sensor, when acquiring When the acceleration value of each of the three acceleration values is less than the corresponding preset acceleration threshold, the response corresponding to the matching result is not executed; when any of the obtained three acceleration values is not less than the corresponding preset When the acceleration threshold is used, the response corresponding to the matching result is executed.
  • the electronic device detects an operation acting on the fingerprint sensor, and at this time, the angle between the orientation of the display screen and the direction of gravity is not within a preset range, and the electronic device can acquire the electronic device in the X-axis, the Y-axis, and the Z through the acceleration sensor.
  • the acceleration value of the axis when each of the obtained three acceleration values is less than the corresponding preset acceleration threshold, indicating that the user does not pick up the operation of the electronic device, determining that the fingerprint sensor is accidentally touched, and the electronic device does not Performing a response corresponding to the matching result; when any one of the obtained three acceleration values is not less than the corresponding preset acceleration threshold, indicating that the user operates the fingerprint sensor in the process of picking up the electronic device, and the electronic device performs matching
  • the result corresponds to the response.
  • the electronic device can acquire the acceleration values of the X-axis, the Y-axis, and the Z-axis of the electronic device within a preset duration by using the acceleration sensor, and when each of the obtained three acceleration values is less than the corresponding preset acceleration threshold The response corresponding to the matching result is not executed; when any one of the obtained three acceleration values is not less than the corresponding preset acceleration threshold, the response corresponding to the matching result is executed.
  • the preset duration can be determined according to the frequency of the data collected by the acceleration sensor.
  • the acceleration sensor collects data every 10s
  • the electronic device can set the preset duration to 10s
  • the electronic device can obtain the acceleration sensor to detect the orientation of the display.
  • the angle with the direction of gravity is not the data collected for the first time after the preset range, and the acceleration values of the electronic device on the X-axis, the Y-axis, and the Z-axis are obtained according to the acquired data.
  • the preset duration may also be preset by the user, for example, 30s, etc., when the electronic device acquires the acceleration sensor from the time when it is detected that the angle between the orientation of the display screen and the direction of gravity is not within the preset range, 30s is started.
  • the data collected in the segment, and the acceleration values of the electronic device in the X-axis, the Y-axis, and the Z-axis are obtained according to the acquired data.
  • Step S304 the electronic device does not perform a response corresponding to the matching result.
  • the electronic device may not perform a response corresponding to the matching result. For example, when the matching result is a match, the electronic device may not perform the unlocking state; when the matching result is a mismatch, the electronic device may not output the prompt information.
  • the detected operation within the preset duration may be determined.
  • the matching result when the matching result includes a match, performs a matching corresponding response.
  • the user may operate improperly, and the angle between the orientation of the display screen and the direction of the gravity is not within the preset range or the input fingerprint is incomplete. If the user repeatedly operates the fingerprint sensor within the preset duration, and acts on the fingerprint. The number of operations of the sensor exceeds a preset number, indicating that the user wants to perform a response corresponding to the matching result. If it is determined that at least one of the matching results of the detected operation within the preset duration is matched, the electronic device may perform matching. Corresponding responses, such as unlocking status, enable the electronic device to improve processing efficiency and enhance the user experience.
  • the user when it is detected that the number of operations on the fingerprint sensor exceeds a preset number of values within a preset duration, determining a matching result of the last operation detected within the preset duration, performing a matching of the last operation The result corresponds to the response.
  • the user may operate improperly and cause obvious display. The angle between the orientation of the screen and the direction of gravity is not within the preset range or the input fingerprint is incomplete.
  • the electronic device may determine the matching result of the last operation detected within the preset duration, and perform a response corresponding to the matching result of the last operation, for example, the matching result of the last operation.
  • the matching result of the last operation is a mismatch, and the prompt information is output, so that the electronic device can improve the processing efficiency and improve the user experience.
  • Step S305 the electronic device performs a response corresponding to the matching result.
  • the electronic device can perform a response corresponding to the matching result.
  • the electronic device can be unlocked; when the matching result is not matched, the electronic device can output prompt information, and the prompt information is used to indicate the fingerprint sensor.
  • the collected fingerprint failed to match the preset fingerprint. It should be understood that the prompt information can be displayed or vibrated or a preset sound is emitted.
  • the operation acting on the fingerprint sensor is detected, and the matching result of the fingerprint collected by the fingerprint sensor and the preset fingerprint is determined, when the orientation of the display screen and the gravity are When the angle of the direction is not within the preset range, the response corresponding to the matching result is not performed.
  • the response corresponding to the matching result is executed, and the fingerprint may be avoided.
  • the sensor causes a response and improves resource utilization.
  • FIG. 4 is a schematic flowchart of a processing method according to another embodiment of the present invention.
  • the processing method provided by the embodiment of the present invention is applied to an electronic device including a fingerprint sensor, a camera, and a display screen. As shown in FIG. 4, the method may include:
  • Step S401 the electronic device detects an operation acting on the fingerprint sensor while in the locked state.
  • the user when the electronic device is in the locked state, the user can input the fingerprint in the fingerprint input area shown in FIG. 2h, and the electronic device can detect the operation acting on the fingerprint sensor.
  • Step S402 the electronic device determines a matching result of the fingerprint collected by the fingerprint sensor and the preset fingerprint. fruit.
  • Step S403 the electronic device acquires an image through the camera.
  • the image can be acquired by the camera.
  • the front camera can be triggered to acquire an image through the front camera. Taking the interface diagram shown in FIG. 2h as an example, the electronic device can acquire an image through a camera, and when the image includes a preset face, perform a response corresponding to the matching result; when the image does not include a face or the image does not include a preset face , the response corresponding to the matching result is not executed.
  • step S404 the electronic device determines whether the image includes a preset face.
  • the electronic device can perform face recognition on the acquired image.
  • determine whether the image includes a preset face determine whether the image includes a preset face.
  • the electronic device owner is using the electronic device.
  • the response corresponding to the matching result is executed.
  • the image does not include a face or the image does not include a preset face, it indicates that the owner of the electronic device does not currently use the electronic device, and the response corresponding to the matching result may not be executed.
  • Step S405 the electronic device does not perform a response corresponding to the matching result.
  • the electronic device may not perform a response corresponding to the matching result.
  • the electronic device may acquire the acceleration values of the electronic device on the X axis, the Y axis, and the Z axis by using the acceleration sensor, and each of the obtained three acceleration values When an acceleration value is less than the corresponding preset acceleration threshold, the response corresponding to the matching result is not performed; when any one of the obtained three acceleration values is not less than the corresponding preset acceleration threshold, the matching result is performed. response.
  • the detected operation within the preset duration may be determined.
  • the matching result when the matching result includes a match, performs a matching corresponding response.
  • the electronic device may determine a match of the last operation detected within the preset duration. As a result, the response corresponding to the matching result of the last operation is performed.
  • Step S406 the electronic device performs a response corresponding to the matching result.
  • the electronic device may perform a response corresponding to the matching result.
  • the electronic device can be unlocked; when the matching result is not matched, the electronic device can output prompt information, and the prompt information is used to indicate the fingerprint sensor.
  • the collected fingerprint failed to match the preset fingerprint.
  • the prompt information can be displayed or vibrated or a preset sound is emitted.
  • FIG. 5 is a schematic flowchart of a processing method according to another embodiment of the present invention.
  • the processing method provided by the embodiment of the present invention is applied to an electronic device including a fingerprint sensor, an infrared sensor, and a display screen.
  • the method as shown in FIG. 5 may include:
  • step S501 the electronic device detects an operation acting on the fingerprint sensor while in the locked state.
  • the user when the electronic device is in the locked state, the user can input the fingerprint in the fingerprint input area shown in FIG. 2i, and the electronic device can detect the operation acting on the fingerprint sensor.
  • Step S502 the electronic device determines a matching result of the fingerprint collected by the fingerprint sensor and the preset fingerprint.
  • step S503 the electronic device emits infrared rays through the infrared sensor.
  • the infrared sensor can emit infrared rays.
  • the electronic device may integrate an infrared sensor on the upper side of the display screen, and after detecting the operation of the fingerprint sensor, the electronic device may trigger the infrared sensor to emit infrared rays.
  • step S504 the electronic device determines whether the reflected infrared ray is received.
  • the electronic device can emit infrared rays through the infrared sensor, and when the reflected infrared rays are not received, the response corresponding to the matching result is not performed; when the reflected infrared rays are received, the response corresponding to the matching result is performed.
  • the electronic device After the electronic device emits infrared rays through the infrared sensor, it can be determined whether the reflected infrared light is received within the preset time period. When the reflected infrared light is not received, it indicates that the user does not currently use the electronic device, and does not perform the response corresponding to the matching result; when the reflected infrared light is received At the time, it indicates that the user is currently using the electronic device and performs a response corresponding to the matching result.
  • the user if the user is currently using the electronic device, the user will be in the infrared emission area, and the emitted infrared light will be reflected back to the infrared sensor due to the user's blocking, and the electronic device can receive the reflected infrared light. If the user is not currently using the electronic device, the user will be in an area other than the infrared emission area, the emitted infrared rays will not be blocked, and will not be reflected back to the infrared sensor, and the electronic device cannot receive the reflected infrared rays.
  • Step S505 the electronic device does not perform a response corresponding to the matching result.
  • the response corresponding to the matching result may not be performed.
  • the electronic device may acquire the acceleration values of the electronic device on the X axis, the Y axis, and the Z axis through the acceleration sensor, and each of the obtained three acceleration values When the value is less than the corresponding preset acceleration threshold, the response corresponding to the matching result is not performed; when any one of the obtained three acceleration values is not less than the corresponding preset acceleration threshold, the response corresponding to the matching result is executed.
  • the detected operation within the preset duration may be determined.
  • the matching result when the matching result includes a match, performs a matching corresponding response.
  • the electronic device may determine a matching result of the last operation detected within the preset duration, and execute the last one. The response corresponding to the matching result of the operation.
  • Step S506 the electronic device performs a response corresponding to the matching result.
  • the electronic device When the electronic device receives the reflected infrared rays, the response corresponding to the matching result can be performed.
  • the electronic device can be unlocked; when the matching result is not matched, the electronic device can output prompt information, and the prompt information is used to indicate the fingerprint sensor.
  • the collected fingerprint failed to match the preset fingerprint. It should be understood that the prompt information can be displayed or vibrated or a preset sound is emitted.
  • the electronic device detects the operation acting on the fingerprint sensor while in the locked state, determines the matching result of the fingerprint collected by the fingerprint sensor and the preset fingerprint, and emits infrared rays through the infrared sensor, and determines Whether the reflected infrared ray is received, the response corresponding to the matching result is performed when the reflected infrared ray is received, and the response corresponding to the matching result is not executed when the reflected infrared ray is not received, so that the response of the erroneous touch fingerprint sensor can be avoided.
  • FIG. 6 is a schematic flowchart of a processing method according to another embodiment of the present invention.
  • the processing method provided by the embodiment of the present invention is applied to an electronic device including a fingerprint sensor, a camera, and a display screen.
  • the method as shown in FIG. 6 may include:
  • Steps S601 to S603 are the same as those of S301 to S303.
  • Steps S601 to S603 are the same as those of S301 to S303.
  • Steps S604 to S605 are the same as S403 to S404.
  • Steps S604 to S605 are the same as S403 to S404.
  • step S603 and step S604 may be performed at the same time, or step S603 may be performed first and then step S604 may be performed, or step S604 may be performed first and then step S603 may be performed, and there is no strict sequence of execution before the two steps.
  • the invention is defined.
  • the electronic device can determine whether the angle between the orientation of the display screen and the direction of gravity is within a preset range.
  • step S606 is performed;
  • the image is acquired by the camera to determine whether the image includes a preset face.
  • step S607 is performed; when the image does not include the preset person In the case of a face, step S606 is performed.
  • the electronic device can acquire an image through the camera to determine whether the image includes a preset face.
  • step S606 is performed; when the image includes the preset face, it is determined whether the angle between the orientation of the display screen and the direction of gravity is within a preset range, when the orientation of the display screen and gravity
  • step S606 is performed; when the angle between the orientation of the display screen and the direction of gravity is within the preset range, step S607 is performed.
  • the image may be acquired by the camera, thereby determining whether the image includes a preset face, and determining whether the angle between the orientation of the display screen and the direction of gravity is within a preset range.
  • step S607 is performed; when the image does not include the preset face, or the orientation of the display screen and the direction of gravity
  • step S606 is performed.
  • Steps S606 to S607 are the same as those of S304 to S305.
  • Steps S606 to S607 are the same as those of S304 to S305.
  • the electronic device detects the operation of the fingerprint sensor while in the locked state, determines the matching result of the fingerprint collected by the fingerprint sensor and the preset fingerprint, and determines the orientation of the display screen and the gravity. Whether the angle of the direction is within a preset range, the image is acquired by the camera to determine whether the image includes a preset face, and the angle between the orientation of the display screen and the direction of gravity is within a preset range, and the image includes a preset face.
  • the response corresponding to the matching result is executed; otherwise, the response corresponding to the matching result is not executed, and the response of the fingerprint sensor may be avoided.
  • FIG. 7 is a schematic flowchart of a processing method according to another embodiment of the present invention.
  • the processing method provided by the embodiment of the present invention is applied to an electronic device including a fingerprint sensor, an infrared sensor, and a display screen.
  • the method as shown in FIG. 7 may include:
  • Steps S701 to S703 are the same as S301 to S303.
  • Steps S701 to S703 are the same as S301 to S303.
  • Steps S704 to S705 are the same as S503 to S504.
  • Steps S704 to S705 are the same as S503 to S504.
  • step S703 and step S704 may be performed simultaneously, or step S703 may be performed first and then step S704 may be performed, or step S704 may be performed first and then step S703 may be performed. There is no strict sequential execution sequence before, and the present invention cannot be limited thereto.
  • the electronic device can determine whether the angle between the orientation of the display screen and the direction of gravity is within a preset range.
  • step S706 is performed;
  • the infrared sensor emits infrared rays to determine whether the reflected infrared rays are received, when the reflected infrared rays are received, step S707 is performed; when the reflected infrared rays are not received, the steps are performed. S706.
  • the electronic device can emit infrared rays through the infrared sensor to determine whether the reflected infrared rays are received.
  • step S706 is performed; when the reflected infrared rays are received, the angle between the orientation of the display screen and the direction of gravity is determined. Whether it is within the preset range, when the angle between the orientation of the display screen and the direction of gravity is not within the preset range, step S706 is performed; when the angle between the orientation of the display screen and the direction of gravity is within a preset range, execution is performed. Step S707.
  • the infrared sensor can emit infrared rays to determine whether the reflected infrared light is received, and whether the angle between the orientation of the display screen and the direction of the gravity is within a preset range.
  • step S707 is performed; when the reflected infrared ray is not received, or the angle between the orientation of the display screen and the direction of gravity is not When the range is within the range, step S706 is performed.
  • Steps S706 to S707 are the same as S304 to S305.
  • Steps S706 to S707 are the same as S304 to S305.
  • the operation of the fingerprint sensor is detected, the matching result of the fingerprint collected by the fingerprint sensor and the preset fingerprint is determined, and the orientation of the display screen and the gravity are determined. Whether the angle of the direction is within a preset range, and the infrared sensor emits infrared rays to determine whether the reflected infrared rays are received.
  • the execution is performed. The response corresponding to the matching result; otherwise, the response corresponding to the matching result is not executed, and the response of the fingerprint sensor may be avoided.
  • FIG. 8 is a schematic flowchart of a processing method according to another embodiment of the present invention.
  • the processing method provided by the embodiment of the present invention is applied to include a fingerprint sensor, an infrared sensor, a camera, and Electronic device for the display.
  • the method as shown in FIG. 8 may include:
  • Steps S801 to 804 are the same as S501 to S504. For details, refer to the foregoing corresponding content, and details are not described herein again. Steps S805 to S806 are the same as S403 to S404. For details, refer to the corresponding content in the foregoing, and details are not described herein again.
  • step S803 and step S805 may be performed at the same time, or step S803 may be performed first and then step S805 may be performed, or step S805 may be performed first and then step S803 may be performed, and there is no strict sequence of execution before the two steps.
  • the invention is defined.
  • the electronic device may emit infrared rays through the infrared sensor to determine whether the reflected infrared light is received.
  • step S807 is performed; when the reflected infrared light is received, the image is acquired by the camera to determine whether the image includes the preset human face.
  • step S808 is performed; when the image does not include the preset face, step S807 is performed.
  • the electronic device can obtain an image through the camera to determine whether the image includes a preset face.
  • step S807 is performed.
  • the infrared sensor is used to emit infrared rays. Whether the reflected infrared ray is received, when the reflected infrared ray is not received, step S807 is performed; when the reflected infrared ray is received, step S808 is performed.
  • the infrared sensor can emit infrared rays, and the image is acquired by the camera, thereby determining whether the reflected infrared light is received, and whether the image contains the preset face, and when the reflection is received.
  • step S808 is performed; when the reflected infrared rays are not received, or the image does not include the preset face, step S807 is performed.
  • Steps S807 to S808 are the same as S304 to S305.
  • Steps S807 to S808 are the same as S304 to S305.
  • the electronic device detects the operation acting on the fingerprint sensor while in the locked state, determines the matching result of the fingerprint collected by the fingerprint sensor and the preset fingerprint, and emits infrared rays through the infrared sensor through the camera.
  • Obtain an image determine whether the reflected infrared light is received, and determine whether the image includes a preset face.
  • the response corresponding to the matching result is executed; otherwise, the response corresponding to the matching result is not executed. Avoid performing false touch fingerprints Sensor response.
  • FIG. 9 is a schematic flowchart of a processing method according to another embodiment of the present invention.
  • the processing method provided by the embodiment of the present invention is applied to an electronic device including a fingerprint sensor, an infrared sensor, and a display screen.
  • the method as shown in FIG. 9 may include:
  • Steps S901 to S903 are the same as S301 to S303.
  • Steps S901 to S903 are the same as S301 to S303.
  • Steps S904 to S905 are the same as S503 to S504. For details, refer to the foregoing corresponding content, and details are not described herein again. Steps S906 to S907 are the same as S403 to S404. For details, refer to the foregoing corresponding content, and details are not described herein again.
  • step S903, step S904 and step S906 may be performed simultaneously, or step S903 may be performed first and then steps S904 and S906 may be performed, or step S904 may be performed first and then steps S903 and S906 are performed, and the three steps are not strictly executed before. The order cannot be used to limit the invention.
  • the electronic device can determine whether the angle between the orientation of the display screen and the direction of gravity is within a preset range.
  • step S908 is performed;
  • the infrared sensor emits infrared rays to determine whether the reflected infrared rays are received, when the reflected infrared rays are not received, step S908 is performed; when the reflected infrared rays are received, the camera passes through the camera Obtaining an image, determining whether the image includes a preset face, when the image does not include the preset face, step S908 is performed; when the image includes the preset face, step S909 is performed.
  • the electronic device can emit infrared rays through the infrared sensor to determine whether the reflected infrared rays are received.
  • step S908 is performed; when the reflected infrared rays are received, the angle between the orientation of the display screen and the direction of gravity is determined.
  • step S908 is performed; when the angle between the orientation of the display screen and the direction of gravity is within a preset range, The camera acquires an image, determines whether the image includes a preset face, and when the image does not include the preset face, step S908 is performed; when the image includes the preset face, step S909 is performed.
  • the electronic device may emit infrared rays through the infrared sensor, acquire an image through the camera, determine whether the reflected infrared light is received, determine whether the image includes a preset face, and determine the orientation of the display screen.
  • step S909 is performed;
  • step S908 is performed.
  • Steps S908 to S909 are the same as S304 to S305.
  • Steps S908 to S909 are the same as S304 to S305.
  • the operation of the fingerprint sensor is detected, and the matching result of the fingerprint collected by the fingerprint sensor and the preset fingerprint is determined, when the orientation of the display screen and the gravity are The angle of the direction is within the preset range, and when the reflected infrared ray is received, and the image includes the preset face, the response corresponding to the matching result is executed; otherwise, the response corresponding to the matching result is not executed, and the response of the fingerprint sensor may be avoided.
  • FIG. 10 is a schematic structural diagram of an electronic device according to another embodiment of the present invention. As shown in FIG. 10, the electronic device may include at least a detecting unit 1001, a determining unit 1002, and a processing unit 1003, where:
  • the detecting unit 1001 is configured to detect an operation acting on the fingerprint sensor when the electronic device is in a locked state.
  • the determining unit 1002 is configured to determine a matching result of the fingerprint collected by the fingerprint sensor and the preset fingerprint, and the matching result includes: matching or not matching.
  • the processing unit 1003 is configured to: when the angle between the orientation of the display screen and the direction of gravity is not within the preset range, do not perform a response corresponding to the matching result; when the angle between the orientation of the display screen and the direction of the gravity is within a preset range When the response corresponding to the matching result is executed.
  • the processing unit 1003 performs a response corresponding to the matching result, specifically for:
  • the lock state is released; when the match result is not matched, the prompt information is output, and the prompt information is used to indicate that the fingerprint collected by the fingerprint sensor fails to match the preset fingerprint.
  • processing unit 1003 is specifically configured to:
  • the acceleration values of the electronic device in the X-axis, the Y-axis, and the Z-axis are acquired by the acceleration sensor, and each of the obtained three acceleration values is obtained.
  • the acceleration value is less than the corresponding preset acceleration threshold, the response corresponding to the matching result is not executed; when any one of the obtained three acceleration values is not less than the corresponding preset acceleration threshold, the response corresponding to the matching result is executed. .
  • the preset range includes a first preset range, a second preset range, a third preset range, and a fourth preset range
  • the processing unit 1003 is specifically configured to:
  • the preset range includes a first preset range and a second preset range, where the first preset range is used when the electronic device is in a motion state, and the second preset range is in the Used when the electronic device is at a standstill.
  • the preset range includes a first preset range, a second preset range, a third preset range, and a fourth preset range, where the first preset range is in a user holding the electronic device Used in a walking, running, standing or sitting posture, the second preset range being used when the user holding the electronic device is in a prone posture, the second preset range being in a user holding the electronic device The supine posture is used, and the second preset range is used when the user holding the electronic device is in a side lying posture.
  • the angle of orientation of the display screen with the direction of gravity is determined by data collected by at least one of a geomagnetic sensor, an angular velocity sensor, and an acceleration sensor.
  • the processing unit 1003 is further configured to: after the response corresponding to the matching result is not executed, determine that the number of operations acting on the fingerprint sensor exceeds a preset number of values within a preset duration, and determine the preset duration The matching result of the detected operation, when the matching result includes the matching, the matching corresponding response is performed.
  • the processing unit 1003 is further configured to: after the response corresponding to the matching result is not executed, when the number of operations acting on the fingerprint sensor is detected within a preset duration exceeds a preset number of values, Determine the matching result of the last operation detected within the preset duration, and perform the response corresponding to the matching result of the last operation.
  • the detecting unit 1001 in the embodiment of the present invention may be replaced by the input unit 11 in FIG. 1
  • the determining unit 1002 and the processing unit 1003 may be replaced with the processor 12 in FIG. 1 , which is not specifically in the embodiment of the present invention. limits.
  • the detecting unit 1001 is configured to detect an operation acting on the fingerprint sensor when the electronic device is in a locked state.
  • the determining unit 1002 is configured to determine a matching result of the fingerprint collected by the fingerprint sensor and the preset fingerprint, and the matching result includes: matching or not matching.
  • the processing unit 1003 is configured to: when the image acquired by the camera does not include the preset face, does not perform a response corresponding to the matching result; when the image acquired by the camera includes the preset face, the response corresponding to the matching result is performed.
  • the detecting unit 1001 in the embodiment of the present invention may be replaced by the input unit 11 in FIG. 1
  • the determining unit 1002 and the processing unit 1003 may be replaced with the processor 12 in FIG. 1 , which is not specifically in the embodiment of the present invention. limits.
  • FIG. 11 is a schematic structural diagram of an electronic device according to another embodiment of the present invention.
  • the electronic device may include at least a detecting unit 1101, a determining unit 1102, a transmitting unit 1103, and a processing unit 1104, where:
  • the detecting unit 1101 is configured to detect an operation acting on the fingerprint sensor when the electronic device is in a locked state.
  • the determining unit 1102 is configured to determine a matching result of the fingerprint collected by the fingerprint sensor and the preset fingerprint, and the matching result includes: matching or not matching.
  • the transmitting unit 1103 is configured to emit infrared rays through an infrared sensor.
  • the processing unit 1104 is configured to not perform a response corresponding to the matching result when the reflected infrared ray is not received, and perform a response corresponding to the matching result when the reflected infrared ray is received.
  • the detecting unit 1101 in the embodiment of the present invention may be replaced with the input unit 11 in FIG. 1
  • the transmitting unit 1103 may be replaced with the output unit 13 in FIG. 1
  • the determining unit 1102 and the processing unit 1104 may be replaced by a map.
  • the processor 12 in the first embodiment is not limited by the embodiment of the present invention.
  • the unit in the embodiment of the present invention may be implemented by a general-purpose integrated circuit, such as a CPU (Central Processing Unit) or an ASIC (Application Specific Integrated Circuit).
  • a CPU Central Processing Unit
  • ASIC Application Specific Integrated Circuit
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Biodiversity & Conservation Biology (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Multimedia (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

一种处理方法,电子设备可以在处于锁定状态下,检测到作用于指纹传感器的操作,确定指纹传感器采集到的指纹与预设指纹的匹配结果,匹配结果包括:匹配或不匹配,当显示屏的朝向与重力的方向的夹角不在预设范围内时,不执行匹配结果对应的响应;当显示屏的朝向与重力的方向的夹角在预设范围内时,执行匹配结果对应的响应,可避免执行误触指纹传感器的响应,减少电子设备的功耗。

Description

一种处理方法和电子设备 技术领域
本发明涉及信息处理技术领域,尤其涉及一种处理方法和电子设备。
背景技术
目前,电子设备的指定位置(例如侧边或者背部等)配置指纹传感器,电子设备处于锁定状态下,当电子设备通过指纹传感器采集到的指纹与预设指纹匹配时,电子设备可以解除锁定状态。日常生活中,用户在跑步或者散步等过程中握持电子设备,容易误触指纹传感器,电子设备将指纹传感器采集到的指纹与预设指纹进行指纹识别得到匹配结果,并执行该匹配结果对应的响应,而实际操作过程中用户并不希望执行该响应。
发明内容
本文提供一种处理方法和电子设备,可以解决误触指纹传感器引起响应的技术问题。
第一方面提供了一种处理方法,应用于具有指纹传感器和显示屏的电子设备,所述方法包括:
在电子设备处于锁定状态下,检测到作用于指纹传感器的操作,确定指纹传感器采集到的指纹与预设指纹的匹配结果,匹配结果包括:匹配或不匹配,当显示屏的朝向与重力的方向的夹角不在预设范围内时,不执行匹配结果对应的响应;当显示屏的朝向与重力的方向的夹角在预设范围内时,执行匹配结果对应的响应。
传统的处理方法中,电子设备通过指纹传感器采集到指纹之后,将采集到的指纹与预设指纹匹配后得到匹配结果,电子设备直接执行匹配结果对应的响应,例如解除锁定状态或者输出提示信息,以指示指纹传感器采集到的指纹与预设指纹匹配失败。由于指纹传感器集成在电子设备的外侧或者背部,用户容易误触指纹传感器,导致电子设备执行匹配结果对应的响应,而实际操作过程 中用户并不希望执行该响应。在该技术方案中,检测到作用于指纹传感器的操作,确定指纹传感器采集到的指纹与预设指纹的匹配结果,当显示屏的朝向与重力的方向的夹角不在预设范围内时,表明用户误触该指纹传感器,电子设备不执行匹配结果对应的响应,由此减少电子设备的功耗。
以图2b所示的显示屏的朝向与重力的方向的夹角的界面示意图为例,可以建立三维坐标体系,重力的方向始终指向地面,则可以将重力的方向设定为Z轴的正方向。显示屏的朝向为从电子设备的背面指向显示屏的方向,可以设定从显示屏的朝向逆时针(或顺时针)转到重力的方向转向角定义显示屏的朝向与重力的方向的夹角。以图2c所示的电子设备为例,电子设备的显示屏水平向上时,显示屏的朝向为Z轴的反方向;以图2d所示的电子设备为例,电子设备的显示屏水平向下时,显示屏的朝向为Z轴的正方向;以图2e所示的电子设备为例,电子设备的显示屏垂直向左时,显示屏的朝向为X轴的反方向;以图2f所示的电子设备为例,电子设备的显示屏垂直向右时,显示屏的朝向为X轴的正方向。显示屏的朝向与重力的方向的夹角的预设范围可以设定为不小于90度且不大于180度,也可以设定为不小于0度且不大于180度,也可以设定为不小于0度且不大于360度,或者设定为其他角度范围。电子设备的显示屏水平向下时,显示屏的朝向与重力的方向的夹角为0度;电子设备的显示屏垂直向左时,显示屏的朝向与重力的方向的夹角为90度;电子设备的显示屏水平向上时,显示屏的朝向与重力的方向的夹角为180度;电子设备的显示屏垂直向右时,显示屏的朝向与重力的方向的夹角为270度。
在一个可能的设计中,执行匹配结果对应的响应,具体可以为:当匹配结果为匹配时,解除锁定状态;当匹配结果为不匹配时,输出提示信息,提示信息用于指示指纹传感器采集到的指纹与预设指纹匹配失败。
在一个可能的设计中,显示屏的朝向与重力的方向的夹角不在预设范围内之后,还包括:通过加速度传感器获取电子设备在X轴、Y轴和Z轴的加速度值,当获取到的三个加速度值中每一个加速度值均小于对应的预设加速度阈值时,不执行匹配结果对应的响应;当获取到的三个加速度值中任意一个加速度值不小于对应的预设加速度阈值时,执行匹配结果对应的响应。
一般情况下,用户需要使用电子设备时,通常会有一个拿起电子设备的动 作,例如将电子设备从桌面拿起或者从包里拿出等。电子设备可以统计用户拿起电子设备的过程中电子设备在X轴、Y轴和Z轴的加速度值,根据统计得到的X轴的加速度值确定X轴的预设加速度阈值,根据统计得到的Y轴的加速度值确定Y轴的预设加速度阈值,根据统计得到的Z轴的加速度值确定Z轴的预设加速度阈值。
在该技术方案中,为了提高判断用户是否误触指纹传感器的精准度,当显示屏的朝向与重力的方向的夹角不在预设范围内时,电子设备可以通过加速度传感器获取电子设备在X轴、Y轴和Z轴的加速度值,当X轴的加速度值不小于X轴的预设加速度阈值,或者Y轴的加速度值不小于Y轴的预设加速度阈值,或者Z轴的加速度值不小于Z轴的预设加速度阈值时,表明用户不是误触指纹传感器,进而执行匹配结果对应的响应。当X轴的加速度值小于X轴的预设加速度阈值,Y轴的加速度值小于Y轴的预设加速度阈值,且Z轴的加速度值小于Z轴的预设加速度阈值时,表明用户误触指纹传感器,进而不执行匹配结果对应的响应。
在一个可能的设计中,电子设备还可以根据电子设备的状态相应更新预设范围,例如,电子设备检测到在处于运动状态(例如携带电子设备的用户处于行走,跑步,或坐车)时,电子设备使用第一预设范围[90°,180°];电子设备检测到处于静止状态,电子设备使用第二预设范围[0°,270°]。电子设备的状态还可以以其他方式划分,相应的预设范围也可以分别设定,这些不构成对本发明的限定。
一般情况下,用户在俯卧姿态下使用电子设备时,电子设备的握持状态通常为显示屏水平向上或倾斜一定角度,即显示屏的朝向与重力的方向的夹角为180度左右。用户在侧卧姿态下使用电子设备时,电子设备的握持状态通常为显示屏垂直向左或者向右(或倾斜一定角度),即显示屏的朝向与重力的方向的夹角为90度左右或者270度左右。用户在仰卧姿态下使用电子设备时,电子设备的握持状态通常为显示屏水平向下或倾斜一定角度,即显示屏的朝向与重力的方向的夹角为0度或360度左右。用户在行走,跑步,站立,或坐的姿态下使用电子设备时,电子设备的握持状态通常为显示屏的朝向与重力的方向夹角在90度与180度之间。
在一个可能的设计中,电子设备还可以根据握持电子设备的用户的姿态(例如,行走,跑步,站立,坐,侧卧,俯卧或仰卧)相应更新预设范围,例如,电子设备检测到握持电子设备的用户的姿态为行走,跑步,站立或坐时,电子设备使用第一预设范围[90°,180°];电子设备检测到握持电子设备的用户的姿态为俯卧时,电子设备使用第二预设范围[180°-偏移值,180°+偏移值]。电子设备检测到握持电子设备的用户的姿态为仰卧时,电子设备使用第三预设范围[0°-偏移值,0°+偏移值]和/或[360°-偏移值,360°+偏移值]。电子设备检测到握持电子设备的用户的姿态为侧卧时,电子设备使用第四预设范围[90°-偏移值,90°+偏移值]和/或[270°-偏移值,270°+偏移值]。握持电子设备的用户的姿态状态还可以以其他方式划分,相应的预设范围也可以分别设定,偏移值可以为15°或30°,也可以为其他值,这些不构成对本发明的限定。各个预设范围可以不相同,也可以部分相同,也可以完全不相同,具体不受本发明实施例的限制。需要说明的是,本发明实施例中的预设范围包含但不局限于四个预设范围,例如预设范围可以为[180°-第一预设角度,180°+第一预设角度],示例性的,预设范围可以为[150°,210°];又如预设范围可以包括第一预设范围和第二预设范围,第一预设范围可以为[0°,第一预设角度]以及[360°-第一预设角度,360°],第二预设范围可以为[180°-第三预设角度,180°+第三预设角度],示例性的,第一预设范围可以为[0°,30°]以及[330°,360°],第二预设范围可以为[150°,210°]等,具体不受本发明实施例的限制。
在一个可能的设计中,显示屏的朝向与重力的方向的夹角是通过地磁传感器、角速度传感器和加速度传感器中的至少一个传感器采集到的数据确定的。
在一个可能的设计中,不执行匹配结果对应的响应之后,还包括:
在预设时长内检测到作用于指纹传感器的操作的次数超过预设数量值时,确定预设时长内检测到的操作的匹配结果,当匹配结果包括匹配时,执行匹配对应的响应。
在该技术方案中,如果电子设备在预设时长内多次检测到作用于指纹传感器的操作,则表明用户希望执行匹配结果对应的响应,而电子设备误判为用户 误触指纹传感器。为了提高处理效率,电子设备在预设时长内检测到作用于指纹传感器的操作的次数超过预设数量值时,可以确定预设时长内检测到的操作的匹配结果,当匹配结果包括匹配时,执行匹配对应的响应。
在一个可能的设计中,不执行匹配结果对应的响应之后,还包括:
在预设时长内检测到作用于指纹传感器的操作的次数超过预设数量值时,确定预设时长内检测到的最后一个操作的匹配结果,执行最后一个操作的匹配结果对应的响应。
在该技术方案中,在预设时长内检测到作用于指纹传感器的操作的次数超过预设数量值,表明用户希望执行匹配结果对应的响应,电子设备可以确定预设时长内检测到的最后一个操作的匹配结果,执行最后一个操作的匹配结果对应的响应,提高处理效率。
第二方面还提供了一种处理方法,应用于具有指纹传感器、摄像头和显示屏的电子设备,其特征在于,包括:
在电子设备处于锁定状态下,检测到作用于所述指纹传感器的操作,确定指纹传感器采集到的指纹与预设指纹的匹配结果,匹配结果包括:匹配或不匹配,当摄像头获取到的图像不包含预设人脸时,不执行匹配结果对应的响应;当摄像头获取到的图像包含预设人脸时,执行匹配结果对应的响应。
在该技术方案中,当摄像头获取到的图像包含预设人脸时,表明用户当前正在使用电子设备,用户不是误触指纹传感器,进而可以执行匹配结果对应的响应。当摄像头获取到的图像不包含预设人脸时,表明用户当前未在使用电子设备,用户误触指纹传感器,进而可以不执行匹配结果对应的响应,可提升资源利用率,减少电子设备的功耗。
预设人脸可以是电子设备预先存储的,例如电子设备可以通过摄像头获取电子设备的所有者的人脸,并将获取到的该所有者的人脸作为预设人脸存储到存储器中。以图2k所示的图像的界面示意图为例,电子设备检测到作用于指纹传感器的操作之后,通过摄像头获取图像,对摄像头获取到的图像进行人脸识别,当该图像包含人脸时,判断图像所包含的人脸与预设人脸是否匹配,当图像所包含的人脸与预设人脸匹配时,表明当前是电子设备的所有者在使用电 子设备,可执行匹配结果对应的响应。当图像不包含人脸或者图像所包含的人脸与预设人脸不匹配时,表明电子设备的所有者当前未在使用电子设备,可以不执行匹配结果对应的响应。
第三方面还提供了一种处理方法,应用于具有指纹传感器、红外传感器和显示屏的电子设备,其特征在于,包括:
在电子设备处于锁定状态下,检测到作用于指纹传感器的操作,确定指纹传感器采集到的指纹与预设指纹的匹配结果,匹配结果包括:匹配或不匹配,通过红外传感器发射红外线,当未接收到反射红外线时,不执行匹配结果对应的响应;当接收到反射红外线时,执行匹配结果对应的响应。
在该技术方案中,电子设备通过红外传感器发射红外线,当用户位于红外线发射区域时,发射至用户的红外线将会反射到电子设备,电子设备可以接收反射红外线,表明用户当前正在使用电子设备,用户不是误触指纹传感器,进而可以执行匹配结果对应的响应。当电子设备未接收到反射红外线,表明用户当前未在使用电子设备,用户误触指纹传感器,进而可以不执行匹配结果对应的响应,可提升资源利用率,减少电子设备的功耗。
第四方面还提供了一种电子设备,该电子设备包括用于执行第一方面或第一方面的任一种可能设计所提供的方法的单元。
第五方面还提供了一种电子设备,包括一个或多个处理器、存储器、总线系统、指纹传感器、显示屏以及一个或多个程序,处理器、存储器、指纹传感器和显示屏通过总线系统相连,其中一个或多个程序被存储在存储器中,一个或多个程序包括指令,指令当被电子设备执行时使电子设备执行第一方面以及第一方面的所有可能设计中提供的任意一种方法。
第六方面还提供了一种电子设备上的图形用户界面,所述电子设备包括显示器、指纹传感器、存储器、多个应用程序;和用于执行存储在所述存储器中的一个或多个程序的一个或多个处理器,所述图形用户界面包括根据第一方面以及第一方面的所有可能设计中提供的任意一种方法显示的用户界面,其中,所述显示器包括触敏表面和显示屏。
第七方面还提供了一种存储一个或多个程序的计算机可读存储介质,所述一个或多个程序包括指令,所述指令当被电子设备执行时使所述电子设备执行 第一方面以及第一方面的所有可能设计中提供的任意一种方法。
第八方面还提供了了一种电子设备,该电子设备包括用于执行第二方面或第二方面的任一种可能实现方式所提供的方法的单元。
第九方面还提供了一种电子设备,其特征在于,包括一个或多个处理器、存储器、总线系统、指纹传感器、摄像头、显示屏以及一个或多个程序,处理器、存储器、指纹传感器、摄像头和显示屏通过总线系统相连;
其中一个或多个程序被存储在存储器中,一个或多个程序包括指令,指令当被电子设备执行时使电子设备执行第二方面以及第二方面的所有可能设计中提供的任意一种方法。
第十方面还提供了一种电子设备上的图形用户界面,所述电子设备包括显示器、指纹传感器、摄像头、存储器、多个应用程序;和用于执行存储在所述存储器中的一个或多个程序的一个或多个处理器,所述图形用户界面包括根据第二方面以及第二方面的所有可能设计中提供的任意一种方法显示的用户界面,其中,所述显示器包括触敏表面和显示屏。
第十一方面还提供了一种存储一个或多个程序的计算机可读存储介质,一个或多个程序包括指令,指令当被电子设备执行时使电子设备执行第二方面以及第二方面的所有可能设计中提供的任意一种方法。
第十二方面还提供了一种电子设备,该电子设备包括用于执行第三方面或第三方面的任一种可能实现方式所提供的方法的单元。
第十三方面还提供了一种电子设备,其特征在于,包括一个或多个处理器、存储器、总线系统、指纹传感器、红外传感器、显示屏以及一个或多个程序,处理器、存储器、指纹传感器、红外传感器和显示屏通过总线系统相连;
其中一个或多个程序被存储在存储器中,一个或多个程序包括指令,指令当被电子设备执行时使电子设备执行第三方面以及第三方面的所有可能设计中提供的任意一种方法。第十四方面还提供了一种电子设备上的图形用户界面,所述电子设备包括显示器、指纹传感器、存储器、多个应用程序;和用于执行存储在所述存储器中的一个或多个程序的一个或多个处理器,所述图形用户界面包括根据第三方面以及第三方面的所有可能设计中提供的任意一种方法显示的用户界面,其中,所述显示器包括触敏表面和显示屏。
第十五方面还提供了一种存储一个或多个程序的计算机可读存储介质,一个或多个程序包括指令,指令当被电子设备执行时使电子设备执行第三方面以及第三方面的所有可能设计中提供的任意一种方法。
附图说明
为了更清楚地说明本发明实施例,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例提供的一种电子设备的结构示意图;
图2a是本发明实施例提供的一种具有指纹传感器的电子设备的界面示意图;
图2b是本发明实施例中提供的一种显示屏的朝向与重力的方向的夹角的界面示意图;
图2c是本发明一个实施例中提供的一种电子设备的界面示意图;
图2d是本发明另一实施例中提供的一种电子设备的界面示意图;
图2e是本发明另一实施例中提供的一种电子设备的界面示意图;
图2f是本发明另一实施例中提供的一种电子设备的界面示意图;
图2g是本发明另一实施例中提供的一种电子设备的界面示意图;
图2h是本发明另一实施例中提供的一种电子设备的界面示意图;
图2i是本发明另一实施例中提供的一种电子设备的界面示意图;
图2j是本发明另一实施例中提供的一种电子设备的界面示意图;
图2k是本发明另一个实施例中提供的一种电子设备的界面示意图;
图3是本发明一个实施例提供的一种处理方法的流程示意图;
图4是本发明另一实施例提供的一种处理方法的流程示意图;
图5是本发明另一实施例提供的一种处理方法的流程示意图;
图6是本发明另一实施例提供的一种处理方法的流程示意图;
图7是本发明另一实施例提供的一种处理方法的流程示意图;
图8是本发明另一实施例提供的一种处理方法的流程示意图;
图9是本发明另一实施例提供的一种处理方法的流程示意图;
图10是本发明另一实施例提供的一种电子设备的结构示意图;
图11是本发明另一实施例提供的一种电子设备的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明实施例提供的电子设备可以如图1所示,电子设备1包括输入单元11、至少一个处理器12、输出单元13、存储器14、电源15、通信单元16等组件。这些组件通过一条或多条总线进行通信。
本领域技术人员可以理解,图中示出的电子设备的结构并不构成对本发明的限定,它既可以是总线型结构,也可以是星型结构,还可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施方式中,电子设备1可以是任何移动或便携式电子设备,包括但不限于移动电话、移动电脑、平板电脑、个人数字助理(Personal Digital Assistant,缩写:PDA)、媒体播放器、智能电视,以及上述两项或两项以上的组合等。
输入单元11用于实现用户与电子设备1的交互和/或信息输入到电子设备1中。例如,输入单元11可以接收用户输入的数字或字符信息,以产生与用户设置或功能控制有关的信号输入。在本发明具体实施方式中,输入单元11至少包括指纹传感器111;输入单元11还可以包括触控面板112和/或其他人机交互界面113,例如摄像头、加速度传感器、地磁传感器、角速度传感器或者红外传感器等。
触控面板112,也称为触摸屏或触控屏,可收集用户在其上触摸或接近的操作动作。比如用户使用手指或触笔等任何适合的物体或附件在触控面板112 上或接近触控面板112的位置的操作动作,并根据预先设定的程式驱动相应的连接装置。可选的,触控面板112可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸操作,并将检测到的触摸操作转换为电信号,以及将所述电信号传送给触摸控制器;触摸控制器从触摸检测装置上接收所述电信号,并将它转换成触点坐标,再送给处理器12。触摸控制器还可以接收处理器12发来的命令并执行。此外,可以采用电阻式、电容式、红外线(Infrared)以及表面声波等多种类型实现触控面板112。在本发明的其他实施方式中,输入单元11所采用的实体输入键可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。麦克风形式的输入单元11可以收集用户或环境输入的语音并将其转换成电信号形式的、处理器12可执行的命令。
处理器12为电子设备1的控制中心,利用各种接口和线路连接整个电子设备1的各个部分,通过运行或执行存储在存储器14内的软件程序和/或模块,以及调用存储在存储器14内的数据,以执行电子设备1的各种功能和/或处理数据。处理器12可以由集成电路(Integrated Circuit,缩写:IC)组成,例如可以由单颗封装的IC所组成,也可以由连接多颗相同功能或不同功能的封装IC而组成。举例来说,处理器12可以仅包括中央处理器(Central Processing Unit,缩写:CPU),也可以是GPU、数字信号处理器(Digital Signal Processor,缩写:DSP)、及通信单元16中的控制芯片(例如基带芯片)的组合。在本发明实施方式中,CPU可以是单运算核心,也可以包括多运算核心。
输出单元13包括但不限于影像输出单元131和声音输出单元132。影像输出单元131用于输出提示信息,提示信息可以为文字、图片和/或视频等。声音输出单元132可以为振动传感器或者麦克风等,用于输出提示信息,提示信息可以为振动或者铃声等。本发明实施例中的影像输出单元131至少包括显示屏1311,例如采用液晶显示器(Liquid Crystal Display,缩写:LCD)、有机发光二极管(Organic Light-Emitting Diode,缩写:OLED)、场发射显示器(field emission display,缩写:FED)等形式来配置的显示屏。或者影像输出单元131 可以包括反射式显示器,例如电泳式(electrophoretic)显示器,或利用光干涉调变技术(Interferometric Modulation of Light)的显示器。影像输出单元131可以包括单个显示器或不同尺寸的多个显示器。在本发明的具体实施方式中,输入单元11所采用的触控面板112和输出单元13所采用的显示屏1311可以统称为显示器。当触控面板112检测到在其上的触摸或接近的手势操作后,传送给处理器12以确定触摸事件的类型,随后处理器12根据触摸事件的类型在显示屏1311上提供相应的视觉输出。虽然在图1中,输入单元11与输出单元13是作为两个独立的部件来实现电子设备1的输入和输出功能,但是在某些实施例中,可以将触控面板112与显示屏1311集成一体而实现电子设备1的输入和输出功能。例如,影像输出单元131可以显示各种图形化用户接口(Graphical User Interface,缩写:GUI)以作为虚拟控制组件,包括但不限于窗口、卷动轴、图标及剪贴簿,以供用户通过触控方式进行操作。
在本发明具体实施方式中,影像输出单元131包括滤波器及放大器,用来将处理器12所输出的视频滤波及放大。声音输出单元132包括数字模拟转换器,用来将处理器12所输出的音频信号从数字格式转换为模拟格式。
存储器14可用于存储软件程序以及模块,处理器12通过运行存储在存储器14的软件程序以及模块,从而执行电子设备1的各种功能应用以及实现数据处理。存储器14主要包括程序存储区和数据存储区,其中,程序存储区可存储操作系统、至少一个功能所需的应用程序,比如声音播放程序、图像播放程序等等;数据存储区可存储根据电子设备1的使用所创建的数据(比如音频数据、电话本等)等。在本发明具体实施方式中,存储器14可以包括易失性存储器,例如非挥发性动态随机存取内存(Nonvolatile Random Access Memory,缩写:NVRAM)、相变化随机存取内存(Phase Change RAM,缩写:PRAM)、磁阻式随机存取内存(Magnetoresistive RAM,缩写:MRAM)等,还可以包括非易失性存储器,例如至少一个磁盘存储器件、电子可擦除可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,缩写:EEPROM)、闪存器件,例如反或闪存(NOR flash memory)或是反及闪存(NAND flash  memory)。非易失存储器储存处理器所执行的操作系统及应用程序。存储器14从所述非易失存储器加载运行程序与数据到内存并将数字内容储存于大量储存装置中。操作系统包括用于控制和管理常规系统任务,例如内存管理、存储设备控制、电源管理等,以及有助于各种软硬件之间通信的各种组件和/或驱动器。在本发明实施方式中,操作系统可以是Google公司的Android系统、Apple公司开发的iOS系统或Microsoft公司开发的Windows操作系统等,或者是Vxworks这类的嵌入式操作系统。
应用程序包括安装在电子设备上的任何应用,包括但不限于浏览器、电子邮件、即时消息服务、文字处理、键盘虚拟、窗口小部件(Widget)、加密、数字版权管理、语音识别、语音复制、定位(例如由全球定位系统提供的功能)、音乐播放等等。
电源15用于给电子设备1的不同部件进行供电以维持其运行。作为一般性理解,电源可以是内置的电池,例如常见的锂离子电池、镍氢电池等,也包括直接向电子设备供电的外接电源,例如AC适配器等。在本发明的一些实施方式中,电源还可以作更为广泛的定义,例如还可以包括电源管理系统、充电系统、电源故障检测电路、电源转换器或逆变器、电源状态指示器(如发光二极管),以及与电子设备的电能生成、管理及分布相关联的其他任何组件。
通信单元16用于建立通信信道,使电子设备1通过通信信道以连接至远程服务器,并从远程服务器下媒体数据。通信单元16可以包括无线局域网(Wireless Local Area Network,缩写:WLAN)模块、蓝牙模块、基带(Base Band)模块等通信模块,以及通信模块对应的射频(Radio Frequency,缩写:RF)电路,用于进行无线局域网络通信、蓝牙通信、红外线通信及/或蜂窝式通信系统通信,例如宽带码分多重接入(Wideband Code Division Multiple Access,缩写:WCDMA)及/或高速下行封包存取(High Speed Downlink Packet Access,缩写:HSDPA)。通信模块用于控制电子设备中的各组件的通信,并且可以支持直接内存存取(Direct Memory Access)。
在本发明的不同实施方式中,通信单元16中的各种通信模块一般以集成 电路芯片(Integrated Circuit Chip)的形式出现,并可进行选择性组合,而不必包括所有通信模块及对应的天线组。例如,通信单元16可以仅包括基带芯片、射频芯片以及相应的天线以在一个蜂窝通信系统中提供通信功能。经由通信单元16建立的无线通信连接,例如无线局域网接入或WCDMA接入,电子设备1可以连接至蜂窝网(Cellular Network)或因特网(Internet)。在本发明的一些可选实施方式中,通信单元16中的通信模块,例如基带模块可以集成到处理器12中,典型的如高通(Qualcomm)公司提供的APQ+MDM系列平台。
射频电路用于信息收发或通话过程中接收和发送信号。例如,将基站的下行信息接收后,给处理器12处理;另外,将设计上行的数据发送给基站。通常,射频电路包括用于执行这些功能的公知电路,包括但不限于天线系统、射频收发机、一个或多个放大器、调谐器、一个或多个振荡器、数字信号处理器、编解码(Codec)芯片组、用户身份模块(SIM)卡、存储器等等。此外,射频电路还可以通过无线通信与网络和其他设备通信。无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobile communication,缩写:GSM)、通用分组无线服务(General Packet Radio Service,缩写:GPRS)、码分多址(Code Division Multiple Access,缩写:CDMA)、宽带码分多址(Wideband Code Division Multiple Access,缩写:WCDMA)、高速上行行链路分组接入技术(High Speed Uplink Packet Access,缩写:HSUPA)、长期演进(Long Term Evolution,缩写:LTE)、电子邮件、短消息服务(Short Messaging Service,缩写:SMS)等。
在一种可能的实现方式中,处理器12在电子设备1处于锁定状态下,检测到作用于指纹传感器111的操作,处理器12确定指纹传感器111采集到的指纹与预设指纹的匹配结果,匹配结果包括:匹配或不匹配,当显示屏1311的朝向与重力的方向的夹角不在预设范围内时,处理器12不执行匹配结果对应的响应;当显示屏1311的朝向与重力的方向的夹角在预设范围内时,处理器12执行匹配结果对应的响应。
可选的,处理器12执行匹配结果对应的响应,包括:当匹配结果为匹配时,处理器12解除锁定状态;当匹配结果为不匹配时,输出单元13输出提示 信息,提示信息用于指示指纹传感器采集到的指纹与预设指纹匹配失败。
可选的,处理器12可以执行以下操作:当显示屏1311的朝向与重力的方向的夹角不在预设范围内时,通过加速度传感器获取电子设备1在X轴、Y轴和Z轴的加速度值,当获取到的三个加速度值中每一个加速度值均小于对应的预设加速度阈值时,不执行匹配结果对应的响应;当获取到的三个加速度值中任意一个加速度值不小于对应的预设加速度阈值时,执行匹配结果对应的响应。
可选的,显示屏1311的朝向与重力的方向的夹角是通过地磁传感器、角速度传感器和加速度传感器中的至少一个传感器采集到的数据确定的。
可选的,处理器12不执行匹配结果对应的响应之后,还包括:在预设时长内检测到作用于指纹传感器的操作的次数超过预设数量值时,处理器12确定预设时长内检测到的操作的匹配结果,当匹配结果包括匹配时,执行匹配对应的响应。
可选的,处理器12不执行所述匹配结果对应的响应之后,还包括:在预设时长内检测到作用于指纹传感器的操作的次数超过预设数量值时,处理器12确定预设时长内检测到的最后一个操作的匹配结果,执行最后一个操作的匹配结果对应的响应。
可理解的是,在该实现方式中,电子设备1的各功能模块的功能可根据图3、图6、图7或者图9所示方法实施例中的方法具体实现,可以具体对应图3、图6、图7或者图9的相关描述,此处不再赘述。
在一种可能的实现方式中,处理器12在电子设备1处于锁定状态下,检测到作用于指纹传感器111的操作,处理器12确定指纹传感器111采集到的指纹与预设指纹的匹配结果,匹配结果包括:匹配或不匹配,当摄像头获取到的图像不包含预设人脸时,处理器12不执行匹配结果对应的响应;当摄像头获到的图像包含预设人脸时,处理器12执行匹配结果对应的响应。
可理解的是,在该实现方式中,电子设备1的各功能模块的功能可根据图4、图6、图8以及图9所示方法实施例中的方法具体实现,可以具体对应图4、 图6、图8以及图9的相关描述,此处不再赘述。
在一种可能的实现方式中,处理器12在电子设备1处于锁定状态下,检测到作用于指纹传感器111的操作,处理器12确定指纹传感器111采集到的指纹与预设指纹的匹配结果,匹配结果包括:匹配或不匹配,通过红外传感器发射红外线,当未接收到反射红外线时,处理器12不执行匹配结果对应的响应;当接收到反射红外线时,处理器12执行匹配结果对应的响应。
可理解的是,在该实现方式中,电子设备1的各功能模块的功能可根据图5、图7至图9所示方法实施例中的方法具体实现,可以具体对应图5、图7至图9的相关描述,此处不再赘述。
在此部分,对本发明各个实施例均涉及的几个名词进行解释说明。
电子设备处于锁定状态,即锁定电子设备的显示屏,用户需要使用电子设备时,可以作用于指纹传感器以输入指纹,以便电子设备通过指纹识别得到匹配结果,当匹配结果为匹配时解除锁定状态;当匹配结果为不匹配时输出提示信息。
提示信息可以用于指示指纹传感器采集到的指纹与预设指纹匹配失败。例如,当指示指纹传感器采集到的指纹与预设指纹不匹配时,电子设备可以通过振动、亮屏、响亮或者显示文本信息等方式输出提示信息。
电子设备中的指纹传感器可以包括一个或者多个,以图2a所示的具有指纹传感器的电子设备的界面示意图为例,指纹传感器A集成在电子设备的显示屏的右上角,指纹传感器B集成在电子设备的显示屏的左上角,指纹传感器C集成在电子设备的显示屏的右下角,指纹传感器D集成在电子设备的显示屏的左下角。需要说明的是,指纹传感器可以集成在电子设备的背面,显示屏或者侧面等,具体不受本发明实施例的限制。
预设时长可以为预先设定的时间段,例如10秒或者15秒等。预设数量值可以为预先设定的数值,例如3或者5等。例如,用户由于操作不当导致显示屏的朝向与重力的方向的夹角不在预设范围内,电子设备不执行匹配结果对应 的响应,而电子设备在10秒的时间段内检测到作用于指纹传感器的操作的次数超过5次,则表明用户在反复操作指纹传感器,用户是希望执行匹配结果对应的响应的,对此,电子设备可执行匹配结果对应的响应。
请参阅图3,图3是本发明实施例提供的一种处理方法的流程示意图。本发明实施例提供的处理方法应用于包括指纹传感器和显示屏的电子设备。如图3所示,所述方法可以包括:
步骤S301,电子设备在处于锁定状态下,检测到作用于指纹传感器的操作。
电子设备在处于锁定状态下,可以检测是否存在用户作用于指纹传感器的操作,当检测到用户作用于指纹传感器的操作时,可以通过指纹传感器采集指纹。以图2g所示的电子设备的界面示意图为例,当电子设备处于锁定状态时,用户可以在图2g所示的指纹输入区域输入指纹,则电子设备可以检测到作用于指纹传感器的操作。
步骤S302,电子设备确定指纹传感器采集到的指纹与预设指纹的匹配结果。
电子设备可以确定指纹传感器采集到的指纹与预设指纹的匹配结果,当采集到的指纹与预设指纹匹配时,匹配结果为匹配;当采集到的指纹与预设指纹不匹配时,匹配结果为不匹配。具体的,电子设备可以将指纹传感器采集到的指纹与预设指纹通过指纹识别得到匹配结果,指纹识别技术可以包括采用不同指纹图像统计对比的方法和采用指纹图像的特征信息进行比对的方法。采用不同指纹图像统计对比的方法具体可以为:将两幅指纹图像进行统计比对,获取两幅指纹图像之间的相似度,根据相似度的大小确定指纹传感器采集到的指纹与预设指纹是否匹配。采用指纹图像的特征信息进行比对的方法具体可以为:根据两幅指纹图像的结构特征,获取各幅指纹图像的特征信息,将各幅指纹图像的特征信息分别进行比较,以确定指纹传感器采集到的指纹与预设指纹是否匹配。
步骤S303,电子设备判断显示屏的朝向与重力的方向的夹角是否在预设范围内。
电子设备检测到作用于指纹传感器的操作之后,可以判断显示屏的朝向与重力的方向的夹角是否在预设范围内,当显示屏的朝向与重力的方向的夹角不在预设范围内时,进一步执行步骤S304;当显示屏的朝向与重力的方向的夹角在预设范围内时,进一步执行步骤S305。应理解:本文中可以设定从显示屏的朝向逆时针(或顺时针)转到重力的方向转向角定义显示屏的朝向与重力的方向的夹角(还可以以其他方式来定义显示屏的朝向与重力的方向的夹角,这不构成对本发明的限制)。显示屏的朝向与重力的方向的夹角的预设范围可以设定为不小于90度且不大于180度,也可以设定为不小于0度且不大于180度,也可以设定为不小于0度且不大于360度,或者设定为其他角度范围。以图2g所示的界面示意图为例,电子设备可以确定重力的方向与Z轴的方向相同,进一步获取电子设备的显示屏的朝向,根据重力的方向和显示屏的朝向获取显示屏的朝向与重力的方向的夹角,当显示屏的朝向与重力的方向的夹角不在预设范围内时,不执行匹配结果对应的响应;当显示屏的朝向与重力的方向的夹角在预设范围内时,执行匹配结果对应的响应。
需要说明的是:步骤S302和步骤S303可以同时执行,也可以先执行步骤S302再执行步骤S303,或者先执行步骤S303再执行步骤S302,这两个步骤之前没有严格的先后执行顺序,不能以此限定本发明。
在可选实施例中,预设范围可以设置多个,例如,预设范围可以包括第一预设范围、第二预设范围、第三预设范围以及第四预设范围,当显示屏的朝向与重力的方向的夹角不在第一预设范围、第二预设范围、第三预设范围以及第四预设范围内时,确定显示屏的朝向与重力的方向的夹角不在预设范围内。当显示屏的朝向与重力的方向的夹角在第一预设范围、第二预设范围、第三预设范围和第四预设范围中任一种预设范围内时,确定显示屏的朝向与重力的方向的夹角在预设范围内。例如,第一预设范围可以为[0°,30°]以及[330°,360°],第二预设范围可以为[60°,120°],第三预设范围可以为[150°,210°],第四预设范围可以为[240°,310°],当显示屏的朝向与重力的方向 的夹角位于[0°,30°]、[330°,360°]、[60°,120°]、[150°,210°]或者[240°,310°]内时,确定显示屏的朝向与重力的方向的夹角在预设范围内;当显示屏的朝向与重力的方向的夹角不在[0°,30°]、[330°,360°]、[60°,120°]、[150°,210°]以及[240°,310°]内时,确定显示屏的朝向与重力的方向的夹角不在预设范围内。应理解:电子设备还可以根据电子设备的状态相应更新预设范围,例如,电子设备检测到在处于运动状态(例如携带电子设备的用户处于行走,跑步,或坐车)时,电子设备使用第一预设范围[90°,180°];电子设备检测到处于静止状态,电子设备使用第二预设范围[0°,270°]。电子设备的状态还可以以其他方式划分,相应的预设范围也可以分别设定,这些不构成对本发明的限定。
可选的,电子设备还可以根据握持电子设备的用户的姿态(例如,行走,跑步,站立,坐,侧卧,俯卧或仰卧)相应更新预设范围,例如,电子设备检测到握持电子设备的用户的姿态为行走,跑步,站立或坐时,电子设备使用第一预设范围[90°,180°];电子设备检测到握持电子设备的用户的姿态为俯卧时,电子设备使用第二预设范围[180°-偏移值,180°+偏移值]。电子设备检测到握持电子设备的用户的姿态为仰卧时,电子设备使用第三预设范围[0°-偏移值,0°+偏移值]和/或[360°-偏移值,360°+偏移值]。电子设备检测到握持电子设备的用户的姿态为侧卧时,电子设备使用第四预设范围[90°-偏移值,90°+偏移值]和/或[270°-偏移值,270°+偏移值]。握持电子设备的用户的姿态状态还可以以其他方式划分,相应的预设范围也可以分别设定,偏移值可以为15°或30°,也可以为其他值,这些不构成对本发明的限定。各个预设范围可以不相同,也可以部分相同,也可以完全不相同,具体不受本发明实施例的限制。
在可选实施例中,电子设备检测到作用于指纹传感器的操作之后,可以通过地磁传感器、角速度传感器和加速度传感器中的至少一个传感器采集到的数据确定显示屏的朝向与重力的方向的夹角。具体的,电子设备可以通过地磁传感器获取电子设备在X、Y、Z轴的重力分布和地磁数据,并根据重力分布和 地磁数据获取显示屏的朝向。电子设备可以通过角速度传感器获取电子设备在X、Y、Z轴的角速度,对角速度进行时间上的积分,获取电子设备与X、Y、Z轴之间的角度,进而根据上述角度获取显示屏的朝向。电子设备可以通过加速度传感器获取电子设备在X轴的加速度x,电子设备在Y轴的加速度y,电子设备在Z轴的加速度z,通过公式
Figure PCTCN2016074471-appb-000001
获取电子设备与Z轴之间的角度;通过公式
Figure PCTCN2016074471-appb-000002
获取电子设备与X轴之间的角度;通过公式
Figure PCTCN2016074471-appb-000003
获取电子设备与Y轴之间的角度,进而根据上述角度获取显示屏的朝向。进一步的,重力的方向为Z轴的正方向,电子设备可以根据显示屏的朝向获取显示屏的朝向与重力的方向的夹角,可以设定从显示屏的朝向逆时针(或顺时针)转到重力的方向转向角定义显示屏的朝向与重力的方向的夹角,本文的附图2b和附图2g示出了:从显示屏的朝向逆时针转到重力的方向转向角作为显示屏的朝向与重力的方向的夹角。
在可选实施例中,当显示屏的朝向与重力的方向的夹角不在预设范围内时,电子设备可以通过加速度传感器获取电子设备在X轴、Y轴和Z轴的加速度值,当获取到的三个加速度值中的每一个加速度值均小于对应的预设加速度阈值时,不执行匹配结果对应的响应;当获取到的三个加速度值中的任意一个加速度值不小于对应的预设加速度阈值时,执行匹配结果对应的响应。例如,电子设备检测到作用于指纹传感器的操作,而此时显示屏的朝向与重力的方向的夹角不在预设范围内,电子设备可以通过加速度传感器获取电子设备在X轴、Y轴和Z轴的加速度值,当获取到的三个加速度值中的每一个加速度值均小于对应的预设加速度阈值时,表明用户未进行拿起电子设备的操作,确定是误触指纹传感器,电子设备不执行匹配结果对应的响应;当获取到的三个加速度值中的任意一个加速度值不小于对应的预设加速度阈值时,表明用户在拿起电子设备的过程中操作了指纹传感器,电子设备执行匹配结果对应的响应。
进一步可选的,当显示屏的朝向与重力的方向的夹角不在预设范围内时, 电子设备可以通过加速度传感器获取电子设备在预设时长内的X轴、Y轴和Z轴的加速度值,当获取到的三个加速度值中的每一个加速度值均小于对应的预设加速度阈值时,不执行匹配结果对应的响应;当获取到的三个加速度值中的任意一个加速度值不小于对应的预设加速度阈值时,执行匹配结果对应的响应。其中,预设时长可以根据加速度传感器采集数据的频率确定,例如加速度传感器每间隔10s采集一次数据,则电子设备可以将预设时长设置为10s,电子设备可以获取加速度传感器在检测到显示屏的朝向与重力的方向的夹角不在预设范围之后第一次采集到的数据,并根据采集得到的数据获取电子设备在X轴、Y轴和Z轴的加速度值。可选的,预设时长也可以是用户预先设置的,例如30s等,则电子设备获取加速度传感器从检测到显示屏的朝向与重力的方向的夹角不在预设范围内时开始经过30s的时间段内采集到的数据,并根据采集得到的数据获取电子设备在X轴、Y轴和Z轴的加速度值。
步骤S304,电子设备不执行匹配结果对应的响应。
当显示屏的朝向与重力的方向的夹角不在预设范围内时,电子设备可以不执行匹配结果对应的响应。例如,匹配结果为匹配时,电子设备可以不进行解除锁定状态;匹配结果为不匹配时,电子设备可以不输出提示信息。
在可选实施例中,电子设备不执行匹配结果对应的响应之后,在预设时长内检测到作用于指纹传感器的操作的次数超过预设数量值时,可以确定预设时长内检测到的操作的匹配结果,当匹配结果包括匹配时,执行匹配对应的响应。具体实现中,用户有可能操作不当导致显示屏的朝向与重力的方向的夹角不在预设范围内或者输入的指纹不完整等,如果用户在预设时长内反复操作指纹传感器,且作用于指纹传感器的操作的次数超过预设数量值,表明用户是希望执行匹配结果对应的响应的,如果确定预设时长内检测到的操作的匹配结果中有至少一次匹配结果为匹配,电子设备可以执行匹配对应的响应,例如解除锁定状态,以便电子设备提高处理效率,提升用户体验。
在可选实施例中,在预设时长内检测到作用于指纹传感器的操作的次数超过预设数量值时,确定预设时长内检测到的最后一个操作的匹配结果,执行最后一个操作的匹配结果对应的响应。具体实现中,用户有可能操作不当导致显 示屏的朝向与重力的方向的夹角不在预设范围内或者输入的指纹不完整等,如果用户在预设时长内反复操作指纹传感器,且作用于指纹传感器的操作的次数超过预设数量值,表明用户是希望执行匹配结果对应的响应的,电子设备可以确定预设时长内检测到的最后一个操作的匹配结果,并执行最后一个操作的匹配结果对应的响应,例如最后一个操作的匹配结果为匹配时解除锁定状态,最后一个操作的匹配结果为不匹配时输出提示信息,以便电子设备提高处理效率,提升用户体验。
步骤S305,电子设备执行匹配结果对应的响应。
当显示屏的朝向与重力的方向的夹角在预设范围内时,电子设备可以执行匹配结果对应的响应。以图2j所示的电子设备的界面示意图为例,当匹配结果为匹配时,电子设备可以解除锁定状态;当匹配结果为不匹配时,电子设备可以输出提示信息,提示信息用于指示指纹传感器采集到的指纹与预设指纹匹配失败。应理解:提示信息可以为文字显示或振动或发出预设声音。
在图3所示的实施例中,电子设备在处于锁定状态下,检测到作用于指纹传感器的操作,确定指纹传感器采集到的指纹与预设指纹的匹配结果,当显示屏的朝向与重力的方向的夹角不在预设范围内时,不执行匹配结果对应的响应,当显示屏的朝向与重力的方向的夹角在预设范围内时,执行匹配结果对应的响应,可避免误触指纹传感器引起响应,提升资源利用率。
请参阅图4,图4是本发明另一实施例提供的一种处理方法流程示意图。本发明实施例提供的处理方法应用于包括指纹传感器、摄像头和显示屏的电子设备。如图4所示,所述方法可以包括:
步骤S401,电子设备在处于锁定状态下,检测到作用于指纹传感器的操作。
以图2h所示的电子设备的界面示意图为例,当电子设备处于锁定状态时,用户可以在图2h所示的指纹输入区域输入指纹,则电子设备可以检测到作用于指纹传感器的操作。
步骤S402,电子设备确定指纹传感器采集到的指纹与预设指纹的匹配结 果。
步骤S403,电子设备通过摄像头获取图像。
电子设备检测到作用于指纹传感器的操作之后,可以通过摄像头获取图像。具体实现中,电子设备检测到作用于指纹传感器的操作之后,可以触发启动前置摄像头,通过前置摄像头获取图像。以图2h所示的界面示意图为例,电子设备可以通过摄像头获取图像,当图像包含预设人脸时,执行匹配结果对应的响应;当图像不包含人脸或者图像不包含预设人脸时,不执行匹配结果对应的响应。
步骤S404,电子设备判断图像是否包含预设人脸。
电子设备可以对获取到的图像进行人脸识别,当图像包含人脸时,判断图像是否包含预设人脸,当图像包含预设人脸时,表明电子设备的所有者正在使用电子设备,可以执行匹配结果对应的响应。当图像不包含人脸或者图像不包含预设人脸时,表明电子设备的所有者当前未使用电子设备,可以不执行匹配结果对应的响应。
步骤S405,电子设备不执行匹配结果对应的响应。
当摄像头获取到的图像不包含预设人脸时,电子设备可以不执行匹配结果对应的响应。
在可选实施例中,当图像不包含预设人脸时,电子设备可以通过加速度传感器获取电子设备在X轴、Y轴和Z轴的加速度值,当获取到的三个加速度值中的每一个加速度值均小于对应的预设加速度阈值时,不执行匹配结果对应的响应;当获取到的三个加速度值中的任意一个加速度值不小于对应的预设加速度阈值时,执行匹配结果对应的响应。
在可选实施例中,电子设备不执行匹配结果对应的响应之后,在预设时长内检测到作用于指纹传感器的操作的次数超过预设数量值时,可以确定预设时长内检测到的操作的匹配结果,当匹配结果包括匹配时,执行匹配对应的响应。
在可选实施例中,在预设时长内检测到作用于指纹传感器的操作的次数超过预设数量值时,电子设备可以确定预设时长内检测到的最后一个操作的匹配 结果,执行最后一个操作的匹配结果对应的响应。
步骤S406,电子设备执行匹配结果对应的响应。
当摄像头获取到的图像包含预设人脸时,电子设备可以执行匹配结果对应的响应。以图2j所示的电子设备的界面示意图为例,当匹配结果为匹配时,电子设备可以解除锁定状态;当匹配结果为不匹配时,电子设备可以输出提示信息,提示信息用于指示指纹传感器采集到的指纹与预设指纹匹配失败。应理解:提示信息可以为文字显示或振动或发出预设声音。
在图4所示的实施例中,电子设备在处于锁定状态下,检测到作用于指纹传感器的操作,确定指纹传感器采集到的指纹与预设指纹的匹配结果,通过摄像头获取图像,当图像包含预设人脸时,执行匹配结果对应的响应,当图像不包含预设人脸时,不执行匹配结果对应的响应,可避免执行误触指纹传感器的响应。
请参阅图5,图5是本发明另一实施例提供的一种处理方法流程示意图。本发明实施例提供的处理方法应用于包括指纹传感器、红外传感器和显示屏的电子设备。如图5所示所述方法可以包括:
步骤S501,电子设备在处于锁定状态下,检测到作用于指纹传感器的操作。
以图2i所示的电子设备的界面示意图为例,当电子设备处于锁定状态时,用户可以在图2i所示的指纹输入区域输入指纹,则电子设备可以检测到作用于指纹传感器的操作。
步骤S502,电子设备确定指纹传感器采集到的指纹与预设指纹的匹配结果。
步骤S503,电子设备通过红外传感器发射红外线。
电子设备检测到作用于指纹传感器的操作之后,可以通过红外传感器发射红外线。具体实现中,电子设备可以在显示屏的上方集成红外传感器,电子设备检测到作用于指纹传感器的操作之后,可以触发红外传感器发射红外线。
步骤S504,电子设备判断是否接收到反射红外线。以图2i所示的界面示意图为例,电子设备可以通过红外传感器发射红外线,当未接收到反射红外线时,不执行匹配结果对应的响应;当接收到反射红外线时,执行匹配结果对应的响应。
电子设备通过红外传感器发射红外线之后,可以判断预设时长内是否接收到反射红外线,当未接收到反射红外线时,表明用户当前未使用电子设备,不执行匹配结果对应的响应;当接收到反射红外线时,表明用户当前正在使用电子设备,执行匹配结果对应的响应。
具体实现中,如果用户当前在使用电子设备,用户将处于红外线发射区域,发射的红外线由于用户的阻挡会反射回红外传感器,则电子设备可以接收到反射红外线。如果用户当前未在使用电子设备,用户将处于红外线发射区域以外的其他区域,发射的红外线未被遮挡,将不会反射回红外传感器,则电子设备无法接收反射红外线。
步骤S505,电子设备不执行匹配结果对应的响应。
电子设备未接收到反射红外线时,可以不执行匹配结果对应的响应。
在可选实施例中,当未接收到反射红外线时,电子设备可以通过加速度传感器获取电子设备在X轴、Y轴和Z轴的加速度值,当获取到的三个加速度值中的每一个加速度值均小于对应的预设加速度阈值时,不执行匹配结果对应的响应;当获取到的三个加速度值中的任意一个加速度值不小于对应的预设加速度阈值时,执行匹配结果对应的响应。
在可选实施例中,电子设备不执行匹配结果对应的响应之后,在预设时长内检测到作用于指纹传感器的操作的次数超过预设数量值时,可以确定预设时长内检测到的操作的匹配结果,当匹配结果包括匹配时,执行匹配对应的响应。
在可选实施例中,在预设时长内检测到作用于指纹传感器的操作的次数超过预设数量值时,电子设备可以确定预设时长内检测到的最后一个操作的匹配结果,执行最后一个操作的匹配结果对应的响应。
步骤S506,电子设备执行匹配结果对应的响应。
电子设备接收到反射红外线时,可以执行匹配结果对应的响应。以图2j所示的电子设备的界面示意图为例,当匹配结果为匹配时,电子设备可以解除锁定状态;当匹配结果为不匹配时,电子设备可以输出提示信息,提示信息用于指示指纹传感器采集到的指纹与预设指纹匹配失败。应理解:提示信息可以为文字显示或振动或发出预设声音。
在图5所示的实施例中,电子设备在处于锁定状态下,检测到作用于指纹传感器的操作,确定指纹传感器采集到的指纹与预设指纹的匹配结果,通过红外传感器发射红外线,并判断是否接收到反射红外线,当接收到反射红外线时执行匹配结果对应的响应,当未接收到反射红外线时不执行匹配结果对应的响应,可避免执行误触指纹传感器的响应。
请参阅图6,图6是本发明另一实施例提供的一种处理方法流程示意图。本发明实施例提供的处理方法应用于包括指纹传感器、摄像头和显示屏的电子设备。如图6所示所述方法可以包括:
步骤S601至S603与S301至S303相同,具体参见前述相应内容,此处不再赘述。
步骤S604至S605与S403至S404相同,具体参见前述相应内容,此处不再赘述。
需要说明的是:步骤S603和步骤S604可以同时执行,也可以先执行步骤S603再执行步骤S604,或者先执行步骤S604再执行步骤S603,这两个步骤之前没有严格的先后执行顺序,不能以此限定本发明。
例如,电子设备可以判断显示屏的朝向与重力的方向的夹角是否在预设范围内,当显示屏的朝向与重力的方向的夹角不在预设范围内时,执行步骤S606;当显示屏的朝向与重力的方向的夹角在预设范围内时,通过摄像头获取图像,判断图像是否包含预设人脸,当图像包含预设人脸时,执行步骤S607;当图像不包含预设人脸时,执行步骤S606。
又如,电子设备可以通过摄像头获取图像,判断图像是否包含预设人脸, 当图像不包含预设人脸时,执行步骤S606;当图像包含预设人脸时,判断显示屏的朝向与重力的方向的夹角是否在预设范围内,当显示屏的朝向与重力的方向的夹角不在预设范围内时,执行步骤S606;当显示屏的朝向与重力的方向的夹角在预设范围内时,执行步骤S607。
又如,电子设备检测到作用于指纹传感器的操作之后,可以通过摄像头获取图像,进而判断图像是否包含预设人脸,以及判断显示屏的朝向与重力的方向的夹角是否在预设范围内,当图像包含预设人脸,且显示屏的朝向与重力的方向的夹角在预设范围内时,执行步骤S607;当图像不包含预设人脸,或者显示屏的朝向与重力的方向的夹角不在预设范围内时,执行步骤S606。
步骤S606至S607与S304至S305相同,具体参见前述相应内容,此处不再赘述。
在图6所示的实施例中,电子设备在处于锁定状态下,检测到作用于指纹传感器的操作,确定指纹传感器采集到的指纹与预设指纹的匹配结果,判断显示屏的朝向与重力的方向的夹角是否在预设范围内,通过摄像头获取图像,判断图像是否包含预设人脸,当显示屏的朝向与重力的方向的夹角在预设范围内,且图像包含预设人脸时,执行匹配结果对应的响应;否则,不执行匹配结果对应的响应,可避免执行误触指纹传感器的响应。
请参阅图7,图7是本发明另一实施例提供的一种处理方法流程示意图。本发明实施例提供的处理方法应用于包括指纹传感器、红外传感器和显示屏的电子设备。如图7所示所述方法可以包括:
步骤S701至S703与S301至S303相同,具体参见前述相应内容,此处不再赘述。
步骤S704至S705与S503至S504相同,具体参见前述相应内容,此处不再赘述。
需要说明的是:步骤S703和步骤S704可以同时执行,也可以先执行步骤S703再执行步骤S704,或者先执行步骤S704再执行步骤S703,这两个步骤 之前没有严格的先后执行顺序,不能以此限定本发明。
例如,电子设备可以判断显示屏的朝向与重力的方向的夹角是否在预设范围内,当显示屏的朝向与重力的方向的夹角不在预设范围内时,执行步骤S706;当显示屏的朝向与重力的方向的夹角在预设范围内时,通过红外传感器发射红外线,判断是否接收到反射红外线,当接收到反射红外线时,执行步骤S707;当未接收到反射红外线时,执行步骤S706。
又如,电子设备可以通过红外传感器发射红外线,判断是否接收到反射红外线,当未接收到反射红外线时,执行步骤S706;当接收到反射红外线时,判断显示屏的朝向与重力的方向的夹角是否在预设范围内,当显示屏的朝向与重力的方向的夹角不在预设范围内时,执行步骤S706;当显示屏的朝向与重力的方向的夹角在预设范围内时,执行步骤S707。
又如,电子设备检测到作用于指纹传感器的操作之后,可以通过红外传感器发射红外线,进而判断是否接收到反射红外线,以及判断显示屏的朝向与重力的方向的夹角是否在预设范围内,当接收到反射红外线,且显示屏的朝向与重力的方向的夹角在预设范围内时,执行步骤S707;当未接收到反射红外线,或者显示屏的朝向与重力的方向的夹角不在预设范围内时,执行步骤S706。
步骤S706至S707与S304至S305相同,具体参见前述相应内容,此处不再赘述。
在图7所示的实施例中,电子设备在处于锁定状态下,检测到作用于指纹传感器的操作,确定指纹传感器采集到的指纹与预设指纹的匹配结果,判断显示屏的朝向与重力的方向的夹角是否在预设范围内,通过红外传感器发射红外线,判断是否接收到反射红外线,当显示屏的朝向与重力的方向的夹角在预设范围内,且接收到反射红外线时,执行匹配结果对应的响应;否则,不执行匹配结果对应的响应,可避免执行误触指纹传感器的响应。
请参阅图8,图8是本发明另一实施例提供的一种处理方法流程示意图。本发明实施例提供的处理方法应用于包括指纹传感器、红外传感器、摄像头和 显示屏的电子设备。如图8所示所述方法可以包括:
步骤S801至804与S501至S504相同,具体参见前述相应内容,此处不再赘述。步骤S805至S806与S403至S404相同,具体参见前述相应内容,此处不再赘述。
需要说明的是:步骤S803和步骤S805可以同时执行,也可以先执行步骤S803再执行步骤S805,或者先执行步骤S805再执行步骤S803,这两个步骤之前没有严格的先后执行顺序,不能以此限定本发明。
例如,电子设备可以通过红外传感器发射红外线,判断是否接收到反射红外线,当未接收到反射红外线时,执行步骤S807;当接收到反射红外线时,通过摄像头获取图像,判断图像是否包含预设人脸,当图像包含预设人脸时,执行步骤S808;当图像不包含预设人脸时,执行步骤S807。
又如,电子设备可以通过摄像头获取图像,判断图像是否包含预设人脸,当图像不包含预设人脸时,执行步骤S807;当图像包含预设人脸时,通过红外传感器发射红外线,判断是否接收到反射红外线,当未接收到反射红外线时,执行步骤S807;当接收到反射红外线时,执行步骤S808。
又如,电子设备检测到作用于指纹传感器的操作之后,可以通过红外传感器发射红外线,并通过摄像头获取图像,进而判断是否接收到反射红外线,以及判断图像是否包含预设人脸,当接收到反射红外线,且图像包含预设人脸时,执行步骤S808;当未接收到反射红外线,或者图像不包含预设人脸时,执行步骤S807。
步骤S807至S808与S304至S305相同,具体参见前述相应内容,此处不再赘述。
在图8所示的实施例中,电子设备在处于锁定状态下,检测到作用于指纹传感器的操作,确定指纹传感器采集到的指纹与预设指纹的匹配结果,通过红外传感器发射红外线,通过摄像头获取图像,判断是否接收到反射红外线,并判断图像是否包含预设人脸,当接收到反射红外线且图像包含人脸时,执行匹配结果对应的响应;否则,不执行匹配结果对应的响应,可避免执行误触指纹 传感器的响应。
请参阅图9,图9是本发明另一实施例提供的一种处理方法流程示意图。本发明实施例提供的处理方法应用于包括指纹传感器、红外传感器和显示屏的电子设备。如图9所示所述方法可以包括:
步骤S901至S903与S301至S303相同,具体参见前述相应内容,此处不再赘述。
步骤S904至S905与S503至S504相同,具体参见前述相应内容,此处不再赘述。步骤S906至S907与S403至S404相同,具体参见前述相应内容,此处不再赘述。
应理解:步骤S903、步骤S904和步骤S906可以同时执行,也可以先执行步骤S903再执行步骤S904和S906,或者先执行步骤S904再执行步骤S903和S906,这三个步骤之前没有严格的先后执行顺序,不能以此限定本发明。
例如,电子设备可以判断显示屏的朝向与重力的方向的夹角是否在预设范围内,当显示屏的朝向与重力的方向的夹角不在预设范围内时,执行步骤S908;当显示屏的朝向与重力的方向的夹角在预设范围内时,通过红外传感器发射红外线,判断是否接收到反射红外线,当未接收到反射红外线时,执行步骤S908;当接收到反射红外线时,通过摄像头获取图像,判断图像是否包含预设人脸,当图像不包含预设人脸时,执行步骤S908;当图像包含预设人脸时,执行步骤S909。
又如,电子设备可以通过红外传感器发射红外线,判断是否接收到反射红外线,当未接收到反射红外线时,执行步骤S908;当接收到反射红外线时,判断显示屏的朝向与重力的方向的夹角是否在预设范围内,当显示屏的朝向与重力的方向的夹角不在预设范围内时,执行步骤S908;当显示屏的朝向与重力的方向的夹角在预设范围内时,通过摄像头获取图像,判断图像是否包含预设人脸,当图像不包含预设人脸时,执行步骤S908;当图像包含预设人脸时,执行步骤S909。
又如,电子设备检测到作用于指纹传感器的操作之后,可以通过红外传感器发射红外线,通过摄像头获取图像,进而判断是否接收到反射红外线,判断图像是否包含预设人脸,以及判断显示屏的朝向与重力的方向的夹角是否在预设范围内,当接收到反射红外线,图像包含预设人脸,且显示屏的朝向与重力的方向的夹角在预设范围内时,执行步骤S909;当未接收到反射红外线,图像不包含预设人脸,或者显示屏的朝向与重力的方向的夹角不在预设范围内时,执行步骤S908。
步骤S908至S909与S304至S305相同,具体参见前述相应内容,此处不再赘述。
在图9所示的实施例中,电子设备在处于锁定状态下,检测到作用于指纹传感器的操作,确定指纹传感器采集到的指纹与预设指纹的匹配结果,当显示屏的朝向与重力的方向的夹角在预设范围内,接收到反射红外线,且图像包含预设人脸时,执行匹配结果对应的响应;否则,不执行匹配结果对应的响应,可避免执行误触指纹传感器的响应。
请参与图10,图10是本发明另一实施例提供的一种电子设备的结构示意图。如图10所示,所述电子设备至少可以包括检测单元1001、确定单元1002以及处理单元1003,其中:
检测单元1001,用于在电子设备处于锁定状态下,检测到作用于指纹传感器的操作。
确定单元1002,用于确定指纹传感器采集到的指纹与预设指纹的匹配结果,匹配结果包括:匹配或不匹配。
处理单元1003,用于当显示屏的朝向与重力的方向的夹角不在预设范围内时,不执行匹配结果对应的响应;当显示屏的朝向与重力的方向的夹角在预设范围内时,执行匹配结果对应的响应。
在可选实施例中,处理单元1003执行匹配结果对应的响应,具体用于:
当匹配结果为匹配时,解除锁定状态;当匹配结果为不匹配时,输出提示信息,提示信息用于指示指纹传感器采集到的指纹与预设指纹匹配失败。
在可选实施例中,处理单元1003具体用于:
当显示屏的朝向与重力的方向的夹角不在预设范围内时,通过加速度传感器获取电子设备在X轴、Y轴和Z轴的加速度值,当获取到的三个加速度值中的每一个加速度值均小于对应的预设加速度阈值时,不执行匹配结果对应的响应;当获取到的三个加速度值中的任意一个加速度值不小于对应的预设加速度阈值时,执行匹配结果对应的响应。
在可选实施例中,预设范围包括第一预设范围、第二预设范围、第三预设范围以及第四预设范围,则处理单元1003,具体用于:
当显示屏的朝向与重力的方向的夹角不在第一预设范围、第二预设范围、第三预设范围以及第四预设范围内时,确定显示屏的朝向与重力的方向的夹角不在预设范围内。当显示屏的朝向与重力的方向的夹角在第一预设范围、第二预设范围、第三预设范围或者第四预设范围内时,确定显示屏的朝向与重力的方向的夹角在预设范围内。
可选的,所述预设范围包括第一预设范围和第二预设范围,所述第一预设范围在所述电子设备处于运动状态时使用,所述第二预设范围在所述电子设备处于静止状态时使用。
可选的,所述预设范围包括第一预设范围,第二预设范围,第三预设范围和第四预设范围,所述第一预设范围在握持所述电子设备的用户处于行走,跑步,站立或坐的姿态时使用,所述第二预设范围在握持所述电子设备的用户处于俯卧的姿态时使用,所述第二预设范围在握持所述电子设备的用户处于仰卧的姿态时使用,所述第二预设范围在握持所述电子设备的用户处于侧卧的姿态时使用。在可选实施例中,显示屏的朝向与重力的方向的夹角是通过地磁传感器、角速度传感器和加速度传感器中的至少一个传感器采集到的数据确定的。
在可选实施例中,处理单元1003,还用于不执行匹配结果对应的响应之后,在预设时长内检测到作用于指纹传感器的操作的次数超过预设数量值时,确定预设时长内检测到的操作的匹配结果,当匹配结果包括匹配时,执行匹配对应的响应。
在可选实施例中,处理单元1003,还用于不执行匹配结果对应的响应之后,在预设时长内检测到作用于指纹传感器的操作的次数超过预设数量值时, 确定预设时长内检测到的最后一个操作的匹配结果,执行最后一个操作的匹配结果对应的响应。
需要说明的是,本发明实施例中的检测单元1001可以替换为图1中的输入单元11,确定单元1002和处理单元1003可以替换为图1中的处理器12,具体不受本发明实施例的限制。
应理解:本该实现方式中,电子设备的各功能模块的功能可根据图3、图6、图7或者图9所示方法实施例中的方法具体实现,可以具体对应图3、图6、图7或者图9的相关描述,此处不再赘述。
在一个可能的设计中,检测单元1001,用于在电子设备处于锁定状态下,检测到作用于指纹传感器的操作。
确定单元1002,用于确定指纹传感器采集到的指纹与预设指纹的匹配结果,匹配结果包括:匹配或不匹配。
处理单元1003,用于当摄像头获取到的图像不包含预设人脸时,不执行匹配结果对应的响应;当摄像头获取到的图像包含预设人脸时,执行匹配结果对应的响应。
需要说明的是,本发明实施例中的检测单元1001可以替换为图1中的输入单元11,确定单元1002和处理单元1003可以替换为图1中的处理器12,具体不受本发明实施例的限制。
可理解的是,本该实现方式中,电子设备的各功能模块的功能可根据图4、图6、图8以及图9所示方法实施例中的方法具体实现,可以具体对应图4、图6、图8以及图9的相关描述,此处不再赘述。
请参与图11,图11是本发明另一实施例提供的一种电子设备的结构示意图。如图11所示,所述电子设备至少可以包括检测单元1101、确定单元1102、发射单元1103以及处理单元1104,其中:
检测单元1101,用于在电子设备处于锁定状态下,检测到作用于指纹传感器的操作。
确定单元1102,用于确定指纹传感器采集到的指纹与预设指纹的匹配结果,匹配结果包括:匹配或不匹配。
发射单元1103,用于通过红外传感器发射红外线。
处理单元1104,用于当未接收到反射红外线时,不执行匹配结果对应的响应;当接收到反射红外线时,执行匹配结果对应的响应。
需要说明的是,本发明实施例中的检测单元1101可以替换为图1中的输入单元11,发射单元1103可以替换为图1中的输出单元13,确定单元1102和处理单元1104可以替换为图1中的处理器12,具体不受本发明实施例的限制。
可理解的是,本该实现方式中,电子设备的各功能模块的功能可根据图5、图7至图9所示方法实施例中的方法具体实现,可以具体对应图5、图7至图9的相关描述,此处不再赘述。
需要说明的是,在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详细描述的部分,可以参见其他实施例的相关描述。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明实施例所必须的。
本发明实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。
本发明实施例装置中的可以根据实际需要进行合并、划分和删减。
本发明实施例中所述单元,可以通过通用集成电路,例如CPU(Central Processing Unit,中央处理器),或通过ASIC(Application Specific Integrated Circuit,专用集成电路)来实现。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。
以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。

Claims (29)

  1. 一种处理方法,应用于具有指纹传感器和显示屏的电子设备,其特征在于,所述方法包括:
    在所述电子设备处于锁定状态下,检测到作用于所述指纹传感器的操作;
    确定所述指纹传感器采集到的指纹与预设指纹的匹配结果,所述匹配结果包括:匹配或不匹配;
    当所述显示屏的朝向与重力的方向的夹角不在预设范围内时,不执行所述匹配结果对应的响应;
    当所述显示屏的朝向与重力的方向的夹角在所述预设范围内时,执行所述匹配结果对应的响应。
  2. 如权利要求1所述的方法,其特征在于,所述执行所述匹配结果对应的响应,包括:
    当所述匹配结果为匹配时,解除锁定状态;
    当所述匹配结果为不匹配时,输出提示信息,所述提示信息用于指示所述指纹传感器采集到的指纹与所述预设指纹匹配失败。
  3. 如权利要求1所述的方法,其特征在于,所述显示屏的朝向与重力的方向的夹角不在预设范围内之后,还包括:
    通过加速度传感器获取所述电子设备在X轴、Y轴和Z轴的加速度值;
    当获取到的三个加速度值中每一个加速度值均小于对应的预设加速度阈值时,不执行所述匹配结果对应的响应;
    当获取到的三个加速度值中任意一个加速度值不小于对应的预设加速度阈值时,执行所述匹配结果对应的响应。
  4. 如权利要求1至3中任一项所述的方法,其特征在于,所述显示屏的朝向与重力的方向的夹角是通过地磁传感器、角速度传感器和加速度传感器中的至少一个传感器采集到的数据确定的。
  5. 如权利要求1至4中任一项所述的方法,其特征在于,所述不执行所述匹配结果对应的响应之后,还包括:
    在预设时长内检测到作用于所述指纹传感器的操作的次数超过预设数量值时,确定所述预设时长内检测到的操作的匹配结果,当匹配结果包括匹配时,执行匹配对应的响应。
  6. 如权利要求1至4中任一项所述的方法,其特征在于,所述不执行所述匹配结果对应的响应之后,还包括:
    在预设时长内检测到作用于所述指纹传感器的操作的次数超过预设数量值时,确定所述预设时长内检测到的最后一个操作的匹配结果,执行最后一个操作的匹配结果对应的响应。
  7. 如权利要求1至6中任一项所述的方法,其特征在于,所述预设范围包括第一预设范围和第二预设范围,所述第一预设范围在所述电子设备处于运动状态时使用,所述第二预设范围在所述电子设备处于静止状态时使用。
  8. 如权利要求1至6中任一项所述的方法,其特征在于,所述预设范围包括第一预设范围,第二预设范围,第三预设范围和第四预设范围,所述第一预设范围在握持所述电子设备的用户处于行走,跑步,站立或坐的姿态时使用,所述第二预设范围在握持所述电子设备的用户处于俯卧的姿态时使用,所述第二预设范围在握持所述电子设备的用户处于仰卧的姿态时使用,所述第二预设范围在握持所述电子设备的用户处于侧卧的姿态时使用。
  9. 一种处理方法,应用于具有指纹传感器、摄像头和显示屏的电子设备,其特征在于,所述方法包括:
    在所述电子设备处于锁定状态下,检测到作用于所述指纹传感器的操作;
    确定所述指纹传感器采集到的指纹与预设指纹的匹配结果,所述匹配结果包括:匹配或不匹配;
    当所述摄像头获取到的图像不包含预设人脸时,不执行所述匹配结果对应的响应;
    当所述摄像头获取到的图像包含所述预设人脸时,执行所述匹配结果对应的响应。
  10. 一种处理方法,应用于具有指纹传感器、红外传感器和显示屏的电子设备,其特征在于,所述方法包括:
    在所述电子设备处于锁定状态下,检测到作用于所述指纹传感器的操作;
    确定所述指纹传感器采集到的指纹与预设指纹的匹配结果,所述匹配结果包括:匹配或不匹配;
    通过所述红外传感器发射红外线;
    当未接收到反射红外线时,不执行所述匹配结果对应的响应;
    当接收到反射红外线时,执行所述匹配结果对应的响应。
  11. 一种电子设备,其特征在于,包括:
    检测单元,用于在所述电子设备处于锁定状态下,检测到作用于所述指纹传感器的操作;
    确定单元,用于确定所述指纹传感器采集到的指纹与预设指纹的匹配结果,所述匹配结果包括:匹配或不匹配;
    处理单元,用于当所述显示屏的朝向与重力的方向的夹角不在预设范围内时,不执行所述匹配结果对应的响应;当所述显示屏的朝向与重力的方向的夹角在所述预设范围内时,执行所述匹配结果对应的响应。
  12. 如权利要求11所述的电子设备,其特征在于,所述处理单元执行所述匹配结果对应的响应,具体用于:
    当所述匹配结果为匹配时,解除锁定状态;
    当所述匹配结果为不匹配时,输出提示信息,所述提示信息用于指示所述指纹传感器采集到的指纹与所述预设指纹匹配失败。
  13. 如权利要求11所述的电子设备,其特征在于,所述处理单元具体用于:
    当所述显示屏的朝向与重力的方向的夹角不在所述预设范围内时,通过加速度传感器获取所述电子设备在X轴、Y轴和Z轴的加速度值;
    当获取到的三个加速度值中每一个加速度值小于对应的预设加速度阈值时,不执行所述匹配结果对应的响应;
    当获取到的三个加速度值中任意一个加速度值不小于对应的预设加速度阈值时,执行所述匹配结果对应的响应。
  14. 如权利要求11至13中任一项所述的电子设备,其特征在于,所述显示屏的朝向与重力的方向的夹角是通过地磁传感器、角速度传感器和加速度传感器中的至少一个传感器采集到的数据确定的。
  15. 如权利要求11至14中任一项所述的电子设备,其特征在于,
    所述处理单元,还用于不执行所述匹配结果对应的响应之后,在预设时长内检测到作用于所述指纹传感器的操作的次数超过预设数量值时,确定所述预设时长内检测到的操作的匹配结果,当匹配结果包括匹配时,执行匹配对应的响应。
  16. 如权利要求11至14中任一项所述的电子设备,其特征在于,
    所述处理单元,还用于不执行所述匹配结果对应的响应之后,在预设时长内检测到作用于所述指纹传感器的操作的次数超过预设数量值时,确定所述预设时长内检测到的最后一个操作的匹配结果,执行最后一个操作的匹配结果对应的响应。
  17. 如权利要求11至16中任一项所述的电子设备,其特征在于,所述预设范围包括第一预设范围和第二预设范围,所述第一预设范围在所述电子设备处于运动状态时使用,所述第二预设范围在所述电子设备处于静止状态时使用。
  18. 如权利要求11至16中任一项所述的电子设备,其特征在于,所述预设范围包括第一预设范围,第二预设范围,第三预设范围和第四预设范围,所述第一预设范围在握持所述电子设备的用户处于行走,跑步,站立或坐的姿态时使用,所述第二预设范围在握持所述电子设备的用户处于俯卧的姿态时使用,所述第二预设范围在握持所述电子设备的用户处于仰卧的姿态时使用,所述第二预设范围在握持所述电子设备的用户处于侧卧的姿态时使用。
  19. 一种电子设备,其特征在于,包括一个或多个处理器、存储器、总线系统、指纹传感器、显示屏以及一个或多个程序,所述处理器、所述存储器、所述指纹传感器和所述显示屏通过所述总线系统相连;
    其中所述一个或多个程序被存储在所述存储器中,所述一个或多个程序包括指令,所述指令当被所述电子设备执行时使所述电子设备执行如权利要求1至8任一项所述的方法。
  20. 一种电子设备上的图形用户界面,所述电子设备包括显示器、指纹传感器、存储器、多个应用程序;和用于执行存储在所述存储器中的一个或多个程序的一个或多个处理器,所述图形用户界面包括根据权利要求1-8中任一项所述的方法显示的用户界面,其中,所述显示器包括触敏表面和显示屏。
  21. 一种存储一个或多个程序的计算机可读存储介质,所述一个或多个程序包括指令,所述指令当被电子设备执行时使所述电子设备执行根据权利要求1至8任一项所述方法。
  22. 一种电子设备,其特征在于,包括:
    检测单元,用于在所述电子设备处于锁定状态下,检测到作用于所述指纹传感器的操作;
    确定单元,用于确定所述指纹传感器采集到的指纹与预设指纹的匹配结果,所述匹配结果包括:匹配或不匹配;
    处理单元,用于当所述摄像头获取到的图像不包含预设人脸时,不执行所 述匹配结果对应的响应;当所述摄像头获取到的图像包含预设人脸时,执行所述匹配结果对应的响应。
  23. 一种电子设备,其特征在于,包括一个或多个处理器、存储器、总线系统、指纹传感器、摄像头、显示屏以及一个或多个程序,所述处理器、所述存储器、所述指纹传感器、所述摄像头和所述显示屏通过所述总线系统相连;
    其中所述一个或多个程序被存储在所述存储器中,所述一个或多个程序包括指令,所述指令当被所述电子设备执行时使所述电子设备执行如权利要求9所述的方法。
  24. 一种电子设备上的图形用户界面,所述电子设备包括显示器、指纹传感器、摄像头、存储器、多个应用程序;和用于执行存储在所述存储器中的一个或多个程序的一个或多个处理器,所述图形用户界面包括根据权利要求9所述的方法显示的用户界面,其中,所述显示器包括触敏表面和显示屏。
  25. 一种存储一个或多个程序的计算机可读存储介质,所述一个或多个程序包括指令,所述指令当被电子设备执行时使所述电子设备执行根据权利要求9所述方法。
  26. 一种电子设备,其特征在于,包括:
    检测单元,用于在所述电子设备处于锁定状态下,检测到作用于所述指纹传感器的操作;
    确定单元,用于确定所述指纹传感器采集到的指纹与预设指纹的匹配结果,所述匹配结果包括:匹配或不匹配;
    发射单元,用于通过所述红外传感器发射红外线;
    处理单元,用于当未接收到反射红外线时,不执行所述匹配结果对应的响应;当接收到反射红外线时,执行所述匹配结果对应的响应。
  27. 一种电子设备,其特征在于,包括一个或多个处理器、存储器、总线 系统、指纹传感器、红外传感器、显示屏以及一个或多个程序,所述处理器、所述存储器、所述指纹传感器、所述红外传感器和所述显示屏通过所述总线系统相连;
    其中所述一个或多个程序被存储在所述存储器中,所述一个或多个程序包括指令,所述指令当被所述电子设备执行时使所述电子设备执行如权利要求10所述的方法。
  28. 一种电子设备上的图形用户界面,所述电子设备包括显示器、指纹传感器、存储器、多个应用程序;和用于执行存储在所述存储器中的一个或多个程序的一个或多个处理器,所述图形用户界面包括根据权利要求10所述的方法显示的用户界面,其中,所述显示器包括触敏表面和显示屏。
  29. 一种存储一个或多个程序的计算机可读存储介质,所述一个或多个程序包括指令,所述指令当被电子设备执行时使所述电子设备执行根据权利要求10所述方法。
PCT/CN2016/074471 2016-02-24 2016-02-24 一种处理方法和电子设备 WO2017143539A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
PCT/CN2016/074471 WO2017143539A1 (zh) 2016-02-24 2016-02-24 一种处理方法和电子设备
CN201680079957.7A CN108496140B (zh) 2016-02-24 2016-02-24 一种处理方法和电子设备
US16/079,063 US10706255B2 (en) 2016-02-24 2016-02-24 Processing method and electronic device
EP16890993.5A EP3410281B1 (en) 2016-02-24 2016-02-24 Processing method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/074471 WO2017143539A1 (zh) 2016-02-24 2016-02-24 一种处理方法和电子设备

Publications (1)

Publication Number Publication Date
WO2017143539A1 true WO2017143539A1 (zh) 2017-08-31

Family

ID=59684885

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/074471 WO2017143539A1 (zh) 2016-02-24 2016-02-24 一种处理方法和电子设备

Country Status (4)

Country Link
US (1) US10706255B2 (zh)
EP (1) EP3410281B1 (zh)
CN (1) CN108496140B (zh)
WO (1) WO2017143539A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11163970B1 (en) 2020-06-16 2021-11-02 Google Llc Optical fingerprint system with varying integration times across pixels

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120071149A1 (en) * 2010-09-16 2012-03-22 Microsoft Corporation Prevention of accidental device activation
CN104933339A (zh) * 2015-06-16 2015-09-23 广东欧珀移动通信有限公司 一种解锁控制方法及移动终端
CN105117626A (zh) * 2015-07-28 2015-12-02 广东欧珀移动通信有限公司 一种智能手表的指纹识别方法及智能手表
CN105279402A (zh) * 2015-09-25 2016-01-27 广东欧珀移动通信有限公司 一种基于放置角度的解锁方法及移动终端

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1626330A4 (en) * 2003-05-21 2012-01-18 Hitachi High Tech Corp PORTABLE TERMINAL DEVICE WITH BUILT-IN FINGERPRINT SENSOR
US8903141B2 (en) * 2012-05-03 2014-12-02 Authentec, Inc. Electronic device including finger sensor having orientation based authentication and related methods
US9218544B2 (en) * 2013-02-01 2015-12-22 Apple Inc. Intelligent matcher based on situational or spatial orientation
US9020567B2 (en) 2013-04-05 2015-04-28 Blackberry Limited Authentication using fingerprint sensor in gesture path
CN103399642A (zh) * 2013-08-21 2013-11-20 珠海市魅族科技有限公司 一种屏幕唤醒的控制方法及终端
US9967100B2 (en) * 2013-11-05 2018-05-08 Samsung Electronics Co., Ltd Method of controlling power supply for fingerprint sensor, fingerprint processing device, and electronic device performing the same
CN103677633B (zh) * 2013-11-22 2016-07-06 小米科技有限责任公司 屏幕解锁方法、装置和终端
TWI502479B (zh) * 2013-12-24 2015-10-01 Acer Inc 解鎖方法與電子裝置
EP3140724A4 (en) * 2014-05-08 2017-12-13 Northrop Grumman Systems Corporation Methods, devices, and computer-readable media for biometric collection, quality checking, and matching
WO2016029449A1 (zh) 2014-08-29 2016-03-03 华为技术有限公司 防误触触摸屏的方法和装置
CN105095720B (zh) * 2015-08-10 2018-03-30 京东方科技集团股份有限公司 指纹识别系统及方法、显示装置
CN105227754A (zh) * 2015-08-25 2016-01-06 努比亚技术有限公司 移动终端解锁控制系统和方法
KR20180066522A (ko) * 2016-12-09 2018-06-19 엘지전자 주식회사 이동 단말기 및 그 제어 방법

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120071149A1 (en) * 2010-09-16 2012-03-22 Microsoft Corporation Prevention of accidental device activation
CN104933339A (zh) * 2015-06-16 2015-09-23 广东欧珀移动通信有限公司 一种解锁控制方法及移动终端
CN105117626A (zh) * 2015-07-28 2015-12-02 广东欧珀移动通信有限公司 一种智能手表的指纹识别方法及智能手表
CN105279402A (zh) * 2015-09-25 2016-01-27 广东欧珀移动通信有限公司 一种基于放置角度的解锁方法及移动终端

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3410281A4 *

Also Published As

Publication number Publication date
US10706255B2 (en) 2020-07-07
CN108496140A (zh) 2018-09-04
US20190026535A1 (en) 2019-01-24
EP3410281A4 (en) 2019-01-16
EP3410281A1 (en) 2018-12-05
CN108496140B (zh) 2021-01-15
EP3410281B1 (en) 2021-08-18

Similar Documents

Publication Publication Date Title
US10353571B2 (en) Method and apparatus for preventing touchscreen misoperation
TWI643121B (zh) 物件顯示的方法以及終端設備
EP3039563B1 (en) Multi display method, storage medium, and electronic device
CN107835969B (zh) 包括触摸感测模块的电子设备及其操作方法
US9426606B2 (en) Electronic apparatus and method of pairing in electronic apparatus
US10558840B2 (en) Fingerprint recognition method and electronic device
KR20180015987A (ko) 펜과 관련된 정보를 판단하는 터치 감지 장치 및 그 제어 방법과 펜
WO2019000287A1 (zh) 一种图标显示方法及装置
WO2018059328A1 (zh) 一种终端控制方法及终端、存储介质
US20210311752A1 (en) Electronic apparatus and operating method thereof
KR20180108761A (ko) 데이터 처리 방법 및 전자 디바이스
WO2017128986A1 (zh) 多媒体菜单项的选择方法、装置及存储介质
US20170097751A1 (en) Electronic device for providing one-handed user interface and method therefor
US20150002417A1 (en) Method of processing user input and apparatus using the same
KR20160116959A (ko) 사용자 인터페이스를 제공하는 방법 및 이를 위한 전자 장치
WO2015101254A1 (zh) 一种信息交互的方法、装置及系统
KR102553573B1 (ko) 전자 장치 및 전자 장치의 터치 입력 감지 방법
US20140256292A1 (en) Method of processing message and apparatus using the method
KR20160045428A (ko) 잠금 해제 방법 및 장치
WO2017143539A1 (zh) 一种处理方法和电子设备
CN113408989B (zh) 汽车数据的比对方法、装置及计算机存储介质
CN109451295A (zh) 一种获取虚拟信息的方法和系统
CN109831770B (zh) 移动终端的配对方法、装置、存储介质及移动终端
WO2018049811A1 (zh) 一种移动终端的操作方法及移动终端
TW201426410A (zh) 電子設備的外接按鍵管理方法及系統

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2016890993

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2016890993

Country of ref document: EP

Effective date: 20180828

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16890993

Country of ref document: EP

Kind code of ref document: A1