CN110493452A - A kind of management method and device of finger-print switch - Google Patents

A kind of management method and device of finger-print switch Download PDF

Info

Publication number
CN110493452A
CN110493452A CN201910600053.XA CN201910600053A CN110493452A CN 110493452 A CN110493452 A CN 110493452A CN 201910600053 A CN201910600053 A CN 201910600053A CN 110493452 A CN110493452 A CN 110493452A
Authority
CN
China
Prior art keywords
user
state
finger
scene
print switch
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
CN201910600053.XA
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201910600053.XA priority Critical patent/CN110493452A/en
Publication of CN110493452A publication Critical patent/CN110493452A/en
Priority to PCT/CN2020/100167 priority patent/WO2021000943A1/en
Pending legal-status Critical Current

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
    • 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
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • 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/72466User interfaces specially adapted for cordless or mobile telephones with selection means, e.g. keys, having functions defined by the mode or the status of the device

Abstract

The application provides the management method and device of a kind of finger-print switch, solves the problems, such as that the setting of screen unlocked by fingerprint in the prior art is unreasonable, flexibility is poor.This method comprises: electronic equipment records the frequency that user in the first preset time unlocks electronic equipment under different scenes;According to frequency and preset threshold, determine that the state of finger-print switch under different scenes, the state of finger-print switch include open state or closed state;User model is obtained according to the state of finger-print switch under different scenes, user model includes the state instruction of finger-print switch under multiple scenes and each scene, and state instruction is used to indicate that finger-print switch is in the open state or closed state;According to the scene that user model and user are presently in, determination opens or closes finger-print switch.Finger-print switch state is intelligently arranged according to the different use habits of different user in the embodiment of the present application.

Description

A kind of management method and device of finger-print switch
Technical field
This application involves field of terminal technology more particularly to the management methods and device of a kind of finger-print switch.
Background technique
Currently, application of the unlocked by fingerprint on intelligent terminal becomes increasingly popular, with the design of intelligent terminal, especially It is that the screen deisgn approach of mobile phone is shielded or narrower frame comprehensively, can be by unlocked by fingerprint module below mobile phone display screen It is transferred on mobile phone display screen on key, screen unlocked by fingerprint mode can be referred to as.Under screen unlocked by fingerprint mode, in order to and When response user unlocked by fingerprint operational requirements, need normally opened intelligent terminal touch screen (Touch Panel, TP) and Close to optical sensor, so that user only need to can be easily accomplished unlock by mobile phone screen, still, the two normally opened devices can be made It is wasted at a large amount of electricity.
The prior art solve the problems, such as TP and close to optical sensor it is normally opened caused by electricity waste, be by manually establishing rule Then, under the scene that usual user not will use screen unlocked by fingerprint, TP is closed and close to optical sensor;And screen is used in user Under the curtain higher scene of unlocked by fingerprint frequency, TP and close to optical sensor is opened, so as to solve a large amount of electricity to a certain extent The problem of amount waste.
But above-mentioned technical proposal is regular there are certain subjectivity and probably forthright and not clever enough by manually establishing Living, i.e., different user may have different use habits under identical usage scenario.For example, evening sack time is most User not will use mobile phone, but some user has the habit commonly using mobile phone at night, if unified by this kind of field Scape is set off TP and close to optical sensor, and user experience is poor.
Summary of the invention
The application provides the management method and device of a kind of finger-print switch, solves screen unlocked by fingerprint in the prior art Problem unreasonable, that flexibility is poor is set.
In order to achieve the above objectives, the application adopts the following technical scheme that
In a first aspect, provide a kind of management method of finger-print switch, it is applied to electronic equipment, this method comprises: record the User unlocks the frequency of electronic equipment under different scenes in one preset time;According to frequency and preset threshold, different fields are determined The state of finger-print switch under scape, the state of finger-print switch include open state or closed state;It is opened according to fingerprint under different scenes The state of pass obtains user model, and user model includes the state instruction of finger-print switch under multiple scenes and each scene, shape State instruction is used to indicate that finger-print switch is in the open state or closed state;The field being presently according to user model and user Scape, determination open or close finger-print switch.
In the embodiment of the present application, the frequency that user unlocks electronic equipment under different scenes in a period of time be may be considered User unlock electronic equipment use habit data, electronic equipment can according to user using electronic equipment when be unlocked make With habit data, the model of finger-print switch is intelligently matched for user, which can allow electronic equipment to recognize use When the scene at family, finger-print switch can be opened or closed according to the state instruction under the scene in the model, so that finger-print switch State closer to user habit, thus solve the problems, such as the prior art setting it is unreasonable, flexibility is poor, promoted use Family experience.
In a kind of possible design method, according to frequency and preset threshold, the shape of finger-print switch under different scenes is determined State includes: in the first preset time, and the frequency that user unlocks electronic equipment under the first scene is greater than or equal to preset threshold, The state for then determining finger-print switch under the first scene is open state;In first preset time, user solves under the first scene The frequency for locking electronic equipment is less than preset threshold, it is determined that the state of finger-print switch is in off state under the first scene.It is above-mentioned can Can implementation in, electronic equipment can according to the unlock frequency under the different use habits of user, according to preset threshold Comparison, determine under the use habit finger-print switch setting, so as to according to user's use habit data carry out user's mould The matching of type can be improved the flexibility and accuracy of finger-print switch setting.
In a kind of possible design method, obtaining user model according to the state of finger-print switch under different scenes includes: According to the state of finger-print switch under different scenes, chosen and the matched user model of user from multiple user models for user; User model are as follows: the state matching degree highest of finger-print switch under the scene and state instruction and different scenes in multiple user models User model.In above-mentioned possible implementation, electronic equipment is accustomed to matching user model according to unused user, and selection is used It is highest as user model with user's usage scenario matching degree in the model of family, it is more bonded so as to improve finger-print switch setting The accuracy of the use habit of user.
In a kind of possible design method, according to the scene that user model and user are presently in, determine that user works as Opening or closing finger-print switch under preceding locating scene includes: as second in the scene and user model that user is presently in Scape matching, it is in the open state to be used to indicate finger-print switch for the state instruction of finger-print switch under the second scene, then opens fingerprint and open It closes;When the shape of finger-print switch under the scene that user is presently in and the second scene matching in the first user model, the second scene State instruction is used to indicate finger-print switch and is in close state, then closes finger-print switch.In above-mentioned possible implementation, electronics is set It is standby to judge the scene that user is presently in and the second scene phase in multiple scenes according to multiple scenes in user model Meanwhile the state of finger-print switch can be set to the state under the second scene, to realize, finger-print switch is intelligently set.
In a kind of possible design method, in the second preset time, user unlocks electronics under third scene and sets Standby frequency is greater than or equal to preset threshold, and the state instruction in user model under third scene is in off state, then by user State instruction in model under third scene is updated to open state;In the second preset time, user is under third scene The frequency for unlocking electronic equipment is less than preset threshold, and the state instruction in user model under third scene is open state, then will State instruction update in user model under third scene is in off state.In above-mentioned possible implementation, electronic equipment can The setting that finger-print switch is updated to be accustomed to the update of data according to user, to improve the flexibility and standard of finger-print switch setting True property.
In a kind of possible design method, this method further include: scene includes environment when user uses electronic equipment At least one of state, User Status, equipment state and time interval.In above-mentioned possible implementation, electronic equipment Matching setting can be carried out using the various different scenes of screen fingerprint according to user, to improve the spirit of finger-print switch setting Activity and accuracy.
In a kind of possible design method, this method further include: when the state under the 4th scene in user model refers to It is shown as closed state, and receives user to the pressing operation of electronic equipment power button, then triggers finger-print switch and is in opening state State receives user and operates to the unlocked by fingerprint of electronic equipment.In above-mentioned possible implementation, the finger-print switch shape of electronic equipment State setting is not inconsistent with the currently used of user, then the power button that user can press electronic equipment is unlocked, and refers to improve The flexibility of line switch unlock electronic equipment.
Second aspect provides a kind of electronic equipment, which includes: a kind of electronic equipment, which is characterized in that electronics Equipment includes processor and memory connected to the processor, memory for storing instruction, when instruction is executed by processor When, so that electronic equipment is used to execute: user unlocks the frequency of electronic equipment under different scenes in the first preset time of record; According to frequency and preset threshold, determine the state of finger-print switch under different scenes, the state of finger-print switch include open state or Closed state;User model is obtained according to the state of finger-print switch under different scenes, and user model includes multiple scenes and every The state instruction of finger-print switch under a scene, state instruction are used to indicate that finger-print switch is in the open state or closed state;Root According to the scene that user model and user are presently in, determination opens or closes finger-print switch.
In a kind of possible design method, electronic equipment is specifically used for executing: in the first preset time, user is the The frequency that electronic equipment is unlocked under one scene is greater than or equal to preset threshold, it is determined that the state of finger-print switch is under the first scene Open state;In first preset time, the frequency that user unlocks electronic equipment under the first scene is less than preset threshold, then really The state of finger-print switch is in off state under fixed first scene.
In a kind of possible design method, electronic equipment is specifically used for executing: according to finger-print switch under different scenes State is chosen and the matched user model of user from multiple user models for user;User model are as follows: in multiple user models Scene and state instruction and different scenes under finger-print switch the highest user model of state matching degree.
In a kind of possible design method, electronic equipment is specifically used for executing: when the scene and use that user is presently in The second scene matching in the model of family, the state instruction of finger-print switch is used to indicate finger-print switch and is in opening state under the second scene State then opens finger-print switch;Refer to when under the second scene matching in the scene and user model that user is presently in, the second scene The state instruction of line switch is used to indicate finger-print switch and is in close state, then closes finger-print switch.
In a kind of possible design method, electronic equipment is also used to execute: in the second preset time, user is The frequency that electronic equipment is unlocked under three scenes is greater than or equal to preset threshold, and the state instruction in user model under third scene is State instruction under third scene in user model is then updated to open state by closed state;In the second preset time, The frequency that user unlocks electronic equipment under third scene is less than preset threshold, the state instruction in user model under third scene For open state, then the state instruction update under third scene in user model is in off state.
In a kind of possible design method, ambient condition, User Status when scene includes user using electronic equipment, At least one of equipment state and time interval.
In a kind of possible design method, when the state instruction under the 4th scene in user model is in off state, User is then received to the pressing operation of the power button of electronic equipment, then it is in the open state to trigger finger-print switch, receives user Unlocked by fingerprint operation to electronic equipment.
The third aspect, provides a kind of chip system, and chip system is applied to electronic equipment;Chip system includes one or more A interface circuit and one or more processors;Interface circuit and processor are interconnected by route;Interface circuit is used for from electronics The memory of equipment receives signal, and sends signal to processor, and signal includes the computer instruction stored in memory;Work as place When managing device computer instructions, the method for electronic equipment execution first aspect and its any possible design method.
Fourth aspect, provides a kind of readable storage medium storing program for executing, which is characterized in that instruction is stored in readable storage medium storing program for executing, when When readable storage medium storing program for executing is run on an electronic device, so that electronic equipment executes first aspect and its any possible design side The method of formula.
5th aspect, a kind of computer program product is provided, which is characterized in that when computer program product on computers When operation, so that the method that computer executes first aspect and its any possible design method.
It is to be appreciated that the electronic equipment of any finger-print switch management of above-mentioned offer, system, readable storage medium storing program for executing and Computer program product is used to execute corresponding method presented above, and therefore, the attainable beneficial effect of institute can join The beneficial effect being admitted in corresponding method provided by text, details are not described herein again.
Detailed description of the invention
Figure 1A is the hardware structure diagram of electronic equipment provided by the embodiments of the present application;
Figure 1B is the software architecture diagram of electronic equipment provided by the embodiments of the present application;
Fig. 2 is a kind of data processing structure figure of the management method of finger-print switch provided by the embodiments of the present application;
Fig. 3 is a kind of flow diagram of the management method of finger-print switch provided by the embodiments of the present application;
Fig. 4 is a kind of interface schematic diagram of screen unlocked by fingerprint provided by the embodiments of the present application;
Fig. 5 is a kind of decision-tree model of user model for generating finger-print switch management provided by the embodiments of the present application;
Fig. 6 is a kind of electronic devices structure schematic diagram of the management of finger-print switch provided by the embodiments of the present application.
Specific embodiment
Hereinafter, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or Implicitly include one or more of the features.In the description of the present embodiment, unless otherwise indicated, the meaning of " plurality " is Two or more.
Before introducing embodiments herein, following introduction is done to the technology being related to first:
Unlock: the lock state of equipment is released.In embodiments herein, unlock can refer to prevent maloperation electronics from setting It is standby, and enter screen lock state, after successfully being unlocked by certain mode to electronic equipment, electronic equipment can just be grasped Make.The possible unlocking manner of electronic equipment includes: password unlock, recognition of face unlock, draw a design unlock and unlocked by fingerprint etc..
Unlocked by fingerprint: being a kind of unlocking manner that user identity is identified according to the finger print data of user.It uses for the first time, fingerprint Unlocking program can the finger print data to user carry out sampling typing, when needing to unlock, it is only necessary to according to the current finger print scanned The finger print data of data and record, which is scanned, to be compared, and lock screen is solved when comparing successfully.
Screen fingerprint: being a kind of design of concealed unlocked by fingerprint under screen, and the finger of user touches screen and specifies area When domain, the unlocking screen to electronic equipment may be implemented, also referred to as shield lower fingerprint.
Touch screen: also known as " touch screen ", " touch panel " are a kind of induction type liquid of the input signals such as receivable contact Crystal device, including touch sensor, when touch sensor receives the touch operation on screen, the tactile of touch screen is anti- Feedback system can drive various connection devices according to the formula of preprogramming, be substituted for mechanical push button panel, and by Liquid crystal display picture produces lively visual and sound effects.
Close to optical sensor: being a kind of device for perceiving object proximity ability using infrared reflection light, may include Light emitting diode (Light Emitting Diode, LED) and photodetector, such as light emitting diode can be infraluminescence two Pole pipe, when photodetector can be photodiode, electronic equipment launches outward infrared light by light emitting diode, uses photoelectricity Infrared external reflection light of the diode detection from neighbouring object, when detecting sufficient reflected light, can determine nearby has object; Otherwise it can determine nearby without object.
The embodiment of the present application provides a kind of management method of finger-print switch, and this method can be applied to the fingerprint of electronic equipment It unlocks in use process.Wherein, in this way, the setting for solving the switch of screen unlocked by fingerprint in the prior art it is unreasonable, The poor problem of flexibility can intelligently open screen unlocked by fingerprint module, i.e., intelligently manage touch screen and pass close to light The problem of opening and closing of sensor, power wastage caused by thus improving.Screen unlocked by fingerprint module is referred to as fingerprint Switch.
Illustratively, the electronic equipment in the embodiment of the present application can be mobile phone, tablet computer, desktop type, on knee, hand Hold computer, laptop, Ultra-Mobile PC (ultra-mobile personal computer, UMPC), Net book and cellular phone, personal digital assistant (personal digital assistant, PDA), wearable type electronics are set Standby, augmented reality (augmented reality, AR) virtual reality (virtual reality, VR) equipment etc. include fingerprint The equipment of unlock, the embodiment of the present application are not particularly limited the specific form of the electronic equipment.
It is described in detail below in conjunction with embodiment of the attached drawing to the embodiment of the present application.Figure 1A is please referred to, is this Shen Please embodiment provide a kind of electronic equipment 100 structural schematic diagram.As shown in Figure 1A, electronic equipment 100 may include: processing Device 110, external memory interface 120, internal storage 121, universal serial bus (universal serial bus, USB) Interface 130, charge management module 140, power management module 141, battery 142, antenna 1, antenna 2, mobile communication module 150, Wireless communication module 160, audio-frequency module 170, loudspeaker 170A, receiver 170B, microphone 170C, earphone interface 170D are passed Sensor module 180, key 190, motor 191, indicator 192, camera 193, display screen 194 and Subscriber Identity Module (subscriber identification module, SIM) card interface 195 etc..
Wherein, the sensor module 180 may include pressure sensor 180A, gyro sensor 180B, air pressure transmission Sensor 180C, Magnetic Sensor 180D, acceleration transducer 180E, range sensor 180F, close to optical sensor 180G, fingerprint is passed Sensor 180H, temperature sensor 180J, touch sensor 180K, ambient light sensor 180L and bone conduction sensor 180M etc. are passed Sensor.
It is understood that the structure of the present embodiment signal does not constitute the specific restriction to electronic equipment 100.Another In a little embodiments, electronic equipment 100 may include perhaps combining certain components than illustrating more or fewer components or tearing open Divide certain components or different component layouts.The component of diagram can be with hardware, and the combination of software or software and hardware is real It is existing.
Processor 110 may include one or more processing units, such as: processor 110 may include application processor (applicationprocessor, AP), modem processor, graphics processor (graphics processingunit, GPU), image-signal processor (image signal processor, ISP), controller, memory, Video Codec, number Word signal processor (digital signal processor, DSP), baseband processor and/or neural network processor (neural-network processing unit, NPU) etc..Wherein, different processing units can be independent device, It can integrate in one or more processors.
Controller can be nerve center and the command centre of electronic equipment 100.Controller can be according to instruction operation code And clock signal, operating control signal is generated, the control completing instruction fetch and executing instruction.
Memory can also be set in processor 110, for storing instruction and data.In some embodiments, processor Memory in 110 is cache memory.The memory can save the instruction that processor 110 is just used or is recycled Or data.If processor 110 needs to reuse the instruction or data, can be called directly from the memory.It avoids Repeated access, reduces the waiting time of processor 110, thus improves the efficiency of system.
In some embodiments, processor 110 may include one or more interfaces.Interface may include integrated circuit (inter-integratedcircuit, I2C) interface, integrated circuit built-in audio (inter-integrated circuit Sound, I2S) interface, pulse code modulation (pulse code modulation, PCM) interface, universal asynchronous receiving-transmitting transmitter (universal asynchronous receiver/transmitter, UART) interface, mobile industry processor interface (mobile industryprocessor interface, MIPI), universal input export (general-purpose input/ Output, GPIO) interface, Subscriber Identity Module (subscriber identitymodule, SIM) interface and/or general string Row bus (universal serial bus, USB) interface etc..
It is understood that the interface connection relationship of each intermodule of the present embodiment signal, only schematically illustrates, not Constitute the structure qualification to electronic equipment 100.In further embodiments, electronic equipment 100 can also use above-described embodiment The combination of middle different interface connection type or multiple interfaces connection type.
Charge management module 140 is used to receive charging input from charger.Wherein, charger can be wireless charger, It is also possible to wired charger.In the embodiment of some wired chargings, charge management module 140 can pass through usb 1 30 Receive the charging input of wired charger.In the embodiment of some wireless chargings, charge management module 140 can pass through electronics The Wireless charging coil of equipment 100 receives wireless charging input.While charge management module 140 is that battery 142 charges, may be used also To be power electronic equipment by power management module 141.
Power management module 141 is for connecting battery 142, charge management module 140 and processor 110.Power management mould Block 141 receives the input of battery 142 and/or charge management module 140, is processor 110, internal storage 121, external storage Device, display screen 194, the power supply such as camera 193 and wireless communication module 160.Power management module 141 can be also used for monitoring Battery capacity, circulating battery number, the parameters such as cell health state (electric leakage, impedance).In some other embodiment, power supply pipe Reason module 141 also can be set in processor 110.In further embodiments, power management module 141 and Charge Management mould Block 140 also can be set in the same device.
The wireless communication function of electronic equipment 100 can pass through antenna 1, antenna 2, mobile communication module 150, wireless communication Module 160, modem processor and baseband processor etc. are realized.
Antenna 1 and antenna 2 electromagnetic wave signal for transmitting and receiving.Each antenna in electronic equipment 100 can be used for covering Cover single or multiple communication bands.Different antennas can also be multiplexed, to improve the utilization rate of antenna.Such as: it can be by antenna 1 It is multiplexed with the diversity antenna of WLAN.In other embodiments, antenna can be used in combination with tuning switch.
Mobile communication module 150, which can provide, applies wirelessly communicating on electronic equipment 100 including 2G/3G/4G/5G etc. Solution.Mobile communication module 150 may include at least one filter, switch, power amplifier, low-noise amplifier (low noise amplifier, LNA) etc..Mobile communication module 150 can receive electromagnetic wave by antenna 1, and to received electricity Magnetic wave is filtered, and the processing such as amplification is sent to modem processor and is demodulated.
Mobile communication module 150 can also amplify the modulated signal of modulated demodulation processor, switch to electricity through antenna 1 Electromagnetic wave radiation is gone out.In some embodiments, at least partly functional module of mobile communication module 150 can be arranged at processing In device 110.In some embodiments, at least partly functional module of mobile communication module 150 can be with processor 110 at least Part of module is arranged in the same device.
Modem processor may include modulator and demodulator.Wherein, modulator is used for low frequency base to be sent Band signal is modulated into high frequency signal.Demodulator is used to received electromagnetic wave signal being demodulated into low frequency baseband signal.Channel radio It includes WLAN (wireless local area that letter module 160, which can be provided and be applied on electronic equipment 100, Networks, WLAN) (such as Wireless Fidelity (wireless fidelity, Wi-Fi) network), bluetooth (bluetooth, BT), entirely Ball navigational satellite system (global navigation satellite system, GNSS), frequency modulation (frequency Modulation, FM), the short distance wireless communication technology (near field communication, NFC), infrared technique The solution of wireless communications such as (infrared, IR).
Wireless communication module 160 can be integrated into one or more devices of a few Communications Processor Module.Channel radio Believe that module 160 receives electromagnetic wave via antenna 2, by electromagnetic wave signal frequency modulation and filtering processing, signal is sent by treated To processor 110.Wireless communication module 160 can also receive signal to be sent from processor 110, carry out frequency modulation to it, put Greatly, switch to electromagenetic wave radiation through antenna 2 to go out.
Electronic equipment 100 realizes display function by GPU, display screen 194 and application processor etc..GPU is at image The microprocessor of reason connects display screen 194 and application processor.GPU is calculated for executing mathematics and geometry, is used for figure wash with watercolours Dye.Processor 110 may include one or more GPU, execute program instructions to generate or change display information.
Display screen 194 is for showing image, video etc..The display screen 194 includes display panel.Display panel can use Liquid crystal display (liquid crystal display, LCD), Organic Light Emitting Diode (organic light-emitting Diode, OLED), active matrix organic light-emitting diode or active-matrix organic light emitting diode (active-matrix Organic light emitting diode, AMOLED), Flexible light-emitting diodes (flex light-emitting Diode, FLED), Miniled, MicroLed, Micro-oLed, light emitting diode with quantum dots (quantum dot light Emitting diodes, QLED) etc..
Electronic equipment 100 can be by ISP, camera 193, Video Codec, GPU, display screen 194 and at It manages device etc. and realizes shooting function.
ISP is used to handle the data of the feedback of camera 193.
Camera 193 is for capturing still image or video.
Video Codec is used for compression of digital video or decompression.NPU be neural network (neural-network, NN) computation processor, by using for reference transfer mode between biological neural network structure, such as reference human brain neuron, to input Information fast processing, can also continuous self study.The application such as intelligent cognition of electronic equipment 100, example may be implemented by NPU Such as: image recognition, recognition of face, speech recognition, text understanding etc..
External memory interface 120 can be used for connecting external memory card, such as Micro SD card, realize that extension electronics is set Standby 100 storage capacity.External memory card is communicated by external memory interface 120 with processor 110, realizes that data store function Energy.Such as by music, the files such as video are stored in external memory card.
Internal storage 121 can be used for storing computer executable program code, and the executable program code includes Instruction.Processor 110 is stored in the instruction of internal storage 121 by operation, thereby executing the various functions of electronic equipment 100 Using and data processing.For example, in the embodiment of the present application, processor 110 can be stored in internal storage by executing Instruction in 121, internal storage 121 may include storing program area and storage data area.
Wherein, storing program area can storage program area, (for example sound plays application program needed at least one function Function, image player function etc.) etc..Storage data area can store created in 100 use process of electronic equipment data (such as Audio data, phone directory etc.) etc..In addition, internal storage 121 may include high-speed random access memory, can also include Nonvolatile memory, for example, at least a disk memory, flush memory device, generic flash memory (universal Flash storage, UFS) etc..
Electronic equipment 100 can pass through audio-frequency module 170, loudspeaker 170A, receiver 170B, microphone 170C, earphone Interface 170D and application processor etc. realize audio-frequency function.Such as music, recording etc..
Pressure signal can be converted into electric signal for experiencing pressure signal by pressure sensor 180A.In some implementations In example, pressure sensor 180A be can be set in display screen 194.There are many type of pressure sensor 180A, such as resistive pressure Sensor, inductance pressure transducer, capacitance pressure transducer, etc..Capacitance pressure transducer, can be including at least two Parallel-plate with conductive material.When effectively acting on pressure sensor 180A, the capacitor between electrode changes.Electronic equipment 100 determine the intensity of pressure according to the variation of capacitor.When there is touch operation to act on display screen 194, electronic equipment 100 is according to pressure Force snesor 180A detects the touch operation intensity.Electronic equipment 100 can also be believed according to the detection of pressure sensor 180A Number calculate touch position.In some embodiments, identical touch location, but the touch behaviour of different touch operation intensity are acted on Make, different operational orders can be corresponded to.Such as: when the touch operation for having touch operation intensity to be less than first pressure threshold value acts on When short message application icon, the instruction for checking short message is executed.When have touch operation intensity be greater than or equal to first pressure threshold When the touch operation of value acts on short message application icon, the instruction of newly-built short message is executed.
Gyro sensor 180B is determined for the athletic posture of electronic equipment 100.It in some embodiments, can be with Determine that electronic equipment 100 surrounds the angular speed of three axis (that is, x, y and z-axis) by gyro sensor 180B.Gyro sensors Device 180B can be used for shooting stabilization.Illustratively, when pressing shutter, gyro sensor 180B detection electronic equipment 100 is trembled Dynamic angle goes out the distance that lens module needs to compensate according to angle calculation, camera lens is allowed to offset electronic equipment by counter motion Stabilization is realized in 100 shake.Gyro sensor 180B can be also used for navigating, somatic sensation television game scene.
Baroceptor 180C is for measuring air pressure.In some embodiments, electronic equipment 100 passes through baroceptor The atmospheric pressure value that 180C is measured calculates height above sea level, auxiliary positioning and navigation.
Magnetic Sensor 180D includes Hall sensor.Electronic equipment 100 can use Magnetic Sensor 180D flip cover skin The folding of set.In some embodiments, when electronic equipment 100 is liding machine, electronic equipment 100 can be according to Magnetic Sensor The folding of 180D flip cover.And then according to the folding condition of the leather sheath detected or the folding condition of flip lid, setting flip lid is certainly The characteristics such as dynamic unlock.
Acceleration transducer 180E can detect the big of (the generally three axis) acceleration in all directions of electronic equipment 100 It is small.It can detect that size and the direction of gravity when electronic equipment 100 is static.It can be also used for identification electronic equipment posture, answer Switch for horizontal/vertical screen, the application such as pedometer.
Range sensor 180F, for measuring distance.Electronic equipment 100 can pass through infrared or laser distance measuring.In In some embodiments, photographed scene, electronic equipment 100 can use range sensor 180F ranging to realize rapid focus.
It may include such as light emitting diode (LED) and photodetector close to optical sensor 180G, such as photodetector can Think that photodiode, light emitting diode can be infrared light-emitting diode.Electronic equipment 100 passes through light emitting diode to outgoing Penetrate infrared light.Electronic equipment 100 detects the infrared external reflection light from neighbouring object using photodiode.It is sufficient when detecting When reflected light, it can determine that electronic equipment 100 nearby has object.When detecting insufficient reflected light, electronic equipment 100 can To determine electronic equipment 100 nearby without object.Electronic equipment 100 can use hand-held close to optical sensor 180G detection user Electronic equipment 100 is conversed close to ear, so that automatic distinguishing screen achievees the purpose that power saving.It also can be used close to optical sensor 180G In leather sheath mode, pocket pattern automatic unlocking and screen locking.
Ambient light sensor 180L is for perceiving environmental light brightness.Electronic equipment 100 can be according to the environment bright of perception Spend 194 brightness of automatic adjusument display screen.Automatic white balance adjustment when ambient light sensor 180L can also be used for taking pictures.Environment light Sensor 180L can also cooperate with close to optical sensor 180G, detect electronic equipment 100 whether in pocket.
Fingerprint sensor 180H is for acquiring fingerprint.The fingerprint characteristic that electronic equipment 100 can use acquisition realizes fingerprint Unlock accesses application lock, and fingerprint is taken pictures, fingerprint incoming call answering etc..In the embodiment of the present application, electronic equipment 100 can pass through A certain piece of region on display screen 194 is arranged in fingerprint sensor 180H, user receives the finger print information of user's input, realizes The function of screen unlocked by fingerprint.
Temperature sensor 180J is for detecting temperature.In some embodiments, electronic equipment 100 utilizes temperature sensor The temperature of 180J detection, executes Temperature Treatment strategy.For example, when the temperature sensor 180J temperature reported is more than threshold value, electronics Equipment 100 executes the performance for reducing the processor being located near temperature sensor 180J, implements Thermal protection to reduce power consumption.In In other embodiments, when temperature is lower than another threshold value, electronic equipment 100 heats battery 142, leads to electricity to avoid low temperature The abnormal shutdown of sub- equipment 100.In some other embodiment, when temperature is lower than another threshold value, electronic equipment 100 is to battery 142 output voltage executes boosting, to avoid shutting down extremely caused by low temperature.
Touch sensor 180K, also referred to as " touch panel ".Touch sensor 180K can be set in display screen 194, by touching It touches sensor 180K and display screen 194 forms touch screen, also referred to as " touch screen ".Touch sensor 180K acts on it for detecting On or near touch operation.The touch operation that touch sensor can will test passes to application processor, to determine touching Touch event type.Visual output relevant to touch operation can be provided by display screen 194.In further embodiments, it touches Touching sensor 180K also can be set in the surface of electronic equipment 100, different from the location of display screen 194.
In the embodiment of the present application, electronic equipment 100 can detect that user is defeated in touch screen by touch sensor 180K The touch operation entered, and acquire the position of touch of the touch operation on the touchscreen, touch-control area, touch-control direction and touch-control It is one or more in time etc.;Electronic equipment 100 can also be combined by touch sensor 180K and pressure sensor 180A Get up, determines touch operation in the position of touch of touch screen.
Key 190 includes power button, volume key etc..Key 190 can be mechanical key.It is also possible to touch-key. Electronic equipment 100 can receive key-press input, generate key letter related with the user setting of electronic equipment 100 and function control Number input.
Motor 191 can produce vibration prompt.Motor 191 can be used for calling vibration prompt, can be used for touching vibration Dynamic feedback.For example, acting on the touch operation of different application (such as taking pictures, audio broadcasting etc.), different vibrations can be corresponded to Feedback effects.The touch operation of 194 different zones of display screen is acted on, motor 191 can also correspond to different vibrational feedback effects. Different application scenarios (such as: time alarm receives information, alarm clock, game etc.) different vibrational feedback effects can also be corresponded to Fruit.Touch vibrational feedback effect can also be supported customized.
Indicator 192 can be indicator light, can serve to indicate that charged state, electric quantity change can be used for instruction and disappear Breath, missed call, notice etc..
SIM card interface 195 is for connecting SIM card.SIM card can be by being inserted into SIM card interface 195, or from SIM card interface 195 extract, and realization is contacting and separating with electronic equipment 100.Electronic equipment 100 can support 1 or N number of SIM card interface, N For the positive integer greater than 1.SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card etc..
The software systems of electronic equipment 100 can use layer architecture, event-driven framework, micronucleus framework, micro services frame Structure or cloud framework.The embodiment of the present invention by taking the android system of layer architecture as an example, exemplary illustration electronic equipment 100 it is soft Part structure.
Figure 1B is the software architecture diagram of the electronic equipment 100 of the embodiment of the present invention.
Software is divided into several layers by layer architecture, and each layer has clearly role and the division of labor.Pass through between layers Software interface communication.In some embodiments, android system is divided into four layers, from top to bottom respectively application layer, answered With process block rack-layer, (Android runtime) and system library and inner nuclear layer when Android is run.
Application layer may include a series of application packages.
As shown in Figure 1B, application package may include camera, picture library, calendar, call, map, navigation, WLAN, bluetooth, Music, video, the application programs such as short message and system setting.
Application framework layer provides Application Programming Interface (application for the application program of application layer Programming interface, API) and programming framework.Application framework layer includes some functions predetermined.
As shown in Figure 1B, application framework layer may include window manager, Content Provider, view system, phone Manager, resource manager, notification manager etc..
Window manager is for managing window writing routine.The available display screen size of window manager, judges whether there is shape State column, lock-screen, screen printing etc..
Content Provider is used to store and obtains data, and accesses these data by application program.The data It may include video, image, audio, the phone dialed and answered, browsing history and bookmark, telephone directory etc..
View system includes visible controls, such as the control of display text, shows the control etc. of picture.View system is available In building application program.What display interface can be made of one or more views.E.g., including the display of short massage notice icon Interface may include the view for showing text and the view for showing picture.
Android Runtime includes core library and virtual machine.Android runtime be responsible for Android system scheduling and Management.
Core library includes two parts: a part is the power function that java language needs to call, and another part is Android Core library.
Application layer and application framework layer operate in virtual machine.Virtual machine is by application layer and application program It is binary file that the java file of ccf layer, which executes,.Virtual machine is used to execute the management of Object Life Cycle, stack management, line Thread management, safety and the functions such as abnormal management and garbage reclamation.
System library may include multiple functional modules.Such as: surface manager (surface manager), media library (Media Libraries), three-dimensional graph process library (such as: OpenGL ES), 2D graphics engine (such as: SGL) etc..
Surface manager provides 2D and 3D figure layer for being managed to display subsystem for multiple application programs Fusion.
Media library supports a variety of common audios, video format playback and recording and static image file etc..Media library It can support a variety of audio/video coding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG etc..
Three-dimensional graph process library is for realizing 3-D graphic drawing, image rendering, synthesis and figure layer process etc..
2D graphics engine is the drawing engine that 2D draws.
Inner nuclear layer is the layer between hardware and software.Inner nuclear layer includes at least display driving, webcam driver, and audio is driven It is dynamic, sensor driving.
Method in following embodiment can be real in the electronic equipment 100 with above-mentioned hardware configuration and software configuration It is existing.In following embodiment by taking above-mentioned electronic equipment 100 is mobile phone as an example, the method for the embodiment of the present application is illustrated.
The embodiment of the present application provides a kind of management method of finger-print switch, as shown in Fig. 2, use of the electronic equipment according to record The data that family unlocks electronic equipment under different scenes are that user matches user model, so as to what is be presently according to user Finger-print switch setting in scene and user model, determination open or close finger-print switch.Its whole data processing structure can Think as shown in Fig. 2, including data record and pretreatment, matching user model updates these treatment processes of user model.Its In, data record and pretreatment and including record user whithin a period of time using electronic equipment when and User Status, set Standby state, ambient condition and temporal information, these states and information may be constructed user's unlocked state, to be unlocked according to user State matches user model from preset model for user.After being matched to user model, it can be presently according to user Various states carry out User Status matching, are arranged according to the unlock under the User Status being matched to, are opened the fingerprint of electronic equipment Put the setting that row opens or closes accordingly into.In the use process that electronic equipment is user's progress unlocked by fingerprint setting, electricity Sub- equipment persistently records the unlock data of user, unlocks frequency and predeterminated frequency threshold value under different scene selections according to user Comparison, carry out dynamically updating user model as needed, thus realize more with more accurate unlocked by fingerprint be arranged.
As shown in figure 3, this method may include 301-304:
This method may include 301-304:
301: electronic equipment records the frequency that user in the first preset time unlocks electronic equipment under different scenes;According to The frequency and preset threshold determine the state of finger-print switch under different scenes.
Wherein, the first preset time is that user begins to use a period of time of mobile phone after typing fingerprint, such as can record Three days after entering fingerprint or one week.It is also possible to user in typing fingerprint, and opens one section after screen finger-print switch function Time, after screen finger-print switch function enables, electronic equipment can execute the method and step in the present embodiment.
Specifically, mobile phone can recorde user's habit data when user is using mobile phone in the first preset time.Wherein, it uses Family habit data mainly include the data that user unlocks unlocked state under the scene and scene of mobile phone using the mode of any unlock It recording, in the embodiment of the present application, the scene for unlocking mobile phone for example may include scene of the user using screen unlocked by fingerprint mobile phone, The interface schematic diagram of screen unlocked by fingerprint as shown in Figure 4.
Wherein, the scene for unlocking mobile phone may include ambient condition, User Status, equipment state and time interval (time Information) etc. information record at least one of.For example, ambient condition may include the location information of user, such as location information Indicate user at home, in company or outdoors;User Status may include sleep, walk, running or other moving types State;Equipment state may include laid-flat status, user holding state and the state for being placed on pocket etc.;Time interval can be use Family is in the period under a kind of ambient condition, User Status and equipment state.The state of above-mentioned finger-print switch may include out Open state or closed state.
Each parameter that above-mentioned user is accustomed in data can be indicated in a manner of binary, such as unlocked state is "Yes" is denoted as 1, and unlocked state is "No", is denoted as 0;When ambient condition is family, it is denoted as 00, when ambient condition is company, is denoted as 01, when ambient condition is outdoor, it is denoted as 10.User Status can use similar representation with equipment state.
In some possible embodiments, the unlock frequency representation unlocked state in record time interval can also be passed through. The unlock frequency can be used to indicate that in a scenario user unlocks the frequency of electronic equipment.It, can be pre- in the embodiment of the present application Whether the preset threshold of first setting unlock frequency, record unlock frequency are higher than the preset threshold.I.e. preset threshold can be electronics Equipment is arranged according to the frequency unlocked under user's different scenes, and whether the height that can be used for judging unlocking frequency is more than to need It is set as the threshold value of the state of finger-print switch unlatching.
It specifically can be set are as follows: in the first preset time, user unlocks the frequency of electronic equipment under the first scene More than or equal to preset threshold, it is determined that the state of finger-print switch is open state under the first scene;In first preset time, The frequency that user unlocks electronic equipment under first scene is less than preset threshold, it is determined that finger-print switch under the first scene State is in off state.
Illustratively, when user opens screen finger-print switch function, mobile phone start recording for a period of time in user upper Unlocked state under each scene stated, i.e., under above-mentioned various scenes, mobile phone be can detecte in regular hour section, be used Whether family has a unlock mobile phone under different usage scenarios, and records the unlock frequency under different scenes, which can be with For the number (secondary/h) for using screen unlocked by fingerprint mobile phone per hour.For example, user is in the detection time section of mobile phone, it is a certain Mobile phone is not unlocked using the mode of screen fingerprint authentication under scene, the unlock frequency of the scene is denoted as 0, is lower than preset threshold 2 times/h, then the state of finger-print switch is in off state under the scene;When user is under a certain scene, mobile phone detection time section In 12:00-13:00, finger pressing screen unlocked by fingerprint region is detected 1 time, press power button to light screen, shielded Curtain unlocked by fingerprint 1 time, then it is 2 times/h that mobile phone, which records the unlock number of the scene, is equal to 2 times/h of preset threshold, then under the scene The state of finger-print switch is open state.For example, the scene for the user fingerprints unlock that mobile phone is detected and recorded whithin a period of time As shown in table 1 with unlocked state (unlock frequency and whether be higher than preset threshold):
Table 1
Further, mobile phone can obtain hand according to the various sensors in the sensor module 180 in above-mentioned Figure 1A Ambient condition, User Status and the equipment state of machine.
Wherein, the living arrangement daily according to general user, user need to go to work, wait be in and outdoors.Therefore, mobile phone Locating ambient condition can be obtained by the GPS positioning of mobile phone, or be determined by the network state of connection.For example, It can determine that ambient condition locating for user mobile phone long-time on daytime is the company of user according to GPS positioning, it can be according to mobile phone The family WIFI being usually connected to determines that the ambient condition of mobile phone is medium in the family of user.
It in some embodiments, can be by the acceleration transducer of mobile phone come detection device state and User Status, root According to the acceleration magnitude on the mobile phone detected in all directions (usually three directions of three-dimensional space), it can calculate and sell The size and Orientation of machine gravity determines that equipment state is laid-flat status or holding and equipment state either with or without changing with this Become, can also determine that User Status is to run or walk etc. using acceleration transducer.
In some embodiments, ambient condition can also be detected by the ambient light sensor of mobile phone, such as according to perception Environmental light brightness determine that user is in indoor or outdoor, or according to ambient light sensor and matching close to optical sensor It closes, whether detection device state is in pocket.
In some embodiments, mobile phone can judge that User Status is activity according to current time section and equipment state State or sleep state, for example, acceleration transducer detects equipment state when mobile phone detects that current time is 02:00 For laid-flat status, and when ambient light sensor detects current environmental light brightness lower than a certain threshold value, it can be determined that active user State is sleep state.
Further, User Status can also include cycling, driving, take high-speed rail, aircraft etc., and ambient condition can also wrap Gymnasium, tourist attractions, interior or outdoor etc. are included, the application is not specifically limited in this embodiment.
In conjunction with the software architecture of electronic equipment above-mentioned, the above method can pass through order instruction application layer for system Screen unlocked by fingerprint module, call the Content Provider of application framework layer, the user got to hardware device is accustomed to Data are stored.
302: user model is obtained according to the state of finger-print switch under different scenes.
It is accustomed to data according to the user recorded in a period of time, mobile phone can be user according to the use habit of user With suitable user model.Wherein, the user model can in the user model for preset multiple finger-print switchs in mobile phone, with The immediate model of user's use habit.Electronic equipment can also generate user model according to the use habit data of user.
The user model is the model of cell phone managing finger-print switch, and the rule being turned on or off including screen fingerprint is set It sets, can specifically include the state instruction of finger-print switch under multiple scenes and each scene, which is used to indicate finger Line switchs in the open state or closed state.I.e. screen fingerprint can be arranged according to the scene in the user model in mobile phone It opens and closes.For example, the user model includes, sleep state closes finger-print switch, then when mobile phone detects that current time is 02:00, and equipment state be laid-flat status when, mobile phone is set as closing finger-print switch, then the finger-print switch close shape Under state, user clicks screen unlocked by fingerprint region, and mobile phone does not respond to, and user needs first to press power button when unlocking mobile phone To open finger-print switch, or can by other means, such as input verifying password unlocks mobile phone.For another example user's mould Type includes that user hand shakes hands and opens finger-print switch in the state of machine, then mobile phone detects that equipment state changes into user hand and shakes hands machine When, finger-print switch is set on state, then user clicks screen unlocked by fingerprint region, can trigger mobile phone and carry out fingerprint solution The verifying of lock.
Further, preset multiple user models generate can for mobile phone or provide cloud service cloud device it is logical What excessive statistical data acquistion was arrived.It is specifically as follows, the user by obtaining magnanimity unlocks the record data of mobile phone, to magnanimity Data utilize learning algorithm, cluster out user use screen unlocked by fingerprint various scenes, generate under various scenes, fingerprint The user model being turned on or off.Wherein, the learning algorithm for generating the user model of finger-print switch may include decision Tree algorithm.
Decision Tree algorithms are a kind of methods for approaching discrete function value, are a kind of typical classification methods, it is right first to need Data are handled, and readable rule and decision tree are generated using inductive algorithm, is then analyzed using decision new data.
The detailed process that user model is generated according to decision Tree algorithms may include being determined according to inductive algorithm multiple by suitable The Rule of judgment of sequence arrangement, each Rule of judgment have corresponding judging result;Rule of judgment includes that above-mentioned user is accustomed to number According to judging result is to turn off or on finger-print switch in the case where the user is accustomed to data.
Specifically, decision tree is applied to embodiments herein, so that it may by using screen fingerprint solution to user Recorded data is handled under the various scenes of lock, generates Decision Tree Rule, specially Rule of judgment using inductive algorithm With corresponding judging result, such as according to the data in above-mentioned table 1, following rule can be summarized as: under sleep state, if Unlock is no;Under running state, if it is no for unlocking;On foot and under holding state, if unlock and be yes.
If being accustomed to data according to the user in above-mentioned table 1 generates decision tree, can be as shown in Figure 5.First judge user's shape Whether state is sleep state, if it is, finger-print switch is closed, if it is not, then judging whether User Status is running state, such as Fruit is then to close finger-print switch, if it is not, then judge whether equipment state is holding state, if so, finger-print switch is opened, If it is not, then closing finger-print switch etc..
Then, it is stored the decision tree as user model in memory, mobile phone can be according to the user model to new The user of acquisition is accustomed to data and judges, that is, according to above-mentioned judgment rule, the opening and closing shape of finger-print switch is arranged State.
Further, the learning algorithm of the user model of finger-print switch is generated in addition to decision Tree algorithms, can also utilize branch Hold vector machine (Support Vector Machine, SVM) and deep learning algorithm etc..The application is not especially limited this.
Support vector machines is a kind of generalized linear classifier that by supervised learning mode data are carried out with binary classification, is determined Plan boundary is the maximum back gauge hyperplane solved to learning sample.
Deep learning algorithm is one of technology and research field of machine learning, has the artificial of hierarchical structure by establishing Neural network (Artifitial Neural Networks, ANNs), ANN successively can be extracted and be sieved to input information Choosing, therefore deep learning has representative learning (representation learning) ability, may be implemented to supervise end to end Study and unsupervised learning, to realize artificial intelligence in computing systems.
In embodiments herein, mobile phone can be accustomed to the state of finger-print switch under different scenes in data according to user It compares with preset user model, is chosen and the matched user model of user from multiple user models for user.
It specifically can be according to finger-print switch under the scene and state instruction and different scenes calculated in multiple user models The highest user model of state matching degree is determined as the matched user model of user.For example, user is accustomed in data, user is walked Road and the state held, finger-print switch state recording are unlatching, and under the state, the switch state in user model is also out It opens, then matching degree is 1;User is accustomed in data, and user environment state is to be in, and equipment state is finger-print switch shape when laying flat State is recorded as opening, and under the state, the switch state in user model is to close, then matching degree is 0.Calculate user's mould All unlocked by fingerprint scenes in type are accustomed to the matching degree of data with corresponding user and sum.Select matching degree and most The matched user model of big conduct.In addition to this, there are also other matching primitives modes, and the embodiment of the present application is to specific meter Calculation mode is without limitation.
In some embodiments, user can also independently be selected according to the user model of the preset finger-print switch of mobile phone Setting or customized setting.For example, mobile phone can prompt user to carry out the setting of finger-print switch, preset user can be shown The power consumption condition of the setting rule and the model of model;User can also be supported to carry out customized setting user model, i.e. user It is customized by which usage scenario, be set as the unlatching of screen fingerprint;Other usage scenarios are set as screen fingerprint closing etc..
In conjunction with the software architecture of electronic equipment above-mentioned, the above method can be referred to for system by the screen of application layer Line unlocked state calls the relevant calculating function of application framework layer and system library, and the user that will acquire is accustomed to data Matching primitives are carried out with the unlocked by fingerprint scene in the pre-stored user model that provides in Content Provider, obtain user's mould Type.
303: the scene being presently according to user model and user, determination open or close finger-print switch.
The opening and closing of finger-print switch can be arranged according to user model and currently used state in mobile phone.It specifically can be with For when the state of finger-print switch under the second scene matching in the scene and user model that user is presently in, the second scene refers to Show that be used to indicate finger-print switch in the open state, then opens finger-print switch;When the scene and user model that user is presently in In the second scene matching, the state instruction of finger-print switch is used to indicate finger-print switch and is in close state under the second scene, then Close finger-print switch.
Illustratively, if user model is generated according to decision Tree algorithms, the process of specific matching setting can be with are as follows: Mobile phone puts in order according to the Rule of judgment in the user model of above-mentioned generation, as user of user when using electronic equipment It is accustomed to the first Rule of judgment of data fit, then electronic equipment executes the corresponding judging result of the first Rule of judgment;When user makes It is accustomed to data with the user in electronics device procedures and does not meet the first Rule of judgment, then electronic equipment continues to judge that user is accustomed to number According to whether meeting next Rule of judgment.
For example, user model such as Fig. 5 that current matching arrives, mobile phone execute the first above-mentioned Rule of judgment, judge user's shape Whether state is sleep state, if so, then closing finger-print switch;If not, executing the second Rule of judgment, whether User Status is judged For run state, if so, then closing finger-print switch;If not, executing third Rule of judgment, judge whether mobile phone state is holding State, if so, then opening finger-print switch.
It should be noted that the embodiment of the present application can pass through the system of the software configuration application layer to above-mentioned Figure 1B Setting application program improves, and extends original screen unlocked by fingerprint module, or increase the judgement mould of a unlocked by fingerprint Block is realized.
The opening and closing of finger-print switch are set, is specifically as follows system and passes through the screen fingerprint to software application layer Unlocked state sends a control command, by driving the associated drives of layer, to realize unlatching and the pass of relevant hardware device The control closed.
Specifically, the opening and closing of finger-print switch, it is main including touch sensor and close to optical sensor unlatching and It closes, when touch sensor and when being switched on close to optical sensor, can detecte mobile phone close to optical sensor nearby has object, And touch sensor can detecte the touch operation being applied to it, thus the finger of system trigger fingerprint sensor detection input Line data.When touch sensor and when all closing close to optical sensor, user's finger presses screen unlocked by fingerprint region, and mobile phone is simultaneously Unlock operation is not detected.
Further, the open state of finger-print switch refers to that user directly touch fingerprint release region can carry out fingerprint solution The verification operation of lock, wherein unlocked by fingerprint region can have the state obviously identified, be also possible to screen unlocked by fingerprint region and do not have There is the state of any mark, user's finger can touch any region of screen and be unlocked.The setting of distinct electronic apparatuses is different, The embodiment of the present application is not specifically limited in this embodiment.
The management method of finger-print switch provided by the embodiments of the present application, can be according to the use habit for not having to user, intelligence Ground matches different user models, to generate different finger-print switch settings.For example, same mobile phone makes to different users After certain time, under the same usage scenario, finger-print switch is provided with different results.For example, user A uses mobile phone A is under a certain scene, and such as running state and equipment state is under holding state, and from screen unlocked by fingerprint is not used, fingerprint is opened Off status is to close.Screen unlocked by fingerprint, after a period of time, same model is commonly used using mobile phone B in user B under the scene Mobile phone A and B under the scene, the state of finger-print switch is different.
304: when detecting unlock frequency variation of the user under a certain scene, then updating in user model under the scene State instruction.
The scene of the mobile phone record mobile phone of user's unlock each time, including user use the successful field of screen unlocked by fingerprint mobile phone Scape is referred to after user lights display screen using the scene and user's pressing power key of screen unlocked by fingerprint mobile phone failure using screen Line unlock or other unlocking manners open the usage scenario of mobile phone.In some embodiments, mobile phone can be according to the use of record Family unlocks the scene of mobile phone, and the scene for unlocking mobile phone with multiple users in user model compares, and unlocks hand according to user The variation of the frequency of airport scape, updates the user model of unlocked by fingerprint switch, that is, updates the user in the user model The setting of the corresponding finger-print switch of usage scenario.
Be specifically as follows: in the second preset time, the frequency that user unlocks electronic equipment under third scene is greater than Or it is equal to preset threshold, the state instruction in user model under third scene is in off state, then by third field in user model State instruction under scape is updated to open state;In the second preset time, user unlocks electronic equipment under third scene Frequency be less than preset threshold, the state instruction in user model under third scene is open state, then by user model the State instruction update under three scenes is in off state.
Wherein, the second preset time can be identical as the first preset time, can also be different, when being, for example, less than first default Between, as long as such as frequency from 0 become 1, more new model, be also possible to frequency greater than preset threshold and update user model again.This Application embodiment is not specifically limited in this embodiment.
Illustratively, the rule of the user model finger-print switch of certain mobile phone includes that User Status is running state and equipment State is to close finger-print switch under holding state, then when user is recorded once in running state and equipment state is hand in mobile phone It holds under state, attempts the data for carrying out screen unlocked by fingerprint, then mobile phone is according to the record, by the finger of the scene in user model Line switch is updated to open state by closed state.Next time, can be with when user is in the case where running state, equipment state are holding state Success uses screen unlocked by fingerprint mobile phone.In this case, the frequency of preset threshold is primary, naturally it is also possible to be that frequency reaches When multiple, user model is just updated.
In some embodiments, user model is carried out using the frequency height of screen unlocked by fingerprint scene according to user Update setting.For example, the User Status in user model is running state by mobile phone, and equipment state is fingerprint under holding state Switch is set on state, is accustomed to data record through user after a period of time, it is found that user is referred to using screen under the scene The frequency that line unlocks mobile phone is very low, and is lower than a preset threshold value, then the setting update of the scene is in off state by mobile phone.
The management method of finger-print switch provided by the embodiments of the present application, can be according to the change of user's use habit, intelligence Ground updates user model, to update the setting of finger-print switch.For example, user is using mobile phone A in running state and equipment state Mobile phone unlock is carried out for screen fingerprint under holding state, is always not used.Certain is primary, when which uses the mobile phone A, is running State and equipment state are to light mobile phone screen by power key under holding state, unlock mobile phone using fingerprint authentication, then under observing Once under same usage scenario, running state and equipment state are that the state of finger-print switch under holding state is updated to out It opens.
User is used the usage scenario of screen unlocked by fingerprint by the embodiment of the present application, is calculated by clustering with certain study Method generates the user model for using screen unlocked by fingerprint, and can adaptively update this according to the use habit for not having to user User model, allows use habit of the mobile phone by the user model according to different user, and screen fingerprint is intelligently arranged The opening and closing of unlock to realize the intelligent opening of screen unlocked by fingerprint, and can solve the big problem of power consumption, be promoted User experience.
Other embodiments of the application provide a kind of electronic equipment, which may include: memory and one Or multiple processors, the memory and processor coupling.The memory is for storing computer program code, the computer program Code includes computer instruction.When processor computer instructions, electronic equipment be can be performed in above method embodiment Each function or step.The structure of the electronic equipment can refer to the structure of electronic equipment 100 shown in figure 1A.
The embodiment of the present application also provides a kind of chip system, as shown in fig. 6, the chip system includes at least one processor 601 and at least one interface circuit 602.Processor 601 and interface circuit 602 can be interconnected by route.For example, interface circuit 602 can be used for receiving signal from other devices (such as memory of electronic equipment).In another example interface circuit 602 can be used for Other devices (such as processor 601) send signal.Illustratively, the instruction stored in the readable access to memory of interface circuit 602, And the instruction is sent to processor 601.When described instruction is executed by processor 601, it is above-mentioned to may make that electronic equipment executes The each function or step that electronic equipment executes in embodiment.Certainly, which can also include other discrete devices, The embodiment of the present application is not especially limited this.
The embodiment of the present application also provides a kind of computer storage medium, which includes computer instruction, When the computer instruction is run on above-mentioned electronic equipment, so that the electronic equipment executes mobile phone in above method embodiment The each function or step executed.
The embodiment of the present application also provides a kind of computer program product, when the computer program product is transported on computers When row, so that the computer executes each function or step that mobile phone executes in above method embodiment.
By the description of embodiment of above, it is apparent to those skilled in the art that, for the side of description Just and succinctly, only the example of the division of the above functional modules, in practical application, can according to need and will be above-mentioned Function distribution is completed by different functional modules, i.e., the internal structure of device is divided into different functional modules, with complete with The all or part of function of upper description.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the module or unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It may be combined or can be integrated into another device, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown can be a physical unit or multiple physical units, it can and it is in one place, or may be distributed over Multiple and different places.Some or all of unit therein can be selected to realize this embodiment scheme according to the actual needs Purpose.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in 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 read/write memory medium.Based on this understanding, the technical solution of the embodiment of the present application is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that an equipment (can be list Piece machine, chip etc.) or processor (processor) execute each embodiment the method for the application all or part of the steps. And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (read only memory, ROM), arbitrary access are deposited The various media that can store program code such as reservoir (random access memory, RAM), magnetic or disk.
The above content, the only specific embodiment of the application, but the protection scope of the application is not limited thereto, it is any Change or replacement within the technical scope of the present application should all be covered within the scope of protection of this application.Therefore, this Shen Protection scope please should be based on the protection scope of the described claims.

Claims (17)

1. a kind of management method of finger-print switch is applied to electronic equipment, which is characterized in that the described method includes:
Record the frequency that user in the first preset time unlocks the electronic equipment under different scenes;
According to the frequency and preset threshold, the state of the finger-print switch under different scenes, the shape of the finger-print switch are determined State includes open state or closed state;
According to the state of finger-print switch described under the different scenes obtain user model, user model include multiple scenes and The state instruction of the finger-print switch under each scene, the state instruction are used to indicate the finger-print switch and are in the unlatching State or the closed state;
According to the scene that the user model and user are presently in, determination opens or closes the finger-print switch.
2. the method according to claim 1, wherein described according to the frequency and preset threshold, determining difference The state of the finger-print switch includes: under scene
In first preset time, the frequency that the user unlocks the electronic equipment under the first scene is greater than or equal to The preset threshold, it is determined that the state of the finger-print switch is the open state under first scene;
In first preset time, the frequency that the user unlocks the electronic equipment under first scene is less than institute State preset threshold, it is determined that the state of the finger-print switch is the closed state under first scene.
3. method according to claim 1 or 2, which is characterized in that described to be opened according to fingerprint described under the different scenes The state of pass obtains user model
According to the state of finger-print switch described under the different scenes, from multiple user models be the user choose with it is described The matched user model of user;
The user model are as follows: described under the scene and the state instruction and the different scenes in the multiple user model The highest user model of state matching degree of finger-print switch.
4. method according to claim 1-3, which is characterized in that described according to the user model and described The scene that user is presently in determines that the finger-print switch is opened or closed under the scene that the user is presently in includes:
When described under the scene that the user is presently in and the second scene matching in the user model, second scene The state instruction of finger-print switch is used to indicate the finger-print switch and is in the open state, then opens the finger-print switch;
When described under the scene that the user is presently in and the second scene matching in the user model, second scene The state instruction of finger-print switch is used to indicate the finger-print switch and is in the closed state, then closes the finger-print switch.
5. according to the method described in claim 2, it is characterized in that, the method also includes:
In the second preset time, the frequency that the user unlocks the electronic equipment under third scene is greater than or equal to institute Preset threshold is stated, the state instruction under third scene described in the user model is in off state, then by the user The state instruction under third scene described in model is updated to the open state;
In the second preset time, the frequency that the user unlocks the electronic equipment under third scene is less than described default Threshold value, the state instruction under third scene described in the user model are open state, then will be in the user model The state instruction under the third scene is updated to the closed state.
6. the method according to claim 1, wherein the scene includes that the user uses the electronic equipment When at least one of ambient condition, User Status, equipment state and time interval.
7. according to claim 1,2,5 described in any item methods, which is characterized in that when the 4th scene in the user model Under the state instruction be the closed state, and receive the user and the pressing of the electronic equipment power button grasped Make, then trigger the finger-print switch and be in the open state, receives the user and the unlocked by fingerprint of the electronic equipment is grasped Make.
8. a kind of electronic equipment, which is characterized in that the electronic equipment includes processor and storage connected to the processor Device, the memory for storing instruction, when described instruction is executed by the processor, so that the electronic equipment is for holding Row:
Record the frequency that user in the first preset time unlocks the electronic equipment under different scenes;
According to the frequency and preset threshold, the state of finger-print switch under different scenes, the state packet of the finger-print switch are determined Include open state or closed state;
According to the state of finger-print switch described under the different scenes obtain user model, user model include multiple scenes and The state instruction of the finger-print switch under each scene, the state instruction are used to indicate the finger-print switch and are in the unlatching State or the closed state;
According to the scene that the user model and user are presently in, determination opens or closes the finger-print switch.
9. electronic equipment according to claim 8, which is characterized in that the electronic equipment is specifically used for executing:
In first preset time, the frequency that the user unlocks the electronic equipment under the first scene is greater than or equal to The preset threshold, it is determined that the state of the finger-print switch is the open state under first scene;
In first preset time, the frequency that the user unlocks the electronic equipment under first scene is less than institute State preset threshold, it is determined that the state of the finger-print switch is the closed state under first scene.
10. electronic equipment according to claim 8 or claim 9, which is characterized in that the electronic equipment is specifically used for executing:
According to the state of finger-print switch described under the different scenes, from multiple user models be the user choose with it is described The matched user model of user;
The user model are as follows: described under the scene and the state instruction and the different scenes in the multiple user model The highest user model of state matching degree of finger-print switch.
11. according to the described in any item electronic equipments of claim 8-10, which is characterized in that the electronic equipment is specifically used for holding Row:
When described under the scene that the user is presently in and the second scene matching in the user model, second scene The state instruction of finger-print switch is used to indicate the finger-print switch and is in the open state, then opens the finger-print switch;
When described under the scene that the user is presently in and the second scene matching in the user model, second scene The state instruction of finger-print switch is used to indicate the finger-print switch and is in the closed state, then closes the finger-print switch.
12. electronic equipment according to claim 9, which is characterized in that the electronic equipment is also used to execute:
In the second preset time, the frequency that the user unlocks the electronic equipment under third scene is greater than or equal to institute Preset threshold is stated, the state instruction under third scene described in the user model is in off state, then by the user The state instruction under third scene described in model is updated to the open state;
In the second preset time, the frequency that the user unlocks the electronic equipment under third scene is less than described default Threshold value, the state instruction under third scene described in the user model are open state, then will be in the user model The state instruction under the third scene is updated to the closed state.
13. electronic equipment according to claim 8, which is characterized in that the scene includes that the user uses the electricity At least one of ambient condition, User Status, equipment state and time interval when sub- equipment.
14. according to the described in any item electronic equipments of claim 8,9,12, which is characterized in that when in the user model The state instruction under four scenes is the closed state, then receives the user to the power button of the electronic equipment Pressing operation then triggers the finger-print switch and is in the open state, receives the user to the fingerprint of the electronic equipment Unlock operation.
15. a kind of chip system, which is characterized in that the chip system is applied to electronic equipment;The chip system includes one A or multiple interface circuits and one or more processors;The interface circuit and the processor are interconnected by route;It is described Interface circuit is used to receive signal from the memory of the electronic equipment, and sends the signal, the letter to the processor It number include the computer instruction that stores in the memory;When the processor executes the computer instruction, the electronics Equipment executes the management method such as finger-print switch of any of claims 1-7.
16. a kind of readable storage medium storing program for executing, which is characterized in that be stored with instruction in the readable storage medium storing program for executing, readable deposited when described When storage media is run on an electronic device, so that the electronic equipment perform claim requires the described in any item finger-print switchs of 1-7 Management method.
17. a kind of computer program product, which is characterized in that when the computer program product is run on computers, make Obtain the management method that the computer perform claim requires the described in any item finger-print switchs of 1-7.
CN201910600053.XA 2019-07-04 2019-07-04 A kind of management method and device of finger-print switch Pending CN110493452A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910600053.XA CN110493452A (en) 2019-07-04 2019-07-04 A kind of management method and device of finger-print switch
PCT/CN2020/100167 WO2021000943A1 (en) 2019-07-04 2020-07-03 Method and apparatus for managing fingerprint switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910600053.XA CN110493452A (en) 2019-07-04 2019-07-04 A kind of management method and device of finger-print switch

Publications (1)

Publication Number Publication Date
CN110493452A true CN110493452A (en) 2019-11-22

Family

ID=68546587

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910600053.XA Pending CN110493452A (en) 2019-07-04 2019-07-04 A kind of management method and device of finger-print switch

Country Status (2)

Country Link
CN (1) CN110493452A (en)
WO (1) WO2021000943A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111800846A (en) * 2020-06-22 2020-10-20 上海龙旗科技股份有限公司 Method and system for saving power consumption by identifying different scenes
WO2021000943A1 (en) * 2019-07-04 2021-01-07 华为技术有限公司 Method and apparatus for managing fingerprint switch
CN114610135A (en) * 2020-12-03 2022-06-10 荣耀终端有限公司 Power management method and management circuit of fingerprint module and electronic equipment
WO2022252812A1 (en) * 2021-06-02 2022-12-08 华为技术有限公司 Information protection method and electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150161433A1 (en) * 2013-12-11 2015-06-11 Chiun Mai Communication Systems, Inc. Electronic device and method for unlocking the electronic device
CN106020782A (en) * 2016-05-27 2016-10-12 广东欧珀移动通信有限公司 Fingerprint unlocking control method and mobile terminal
CN106055953A (en) * 2016-05-27 2016-10-26 广东欧珀移动通信有限公司 Unlocking control method and mobile terminal
CN108898046A (en) * 2018-04-25 2018-11-27 努比亚技术有限公司 Fingerprint power consumption control method, terminal and computer readable storage medium under a kind of screen
CN109523360A (en) * 2018-11-15 2019-03-26 深圳和而泰数据资源与云技术有限公司 A kind of information recommendation method and system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106096356A (en) * 2016-05-27 2016-11-09 广东欧珀移动通信有限公司 A kind of solution lock control method and mobile terminal
CN106022072B (en) * 2016-06-03 2019-03-15 北京小米移动软件有限公司 Realize method and device, the electronic equipment of unlocked by fingerprint
CN108363915A (en) * 2018-02-08 2018-08-03 广东欧珀移动通信有限公司 unlocking method, mobile terminal and computer readable storage medium
CN109145735A (en) * 2018-07-17 2019-01-04 努比亚技术有限公司 Finger scan method, terminal and computer readable storage medium under a kind of screen
CN110493452A (en) * 2019-07-04 2019-11-22 华为技术有限公司 A kind of management method and device of finger-print switch

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150161433A1 (en) * 2013-12-11 2015-06-11 Chiun Mai Communication Systems, Inc. Electronic device and method for unlocking the electronic device
CN106020782A (en) * 2016-05-27 2016-10-12 广东欧珀移动通信有限公司 Fingerprint unlocking control method and mobile terminal
CN106055953A (en) * 2016-05-27 2016-10-26 广东欧珀移动通信有限公司 Unlocking control method and mobile terminal
CN108898046A (en) * 2018-04-25 2018-11-27 努比亚技术有限公司 Fingerprint power consumption control method, terminal and computer readable storage medium under a kind of screen
CN109523360A (en) * 2018-11-15 2019-03-26 深圳和而泰数据资源与云技术有限公司 A kind of information recommendation method and system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021000943A1 (en) * 2019-07-04 2021-01-07 华为技术有限公司 Method and apparatus for managing fingerprint switch
CN111800846A (en) * 2020-06-22 2020-10-20 上海龙旗科技股份有限公司 Method and system for saving power consumption by identifying different scenes
CN114610135A (en) * 2020-12-03 2022-06-10 荣耀终端有限公司 Power management method and management circuit of fingerprint module and electronic equipment
WO2022252812A1 (en) * 2021-06-02 2022-12-08 华为技术有限公司 Information protection method and electronic device

Also Published As

Publication number Publication date
WO2021000943A1 (en) 2021-01-07

Similar Documents

Publication Publication Date Title
CN109782944A (en) A kind of response method and electronic equipment of touch screen
CN110045819A (en) A kind of gesture processing method and equipment
CN109584879A (en) A kind of sound control method and electronic equipment
CN109890067A (en) Specific position in particular course is carried out to know method for distinguishing and electronic equipment
CN110493452A (en) A kind of management method and device of finger-print switch
CN109766043A (en) The operating method and electronic equipment of electronic equipment
CN110134316A (en) Model training method, Emotion identification method and relevant apparatus and equipment
CN110058777A (en) The method and electronic equipment of shortcut function starting
CN110119295A (en) A kind of display control method and relevant apparatus
CN109814766A (en) A kind of application display method and electronic equipment
CN110362373A (en) A kind of method and relevant device controlling screen wicket
CN110506416A (en) A kind of method and terminal of terminal switching camera
CN110503959B (en) Voice recognition data distribution method and device, computer equipment and storage medium
CN109976626A (en) A kind of switching method and electronic equipment of application icon
CN110489215A (en) The treating method and apparatus of scene is waited in a kind of application program
CN110222491A (en) A kind of method and a kind of electronic equipment of starting application
CN110471725A (en) A kind of split screen method and electronic equipment
CN110114747A (en) A kind of notifier processes method and electronic equipment
CN110138959A (en) Show the method and electronic equipment of the prompt of human-computer interaction instruction
CN110032307A (en) A kind of moving method and electronic equipment of application icon
CN109920240A (en) A kind of method, device and equipment of infrared controller and infrared equipment Auto-matching
CN111835530B (en) Group joining method and device
CN109274828A (en) A kind of method, control method and electronic equipment generating screenshot
CN110336910A (en) A kind of private data guard method and terminal
CN110262877A (en) A kind of card processing method and equipment

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

Application publication date: 20191122