CN110032861A - A kind of method and terminal device that password is set - Google Patents

A kind of method and terminal device that password is set Download PDF

Info

Publication number
CN110032861A
CN110032861A CN201910186161.7A CN201910186161A CN110032861A CN 110032861 A CN110032861 A CN 110032861A CN 201910186161 A CN201910186161 A CN 201910186161A CN 110032861 A CN110032861 A CN 110032861A
Authority
CN
China
Prior art keywords
terminal device
password
parameter
information
target application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910186161.7A
Other languages
Chinese (zh)
Other versions
CN110032861B (en
Inventor
沈小刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Shenzhen Co Ltd
Original Assignee
Communication Software Co Ltd Of Dongguan City Bubukao
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Communication Software Co Ltd Of Dongguan City Bubukao filed Critical Communication Software Co Ltd Of Dongguan City Bubukao
Priority to CN201910186161.7A priority Critical patent/CN110032861B/en
Publication of CN110032861A publication Critical patent/CN110032861A/en
Application granted granted Critical
Publication of CN110032861B publication Critical patent/CN110032861B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/45Structures or tools for the administration of authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/66Substation equipment, e.g. for use by subscribers with means for preventing unauthorised or fraudulent calling
    • H04M1/667Preventing unauthorised calls from a telephone set
    • H04M1/67Preventing unauthorised calls from a telephone set by electronic means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Abstract

The embodiment of the invention discloses a kind of methods and terminal device that password is arranged, and are applied to field of communication technology, can solve the problems, such as that the mode of setting password is inflexible.This method is applied to terminal device, comprising: in the case where terminal device is in screen lock state, obtains the status information of terminal device, according to status information, determines first password corresponding with status information;And by the screen-lock password of terminal device be first password by the second password update, first password and the second password are different passwords;Status information includes at least one in the usage scenario information of the attribute information and terminal device of target application in terminal device;The attribute information of target application includes at least one in the type of target application and the security classification of target application;The usage scenario information of terminal device includes the posture of terminal device, at least one of the system time and terminal device of terminal device in the unlock number in the first preset duration.In scene applied to setting password.

Description

A kind of method and terminal device that password is set
Technical field
The present embodiments relate to field of communication technology more particularly to a kind of methods and terminal device that password is arranged.
Background technique
It is universal with terminal technology, terminal device using more and more extensive.
In order to guarantee the user information in terminal device, screen-lock password can be arranged for terminal device in user.Screen locking at present Password can there are many forms, such as finger-print cipher, numerical ciphers.Pattern password and iris password etc..It is usually manual in user The form that screen-lock password after screen-lock password is arranged just has been fixed, and except non-user again manual setting, otherwise can not be changed, because The mode that password is arranged in this at present is inflexible.
Summary of the invention
The embodiment of the present invention provides a kind of method and terminal device that password is arranged, existing in the prior art to solve The inflexible problem of the mode of password is set.
In order to solve the above-mentioned technical problem, the embodiments of the present invention are implemented as follows:
In a first aspect, providing a kind of method that password is arranged, it is applied to terminal device, this method comprises: in terminal device In the case where screen lock state, the status information of terminal device is obtained;According to status information, determination is corresponding with status information First password;It by the second password update is first password by the screen-lock password of terminal device, first password and the second password are not Same password.
Wherein, status information includes the usage scenario information of the attribute information and terminal device of target application in terminal device At least one of in;Target application is the application having been turned in terminal device, and the attribute information of target application includes target application Type and target application security classification at least one of;The usage scenario information of terminal device includes the appearance of terminal device State, at least one of the system time and terminal device of terminal device in the unlock number in the first preset duration.
Second aspect provides a kind of terminal device, which includes: to obtain module, determining module and setup module; Module is obtained, for obtaining the status information of terminal device in the case where terminal device is in screen lock state;Determining module, Status information for obtaining according to module is obtained determines first password corresponding with status information;Setup module, being used for will By the first password that the second password update is that determining module determines, first password and the second password are the screen-lock password of terminal device Different passwords.
Wherein, status information includes the usage scenario information of the attribute information and terminal device of target application in terminal device At least one of in;Target application is the application having been turned in terminal device, and the attribute information of target application includes target application Type and target application security classification at least one of;The usage scenario information of terminal device includes the appearance of terminal device State, at least one of the system time and terminal device of terminal device in the unlock number in the first preset duration.
The third aspect provides a kind of terminal device, which includes processor, memory and be stored in the memory Computer program that is upper and can running on the processor, realizes such as first aspect when which is executed by the processor The step of method of the setting password.
Fourth aspect provides a kind of computer readable storage medium, stores computer on the computer readable storage medium Program, when which is executed by processor the step of the method for the setting password of realization as described in relation to the first aspect.
In embodiments of the present invention, in the case where terminal device is in screen lock state, the state letter of terminal device is obtained Breath;According to status information, first password corresponding with status information is determined;More by the second password by the screen-lock password of terminal device It is newly first password, first password and the second password are different passwords.Wherein, status information include in terminal device target answer At least one of in the usage scenario information of attribute information and terminal device;Target application is to have been turned in terminal device Using the attribute information of target application includes at least one in the type of target application and the security classification of target application;Eventually The usage scenario information of end equipment includes the posture of terminal device, and the system time and terminal device of terminal device are default first At least one of in unlock number in duration.With this solution, the status information of the available terminal device of terminal device, and First password is determined according to the status information, and by the screen-lock password of terminal device by the second password update is that this is first close Code, the screen-lock password that such terminal device can be different according to the different conditions information update of current terminal device, compared to Fixed screen-lock password is arranged in the prior art to compare, it can more flexible setting password.
Detailed description of the invention
Fig. 1 is a kind of configuration diagram of possible Android operation system provided in an embodiment of the present invention;
Fig. 2 is a kind of method schematic diagram that password is arranged provided in an embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of terminal device provided in an embodiment of the present invention;
Fig. 4 is a kind of hardware schematic of terminal device provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Term " first " and " second " in description and claims of this specification etc. are for distinguishing different pairs As, rather than it is used for the particular order of description object.For example, first password and the second password etc. are different close for distinguishing Code, rather than the particular order for describing password.
It should be noted that in the embodiment of the present invention, " illustrative " or " such as " etc. words make example, example for indicating Card or explanation.Be described as in the embodiment of the present invention " illustrative " or " such as " any embodiment or design scheme do not answer It is interpreted than other embodiments or design scheme more preferably or more advantage.Specifically, " illustrative " or " example are used Such as " word is intended to that related notion is presented in specific ways.
Terminal device in the embodiment of the present invention can be the terminal device with operating system.The operating system can be Android (Android) operating system can be ios operating system, can also be other possible operating systems, and the present invention is implemented Example is not especially limited.
Below by taking Android operation system as an example, the method for introducing setting password provided in an embodiment of the present invention is applied Software 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.Scheming In 1, the framework of Android operation system includes 4 layers, be respectively as follows: application layer, application framework layer, system Runtime Library layer and Inner nuclear layer (is specifically as follows Linux inner core).
Wherein, application layer includes each application program (including system application and in Android operation system Tripartite'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 program In 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 behaviour As system it is provided needed for all kinds of resources.Android operation system running environment is used to provide software loop for Android operation system Border.
Inner nuclear layer is the operating system layer of Android operation system, belongs to the bottom of Android operation system software level.It is interior Stratum 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 1 The system architecture of operating system, the software program of the method for setting password provided in an embodiment of the present invention is realized in exploitation, to make The method for obtaining the setting password can be run based on Android operation system as shown in Figure 1.That is processor or terminal device can In the method for realizing setting password provided in an embodiment of the present invention by running the software program in Android operation system.
The embodiment of the present invention provides a kind of method and terminal device that password is arranged, and terminal device is in lock in terminal device In the case where screen state, the status information of terminal device is obtained;According to status information, determine that corresponding with status information first is close Code;It by the second password update is first password by the screen-lock password of terminal device, first password and the second password are different close Code.Wherein, status information includes in terminal device in the usage scenario information of the attribute information and terminal device of target application At least one of;Target application is the application having been turned in terminal device, and the attribute information of target application includes the class of target application At least one of in the security classification of type and target application;The usage scenario information of terminal device includes the posture of terminal device, At least one of the system time and terminal device of terminal device in the unlock number in the first preset duration.Pass through the party Case, the status information of the available terminal device of terminal device, and first password is determined according to the status information, and by terminal The screen-lock password of equipment is the first password by the second password update, and such terminal device can be according to current terminal device The different screen-lock password of different conditions information update, the fixed screen-lock password of middle setting is compared compared with the prior art, Ke Yigeng Add flexible setting password.
Terminal device in the embodiment of the present invention can be mobile terminal device, or immobile terminal equipment.It moves Dynamic terminal device can be mobile phone, tablet computer, laptop, palm PC, vehicle-mounted terminal equipment, wearable device, surpass Grade mobile personal computer (ultra-mobile personal computer, UMPC), net book or personal digital assistant (personal digital assistant, PDA) etc.;Immobile terminal equipment can be personal computer (personal Computer, PC), television set (television, TV), automatic teller machine or self-service machine etc.;The embodiment of the present invention does not limit specifically It is fixed.
The executing subject of the method for setting password provided in an embodiment of the present invention (including can move for above-mentioned terminal device Dynamic terminal device and immobile terminal equipment), or it can be realized the function of the method for the setting password in the terminal device Energy module and/or functional entity can specifically determine that the embodiment of the present invention is not construed as limiting according to actual use demand.Below By taking terminal device as an example, the method for setting password provided in an embodiment of the present invention is illustratively illustrated.
As shown in Fig. 2, the embodiment of the present invention provide it is a kind of be arranged password method, this method include the following steps S11, S12 and S13.
S11, terminal device obtain the status information of terminal device in the case where terminal device is in screen lock state.
Wherein, the status information of above-mentioned terminal device can serve to indicate that the current use state of terminal device.
Optionally, the status information of above-mentioned terminal device include in terminal device the attribute information of target application and terminal set At least one of in standby usage scenario information.Wherein, target application is the application run in terminal device, target application Attribute information includes at least one in the type of target application and the security classification of target application;The usage scenario of terminal device Information includes the posture of terminal device, unlock number of the system time and terminal device of terminal device in the first preset duration At least one of in.
That is, the status information of above-mentioned terminal device includes at least one of following information: the class of target application Type, the security classification of target application, the posture of terminal device, the system time of terminal device and terminal device are in a preset duration Interior unlock number.
Optionally, the application of above-mentioned operation may include in running background and in front stage operation.
Optionally, the type of target application includes: the application of wealth class, communication class application and game class application etc..Wherein, wealth Rich class application may include payment application and financing application etc.;Communication class, which is applied, includes instant messaging application, short message application Deng.
Optionally, the type of target application determines terminal device to the security requirements of screen-lock password.Due to unlocking After the screen-lock password of terminal device, the information (without starting application) that can be directly viewable in the application of operation, therefore run When the attribute information difference of application, terminal device needs the demand to the privacy degrees of screen-lock password different.For example, terminal device Middle operation has wealth class in application, due to being related to the property safety of user, it is therefore desirable to which the screen locking of higher privacy degrees is close Code;In the case where no operation wealth class application and operation have communication class application, due to being related to the individual factor of user, Also it is generally necessary to which the screen-lock password (for example, iris password) of higher privacy degrees is arranged;No operation wealth class apply and Communication class application, and operation there is confidentiality application/be limited to specific people to use application in the case where, medium security can be set The screen-lock password (for example, finger-print cipher) of degree, and for only having run public open program in the case where, lower secrecy is set The screen-lock password (such as pattern password or numerical ciphers) of degree.
In the embodiment of the present invention, whether the security classification of target application can be provided with secrecy function by the target application itself It can determine.Illustratively, the security classification of target application can be divided into advanced and rudimentary, wherein if target application is provided with Password, then its security classification is advanced, if the not set password of target application, security classification is rudimentary.
Optionally, the security classification of target application is higher, and terminal device is higher to the security requirements of screen-lock password.
In the embodiment of the present invention, the situation that the security classification of target application can also be opened from the target application to user is determined It is fixed.Mesh is the application towards all publics, but some applications are then for example, some can be used using anyone Specific people uses, such as application can be used in intra-company employee in some company.It is this be limited to that specific people uses answer It is logged in particular account number is typically required, or the application used after being verified by specific identity information verification mode.If mesh Mark application is application to public, then its use scope is wider, if target application is answering of being limited to that specific people uses With then its use scope is smaller.
Optionally, the use scope of target application is smaller, and terminal device is higher to the security requirements of screen-lock password.
S12, terminal device determine first password corresponding with the status information according to the status information.
In the embodiment of the present invention, terminal device may include a variety of different passwords.
Optionally, password different in the embodiment of the present invention can refer to that encrypted form is identical, but encrypted content is different Password.
Optionally, password different in the embodiment of the present invention can refer to the different password of encrypted form.
Optionally, password can be there are many encryption type.Such as the password in the embodiment of the present invention can be numerical ciphers (encrypted form is number), finger-print cipher (encrypted form is fingerprint), pattern password (encrypted form is pattern) and iris password (encrypted form is iris) etc..
Wherein, the mode of the unlock of the different password of encrypted form is different in the embodiment of the present invention.
Optionally, in the embodiment of the present invention, the privacy degrees of the different password of encrypted form are different.For example, the present invention is real Applying the sequence of the privacy degrees of the different password of encrypted form in example from low to high can be with are as follows: numerical ciphers, pattern password, fingerprint Password and iris password.
Optionally, in the embodiment of the present invention, the unlock convenience of the different password of encrypted form is also different.For example, this The sequence of the unlock convenience of the different password of encrypted form from high to low can be in inventive embodiments are as follows: finger-print cipher, number Word password, pattern password and iris password.
Optionally, above-mentioned unlock convenience refers to the time-consuming length in unlocking pin.Wherein, it is consumed in unlocking pin When it is shorter, illustrate unlock convenience it is higher.
In the embodiment of the present invention, can be preset in terminal device different privacy degrees and it is different unlock convenience it is close Code, then according to the status information of terminal device determine requirement of the terminal device to the privacy degrees of screen-lock password and to screen locking it is close The requirement of the convenience of code, determines first password.
Optionally, present terminal equipment pair can be determined according to the attribute information of target application in the embodiment of the present invention The requirement of the privacy degrees of screen-lock password.
Optionally, it can determine that present terminal is set according to the usage scenario information of terminal device in the embodiment of the present invention The requirement of the standby convenience (i.e. the convenience of the screen-lock password of unlock terminal device) to screen-lock password.
In the embodiment of the present invention, since terminal device is under different usage scenarios, to the convenience of unlocking terminal equipment Demand it is different, therefore the usage scenario that terminal device is presently in can be determined, so according to terminal device usage scenario information Screen-lock password is further determined afterwards.
Optionally, the posture of terminal device can determine posture when user unlocks screen-lock password, and user unlocks screen locking The posture that password is determines its difficulty operated when unlocking screen-lock password.For example, usually user sets in recumbency using terminal The posture (being denoted as posture 1) of terminal device, the posture (posture 2) of terminal device when holding terminal device on one's feet with user when standby Difference, usually under posture 1, operation is more difficult when user unlocks screen-lock password, it may be desirable to more convenient and fast unlocking manner.
In the embodiment of the present invention, the password of different conveniences can correspond to different terminal postures.
Optionally, on daytime and night, requirement of the usual terminal device to unlock convenience is different, and night is usually to just The requirement of victory unlock is higher, can be by knowing the system time of terminal device, to know its requirement to boundary unlock.
In the embodiment of the present invention, the password of different conveniences can be with the different system times of counterpart terminal equipment.
Optionally, unlock number of the terminal device in a preset duration is more, then terminal device wants convenient unlock Ask higher.
In the embodiment of the present invention, the password of different conveniences can correspond to the different unlocks time in a preset duration Number.
The screen-lock password of terminal device is first password by the second password update by S13, terminal device.
Wherein, first password is different passwords from the second password.
Illustratively, in the embodiment of the present invention, if having run wealth class application in terminal device, such as Mobile banking answers In the case where with, payment class application, the application of fund stock class, terminal device needs the screen-lock password of higher privacy degrees.Assuming that The screen-lock password of script terminal device is numerical ciphers, then due in terminal device operation have wealth class application, at this moment can be with Screen-lock password is updated to the higher iris password of privacy degrees by numerical ciphers.
The embodiment of the present invention provides a kind of method that password is arranged, and terminal device is in the feelings of screen lock state in terminal device Under condition, the status information of terminal device is obtained;According to status information, first password corresponding with status information is determined;By terminal The screen-lock password of equipment is first password by the second password update, and first password and the second password are different passwords.Wherein, shape State information includes at least one in the usage scenario information of the attribute information and terminal device of target application in terminal device;Mesh Mark application is the application having been turned in terminal device, and the attribute information of target application includes the type and target application of target application Security classification at least one of;The usage scenario information of terminal device includes the posture of terminal device, and terminal device is At least one of in the unlock number of system time and terminal device in the first preset duration.With this solution, terminal device can To obtain the status information of terminal device, and first password is determined according to the status information, and the screen locking of terminal device is close Code is the first password by the second password update, and such terminal device can be according to the different conditions information of current terminal device Different screen-lock passwords is updated, the fixed screen-lock password of middle setting is compared compared with the prior art, more flexible can be arranged Password.
Optionally, status information includes the attribute information of target application, and according to status information, determination is corresponding with status information First password, comprising: according to the attribute information of target application, determine the first security parameter;The is in the first security parameter In the case where within the scope of one security parameter, determine that third password corresponding with the first security parameter range is first password.
Wherein, different security parameter ranges correspond to the password of different encrypted forms.
Optionally, above-mentioned first parameter is for characterizing demand of the terminal device to confidentiality.
Optionally, it is assumed that the attribute information of target application include target application type and target application security classification this Two.Above-mentioned first security parameter can the attribute information determination of target application according to.Specifically, can be first according to target The type of application and the security classification of mark application are marked, determining 2 the second security parameters respectively, (attribute information of each application can To determine 1 the second security parameter), it then sums to 2 obtained the second security parameters, to obtain above-mentioned first Security parameter.
Optionally, above-mentioned first security parameter and above-mentioned second security parameter all can be numerical value.
Illustratively, it is assumed that operation has the first application in terminal device, which is payment application, corresponding guarantor It is close higher ranked, it can determine that the second security parameter is denoted as A according to the type of the first application, if the secrecy etc. of first application Grade is higher, then according to the security classification of the first application, the second security parameter determined is denoted as B, if the use of the target application Range is then C to be denoted as according to the second security parameter that the use scope of target application is determined, to A, B and C for public It sums, then the first security parameter of available first application.
Optionally, status information includes the usage scenario information of terminal device, according to status information, determining and status information Corresponding first password, comprising: according to the usage scenario information of terminal device, determine the first convenient parameter;In the first convenient ginseng In the case that number is in the first convenient parameter area, determine that the 4th password corresponding with the first convenient parameter area is close for first Code.
Wherein, different convenient parameter areas correspond to the password of different unlock forms.
Optionally, the first convenient parameter is for characterizing demand of the terminal device to convenience.Can specifically it refer to for solution Lock the demand of the convenience of screen-lock password.
Optionally, it is assumed that the usage scenario information of terminal device includes the posture of terminal device, when the system of terminal device Between and unlock number of the terminal device in the first preset duration three.Above-mentioned first convenient parameter can according to terminal device Usage scenario information determine.Specifically, can be first according to the posture of terminal device, the system time and terminal of terminal device Unlock number of the equipment in the first preset duration, determining 3 the second security parameters respectively, (attribute information of each application can To determine 1 the second security parameter), it then sums to 3 obtained the second security parameters, to obtain above-mentioned first Security parameter.
Optionally, the above-mentioned first convenient parameter and above-mentioned second convenient parameter all can be numerical value.
Illustratively, it can determine that the second convenient parameter is D according to the posture of terminal device, it can be according to terminal device System time go out the second convenient parameter be E, can be determined according to unlock number of the terminal device in the first preset duration Second convenient parameter is F, is summed to D, E and F, then available above-mentioned first convenient parameter.
Optionally, status information includes the attribute information of target application and the usage scenario information of terminal device, according to shape State information determines first password corresponding with attribute information, comprising: according to the attribute information of target application, determine the first secrecy Parameter, and according to the usage scenario information of terminal device, determine the first convenient parameter;It is greater than or equal in the first security parameter First convenient parameter, and in the case that the first security parameter is within the scope of the first security parameter, it is determining with the first security parameter The corresponding third password of range is first password;In the first security parameter less than the first convenient parameter, and at the first convenient parameter In the case where in the first convenient parameter area, determine that the 4th password corresponding with the first convenient range is first password.
Wherein, different security parameter ranges correspond to the password of different unlock forms, and different convenient parameter areas are corresponding not With the password of unlock form.
It should be noted that the method for above-mentioned each setting password shown in the drawings is to tie in the embodiment of the present invention Illustratively illustrate for an attached drawing in the conjunction embodiment of the present invention.It is above-mentioned each shown in the drawings to set when specific implementation Other combinable any attached drawings that the method for setting password can be combined with illustrating in above-described embodiment are realized, no longer superfluous herein It states.
As shown in figure 3, the embodiment of the present invention provides a kind of terminal device 130, which is in screen lock state, The terminal device 130 includes: to obtain module 131, determining module 132 and setup module 133.
Module 131 is obtained, for obtaining the state of terminal device in the case where the terminal device is in screen lock state Information;Determining module 132, the status information for obtaining according to module is obtained, determines first password corresponding with status information; Setup module 133, the first password for determining determining module 132 are set as the screen-lock password of terminal device.
Wherein, the status information includes the attribute information of target application and the terminal device in the terminal device At least one of in usage scenario information;
The target application is the application having been turned in the terminal device, and the attribute information of the target application includes institute State at least one in the type of target application and the security classification of the target application;The usage scenario of the terminal device is believed Breath includes the posture of terminal device, and the system time and terminal device of terminal device are in the unlock number in the first preset duration At least one of.
Optionally, first password is different from the encrypted form of the second password.
Optionally, above-mentioned status information includes the attribute information of target application, and determining module 132 is specifically used for according to mesh The attribute information for marking application, determines the first security parameter;The situation within the scope of the first security parameter is in the first security parameter Under, determine that third password corresponding with the first security parameter range is first password;Wherein, different security parameter ranges are corresponding not With the password of unlock form.
Optionally, above-mentioned status information includes the usage scenario information of terminal device, and determining module 132 is specifically used for root According to the usage scenario information of terminal device, the first convenient parameter is determined;The first convenient parameter area is in the first convenient parameter In the case where interior, determine that the 4th password corresponding with the first convenient range is first password;Wherein, different security parameter ranges pair Answer the password of different unlock forms.
Optionally, above-mentioned status information includes the attribute information of target application and the usage scenario information of terminal device, really Cover half block 132 determines the first security parameter specifically for the attribute information according to target application, and according to terminal device Usage scenario information determines the first convenient parameter;It is greater than or equal to the first convenient parameter, and the first secrecy in the first security parameter In the case that parameter is within the scope of the first security parameter, determine that third password corresponding with the first security parameter range is first Password;In the first security parameter less than the first convenient parameter, and the first convenient parameter is in the feelings in the first convenient parameter area Under condition, determine that the 4th password corresponding with the first convenient parameter area is first password.
Terminal device provided in an embodiment of the present invention can be realized each process shown in above method embodiment, to keep away Exempt to repeat, details are not described herein again.
The embodiment of the present invention provides a kind of terminal device, in the case where terminal device is in screen lock state, obtains terminal The status information of equipment;According to status information, first password corresponding with status information is determined;By the screen-lock password of terminal device It is first password by the second password update, first password and the second password are different passwords.Wherein, status information includes terminal In equipment in the usage scenario information of the attribute information and terminal device of target application at least one of;Target application sets for terminal The application having been turned in standby, the attribute information of target application includes in the type of target application and the security classification of target application At least one of;The usage scenario information of terminal device includes the posture of terminal device, and the system time and terminal of terminal device are set At least one of in the standby unlock number in the first preset duration.With this solution, the available terminal device of terminal device Status information, and first password is determined according to the status information, and by the screen-lock password of terminal device by the second password more It is newly the first password, the screen locking that such terminal device can be different according to the different conditions information update of current terminal device Password, the fixed screen-lock password of middle setting is compared compared with the prior art, can more flexible setting password.
A kind of hardware schematic of Fig. 4 terminal device of each embodiment to realize the present invention, the terminal device 100 include But be not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display are single The components such as member 106, user input unit 107, interface unit 108, memory 109, processor 110 and power supply 111.Ability Field technique personnel are appreciated that terminal device structure shown in Fig. 4 does not constitute the restriction to terminal device, and terminal device can To include perhaps combining certain components or different component layouts than illustrating more or fewer components.Implement in the present invention In example, terminal device includes but is not limited to mobile phone, tablet computer, laptop, palm PC, vehicle-mounted terminal equipment, can wear Wear equipment and pedometer etc..
Wherein, processor 110, for obtaining the state of terminal device in the case where terminal device is in screen lock state Information;According to status information, first password corresponding with status information is determined;By the screen-lock password of terminal device by the second password It is updated to first password, first password and the second password are different passwords.Wherein, status information includes target in terminal device At least one of in the attribute information of application and the usage scenario information of terminal device;Target application is to have been turned in terminal device Application, the attribute information of target application include in the type of target application and the security classification of target application at least one of; The usage scenario information of terminal device includes the posture of terminal device, and the system time and terminal device of terminal device are pre- first At least one of if in the unlock number in duration.
The embodiment of the present invention provides a kind of terminal device, in the case where terminal device is in screen lock state, obtains terminal The status information of equipment;According to status information, first password corresponding with status information is determined;By the screen-lock password of terminal device It is first password by the second password update, first password and the second password are different passwords.Wherein, status information includes terminal In equipment in the usage scenario information of the attribute information and terminal device of target application at least one of;Target application sets for terminal The application having been turned in standby, the attribute information of target application includes in the type of target application and the security classification of target application At least one of;The usage scenario information of terminal device includes the posture of terminal device, and the system time and terminal of terminal device are set At least one of in the standby unlock number in the first preset duration.With this solution, the available terminal device of terminal device Status information, and first password is determined according to the status information, and by the screen-lock password of terminal device by the second password more It is newly the first password, the screen locking that such terminal device can be different according to the different conditions information update of current terminal device Password, the fixed screen-lock password of middle setting is compared compared with the prior art, can more flexible setting password.
It should be understood that the embodiment of the present invention in, radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 110 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 101 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 101 can also by wireless communication system and network and other set Standby communication.
Terminal device provides wireless broadband internet by network module 102 for user and accesses, and such as user is helped to receive It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 103 can be received by radio frequency unit 101 or network module 102 or in memory 109 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 103 can also provide and end The relevant audio output of specific function that end equipment 100 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 103 includes loudspeaker, buzzer and receiver etc..
Input unit 104 is for receiving audio or video signal.Input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or network module 102.Mike Wind 1042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output that mobile communication base station can be sent to via radio frequency unit 101 is converted in the case where telephone calling model.
Terminal device 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when terminal device 100 is moved in one's ear Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify terminal device posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 105 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with terminal device Family setting and the related key signals input of function control.Specifically, user input unit 107 include touch panel 1071 and Other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071 Neighbouring operation).Touch panel 1071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 110, receiving area It manages the order that device 110 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Seed type realizes touch panel 1071.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 1071 can be covered on display panel 1061, when touch panel 1071 is detected at it On or near touch operation after, send processor 110 to determine the type of touch event, be followed by subsequent processing device 110 according to touching The type for touching event provides corresponding visual output on display panel 1061.Although in Fig. 4, touch panel 1071 and display Panel 1061 is the function that outputs and inputs of realizing terminal device as two independent components, but in some embodiments In, can be integrated by touch panel 1071 and display panel 1061 and realize the function that outputs and inputs of terminal device, it is specific this Place is without limitation.
Interface unit 108 is the interface that external device (ED) is connect with terminal device 100.For example, external device (ED) may include having Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 108 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and By one or more elements that the input received is transferred in terminal device 100 or can be used in 100 He of terminal device Data are transmitted between external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy The 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 device, utilizes each of various interfaces and the entire terminal device of connection A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of terminal device, to carry out integral monitoring to terminal device.Place Managing device 110 may include one or more processing units;Optionally, processor 110 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Terminal device 100 can also include the power supply 111 (such as battery) powered to all parts, optionally, power supply 111 Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put The functions such as electricity and power managed.In addition, terminal device 100 includes some unshowned functional modules, details are not described herein.
The embodiment of the present invention also provides a kind of terminal device, which may include processor, memory and deposits The computer program that can be run on a memory and on a processor is stored up, which may be implemented when being executed by processor Each process that terminal device executes in above method embodiment, and identical technical effect can be reached, to avoid repeating, here It repeats no more.
The embodiment of the present invention provides a kind of computer readable storage medium, which is characterized in that the computer-readable storage medium Computer program is stored in matter, realizes that terminal device executes in above method embodiment when which is executed by processor Each process, and identical technical effect can be reached, to avoid repeating, which is not described herein again.Wherein, this computer-readable is deposited Storage media can be 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-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There 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 side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes Business device, air conditioner or the 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 specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under 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 much Form belongs within protection of the invention.

Claims (11)

1. a kind of method that password is arranged, is applied to terminal device, which is characterized in that the described method includes:
In the case where the terminal device is in screen lock state, the status information of the terminal device is obtained;
According to the state information, first password corresponding with the status information is determined;
It by the second password update is the first password, the first password and described the by the screen-lock password of the terminal device Two passwords are different passwords;
Wherein, the status information includes the use of the attribute information of target application and the terminal device in the terminal device At least one of in scene information;
The target application is the application having been turned in the terminal device, and the attribute information of the target application includes the mesh Mark at least one in the type of application and the security classification of the target application;The usage scenario packet of the terminal device Include the posture of terminal device, the system time and terminal device of terminal device in the unlock number in the first preset duration extremely One item missing.
2. the method according to claim 1, wherein the encrypted form of the first password and second password It is different.
3. according to the method described in claim 2, it is characterized in that, the status information include in the terminal device target answer Attribute information, it is described according to the state information, determine corresponding with status information first password, comprising:
According to the attribute information of the target application, the first security parameter is determined;
In the case where first security parameter is within the scope of the first security parameter, determining and the first security parameter model Enclosing corresponding third password is first password;
Wherein, different security parameter ranges correspond to the password of different encrypted forms.
4. according to the method described in claim 2, it is characterized in that, the status information includes the use field of the terminal device Scape information, it is described according to the state information, determine corresponding with status information first password, comprising:
According to the usage scenario information of the terminal device, the first convenient parameter is determined;
In the case where the described first convenient parameter is in the first convenient parameter area, determining and the described first convenient parameter model Enclosing corresponding 4th password is first password;
Wherein, different security parameter ranges correspond to the password of different encrypted forms.
5. according to the method described in claim 2, it is characterized in that, the status information includes the attribute letter of the target application Breath and the terminal device usage scenario information, it is described according to the state information, determination it is corresponding with the attribute information First password, comprising:
According to the attribute information of the target application, the first security parameter is determined, and field is used according to the terminal device Scape information determines the first convenient parameter;
It is greater than or equal to the described first convenient parameter in first security parameter, and first security parameter is in first and protects In the case where in close parameter area, determine that third password corresponding with the first security parameter range is first password;
It is less than the described first convenient parameter in first security parameter, and the first convenient parameter is in the first convenient parameter In the case where in range, determine that the 4th password corresponding with the described first convenient parameter area is first password.
6. a kind of terminal device, which is characterized in that the terminal device includes: to obtain module, determining module and setup module;
The acquisition module, for obtaining the shape of the terminal device in the case where the terminal device is in screen lock state State information;
The determining module, the status information for being obtained according to the acquisition module, determination are corresponding with the status information First password;
The setup module, for that will be that the determining module is true by the second password update by the screen-lock password of the terminal device Fixed first password, the first password and second password are different passwords;
Wherein, the status information includes the use of the attribute information of target application and the terminal device in the terminal device At least one of in scene information;
The target application is the application having been turned in the terminal device, and the attribute information of the target application includes the mesh Mark at least one in the type of application and the security classification of the target application;The usage scenario packet of the terminal device Include the posture of terminal device, the system time and terminal device of terminal device in the unlock number in the first preset duration extremely One item missing.
7. terminal device according to claim 6, which is characterized in that the encryption of the first password and second password Form is different.
8. terminal device according to claim 7, which is characterized in that the status information includes mesh in the terminal device Mark the attribute information of application;
The determining module determines the first security parameter specifically for the attribute information according to the target application;Described In the case that one security parameter is within the scope of the first security parameter, third corresponding with the first security parameter range is determined Password is first password;Wherein, different security parameter ranges correspond to the password of different encrypted forms.
9. terminal device according to claim 7, which is characterized in that the status information includes making for the terminal device Use scene information;
The determining module determines the first convenient parameter specifically for the usage scenario information according to the terminal device;
In the case where the described first convenient parameter is in the first convenient parameter area, determining and the described first convenient parameter model Enclosing corresponding 4th password is first password;
Wherein, different security parameter ranges correspond to the password of different encrypted forms.
10. terminal device according to claim 7, which is characterized in that the status information includes the target application The usage scenario information of attribute information and the terminal device;
The determining module determines the first security parameter specifically for the attribute information according to the target application, and according to The usage scenario information of the terminal device determines the first convenient parameter;
It is greater than or equal to the described first convenient parameter in first security parameter, and first security parameter is in first and protects In the case where in close parameter area, determine that third password corresponding with the first security parameter range is first password;
It is less than the described first convenient parameter in first security parameter, and the first convenient parameter is in the first convenient parameter In the case where in range, determine that the 4th password corresponding with the described first convenient parameter area is first password.
11. a kind of terminal device, which is characterized in that including processor, memory and be stored on the memory and can be in institute The computer program run on processor is stated, such as claim 1 to 5 is realized when the computer program is executed by the processor Any one of described in setting password method the step of.
CN201910186161.7A 2019-03-12 2019-03-12 Password setting method and terminal equipment Active CN110032861B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910186161.7A CN110032861B (en) 2019-03-12 2019-03-12 Password setting method and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910186161.7A CN110032861B (en) 2019-03-12 2019-03-12 Password setting method and terminal equipment

Publications (2)

Publication Number Publication Date
CN110032861A true CN110032861A (en) 2019-07-19
CN110032861B CN110032861B (en) 2021-04-23

Family

ID=67235918

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910186161.7A Active CN110032861B (en) 2019-03-12 2019-03-12 Password setting method and terminal equipment

Country Status (1)

Country Link
CN (1) CN110032861B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111859367A (en) * 2020-07-28 2020-10-30 中移(杭州)信息技术有限公司 Screen locking password setting method, terminal and computer readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104424410A (en) * 2013-09-05 2015-03-18 深圳市艾酷通信软件有限公司 Method for rapidly starting application in safety class by mobile intelligent terminal and system for rapidly starting application in safety class by mobile intelligent terminal
CN104717344A (en) * 2013-12-12 2015-06-17 联想(北京)有限公司 Application mode switching method and device for mobile terminal and mobile terminal
CN105138874A (en) * 2015-08-24 2015-12-09 努比亚技术有限公司 Screen unlocking control device and method
CN105718780A (en) * 2016-02-23 2016-06-29 深圳市金立通信设备有限公司 Switching method of lock screen mode and terminal
CN106203012A (en) * 2016-06-22 2016-12-07 中国联合网络通信集团有限公司 The processing method of screen locking, device and equipment
CN106446624A (en) * 2015-08-06 2017-02-22 中兴通讯股份有限公司 Mobile terminal unlocking method and mobile terminal
US20170286723A1 (en) * 2016-03-30 2017-10-05 Zhenxiong Zhou Keyboard For Strong Password Input

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104424410A (en) * 2013-09-05 2015-03-18 深圳市艾酷通信软件有限公司 Method for rapidly starting application in safety class by mobile intelligent terminal and system for rapidly starting application in safety class by mobile intelligent terminal
CN104717344A (en) * 2013-12-12 2015-06-17 联想(北京)有限公司 Application mode switching method and device for mobile terminal and mobile terminal
CN106446624A (en) * 2015-08-06 2017-02-22 中兴通讯股份有限公司 Mobile terminal unlocking method and mobile terminal
CN105138874A (en) * 2015-08-24 2015-12-09 努比亚技术有限公司 Screen unlocking control device and method
CN105718780A (en) * 2016-02-23 2016-06-29 深圳市金立通信设备有限公司 Switching method of lock screen mode and terminal
US20170286723A1 (en) * 2016-03-30 2017-10-05 Zhenxiong Zhou Keyboard For Strong Password Input
CN106203012A (en) * 2016-06-22 2016-12-07 中国联合网络通信集团有限公司 The processing method of screen locking, device and equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111859367A (en) * 2020-07-28 2020-10-30 中移(杭州)信息技术有限公司 Screen locking password setting method, terminal and computer readable storage medium

Also Published As

Publication number Publication date
CN110032861B (en) 2021-04-23

Similar Documents

Publication Publication Date Title
CN108595946A (en) A kind of method and terminal of protection privacy
CN110058836A (en) A kind of output method and terminal device of audio signal
CN109284150A (en) A kind of method and terminal starting application program
CN108629171A (en) A kind of unread message processing method and terminal
CN108280337A (en) A kind of message protection method and mobile terminal
CN110457888A (en) A kind of verifying code imput method, device, electronic equipment and storage medium
CN110149628A (en) A kind of information processing method and terminal device
CN110049187A (en) A kind of display methods and terminal device
CN110147174A (en) A kind of control method and terminal device
CN109409044A (en) A kind of verifying interface display method and terminal
CN108710806A (en) A kind of terminal unlock method, mobile terminal
CN110213438A (en) A kind of processing method and terminal device of application program
CN109218984A (en) A kind of method for tracing and mobile terminal
CN109063462A (en) A kind of right management method and terminal device
CN108600492A (en) A kind of unlocking screen method and terminal
CN110366182A (en) A kind of data transmission method and terminal device
CN109963033A (en) A kind of voice-based control method and terminal device
CN109815678A (en) A kind of authority configuring method and mobile terminal
CN110032861A (en) A kind of method and terminal device that password is set
CN110191106A (en) A kind of data transmission method for uplink, terminal and communication system
CN109547330A (en) A kind of information sharing method and device
CN109582174A (en) A kind of touch-control input response method and terminal device
CN108848240A (en) A kind of protecting information safety method and terminal
CN109086599A (en) A kind of application program locking method, unlocking method and terminal device
CN109446794A (en) A kind of cipher-code input method and its mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 523000 Second Floor, Building C, 255 Wushabugao Avenue, Chang'an Town, Dongguan City, Guangdong Province

Applicant after: Dongguan Bensheng Software Technology Co.,Ltd.

Address before: 523000 Second Floor, Building C, 255 Wushabugao Avenue, Chang'an Town, Dongguan City, Guangdong Province

Applicant before: DONGGUAN BBK COMMUNICATION SOFTWARE Co.,Ltd.

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20201130

Address after: 518000 Guangdong Province, Bao'an District, Bao'an District, Haiwang Community, Xin'an Street, N12 District, 99 Xinhu Road, Yifang Central North District Phase III A Tower 2301-09, 2401-09, 2501-09, 2601-09

Applicant after: VIVO MOBILE COMMUNICATIONS (SHENZHEN) Co.,Ltd.

Address before: 523000 Second Floor, Building C, 255 Wushabugao Avenue, Chang'an Town, Dongguan City, Guangdong Province

Applicant before: Dongguan Bensheng Software Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant