CN106886702B - A kind of unlocked by fingerprint method and relevant device - Google Patents

A kind of unlocked by fingerprint method and relevant device Download PDF

Info

Publication number
CN106886702B
CN106886702B CN201710134747.XA CN201710134747A CN106886702B CN 106886702 B CN106886702 B CN 106886702B CN 201710134747 A CN201710134747 A CN 201710134747A CN 106886702 B CN106886702 B CN 106886702B
Authority
CN
China
Prior art keywords
fingerprint
screen
terminal device
application
locking
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710134747.XA
Other languages
Chinese (zh)
Other versions
CN106886702A (en
Inventor
王健
周海涛
蒋奎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201710134747.XA priority Critical patent/CN106886702B/en
Publication of CN106886702A publication Critical patent/CN106886702A/en
Application granted granted Critical
Publication of CN106886702B publication Critical patent/CN106886702B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a kind of unlocked by fingerprint methods, applied to terminal device, the terminal device includes push type fingerprint sensor, fingerprint trusted application (TA), fingerprinting service (Fingerprint Service) and the fingerprint application (keyguard) for combining Homekey setting, the unlocked by fingerprint method includes: when fingerprint TA detects the touch operation of fingerprint sensor, keyguard obtains the screen state of fingerprint image and fingerprint TA monitor terminal equipment by fingerprint sensor;When Fingerprint Service detects the Homekey event that fingerprint sensor reports, the screen state of Fingerprint Service monitor terminal equipment, it is to put out screen, and fingerprint sensor is detected and reported when pressing operation that Homekey event, which is fingerprint sensor in the screen state of terminal device,;When the screen state of terminal device is to put out screen, Fingerprint Service reports Homekey Down event to keyguard;When keyguard detects fingerprint image successful match, keyguard releases locking screen interface.The embodiment of the invention also provides relevant devices.The stability for putting out screen unlocks can be enhanced using the embodiment of the present invention.

Description

A kind of unlocked by fingerprint method and relevant device
Technical field
The present invention relates to electronic technology field more particularly to a kind of unlocked by fingerprint method and relevant devices.
Background technique
Currently, unlocked by fingerprint has become the basic function of intelligent terminal.Unlocked by fingerprint is divided into bright screen unlocks and puts out screen solution Lock.Bright screen unlocks are intelligent terminals in the case where screen is lighted, and are unlocked the mode into system using fingerprint.Put out screen solution Lock is intelligent terminal in the case where screen extinguishes, and is unlocked the mode into system using fingerprint.
Since breath screen unlocks are unlocked in system sleep, the process comprising waking up system is needed than bright screen The more long time.For combining the push type fingerprint identification region of Homekey setting, the process for putting out screen unlocks has: 1) user hand Refer to touching fingerprint identification region;2) fingerprint image obtains;3) fingerprint recognition;4) it wakes up;5) it unlocks;Wherein, wakeup process needs Intelligent terminal detects the operation of pressing homekey.In actual operation, user's finger pressing Homekey may be in process 1) before, process 2) before, process 3) before etc..As it can be seen that since user's finger pressing Homekey is chance event, certain In the case of may will affect the stability for putting out screen unlocks.
Summary of the invention
The embodiment of the present invention provides a kind of unlocked by fingerprint method and device, for enhancing the stability for putting out screen unlocks.
In a first aspect, the embodiment of the present invention provides a kind of unlocked by fingerprint method, it is applied to terminal device, the terminal device Push type fingerprint sensor, fingerprint trusted application (TA), fingerprinting service comprising combining Homekey setting (FingerprintService) and fingerprint application (keyguard), the unlocked by fingerprint method include:
When the fingerprint TA detects the touch operation of the fingerprint sensor, the keyguard passes through the fingerprint Sensor obtains fingerprint image and the fingerprint TA monitors the screen state of the terminal device;
It is described when the FingerprintService detects the Homekey event that the fingerprint sensor reports FingerprintService monitors the screen state of the terminal device, and the Homekey event is the fingerprint sensor It is to put out screen, and the fingerprint sensor is detected and reported when pressing operation in the screen state of the terminal device;
When the screen state of the terminal device is to put out screen, the FingerprintService is to the keyguard Report Homekey Down event;
When the keyguard detects the fingerprint image successful match, the keyguard releases locking screen interface.
Second aspect, the embodiment of the present invention provide a kind of unlocked by fingerprint device, are applied to terminal device, the terminal device Push type fingerprint sensor, fingerprint trusted application (TA), fingerprinting service comprising combining Homekey setting (FingerprintService) and fingerprint application (keyguard), in which:
The keyguard, for passing through institute when the fingerprint TA detects the touch operation of the fingerprint sensor It states fingerprint sensor and obtains fingerprint image;
The fingerprint TA, for monitoring the screen state of the terminal device;
The FingerprintService, for when detecting the Homekey event that the fingerprint sensor reports, The screen state of the terminal device is monitored, the Homekey event is screen of the fingerprint sensor in the terminal device Tentiform state is to put out screen, and the fingerprint sensor is detected and reported when pressing operation;
The FingerprintService is also used to when the screen state of the terminal device is to put out screen, Xiang Suoshu Keyguard reports Homekey Down event;
The keyguard is also used to when the keyguard detects the fingerprint image successful match, releases lock Shield interface.
The third aspect, the embodiment of the invention provides a kind of terminal device, the terminal device includes processor, storage Device, transceiver, push type fingerprint sensor and bus;
The processor connects the memory, the transceiver by the bus;
The memory stores executable program code, and the processor is used to call the executable program in the storage Code executes the step some or all of as described in first aspect either method of the embodiment of the present invention.
Fourth aspect, the present invention provide a kind of computer storage medium, for being stored as the third aspect of the embodiment of the present invention Computer software instructions used in the computer equipment of offer, it includes for executing program designed by above-mentioned aspect.
In scheme provided in an embodiment of the present invention, screen unlocks and bright screen unlocks are put out since unlocked by fingerprint has, and screen is bright Going out is randomness, is whenever likely to sudden change.In order to enhance the stability for putting out screen unlocks, need to guarantee in fingerprint solution Any node for locking process all puts out screen unlocks according to the state of current screen to determine to use, or uses bright screen unlocks, so that Final result is executed according to actual screen current state.
The aspects of the invention or other aspects can more straightforwards in the following description.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of flow diagram of unlocked by fingerprint method provided in an embodiment of the present invention;
Fig. 2 is the schematic diagram of fingerprint sensor combination Homekey provided in an embodiment of the present invention a kind of;
Fig. 3 is the flow diagram of another unlocked by fingerprint method provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of unlocked by fingerprint device provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of terminal device provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of terminal device provided in an embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work It encloses.
It is described in detail separately below.
Description and claims of this specification and term " first ", " second ", " third " and " in the attached drawing Four " etc. are not use to describe a particular order for distinguishing different objects.In addition, term " includes " and " having " and it Any deformation, it is intended that cover and non-exclusive include.Such as it contains the process, method of a series of steps or units, be System, product or equipment are not limited to listed step or unit, but in one embodiment further include the step that do not list Rapid or unit, or in one embodiment further include for the intrinsic other steps of these process, methods, product or equipment or list Member.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments Containing at least one embodiment of the present invention.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
The embodiment of the present invention is described with reference to the attached drawing in the embodiment of the present invention.
Referring to Figure 1, Fig. 1 is a kind of unlocked by fingerprint method provided in an embodiment of the present invention, is applied to terminal device, described Terminal device include combine Homekey setting push type fingerprint sensor, fingerprint trusted application (Trust application, TA), fingerprinting service (FingerprintService) and fingerprint application (keyguard), the unlocked by fingerprint method includes following Step:
S101, when the fingerprint TA detects the touch operation of the fingerprint sensor, the keyguard passes through institute State the screen state that fingerprint sensor obtains fingerprint image and the fingerprint TA monitors the terminal device.
Wherein, terminal device, also referred to as user equipment (User Equipment, UE), are that one kind provides a user language The equipment of sound and/or data connectivity, for example, handheld device, mobile unit etc. with wireless connecting function.Common end End for example, mobile phone, tablet computer, laptop, palm PC, mobile internet device (mobile internet Device, MID), wearable device, such as smartwatch, Intelligent bracelet, pedometer etc..
Wherein, in conjunction with the fingerprint identification region of Homekey setting as shown in Fig. 2, Fig. 2 is provided in an embodiment of the present invention one Schematic diagram of the kind fingerprint identification region in conjunction with Homekey.In addition, the position of Homekey shown in Fig. 2 is only a kind of example, The position that this programme corresponds to Homekey is not construed as limiting.
Wherein, the screen state of the terminal device includes putting out screen or bright screen.
In one embodiment, the keyguard obtains the specific embodiment of fingerprint image by the fingerprint sensor Have: the keyguard obtains normal underlying data collection and abnormal bottom data by the induction electrode of the fingerprint sensor Set, the normal underlying data collection include multiple normal bottom data values, and the exception underlying data collection includes multiple Abnormal bottom data value;The keyguard determines the abnormal underlying data collection pair according to the normal underlying data collection The target formation data acquisition system answered;The keyguard is according to the normal underlying data collection and the target formation data set Symphysis is at fingerprint image.
Further, during above-mentioned example, the keyguard is according to the normal underlying data collection determination The example implementation process of the corresponding target formation data acquisition system of abnormal underlying data collection is as follows:
The keyguard is determined flat according to the multiple normal bottom data values for including in the normal underlying data collection Mean value;The multiple abnormal bottom datas for including in the abnormal underlying data collection are changed to described flat by the keyguard Mean value, to obtain the target formation data acquisition system.
Alternatively, the keyguard determines that the abnormal underlying data collection is corresponding according to the normal underlying data collection Target formation data acquisition system example implementation process it is as follows:
The keyguard obtains number from the multiple normal bottom data values for including in the normal underlying data collection According to the smallest normal bottom data value of value;Multiple abnormal bottoms that the keyguard will include in the abnormal underlying data collection Layer data is changed to the smallest normal bottom data value of the data value, to obtain the target formation data acquisition system.
Wherein, above-mentioned bottom data value may include capacitor and/or voltage etc..The induction electrode of fingerprint sensor can be by The micro-control unit MCU of fingerprint sensor is detected.The induction electrode of fingerprint sensor include multiple normal induction electrodes and Multiple exception induction electrodes, wherein abnormal induction electrode is that abnormal induction electrode occur.It is obtained by multiple normal induction electrodes Normal underlying data collection is taken, obtains abnormal underlying data collection by multiple abnormal induction electrodes.
In one embodiment, described after the keyguard obtains fingerprint image by the fingerprint sensor The fingerprint image that keyguard will acquire carries out matching operation.
In one embodiment, the specific embodiment for the screen state that the fingerprint TA monitors the terminal device has: institute It states fingerprint TA and monitors core nodes, to obtain the screen state of the terminal device.
Specifically, obtaining screen state here is that fingerprint TA monitoring linux kernel nodal information obtains, that is to say, that There is a position to preserve the state that screen is bright or goes out in kernel, for example indicated using 0/1,0 indicates bright, and 1 indicates to go out.
S102, when the FingerprintService detects the Homekey event that the fingerprint sensor reports, The FingerprintService monitors the screen state of the terminal device, and the Homekey event is that the fingerprint passes Sensor is to put out screen, and the fingerprint sensor is detected and reported when pressing operation in the screen state of the terminal device.
Specifically, when the fingerprint sensor detects pressing operation, on hardware fingerprint sensor to FingerprintService (Android system ccf layer) reports Homekey event.Monitoring screen state herein is from frame Layer is done.The mode and the above-mentioned steps S101 mode for monitoring screen state for monitoring screen state herein are different.
Why monitor twice screen state in this programme and be because the factor lighted of triggering screen is very more, such as Power key, calls, and triggering factors be it is random, bright screen time needs general 200-300ms, results in bright screen in this way It is a chance event in fact.For example above-mentioned steps S101 monitors screen state and puts out screen, but to step S102 when monitors To screen state may be bright screen, so needing to inquire screen state again verification.
In one embodiment, described when the screen state that the fingerprint TA listens to the terminal device is bright screen FingerprintService monitors the screen state of the terminal device;When the FingerprintService listens to institute The screen state for stating terminal device is bright screen, and when the keyguard detects the fingerprint image successful match, described Keyguard releases locking screen interface.Locking screen interface herein is not by the locking screen interface of transparency setting, that is, what is walked is just Normal bright screen unlocks.
S103, when the screen state of the terminal device is to put out screen, the FingerprintService is to described Keyguard reports Homekey Down event.
In one embodiment, when the screen state of the terminal device is bright screen, the FingerprintService Homekey Down event is not reported to the keyguard.
S104, when the keyguard detects the fingerprint image successful match, the keyguard releases screen locking Interface.
In one embodiment, the method also includes:
When the screen state that the fingerprint TA listens to the terminal device is to put out screen, the keyguard is by screen locking circle The transparency in face is set as first threshold, to obtain the first locking screen interface.
In one embodiment, the method also includes:
It is described when the screen state that the FingerprintService listens to the terminal device is bright screen The transparency of first locking screen interface is set second threshold by keyguard, to obtain the second locking screen interface, described first Threshold value is greater than the second threshold;When the keyguard detects the fingerprint image successful match, the keyguard Release second locking screen interface.
In one embodiment, when the FingerprintService screen state for listening to the terminal device is to put out When screen, the specific embodiment that the keyguard releases locking screen interface has: the keyguard removes first screen locking circle Face.
Wherein, the transparency of the second locking screen interface can be equal to nothing the screen locking before carrying out locking screen interface transparency setting The transparency at interface, for example the transparency of the locking screen interface is A, then the transparency of the second locking screen interface is also A.Alternatively, The transparency of second locking screen interface can be not equal to without the transparent of the locking screen interface before carrying out the setting of locking screen interface transparency Degree, only need to be smaller than the transparency of the first locking screen interface, for example the transparency of the locking screen interface is A, the first locking screen interface Transparency be B, the transparency of the second locking screen interface is C, B > C.
Specifically, when the fingerprint TA screen state monitored and (monitor screen state for the first time) to the terminal device is When putting out screen, bright screen unlocks and screen unlocks are put out in order to which user can intuitively tell in subsequent unlocking process, at this time institute It states keyguard and transparency process is carried out to locking screen interface.When subsequent user presses Homekey, if FingerprintService (second monitor screen state), which is once again listened for, to the screen state of the terminal device is still when putting out screen, at this time terminal device point The locking screen interface that user's naked eyes are seen after bright screen is transparent, therefore can be seen by transparent locking screen interface using desktop, And user is intuitively told at this time to put out screen unlocks, in addition, locking screen interface progress transparency process also may make use Think that unlock is raised speed on the sense organ of family.If FingerprintService is once again listened for When bright screen, the locking screen interface after carrying out transparency process is carried out transparency recovery processing by keyguard, so that user sees Screen locking process be first to see that locking screen interface is seen again using desktop so that user intuitively tells at this time as bright screen solution Lock.
As it can be seen that putting out screen unlocks and bright screen unlocks, and screen since unlocked by fingerprint has in scheme provided in an embodiment of the present invention Light on and off be randomness, be whenever likely to sudden change.In order to enhance the stability for putting out screen unlocks, need to guarantee referring to Any node of line unlock process all puts out screen unlocks according to the state of current screen to determine to use, or uses bright screen unlocks, So that final result is executed according to actual screen current state.
The embodiment of the invention also provides another more detailed method flows, as shown in figure 3, it is applied to terminal device, The terminal device include combine Homekey setting push type fingerprint sensor, fingerprint TA, FingerprintService and Keyguard, the unlocked by fingerprint method include:
S301, the fingerprint TA detect the touch operation of the fingerprint sensor.
S302, the keyguard obtain fingerprint image, and the finger that will acquire by the fingerprint sensor Print image carries out matching operation.
S303, the fingerprint TA monitor core nodes, to obtain the screen state of the terminal device.
When the screen state of the terminal device is to put out screen, step S304 is executed.
When the screen state of the terminal device is puts out screen, and the fingerprint sensor detects pressing operation, execute Step S305.
When the screen state of the terminal device is bright screen, step S311 is executed.
The transparency of locking screen interface is set first threshold by S304, the keyguard, to obtain the first locking screen interface.
S305, the fingerprint sensor report Homekey event to the FingerprintService.It executes the step S305 executes step S306.
S306, the FingerprintService receive the Homekey event that the fingerprint sensor reports; The FingerprintService monitors the screen state of the terminal device.
When the screen state of the terminal device is to put out screen, step S307~S308 is executed.
When the screen state of the terminal device is bright screen, step S309~S310 is executed.
S307, the FingerprintService report Homekey Down event to the keyguard.
S308, the keyguard receive the Homekey Down thing that the FingerprintService is reported Part;When the keyguard detects the fingerprint image successful match, the keyguard releases first screen locking circle Face.
The transparency of first locking screen interface is set second threshold by S309, the keyguard, to obtain second Locking screen interface, the first threshold are greater than the second threshold.
S310, when the keyguard detects the fingerprint image successful match, described in the keyguard is released Second locking screen interface.
S311, the FingerprintService monitor the screen state of the terminal device.
When the screen state of the terminal device is to put out screen, any operation is not made.
When the screen state of the terminal device is bright screen, step S312 is executed.
S312, when the keyguard detects the fingerprint image successful match, the keyguard releases screen locking Interface, locking screen interface herein do not pass through the locking screen interface of transparency setting.
It should be noted that it is to execute parallel that above step S302 and above step, which are S303, above step S304 and Above step is that S305 is to execute parallel.The specific implementation process of each step of method shown in Fig. 3 can be found in above-mentioned side Specific implementation process, no longer describes herein described in method.
The embodiment of the invention also provides a kind of unlocked by fingerprint devices 400, as shown in figure 4, it is applied to terminal device, it is described Terminal device includes the push type fingerprint sensor 401 for combining Homekey setting, fingerprint TA402, fingerprinting service 403 (FingerprintService) and fingerprint application 404 (keyguard), in which:
The keyguard404, for passing through when the fingerprint TA detects the touch operation of the fingerprint sensor The fingerprint sensor obtains fingerprint image;
The fingerprint TA402, for monitoring the screen state of the terminal device;
The FingerprintService403, for when the Homekey event for detecting that the fingerprint sensor reports When, the screen state of the terminal device is monitored, the Homekey event is the fingerprint sensor in the terminal device Screen state is to put out screen, and the fingerprint sensor is detected and reported when pressing operation;
The FingerprintService403 is also used to when the screen state of the terminal device is to put out screen, to institute It states keyguard and reports Homekey Down event;
The keyguard404 is also used to when the keyguard detects the fingerprint image successful match, is released Locking screen interface.
In one embodiment, the fingerprint TA402 is used to monitor the specific implementation side of the screen state of the terminal device Formula has:
The fingerprint TA402 monitors core nodes, to obtain the screen state of the terminal device.
In one embodiment, the keyguard404 is also used to execute following operation:
The keyguard404 is also used to when the screen state that the fingerprint TA402 listens to the terminal device be to put out When screen, first threshold is set by the transparency of locking screen interface, to obtain the first locking screen interface.
In one embodiment, the keyguard404 is also used to execute following operation:
The keyguard404 is also used to listen to the terminal device as the FingerprintService403 When screen state is bright screen, second threshold is set by the transparency of first locking screen interface, to obtain the second locking screen interface, The first threshold is greater than the second threshold;
The keyguard404 is also used to when the keyguard detects the fingerprint image successful match, is released Second locking screen interface.
In one embodiment, when the FingerprintService403 listens to the screen state of the terminal device When to put out screen, the specific implementation that the keyguard404 is used to release locking screen interface has: the keyguard404 is removed First locking screen interface.
It should be noted that above-mentioned each module (fingerprint sensor 401, fingerprint TA 402, FingerprintService403 and keyguard 404) for executing the correlation step of the above method.
In the present embodiment, unlocked by fingerprint device 400 is to present in modular form.Here " module " can refer to spy Determine application integrated circuit (application-specific integrated circuit, ASIC), executes one or more soft The processor and memory of part or firmware program, integrated logic circuit and/or other device of above-mentioned function can be provided.This Outside, the above fingerprint TA 402, FingerprintService403 and keyguard 404 can pass through terminal device shown in fig. 5 Processor 501 realize.
As shown in figure 5, terminal device can realize that the terminal device includes at least one processing with the structure in Fig. 5 Device 501, at least one processor 502, at least one transceiver 503 and push type fingerprint sensor 504.The processor 501 are connected by memory 502, the transceiver 503 described in bus and fingerprint sensor 504 and complete mutual communication.
Processor 501 can be general central processor (CPU), microprocessor, application-specific integrated circuit (application-specific integrated circuit, ASIC), or it is one or more for controlling above scheme journey The integrated circuit that sequence executes.
Transceiver 503, for other equipment or communication, such as Ethernet, wireless access network (RAN), wirelessly Local area network (Wireless Local Area Networks, WLAN) etc..
Memory 502 can be read-only memory (read-only memory, ROM) or can store static information and instruction Other kinds of static storage device, random access memory (random access memory, RAM) or letter can be stored The other kinds of dynamic memory of breath and instruction, is also possible to Electrically Erasable Programmable Read-Only Memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), CD-ROM (Compact Disc Read- Only Memory, CD-ROM) or other optical disc storages, optical disc storage (including compression optical disc, laser disc, optical disc, digital universal Optical disc, Blu-ray Disc etc.), magnetic disk storage medium or other magnetic storage apparatus or can be used in carrying or store to have referring to Enable or data structure form desired program code and can by any other medium of computer access, but not limited to this. Memory, which can be, to be individually present, and is connected by bus with processor.Memory can also be integrated with processor.
Wherein, the memory 502 be used for store execution above scheme application code, and by processor 501 Control executes.The processor 501 is for executing the application code stored in the memory 502.
The above-mentioned unlocked by fingerprint side that unlocked by fingerprint device provided above executes can be performed in the code that memory 502 stores Method.
The embodiment of the invention also provides another mobile terminals, as shown in fig. 6, for ease of description, illustrate only with The relevant part of the embodiment of the present invention, it is disclosed by specific technical details, please refer to present invention method part.The movement Terminal can be include mobile phone, tablet computer, PDA (Personal Digital Assistant, personal digital assistant), POS Any terminal device such as (Point of Sales, point-of-sale terminal), vehicle-mounted computer, by taking mobile terminal is mobile phone as an example:
Fig. 6 shows the block diagram of the part-structure of mobile phone relevant to mobile terminal provided in an embodiment of the present invention.Ginseng Fig. 6 is examined, mobile phone includes: radio frequency (Radio Frequency, RF) circuit 910, memory 920, input unit 930, display unit 940, sensor 950, voicefrequency circuit 960, Wireless Fidelity (Wireless Fidelity, WiFi) module 970, processor 980, And the equal components of power supply 990.It will be understood by those skilled in the art that handset structure shown in Fig. 6 is not constituted to mobile phone It limits, may include perhaps combining certain components or different component layouts than illustrating more or fewer components.
It is specifically introduced below with reference to each component parts of the Fig. 6 to mobile phone:
RF circuit 910 can be used for sending and receiving for information.In general, RF circuit 910 includes but is not limited to antenna, at least one A amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition, RF circuit 910 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication Standard or agreement, including but not limited to global system for mobile communications (Global System of Mobile Communication, GSM), general packet radio service (General Packet Radio Service, GPRS), code it is point more Location (Code Division Multiple Access, CDMA), wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA), long term evolution (Long Term Evolution, LTE), Email, short message service (Short Messaging Service, SMS) etc..
Memory 920 can be used for storing software program and module, and processor 980 is stored in memory 920 by operation Software program and module, thereby executing the various function application and data processing of mobile phone.Memory 920 can mainly include Storing program area and storage data area, wherein storing program area can application journey needed for storage program area, at least one function Sequence etc.;Storage data area, which can be stored, uses created data (such as fingerprint image got etc.) etc. according to mobile phone.This Outside, memory 920 may include high-speed random access memory, can also include nonvolatile memory, for example, at least one Disk memory, flush memory device or other volatile solid-state parts.
Input unit 930 can be used for receiving the number or character information of input, and generate with the user setting of mobile phone with And the related key signals input of function control.Specifically, input unit 930 may include fingerprint recognition mould group 931 and other are defeated Enter equipment 932.Fingerprint recognition mould group 931 can acquire the finger print data of user on it.In addition to fingerprint recognition mould group 931, input Unit 930 can also include other input equipments 932.Specifically, other input equipments 932 can include but is not limited to touch-control One of screen, physical button, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. Or it is a variety of.
Display unit 940 can be used for showing information input by user or be supplied to user information and mobile phone it is various Menu.Display unit 940 may include display screen 941, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configure Display screen 941.Although fingerprint recognition mould group 931 and display screen 941 are to realize mobile phone as two independent components in Fig. 6 Input and input function, but it is in some embodiments it is possible to fingerprint recognition mould group 931 and display screen 941 is integrated and real The input and playing function of existing mobile phone.
Mobile phone may also include at least one sensor 950, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light Light and shade adjust the brightness of display screen 941, proximity sensor can when mobile phone is moved in one's ear, close display screen 941 and/or Backlight.As a kind of motion sensor, accelerometer sensor can detect all directions on (generally three axis) acceleration it is big It is small, can detect that size and the direction of gravity when static, can be used to identify mobile phone posture application (such as horizontal/vertical screen switching, phase Close game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;It can also configure as mobile phone The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, details are not described herein.
Voicefrequency circuit 960, loudspeaker 961, microphone 962 can provide the audio interface between user and mobile phone.Audio-frequency electric Electric signal after the audio data received conversion can be transferred to loudspeaker 961, be converted to sound by loudspeaker 961 by road 960 Signal plays;On the other hand, the voice signal of collection is converted to electric signal by microphone 962, is turned after being received by voicefrequency circuit 960 It is changed to audio data, then by after the processing of audio data playback process device 980, such as another mobile phone is sent to through RF circuit 910, Or audio data is played to memory 920 to be further processed.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronics postal by WiFi module 970 Part, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 6 is shown WiFi module 970, but it is understood that, and it is not belonging to must be configured into for mobile phone, it can according to need do not changing completely Become in the range of the essence of invention and omits.
Processor 980 is the control centre of mobile phone, using the various pieces of various interfaces and connection whole mobile phone, is led to It crosses operation or executes the software program and/or module being stored in memory 920, and call and be stored in memory 920 Data execute the various functions and processing data of mobile phone, to carry out integral monitoring to mobile phone.Optionally, processor 980 can wrap Include one or more processing units;Preferably, processor 980 can integrate application processor and modem processor, wherein answer With the main processing operation system of processor, user interface and application program etc., modem processor mainly handles wireless communication. It is understood that above-mentioned modem processor can not also be integrated into processor 980.
Mobile phone further includes the power supply 990 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply pipe Reason system and processor 980 are logically contiguous, to realize management charging, electric discharge and power managed by power-supply management system Etc. functions.
Although being not shown, mobile phone can also include camera, bluetooth module etc., and details are not described herein.
In earlier figures 1~embodiment shown in Fig. 3, each step method process can be realized based on the structure of the mobile phone.
In aforementioned embodiment shown in Fig. 4, each unit function can be realized based on the structure of the mobile phone.
The embodiment of the present invention also provides a kind of computer storage medium, wherein the computer storage medium can be stored with journey Sequence, the program include some or all of any unlocked by fingerprint method recorded in above method embodiment step when executing Suddenly.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of the unit, it is only a kind of Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit, It can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer-readable access to memory.Based on this understanding, technical solution of the present invention substantially or Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products Reveal and, which is stored in a memory, including some instructions are used so that a computer equipment (can be personal computer, server or network equipment etc.) executes all or part of each embodiment the method for the present invention Step.And memory above-mentioned includes: USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory The various media that can store program code such as (RAM, Random Access Memory), mobile hard disk, magnetic or disk.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can store in a computer-readable memory, memory May include: flash disk, read-only memory (English: Read-Only Memory, referred to as: ROM), random access device (English: Random Access Memory, referred to as: RAM), disk or CD etc..
The embodiment of the present invention has been described in detail above, specific case used herein to the principle of the present invention and Embodiment is expounded, and the above description of the embodiment is only used to help understand the method for the present invention and its core ideas; At the same time, for those skilled in the art can in specific embodiments and applications according to the thought of the present invention There is change place, to sum up above-mentioned, the contents of this specification are not to be construed as limiting the invention.

Claims (12)

1. a kind of unlocked by fingerprint method, which is characterized in that be applied to terminal device, the terminal device includes to combine Homekey Push type fingerprint sensor, fingerprint trusted application, fingerprinting service and the fingerprint application of setting, the unlocked by fingerprint method include:
When the fingerprint trusted application detects the touch operation of the fingerprint sensor, the fingerprint application passes through the finger Line sensor obtains fingerprint image and the fingerprint trusted application monitors the screen state of the terminal device, wherein described Fingerprint application obtains fingerprint image by the fingerprint sensor and the fingerprint trusted application monitors the screen of the terminal device Tentiform state is parallel executes;
When the fingerprinting service detects the Homekey event that the fingerprint sensor reports, the fingerprinting service monitors institute The screen state of terminal device is stated, the Homekey event is screen state of the fingerprint sensor in the terminal device To put out screen, and the fingerprint sensor is detected and is reported when pressing operation;
When the screen state that the fingerprinting service listens to the terminal device is to put out screen, the fingerprinting service is to the fingerprint Using reporting Homekey Down event;
When the fingerprint application detects the fingerprint image successful match, the fingerprint application releases locking screen interface.
2. the method according to claim 1, wherein the fingerprint trusted application monitors the screen of the terminal device Tentiform state, comprising:
The fingerprint trusted application monitors core nodes, to obtain the screen state of the terminal device.
3. method according to claim 1 or 2, which is characterized in that the method also includes:
When the screen state that the fingerprint trusted application listens to the terminal device is to put out screen, the fingerprint application is by screen locking The transparency at interface is set as first threshold, to obtain the first locking screen interface.
4. according to the method described in claim 3, it is characterized in that, the method also includes:
When the screen state that the fingerprinting service listens to the terminal device is bright screen, the fingerprint application is by described first The transparency of locking screen interface is set as second threshold, and to obtain the second locking screen interface, the first threshold is greater than second threshold Value;
When the fingerprint application detects the fingerprint image successful match, the fingerprint application releases second screen locking circle Face.
5. according to the method described in claim 3, it is characterized in that, when the fingerprinting service listens to the screen of the terminal device Tentiform state is when putting out screen, and the fingerprint application releases locking screen interface, comprising:
The fingerprint application removes first locking screen interface.
6. a kind of unlocked by fingerprint device, which is characterized in that be applied to terminal device, the terminal device includes to combine Homekey Push type fingerprint sensor, fingerprint trusted application, fingerprinting service and the fingerprint application of setting, in which:
The fingerprint application, for passing through when the fingerprint trusted application detects the touch operation of the fingerprint sensor The fingerprint sensor obtains fingerprint image;
The fingerprint trusted application, for monitoring the screen state of the terminal device, wherein the fingerprint application passes through described Fingerprint sensor obtains fingerprint image and the fingerprint trusted application is monitored the screen state of the terminal device and executed to be parallel;
The fingerprinting service, for monitoring the terminal and setting when detecting the Homekey event that the fingerprint sensor reports Standby screen state, the Homekey event be the fingerprint sensor the terminal device screen state be put out screen, and The fingerprint sensor, which detects, to be reported when pressing operation;
The fingerprinting service is also used to when the screen state that the fingerprinting service listens to the terminal device is to put out screen, to The fingerprint application reports Homekey Down event;
The fingerprint application is also used to when the fingerprint application detects the fingerprint image successful match, releases screen locking circle Face.
7. unlocked by fingerprint device according to claim 6, which is characterized in that the fingerprint trusted application is described for monitoring The specific implementation of the screen state of terminal device has:
The fingerprint trusted application monitors core nodes, to obtain the screen state of the terminal device.
8. unlocked by fingerprint device according to claim 6 or 7, which is characterized in that the fingerprint application be also used to execute with Lower operation:
The fingerprint application is also used to when the screen state that the fingerprint trusted application listens to the terminal device be to put out screen When, first threshold is set by the transparency of locking screen interface, to obtain the first locking screen interface.
9. unlocked by fingerprint device according to claim 8, which is characterized in that the fingerprint application is also used to execute following behaviour Make:
The fingerprint application is also used to when the screen state that the fingerprinting service listens to the terminal device is bright screen, will The transparency of first locking screen interface is set as second threshold, and to obtain the second locking screen interface, the first threshold is greater than institute State second threshold;
The fingerprint application is also used to when the fingerprint application detects the fingerprint image successful match, releases described the Two locking screen interfaces.
10. unlocked by fingerprint device according to claim 8, which is characterized in that when the fingerprinting service listens to the end The screen state of end equipment is when putting out screen, and the specific implementation that the fingerprint application is used to release locking screen interface has:
The fingerprint application removes first locking screen interface.
11. a kind of terminal device, which is characterized in that including processor, memory, transceiver, push type fingerprint sensor and total Line;
The processor connects the memory, the transceiver and the fingerprint sensor by the bus;
The memory stores executable program code, and the processor is used to call the executable program generation in the storage Code executes such as method described in any one of claim 1 to 5.
12. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer journey Sequence when the computer program is executed by related hardware, can be realized method described in claim 1 to 5 any one.
CN201710134747.XA 2017-03-08 2017-03-08 A kind of unlocked by fingerprint method and relevant device Active CN106886702B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710134747.XA CN106886702B (en) 2017-03-08 2017-03-08 A kind of unlocked by fingerprint method and relevant device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710134747.XA CN106886702B (en) 2017-03-08 2017-03-08 A kind of unlocked by fingerprint method and relevant device

Publications (2)

Publication Number Publication Date
CN106886702A CN106886702A (en) 2017-06-23
CN106886702B true CN106886702B (en) 2019-10-01

Family

ID=59180365

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710134747.XA Active CN106886702B (en) 2017-03-08 2017-03-08 A kind of unlocked by fingerprint method and relevant device

Country Status (1)

Country Link
CN (1) CN106886702B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107329558A (en) * 2017-06-29 2017-11-07 努比亚技术有限公司 Reduce the method and mobile terminal of power consumption
CN108537021A (en) * 2018-03-26 2018-09-14 努比亚技术有限公司 Unlocked by fingerprint method, terminal and computer readable storage medium based on double-sided screen
CN108549803B (en) * 2018-03-30 2023-02-17 联想(北京)有限公司 Information processing method and electronic equipment
CN112417396A (en) * 2020-11-17 2021-02-26 努比亚技术有限公司 Terminal unlocking method, terminal and computer readable storage medium
CN116736999B (en) * 2022-09-09 2024-03-15 荣耀终端有限公司 Control method of electronic equipment and electronic equipment
CN117149044B (en) * 2023-03-14 2024-04-30 荣耀终端有限公司 Fingerprint unlocking method and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106020782A (en) * 2016-05-27 2016-10-12 广东欧珀移动通信有限公司 Fingerprint unlocking control method and mobile terminal
CN106056012A (en) * 2016-06-15 2016-10-26 惠州Tcl移动通信有限公司 Terminal power key control method and system
CN106126998A (en) * 2016-06-15 2016-11-16 深圳市万普拉斯科技有限公司 Put out screen unlocked by fingerprint method and terminal
CN106445072A (en) * 2016-09-27 2017-02-22 依偎科技(南昌)有限公司 Method and device for reducing power consumption of mobile terminal and mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9454259B2 (en) * 2016-01-04 2016-09-27 Secugen Corporation Multi-level command sensing apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106020782A (en) * 2016-05-27 2016-10-12 广东欧珀移动通信有限公司 Fingerprint unlocking control method and mobile terminal
CN106056012A (en) * 2016-06-15 2016-10-26 惠州Tcl移动通信有限公司 Terminal power key control method and system
CN106126998A (en) * 2016-06-15 2016-11-16 深圳市万普拉斯科技有限公司 Put out screen unlocked by fingerprint method and terminal
CN106445072A (en) * 2016-09-27 2017-02-22 依偎科技(南昌)有限公司 Method and device for reducing power consumption of mobile terminal and mobile terminal

Also Published As

Publication number Publication date
CN106886702A (en) 2017-06-23

Similar Documents

Publication Publication Date Title
CN106886702B (en) A kind of unlocked by fingerprint method and relevant device
CN106055962B (en) A kind of solution lock control method and mobile terminal
CN106203035B (en) A kind of data access control method and mobile terminal
CN107087053B (en) A kind of screen backlight control method and mobile terminal
CN107146616A (en) Apparatus control method and Related product
CN109041142A (en) Main earphone switching method and relevant device
CN107317916B (en) Application control method and Related product
WO2018161539A1 (en) Control method and apparatus for turning on screen
CN107870790A (en) PUSH message processing method and Related product based on game application
CN106096360B (en) A kind of solution lock control method and terminal device
CN106096515B (en) A kind of solution lock control method and terminal device
CN106022061B (en) A kind of solution lock control method and mobile terminal
CN106534288B (en) A kind of data transmission method and mobile terminal
CN107071129B (en) A kind of bright screen control method and mobile terminal
CN106055455B (en) The anti-interference method and device of a kind of button
CN106469028B (en) A kind of data migration method and mobile terminal
CN109561420A (en) A kind of method and relevant device of emergency help
CN106845422A (en) A kind of fingerprint recognition module, fingerprint identification method and mobile terminal
CN110430592A (en) Network control method and Related product
CN106055954B (en) A kind of unlocking method and terminal of terminal
CN107256380A (en) Fingerprint register method and Related product
CN108052820A (en) A kind of solution lock control method and terminal device and Related product
CN107317917B (en) Application control method and Related product
CN110298277A (en) Fingerprint identification method and Related product
CN107172289A (en) The quick method and Related product for searching application

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant