CN108810252A - A kind of method and apparatus of the bright screen of unlocked by fingerprint - Google Patents

A kind of method and apparatus of the bright screen of unlocked by fingerprint Download PDF

Info

Publication number
CN108810252A
CN108810252A CN201810479925.7A CN201810479925A CN108810252A CN 108810252 A CN108810252 A CN 108810252A CN 201810479925 A CN201810479925 A CN 201810479925A CN 108810252 A CN108810252 A CN 108810252A
Authority
CN
China
Prior art keywords
terminal
lcd
layers
interface
fingerprint
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
CN201810479925.7A
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.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology Co 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 Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201810479925.7A priority Critical patent/CN108810252A/en
Publication of CN108810252A publication Critical patent/CN108810252A/en
Priority to PCT/CN2018/115483 priority patent/WO2019218620A1/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/66Substation equipment, e.g. for use by subscribers with means for preventing unauthorised or fraudulent calling
    • H04M1/667Preventing unauthorised calls from a telephone set
    • H04M1/67Preventing unauthorised calls from a telephone set by electronic means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Telephone Function (AREA)
  • Image Input (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a kind of method and apparatus of the bright screen of unlocked by fingerprint, to solve the problems, such as the slow of the bright screen of unlocked by fingerprint in the prior art.In the embodiment of the present invention, terminal carries out whether fingerprint matching operation judges fingerprint matches and be unlocked interface drafting and liquid crystal display LCD initialization according to the interruption simultaneously after measuring pressing signal in screen locking dormant state, the interface after LCD is lighted after fingerprint matching success and shows unlock.In the embodiment of the present invention, since terminal is to be carried out at the same time fingerprint matching operation, screen locking drafting and LCD initialization after detecting pressing signal, after terminal judges fingerprint matching success, lock screen can be solved at once at this time and light LCD, improve the speed of the bright screen of unlocked by fingerprint.

Description

A kind of method and apparatus of the bright screen of unlocked by fingerprint
Technical field
The present invention relates to technical field of mobile phones, more particularly to the method and apparatus of a kind of bright screen of unlocked by fingerprint.
Background technology
With the continuous improvement of living standards, smart mobile phone has obtained universal well, the hand that almost everybody uses now Machine is all smart mobile phone.As mobile fingerprint is more and more common, present senior middle school's low-end mobile phone all has a fingerprint function, and fingerprint One important function of function is exactly unlocked by fingerprint screen, and the quality for unlocking speed is extremely important for the experience of mobile phone.
The release region of user's finger touching, a built-in fingerprint identification module, the finger print information that it can will be collected into It is converted into data and stores, this partial data is encrypted be stored in specific region.When user needs to unlock mobile phone, it is just Data can be called to be identified, acquisition is scanned to fingerprint by condenser type, optical profile type, RF type, later at fingerprint image Reason device pre-processes the fingerprint image of generation, binaryzation and refinement, the fingerprint characteristic extracted by software algorithm with Verification, final output recognition result is compared in the close fingerprint information data for being stored in specific region.
Such as Figure 1A and Figure 1B it is found that the prior art is when carrying out unlocked by fingerprint screen, need it is advanced fingerprint is matched, After fingerprint matching success, screen locking preparation and LCD (Liquid Crystal Display, liquid crystal display) are proceeded by just Beginning process.After screen locking prepares and LCD initialization procedures are fully completed, backlight screen can be just lighted, but thus Can cause take it is longer, reduce the speed of the bright screen of unlocked by fingerprint.
In conclusion in the prior art mobile fingerprint unlock bright screen speed it is slower.
Invention content
The present invention provides a kind of method and apparatus of the bright screen of unlocked by fingerprint, to solve the bright screen of unlocked by fingerprint in the prior art Slow problem.
In a first aspect, terminal detects pressing signal in screen locking dormant state, generates and drawn for triggering unlock interface With the interruption of liquid crystal display LCD initialization;Fingerprint matching operation is carried out, while interface is unlocked according to the interruption and is drawn It is initialized with liquid crystal display LCD;If fingerprint matching success, the terminal lights LCD and shows the interface after unlock.
In the present invention is implemented, since terminal is to be carried out at the same time fingerprint matching operation, unlock after detecting pressing signal Interface is drawn and LCD initialization, after terminal judges fingerprint matching success, can solve lock screen at once at this time and light LCD, by It is initialized in having fulfiled screen locking drafting and LCD ahead of schedule, therefore it is initial with LCD that time progress screen locking need not be spent to draw again Change, improves the speed of the bright screen of unlocked by fingerprint.
In certain embodiments, if fingerprint matching is successful, and LCD initialization and unlock interface drafting be not complete At then the terminal lights LCD and shows the interface after unlock after waiting for LCD initialization and unlock interface to complete.If referring to It fails to match for line, and terminal has completed LCD initialization, then terminal discharges the LCD resources, and if fingerprint matching failure, And terminal does not complete LCD initialization, then terminal discharges LCD resources after the completion of waiting for LCD initialization.
Wherein, terminal carries out fingerprint matching operation, while being unlocked interface drafting and liquid crystal display according to the interruption It is when device LCD initialization:Terminal carries out fingerprint matching operation, while will detect that the interruption generated after pressing signal passes sequentially through Kernel layers of the HAL layers and kernel of the terminal are reported to the Framework layers of the terminal;The Framework layers of terminal exist After receiving notice, by calling the function of image Composite service interface to send LCD initialization directives to the Kernel layers of terminal, Simultaneously instruction is drawn to the keygard layers of transmission screen locking of the screen lock module of the terminal;The Kernel layers of terminal receive the LCD LCD initialization is carried out after initialization directive;The keygard layers of terminal receive progress screen locking after instruction is drawn in the screen locking and paint System.
In embodiments of the present invention, the Framework layers of terminal are after receiving interruption, it is not necessary in the terminal Jing Guo terminal The Framework layers of instruction for sending LCD initialization, therefore the further speed for accelerating the bright screen of unlocked by fingerprint.
Second aspect, a kind of terminal of the bright screen of unlocked by fingerprint of the embodiment of the present invention, including:Processor, memory, LCD and Fingerprint sensor, wherein memory has program stored therein code, when program code is executed by the processor so that the place It manages device and executes following process:
Pressing signal is detected by fingerprint sensor in screen locking dormant state, generates and is drawn for triggering unlock interface With the interruption of liquid crystal display LCD initialization;Fingerprint matching operation is carried out, while interface is unlocked according to the interruption and is drawn It is initialized with LCD;
In some are specifically implemented, if fingerprint matching success, and LCD initialization and unlock interface drafting do not complete, then After waiting for LCD initialization and unlock interface to complete, lights LCD and show the interface after unlock.If fingerprint matching fails, and Completed LCD initialization, then discharge LCD resources, and if fingerprint matching failure, and do not complete LCD initialization, then wait for LCD resources are discharged after the completion of LCD initialization.
Wherein, fingerprint matching operation is carried out, while interface is unlocked according to the interruption and is drawn and liquid crystal display LCD It is when initialization:It will detect that the interruption generated after pressing signal passes sequentially through the terminal while carrying out fingerprint matching operation HAL layers and Kernel layers of kernel be reported to Framework layers;Framework layers after receiving notice, pass through calling image The function of Composite service interface sends screen locking drafting to keygard layers and refers to Kernel layers of transmission LCD initialization directives It enables;Described Kernel layers receives progress LCD initialization after the LCD initialization directives;Keygard layers receive the screen locking Screen locking drafting is carried out after drawing instruction.
Technique effect caused by any realization method can be found in realization method institute in first aspect in second aspect The technique effect brought, details are not described herein again.
These aspects or other aspects of the application can more straightforward in the description of embodiment below.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this For the those of ordinary skill in field, without having to pay creative labor, it can also be obtained according to these attached drawings His attached drawing.
Figure 1A is the flow diagram of the bright screen of unlocked by fingerprint in the prior art;
Figure 1B is the terminal inner schematic diagram of the bright screen of unlocked by fingerprint in the prior art;
Fig. 2 is the method schematic diagram that screen is lighted in unlock of the embodiment of the present invention;
Fig. 3 is the embodiment of the present invention for the entire flow figure under fingerprint matching successful instance;
Fig. 4 is the embodiment of the present invention for the entire flow figure under fingerprint matching failure scenarios;
Fig. 5 is that screen complete method flow chart is lighted in unlock of the embodiment of the present invention;
Fig. 6 is the terminal interlayer structural schematic diagram of the bright screen of unlocked by fingerprint of the embodiment of the present invention;
Fig. 7 is the structural schematic diagram for the terminal that a kind of unlocked by fingerprint of the embodiment of the present invention lights screen;
Fig. 8 is the structural schematic diagram for the terminal that another kind unlocked by fingerprint of the embodiment of the present invention lights screen.
Specific implementation mode
The embodiment of the present invention can be applied in the scene of mobile phone solution lock screen, carry out unlocked by fingerprint screen in the prior art When in the process, terminal after judging fingerprint matching, pass sequentially through terminal Kernel layers, HAL layers, Framework layers to Keygard layers send keygard layers and successfully instruct, and keygard layers carry out screen locking and paint and send keygard layers of LCD of triggering again The instruction of initialization.
Wherein, the Framework layers of terminal are mainly used for android (Android) overall operation frame, are provided to application layer Necessary service;The HAL layers of terminal are mainly used for integrating hardware differences, to Framework layers of offer unified interface;Terminal Keygard layers are mainly used for screen lock state management and control display.
And in embodiments of the present invention, the Kernel layers of terminal and Framework layers are had made some improvements, when terminal is examined After measuring fingerprint touching, it can send a notification message to the Framework layers of terminal while carrying out the operation of fingerprint matching, terminal Framework layers receive notification message after, can directly transmit the keygard layers LCD initialization of triggering terminal instruction and Instruction is drawn in screen locking, therefore, after Terminal fingerprints successful match, so that it may directly to light LCD, accelerate the bright screen of unlocked by fingerprint Speed.
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into It is described in detail to one step, it is clear that the described embodiments are only some of the embodiments of the present invention, rather than whole implementation Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts All other embodiment, shall fall within the protection scope of the present invention.
The embodiment of the present invention can be applied in the application scenarios of mobile phone unlock, with the development of science and technology smart mobile phone obtains Universal well, the mobile phone that almost everyone uses now is smart mobile phone, and no matter the smart mobile phone of high low side all Have fingerprint function, and an important function of fingerprint function is exactly to realize that unlocked by fingerprint lights screen, and unlock and light screen The speed of the speed of curtain is extremely important for the experience of mobile phone.
Based on the above, as shown in Fig. 2, the embodiment of the present invention provides a kind of method for unlocking and lighting screen, including:
Step 200, terminal detect pressing signal in screen locking dormant state, generate for trigger unlock interface draw and The interruption of liquid crystal display LCD initialization;
Step 201, terminal carry out fingerprint matching operation, while being unlocked interface drafting and liquid crystal according to the interruption Show device LCD initialization;
If step 202, fingerprint matching success, the terminal lights LCD and shows the interface after unlock.
In the embodiment of the present invention, after terminal measures pressing signal in screen locking dormant state, carries out fingerprint matching operation and sentence Whether severed finger line matches, and is unlocked interface drafting and liquid crystal display LCD initialization according to the interruption simultaneously, in fingerprint LCD is lighted after successful match and shows the interface after unlock.In the present invention is implemented, since terminal is to detect pressing signal After be carried out at the same time fingerprint matching operation, screen locking is drawn and LCD initialization, at this time can be with after terminal judges fingerprint matching successfully Lock screen is solved at once and lights LCD, improves the speed of the bright screen of unlocked by fingerprint.It is bright that a kind of unlocked by fingerprint is implemented to the present invention below The method of screen is described in detail.
When terminal is in screen locking dormant state, if there is the fingerprint sensor of finger pressing terminal, terminal can detect at this time It to pressing signal and generates for triggering the interruption that unlock interface is drawn and liquid crystal display LCD is initialized, carries out fingerprint later Matching operation.
While terminal carries out fingerprint matching operation, terminal can be unlocked interface drafting and liquid crystal display according to interruption Device LCD initialization.
Wherein, before terminal is unlocked interface drafting and liquid crystal display LCD initialization according to interruption, the fingerprint of terminal Sensor also needs to detect that the interruption generated after pressing signal is reported to the Kernel layers of terminal, the Kernel layers of terminal logical Cross the Framework layers of the HAL layers notice terminal of terminal.
Wherein, the interruption of generation is passed through the Framework of the HAL layers notice terminal of terminal by the Kernel layers of terminal here It is not limited in the embodiment of the present invention for the concrete mode of layer, as long as can realize that terminal is informed in the interruption for generating inspection Any of which of Framework layer functions is within the protection domain of the embodiment of the present invention.
A kind of optional embodiment is:The Kernel layers of terminal will detect the interruption generated after pressing signal with button Mode be added to the Framework layers that terminal is notified in corresponding file.
For example, the Kernel layers of terminal will detect that the interruption generated after pressing signal is defined as button, specific numerical value For can with 188 or other numerical value, and in the KL of terminal inner (key layout, by key definition) file, and Increase the definition of the button in the files such as KeyEvent.java (by key definition).
Correspondingly, the Framework layers of terminal, after receiving notice, terminal can be unlocked interface drafting according to interruption It is initialized with liquid crystal display LCD, a kind of optional embodiment is:
The Framework layers of terminal are after receiving notice, and it is determined whether to enable unlocked by fingerprint functions.
It is not bright in the subsequent unlock of progress at this time if the Framework layers determination of the terminal does not have unlocked by fingerprint function Screen process;
If the Framework layers of terminal, which determine, opens unlocked by fingerprint function, need to send to the Kernel layers of terminal at this time LCD initialization directives are carried out, while being unlocked interface to the transmission of the keygard of terminal layers and drawing instruction.
Wherein, it is terminal when the Framework layers of terminal send progress LCD initialization directives to the Kernel layers of terminal Framework layers by calling the interface of image Composite service of from the image Composite service interface function to the HAL layers of terminal LCD initialization directives are sent, LCD initialization directives are sent to terminal by the interface of image Composite service again in the HAL layers of terminal Kernel layers.
Wherein, the interface of image Composite service of any Framework layers that can realize terminal into the HAL layers of terminal Send LCD initialization directive functions calling image Composite service interface function the protection domain of the embodiment of the present invention it LCD initialization directives are sent to terminal by the interface of the image Composite service in interior and any HAL layers that can realize terminal Kernel layer functions interface function within the protection domain of the embodiment of the present invention.
In specific implementation process, a kind of optional embodiment is:The function of image Composite service interface will be called It is set as setDisplayMode, sets the interface of image Composite service to setPowerMode (int mode) interface.
For example, the DisplayManagerService in the Framework of terminal layers (display management service) mould in advance The calling image Composite service for increasing setDisplayMode in block and SurfaceControl (display management service) module connects The function of mouth.
When the Framework of terminal layers need to terminal Kernel layers send LCD initialization directives when, terminal Framework layers are first called SurfaceControl moulds setDisplayMode interfaces in the block to send LCD initialization directives To DisplayManagerService modules, then by calling DisplayManagerService moulds in the block LCD initialization directives are sent to the SurfaceFlinger modules in the HAL layers of terminal by setDisplayMode interfaces SetPowerMode (int mode) interface;SetPowerMode (the int of the SurfaceFlinger modules of HAL layers of terminal Mode) LCD initialization directives are sent to the Kernel layers of the terminal by mode parameters by interface.
Correspondingly, carrying out LCD initialization after the Kernel layers of terminal receive LCD initialization directives;When terminal Keygard layers receive unlock interface and draw progress unlock interface drafting after instruction.
Wherein, it is that a shilling terminal powers on when the Kernel layers progress LCD initialization of terminal, executes reset and reset, finally match Set register parameters;The keygard layers of terminal, which are unlocked when interface is drawn, to update screen state, painted again to interface System.
Correspondingly, after terminal carries out fingerprint matching operation, follow-up step can be executed according to the result of fingerprint matching.
If the result of fingerprint matching is reported to the Kernel layers of terminal by fingerprint matching success, the fingerprint sensor of terminal, The result of fingerprint matching is passed sequentially through the HAL layers and the Framework layers of keygard to terminal of terminal by the Kernel layers of terminal Layer is sent, and the keygard layers of terminal, which will send to wake up to the Framework layers of terminal, later instructs and carry out unlocking screen behaviour Make.
After the Framework layers of terminal receive wake-up instruction, sent out to the Kernel layers of terminal by the HAL layers of terminal Send the bright screen instructions of LCD;
The Kernel layers of terminal, which receive, lights LCD after LCD bright screen instructions, and a kind of optional embodiment is to pass through The interface that LightService (light service) module provides opens LCD.
Wherein, if fingerprint matching is successful, and LCD initialization and/or unlock interface are drawn and are not completed, then the terminal It needs that LCD initialization and/or unlock interface is waited for complete, and after LCD initialization and/or unlock interface are completed Change the interface after lighting LCD and/or display unlock.
What needs to be explained here is that the Kernel layers due to terminal are carried out at the same time during carrying out execution fingerprint matching LCD initialization operations, therefore LCD can be lighted immediately after the Kernel of terminal layers receive the bright screen instructions of LCD, it accelerates The speed of the speed of the bright screen of unlocked by fingerprint.
As shown in figure 3, the embodiment of the present invention provides the entire flow figure under fingerprint matching successful instance.
Step 300, terminal Kernel layers receive the interruption generated by pressing signal;
Step 301, terminal Kernel layers will detect that the interruption that generates after pressing signal is sent to the HAL layers of terminal;
Step 302, terminal HAL layers by the Framework layers of interrupt notification terminal;
Step 303, it is determined whether to enable unlocked by fingerprint functions after receiving notice for the Framework layers of terminal, if It is to execute step 303, otherwise jumps out this flow;
Step 304, terminal Framework layers to the Kernel layers of terminal send carry out LCD initialization directives, while to The keygard layers transmission of the terminal is unlocked interface and draws instruction;
Step 305, terminal Kernel layers receive and carry out LCD initialization after LCD initialization directives;
Step 306, terminal keygard layers receive unlock interface draw instruction after carry out unlock interface drafting;
The Kernel layers reception fingerprint matching of step 307, terminal successfully instructs;
Fingerprint matching is successfully instructed the HAL layers for being sent to terminal by step 308, the Kernel layer terminals of terminal;
Step 309, terminal HAL layers to the Framework layers of terminal forwarding fingerprint matching successfully instruct;
Step 310, terminal Framework layers to the keygard layers of terminal send fingerprint matching successfully instruct;
Step 311, terminal keygard layers to the Framework layers of terminal send wake up instruction and carry out screen solution Lock operation;
Step 312, terminal Framework layers receive wake-up instruction after, to the HAL layers of terminal transmission the bright screens of LCD refer to It enables;
Step 313, terminal HAL layers send LCD bright screen instructions to the Kernel layers of terminal;
Step 314, terminal Kernel layers receive LCD bright screen instructions after light LCD.
If fingerprint matching fails, the fingerprint matching of the Kernel layers transmission for receiving terminal of the Framework layers of terminal Result be fingerprint matching failure command, needed at this time by calling the function of image Composite service interface to the terminal The interface of image Composite service in HAL layers, which is sent, discharges the LCD resources instruction;
The interface of image Composite service in the HAL layers of terminal will discharge the LCD resources instruction and be sent to terminal Kernel layers, after the Kernel layers of terminal receive the release LCD resources instruction, and LCD initialization is completed, at this time eventually The Kernel layers at end discharge the LCD resources.
Wherein, the interface of image Composite service of any Framework layers that can realize terminal into the HAL layers of terminal The function for the calling image Composite service interface for discharging the LCD resources command function is sent in the protection of the embodiment of the present invention Within the scope of.
In specific implementation process, a kind of optional embodiment is:The function of image Composite service interface will be called It is set as setDisplayMode, sets the interface of image Composite service to setPowerMode (int mode) interface.When The Framework layers of terminal are needed to when the Kernel layers of terminal send and discharge the LCD resources and instruct, terminal Framework layers are first called SurfaceControl moulds setDisplayMode interfaces in the block that will discharge the LCD resources and refer to Order is sent to DisplayManagerService modules, then by calling DisplayManagerService moulds in the block SetDisplayMode interfaces instruct the SurfaceFlinger moulds being sent in the HAL layers of terminal by the LCD resources are discharged SetPowerMode (int mode) interface of block;The setPowerMode of the SurfaceFlinger modules of HAL layers of terminal (int mode) interface discharges the Kernel layers that the LCD resources instruction is sent to the terminal.
After the Kernel layers of terminal receive the release LCD resources instruction, the LCD resources are discharged.It is a kind of optional Embodiment is that the interface provided by LightService discharges LCD resources.
Wherein, the Kernel layers of terminal carry out when LCD resources discharge being a shilling terminal power down, execute reset and reset, finally Restore register parameters.
What needs to be explained here is that:If after the Kernel layers of terminal receive fingerprint matching instruction, but having not been completed LCD is initialized, and needs that LCD initialization is waited for discharge the LCD resources using the above method after the completion at this time.
As shown in figure 4, the embodiment of the present invention provides the entire flow figure under fingerprint matching failure scenarios.
Step 400, terminal Kernel layers receive the interruption generated by pressing signal;
Step 401, terminal Kernel layers will detect that the interruption generated after pressing signal passes through the HAL layers of terminal;
Step 402, terminal HAL layers by the Framework layers of interrupt notification terminal;
Step 403, terminal Framework layers it is determined whether to enable refer to unlocking function, if execute step 404, otherwise Jump out this flow;
Step 404, terminal Framework layers to the Kernel layers of terminal send carry out LCD initialization directives, while to The keygard layers transmission of the terminal is unlocked interface and draws instruction;
Step 405, terminal Kernel layers receive and carry out LCD initialization after LCD initialization directives;
Step 406, terminal keygard layers receive screen locking draw instruction after carry out unlock interface drafting;
The Kernel layers reception fingerprint matching failure command of step 407, terminal;
Step 408, terminal Kernel layers to the HAL layers of terminal send fingerprint matching failure command;
Step 409, terminal HAL layers to the Framework layers of terminal send fingerprint matching failure command;
Step 410, terminal Framework layers sent to the HAL layers of terminal and discharge LCD resources LCD instruction;
Step 411, terminal HAL layers to the Kernel layers of terminal send release LCD resources instruction;
Step 412, terminal Kernel layers receive release LCD instruction after discharge LCD resources.
As shown in figure 5, the embodiment of the present invention provides a kind of entire flow figure of the method for the bright screen of unlocked by fingerprint.
Step 500, terminal are performed simultaneously step 501 and step after detecting pressing signal when being in screen locking dormant state 504;
Step 501, terminal judge whether fingerprint matches, no to then follow the steps 503 if executing step 502;
Step 502, terminal send fingerprint matching and successfully instruct to the Kernel layers of terminal, execute step 509;
Step 503, terminal send fingerprint matching failure command to the Kernel layers of terminal, execute step 509;
Step 504, terminal will detect that the interruption generated after pressing signal reports to the Kernel layers of terminal;
Step 505, terminal Kernel layers will detect that the interruption generated after pressing signal passes through the HAL layers of terminal notice The Framework layers of terminal;
Step 506, terminal Framework layers receive notice after will it is determined whether to enable unlocked by fingerprint functions, if It is to execute step 507, otherwise jumps out this flow;
Step 507, terminal Framework layers to the Kernel layers of terminal send carry out LCD initialization directives, while to The keygard layers transmission of the terminal is unlocked interface and draws instruction;
The Framework layers progress LCD initialization of step 508, terminal, while the keygard layers of terminal are unlocked boundary Iso-surface patch;
The Kernel layers reception fingerprint matching instruction of step 509, terminal, judges the Kernel laminated striation matching instruction classes of terminal Type, if line successful match instruction execution step 510, if line it fails to match instruction execution step 514;
Step 510, terminal Kernel layers pass sequentially through the HAL layers and the Framework layers of keygard to terminal of terminal Layer sends fingerprint matching and successfully instructs;
Step 511, terminal keygard layers to the Framework layers of terminal send wake up instruction and carry out screen solution Lock operation;
Step 512, terminal Framework layers receive wake-up instruction after, by the HAL layers of terminal to terminal Kernel layers send the bright screen instructions of LCD;
Step 513, terminal Kernel layers receive LCD bright screen instructions after light LCD;
Step 514, terminal Kernel layers fingerprint matchings sent to Framework layers by the HAL layers of terminal unsuccessfully refer to It enables;
Step 515, terminal Framework layers release LCD moneys are sent to the Kernel layers of terminal by the HAL layers of terminal Sourse instruction;
Step 516, terminal Kernel layers receive release LCD resources LCD after release LCD resources instruction.
As shown in fig. 6, the embodiment of the present invention provides a kind of terminal interlayer structural schematic diagram of the bright screen of unlocked by fingerprint.
As can be known from Fig. 6, the Framework layers of terminal can directly pass through after receiving terminal for Kernel layers Framework layers send LCD initialization directives to the Kernel layers of terminal, after receiving fingerprint matching and successfully instruct, transmission LCD can be lighted at once after the bright screen instructions of LCD.
As shown in fig. 7, a kind of terminal of the bright screen of unlocked by fingerprint of the embodiment of the present invention, including:Processor 700, memory 701, LCD 702 and fingerprint sensor 703, wherein the memory 701 has program stored therein code, when said program code quilt When the processor 700 executes so that the processor 700 executes following process:
Pressing signal is detected by fingerprint sensor in screen locking dormant state, generates and is drawn for triggering unlock interface With the interruption of liquid crystal display LCD initialization;Fingerprint matching operation is carried out, while interface is unlocked according to the interruption and is drawn It is initialized with LCD;If fingerprint matching success, lights LCD and show the interface after unlock.
Optionally, the processor 700 is specifically used for:
If fingerprint matching success, and the LCD initialization and unlock interface draw do not complete, then wait for LCD initialization and After unlock interface is completed, lights the LCD and show the interface after unlock.
Optionally, the processor 700 is additionally operable to:
If fingerprint matching fails, and has completed LCD initialization, then the LCD resources are discharged.
Optionally, the processor 700 is additionally operable to:
If fingerprint matching fails, and does not complete LCD initialization, then LCD initialization is waited for discharge the LCD moneys after the completion Source.
Optionally, the processor 700 is specifically used for:
Fingerprint matching operation is carried out, while will detect that the interruption generated after pressing signal passes sequentially through the hard of the terminal Abstract HAL layers of part is reported to Framework layers with Kernel layers of kernel;Framework layers after receiving notice, pass through calling The function of image Composite service interface is to described Kernel layers transmission LCD initialization directive, while to the screen lock module Keygard layers send screen locking and draw instruction;Described Kernel layers receives progress LCD initialization after the LCD initialization directives; Described keygard layers receives the screen locking and draws progress screen locking drafting after instruction.
As shown in figure 8, a kind of terminal of the bright screen of unlocked by fingerprint of the embodiment of the present invention, including:
Detection module 800, for detecting that pressing signal, generation are painted for triggering unlock interface in screen locking dormant state The interruption of system and liquid crystal display LCD initialization;
Execution module 801 is unlocked interface drafting and liquid for carrying out fingerprint matching operation, while according to the interruption Crystal display LCD initialization;
Module 802 is lighted, if for fingerprint matching success, the terminal lights LCD and shows the interface after unlock.
Optionally, the module 802 of lighting is specifically used for:
If fingerprint matching success, and the LCD initialization and unlock interface draw do not complete, then wait for LCD initialization and After unlock interface is completed, lights the LCD and show the interface after unlock.
Optionally, the execution module 801 is additionally operable to:
If fingerprint matching fails, and has completed LCD initialization, then the LCD resources are discharged.
Optionally, the execution module 801 is additionally operable to:
If fingerprint matching fails, and does not complete LCD initialization, then LCD initialization is waited for discharge the LCD moneys after the completion Source.
Optionally, the execution module 801 is specifically used for:
Fingerprint matching operation is carried out, while will detect that the interruption generated after pressing signal passes sequentially through the hard of the terminal Abstract HAL layers of part is reported to Framework layers with Kernel layers of kernel;Framework layers after receiving notice, pass through calling The function of image Composite service interface is to described Kernel layers transmission LCD initialization directive, while to the screen lock module Keygard layers send screen locking and draw instruction;Described Kernel layers receives progress LCD initialization after the LCD initialization directives; Described keygard layers receives the screen locking and draws progress screen locking drafting after instruction.
In some possible embodiments, the various aspects of the method for the bright screen of unlocked by fingerprint provided in an embodiment of the present invention It is also implemented as a kind of form of program product comprising program code, when said program code is transported on a computing device When row, said program code is described in this specification various exemplary according to the present invention for making the computer equipment execute Step in the method for embodiment.
The arbitrary combination of one or more readable mediums may be used in described program product.Readable medium can be readable letter Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example may be-but not limited to-electricity, magnetic, optical, electromagnetic, red The system of outside line or semiconductor, device or device, or the arbitrary above combination.The more specific example of readable storage medium storing program for executing (non exhaustive list) includes:Electrical connection, portable disc with one or more conducting wires, hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc Read memory (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
The program product for data forwarding control according to the embodiment of the present invention, may be used Portable, compact Disk read-only memory (CD-ROM) and include program code, and can be run on server apparatus.However, the program of the present invention Product is without being limited thereto, in this document, readable storage medium storing program for executing can be any include or storage program tangible medium, the program It can be transmitted by information, device either device use or in connection.
Readable signal medium may include in a base band or as the data-signal that carrier wave some is propagated, wherein carrying Readable program code.Diversified forms may be used in the data-signal of this propagation, including --- but being not limited to --- electromagnetism letter Number, optical signal or above-mentioned any appropriate combination.Readable signal medium can also be other than readable storage medium storing program for executing it is any can Medium is read, which can send, propagate either transmission for by the moving system of the bright screen of unlocked by fingerprint, device or device Part uses or program in connection.
The program code for including on readable medium can transmit with any suitable medium, including --- but being not limited to --- Wirelessly, wired, optical cable, RF etc. or above-mentioned any appropriate combination.
It can be write with any combination of one or more programming languages for executing the program that operates of the present invention Code, described program design language include object oriented program language-Java, C++ etc., further include conventional Procedural programming language-such as " C " language or similar programming language.Program code can be fully in user It executes on computing device, partially execute on a user device, being executed as an independent software package, partly in user's calculating Upper side part executes or is executed in remote computing device or server completely on a remote computing.It is being related to far In the situation of journey computing device, remote computing device can pass through the network of any kind --- including LAN (LAN) or extensively Domain net (WAN)-be connected to user calculating equipment, or, it may be connected to external computing device.
The embodiment of the present invention also provides a kind of computing device readable storage medium storing program for executing for the method for the bright screen of unlocked by fingerprint, i.e., disconnected Content is not lost after electricity.Software program, including program code are stored in the storage medium, when said program code is in computing device When upper operation, which can realize in present invention method when being read and executed by one or more processors Scheme.
Above by reference to showing according to the method, apparatus (system) of the embodiment of the present application and/or the frame of computer program product Figure and/or flow chart describe the application.It should be understood that can realize that block diagram and or flow chart is shown by computer program instructions The combination of one block of figure and the block of block diagram and or flow chart diagram.These computer program instructions can be supplied to logical With computer, the processor of special purpose computer and/or other programmable data processing units, to generate machine so that via meter The instruction that calculation machine processor and/or other programmable data processing units execute creates for realizing block diagram and or flow chart block In specified function action method.
Correspondingly, the application can also be implemented with hardware and/or software (including firmware, resident software, microcode etc.).More Further, the application can take computer usable or the shape of computer program product on computer readable storage medium Formula has the computer realized in the medium usable or computer readable program code, to be made by instruction execution system It is used with or in conjunction with instruction execution system.In the present context, computer can be used or computer-readable medium can be with It is arbitrary medium, can includes, store, communicating, transmitting or transmitting program, is made by instruction execution system, device or equipment With, or instruction execution system, device or equipment is combined to use.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (10)

1. a kind of method of the bright screen of unlocked by fingerprint, which is characterized in that this method includes:
Terminal detects pressing signal in screen locking dormant state, generates for triggering unlock interface drafting and liquid crystal display The interruption of LCD initialization;
The terminal carries out fingerprint matching operation, while being unlocked interface according to the interruption and drawing and liquid crystal display LCD Initialization;
If fingerprint matching success, the terminal lights LCD and shows the interface after unlock.
2. the method as described in claim 1, which is characterized in that if fingerprint matching success, the terminal are lighted LCD and shown Interface after unlock, including:
If fingerprint matching success, and LCD initialization and unlock interface are drawn and are not completed, then the terminal waits for LCD initial Change after completing with unlock interface, light the LCD and shows the interface after unlock.
3. the method as described in claim 1, which is characterized in that this method further includes:
If fingerprint matching fails, and the terminal has completed LCD initialization, then the terminal discharges the LCD resources.
4. the method as described in claim 1, which is characterized in that this method further includes:
If fingerprint matching fails, and the terminal does not complete LCD initialization, then the terminal is released after the completion of waiting for LCD initialization Put the LCD resources.
5. the method as described in claim 1, which is characterized in that the terminal carries out fingerprint matching operation, while according to described Interruption is unlocked interface drafting and liquid crystal display LCD initialization, including:
The terminal carries out fingerprint matching operation, while will detect that the interruption generated after pressing signal passes sequentially through the terminal HAL layers of hardware abstraction and Kernel layers of kernel be reported to the Framework layers of the terminal;
The Framework layers of the terminal are after receiving notice, by calling the function of image Composite service interface to described The Kernel layers of terminal send LCD initialization directives, while being drawn to the keygard layers of transmission screen locking of the screen lock module of the terminal Instruction;
The Kernel layers of the terminal carry out LCD initialization after receiving the LCD initialization directives;
The keygard layers of the terminal receive after instruction is drawn in the screen locking and carry out screen locking drafting.
6. a kind of terminal of the bright screen of unlocked by fingerprint, which is characterized in that including:Processor, memory, LCD and fingerprint sensor, In, the memory has program stored therein code, when said program code is executed by the processor so that the processor is held The following process of row:
Pressing signal is detected by fingerprint sensor in screen locking dormant state, is generated for triggering unlock interface drafting and liquid The interruption of crystal display LCD initialization;
Fingerprint matching operation is carried out, while interface is unlocked according to the interruption and is drawn and LCD initialization;
If fingerprint matching success, lights LCD and show the interface after unlock.
7. terminal as claimed in claim 6, which is characterized in that the processor is specifically used for:
If fingerprint matching success, and the LCD is initialized and unlock interface is drawn and do not completed, then LCD is waited for initialize and unlock After interface is completed, lights the LCD and show the interface after unlock.
8. terminal as claimed in claim 6, which is characterized in that the processor is additionally operable to:
If fingerprint matching fails, and has completed LCD initialization, then the LCD resources are discharged.
9. terminal as claimed in claim 6, which is characterized in that the processor is additionally operable to:
If fingerprint matching fails, and does not complete LCD initialization, then LCD initialization is waited for discharge the LCD resources after the completion.
10. terminal as claimed in claim 6, which is characterized in that the processor is specifically used for:
Fingerprint matching operation is carried out, while will detect that the interruption generated after pressing signal passes sequentially through the hardware pumping of the terminal As HAL layers and Kernel layers of kernel are reported to Framework layers;Framework layers after receiving notice, pass through calling image The function of Composite service interface is to described Kernel layers transmission LCD initialization directive, while to the screen lock module keygard Layer sends screen locking and draws instruction;Described Kernel layers receives progress LCD initialization after the LCD initialization directives;It is described Keygard layers receive the screen locking and draw progress screen locking drafting after instruction.
CN201810479925.7A 2018-05-18 2018-05-18 A kind of method and apparatus of the bright screen of unlocked by fingerprint Pending CN108810252A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810479925.7A CN108810252A (en) 2018-05-18 2018-05-18 A kind of method and apparatus of the bright screen of unlocked by fingerprint
PCT/CN2018/115483 WO2019218620A1 (en) 2018-05-18 2018-11-14 Mobile device and method for unlocking illuminated screen using fingerprint

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810479925.7A CN108810252A (en) 2018-05-18 2018-05-18 A kind of method and apparatus of the bright screen of unlocked by fingerprint

Publications (1)

Publication Number Publication Date
CN108810252A true CN108810252A (en) 2018-11-13

Family

ID=64092667

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810479925.7A Pending CN108810252A (en) 2018-05-18 2018-05-18 A kind of method and apparatus of the bright screen of unlocked by fingerprint

Country Status (2)

Country Link
CN (1) CN108810252A (en)
WO (1) WO2019218620A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109409333A (en) * 2018-11-29 2019-03-01 北京小米移动软件有限公司 Unlocked by fingerprint method, apparatus, equipment and storage medium
CN109753312A (en) * 2018-12-21 2019-05-14 深圳贝特莱电子科技股份有限公司 Unlocked by fingerprint accelerates bright screen method under a kind of screen state of going out based on Android system
WO2019218620A1 (en) * 2018-05-18 2019-11-21 青岛海信移动通信技术股份有限公司 Mobile device and method for unlocking illuminated screen using fingerprint
CN114995676A (en) * 2021-12-29 2022-09-02 荣耀终端有限公司 Fingerprint false touch prevention method, graphical interface and electronic equipment
WO2023005382A1 (en) * 2021-07-29 2023-02-02 荣耀终端有限公司 Light spot display method, electronic device and computer-readable storage medium
WO2024021696A1 (en) * 2022-07-29 2024-02-01 荣耀终端有限公司 Fingerprint-based unlocking method, electronic device, readable storage medium, and chip

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105808122A (en) * 2016-03-14 2016-07-27 广东欧珀移动通信有限公司 Unlocking control method and terminal device
CN106126998A (en) * 2016-06-15 2016-11-16 深圳市万普拉斯科技有限公司 Screen-off fingerprint unlocking method and terminal
WO2016188484A1 (en) * 2015-11-20 2016-12-01 中兴通讯股份有限公司 Method and system for unlocking screen according to fingerprints, and mobile terminal
CN106227539A (en) * 2016-07-25 2016-12-14 努比亚技术有限公司 The method of bright screen, device and electronic equipment
CN106485120A (en) * 2016-09-22 2017-03-08 宇龙计算机通信科技(深圳)有限公司 Light screen method, light screen apparatus and terminal
CN106527949A (en) * 2016-11-15 2017-03-22 广东欧珀移动通信有限公司 Fingerprint unlocking method and device and terminal
CN107066859A (en) * 2017-03-15 2017-08-18 广东欧珀移动通信有限公司 A kind of unlocked by fingerprint method and device
CN107193474A (en) * 2017-04-28 2017-09-22 广东欧珀移动通信有限公司 Solve lock control method and Related product
CN107422962A (en) * 2017-03-08 2017-12-01 广东欧珀移动通信有限公司 A kind of bright screen control method and equipment
CN107622189A (en) * 2016-08-18 2018-01-23 北京小米移动软件有限公司 Optimize the method and apparatus of unlocked by fingerprint
CN107832596A (en) * 2016-03-14 2018-03-23 广东欧珀移动通信有限公司 One kind solution lock control method and terminal device and related media production

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108810252A (en) * 2018-05-18 2018-11-13 青岛海信移动通信技术股份有限公司 A kind of method and apparatus of the bright screen of unlocked by fingerprint

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016188484A1 (en) * 2015-11-20 2016-12-01 中兴通讯股份有限公司 Method and system for unlocking screen according to fingerprints, and mobile terminal
CN105808122A (en) * 2016-03-14 2016-07-27 广东欧珀移动通信有限公司 Unlocking control method and terminal device
CN107832596A (en) * 2016-03-14 2018-03-23 广东欧珀移动通信有限公司 One kind solution lock control method and terminal device and related media production
CN106126998A (en) * 2016-06-15 2016-11-16 深圳市万普拉斯科技有限公司 Screen-off fingerprint unlocking method and terminal
CN106227539A (en) * 2016-07-25 2016-12-14 努比亚技术有限公司 The method of bright screen, device and electronic equipment
CN107622189A (en) * 2016-08-18 2018-01-23 北京小米移动软件有限公司 Optimize the method and apparatus of unlocked by fingerprint
CN106485120A (en) * 2016-09-22 2017-03-08 宇龙计算机通信科技(深圳)有限公司 Light screen method, light screen apparatus and terminal
CN106527949A (en) * 2016-11-15 2017-03-22 广东欧珀移动通信有限公司 Fingerprint unlocking method and device and terminal
CN107422962A (en) * 2017-03-08 2017-12-01 广东欧珀移动通信有限公司 A kind of bright screen control method and equipment
CN107066859A (en) * 2017-03-15 2017-08-18 广东欧珀移动通信有限公司 A kind of unlocked by fingerprint method and device
CN107193474A (en) * 2017-04-28 2017-09-22 广东欧珀移动通信有限公司 Solve lock control method and Related product

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019218620A1 (en) * 2018-05-18 2019-11-21 青岛海信移动通信技术股份有限公司 Mobile device and method for unlocking illuminated screen using fingerprint
CN109409333A (en) * 2018-11-29 2019-03-01 北京小米移动软件有限公司 Unlocked by fingerprint method, apparatus, equipment and storage medium
CN109753312A (en) * 2018-12-21 2019-05-14 深圳贝特莱电子科技股份有限公司 Unlocked by fingerprint accelerates bright screen method under a kind of screen state of going out based on Android system
WO2023005382A1 (en) * 2021-07-29 2023-02-02 荣耀终端有限公司 Light spot display method, electronic device and computer-readable storage medium
CN114995676A (en) * 2021-12-29 2022-09-02 荣耀终端有限公司 Fingerprint false touch prevention method, graphical interface and electronic equipment
WO2024021696A1 (en) * 2022-07-29 2024-02-01 荣耀终端有限公司 Fingerprint-based unlocking method, electronic device, readable storage medium, and chip

Also Published As

Publication number Publication date
WO2019218620A1 (en) 2019-11-21

Similar Documents

Publication Publication Date Title
CN108810252A (en) A kind of method and apparatus of the bright screen of unlocked by fingerprint
CN107665426B (en) Method and electronic device for payment using biometric authentication
US11232339B2 (en) Handheld electronic device capable of magnetic field communication and payment method using the same
US10810292B2 (en) Electronic device and method for storing fingerprint information
WO2017215567A1 (en) Method for fingerprint unlocking while in screen-off state, terminal and storage medium
US20180247065A1 (en) Operating method of electronic device for function execution based on voice command in locked state and electronic device supporting the same
CN103838992B (en) A kind of fingerprint identification method and terminal
WO2017010792A1 (en) Card registration method for payment service and mobile electronic device implementing the same
US20180322504A1 (en) Article use control method, device and system, article and server
CN109075820A (en) A kind of Bluetooth pairing methods and terminal device
CN104850988B (en) A kind of mobile-payment system, method and relevant device
CN108702357A (en) A kind of method, terminal device and service server authorizing authority migration
RU2685693C1 (en) Method and device for providing a signal indicating loss of a terminal
CN109712301A (en) Method of payment, device, system, electronic equipment and storage medium
CN110287666B (en) Fingerprint unlocking method and related device
CN105956892B (en) Virtual bill exchange method, device and system
CN112581122B (en) Display method, payment code identification device and electronic equipment
WO2022111394A1 (en) Information processing method and apparatus, and electronic devices
CN111768185A (en) Transaction data processing method, related device and storage medium
CN109493870A (en) Charging pile identity identifying method, device and electronic equipment
CN112115748B (en) Certificate image recognition method, device, terminal and storage medium
CN112164395A (en) Vehicle-mounted voice starting method and device, electronic equipment and storage medium
CN111274043A (en) Near field communication method, device, system, storage medium and electronic equipment
CN112989888A (en) Fingerprint anti-counterfeiting method and electronic equipment
KR20220158264A (en) Opening method of payment function, terminal device, server, system and storage medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20181113

RJ01 Rejection of invention patent application after publication