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.