Term " first " and " second " in description and claims of this specification etc. are for distinguishing different pairsAs, rather than it is used for the particular order of description object.For example, the first input and the second input etc. are different defeated for distinguishingEnter, rather than the particular order for describing input.
In embodiments of the present invention, " illustrative " or " such as " etc. words for indicate make example, illustration or explanation.ThisBe described as in inventive embodiments " illustrative " or " such as " any embodiment or design scheme be not necessarily to be construed as comparingOther embodiments or design scheme more preferably or more advantage.Specifically, use " illustrative " or " such as " etc. words purportRelated notion is being presented in specific ways.
In the description of the embodiment of the present invention, unless otherwise indicated, the meaning of " plurality " is refer to two or more,For example, multiple processing units refer to two or more processing unit etc..
The embodiment of the present invention provides a kind of verifying interface display method and terminal, and the verifying interface display method and terminal canTo obtain the first scene information (first scene information is used to indicate the current authentication scene of terminal), and according to this firstScene information, obtaining the first authentication policy corresponding with first scene information, (first authentication policy includes M kind authenticationFormula, M are the integer more than or equal to 2), and according to first authentication policy, show M verifying interface (each verifying interface pairA kind of verification mode is answered, and each verifying interface carries out authentication using corresponding verification mode for user).Pass through the partyCase, the embodiment of the present invention can obtain verifying corresponding with the authentication scene under the current authentication scene of terminalStrategy, and show at least two verifying corresponding with authentication policy interface, so that user can be on at least two verifyings circleMultifactor authentication (corresponding one kind in specially one verifying interface is carried out using verification mode preset in the authentication policy on faceVerification mode), to improve the safety that user carries out authentication in using terminal.
Terminal in the embodiment of the present invention can be the terminal with operating system.The operating system can be Android(Android) operating system can be ios operating system, can also be other possible operating systems, the embodiment of the present invention is notMake specific limit.
Below by taking Android operation system as an example, introduces verifying interface display method provided in an embodiment of the present invention and answeredSoftware environment.
As shown in Figure 1, being a kind of configuration diagram of possible Android operation system provided in an embodiment of the present invention.SchemingIn 1, the framework of Android operation system includes 4 layers, be respectively as follows: application layer, application framework layer, system Runtime Library layer andInner nuclear layer (is specifically as follows Linux inner core).
Wherein, application layer includes each application program (including system application and in Android operation systemTripartite's application program).
Application framework layer is the frame of application program, and developer can be in the exploitation for the frame for abiding by application programIn the case where principle, some application programs are developed based on application framework layer.
System Runtime Library layer includes library (also referred to as system library) and Android operation system running environment.Library is mainly Android behaviourAs system it is provided needed for all kinds of resources.Android operation system running environment is used to provide software loop for Android operation systemBorder.
Inner nuclear layer is the operating system layer of Android operation system, belongs to the bottom of Android operation system software level.It is interiorStratum nucleare provides core system service and hardware-related driver based on linux kernel for Android operation system.
By taking Android operation system as an example, in the embodiment of the present invention, developer can be based on above-mentioned Android as shown in Figure 1The software program of verifying interface display method provided in an embodiment of the present invention is realized in the system architecture of operating system, exploitation, thusThe verifying interface display method is run based on Android operation system as shown in Figure 1.That is processor or terminal canTo realize verifying interface display method provided in an embodiment of the present invention by running the software program in Android operation system.
Terminal in the embodiment of the present invention can be mobile terminal, or immobile terminal.Illustratively, mobile wholeEnd can be mobile phone, tablet computer, laptop, palm PC, car-mounted terminal, wearable device, super mobile personal meterCalculation machine (ultra-mobile personal computer, UMPC), net book or personal digital assistant (personalDigital assistant, PDA) etc., immobile terminal can be personal computer (personal computer, PC), electricityDepending on machine (television, TV), automatic teller machine or self-service machine etc., the embodiment of the present invention is not especially limited.
The executing subject of verifying interface display method provided in an embodiment of the present invention can be above-mentioned terminal, orThe functional module and/or functional entity that can be realized the verifying interface display method in the terminal, specifically can be according to realityUse demand determines that the embodiment of the present invention is not construed as limiting.Below by taking terminal as an example, to verifying interface provided in an embodiment of the present inventionDisplay methods is illustratively illustrated.
Verifying interface display method provided in an embodiment of the present invention may include authentication policy setting up procedure and authentication policyUse process, the authentication policy setting up procedure are the process that authentication policy is preset before authentication policy use process.ForThe various implementations for more fully understanding the embodiment of the present invention, separately below make authentication policy setting up procedure and authentication policyIt is illustratively described with process.
One, authentication policy setting up procedure
As shown in Fig. 2, the embodiment of the present invention provides a kind of verifying interface display method, this method may include authentication policyThe some steps being related in setting up procedure, these steps may include following S200-S203.
S200, terminal receive the first input of user.
Wherein, which can be input of the user in authentication set interface to target scene information.
S201, terminal show at least one authentication policy in response to the first input.
In the embodiment of the present invention, in order to protect the personal information of user in terminal, user can trigger according to demands of individualsTerminal is to the object encryption in terminal.It illustratively, may include: that user can trigger to the scene of the object encryption in terminalTerminal encrypts (i.e. screen locking) to the screen of terminal, encrypts, the application program (application, APP) in terminal in terminalPayment class APP payment encryption, in terminal file (such as text, short message) encryption, in terminal file (such asPhotograph album) encryption and to the scene etc. of possible object encryption any other in terminal.Specifically can according to actual use demand,The embodiment of the present invention is not construed as limiting this.
Further, the encrypted object in terminal (such as screen, APP, payment authorization, file or folder etc.) is in quiltNeeding to carry out authentication when access could access, and then in the successful situation of authentication, terminal can be decrypted and encryptedObject.Correspondingly, verifying, branch when authentication scene when decrypting to the encrypted object in terminal may include solution lock screenVerified when verifying or open encrypted file folder when verifying when verifying, unlatching have encrypted APP when paying, checking encrypted file etc..
In the embodiment of the present invention, target scene information can serve to indicate that the current authentication scene of terminal.It is exemplary, verifying when verifying, payment when target scene information may include solution lock screen opens verifying when having encrypted APP, checks and addedVerifying etc. when encrypted file folder is verified and opened when ciphertext part.It can specifically be implemented according to actual use demand, the present inventionExample is not construed as limiting this.
Optionally, in the embodiment of the present invention, above-mentioned user first input can for click input (such as click input orDouble-click input), or it slidably inputs, can also be the input of other any possible forms, it specifically can be according to actually makingIt is determined with demand, the embodiment of the present invention is not construed as limiting.
In the embodiment of the present invention, user can by authentication set interface in the terminal to target scene informationFirst input of (instruction authentication scene), triggering terminal show at least one authentication policy.And then user can be according to aPeople's demand, triggering terminal are directed to the corresponding authentication policy of each authentication scene setting.
In the embodiment of the present invention, above-mentioned authentication policy may include that a kind of verification mode or above-mentioned authentication policy can be withIncluding a variety of verification modes any one and combinations thereof.Illustratively, it is assumed that verification mode includes fingerprint authentication and password authentification,So authentication policy may include fingerprint authentication;Password authentification;And the combination of fingerprint authentication and password authentification, wherein fingerprint inspectionThe combination of card and password authentification can be adapted for the following two kinds situation: constitute multiple-authentication strategy by fingerprint authentication and password authentification(i.e. fingerprint authentication and password authentification are used to verify), and be made of fingerprint authentication and password authentification and select an authentication policy (i.e.One is selected to be used to verify from fingerprint authentication and password authentification).
S202, terminal receive the second input of user.
Wherein, which can be selection of the user to the target verification strategy in above-mentioned at least one authentication policyInput.
Optionally, in the embodiment of the present invention, above-mentioned user second input can for click input (such as click input orDouble-click input), or it slidably inputs, can also be the input of other any possible forms, it specifically can be according to actually makingIt is determined with demand, the embodiment of the present invention is not construed as limiting.
S203, terminal under target scene information, save target verification strategy in response to the second input.
Optionally, in the embodiment of the present invention, above-mentioned target verification strategy can be any one of following (1), (2) and (3):
(1) target verification strategy includes a kind of verification mode (hereinafter referred to as individual event authentication policy);
(2) target verification strategy includes at least two verification modes and every kind of verification mode is verified (hereinafter referred to asMultiple-authentication strategy);
(3) target verification strategy includes at least two verification modes and at least two verification mode selects a verifying (belowIt is known as selecting an authentication policy).
Optionally, in the embodiment of the present invention, above-mentioned at least two verification mode is verified including at least hand shape.Hand shape verifying refers toBe that the geometric figure that is made up of the exterior contour to hand identifies to carry out authentication.Relative to other biological feature(such as face verification, fingerprint authentication etc.), hand shape are verified in recognition speed more rapidly, thus can be made using hand shape verifyingAuthentication process itself is more convenient.Verifying interface display method based on the embodiment of the present invention, user can be with triggering terminalsHand shape is verified and is applied in combination with other verification modes (such as face verification, fingerprint authentication or password authentification), using as targetAuthentication policy.In this way, the safety of authentication process itself can be improved on the basis of making authentication process itself more convenient and fastProperty.
Illustratively, such as under the authentication scene of terminal payment, target verification strategy may include hand shape verifyingWith fingerprint authentication and hand shape verifying and fingerprint authentication are verified, i.e., under the authentication scene of terminal payment, terminal canWith prompt user using hand shape verifying and fingerprint authentication carry out dual identity verifying, thus improve user in using terminal intoThe safety of row authentication.
It is again illustrative, such as under the authentication scene of solution lock screen, target verification strategy may include that hand shape is testedCard and fingerprint authentication and hand shape are verified and fingerprint authentication selects a verifying.I.e. under the authentication scene of solution lock screen, terminal canTo prompt user both can carry out authentication using hand shape verifying, authentication, user can also be carried out using fingerprint authenticationA verifying (i.e. user can choose a kind of verification mode progress authentication) can be selected according to demands of individuals, to improve useFamily carries out the convenience of authentication in using terminal.
Below again with specific example, authentication policy setting up procedure is described in detail in conjunction with Fig. 3 and Fig. 4.
As shown in Figure 3, it is schematically shown that authentication set interface may include in the authentication set interfaceVerification mode and authentication scene.Verification mode may include that fingerprint authentication, face verification, hand shape verifying and password are testedCard, user can input finger print information, the facial information, hand shape of user respectively on the correspondence interface of above-mentioned various verification modesInformation and encrypted message.Verifying, unlatching have encrypted APP when verifying, payment when authentication scene may include solution lock screenWhen verifying, verifying when verifying and open encrypted file folder when checking encrypted file.It should be noted that authentication is setIt sets each verification mode enumerated on interface and each authentication scene is schematical for example, can in actual useTo be not limited to the above-mentioned several verification modes enumerated and several authentication scenes.Specifically can be according to actual use demand, thisInventive embodiments are not construed as limiting.
Illustrated with being verified as illustrative with hand shape below.User can in authentication set interface " hand shape is testedCard " option (option is specifically as follows control form) input (such as clicking input) shows the boundary of hand shape verifying with triggering terminalFace, if user inputs " hand shape verifying " option, as shown in (a) in Fig. 4, the interface of hand shape verifying may include" addition hand shape " option.Then, after user is to " addition hand shape " option input, as shown in (b) in Fig. 4, hand shape verifyingInterface can show the guidance figure that hand shape is added for user, such as border circular areas and progress bar, the initial value of the progress barIt is 0%.In turn, as shown in (c) in Fig. 4, when user is by front of screen of the hand placement in terminal, terminal can be in circleHand images are shown in region and acquire the hand shape information of user, and show progress bar (85%) as shown in the figure of variation.Such asShown in (d) in Fig. 4, after progress bar is updated to 100%, terminal can be with display reminding information to prompt user to add hand shapeIt completes.In turn, terminal can save the hand shape information of user's addition.
In the embodiment of the present invention, the process that facial information is added in face verification may refer to the hand shape verifying of foregoing descriptionThe process of middle addition hand shape information, details are not described herein again.And the process of finger print information is added in fingerprint authentication and password is testedThe process of encrypted message is set for details, reference can be made to the related setting method in existing technology, it will not go into details herein in card.
Further, in finger print information, facial information, hand shape information and the encrypted message of user's triggering terminal addition userLater, user can (i.e. fingerprint authentication, face be tested for the different verification mode of each authentication scene setting enumeratedCard, hand shape verifying and password authentification).Below with reference to Fig. 5 A- Fig. 5 C, in conjunction with above-mentioned verification mode, with target verification strategy difference(following embodiments 1) is verified for individual event, multiple-authentication (following embodiments 2) and selecting is illustrated for a verifying (following embodiments 3)The illustration of property.
Embodiment 3 (target verification strategy is to select a verifying)
Illustratively, " verifying when solution lock screen " in (i.e. above-mentioned first input) authentication scene is clicked in userAfter (i.e. above-mentioned target scene information), as shown in (a) in Fig. 5 C, terminal can show a variety of test in response to the first inputIt card mode (fingerprint authentication as shown in the figure, face verification, hand shape verifying and password authentification) and " multiple-authentication " control and " selectsOne verifying " control.
Illustratively, as shown in (a)-(c) in Fig. 5 C, multinomial verification mode " fingerprint authentication " and " hand are chosen in userShape verifying " is simultaneously clicked after " multiple-authentication " control clicks " determinations " control (i.e. above-mentioned second input) again, and terminal can respond" fingerprint inspection is saved under the authentication scene of " verifying when solution lock screen " (i.e. above-mentioned target scene information) in the second inputAn authentication policy (i.e. above-mentioned target verification strategy) is selected in card " and " hand shape verifying ".
It is appreciated that since target verification strategy includes a variety of verification modes " fingerprint authentication " and " hand shape verifying " and " is referred toA verifying is selected in line verifying " and " hand shape verifying ", thus user can use " fingerprint authentication " and " hand shape is tested when solving lock screenAny one verification mode in card " carries out authentication, it can carries out authentication using " fingerprint authentication ", can also adoptAuthentication is carried out with " hand shape verifying ".
In the embodiment of the present invention, terminal can save target verification strategy under target scene information, and then terminal can be withUnder above-mentioned each authentication scene, instruction user using save authentication policy corresponding with each authentication scene intoRow authentication.
Two, authentication policy use process
As shown in fig. 6, the embodiment of the present invention provides a kind of verifying interface display method, which can be withIncluding following S600-S602.
S600, terminal obtain the first scene information.
Wherein, which can serve to indicate that the current authentication scene of terminal.
In the embodiment of the present invention, if user's triggering terminal unlock encrypted object (such as screen, APP, payment authorization,File or folder etc.), then available the first scene information for being used to indicate the current authentication scene of terminal of terminal,To obtain the first authentication policy corresponding with first scene information for terminal.
Optionally, in the embodiment of the present invention, the first scene information can serve to indicate that the current authentication scene of terminal.The current authentication scene of terminal can be for the authentication scene of unlock screen, the authentication scene of payment, unlatchingThe authentication scene of APP is encrypted, check the authentication scene of encrypted file or opens the identity of encrypted file folderVerify scene etc..It can specifically be determined according to actual use demand, the embodiment of the present invention is not construed as limiting.
Illustratively, such as in user's triggering terminal solution lock screen, the available corresponding scene information (i.e. of terminalOne scene information), and terminal can determine that the current authentication scene of terminal is " Xie Suoping according to first scene informationIt is verified when curtain ".
The description of first scene information specifically may refer in above-mentioned authentication policy setting up procedure embodiment to targetThe associated description of scene information, details are not described herein again.
S601, terminal obtain the first authentication policy corresponding with first scene information according to the first scene information.
Wherein, which may include M kind verification mode, and M can be the integer more than or equal to 2.
In the embodiment of the present invention, as described in above-mentioned authentication policy setting up procedure embodiment, terminal can pre-saveThe corresponding relationship of one scene information and the first authentication policy.In turn, terminal, can basis after getting the first scene informationThe corresponding relationship of the first scene information and the first authentication policy that pre-save obtains and first scene information corresponding firstAuthentication policy.
In the embodiment of the present invention, the first authentication policy may include two or more verification modes, and in the case, first testsDemonstrate,proving strategy can be that (i.e. the first authentication policy includes at least two verification modes to multiple-authentication strategy and every kind of verification mode is equalVerified), or select an authentication policy (i.e. target verification strategy include at least two verification modes and this at least twoKind verification mode selects a verifying).It can specifically be determined according to the authentication policy pre-saved.For ease of description and understand, underFace is illustratively illustrated so that the first authentication policy includes two kinds of verification modes as an example.
In the embodiment of the present invention, the first authentication policy corresponding with the first scene information can include at least hand shape and verify,It is possible thereby to improve the safety of authentication process itself on the basis of making authentication process itself more convenient and fast.
Illustratively, it is assumed that terminal saves under the authentication scene of " verifying when payment " including fingerprint authentication and handThe multiple-authentication strategy of shape verifying, then after terminal determines the current authentication scene of terminal for " verifying when payment ",The authentication scene of available " being verified when payment " pre-saved of terminal with include fingerprint authentication and hand shape verify it is moreCorresponding relationship between weight authentication policy, and according to the corresponding relationship, determine that authentication policy corresponding with " verifying when payment " isFingerprint authentication and hand shape verifying and fingerprint authentication and hand shape verifying are verified and (obtain the first authentication policy).
It is again illustrative, it is assumed that terminal saves under the authentication scene of " verifying when solution lock screen " including fingerprint inspectionWhat card and hand shape were verified selects an authentication policy, then determining that the current authentication scene of terminal is " when solution lock screen in terminalAfter verifying ", the authentication scene of " being verified when solution lock screen " that terminal is available to be pre-saved with include fingerprint authenticationAnd the corresponding relationship of hand shape verifying selected between an authentication policy, and can be determined and " when solution lock screen according to the corresponding relationshipThe corresponding authentication policy of verifying " is fingerprint authentication and hand shape verifying and fingerprint authentication and hand shape verifying selects a verifying and (obtains theOne authentication policy).
The description of first authentication policy specifically may refer in above-mentioned authentication policy setting up procedure embodiment to targetThe associated description of authentication policy, details are not described herein again.
S602, terminal show M verifying interface according to the first authentication policy.
Wherein, each verifying interface can correspond to a kind of verification mode, and each verifying interface can be used for user's useCorresponding verification mode carries out authentication.
In the embodiment of the present invention, the first authentication policy may include M kind verification mode, since each verifying interface can be rightA kind of verification mode is answered, thus M kind verification mode can correspond to M verifying interface, such terminal can be according to the first verifying planSlightly, M verifying interface is shown.Also, terminal can unlock encrypted object in the case where determining the successful situation of subscriber authentication(such as solution lock screen, open encrypted APP, authority to pay, check encrypted file or open encrypted file folder etc.).
Illustratively, such as in terminal determine that authentication policy corresponding with " verifying when payment " is that fingerprint authentication and hand shape are testedAfter card and fingerprint authentication and hand shape verifying are verified and (obtain the first authentication policy), terminal can be according to the verifyingStrategy shows two verifying interfaces, and one of verifying interface can correspond to fingerprint authentication, for user using fingerprint authentication intoRow authentication, another verifying interface can correspond to hand shape verifying, carry out authentication using hand shape verifying for user.AndAnd since the first authentication policy is multiple-authentication strategy, thus terminal can carry out identity using fingerprint authentication determining userVerifying and user are verified using hand shape to carry out in the successful situation of authentication, controlling terminal authority to pay.
In the embodiment of the present invention, after user inputs on the verifying interface of terminal or at fingerprint collecting area, terminal can be withThe authentication information of user's input is obtained, and the authentication information that will acquire is compared with preset authentication informationCompared with if the authentication information obtained meets preset authentication information, terminal determines authentication success;If obtainingAuthentication information does not meet preset authentication information, then terminal determines that authentication does not succeed.
It should be noted that determining user in terminal, using fingerprint authentication progress authentication, successful or user is not adoptedCarrying out authentication with hand shape verifying does not have in successful situation, and terminal can control terminal and forbid paying and prompt user identityVerifying does not succeed;Or continues the display verifying page and subscriber authentication is prompted not succeed.
It is again illustrative, for example, terminal determine authentication policy corresponding with " being verified when solution lock screen " for fingerprint authentication andAfter a verifying (obtaining the first authentication policy) is selected in hand shape verifying and fingerprint authentication and hand shape verifying, terminal can be according to thisAuthentication policy shows two verifying interfaces, and one of verifying interface can correspond to fingerprint authentication, uses fingerprint inspection for userCard carries out authentication, another verifying interface can correspond to hand shape verifying, carries out identity using hand shape verifying for user and testsCard.Also, since the first authentication policy is to select an authentication policy, thus terminal can be carried out determining user using fingerprint authenticationIn the successful situation of authentication, controlling terminal solution lock screen;Alternatively, terminal can also determine user using hand shape verify intoIn the successful situation of row authentication, controlling terminal solution lock screen.
It should be noted that determining user in terminal, using fingerprint authentication progress authentication, successful or user is not adoptedCarrying out authentication with hand shape verifying does not have in successful situation, and terminal can continue the display verifying page and prompt user identityVerifying does not succeed.
Optionally, in the embodiment of the present invention, above-mentioned S602 can specifically be realized by following S602a and S602b.
S602a, terminal according to the first verification mode in M kind verification mode, show in this M verifying interface with thisA kind of verification mode corresponding first verifying interface.
After user is proved to be successful using the first verification mode, for removing the first verifying in the M kind verification modeEvery kind of verification mode except mode, is performed both by following S602b, to show in this M verifying interface except this first verifyingOther verifying interfaces except interface:
S602b, after user is proved to be successful using the N kind verification mode in the M kind verification mode, terminal shows the MIn a verifying interface, with N+1 kind verification mode corresponding the N+1 verifying interface in the M kind verification mode.
Wherein, N can be the integer more than or equal to 2, and N is less than M.
In the embodiment of the present invention, terminal can show M verifying interface one by one.Specifically, terminal can first show firstA verifying interface determines user using the first to prompt user to carry out authentication using the first verification mode in terminalVerification mode carries out in the successful situation of authentication, and terminal can show second verifying interface again, to prompt user to useSecond of verification mode carries out authentication, and then terminal can show M verifying interface one by one by this method, to be used for userAuthentication is carried out using each verification mode.
Optionally, in the embodiment of the present invention, terminal can also be with M verifying interface of split screen display available.For example, terminal can be at endThe different zones of the screen at end show M verifying interface respectively (i.e. terminal shows M verifying interface with split screen mode).Alternatively,For the terminal including multiple screens, terminal can show that (i.e. terminal is with multi-screen side at M verifying interface respectively on multiple screensFormula shows M verifying interface).Alternatively, terminal can be combined with multi-screen mode and split screen mode show M verifying interface (for example,A verifying interface is shown on some screens of terminal, shows multiple verifying interfaces on other screens).It specifically can be according to realityBorder use demand determines that the embodiment of the present invention is not construed as limiting.
Verifying interface display method provided in an embodiment of the present invention can obtain under the current authentication scene of terminalAuthentication policy corresponding with the authentication scene is taken, and shows at least two verifying corresponding with authentication policy interface, fromAnd user can carry out multiple identities using verification mode preset in the authentication policy on at least two verifyings interface and testIt demonstrate,proves (specially one verifying interface corresponds to a kind of verification mode), so that improving user carries out authentication in using terminalSafety.
Optionally, in conjunction with Fig. 6, as shown in fig. 7, above-mentioned S600 specifically can be by following in the embodiment of the present inventionS600a and S600b is realized.
S600a, terminal obtain the first behavioural information.
Wherein, above-mentioned first behavioural information can serve to indicate that user currently to the operation behavior of terminal.
In the embodiment of the present invention, if user's triggering terminal unlock encrypted object (such as screen, APP, payment authorization,File or folder etc.), then terminal is available to be used to indicate user currently to the first behavior letter of the operation behavior of terminalBreath.
Illustratively, in the embodiment of the present invention, above-mentioned first behavioural information may include user press screen, homepage key orPower key etc.;User initiates payment;User clicks the encryption APP in terminal;User clicks the encrypted file in terminal;OrPerson user clicks encrypted file folder in terminal etc..Specifically it can determine that the embodiment of the present invention is not according to actual use demandIt limits.
S600b, terminal obtain the first scene information according to the first behavioural information.
Illustratively, in the embodiment of the present invention, if user presses screen, master when the screen of terminal is in screen lock statePage key or power key etc., then terminal can determine that the first scene is believed according to the behavioural information (i.e. the first behavioural information) of userBreath solves the scene information of the authentication scene of lock screen for instruction.If user initiates branch using the payment class APP in terminalIt pays, then terminal can determine the first scene information for instruction payment according to the behavioural information (i.e. the first behavioural information) of userAuthentication scene scene information.If user clicks the encryption APP in terminal, terminal can be according to user'sBehavioural information (i.e. the first behavioural information) determines that the first scene information is that the authentication scene for having encrypted APP is opened in instructionScene information.If user clicks the encrypted file in terminal, terminal can be according to the behavioural information (i.e. first of userBehavioural information), determine that the first scene information is the scene information for the authentication scene that encrypted file is checked in instruction.If withThe encrypted file folder in terminal is clicked at family, then terminal can determine the first scene information according to the first behavioural information to refer toShow the scene information for opening the authentication scene of encrypted file folder.It can specifically be determined according to actual use demand, this hairBright embodiment is not construed as limiting.
Verifying interface display method provided in an embodiment of the present invention, it is available to be used to indicate user currently to the behaviour of terminalMake the first behavioural information of behavior, it is possible thereby to determine corresponding first scene information of first behavioural information, and then can rootAccording to first scene information, the first authentication policy corresponding with first scene information is obtained, then further according to first verifyingStrategy shows M verifying interface, to carry out authentication by this M verifying interface for user, so as to promote userThe safety of authentication is carried out in using terminal.
As shown in figure 8, the embodiment of the present invention provides a kind of terminal 700, which may include obtaining 701 He of moduleDisplay module 702.
Module 701 is obtained, for obtaining the first scene information, and according to first scene information, is obtained and this firstCorresponding first authentication policy of scape information, wherein first scene information is used to indicate the current authentication field of terminal 700Scape, first authentication policy include M kind verification mode, and M is the integer more than or equal to 2;Display module 702 is obtained for basisThe first authentication policy that modulus block 701 obtains shows M verifying interface, wherein each verifying interface corresponds to a kind of authenticationFormula, and each verifying interface carries out authentication using corresponding verification mode for user.
Optionally, in the embodiment of the present invention, display module 702, specifically for according to first in above-mentioned M kind verification modeKind verification mode, shows first verifying corresponding with the first verification mode interface in this M verifying interface;And in userAfter being proved to be successful using the first verification mode, every kind in the M kind verification mode in addition to the first verification mode is testedCard mode, is performed both by following step, to show other verifyings circle in this M verifying interface in addition to first is verified interfaceFace: after user is proved to be successful using the N kind verification mode in the M kind verification mode, showing in this M verifying interface, withN+1 kind verification mode corresponding the N+1 verifying interface in the M kind verification mode, N are the integer more than or equal to 2, NLess than M.
Optionally, in the embodiment of the present invention, obtain module 701, be specifically used for obtaining the first behavioural information, and according to thisOne behavioural information, obtains above-mentioned first scene information, which is used to indicate operation of the user currently to terminal 700Behavior.
Optionally, in conjunction with Fig. 8, as shown in figure 9, terminal provided in an embodiment of the present invention 700 can also include receiving module703 and preserving module 704.
Receiving module 703, for before obtaining module 701 and obtaining the first scene information, receiving the first input of user,First input is input of the user in authentication set interface to target scene information;Display module 702 is also used to ringIt should be inputted in receiving module 703 received first, show at least one authentication policy;Receiving module 703 is also used to receive userThe second input, which is that user inputs the selection of the target verification strategy in above-mentioned at least one authentication policy;Preserving module 704 is also used to input in response to receiving module 703 received second, under above-mentioned target scene information, saves meshMark authentication policy.
Optionally, in the embodiment of the present invention, above-mentioned target verification strategy is any one of following: target verification strategy includes oneKind verification mode;Target verification strategy includes at least two verification modes and every kind of verification mode is verified;Target verificationStrategy includes at least two verification modes and at least two verification mode selects a verifying.
Optionally, in the embodiment of the present invention, above-mentioned M kind verification mode is verified including at least hand shape.
Terminal provided in an embodiment of the present invention can be realized each process that terminal is realized in above method embodiment, to keep awayExempt to repeat, which is not described herein again.
Terminal provided in an embodiment of the present invention can be obtained and be tested with the identity under the current authentication scene of terminalThe corresponding authentication policy of scene is demonstrate,proved, and shows that corresponding with the authentication policy at least two verify interface, so that user can beMultifactor authentication (specially one is carried out using verification mode preset in the authentication policy on at least two verifyings interfaceVerifying interface corresponds to a kind of verification mode), to improve the safety that user carries out authentication in using terminal.
A kind of hardware structural diagram of Figure 10 terminal of each embodiment to realize the present invention.As shown in Figure 10, the endEnd 800 includes but is not limited to: radio frequency unit 801, network module 802, audio output unit 803, input unit 804, sensor805, display unit 806, user input unit 807, interface unit 808, memory 809, processor 810 and power supply 811 etc.Component.It will be understood by those skilled in the art that the restriction of the not structure paired terminal of terminal structure shown in Figure 10, terminal can be withIncluding perhaps combining certain components or different component layouts than illustrating more or fewer components.In the embodiment of the present inventionIn, terminal include but is not limited to mobile phone, tablet computer, laptop, palm PC, car-mounted terminal, wearable device andPedometer etc..
Wherein, processor 810, for obtaining the first scene information;And according to first scene information, obtain with this firstCorresponding first authentication policy of scene information;And according to first authentication policy, show M verifying interface.Wherein, this firstScene information is used to indicate the current authentication scene of terminal, which includes M kind verification mode, M be greater thanOr the integer equal to 2, wherein each verifying interface corresponds to a kind of verification mode, and each verifying interface is for user's use pairThe verification mode answered carries out authentication.
The embodiment of the present invention provides a kind of terminal, the terminal can under the current authentication scene of terminal, obtain withThe corresponding authentication policy of authentication scene, and show at least two verifying corresponding with authentication policy interface, thus withFamily can carry out multifactor authentication (tool using verification mode preset in the authentication policy on at least two verifyings interfaceBody is that a verifying interface corresponds to a kind of verification mode), to improve the peace that user carries out authentication in using terminalQuan Xing.
It should be understood that the embodiment of the present invention in, radio frequency unit 801 can be used for receiving and sending messages or communication process in, signalSend and receive, specifically, by from base station downlink data receive after, to processor 810 handle;In addition, by uplinkData are sent to base station.In general, radio frequency unit 801 includes but is not limited to antenna, at least one amplifier, transceiver, couplingDevice, low-noise amplifier, duplexer etc..In addition, radio frequency unit 801 can also by wireless communication system and network and other setStandby communication.
Terminal provides wireless broadband internet by network module 802 for user and accesses, and such as user is helped to receive and dispatch electricitySub- mail, browsing webpage and access streaming video etc..
Audio output unit 803 can be received by radio frequency unit 801 or network module 802 or in memory 809The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 803 can also provide and endThe relevant audio output of specific function (for example, call signal receives sound, message sink sound etc.) that end 800 executes.SoundFrequency output unit 803 includes loudspeaker, buzzer and receiver etc..
Input unit 804 is for receiving audio or video signal.Input unit 804 may include graphics processor(graphics processing unit, GPU) 8041 and microphone 8042, graphics processor 8041 is in video acquisition modeOr the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries outReason.Treated, and picture frame may be displayed on display unit 806.Through graphics processor 8041, treated that picture frame can be depositedStorage is sent in memory 809 (or other storage mediums) or via radio frequency unit 801 or network module 802.MikeWind 8042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can beThe format output that mobile communication base station can be sent to via radio frequency unit 801 is converted in the case where telephone calling model.
Terminal 800 further includes at least one sensor 805, such as optical sensor, motion sensor and other sensors.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient lightLight and shade adjusts the brightness of display panel 8061, and proximity sensor can close display panel when terminal 800 is moved in one's ear8061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis) and addThe size of speed can detect that size and the direction of gravity when static, can be used to identify terminal posture (such as horizontal/vertical screen switching,Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Sensor 805 can be withIncluding fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, hygrometer, thermometer,Infrared sensor etc., details are not described herein.
Display unit 806 is for showing information input by user or being supplied to the information of user.Display unit 806 can wrapDisplay panel 8061 is included, liquid crystal display (liquid crystal display, LCD), Organic Light Emitting Diode can be usedForms such as (organic light-emitting diode, OLED) configure display panel 8061.
User input unit 807 can be used for receiving the number or character information of input, and generates and set with the user of terminalIt sets and the related key signals of function control inputs.Specifically, user input unit 807 include touch panel 8071 and otherInput equipment 8072.Touch panel 8071, also referred to as touch screen, collect user on it or nearby touch operation (such asUser is using any suitable objects or attachment such as finger, stylus on touch panel 8071 or near touch panel 8071Operation).Touch panel 8071 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus is examinedThe touch orientation of user is surveyed, and detects touch operation bring signal, transmits a signal to touch controller;Touch controller fromTouch information is received on touch detecting apparatus, and is converted into contact coordinate, then gives processor 810, receives processor 810The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic wavesRealize touch panel 8071.In addition to touch panel 8071, user input unit 807 can also include other input equipments 8072.Specifically, other input equipments 8072 can include but is not limited to physical keyboard, function key (such as volume control button, switchKey etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 8071 can be covered on display panel 8061, when touch panel 8071 is detected at itOn or near touch operation after, send processor 810 to determine the type of touch event, be followed by subsequent processing device 810 according to touchingThe type for touching event provides corresponding visual output on display panel 8061.Although in Figure 10, touch panel 8071 and aobviousShow that panel 8061 is the function that outputs and inputs of realizing terminal as two independent components, but in certain embodiments,The function that outputs and inputs that touch panel 8071 and display panel 8061 can be integrated and be realized terminal, does not limit specifically hereinIt is fixed.
Interface unit 808 is the interface that external device (ED) is connect with terminal 800.For example, external device (ED) may include it is wired orWireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, memory card port,For connecting port, the port audio input/output (I/O), video i/o port, ear port of the device with identification moduleEtc..Interface unit 808 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and willOne or more elements that the input received is transferred in terminal 800 or can be used for terminal 800 and external device (ED) itBetween transmit data.
Memory 809 can be used for storing software program and various data.Memory 809 can mainly include storing program areaThe storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one functionSound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such asAudio data, phone directory etc.) etc..In addition, memory 809 may include high-speed random access memory, it 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 810 is the control centre of terminal, using the various pieces of various interfaces and the entire terminal of connection, is led toIt crosses operation or executes the software program and/or module being stored in memory 809, and call and be stored in memory 809Data execute the various functions and processing data of terminal, to carry out integral monitoring to terminal.Processor 810 may include oneOr multiple processing units;Optionally, processor 810 can integrate application processor and modem processor, wherein application processingThe main processing operation system of device, user interface and application program etc., modem processor mainly handles wireless communication.It can manageSolution, above-mentioned modem processor can not also be integrated into processor 810.
Terminal 800 can also include the power supply 811 (such as battery) powered to all parts, and optionally, power supply 811 can be withIt is logically contiguous by power-supply management system and processor 810, thus by power-supply management system realize management charging, electric discharge, withAnd the functions such as power managed.
In addition, terminal 800 includes some unshowned functional modules, details are not described herein.
Optionally, the embodiment of the present invention also provides a kind of terminal, including processor 810 as shown in Figure 10, memory809, it is stored in the computer program that can be run on memory 809 and on the processor 810, the computer program is processedDevice 810 realizes each process of above-mentioned verifying interface display method embodiment when executing, and can reach identical technical effect, isIt avoids repeating, which is not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage mediumCalculation machine program, the computer program realize each process of above-mentioned verifying interface display method embodiment when being executed by processor,And identical technical effect can be reached, to avoid repeating, which is not described herein again.Wherein, which can be withIncluding read-only memory (read-only memory, ROM), random access memory (random access memory,RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-rowHis property includes, so that the process, method, article or the device that include a series of elements not only include those elements, andAnd further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsicElement.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to doThere is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment sideMethod can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many casesThe former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior artThe part contributed out can be embodied in the form of software products, which is stored in a storage mediumIn (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, serviceDevice, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specificEmbodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the artUnder the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very muchForm belongs within protection of the invention.