CN111368281A - Electronic equipment and unlocking method thereof - Google Patents

Electronic equipment and unlocking method thereof Download PDF

Info

Publication number
CN111368281A
CN111368281A CN202010149433.9A CN202010149433A CN111368281A CN 111368281 A CN111368281 A CN 111368281A CN 202010149433 A CN202010149433 A CN 202010149433A CN 111368281 A CN111368281 A CN 111368281A
Authority
CN
China
Prior art keywords
electronic device
fingerprint
state
fingerprint module
sensor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010149433.9A
Other languages
Chinese (zh)
Inventor
金翔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010149433.9A priority Critical patent/CN111368281A/en
Publication of CN111368281A publication Critical patent/CN111368281A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/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
    • 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/13Sensors therefor

Landscapes

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

Abstract

本申请实施例公开了一种电子设备及其解锁方法,所述电子设备包括:后盖,用于检测运动数据的传感器组件,设置于所述后盖的指纹模组以及处理器,所述处理器分别与传感器组件、指纹模组连接,所述处理器用于获取所述传感器组件检测到的所述电子设备的运动数据的变化;根据所述电子设备的运动数据的变化驱动所述指纹模组进行信息采集;基于所述指纹模组采集到的信息进行数据对比,得到对比结果。本申请通过传感器组件检测到的运动数据的变化实现抬屏即解锁,提高了电子设备解锁的效率。

Figure 202010149433

The embodiment of the present application discloses an electronic device and an unlocking method thereof, wherein the electronic device comprises: a back cover, a sensor component for detecting motion data, a fingerprint module and a processor arranged on the back cover, wherein the processor is connected to the sensor component and the fingerprint module respectively, and the processor is used to obtain changes in the motion data of the electronic device detected by the sensor component; drive the fingerprint module to collect information according to changes in the motion data of the electronic device; and compare data based on the information collected by the fingerprint module to obtain a comparison result. The present application realizes unlocking by lifting the screen through changes in the motion data detected by the sensor component, thereby improving the efficiency of unlocking the electronic device.

Figure 202010149433

Description

电子设备及其解锁方法Electronic device and unlocking method thereof

技术领域technical field

本申请涉及指纹识别技术领域,尤其涉及一种电子设备及其解锁方法。The present application relates to the technical field of fingerprint identification, and in particular, to an electronic device and an unlocking method thereof.

背景技术Background technique

随着移动互联网时代的飞速发展,电子设备用户之间的信息交互也在成倍增长。With the rapid development of the mobile Internet era, the information interaction between users of electronic devices is also increasing exponentially.

移动电子设备的交互解锁方案中生物识别技术在时代的引领下已成为一种新兴的交互技术正在被大众逐渐认可。其中,指纹识别解锁技术已成为当下一种非常方便快捷的解锁方案。现有的解锁方案主要是基于指纹,主要是受指纹器件的传感器尺寸限制。以屏下指纹为例,用户使用电子设备时需要目视屏幕指纹解锁光斑,将手机放置在光斑上,开启解锁功能。并且现有的指纹解锁方案需要用户有意识的进行专门的解锁动作,操作比较繁琐,不够智能。In the interactive unlocking scheme of mobile electronic devices, biometric technology has become an emerging interactive technology under the leadership of the times and is gradually being recognized by the public. Among them, fingerprint recognition unlocking technology has become a very convenient and fast unlocking solution. The existing unlocking solutions are mainly based on fingerprints, which are mainly limited by the sensor size of the fingerprint device. Taking the fingerprint under the screen as an example, when using an electronic device, the user needs to visually unlock the light spot of the fingerprint on the screen, place the mobile phone on the light spot, and enable the unlocking function. In addition, the existing fingerprint unlocking scheme requires the user to consciously perform a special unlocking action, which is cumbersome and not intelligent enough.

发明内容SUMMARY OF THE INVENTION

本申请实施例提供一种电子设备及其解锁方法,提高解锁效率。Embodiments of the present application provide an electronic device and an unlocking method thereof to improve unlocking efficiency.

第一方面,本申请实施例提供一种电子设备,包括:In a first aspect, an embodiment of the present application provides an electronic device, including:

后盖;back cover;

传感器组件,所述传感器组件用于检测所述电子设备的运动数据;a sensor assembly for detecting motion data of the electronic device;

指纹模组,所述指纹模组设置于所述后盖;a fingerprint module, the fingerprint module is arranged on the back cover;

处理器,所述处理器分别与传感器组件、指纹模组连接,所述处理器用于:a processor, the processor is connected to the sensor assembly and the fingerprint module respectively, and the processor is used for:

获取所述传感器组件检测的所述电子设备运动数据的变化;acquiring changes in motion data of the electronic device detected by the sensor assembly;

根据所述电子设备的运动数据的变化驱动所述指纹模组进行信息采集;Drive the fingerprint module to collect information according to changes in the motion data of the electronic device;

基于所述指纹模组采集到的信息进行数据对比,得到对比结果。Data comparison is performed based on the information collected by the fingerprint module to obtain a comparison result.

第二方面,本申请实施例提供一种电子设备的解锁方法,所述电子设备包括:In a second aspect, an embodiment of the present application provides an unlocking method for an electronic device, where the electronic device includes:

后盖;back cover;

传感器组件,所述传感器组件用于检测所述电子设备的运动数据;a sensor assembly for detecting motion data of the electronic device;

指纹模组,所述指纹模组设置于所述后盖;所述方法包括:a fingerprint module, the fingerprint module is arranged on the back cover; the method includes:

获取所述传感器组件检测到的所述电子设备的运动数据的变化;acquiring changes in motion data of the electronic device detected by the sensor assembly;

根据所述电子设备的运动数据的变化触发指纹解锁操作;Trigger the fingerprint unlocking operation according to the change of the motion data of the electronic device;

响应于所述指纹解锁操作,驱动所述指纹模组进行信息采集;In response to the fingerprint unlocking operation, driving the fingerprint module to collect information;

基于所述指纹模组采集到的信息进行数据对比,得到对比结果。Data comparison is performed based on the information collected by the fingerprint module to obtain a comparison result.

本申请实施例通过传感器组件检测到的运动数据的变化实现抬屏即解锁,提高了电子设备解锁的效率。In the embodiment of the present application, the screen is unlocked by lifting the screen through the change of the motion data detected by the sensor component, which improves the unlocking efficiency of the electronic device.

附图说明Description of drawings

为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present application more clearly, the following briefly introduces the drawings that are used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained from these drawings without creative effort.

图1为本申请实施例提供的电子设备的结构示意图。FIG. 1 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.

图2为图1所示电子设备沿P-P方向的剖面示意图。FIG. 2 is a schematic cross-sectional view of the electronic device shown in FIG. 1 along the P-P direction.

图3为本申请实施例提供的电子设备的第一结构框图。FIG. 3 is a first structural block diagram of an electronic device provided by an embodiment of the present application.

图4为本申请实施例提供的电子设备的第二结构框图。FIG. 4 is a second structural block diagram of an electronic device provided by an embodiment of the present application.

图5为本申请实施例提供的电子设备的第三结构框图。FIG. 5 is a third structural block diagram of an electronic device provided by an embodiment of the present application.

图6为本申请实施例提供的电子设备的解锁流程示意图。FIG. 6 is a schematic diagram of an unlocking process of an electronic device according to an embodiment of the present application.

图7为本申请实施例提供的电子设备的解锁方法的流程示意图。FIG. 7 is a schematic flowchart of a method for unlocking an electronic device according to an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work fall within the protection scope of the present application.

本申请提供一种电子设备,请参阅图1,图1为本申请实施例提供的电子设备的结构示意图。电子设备20可以是智能手机、平板电脑、掌上电脑(PDA,Personal DigitalAssistant)等。The present application provides an electronic device. Please refer to FIG. 1 , which is a schematic structural diagram of an electronic device provided by an embodiment of the present application. The electronic device 20 may be a smart phone, a tablet computer, a PDA (Personal Digital Assistant), or the like.

其中,电子设备20可以包括外壳,外壳具有相对的内表面和外表面,内表面可为安装电子设备20各器件的一面,外表面可为电子设备20的外部。比如,外壳的外表面可为用户可见的一面,内表面为用户不可见的一面。其中,外壳可以包括后盖210,后盖210可以为电池盖板。The electronic device 20 may include a housing having opposite inner and outer surfaces, the inner surface may be the side on which the components of the electronic device 20 are mounted, and the outer surface may be the outside of the electronic device 20 . For example, the outer surface of the housing may be the user-visible side, and the inner surface may be the user-invisible side. Wherein, the housing may include a rear cover 210, and the rear cover 210 may be a battery cover.

参阅图1,电子设备20还可以包括指纹模组220,该指纹模组220设置于后盖210,具体可以设置在后盖210的内表面,内表面为用户不可见的一面,可以采用打孔或开槽的方式将指纹模组220黏贴于后盖210上,采用黏贴的方式可以在指纹模组220与后盖210之间不留有空隙,能够更大的节省电子设备20的内部空间。当然指纹模组220也可以采用其他方式与后盖210连接,在此不作具体限定。Referring to FIG. 1, the electronic device 20 may further include a fingerprint module 220. The fingerprint module 220 is disposed on the back cover 210, and specifically can be disposed on the inner surface of the back cover 210. Or the fingerprint module 220 is pasted on the back cover 210 in a slotted manner, and no gap can be left between the fingerprint module 220 and the back cover 210 by the pasting method, which can save the interior of the electronic device 20 more. space. Of course, the fingerprint module 220 can also be connected to the back cover 210 in other ways, which are not specifically limited here.

具体的,指纹模组220可以为光学指纹模组、半导体指纹模组及射频指纹模组等等。其中,光学指纹模组是利用光的反射和折射原理,光从底部射向三棱镜,并经棱镜射出,射出的光线在手指表面指纹凹凸不平的线纹上折射的角度及反射的光线明暗来进行指纹采集;半导体指纹模组无论是电容式或电感式,均可以根据电容值或电感值的不同来进行指纹采集;射频指纹模组利用生物射频指纹识别技术,通过传感器本身发射出微量射频信号,穿透表皮层去控测里层的纹路来获得指纹图像。Specifically, the fingerprint module 220 may be an optical fingerprint module, a semiconductor fingerprint module, a radio frequency fingerprint module, and the like. Among them, the optical fingerprint module uses the principle of reflection and refraction of light. The light is emitted from the bottom to the triangular prism and is emitted through the prism. The emitted light is refracted on the uneven lines of the fingerprint on the surface of the finger and the reflected light is bright and dark. Fingerprint collection; whether the semiconductor fingerprint module is capacitive or inductive, fingerprint collection can be performed according to the difference in capacitance or inductance value; the RF fingerprint module uses the bio-RF fingerprint recognition technology to emit a small amount of RF signals through the sensor itself. The fingerprint image is obtained by penetrating the epidermis to control and measure the texture of the inner layer.

其中,指纹模组220采集到的信息可以包括指纹特征点或掌纹特征点,通常情况下在电子设备中采用获取指纹特征点来进行指纹解锁,但随着用户对电子设备需求的提高,采用识别掌纹特征点来实现解锁可以为用户提供更好的体验,解锁更为方便。The information collected by the fingerprint module 220 may include fingerprint feature points or palm print feature points. Usually, fingerprint feature points are acquired in electronic devices to unlock fingerprints. Identifying palmprint feature points to unlock can provide users with a better experience, and unlocking is more convenient.

其中,当上述指纹模组220为光学指纹模组221时,电子设备20还可以包括照明灯230,该照明灯230可以为光学指纹模组221提供光源,以便光学指纹模组221在有光源的情况下利用光的反射或折射原理来进行指纹采集。可以理解的是,为光学指纹模组221提供光源的方式有很多种,不仅限于可以在光学指纹模组221附近设置照明灯进行照明,也可以在光学指纹模组221的表面贴附一层发光板提供光源,具体不作限定。Wherein, when the above-mentioned fingerprint module 220 is an optical fingerprint module 221, the electronic device 20 may further include a lighting lamp 230, and the lighting lamp 230 may provide a light source for the optical fingerprint module 221, so that the optical fingerprint module 221 can be used in a place with a light source. Under certain circumstances, the principle of reflection or refraction of light is used for fingerprint collection. It can be understood that there are many ways to provide a light source for the optical fingerprint module 221 , not only can a lighting lamp be provided near the optical fingerprint module 221 for lighting, but also a layer of light can be attached to the surface of the optical fingerprint module 221. The board provides a light source, which is not specifically limited.

请参阅图2,图2为图1所示电子设备沿P-P方向的剖面示意图。当指纹模组220为光学指纹模组221时,从图中可以看出,光学指纹模组221可以包括透光镀膜2211和超薄光学指纹2212,该透光镀膜2211黏贴于超薄光学指纹2212,当然,也可以采用其他方式将透光镀膜2211与超薄光学指纹2212进行连接,在此不作限定。其中,超薄光学指纹2212是一种大面积光学指纹,该超薄光学指纹2212与后盖210相对一侧的面积可以设置为大于或等于该后盖210三分之一的面积。可以理解的是,将超薄光学指纹2212设置为大面积可以方便用户手掌及手指能够尽可能大面积的接触该超薄光学指纹2212,更便于指纹识别,但具体面积需要基于电子设备20面积大小的实际情况进行具体设置,在此不作限定。该超薄光学指纹2212的厚度可以在0.5mm以内,能尽可能节省电子设备20的内部空间。Please refer to FIG. 2 , which is a schematic cross-sectional view of the electronic device shown in FIG. 1 along the P-P direction. When the fingerprint module 220 is an optical fingerprint module 221, it can be seen from the figure that the optical fingerprint module 221 may include a light-transmitting coating 2211 and an ultra-thin optical fingerprint 2212, and the light-transmitting coating 2211 is pasted on the ultra-thin optical fingerprint 2212, of course, the light-transmitting coating 2211 can also be connected with the ultra-thin optical fingerprint 2212 in other ways, which is not limited here. The ultra-thin optical fingerprint 2212 is a large-area optical fingerprint, and the area of the opposite side of the ultra-thin optical fingerprint 2212 and the back cover 210 can be set to be greater than or equal to one third of the area of the back cover 210 . It can be understood that setting the ultra-thin optical fingerprint 2212 to a large area can facilitate the user's palm and fingers to contact the ultra-thin optical fingerprint 2212 as much as possible, which is more convenient for fingerprint identification, but the specific area needs to be based on the size of the electronic device 20. specific settings are made according to the actual situation, which is not limited here. The thickness of the ultra-thin optical fingerprint 2212 can be within 0.5 mm, which can save the internal space of the electronic device 20 as much as possible.

其中,透光镀膜2211是利用物理或化学的方法在材料表面镀上一层透明的电解质膜,或镀上一层金属膜,目的是改变材料表面的反射和透射特性,能够达到减少或增加光的反射、分色、滤光、偏振等要求。Among them, the light-transmitting coating 2211 is to use physical or chemical methods to coat a layer of transparent electrolyte film on the surface of the material, or to coat a layer of metal film, the purpose is to change the reflection and transmission characteristics of the material surface, which can reduce or increase the light Reflection, color separation, filtering, polarization and other requirements.

电子设备20还可以包括显示屏240,该显示屏240可以设置在外壳内,以形成电子设备20的显示面。显示屏240作为电子设备20的前壳,与外壳形成一封闭空间,用于容纳电子设备20的其它电子元件。同时,显示屏240形成电子设备20的显示面,可以显示图像、文本等信息。The electronic device 20 may further include a display screen 240 , and the display screen 240 may be disposed in the housing to form a display surface of the electronic device 20 . The display screen 240 serves as a front case of the electronic device 20 , and forms a closed space with the outer casing for accommodating other electronic components of the electronic device 20 . Meanwhile, the display screen 240 forms a display surface of the electronic device 20, and can display information such as images and texts.

请参阅3,图3为本申请实施例提供的电子设备的第一结构框图。电子设备20还可以包括传感器组件250,传感器组件250与显示屏240的电性连接,可采用信号线,诸如铜线进行连接。传感器组件250可以检测电子设备20的运动数据,所检测到的运动数据的类型根据传感器组件250的类型来决定。传感器组件250可以为陀螺仪传感器、加速度传感器、磁力计等等。例如,陀螺仪传感器可以在用户翻转、晃动电子设备20时检测整机的角速度数据变化;加速度传感器可以在用户拿起电子设备20时检测整机的加速度数据变化等等。Please refer to 3. FIG. 3 is a first structural block diagram of an electronic device provided by an embodiment of the present application. The electronic device 20 may further include a sensor assembly 250, and the electrical connection between the sensor assembly 250 and the display screen 240 may be performed by a signal wire, such as a copper wire. The sensor assembly 250 can detect motion data of the electronic device 20 , and the type of the detected motion data is determined according to the type of the sensor assembly 250 . The sensor component 250 may be a gyroscope sensor, an acceleration sensor, a magnetometer, or the like. For example, the gyroscope sensor can detect the change of the angular velocity data of the whole machine when the user flips or shakes the electronic device 20; the acceleration sensor can detect the change of the acceleration data of the whole machine when the user picks up the electronic device 20, and so on.

电子设备20还可以包括处理器260,处理器260可用来处理电子设备20的各种操作,处理器260集成在电路板上,处理器260分别与指纹模组220、显示屏240以及传感器组件250电性连接。The electronic device 20 can also include a processor 260, which can be used to process various operations of the electronic device 20. The processor 260 is integrated on the circuit board, and the processor 260 is respectively connected with the fingerprint module 220, the display screen 240 and the sensor assembly 250. Electrical connection.

处理器260是电子设备20的控制中心,利用各种接口和线路连接整个电子设备20的各个部分,通过运行或加载存储在存储器内的计算机程序,以及调用存储在存储器内的数据,执行电子设备20的各种功能并处理数据,从而对电子设备20进行整体监控。该处理器260可获取传感器组件250检测到的电子设备20的运动数据的变化,获取到的运动数据的类型根据传感器组件250的类型来决定;根据传感器组件250所检测到的电子设备20的运动数据的变化驱动指纹模组220进行信息采集,其中,指纹模组220所采集的信息可以是指纹特征点或掌纹特征点;基于指纹模组采集到的信息进行数据对比,得到对比结果。The processor 260 is the control center of the electronic device 20, uses various interfaces and lines to connect various parts of the entire electronic device 20, executes the electronic device by running or loading the computer program stored in the memory, and calling the data stored in the memory. Various functions of the electronic device 20 and processing data, so as to monitor the electronic device 20 as a whole. The processor 260 can acquire changes in the motion data of the electronic device 20 detected by the sensor assembly 250 , and the type of the acquired motion data is determined according to the type of the sensor assembly 250 ; The change of data drives the fingerprint module 220 to collect information, wherein the information collected by the fingerprint module 220 may be fingerprint feature points or palmprint feature points; data comparison is performed based on the information collected by the fingerprint module to obtain a comparison result.

具体的,上述处理器260在获取传感器组件250检测的运动数据变化之前,应该先通过指纹模组220对用户的指纹特征点及掌纹特征点进行录入,以便在系统中留有存档。而处理器260在基于指纹模组采集到的信息进行数据对比的过程就是与之前录入的用户的指纹特征点及掌纹特征点进行数据对比,若相匹配,得到的对比结果为实现电子设备20的解锁;若不匹配,则无法实现解锁操作。Specifically, before acquiring the motion data changes detected by the sensor assembly 250, the processor 260 should firstly record the user's fingerprint feature points and palmprint feature points through the fingerprint module 220, so as to keep the files in the system. The process of the processor 260 comparing data based on the information collected by the fingerprint module is to compare the data with the fingerprint feature points and palmprint feature points of the user previously entered. If they match, the obtained comparison result is the realization of the electronic device 20. unlocking; if it does not match, the unlocking operation cannot be realized.

上述电子设备20中的传感器组件250可以为陀螺仪传感器251。请参阅图4,图4为本申请实施例提供的电子设备的第二结构框图。陀螺仪传感器251是一个简单易用的基于自由空间移动和手势的定位和控制系统,它原本是运用到直升机模型上,现已被广泛运用于手机等移动便携设备。该陀螺仪传感器251可以集成在电路板上,也可以直接集成在显示屏240的内部,具体可根据电子设备20实际结构进行相应设置。其原理是一个旋转物体的旋转轴所指的方向在不受外力影响时,是不会改变的。根据这个道理用其保持方向。用多种方法读取轴所指示的方向,并自动将数据信号传给控制系统。因此,在用户翻转、晃动电子设备时,陀螺仪传感器251可以基于检测到电子设备20运动过程中的角速度数据的变化,精确地确定电子设备整机运动的方位及方向。The sensor component 250 in the above-mentioned electronic device 20 may be a gyroscope sensor 251 . Please refer to FIG. 4 , which is a second structural block diagram of an electronic device provided by an embodiment of the present application. The gyroscope sensor 251 is a simple and easy-to-use positioning and control system based on free space movement and gestures. It was originally applied to the helicopter model and has now been widely used in mobile portable devices such as mobile phones. The gyroscope sensor 251 can be integrated on the circuit board, or can be directly integrated inside the display screen 240 , and can be set accordingly according to the actual structure of the electronic device 20 . The principle is that the direction of the rotation axis of a rotating object will not change when it is not affected by external forces. Use it to maintain direction according to this principle. The direction indicated by the axis is read in a variety of ways, and the data signal is automatically transmitted to the control system. Therefore, when the user flips or shakes the electronic device, the gyro sensor 251 can accurately determine the azimuth and direction of the movement of the electronic device based on the change of the angular velocity data detected during the movement of the electronic device 20 .

其中,陀螺仪传感器251可以检测电子设备20的角速度数据。上述处理器260还可以通过获取陀螺仪传感器251检测到的电子设备20的角速度数据的变化,得到第一角速度和第二角速度;当电子设备20由第一角速度变化至第二角速度,电子设备20由第一状态变化至第二状态,并触发指纹解锁操作,其中,第一角速度对应第一状态,第二角速度对应第二状态。可以理解的是,可以将电子设备20的第一状态设置为显示屏240朝下,第二状态设置为显示屏240朝上,显示屏240朝下为用户正常搁置电子设备的状态,而用户正常想要解锁使用电子设备时,电子设备240是朝上的,此设置目的为用户提供常规的操作便利。Among them, the gyro sensor 251 can detect the angular velocity data of the electronic device 20 . The above-mentioned processor 260 can also obtain the first angular velocity and the second angular velocity by acquiring the change of the angular velocity data of the electronic device 20 detected by the gyro sensor 251; when the electronic device 20 changes from the first angular velocity to the second angular velocity, the electronic device 20 Change from the first state to the second state, and trigger the fingerprint unlocking operation, wherein the first angular velocity corresponds to the first state, and the second angular velocity corresponds to the second state. It can be understood that, the first state of the electronic device 20 can be set with the display screen 240 facing down, the second state can be set with the display screen 240 facing up, and the display screen 240 facing down is a state in which the user normally places the electronic device, and the user normally When wanting to unlock and use the electronic device, the electronic device 240 is facing upwards, and the purpose of this setting is to provide conventional operation convenience for the user.

在一些实施例中,用户处于坐立或站立状态,电子设备20处于平放的状态下,可以利用上述显示屏的朝向来作为触发电子设备20指纹解锁操作的前提。但如果用户处于平卧或横躺状态,电子设备20处于平放的状态下,可以将上述第一状态设置为显示屏240朝上,第二状态设置为显示屏240朝下。具体设置可以根据用户的不同状态进行对应的设置,在此不作具体限定。In some embodiments, when the user is in a sitting or standing state and the electronic device 20 is in a flat state, the orientation of the above-mentioned display screen can be used as a precondition for triggering the fingerprint unlocking operation of the electronic device 20 . However, if the user is in a lying or lying state, and the electronic device 20 is in a flat state, the above-mentioned first state may be set as the display screen 240 facing upward, and the second state may be set as the display screen 240 facing downward. The specific settings may be correspondingly set according to different states of the user, which are not specifically limited here.

可以理解的是,也可以将触发指纹解锁操作的显示屏240的方向设置为其他方向。例如,可以设置一个显示屏240与用户面部之间的预设角度,可以将该预设角度设为45°,也就是显示屏240与用户面部之间的角度可以小于或等于45°。当用户拿起、翻转、晃动电子设备20时,陀螺仪传感器251检测到电子设备20整机运动到显示屏240与用户面部之间的角度小于或等于45°时,则触发指纹解锁操作,即该预设角度为触发指纹解锁操作的前提。设置预设角度可以有效避免误操作情况的发生,因为在某些情况下用户并未想进行电子设备的解锁,则不需要进行指纹解锁操作。It can be understood that, the direction of the display screen 240 that triggers the fingerprint unlocking operation can also be set to other directions. For example, a preset angle between the display screen 240 and the user's face may be set, and the preset angle may be set to 45°, that is, the angle between the display screen 240 and the user's face may be less than or equal to 45°. When the user picks up, flips, or shakes the electronic device 20, the gyro sensor 251 detects that the entire electronic device 20 moves to the point that the angle between the display screen 240 and the user's face is less than or equal to 45°, then triggers the fingerprint unlocking operation, that is, The preset angle is a prerequisite for triggering the fingerprint unlocking operation. Setting the preset angle can effectively avoid the occurrence of misoperation, because in some cases, the user does not want to unlock the electronic device, so the fingerprint unlocking operation is not required.

请参阅图5,图5为本申请实施例提供的电子设备的第三结构框图。上述电子设备20中的传感器组件250可以为加速度传感器252。加速度传感器252是一种能够测量加速度的传感器。通常由质量块、阻尼器、弹性元件、敏感元件和适调电路等部分组成。传感器在加速过程中,通过对质量块所受惯性力的测量,利用牛顿第二定律获得加速度值。根据传感器敏感元件的不同,常见的加速度传感器包括电容式、电感式、应变式、压阻式、压电式等。该加速度传感器252同样可以集成在电路板上,也可以直接集成在显示屏240的内部,具体可根据电子设备20实际结构进行相应设置。其原理是根据压电效应的原理来工作的,通过测量由于重力引起的加速度,可以计算出相对于水平面的倾斜角度。通过分析动态加速度分析出电子设备移动的方向。Please refer to FIG. 5 , which is a third structural block diagram of an electronic device provided by an embodiment of the present application. The sensor component 250 in the above electronic device 20 may be an acceleration sensor 252 . The acceleration sensor 252 is a sensor capable of measuring acceleration. It is usually composed of mass blocks, dampers, elastic elements, sensitive elements and adaptive circuits. During the acceleration process of the sensor, the acceleration value is obtained by using Newton's second law by measuring the inertial force on the mass block. Common acceleration sensors include capacitive, inductive, strain, piezoresistive, piezoelectric, etc. The acceleration sensor 252 can also be integrated on the circuit board, or can be directly integrated inside the display screen 240 , which can be set according to the actual structure of the electronic device 20 . The principle is based on the principle of piezoelectric effect to work, by measuring the acceleration due to gravity, can calculate the angle of inclination relative to the horizontal plane. The direction of movement of the electronic device is analyzed by analyzing the dynamic acceleration.

其中,加速度传感器252可以检测电子设备20运动过程中的加速度数据。上述处理器260还可以通过获取加速度传感器252检测到的电子设备20的加速度数据的变化,得到第一加速度和第二加速度;当电子设备20由第一加速度变化至第二加速度时,电子设备20由第三状态变化至第四状态,并触发指纹解锁操作。其中,可以将电子设备20的第三状态设置为显示屏240朝下,第二状态设置为显示屏240朝上,具体设置可以参见上述陀螺仪传感器251的设置方式,在此不作赘述。The acceleration sensor 252 can detect acceleration data during the movement of the electronic device 20 . The processor 260 can also obtain the first acceleration and the second acceleration by acquiring the change of the acceleration data of the electronic device 20 detected by the acceleration sensor 252; when the electronic device 20 changes from the first acceleration to the second acceleration, the electronic device 20 Change from the third state to the fourth state, and trigger the fingerprint unlocking operation. Wherein, the third state of the electronic device 20 may be set as the display screen 240 facing downward, and the second state may be set as the display screen 240 facing upward. For specific settings, please refer to the setting method of the gyroscope sensor 251, which will not be repeated here.

在一些实施例中,当用户拿起、翻转、晃动电子设备20时,这三个动作所触发感应的传感器的类型是不同的,可以理解的是,当用户拿起电子设备20时,可以作为没有方向上的变化,只有距离上的改变,因此可以用加速度传感器252来检测电子设备20的加速度变化;而当用户翻转或晃动电子设备20时,因电子设备20出现了角度上的改变,因此触发感应的传感器类型为陀螺仪传感器。通常情况下,用户使用电子设备20时,不会保证电子设备20是持续平移操作的,都会出现一些角度上的改变,基于此可以将电子设备20的传感器组件设置为陀螺仪传感器251,当然,为避免特殊情况的发生,也可以将传感器组件设置为加速度传感器。若电子设备20中的传感器组件同时包括陀螺仪传感器251和加速度传感器252时,可以优先采用陀螺仪传感器251,加速度传感器252可以作为辅助传感器进行数据检测,具体可以根据实际情况进行相应设置。In some embodiments, when the user picks up, flips, and shakes the electronic device 20, the types of sensors that are triggered by these three actions are different. It can be understood that when the user picks up the electronic device 20, it can be used as a There is no change in direction, only the change in distance, so the acceleration sensor 252 can be used to detect the acceleration change of the electronic device 20; when the user flips or shakes the electronic device 20, the angle of the electronic device 20 changes, so The sensor type that triggers the induction is a gyroscope sensor. Under normal circumstances, when the user uses the electronic device 20, it is not guaranteed that the electronic device 20 is continuously panned, and some angular changes will occur. Based on this, the sensor component of the electronic device 20 can be set as the gyro sensor 251. To avoid special situations, the sensor component can also be set as an acceleration sensor. If the sensor component in the electronic device 20 includes both the gyroscope sensor 251 and the acceleration sensor 252, the gyroscope sensor 251 can be preferentially used, and the acceleration sensor 252 can be used as an auxiliary sensor for data detection, which can be set according to the actual situation.

在一些实施例中,如图6所示,图6为本申请实施例提供的电子设备的解锁流程示意图,以指纹模组220为光学指纹模组221,传感器组件250为陀螺仪传感器251为例,电子设备20的解锁过程可以是在执行指纹解锁操作之前,首先,对要进行解锁的电子设备20进行信息采集,也就是先在光学指纹模组221区域录入用户的指纹及掌纹信息;然后,当用户拿起、翻转、晃动电子设备20时,通过陀螺仪传感器251对电子设备20整机进行运动检测,获取到陀螺仪传感器251检测到的角速度数据;随后,通过获取到的角速度数据确定在电子设备20的状态为显示屏240朝上时,触发指纹解锁操作;接下来,响应于上述指纹解锁操作,照明灯230开启为光学指纹模组221提供光源;光学指纹模组221进行指纹特征点或掌纹特征点的信息采集,其中,信息可以包括指纹特征点或掌纹特征点,并与解锁前所录入的指纹及掌纹信息进行对比,得到对比结果;最后,若对比结果为信息匹配,则实现解锁操作。In some embodiments, as shown in FIG. 6 , which is a schematic diagram of an unlocking process of an electronic device provided by an embodiment of the present application, taking the fingerprint module 220 as the optical fingerprint module 221 and the sensor assembly 250 as the gyro sensor 251 as an example , the unlocking process of the electronic device 20 may be that before the fingerprint unlocking operation is performed, first, information collection is performed on the electronic device 20 to be unlocked, that is, the user's fingerprint and palmprint information are first entered in the area of the optical fingerprint module 221; then , when the user picks up, flips, and shakes the electronic device 20, the gyroscope sensor 251 is used to perform motion detection on the entire electronic device 20, and the angular velocity data detected by the gyroscope sensor 251 is obtained; When the state of the electronic device 20 is that the display screen 240 is facing upward, the fingerprint unlocking operation is triggered; then, in response to the above fingerprint unlocking operation, the lighting lamp 230 is turned on to provide a light source for the optical fingerprint module 221; the optical fingerprint module 221 performs the fingerprint feature Information collection of points or palmprint feature points, where the information can include fingerprint feature points or palmprint feature points, and compare it with the fingerprint and palmprint information entered before unlocking to obtain a comparison result; finally, if the comparison result is information If it matches, the unlock operation is implemented.

本申请实施例还提供一种电子设备的解锁方法,请参阅图7,图7为本申请实施例提供的电子设备的解锁方法的流程示意图,该电子设备的解锁方法可以应用于如上述申请实施例所述的电子设备中,该电子设备的解锁方法可以包括以下步骤:An embodiment of the present application further provides a method for unlocking an electronic device. Please refer to FIG. 7 , which is a schematic flowchart of the method for unlocking an electronic device provided by an embodiment of the present application. The method for unlocking an electronic device can be applied to the implementation of the above application. In the electronic device described in the example, the unlocking method of the electronic device may include the following steps:

201、获取所述传感器组件检测到的所述电子设备的运动数据的变化。201. Acquire changes in motion data of the electronic device detected by the sensor component.

在电子设备执行指纹解锁操作之前,先要对进行解锁的电子设备进行信息采集,也就是在指纹模组区域录入用户的信息,其中,该信息可以包括用户的指纹特征点及掌纹特征点。Before the electronic device performs the fingerprint unlocking operation, the electronic device to be unlocked must first collect information, that is, enter the user's information in the fingerprint module area, where the information may include the user's fingerprint feature points and palmprint feature points.

传感器组件与电子设备的显示屏电性连接,可以检测电子设备的运动数据,所检测到的运动数据的类型根据传感器组件的类型来决定,通过检测到的运动数据的变化可以确定电子设备对应的状态。传感器组件可以为陀螺仪传感器、加速度传感器、磁力计等等。The sensor component is electrically connected to the display screen of the electronic device, and can detect the motion data of the electronic device. The type of the detected motion data is determined according to the type of the sensor component, and the change of the detected motion data can determine the corresponding electronic device. state. The sensor components may be gyroscope sensors, acceleration sensors, magnetometers, and the like.

例如,陀螺仪传感器可以在用户翻转、晃动电子设备时检测整机的角速度数据,其原理是一个旋转物体的旋转轴所指的方向在不受外力影响时,是不会改变的。根据这个道理用其保持方向。用多种方法读取轴所指示的方向,并自动将数据信号传给控制系统;加速度传感器可以在用户拿起电子设备时检测整机的加速度数据,其原理是根据压电效应的原理来工作的,通过测量由于重力引起的加速度,可以计算出相对于水平面的倾斜角度。通过分析动态加速度分析出电子设备移动的方向。For example, the gyroscope sensor can detect the angular velocity data of the whole machine when the user flips or shakes the electronic device. Use it to maintain direction according to this principle. Use a variety of methods to read the direction indicated by the shaft, and automatically transmit the data signal to the control system; the acceleration sensor can detect the acceleration data of the whole machine when the user picks up the electronic device, and its principle is to work according to the principle of piezoelectric effect , by measuring the acceleration due to gravity, the angle of inclination relative to the horizontal can be calculated. The direction of movement of the electronic device is analyzed by analyzing the dynamic acceleration.

例如,处理器与显示屏电性连接,传感器组件为陀螺仪传感器时,可以获取陀螺仪传感器检测到的电子设备的第一角速度和第二角速度;根据电子设备由第一角速度变化至第二角速度,电子设备从第一状态变化至第二状态,其中,第一角速度对应第一状态,所述第二角速度对应第二状态,其中,第一状态可以对应显示屏朝下,第二状态可以对应显示屏朝上。For example, the processor is electrically connected to the display screen, and when the sensor component is a gyroscope sensor, the first angular velocity and the second angular velocity of the electronic device detected by the gyroscope sensor can be obtained; according to the change from the first angular velocity to the second angular velocity of the electronic device , the electronic device changes from a first state to a second state, wherein the first angular velocity corresponds to the first state, and the second angular velocity corresponds to the second state, wherein the first state may correspond to the display screen facing down, and the second state may correspond to The display is facing up.

可以理解的是,显示屏朝下为用户正常搁置电子设备的状态,而用户正常想要解锁使用电子设备时,电子设备是朝上的,此设置目的为用户提供常规的操作便利。用户处于坐立或站立状态,电子设备处于平放的状态下,可以利用上述显示屏的朝向来作为触发电子设备指纹解锁操作的前提。但如果用户处于平卧或横躺状态,电子设备处于平放的状态下,可以将上述第一状态设置为显示屏朝上,第二状态设置为显示屏朝下。具体设置可以根据用户的不同状态进行对应的设置,在此不作具体限定。It can be understood that the display screen facing down is the state where the user normally rests the electronic device, and when the user normally wants to unlock the electronic device, the electronic device is facing up. The purpose of this setting is to provide the user with conventional operation convenience. When the user is in a sitting or standing state and the electronic device is in a flat state, the orientation of the above-mentioned display screen can be used as a precondition for triggering the fingerprint unlocking operation of the electronic device. However, if the user is in a lying or lying state and the electronic device is in a flat state, the above-mentioned first state may be set as the display screen facing up, and the second state may be set as the display screen facing down. The specific settings may be correspondingly set according to different states of the user, which are not specifically limited here.

202、根据所述电子设备的运动数据触发指纹解锁操作。202. Trigger a fingerprint unlocking operation according to the motion data of the electronic device.

传感器组件可以当用户拿起、翻转或晃动电子设备时,获取传感器组件检测到的电子设备的运动数据的变化,基于上述电子设备由第一状态变化至第二状态,触发指纹解锁操作。具体的状态变化可以参见上述201。When the user picks up, flips or shakes the electronic device, the sensor component can acquire changes in the motion data of the electronic device detected by the sensor component, and trigger the fingerprint unlocking operation based on the electronic device changing from the first state to the second state. For specific state changes, please refer to 201 above.

在一些实施例中,上述传感器组件为陀螺仪传感器,该陀螺仪传感器可以检测电子设备的角速度数据。因此,可以通过获取陀螺仪传感器检测到的角速度数据的变化来确定电子设备的状态变化,可以设置在显示屏朝上时,触发指纹解锁操作。当然,也可以将触发指纹解锁操作的显示屏的方向设置为其他方向。In some embodiments, the above sensor component is a gyroscope sensor, and the gyroscope sensor can detect the angular velocity data of the electronic device. Therefore, the state change of the electronic device can be determined by acquiring the change of the angular velocity data detected by the gyro sensor, and the fingerprint unlocking operation can be triggered when the display screen is facing upwards. Of course, the orientation of the display screen that triggers the fingerprint unlocking operation can also be set to other orientations.

例如,可以设置一个显示屏与用户面部之间的预设角度,可以将该预设角度设为45°,也就是显示屏与用户面部之间的角度可以小于或等于45°。当用户拿起、翻转、晃动电子设备时,陀螺仪传感器检测到电子设备整机运动到显示屏与用户面部之间的角度小于或等于45°时,则触发指纹解锁操作,即该预设角度为触发指纹解锁操作的前提。设置预设角度可以有效避免误操作情况的发生,因为在某些情况下用户并未想进行电子设备的解锁,则不需要进行指纹解锁操作。For example, a preset angle between the display screen and the user's face may be set, and the preset angle may be set to 45°, that is, the angle between the display screen and the user's face may be less than or equal to 45°. When the user picks up, flips, or shakes the electronic device, the gyro sensor detects that the entire electronic device moves until the angle between the display screen and the user's face is less than or equal to 45°, and the fingerprint unlocking operation is triggered, that is, the preset angle It is the premise of triggering the fingerprint unlocking operation. Setting the preset angle can effectively avoid the occurrence of misoperation, because in some cases, the user does not want to unlock the electronic device, so the fingerprint unlocking operation is not required.

同理,上述传感器组件为加速度传感器,该加速度传感器可以检测电子设备的加速度数据。因此,可以通过获取加速度传感器检测到的加速度数据的变化确定电子设备的状态变化,可以设置在显示屏朝上时,触发指纹解锁操作。Similarly, the above sensor component is an acceleration sensor, and the acceleration sensor can detect the acceleration data of the electronic device. Therefore, the state change of the electronic device can be determined by acquiring the change of the acceleration data detected by the acceleration sensor, and the fingerprint unlocking operation can be triggered when the display screen is facing upward.

203、响应于所述指纹解锁操作,驱动所述指纹模组进行信息采集。203. In response to the fingerprint unlocking operation, drive the fingerprint module to collect information.

指纹模组可以设置在电子设备的后盖,具体可以设置在后盖的内表面,可以采用打孔或开槽的方式将指纹模组黏贴与后盖上,采用黏贴的方式来更大节省电子设备的内部空间。指纹模组可以为光学指纹模组、半导体指纹模组以及射频指纹模组等等。其中,光学指纹模组是利用光的反射和折射原理,光从底部射向三棱镜,并经棱镜射出,射出的光线在手指表面指纹凹凸不平的线纹上折射的角度及反射的光线明暗来进行指纹采集;半导体指纹模组无论是电容式或电感式,均可以根据电容值或电感值的不同来进行指纹采集;射频指纹模组利用生物射频指纹识别技术,通过传感器本身发射出微量射频信号,穿透表皮层去控测里层的纹路来获得指纹图像。The fingerprint module can be installed on the back cover of the electronic device, specifically on the inner surface of the back cover. The fingerprint module can be pasted on the back cover by punching or slotting, and the method of pasting can be used to increase the size of the fingerprint module. Save the internal space of electronic equipment. The fingerprint module can be an optical fingerprint module, a semiconductor fingerprint module, a radio frequency fingerprint module, and the like. Among them, the optical fingerprint module uses the principle of reflection and refraction of light. The light is emitted from the bottom to the triangular prism and is emitted through the prism. The emitted light is refracted on the uneven lines of the fingerprint on the surface of the finger and the reflected light is bright and dark. Fingerprint collection; whether the semiconductor fingerprint module is capacitive or inductive, fingerprint collection can be performed according to the difference in capacitance or inductance value; the RF fingerprint module uses the bio-RF fingerprint recognition technology to emit a small amount of RF signals through the sensor itself. The fingerprint image is obtained by penetrating the epidermis to control and measure the texture of the inner layer.

在一些实施例中,上述指纹模组为光学指纹模组,因此,电子设备还可以包括照明灯,该照明灯可以为光学指纹模组提供光源,以便光学指纹模组在有光源的情况下利用光的反射或折射原理进行指纹采集。具体操作可以是:In some embodiments, the above-mentioned fingerprint module is an optical fingerprint module. Therefore, the electronic device may further include a lighting lamp, and the lighting lamp can provide a light source for the optical fingerprint module, so that the optical fingerprint module can use the light source when there is a light source. The principle of reflection or refraction of light is used for fingerprint collection. Specific operations can be:

响应于指纹解锁操作,触发照明灯开启;当照明灯开启时,光学指纹模组采集信息,其中信息包括指纹特征点或掌纹特征点。In response to the fingerprint unlocking operation, the lighting lamp is triggered to turn on; when the lighting lamp is turned on, the optical fingerprint module collects information, wherein the information includes fingerprint feature points or palmprint feature points.

其中,光学指纹模组可以包括透光镀和超薄光学指纹,该透光镀膜黏贴于超薄光学指纹,当然,也可以采用其他方式将透光镀膜与超薄光学指纹进行连接,在此不作限定。其中,超薄光学指纹是一种大面积光学指纹,该超薄光学指纹与后盖相对一侧的面积可以设置为大于或等于该后盖三分之一的面积。可以理解的是,将超薄光学指纹设置为大面积可以方便用户手掌及手指能够尽可能大面积的接触该超薄光学指纹,更便于指纹识别,但具体面积需要基于电子设备面积大小的实际情况进行具体设置,在此不作限定。该超薄光学指纹的厚度可以在0.5mm以内,能尽可能节省电子设备的内部空间。Among them, the optical fingerprint module can include light-transmitting coating and ultra-thin optical fingerprint, the light-transmitting coating is pasted on the ultra-thin optical fingerprint, of course, other ways can also be used to connect the light-transmitting coating and the ultra-thin optical fingerprint, here Not limited. The ultra-thin optical fingerprint is a large-area optical fingerprint, and the area of the side opposite to the back cover of the ultra-thin optical fingerprint can be set to be greater than or equal to one third of the area of the back cover. It can be understood that setting the ultra-thin optical fingerprint to a large area can facilitate the user's palm and fingers to contact the ultra-thin optical fingerprint as much as possible, which is more convenient for fingerprint identification, but the specific area needs to be based on the actual situation of the size of the electronic device. The specific settings are not limited here. The thickness of the ultra-thin optical fingerprint can be within 0.5mm, which can save the internal space of the electronic device as much as possible.

其中,透光镀膜是利用物理或化学的方法在材料表面镀上一层透明的电解质膜,或镀上一层金属膜,目的是改变材料表面的反射和透射特性,能够达到减少或增加光的反射、分色、滤光、偏振等要求。Among them, light-transmitting coating is to use physical or chemical methods to coat a layer of transparent electrolyte film on the surface of the material, or to coat a layer of metal film, the purpose is to change the reflection and transmission characteristics of the surface of the material, which can reduce or increase the effect of light. Reflection, color separation, filtering, polarization and other requirements.

在一些实施例中,为光学指纹模组提供光源的方式有很多种,不仅限于可以在光学指纹模组附近设置照明灯进行照明,也可以在光学指纹模组的表面贴附一层发光板提供光源,具体不作限定。In some embodiments, there are many ways to provide a light source for the optical fingerprint module, which is not limited to illuminating lamps near the optical fingerprint module, but also can be provided by attaching a layer of light-emitting plate to the surface of the optical fingerprint module. The light source is not specifically limited.

204、基于所述指纹模组采集到的信息进行数据对比,得到对比结果。204. Perform data comparison based on the information collected by the fingerprint module to obtain a comparison result.

在执行指纹解锁操作的过程中对指纹模组采集到的用户的指纹特征点或掌纹特征点进行数据对比,若与之前录入的指纹特征点及掌纹特征点相匹配,则对比结果为实现解锁操作;若不匹配,则无法实现解锁操作。In the process of performing the fingerprint unlocking operation, compare the data of the user's fingerprint feature points or palmprint feature points collected by the fingerprint module. If it matches the previously entered fingerprint feature points and palmprint feature points, the comparison result is realized Unlock operation; if it does not match, the unlock operation cannot be realized.

由上可知,本实施例可以通过获取所述传感器组件检测到的所述电子设备的运动数据的变化;根据所述电子设备的运动数据的变化触发指纹解锁操作;响应于所述指纹解锁操作,驱动所述指纹模组进行信息采集;基于所述指纹模组采集到的信息进行数据对比,得到对比结果。本申请通过传感器组件检测到的运动数据的变化实现抬屏即解锁,提高了电子设备解锁的效率。As can be seen from the above, in this embodiment, the change of the motion data of the electronic device detected by the sensor component can be acquired; the fingerprint unlocking operation can be triggered according to the change of the motion data of the electronic device; and in response to the fingerprint unlocking operation, The fingerprint module is driven to collect information; based on the information collected by the fingerprint module, data comparison is performed to obtain a comparison result. In the present application, the screen is unlocked by lifting the screen through the change of the motion data detected by the sensor component, which improves the unlocking efficiency of the electronic device.

本申请实施例还提供了一种存储介质,该存储介质存储有计算机程序,当该计算机程序在计算机上运行时,使得该计算机执行上述任一实施例中电子设备的解锁方法。Embodiments of the present application further provide a storage medium, where a computer program is stored in the storage medium, and when the computer program runs on a computer, the computer is made to execute the method for unlocking an electronic device in any of the foregoing embodiments.

例如,在一些实施例中,当上述计算机程序在计算机上运行时,该计算机执行如下步骤:For example, in some embodiments, when the above-described computer program is run on a computer, the computer performs the following steps:

获取所述传感器组件检测到的所述电子设备的运动数据的变化;acquiring changes in motion data of the electronic device detected by the sensor assembly;

根据所述电子设备的运动数据的变化触发指纹解锁操作;Trigger the fingerprint unlocking operation according to the change of the motion data of the electronic device;

响应于所述指纹解锁操作,驱动所述指纹模组进行信息采集;In response to the fingerprint unlocking operation, driving the fingerprint module to collect information;

基于所述指纹模组采集到的信息进行数据对比,得到对比结果。Data comparison is performed based on the information collected by the fingerprint module to obtain a comparison result.

以上各个操作的具体实施可参见前面的实施例,在此不再赘述。For the specific implementation of the above operations, reference may be made to the foregoing embodiments, and details are not described herein again.

其中,该存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)、磁盘或光盘等。Wherein, the storage medium may include: a read only memory (ROM, Read Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and the like.

由于该存储介质中所存储的指令,可以执行本申请实施例所提供的任一种电子设备的解锁方法中的步骤,因此,可以实现本申请实施例所提供的任一种电子设备的解锁方法所能实现的有益效果,详见前面的实施例,在此不再赘述。Since the instructions stored in the storage medium can execute the steps in any of the methods for unlocking an electronic device provided by the embodiments of the present application, any method for unlocking an electronic device provided by the embodiments of the present application can be implemented. For the beneficial effects that can be achieved, refer to the foregoing embodiments for details, which will not be repeated here.

需要说明的是,对本申请实施例的电子设备的解锁方法而言,本领域普通测试人员可以理解实现本申请实施例的电子设备的解锁方法的全部或部分流程,是可以通过计算机程序来控制相关的硬件来完成,该计算机程序可存储于一计算机可读取存储介质中,如存储在电子设备的存储器中,并被该电子设备内的至少一个处理器执行,在执行过程中可包括如电子设备的解锁方法的实施例的流程。It should be noted that, for the unlocking method of the electronic device of the embodiment of the present application, ordinary testers in the art can understand that all or part of the process of realizing the unlocking method of the electronic device of the embodiment of the present application can be controlled by a computer program. The computer program can be stored in a computer-readable storage medium, such as a memory of an electronic device, and executed by at least one processor in the electronic device, and the execution process can include, for example, electronic A flow of an embodiment of an unlocking method for a device.

以上对本申请实施例所提供的电子设备及其解锁方法进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The electronic device and the unlocking method thereof provided by the embodiments of the present application have been introduced in detail above. The principles and implementations of the present application are described in this article by using specific examples. method and its core idea; at the same time, for those skilled in the art, according to the idea of the application, there will be changes in the specific implementation and application scope. In summary, the content of this specification should not be construed as a limits.

Claims (10)

1.一种电子设备,其特征在于,包括:1. an electronic device, is characterized in that, comprises: 后盖;back cover; 传感器组件,所述传感器组件用于检测所述电子设备的运动数据;a sensor assembly for detecting motion data of the electronic device; 指纹模组,所述指纹模组设置于所述后盖;a fingerprint module, the fingerprint module is arranged on the back cover; 处理器,所述处理器分别与传感器组件、指纹模组连接,所述处理器用于:a processor, the processor is connected to the sensor assembly and the fingerprint module respectively, and the processor is used for: 获取所述传感器组件检测的所述电子设备运动数据的变化;acquiring changes in motion data of the electronic device detected by the sensor assembly; 根据所述电子设备的运动数据的变化驱动所述指纹模组进行信息采集;Drive the fingerprint module to collect information according to changes in the motion data of the electronic device; 基于所述指纹模组采集到的信息进行数据对比,得到对比结果。Data comparison is performed based on the information collected by the fingerprint module to obtain a comparison result. 2.根据权利要求1所述的电子设备,其特征在于,所述传感器组件包括陀螺仪传感器,所述陀螺仪传感器用于检测所述电子设备运动过程中的角速度数据,所述处理器还用于:2 . The electronic device according to claim 1 , wherein the sensor component comprises a gyro sensor, and the gyro sensor is used to detect the angular velocity data during the movement of the electronic device, and the processor also uses 2 . 3 . At: 获取所述陀螺仪传感器检测到的所述电子设备的第一角速度和第二角速度;acquiring the first angular velocity and the second angular velocity of the electronic device detected by the gyro sensor; 当所述电子设备由第一角速度变化至第二角速度时,所述电子设备从第一状态变化至第二状态,并触发指纹解锁操作,其中,所述第一角速度对应所述第一状态,所述第二角速度对应所述第二状态。When the electronic device changes from the first angular velocity to the second angular velocity, the electronic device changes from the first state to the second state, and triggers the fingerprint unlocking operation, wherein the first angular velocity corresponds to the first state, The second angular velocity corresponds to the second state. 3.根据权利要求2所述的电子设备,其特征在于,所述电子设备还包括与所述处理器电性连接的显示屏,所述处理器还用于:3. The electronic device according to claim 2, wherein the electronic device further comprises a display screen electrically connected to the processor, and the processor is further configured to: 获取所述电子设备由所述第一状态变化至所述第二状态,其中,所述第一状态对应所述显示屏朝下,所述第二状态对应所述显示屏朝上;acquiring that the electronic device changes from the first state to the second state, wherein the first state corresponds to the display screen facing down, and the second state corresponds to the display screen facing up; 根据所述电子设备状由所述第一状态变化至所述第二状态,触发指纹解锁操作;triggering a fingerprint unlocking operation according to the state of the electronic device changing from the first state to the second state; 基于所述指纹解锁操作驱动所述指纹模组进行信息采集。The fingerprint module is driven to collect information based on the fingerprint unlocking operation. 4.根据权利要求1所述的电子设备,其特征在于,所述传感器组件包括加速度传感器,所述加速度传感器用于检测所述电子设备运动过程中的加速度数据,所述处理器还用于:4. The electronic device according to claim 1, wherein the sensor component comprises an acceleration sensor, and the acceleration sensor is used to detect acceleration data during the movement of the electronic device, and the processor is further configured to: 获取所述加速度传感器检测到的所述电子设备的第一加速度和第二加速度;acquiring the first acceleration and the second acceleration of the electronic device detected by the acceleration sensor; 当所述电子设备由第一加速度变化至第二加速度时,所述电子设备从第三状态变化至第四状态,并触发指纹解锁操作,其中,所述第一加速度对应所述第三状态,所述第二加速度对应所述第四状态。When the electronic device changes from the first acceleration to the second acceleration, the electronic device changes from the third state to the fourth state, and triggers the fingerprint unlocking operation, wherein the first acceleration corresponds to the third state, The second acceleration corresponds to the fourth state. 5.根据权利要求1所述的电子设备,其特征在于,所述指纹模组采集到的信息包括指纹特征点或掌纹特征点。5 . The electronic device according to claim 1 , wherein the information collected by the fingerprint module comprises fingerprint feature points or palmprint feature points. 6 . 6.根据权利要求1所述的电子设备,其特征在于,所述指纹模组包括光学指纹模组,所述电子设备还包括照明灯,所述照明灯用于为所述光学指纹模组提供光源。6 . The electronic device according to claim 1 , wherein the fingerprint module comprises an optical fingerprint module, and the electronic device further comprises a lighting lamp, the lighting lamp is used to provide the optical fingerprint module with light source. 7.根据权利要求1所述的电子设备,其特征在于,所述指纹模组与后盖相对一侧的面积大于或等于所述后盖三分之一的面积。7 . The electronic device according to claim 1 , wherein the area of the opposite side of the fingerprint module and the back cover is greater than or equal to one third of the area of the back cover. 8 . 8.一种电子设备的解锁方法,其特征在于,所述电子设备包括:8. A method for unlocking an electronic device, wherein the electronic device comprises: 后盖;back cover; 传感器组件,所述传感器组件用于检测所述电子设备的运动数据;a sensor assembly for detecting motion data of the electronic device; 指纹模组,所述指纹模组设置于所述后盖;所述方法包括:a fingerprint module, the fingerprint module is arranged on the back cover; the method includes: 获取所述传感器组件检测到的所述电子设备的运动数据的变化;acquiring changes in motion data of the electronic device detected by the sensor assembly; 根据所述电子设备的运动数据的变化触发指纹解锁操作;Trigger the fingerprint unlocking operation according to the change of the motion data of the electronic device; 响应于所述指纹解锁操作,驱动所述指纹模组进行信息采集;In response to the fingerprint unlocking operation, driving the fingerprint module to collect information; 基于所述指纹模组采集到的信息进行数据对比,得到对比结果。Data comparison is performed based on the information collected by the fingerprint module to obtain a comparison result. 9.根据权利要求8所述的电子设备的解锁方法,其特征在于,所述电子设备还包括与处理器电性连接的显示屏,所述传感器组件包括陀螺仪传感器,所述陀螺仪传感器用于检测所述电子设备运动过程中的角速度数据,所述获取所述传感器组件检测到的所述电子设备的运动数据的变化,根据所述电子设备的运动数据的变化触发指纹解锁操作,包括:9 . The method for unlocking an electronic device according to claim 8 , wherein the electronic device further comprises a display screen electrically connected to the processor, the sensor component comprises a gyroscope sensor, and the gyroscope sensor uses In detecting the angular velocity data during the movement of the electronic device, the acquisition of changes in the movement data of the electronic device detected by the sensor component, and triggering a fingerprint unlocking operation according to the change in the movement data of the electronic device, includes: 获取所述陀螺仪传感器检测到的所述电子设备的第一角速度和第二角速度;acquiring the first angular velocity and the second angular velocity of the electronic device detected by the gyro sensor; 根据所述电子设备由第一角速度变化至第二角速度,所述电子设备从第一状态变化至第二状态,其中,所述第一角速度对应所述第一状态,所述第二角速度对应所述第二状态;According to the electronic device changing from a first angular velocity to a second angular velocity, the electronic device changes from a first state to a second state, wherein the first angular velocity corresponds to the first state, and the second angular velocity corresponds to the the second state; 基于所述电子设备由所述第一状态变化至所述第二状态,触发指纹解锁操作,其中,所述第一状态对应所述显示屏朝下,所述第二状态对应所述显示屏朝上。A fingerprint unlocking operation is triggered based on the electronic device changing from the first state to the second state, wherein the first state corresponds to the display screen facing downwards, and the second state corresponds to the display screen facing downwards superior. 10.根据权利要求8或9所述的电子设备的解锁方法,其特征在于,所述指纹模组包括光学指纹模组,所述电子设备还包括照明灯,所述响应于所述指纹解锁操作,驱动所述指纹模组进行信息采集,包括:10. The unlocking method of an electronic device according to claim 8 or 9, wherein the fingerprint module comprises an optical fingerprint module, the electronic device further comprises a lighting lamp, the unlocking operation in response to the fingerprint , and drive the fingerprint module to collect information, including: 响应于所述指纹解锁操作,触发所述照明灯开启;In response to the fingerprint unlocking operation, triggering the lighting to be turned on; 当所述照明灯开启时,所述光学指纹模组采集信息,其中所述信息包括指纹特征点或掌纹特征点。When the lighting lamp is turned on, the optical fingerprint module collects information, wherein the information includes fingerprint feature points or palm print feature points.
CN202010149433.9A 2020-03-04 2020-03-04 Electronic equipment and unlocking method thereof Pending CN111368281A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010149433.9A CN111368281A (en) 2020-03-04 2020-03-04 Electronic equipment and unlocking method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010149433.9A CN111368281A (en) 2020-03-04 2020-03-04 Electronic equipment and unlocking method thereof

Publications (1)

Publication Number Publication Date
CN111368281A true CN111368281A (en) 2020-07-03

Family

ID=71208637

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010149433.9A Pending CN111368281A (en) 2020-03-04 2020-03-04 Electronic equipment and unlocking method thereof

Country Status (1)

Country Link
CN (1) CN111368281A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104991721A (en) * 2015-06-30 2015-10-21 广东欧珀移动通信有限公司 Fingerprint operation method and apparatus
CN105426725A (en) * 2015-11-24 2016-03-23 惠州Tcl移动通信有限公司 Electronic equipment and screen unlocking method thereof
CN106020782A (en) * 2016-05-27 2016-10-12 广东欧珀移动通信有限公司 Fingerprint unlocking control method and mobile terminal
CN106096365A (en) * 2016-06-08 2016-11-09 维沃移动通信有限公司 The screen locking method of a kind of mobile terminal and mobile terminal
CN107257410A (en) * 2017-06-06 2017-10-17 珠海格力电器股份有限公司 Screen unlocking method and device and electronic equipment
CN107622189A (en) * 2016-08-18 2018-01-23 北京小米移动软件有限公司 Optimize the method and apparatus of unlocked by fingerprint
CN108388786A (en) * 2018-02-13 2018-08-10 北京小米移动软件有限公司 Unlocked by fingerprint method and device
CN108898000A (en) * 2018-05-31 2018-11-27 维沃移动通信有限公司 A kind of method and terminal solving lock screen
CN109829279A (en) * 2019-01-11 2019-05-31 Oppo广东移动通信有限公司 Unlock event-handling method and relevant device
CN110248025A (en) * 2019-06-12 2019-09-17 读书郎教育科技有限公司 Identity recognition method, device and storage medium for multi-fingerprint and palm print information
CN110263752A (en) * 2019-06-27 2019-09-20 Oppo广东移动通信有限公司 Fingerprint identification method and Related product

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104991721A (en) * 2015-06-30 2015-10-21 广东欧珀移动通信有限公司 Fingerprint operation method and apparatus
CN105426725A (en) * 2015-11-24 2016-03-23 惠州Tcl移动通信有限公司 Electronic equipment and screen unlocking method thereof
CN106020782A (en) * 2016-05-27 2016-10-12 广东欧珀移动通信有限公司 Fingerprint unlocking control method and mobile terminal
CN106096365A (en) * 2016-06-08 2016-11-09 维沃移动通信有限公司 The screen locking method of a kind of mobile terminal and mobile terminal
CN107622189A (en) * 2016-08-18 2018-01-23 北京小米移动软件有限公司 Optimize the method and apparatus of unlocked by fingerprint
CN107257410A (en) * 2017-06-06 2017-10-17 珠海格力电器股份有限公司 Screen unlocking method and device and electronic equipment
CN108388786A (en) * 2018-02-13 2018-08-10 北京小米移动软件有限公司 Unlocked by fingerprint method and device
CN108898000A (en) * 2018-05-31 2018-11-27 维沃移动通信有限公司 A kind of method and terminal solving lock screen
CN109829279A (en) * 2019-01-11 2019-05-31 Oppo广东移动通信有限公司 Unlock event-handling method and relevant device
CN110248025A (en) * 2019-06-12 2019-09-17 读书郎教育科技有限公司 Identity recognition method, device and storage medium for multi-fingerprint and palm print information
CN110263752A (en) * 2019-06-27 2019-09-20 Oppo广东移动通信有限公司 Fingerprint identification method and Related product

Similar Documents

Publication Publication Date Title
CN107977110B (en) Electronic device and method for obtaining fingerprint information
KR102496531B1 (en) Method for providing fingerprint recognition, electronic apparatus and storage medium
US10862595B2 (en) Method for processing radio frequency interference, and electronic device
TWI490789B (en) Fingerprint sensor and integratable electronic display
EP2521959B1 (en) User interface methods and systems for providing force-sensitive input
KR102719416B1 (en) Electronic device and method for mapping function of electronic device and action of stylus pen
KR102780095B1 (en) Electronic device and method for controlling electronic device
CN108833623B (en) Sliding control method, device and electronic device for sliding assembly
US11416101B2 (en) Electronic device including fingerprint sensor
KR102544608B1 (en) Method for operating authorization related the biometric information, based on an image including the biometric information obtained by using the biometric sensor and the electronic device supporting the same
US11941910B2 (en) User interface display method of terminal, and terminal
KR102652844B1 (en) Method for detecting missing finger and fingerprint detection device
CN112889049A (en) Electronic device and control method thereof
WO2022183915A1 (en) Payment method and apparatus for mobile terminal, and storage medium and mobile terminal
KR20140137629A (en) Mobile terminal for detecting earphone connection and method therefor
CN105975044A (en) Method and device for automatically controlling wet hand mode of touch screen through fingerprint detection
CN111368281A (en) Electronic equipment and unlocking method thereof
CN110287861B (en) Fingerprint identification method and device, storage medium and electronic equipment
CN209170425U (en) Electronic equipment
US20120068940A1 (en) Electronic device
CN111309096A (en) Electronic device including fingerprint recognition module provided with conductive pattern
KR102751563B1 (en) Apparatus and method for providing feedback for user input in electronic device
CN110968205A (en) Screen lighting method, mobile terminal and storage medium
TWI792411B (en) Capacitive fingerprint identification method and capacitive fingerprint identification module and information processing device using the same
US20240061530A1 (en) Spurious hand signal rejection during stylus use

Legal Events

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