Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In follow-up description, the suffix using such as " module ", " part " or " unit " for representing element is onlyBe advantageous to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " part " or " unit " can mixGround uses.
Client in the present invention is installed in terminal, and terminal can be implemented in a variety of manners.For example, retouched in the present inventionThe terminal stated can include such as mobile phone, tablet personal computer, notebook computer, palm PC, personal digital assistant (PersonalDigital Assistant, PDA), portable media player (PortableMedia Player, PMP), guider, canThe mobile terminals such as wearable device, Intelligent bracelet, pedometer, and the fixed terminal such as digital TV, desktop computer.
It will be illustrated in subsequent descriptions by taking terminal as an example, it will be appreciated by those skilled in the art that except being used in particular forOutside the element of mobile purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, its hardware architecture diagram for a kind of terminal of each embodiment of the realization present invention, the terminal100 can include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V(audio/video) input block 104, sensor 105, display unit 106, user input unit 107, interface unit 108, storageThe parts such as device 109, processor 110 and power supply 111.It will be understood by those skilled in the art that the terminal structure shown in Fig. 1The not restriction of structure paired terminal, terminal can be included than illustrating more or less parts, either combine some parts orDifferent part arrangements.
The all parts of terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, the reception and transmission of signal, specifically, by base stationDownlink information receive after, handled to processor 110;In addition, up data are sent to base station.Generally, radio frequency unit 101Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrateFrequency unit 101 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communicationStandard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunicationsSystem), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (CodeDivision Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code DivisionMultiple Access, WCDMA), TD-SCDMA (Time Division-Synchronous CodeDivision Multiple Access, TD SDMA), FDD-LTE (Frequency DivisionDuplexing-Long Term Evolution, FDD Long Term Evolution) and TDD-LTE (Time DivisionDuplexing-Long Term Evolution, time division duplex Long Term Evolution) etc..
WiFi belongs to short range wireless transmission technology, and terminal can help user's transceiver electronicses postal by WiFi module 102Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 1 is shownWiFi module 102, but it is understood that, it is simultaneously not belonging to must be configured into for terminal, can not change as needed completelyBecome in the essential scope of invention and omit.
Audio output unit 103 can be in call signal reception pattern, call mode, logging mode, language in terminal 100It is receiving or depositing by radio frequency unit 101 or WiFi module 102 when under the isotypes such as sound recognition mode, broadcast reception modeIt is sound that the voice data stored in reservoir 109, which is converted into audio signal and exported,.Moreover, audio output unit 103 may be used alsoWith the specific function provided to terminal 100 performs, related audio output is (for example, call signal receives sound, message sink soundSound etc.).Audio output unit 103 can include loudspeaker, buzzer etc..
A/V input blocks 104 are used to receive audio or video signal.A/V input blocks 104 can include graphics processor(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition modeOr the static images or the view data of video obtained in image capture mode by image capture apparatus (such as camera) are carried outReason.Picture frame after processing may be displayed on display unit 106.Picture frame after the processing of graphics processor 1041 can be depositedStorage is transmitted in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.MikeWind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042Quiet down sound (voice data), and can be voice data by such acoustic processing.Audio (voice) data after processing canTo be converted to the form output that mobile communication base station can be sent to via radio frequency unit 101 in the case of telephone calling model.Microphone 1042 can implement various types of noises and eliminate (or suppression) algorithm to eliminate (or suppression) in reception and send soundCaused noise or interference during frequency signal.
Terminal 100 also includes at least one sensor 105, such as optical sensor, motion sensor and other sensors.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to ambient lightLight and shade adjusts the brightness of display panel 1061, and proximity transducer can close display panel when terminal 100 is moved in one's ear1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (generally three axles) and addThe size of speed, size and the direction of gravity are can detect that when static, application (such as the horizontal/vertical screen available for identification mobile phone postureSwitching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;As for mobile phone alsoConfigurable fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, hygrometer, temperatureThe other sensors such as meter, infrared ray sensor, will not be repeated here.
Display unit 106 is used for the information for showing the information inputted by user or being supplied to user.Display unit 106 can wrapDisplay panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be usedForms such as (Organic Light-Emitting Diode, OLED) configures display panel 1061.
User input unit 107 can be used for the numeral or character information for receiving input, and produces and set with the user of terminalPut and the input of key signals that function control is relevant.Specifically, user input unit 107 may include contact panel 1071 and itsHis input equipment 1072.Contact panel 1071, also referred to as touch-screen, collect touch operation (ratio of the user on or near itSuch as user is using finger, any suitable object of stylus or annex on contact panel 1071 or near contact panel 1071Operation), and corresponding attachment means are driven according to formula set in advance.Contact panel 1071 may include touch detecting apparatusWith two parts of touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect what touch operation was broughtSignal, transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and it is changedInto contact coordinate, then processor 110 is given, and the order sent of reception processing device 110 and can be performed.Furthermore, it is possible to adoptContact panel 1071 is realized with polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrapInclude but be not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.One or more, do not limit herein specifically.
Further, contact panel 1071 can cover display panel 1061, detect thereon when contact panel 1071 orAfter neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thingThe type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, contact panel 1071 and display panel1061 be the part independent as two to realize the input of terminal and output function, but in some embodiments it is possible to willContact panel 1071 is integrated with display panel 1061 and realizes input and the output function of terminal, does not limit herein specifically.
Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with terminal 100.It is for example, outsideDevice can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or wireless numberAccording to port, memory card port, for connecting the port of device with identification module, audio input/output (I/O) port, regardingFrequency I/O ports, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, data are believedBreath, electric power etc.) and one or more elements that the input received is transferred in terminal 100 or can be used at endData are transmitted between end 100 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program areaAnd storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one functionSound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such asVoice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, can also include non-easyThe property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of terminal, using various interfaces and the various pieces of the whole terminal of connection, is led toCross operation or perform the software program and/or module being stored in memory 109, and call and be stored in memory 109Data, the various functions and processing data of terminal are performed, so as to carry out integral monitoring to terminal.Processor 110 may include oneOr multiple processing units;Preferably, processor 110 can integrate application processor and modem processor, wherein, using processingDevice mainly handles operating system, user interface and application program etc., and modem processor mainly handles radio communication.It can manageSolution, above-mentioned modem processor can not also be integrated into processor 110.
Terminal 100 can also include the power supply 111 (such as battery) to all parts power supply, it is preferred that power supply 111 can be withIt is logically contiguous by power-supply management system and processor 110, so as to by power-supply management system realize management charging, electric discharge, withAnd the function such as power managed.
Although Fig. 1 is not shown, terminal 100 can also will not be repeated here including bluetooth module etc..
For the ease of understanding the embodiment of the present invention, the communications network system being based on below to the terminal of the present invention is retouchedState.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network systemUnite as the LTE system of universal mobile communications technology, the UE that the LTE system includes communicating connection successively (User Equipment, is usedFamily equipment) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, evolved UMTS landsGround wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation204。
Specifically, UE201 can be above-mentioned terminal 100, and here is omitted.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returningJourney (backhaul) (such as X2 interface) is connected with other eNodeB2022, and eNodeB2021 is connected to EPC203,ENodeB2021 can provide UE201 to EPC203 access.
EPC203 can include MME (Mobility Management Entity, mobility management entity) 2031, HSS(Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way,Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy andCharging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 andThe control node of signaling between EPC203, there is provided carrying and connection management.HSS2032 is all to manage for providing some registersSuch as the function of attaching position register (not shown) etc, and preserve some and used about service features, data rate etc.The special information in family.All customer data can be transmitted by SGW2034, and PGW2035 can provide UE 201 IPAddress is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resourcesPoint, it selects and provided available strategy and charging control decision-making with charge execution function unit (not shown) for strategy.
IP operation 204 can include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimediaSystem) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not onlySuitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA withAnd following new network system etc., do not limit herein.
Based on above-mentioned terminal hardware structure and communications network system, each embodiment of the inventive method is proposed.
First, the present invention provides a kind of terminal unlocking optimization method.
Fig. 3 is refer to, shown is the schematic flow sheet for the terminal unlocking optimization method that first embodiment of the invention provides, mainIt is used in above-mentioned terminal, methods described includes step:
Step S301, when detecting terminal and being lifted, judge whether the terminal is in the lock state;If so, intoStep S302;If it is not, then terminating flow, continue detecting next time;
Specifically, terminal can identify that user picks up the action of terminal by three-axis sensor, picked up when detecting userDuring terminal, further detection terminal current state, if terminal does not unlock currently, without any operation.If terminal is currently locatedIn lock-out state, then need to be unlocked the further judgement of condition.
Step S302, gather the current ECG data of user;
Specifically, terminal can gather the ECG data of user by heartbeat sensor, ECG data can be formedThe electrocardiogram of user.Everyone heartbeat figure be all it is different, therefore, by ECG data can with unique identification eachThe identity of people.In the present invention, ECG data includes multiple default electrocardiogram parameters, for example, including but not limited to heart rate,The parameter such as phase, QTC, electrocardial vector axle between phase, U ripples, P ripples, QT between PR.
In the present embodiment, the heartbeat sensor can it is built-in in the terminal, it is to be understood that in other embodimentIn, the heartbeat sensor can also be external heart beat sensor, and the present invention is without limitation.
Step S303, the current ECG data is matched with the electrocardio graph model of the user;If matching intoWork(, into step S304;If it fails to match, terminate flow.
Step S304, directly unlock the terminal.
Specifically, after collecting the current ECG data of user, the ECG data can be somebody's turn to do with what is pre-establishedThe electrocardio graph model of user is matched, if the match is successful, can confirm that now terminal owner needs to use terminal,At this point it is possible to directly unlock terminal.
Further, in the present embodiment, methods described is further comprising the steps of:
When it fails to match, the user is prompted to input unlocking pin to unlock the terminal
Specifically, if it fails to match, it may be the lawful owner of terminal to illustrate possible active user, now,Can further it be verified by other unlocking manners, the unlocking manner that the present embodiment default user is set is numerical ciphers solutionLock.Now, terminal unlocking interface will show inputting interface, prompt user to input unlocking pin to unlock the terminal.Such as Fig. 8 institutesShow be terminal unlock interface, user can by numeric keypad input unlocking pin, Password Input is correct, then terminal will solveLock.
It is understood that in other embodiments, unlocked if the unlocking manner that user sets slides as gesture, terminalUnlock interface is slided into display and prompts user to enter line slip unblock.
It is understood that the unlocking manner of terminal can set interface to be set by user in latching mode, such as Fig. 7Shown, can include various ways, the users such as password unblock, gesture unblock (sliding unblock) and electrocardio unblock can select simultaneouslySelect a variety of unblocks.When taking care electrolysis lock and being chosen, then terminal will perform the terminal unlocking optimization method in the present invention, also, the heartElectric unlocking manner will be better than other unlocking manners.Take care electric unlocking manner failure or can not perform (for example, electrocardio can not be obtainedDiagram data), just further it is unlocked by other means.
Further, Fig. 4 is refer to, in the present embodiment, before step S301, methods described also includes following stepSuddenly:
Step S300, the ECG data of the user in preset time is gathered, institute is established according to the ECG dataState the electrocardio graph model of user;
Specifically, terminal is used as by gathering ECG data of the user for a period of time in (for example, preset time is 1 day)Modeling data, user's heartbeat can be modeled, so as to establish electrocardio graph model corresponding to the user.Modeling data include butIt is not limited to following electrocardiogram parameters:Phase, QTC, electrocardial vector axle etc. between phase, U ripples, P ripples, QT between heart rate, PR.It is main to model purposeThe model of an electrocardiogram is established for different parameters, so as to judge by the comparison of different parameters, to confirm differenceThe registration of ECG data and electrocardio graph model, so as to identify legal terminal user.At present, modeling process is illustrated such asUnder:
1. heart rate, the effective heart rate data of user usually is filtered out by all ECG datas collected, and calculateAverage value, positive and negative deviation scope is added as criterion;For example, the normal cardiac rate that user is calculated is 72 beats/min, addIt is 5 to enter deviation, and can obtain criterion is:67 beats/min -77 beats/min, the screening of data can use sixteen principles,Subsequently repeat no more;
Phase between 2.PR, atrioventricular conduction time, the phase was at 0.12~0.20 second between normal PR.But when the conduction in atrium to ventricleBlock, then show as the extension of phase between PR.The situation of different human hearts is different, then the phase is different between PR.According to the institute of collectionThere is ECG data to calculate the phase between the PR of user, add positive and negative deviation scope as criterion;
Phase between 3.QT, between QT the phase represent time of the ventricle from depolarization to multipole.By sixteen principles, from the institute collectedThere is ECG data to filter out the phase between the effective QT of user usually, and calculate average value, add positive and negative deviation scope as judgementStandard;
The phase is influenceed by heart rate between 4.QTC, QT, and the phase is QTC=QT/ (PR between now impacted QT0.5);According to above-mentionedFormula and all electrocardiogram numbers collected can calculate QTC values during user's different heart rate, add positive and negative deviation scope conductCriterion;
5. electrocardial vector axle, heart can produce many different directions galvanic couple vectors in depolarization and process of repolarization.DifferenceThe galvanic couple vector in direction is comprehensive into a vector, and the complex electrocardio for forming whole heart is vectorial.According to all electrocardios collectedDiagram data, confirm user's electrocardial vector axle scope according to look-up table according to the form below, obtained electrocardial vector axle scope is to judge markIt is accurate.Table 1 below is electrocardial vector axle table:
Table 1
| Electrocardio axle offset | Ⅰ | Ⅱ | Ⅲ | Cardiac electric axis value scope |
| Normally | + | + | + | 0~+90 ° |
| Slight left avertence | + | + | — | 0~-30 ° |
| Obvious left avertence | + | — | — | - 30 °~-90 ° |
| Axis right deviation | — | ± | + | + 90 °~+180 ° |
| Electric axis extreme right avertence | — | — | — | + 180 °~+270 ° |
It is understood that above-mentioned modeling process is only as an example, in other embodiments, collecting what modeling neededAfter ECG data, the electrocardio graph model of corresponding user can be obtained by any one modeling pattern, the present invention is not done to thisLimitation.
Further, Fig. 5 is refer to, in other embodiments, when the heartbeat sensor is external sensor, stepS302 is specifically included:
Step S501, judges whether the terminal is currently connected with default wearable device;If so, into stepS502, if it is not, into step S503;
Step S502, the current ECG data of user is gathered by the heartbeat sensor of the wearable device;
Step S503, by the link information that prestores and the default wearable device establish connection and by it is described canThe heartbeat sensor collection current ECG data of user of wearable device.
Then can be the heartbeat sensing on wearable device specifically, when the heartbeat sensor is external sensorDevice, for example, intelligent watch or motion bracelet etc..Therefore, when needing to gather ECG data, terminal is necessarily required to and presetWearable device be in connection status, if the terminal of lock-out state is lifted, terminal has been connected to default wearableEquipment, now, the current ECG data of user is directly gathered by the wearable device.If the terminal quilt of lock-out stateWhen picking up, terminal is simultaneously not connected with default wearable device, now, then needs to be attached by the link information to prestore, evenAfter being connected into work(, then pass through the current ECG data of wearable device collection user.Herein, default wearable device can be withIt is any wearable device that terminal was once connected and recorded, for example, terminal once connected intelligent watch and motion bracelet, then it is intelligentWrist-watch and motion bracelet can be default wearable devices.Terminal is in first connection wearable device, it will recording this canThe link information of wearable device.Therefore, when needing to be again coupled to, terminal can directly pass through the connection pair of the link information that prestoresThe wearable device answered.
Further, Fig. 6 is refer to, in the present embodiment, step S303 is specifically included:
Step S601, by the default electrocardiogram parameters and the corresponding parameter in the electrocardio graph model of the user one by oneCompare;
Step S602, the heart of the current ECG data and the electrocardio graph model of the user is determined according to comparison resultElectrograph registration;
Step S603, the registration and predetermined threshold value;
Step S604, when the registration is more than or equal to predetermined threshold value, judge the current ECG data and instituteState the electrocardiogram Model Matching success of user;
Step S605, when the registration is less than the threshold value, judge the current ECG data and the userElectrocardiogram Model Matching failure.
Specifically, as described above, ECG data includes multiple default electrocardiogram parameters, therefore, work as in matching userWhen preceding ECG data and the electrocardio graph model of user, and by the one-to-one corresponding of default electrocardiogram parameters compare intoOK, for example, by ECG data between heart rate, PR between phase, QT in the parameter such as phase, QTC, electrocardial vector axle and electrocardio graph modelCorresponding parameter is compared and records comparison result one by one, can be determined according to the comparison result of all default electrocardiogram parametersThe electrocardiogram registration of current ECG data and the electrocardio graph model of the user.For example, when all default electrocardiogram ginsengsSeveral comparison results is all to compare successfully, then registration is 100%.If default electrocardiogram parameters have 5, wherein 4 comparisonsSuccess, 1 compares failure, then can registration be not yet 80%, the like.It is understood that default electrocardiogram ginsengNumber quantity can be according to change be actually needed, and its maximum depends on the acquisition capacity with heartbeat sensor.According to current electrocardiogramThe electrocardiogram registration of the electrocardio graph model of data and the user, it is possible to determine that the current ECG data of user and user'sWhether the match is successful for electrocardio graph model.By obtained registration compared with predetermined threshold value, when registration reaches predetermined threshold value,Then think that the match is successful, it is on the contrary, then it is assumed that it fails to match.Herein, predetermined threshold value can according to be actually needed dispatched from the factory by manufacturer it is pre-If or modified by user.
The terminal unlocking optimization method of the present embodiment, when detecting terminal and being lifted, judge whether the terminal is inLock-out state;If so, the collection current ECG data of user;By the current ECG data and the electrocardio artwork of the userType is matched;When the match is successful, the terminal is directly unlocked..So as to, when user picks up the terminal of locking, Ke YizhiThe ECG data for connecting user is unlocked, and both ensure that and user is accurately identified, and has been skipped again and has been manually entered passwordOr the operation of unblock is slided, reach the purpose of safety and quick release, improve Consumer's Experience.
In addition, the present invention provides a kind of terminal unlocking optimization program.
As shown in figure 9, it is another hardware structure diagram schematic diagram for the terminal that second embodiment of the invention provides.Terminal100 include processing 110, memory 109 and communication bus 112.Wherein communication bus 112 is used to realize processor 110 and storageIn connection communication the present embodiment between device 109, terminal unlocking optimizes program storage in the memory 109 of the terminal 100,And it is performed by one or more processors (being the processor 110 in the present embodiment), to complete the present invention.In terminal 100Processor 110 be used for perform the terminal unlocking optimization program realize following steps:
When detecting terminal and being lifted, judge whether the terminal is in the lock state;
Specifically, processor 110 can identify that user pick up the action of terminal by three-axis sensor, when detecting userWhen picking up terminal, further detection terminal current state, if terminal does not unlock currently, without any operation.If terminal is worked asBefore be in the lock state, then need to be unlocked the further judgement of condition.
When the terminal is in the lock state, the current ECG data of user is gathered;
Specifically, processor 110 can gather the ECG data of user by heartbeat sensor, ECG data can be withForm the electrocardiogram of user.Everyone heartbeat figure be all it is different, therefore, can be every with unique identification by ECG dataA person's identity.In the present invention, ECG data includes multiple default electrocardiogram parameters, such as the including but not limited to heartThe parameter such as phase, QTC, electrocardial vector axle between phase, U ripples, P ripples, QT between rate, PR.
In the present embodiment, the heartbeat sensor can it is built-in in the terminal, it is to be understood that in other embodimentIn, the heartbeat sensor can also be external heart beat sensor, and the present invention is without limitation.
The current ECG data is matched with the electrocardio graph model of the user;If the match is successful, into straightConnect the unblock terminal.
Specifically, after collecting the current ECG data of user, processor 110 can by the ECG data with advanceThe electrocardio graph model of the user established is matched, if the match is successful, can confirm that now terminal owner needsUsing terminal, at this point it is possible to directly unlock terminal.
Further, in the present embodiment, processor 110 is additionally operable to perform the following step of terminal unlocking optimization program realizationSuddenly:
When it fails to match, the user is prompted to input unlocking pin to unlock the terminal
Specifically, if it fails to match, it may be the lawful owner of terminal to illustrate possible active user, now,Can further it be verified by other unlocking manners, the unlocking manner that the present embodiment default user is set is numerical ciphers solutionLock.Now, terminal unlocking interface will show inputting interface, prompt user to input unlocking pin to unlock the terminal.Such as Fig. 8 institutesShow be terminal unlock interface, user can by numeric keypad input unlocking pin, Password Input is correct, then terminal will solveLock.
It is understood that in other embodiments, unlocked if the unlocking manner that user sets slides as gesture, terminalUnlock interface is slided into display and prompts user to enter line slip unblock.
It is understood that the unlocking manner of terminal can set interface to be set by user in latching mode, such as Fig. 7Shown, can include various ways, the users such as password unblock, gesture unblock (sliding unblock) and electrocardio unblock can select simultaneouslySelect a variety of unblocks.When taking care electrolysis lock and being chosen, then terminal will perform the terminal unlocking optimization method in the present invention, also, the heartElectric unlocking manner will be better than other unlocking manners.Take care electric unlocking manner failure or can not perform (for example, electrocardio can not be obtainedDiagram data), just further it is unlocked by other means.
Further, in the present embodiment, processor 110 is additionally operable to perform the following step of terminal unlocking optimization program realizationSuddenly:
The ECG data of the user in preset time is gathered, the heart of the user is established according to the ECG dataElectrograph model;
Specifically, processor 110 is by gathering electrocardiogram number of the user for a period of time in (for example, preset time is 1 day)According to as modeling data, user's heartbeat can be modeled, so as to establish electrocardio graph model corresponding to the user.Modeling dataIncluding but not limited to following electrocardiogram parameters:Phase, QTC, electrocardial vector axle etc. between phase, U ripples, P ripples, QT between heart rate, PR.Model meshPredominantly different parameters establish the model of an electrocardiogram, so as to be judged by the comparison of different parameters, come trueThe registration of different ECG datas and electrocardio graph model is recognized, so as to identify legal terminal user.At present, modeling process is liftedUnder such as:
1. heart rate, the effective heart rate data of user usually is filtered out by all ECG datas collected, and calculateAverage value, positive and negative deviation scope is added as criterion;For example, the normal cardiac rate that user is calculated is 72 beats/min, addIt is 5 to enter deviation, and can obtain criterion is:67 beats/min -77 beats/min, the screening of data can use sixteen principles,Subsequently repeat no more;
Phase between 2.PR, atrioventricular conduction time, the phase was at 0.12~0.20 second between normal PR.But when the conduction in atrium to ventricleBlock, then show as the extension of phase between PR.The situation of different human hearts is different, then the phase is different between PR.According to the institute of collectionThere is ECG data to calculate the phase between the PR of user, add positive and negative deviation scope as criterion;
Phase between 3.QT, between QT the phase represent time of the ventricle from depolarization to multipole.By sixteen principles, from the institute collectedThere is ECG data to filter out the phase between the effective QT of user usually, and calculate average value, add positive and negative deviation scope as judgementStandard;
The phase is influenceed by heart rate between 4.QTC, QT, and the phase is QTC=QT/ (PR between now impacted QT0.5);According to above-mentionedFormula and all electrocardiogram numbers collected can calculate QTC values during user's different heart rate, add positive and negative deviation scope conductCriterion;
5. electrocardial vector axle, heart can produce many different directions galvanic couple vectors in depolarization and process of repolarization.DifferenceThe galvanic couple vector in direction is comprehensive into a vector, and the complex electrocardio for forming whole heart is vectorial.According to all electrocardios collectedDiagram data, confirm user's electrocardial vector axle scope according to look-up table according to the form below, obtained electrocardial vector axle scope is to judge markIt is accurate.Table 1 below is electrocardial vector axle table:
Table 1
| Electrocardio axle offset | Ⅰ | Ⅱ | Ⅲ | Cardiac electric axis value scope |
| Normally | + | + | + | 0~+90 ° |
| Slight left avertence | + | + | — | 0~-30 ° |
| Obvious left avertence | + | — | — | - 30 °~-90 ° |
| Axis right deviation | — | ± | + | + 90 °~+180 ° |
| Electric axis extreme right avertence | — | — | — | + 180 °~+270 ° |
It is understood that above-mentioned modeling process is only as an example, in other embodiments, collecting what modeling neededAfter ECG data, the electrocardio graph model of corresponding user can be obtained by any one modeling pattern, the present invention is not done to thisLimitation.
Further, in other embodiments, when the heartbeat sensor is external sensor, processor 110 is used forPerform terminal unlocking optimization program and specifically included with realizing the step of the collection user current ECG data:
Judge whether the terminal is currently connected with default wearable device;
If so, the current ECG data of user is gathered by the heartbeat sensor of the wearable device;
If it is not, connection is established and by described wearable with the default wearable device by the link information to prestoreThe heartbeat sensor collection current ECG data of user of equipment.
Then can be the heartbeat sensing on wearable device specifically, when the heartbeat sensor is external sensorDevice, for example, intelligent watch or motion bracelet etc..Therefore, when needing to gather ECG data, terminal is necessarily required to and presetWearable device be in connection status, if the terminal of lock-out state is lifted, terminal has been connected to default wearableEquipment, now, the current ECG data of user is directly gathered by the wearable device.If the terminal quilt of lock-out stateWhen picking up, terminal is simultaneously not connected with default wearable device, now, then needs to be attached by the link information to prestore, evenAfter being connected into work(, then pass through the current ECG data of wearable device collection user.Herein, default wearable device can be withIt is any wearable device that terminal was once connected and recorded, for example, terminal once connected intelligent watch and motion bracelet, then it is intelligentWrist-watch and motion bracelet can be default wearable devices.Terminal is in first connection wearable device, it will recording this canThe link information of wearable device.Therefore, when needing to be again coupled to, terminal can directly pass through the connection pair of the link information that prestoresThe wearable device answered.
Further, in the present embodiment, processor 110 is described to realize for performing the terminal unlocking optimization programThe step of current ECG data is matched with the electrocardio graph model of the user specifically includes:
The default electrocardiogram parameters are compared one by one with the corresponding parameter in the electrocardio graph model of the user;
Determine that the current ECG data overlaps with the electrocardiogram of the electrocardio graph model of the user according to comparison resultDegree;
Compare the registration and predetermined threshold value, when the registration is more than or equal to predetermined threshold value, judge described work asPreceding ECG data and the electrocardiogram Model Matching success of the user;When the registration is less than the threshold value, institute is judgedState current ECG data and the electrocardiogram Model Matching of the user fails.
Specifically, as described above, ECG data includes multiple default electrocardiogram parameters, therefore, work as in matching userWhen preceding ECG data and the electrocardio graph model of user, and by the one-to-one corresponding of default electrocardiogram parameters compare intoOK, for example, by ECG data between heart rate, PR between phase, QT in the parameter such as phase, QTC, electrocardial vector axle and electrocardio graph modelCorresponding parameter is compared and records comparison result one by one, can be determined according to the comparison result of all default electrocardiogram parametersThe electrocardiogram registration of current ECG data and the electrocardio graph model of the user.For example, when all default electrocardiogram ginsengsSeveral comparison results is all to compare successfully, then registration is 100%.If default electrocardiogram parameters have 5, wherein 4 comparisonsSuccess, 1 compares failure, then can registration be not yet 80%, the like.It is understood that default electrocardiogram ginsengNumber quantity can be according to change be actually needed, and its maximum depends on the acquisition capacity with heartbeat sensor.According to current electrocardiogramThe electrocardiogram registration of the electrocardio graph model of data and the user, it is possible to determine that the current ECG data of user and user'sWhether the match is successful for electrocardio graph model.By obtained registration compared with predetermined threshold value, when registration reaches predetermined threshold value,Then think that the match is successful, it is on the contrary, then it is assumed that it fails to match.Herein, predetermined threshold value can according to be actually needed dispatched from the factory by manufacturer it is pre-If or modified by user.
Processor 110 optimizes program by performing the terminal unlocking of the present embodiment, when detecting terminal and being lifted, judgesWhether the terminal is in the lock state;If so, the collection current ECG data of user;By the current ECG data and instituteThe electrocardio graph model for stating user is matched;When the match is successful, the terminal is directly unlocked..So as to pick up locking in userTerminal when, can be directly unlocked by the ECG data of user, both ensure that and user is accurately identified, skipped againIt is manually entered password or slides the operation of unblock, has reached the purpose of safety and quick release, improve Consumer's Experience.
The present invention further provides a kind of computer-readable recording medium, it is stored with the computer-readable recording mediumAbove-mentioned terminal unlocking optimizes program, and the terminal unlocking optimization program realizes terminal unlocking as described above when being executed by processorOptimization method.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-rowHis property includes, so that process, method, article or device including a series of elements not only include those key elements, andAnd also include the other element being not expressly set out, or also include for this process, method, article or device institute inherentlyKey element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including thisOther identical element also be present in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment sideMethod can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many casesThe former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other wordsGoing out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage mediumIn (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal (can be mobile phone, computer, serviceDevice, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specificEmbodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the artUnder the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lotForm, these are belonged within the protection of the present invention.