CN104331228A - Screen locking method and device - Google Patents

Screen locking method and device Download PDF

Info

Publication number
CN104331228A
CN104331228A CN201410554423.8A CN201410554423A CN104331228A CN 104331228 A CN104331228 A CN 104331228A CN 201410554423 A CN201410554423 A CN 201410554423A CN 104331228 A CN104331228 A CN 104331228A
Authority
CN
China
Prior art keywords
screen locking
locking mode
screen
currently
timing duration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410554423.8A
Other languages
Chinese (zh)
Inventor
陈志军
张涛
杨松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201410554423.8A priority Critical patent/CN104331228A/en
Publication of CN104331228A publication Critical patent/CN104331228A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object or an image, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2141Access rights, e.g. capability lists, access control lists, access tables, access matrices

Abstract

The invention discloses a screen locking method and device, and is used for improving unlocking convenience on the premise of satisfying safety requirements. The method comprises the following steps: when a screen locking function is triggered, locking a screen according to a preset initial screen locking way; beginning to time at a moment when the screen locking function is triggered, and judging whether timing duration satisfies a preset change condition or not; when the timing duration satisfies the preset change condition, changing the adopted screen locking way into a preset screen locking way corresponding to the timing duration. According to the screen locking method and device, the screen locking way adapts to the safety to avoid complex unlocking due to overhigh complexity of the screen locking way, and the unlocking convenience can be improved on the premise of satisfying the safety requirements.

Description

The method of screen locking and device
Technical field
The disclosure relates to communication technique field, particularly relates to method and the device of screen locking.
Background technology
In correlation technique, for strengthening the security of terminal device, screen locking can be carried out to terminal device.Wherein, screen locking mode used and the security tight association of terminal device.Whether screen locking mode relates to unlocking condition, such as, access to your password, if accessed to your password, uses which kind of password.If the password that screen locking mode uses is too simple, then security is lowered, if the password that screen locking mode uses is too complicated, then unlocking operation can become complicated, is not easy to user's unlock screen.But for the screen locking under different situations, the security requirement of user is different, therefore, how can while meeting user security requirement, facilitating user to unlock becomes the problem needing to solve.
Summary of the invention
For overcoming Problems existing in correlation technique, disclosure embodiment provides method and the device of screen locking, under the prerequisite meeting security requirement, improves the convenience unlocked.
According to the first aspect of disclosure embodiment, a kind of method of screen locking is provided, comprises:
When screen locking function is triggered, carry out screen locking by the initial screen locking mode preset;
To be triggered beginning timing the moment from screen locking function, to judge whether timing duration meets and preset change condition;
When meeting default change condition, screen locking mode used is changed to default, corresponding with described timing duration screen locking mode.
In one embodiment, described method also can comprise:
When unlocking function is triggered, determine currently used screen locking mode;
The unlock interface that currently used screen locking mode is corresponding is shown in screen.
In one embodiment, described method also can comprise:
The prompting of currently used screen locking mode is shown in described screen.
In one embodiment, describedly determine currently used screen locking mode, can comprise:
Currently used screen locking mode is determined according to described timing duration; Or
According to screen locking mode after the change stored when changing screen locking mode, determine currently used screen locking mode.
In one embodiment, the complexity of the screen locking mode that described timing duration is corresponding is directly proportional to described timing duration.
According to the second aspect of disclosure embodiment, a kind of device of screen locking is provided, comprises:
Screen lock module, for when screen locking function is triggered, carries out screen locking by the initial screen locking mode preset;
Judge module, for beginning timing the moment that is triggered from screen locking function, judges whether timing duration meets and presets change condition;
Changing module, for when meeting default change condition, screen locking mode used being changed to default, corresponding with described timing duration screen locking mode.
In one embodiment, described device also can comprise:
Determination module, for when unlocking function is triggered, determines currently used screen locking mode;
Display module, for showing unlock interface corresponding to currently used screen locking mode in screen.
In one embodiment, described device also can comprise:
Reminding module, for showing the prompting of currently used screen locking mode in described screen.
In one embodiment, described determination module, can comprise:
First determines submodule, for determining currently used screen locking mode according to described timing duration; Or
Second determines submodule, for according to screen locking mode after the change stored when changing screen locking mode, determines currently used screen locking mode.
In one embodiment, the complexity of the screen locking mode that described timing duration is corresponding is directly proportional to described timing duration.
According to the third aspect of disclosure embodiment, a kind of device of screen locking is provided, comprises:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
When screen locking function is triggered, carry out screen locking by the initial screen locking mode preset;
To be triggered beginning timing the moment from screen locking function, to judge whether timing duration meets and preset change condition;
When meeting default change condition, that screen locking mode used is changed to and presets, corresponding with described timing duration screen locking mode.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: start the timing duration of timing according to screen locking function moment that is triggered, change screen locking mode used, because timing duration and security association, so, screen locking mode and security are adapted, avoids because screen locking mode complexity is too high, and cause unlocking complexity, under the prerequisite meeting security requirement, the convenience unlocked can be improved.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in instructions and to form the part of this instructions, shows and meets embodiment of the present disclosure, and is used from instructions one and explains principle of the present disclosure.
Fig. 1 is the process flow diagram of the method for a kind of screen locking according to an exemplary embodiment.
Fig. 2 is the process flow diagram of the method for another kind of screen locking according to an exemplary embodiment.
Fig. 3 is the process flow diagram of the method for a kind of screen locking according to an exemplary embodiment one.
Fig. 4 is the block diagram of the device of a kind of screen locking according to an exemplary embodiment.
Fig. 5 is the block diagram of the device of another kind of screen locking according to an exemplary embodiment.
Fig. 6 is the block diagram of the device of another kind of screen locking according to an exemplary embodiment.
Fig. 7 is a kind of block diagram being applicable to the device of screen locking according to an exemplary embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the disclosure.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present disclosure are consistent.
Fig. 1 is the process flow diagram of the method for a kind of screen locking according to an exemplary embodiment.As shown in Figure 1, the method for this screen locking is used for terminal device, as in mobile phone, panel computer, comprises the following steps S101-S103:
In step S101, when screen locking function is triggered, carry out screen locking by the initial screen locking mode preset.
For example, in the unblocked situation of screen, when the control button of terminal is clicked, screen locking function is triggered, or when the terminal screen not touched time exceedes predetermined threshold value, screen locking function is triggered.
Wherein, the initial screen locking mode preset can adopt: unlock the screen locking mode for unlocking condition to slide, in the screen locking mode that the nine grids password arranged is unlocking condition, the screen locking mode that the screen locking mode being unlocking condition with the numerical ciphers arranged is unlocking condition with the finger-print cipher arranged.The initial screen locking mode that usual employing level of security is lower carries out screen locking, such as, when screen locking function is triggered, unlocks as the screen locking mode of unlocking condition carries out screen locking to slide.
Be triggered beginning timing in step s 102, from screen locking function the moment, judges whether timing duration meets and preset change condition.
For example, preset change condition can comprise: the first preset duration, the second preset duration and the 3rd preset duration.If timing duration reaches the first preset duration, the second preset duration or the 3rd preset duration, then judge to meet to preset change condition.
Again such as, preset change condition can comprise predetermined interval duration and preset change number of times, timing duration when timing duration and last time being changed subtracts each other, judge whether difference arrives predetermined interval duration, if arrive predetermined interval duration and change number of times and do not reach default change number of times, then judge that timing duration meets and preset change condition.
In step s 103, when meeting default change condition, screen locking mode used is changed to default, corresponding with timing duration screen locking mode.
Wherein, the complexity of the screen locking mode that timing duration is corresponding is directly proportional to the time span of timing duration.
For example, when timing duration meets or exceeds the first preset duration, the screen locking mode that nine grids password screen locking mode being changed to arrange is unlocking condition; When timing duration meets or exceeds the second preset duration, the screen locking mode that numerical ciphers screen locking mode being changed to arrange is unlocking condition; When timing duration meets or exceeds the 3rd preset duration, the screen locking mode that finger-print cipher screen locking mode being changed to arrange is unlocking condition.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: start the timing duration of timing according to screen locking function moment that is triggered, change screen locking mode used, because timing duration and security association, so, screen locking mode and security are adapted, avoids the unblock complexity because screen locking mode is corresponding too high, and cause unlocking difficulty, under the prerequisite meeting security requirement, the convenience unlocked can be improved.
Fig. 2 is the process flow diagram of the method for another kind of screen locking according to an exemplary embodiment.As shown in Figure 2, the method for this screen locking is used for terminal device as in mobile phone, panel computer, comprises the following steps:
In step s 201, when screen locking function is triggered, carry out screen locking by the initial screen locking mode preset.
Be triggered beginning timing the moment in step S202, from screen locking function, judges whether timing duration meets and preset change condition.
In step S203, when meeting default change condition, screen locking mode used is changed to default, corresponding with timing duration screen locking mode.
The exemplary illustration of step S201-S203, see above-mentioned steps S101-S103, does not repeat them here.
In step S204, when unlocking function is triggered, determine currently used screen locking mode.
For example, under screen lock state, when detect screen be triggered light time, judge unlocking function be triggered, such as, when screen is touched, screen is triggered and lights, or when control button is clicked, screen is triggered and lights, and now, judges that unlocking function is triggered.
In one embodiment, step S204 can comprise: determine currently used screen locking mode according to timing duration.
For example, initial screen locking mode is the screen locking mode unlocked as unlocking condition of sliding.Preset change condition can comprise: the first preset duration, the second preset duration and the 3rd preset duration.When timing duration is less than the first preset duration, determine that currently used screen locking mode is the screen locking mode unlocked as unlocking condition of sliding; When timing duration is not less than the first preset duration and is less than the second preset duration, determine the screen locking mode that currently used screen locking mode be the nine grids password that arranges is unlocking condition; When timing duration is not less than the second preset duration and is less than the 3rd preset duration, determine the screen locking mode that currently used screen locking mode be the numerical ciphers that arranges is unlocking condition; When timing duration is greater than the 3rd preset duration, determine the screen locking mode that currently used screen locking mode be the finger-print cipher that arranges is unlocking condition.
In one embodiment, according to screen locking mode after the change stored when changing screen locking mode, currently used screen locking mode is determined.
For example, in step S203, after screen locking mode used is changed to default, corresponding with timing duration screen locking mode, store the screen locking mode after changing.In step S204, when unlocking function is triggered, read the screen locking mode stored, determine that currently used screen locking mode is the screen locking mode stored.
The unlock interface that currently used screen locking mode is corresponding is shown in step S205, in screen.
For example, when currently used screen locking mode is when sliding the screen locking mode unlocked as unlocking condition, display slip unlock interface; When the screen locking mode that currently used screen locking mode be the nine grids password that arranges is unlocking condition, display nine grids unlock interface; When the screen locking mode that currently used screen locking mode be the numerical ciphers that arranges is unlocking condition, show digital interface for password input; When the screen locking mode that currently used screen locking mode be the finger-print cipher that arranges is unlocking condition, display fingerprint inputting interface.
In one embodiment, show unlock interface corresponding to currently used screen locking mode in screen after, method also can comprise: the prompting showing currently used screen locking mode in screen.
For example, during the screen locking mode that the numerical ciphers that the screen locking mode that each timing duration is corresponding all adopts to arrange is unlocking condition, when the currently used screen locking mode determined is the first screen locking mode, the prompting of " currently used screen locking mode is the first screen locking mode " is shown, so that user inputs the numerical ciphers of the first screen locking mode in screen; When the currently used screen locking mode determined is the second screen locking mode, in screen, show the prompting of " currently used screen locking mode is the second screen locking mode ", so that user inputs the numerical ciphers of the second screen locking mode.
So, when different default screen locking modes uses the password of identical type, by display reminding in screen, user can be facilitated to determine input which password.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: start the timing duration of timing according to screen locking function moment that is triggered, change screen locking mode used, unlock according to currently used screen locking mode when unlocking, because timing duration and security association, so, screen locking mode and security are adapted, avoid the unblock complexity because screen locking mode is corresponding too high, and cause unlocking difficulty, under the prerequisite meeting security requirement, the convenience unlocked can be improved.
Embodiment one
Fig. 3 is the process flow diagram of the method for a kind of screen locking according to an exemplary embodiment one.Be applied in following scene: initial screen locking mode is the first screen locking mode, and the screen locking mode that timing duration is corresponding is the second screen locking mode, and the first screen locking mode uses the first numerical ciphers, and the second screen locking mode uses the second numerical ciphers; The complexity of the second numerical ciphers is higher than the complexity of the first numerical ciphers.As shown in Figure 3, the method for this screen locking is used for terminal device as in mobile phone, panel computer, comprises the following steps:
In step S301, when screen locking function is triggered, carry out screen locking by the first screen locking mode.
Be triggered beginning timing in step s 302, from screen locking function the moment, judges whether timing duration is more than or equal to preset duration.
In step S303, when timing duration is more than or equal to preset duration, screen locking mode used is changed to the second screen locking mode.
In step s 304, when unlocking function is triggered, judge whether timing duration is more than or equal to preset duration.
In step S305, when timing duration is less than preset duration, determine that currently used screen locking mode is the first screen locking mode, when timing duration is more than or equal to preset duration, determine that currently used screen locking mode is the second screen locking mode.
Digital interface for password input is shown in step S306, in screen.
Step S304 and step S305 can perform with step S306 simultaneously, not order restriction.
The prompting of currently used screen locking mode is shown in step S307, in screen.
When the currently used screen locking mode determined is the first screen locking mode, in screen, show the prompting of " currently used screen locking mode is the first screen locking mode "; When the currently used screen locking mode determined is the second screen locking mode, in screen, show the prompting of " currently used screen locking mode is the second screen locking mode ".
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: start the timing duration of timing according to screen locking function moment that is triggered, change screen locking mode used, unlock according to currently used screen locking mode when unlocking, because timing duration and security association, so, screen locking mode and security are adapted, avoid the unblock complexity because screen locking mode is corresponding too high, and cause unlocking difficulty, under the prerequisite meeting security requirement, the convenience unlocked can be improved.
Fig. 4 is the block diagram of the device of a kind of screen locking according to an exemplary embodiment, and as shown in Figure 4, the device of this screen locking is used for terminal device as in mobile phone, panel computer, comprising:
Screen lock module 41 is configured to when screen locking function is triggered, and carries out screen locking by the initial screen locking mode preset;
Judge module 42 is configured to be triggered beginning timing the moment from screen locking function, judges whether timing duration meets and presets change condition;
Change module 43 to be configured to, when meeting default change condition, screen locking mode used be changed to default, corresponding with timing duration screen locking mode.
In one embodiment, as shown in Figure 5, device also comprises:
Determination module 51 is configured to when unlocking function is triggered, and determines currently used screen locking mode;
Display module 52 is configured in screen, show unlock interface corresponding to currently used screen locking mode.
In one embodiment, as shown in Figure 6, device also can comprise:
Reminding module 61 is configured to the prompting showing currently used screen locking mode in screen.
In one embodiment, determination module, can comprise:
First determines that submodule is configured to determine currently used screen locking mode according to timing duration; Or
Second determines that submodule is configured to, according to screen locking mode after the change stored when changing screen locking mode, determine currently used screen locking mode.
In one embodiment, the complexity of the screen locking mode that timing duration is corresponding is directly proportional to timing duration.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: start the timing duration of timing according to screen locking function moment that is triggered, change screen locking mode used, because timing duration and security association, so, screen locking mode and security are adapted, avoids because screen locking mode complexity is too high, and cause unlocking complexity, under the prerequisite meeting security requirement, the convenience unlocked can be improved.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
Fig. 7 is the block diagram of a kind of device 1200 for screen locking according to an exemplary embodiment, and this device is applicable to terminal device.Such as, device 1200 can be mobile phone, computing machine, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Fig. 7, device 1200 can comprise following one or more assembly: processing components 1202, storer 1204, power supply module 1206, multimedia groupware 1208, audio-frequency assembly 1210, the interface 1212 of I/O (I/O), sensor module 1214, and communications component 1216.
The integrated operation of the usual control device 1200 of processing components 1202, such as with display, call, data communication, camera operation and record operate the operation be associated.Treatment element 1202 can comprise one or more processor 1220 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 1202 can comprise one or more module, and what be convenient between processing components 1202 and other assemblies is mutual.Such as, processing element 1202 can comprise multi-media module, mutual with what facilitate between multimedia groupware 1208 and processing components 1202.
Storer 1204 is configured to store various types of data to be supported in the operation of equipment 1200.The example of these data comprises for any application program of operation on device 1200 or the instruction of method, contact data, telephone book data, message, picture, video etc.Storer 1204 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), ROM (read-only memory) (ROM), magnetic store, flash memory, disk or CD.
The various assemblies that electric power assembly 1206 is device 1200 provide electric power.Electric power assembly 1206 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 1200 and be associated.
Multimedia groupware 1208 is included in the screen providing an output interface between described device 1200 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 1208 comprises a front-facing camera and/or post-positioned pick-up head.When equipment 1200 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 1210 is configured to export and/or input audio signal.Such as, audio-frequency assembly 1210 comprises a microphone (MIC), and when device 1200 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The sound signal received can be stored in storer 1204 further or be sent via communications component 1216.In certain embodiments, audio-frequency assembly 1210 also comprises a loudspeaker, for output audio signal.
I/O interface 1212 is for providing interface between processing components 1202 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor module 1214 comprises one or more sensor, for providing the state estimation of various aspects for device 1200.Such as, sensor module 1214 can detect the opening/closing state of equipment 1200, the relative positioning of assembly, such as described assembly is display and the keypad of device 1200, the position of all right pick-up unit 1200 of sensor module 1214 or device 1200 assemblies changes, the presence or absence that user contacts with device 1200, the temperature variation of device 1200 orientation or acceleration/deceleration and device 1200.Sensor module 1214 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor module 1214 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor module 1214 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 1216 is configured to the communication being convenient to wired or wireless mode between device 1200 and other equipment.Device 1200 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communication component 1216 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communication component 1216 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 1200 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD) (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the storer 1204 of instruction, above-mentioned instruction can perform said method by the processor 820 of device 1200.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
A device for screen locking, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, processor is configured to:
When screen locking function is triggered, carry out screen locking by the initial screen locking mode preset;
To be triggered beginning timing the moment from screen locking function, to judge whether timing duration meets and preset change condition;
When meeting default change condition, screen locking mode used is changed to default, corresponding with described timing duration screen locking mode.
This processor is also configured to: when unlocking function is triggered, and determines currently used screen locking mode; The unlock interface that currently used screen locking mode is corresponding is shown in screen.
This processor is also configured to: after the unlock interface that screen locking mode used before display in screen is corresponding, show the prompting of currently used screen locking mode in described screen.
This processor can be configured to: determine currently used screen locking mode according to described timing duration; Or according to screen locking mode after the change stored when changing screen locking mode, determine currently used screen locking mode.
The complexity of the screen locking mode that described timing duration is corresponding is directly proportional to described timing duration.
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of mobile terminal, make mobile terminal can perform a kind of method of screen locking, described method comprises:
When screen locking function is triggered, carry out screen locking by the initial screen locking mode preset;
To be triggered beginning timing the moment from screen locking function, to judge whether timing duration meets and preset change condition;
When meeting default change condition, screen locking mode used is changed to default, corresponding with described timing duration screen locking mode.
Described method also can comprise:
When unlocking function is triggered, determine currently used screen locking mode;
The unlock interface that currently used screen locking mode is corresponding is shown in screen.
Described method also can comprise:
The prompting of currently used screen locking mode is shown in described screen.
Describedly determine currently used screen locking mode, can comprise:
Currently used screen locking mode is determined according to described timing duration; Or
According to screen locking mode after the change stored when changing screen locking mode, determine currently used screen locking mode.
The complexity of the screen locking mode that described timing duration is corresponding is directly proportional to described timing duration.
Those skilled in the art, at consideration instructions and after putting into practice disclosed herein disclosing, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Instructions and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.

Claims (11)

1. a method for screen locking, is characterized in that, comprising:
When screen locking function is triggered, carry out screen locking by the initial screen locking mode preset;
To be triggered beginning timing the moment from screen locking function, to judge whether timing duration meets and preset change condition;
When meeting default change condition, screen locking mode used is changed to default, corresponding with described timing duration screen locking mode.
2. the method for claim 1, is characterized in that, described method also comprises:
When unlocking function is triggered, determine currently used screen locking mode;
The unlock interface that currently used screen locking mode is corresponding is shown in screen.
3. method as claimed in claim 2, it is characterized in that, described method also comprises:
The prompting of currently used screen locking mode is shown in described screen.
4. method as claimed in claim 2, is characterized in that, describedly determines currently used screen locking mode, comprising:
Currently used screen locking mode is determined according to described timing duration; Or
According to screen locking mode after the change stored when changing screen locking mode, determine currently used screen locking mode.
5. the method for claim 1, is characterized in that,
The complexity of the screen locking mode that described timing duration is corresponding is directly proportional to described timing duration.
6. a device for screen locking, is characterized in that, comprising:
Screen lock module, for when screen locking function is triggered, carries out screen locking by the initial screen locking mode preset;
Judge module, for beginning timing the moment that is triggered from screen locking function, judges whether timing duration meets and presets change condition;
Changing module, for when meeting default change condition, screen locking mode used being changed to default, corresponding with described timing duration screen locking mode.
7. device as claimed in claim 6, it is characterized in that, described device also comprises:
Determination module, for when unlocking function is triggered, determines currently used screen locking mode;
Display module, for showing unlock interface corresponding to currently used screen locking mode in screen.
8. device as claimed in claim 7, it is characterized in that, described device also comprises:
Reminding module, for showing the prompting of currently used screen locking mode in described screen.
9. device as claimed in claim 7, it is characterized in that, described determination module, comprising:
First determines submodule, for determining currently used screen locking mode according to described timing duration; Or
Second determines submodule, for according to screen locking mode after the change stored when changing screen locking mode, determines currently used screen locking mode.
10. device as claimed in claim 9, is characterized in that,
The complexity of the screen locking mode that described timing duration is corresponding is directly proportional to described timing duration.
The device of 11. 1 kinds of screen lockings, is characterized in that, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
When screen locking function is triggered, carry out screen locking by the initial screen locking mode preset;
To be triggered beginning timing the moment from screen locking function, to judge whether timing duration meets and preset change condition;
When meeting default change condition, that screen locking mode used is changed to and presets, corresponding with described timing duration screen locking mode.
CN201410554423.8A 2014-10-17 2014-10-17 Screen locking method and device Pending CN104331228A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410554423.8A CN104331228A (en) 2014-10-17 2014-10-17 Screen locking method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410554423.8A CN104331228A (en) 2014-10-17 2014-10-17 Screen locking method and device

Publications (1)

Publication Number Publication Date
CN104331228A true CN104331228A (en) 2015-02-04

Family

ID=52405964

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410554423.8A Pending CN104331228A (en) 2014-10-17 2014-10-17 Screen locking method and device

Country Status (1)

Country Link
CN (1) CN104331228A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104834846A (en) * 2015-05-22 2015-08-12 广东欧珀移动通信有限公司 Equipment unlocking method and device
CN105141750A (en) * 2015-06-30 2015-12-09 广东欧珀移动通信有限公司 Screen locking method and terminal
CN106155536A (en) * 2015-03-24 2016-11-23 联想(北京)有限公司 A kind of control method and electronic equipment
CN106384030A (en) * 2016-09-23 2017-02-08 深圳市金立通信设备有限公司 Screen state controlling method and terminal
CN106611140A (en) * 2015-10-23 2017-05-03 中兴通讯股份有限公司 Terminal unlocking processing method and apparatus
CN106933576A (en) * 2017-02-28 2017-07-07 广东欧珀移动通信有限公司 A kind of terminal unlock method, device and computer equipment
WO2017197773A1 (en) * 2016-05-18 2017-11-23 中兴通讯股份有限公司 Method for restricting use of function corresponding to application, and terminal
CN109542305A (en) * 2018-11-23 2019-03-29 Oppo广东移动通信有限公司 Application control method and relevant apparatus

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102387257A (en) * 2011-11-22 2012-03-21 中兴通讯股份有限公司 Mobile terminal and screen unlocking interface generation method thereof
CN103235684A (en) * 2013-03-27 2013-08-07 广东欧珀移动通信有限公司 Method and device for conducting dynamic switching to screen locking mode of mobile terminal
CN103257814A (en) * 2012-02-17 2013-08-21 宏碁股份有限公司 Electronic device and screen locking method
CN103870286A (en) * 2014-04-02 2014-06-18 联想(北京)有限公司 Operation behavior responding method and electronic device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102387257A (en) * 2011-11-22 2012-03-21 中兴通讯股份有限公司 Mobile terminal and screen unlocking interface generation method thereof
CN103257814A (en) * 2012-02-17 2013-08-21 宏碁股份有限公司 Electronic device and screen locking method
CN103235684A (en) * 2013-03-27 2013-08-07 广东欧珀移动通信有限公司 Method and device for conducting dynamic switching to screen locking mode of mobile terminal
CN103870286A (en) * 2014-04-02 2014-06-18 联想(北京)有限公司 Operation behavior responding method and electronic device

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106155536A (en) * 2015-03-24 2016-11-23 联想(北京)有限公司 A kind of control method and electronic equipment
CN106155536B (en) * 2015-03-24 2019-06-25 联想(北京)有限公司 A kind of control method and electronic equipment
CN104834846A (en) * 2015-05-22 2015-08-12 广东欧珀移动通信有限公司 Equipment unlocking method and device
CN104834846B (en) * 2015-05-22 2018-01-16 广东欧珀移动通信有限公司 A kind of equipment unlocking method and a device
CN105141750A (en) * 2015-06-30 2015-12-09 广东欧珀移动通信有限公司 Screen locking method and terminal
CN105141750B (en) * 2015-06-30 2018-05-29 广东欧珀移动通信有限公司 A kind of screen locking method and terminal
CN106611140A (en) * 2015-10-23 2017-05-03 中兴通讯股份有限公司 Terminal unlocking processing method and apparatus
WO2017197773A1 (en) * 2016-05-18 2017-11-23 中兴通讯股份有限公司 Method for restricting use of function corresponding to application, and terminal
CN107402774A (en) * 2016-05-18 2017-11-28 中兴通讯股份有限公司 Function of application limits application method and terminal
CN106384030A (en) * 2016-09-23 2017-02-08 深圳市金立通信设备有限公司 Screen state controlling method and terminal
CN106933576A (en) * 2017-02-28 2017-07-07 广东欧珀移动通信有限公司 A kind of terminal unlock method, device and computer equipment
CN109542305A (en) * 2018-11-23 2019-03-29 Oppo广东移动通信有限公司 Application control method and relevant apparatus

Similar Documents

Publication Publication Date Title
CN104331228A (en) Screen locking method and device
CN104503688A (en) Intelligent hardware device control achieving method and device
CN104991789A (en) Method and apparatus for starting application
CN105160239A (en) Application program access restriction method and apparatus
CN104703031A (en) Smart television control method and device
CN104933351A (en) Information security processing method and information security processing device
CN104298547A (en) Terminal setting method and device
CN104376239A (en) Terminal unlocking method and device
CN104915123A (en) Terminal display method and device
CN105159559A (en) Mobile terminal control method and mobile terminal
CN104238912A (en) Application control method and application control device
CN104573550A (en) Method and device for protecting data
CN104331220A (en) Unlocking processing method and device
CN105677214A (en) Application management method and apparatus
CN104216742A (en) Upgrade control method and device based on password
CN104461014A (en) Screen unlocking method and device
CN104899610A (en) Picture classification method and device
CN105975301A (en) Memory cleaning method and device, and electronic equipment
CN105354489A (en) Right granting method and apparatus
CN105242942A (en) Application control method and apparatus
CN105117033A (en) Connection method and device of external equipment
CN104735670A (en) Network access method and device
CN104537380A (en) Clustering method and device
CN105487857A (en) Method and apparatus for prompting image shooting part to be started
CN105468343A (en) Application control method and apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150204