WO2017067414A1 - 一种终端解锁方法、装置和智能终端 - Google Patents

一种终端解锁方法、装置和智能终端 Download PDF

Info

Publication number
WO2017067414A1
WO2017067414A1 PCT/CN2016/101980 CN2016101980W WO2017067414A1 WO 2017067414 A1 WO2017067414 A1 WO 2017067414A1 CN 2016101980 W CN2016101980 W CN 2016101980W WO 2017067414 A1 WO2017067414 A1 WO 2017067414A1
Authority
WO
WIPO (PCT)
Prior art keywords
unlocking
current
lock screen
transparency
progress information
Prior art date
Application number
PCT/CN2016/101980
Other languages
English (en)
French (fr)
Inventor
王文状
邹焱
陈亮
Original Assignee
阿里巴巴集团控股有限公司
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 阿里巴巴集团控股有限公司 filed Critical 阿里巴巴集团控股有限公司
Publication of WO2017067414A1 publication Critical patent/WO2017067414A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/36User authentication by graphic or iconic representation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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]

Definitions

  • the present application relates to the field of smart terminal technologies, and in particular, to a terminal unlocking method, an unlocking device, and an intelligent terminal.
  • the screen of the smart mobile terminal is usually a touch screen, that is, the user can operate the smart mobile terminal by means of a finger, a touch pen or the like.
  • the mobile terminal can be controlled by the touch screen to perform various operations, such as playing a video, browsing a webpage, etc., correspondingly, the user can easily accidentally touch the touch screen and cause a misoperation, so the user does not use
  • the mobile terminal walks with the mobile terminal, the mobile terminal is usually locked to configure the mobile terminal to be in a screen lock state, and the screen lock state is generally unable to perform other operations.
  • the technical problem to be solved by the embodiments of the present application is to provide a terminal unlocking method to display an unlocking process.
  • the embodiment of the present application further provides an unlocking device and an intelligent terminal to ensure implementation and application of the foregoing method.
  • the embodiment of the present application discloses a terminal unlocking method, which includes: after the smart terminal determines that the unlocking is started, the smart terminal determines that the current unlocking operation corresponds to the current unlocking progress information; according to the current unlocking progress.
  • the information adjusts the lock screen background to display all or part of the screen image in the lock screen background; when it is determined that the unlocking is successful, the lock screen background is cancelled and the screen screen is displayed.
  • the unlocking operation includes: a password unlocking operation and a non-password unlocking operation.
  • the non-password unlocking operation includes a normal sliding unlocking operation, the password unlocking operation pattern unlocking operation, and a click unlocking operation.
  • adjusting the lock screen background according to the current unlock progress information including: according to the current unlocking
  • the progress information adjusts the transparency of the lock screen background.
  • adjusting the transparency of the lock screen background according to the current unlock progress information including: adjusting transparency of the lock screen background within a transparency adjustment range according to the current unlock progress information.
  • the determining that the current unlocking operation corresponds to the current unlocking progress information includes: calculating, for a normal sliding unlocking operation, a sliding distance corresponding to the current sliding unlocking operation according to the sliding trajectory; comparing the sliding distance with the normal unlocking distance, Determine the current unlock progress information.
  • the determining that the current unlocking operation corresponds to the current unlocking progress information includes: obtaining, for the pattern unlocking operation, a reference point when the unlocking is started, determining, according to the reference point that the current pattern sliding unlocking operation corresponds to the sliding track; The sliding track and the reference point determine the sliding distance; the sliding distance is compared with the pattern unlocking distance to determine the current unlocking progress information.
  • the determining that the current unlocking operation corresponds to the current unlocking progress information includes: determining, for the click unlocking operation, the number of clicks corresponding to the current click unlocking operation; comparing the clicked number with the unlocking number to determine the current unlocking progress information. .
  • the transparency of the lock screen background is adjusted within the transparency adjustment range according to the current unlock progress information, including: determining a current adjustment value corresponding to the transparency adjustment range according to the current unlock progress information; The transparency is subtracted from the current adjustment value to determine the transparency of the adjusted lock screen background.
  • the method before the unlocking the lock screen background, the method further includes: adjusting a transparency of the lock screen background to be completely transparent.
  • the method further includes: when it is determined that the unlocking fails, the display of the lock screen background is resumed to prompt the user to fail to unlock.
  • the embodiment of the present application further discloses an unlocking device, including: an unlocking progress determining module, configured to determine, after the screen is locked, that the current unlocking operation corresponds to the current unlocking progress information after the unlocking is started; and the display adjusting module is configured to The current unlock progress information adjusts the lock screen background to display all or part of the screen image in the lock screen background; when it is determined that the unlocking is successful, the lock screen background is cancelled and the screen screen is displayed.
  • an unlocking progress determining module configured to determine, after the screen is locked, that the current unlocking operation corresponds to the current unlocking progress information after the unlocking is started
  • the display adjusting module is configured to The current unlock progress information adjusts the lock screen background to display all or part of the screen image in the lock screen background; when it is determined that the unlocking is successful, the lock screen background is cancelled and the screen screen is displayed.
  • the unlocking operation includes: a password unlocking operation and a non-password unlocking operation.
  • the non-password unlocking operation includes a normal sliding unlocking operation, the password unlocking operation pattern unlocking operation, and a click unlocking operation.
  • the display adjustment module is configured to adjust the transparency of the lock screen background according to the current unlock progress information.
  • the display adjustment module is configured to adjust the transparency according to the current unlock progress information. Adjust the transparency of the lock screen background.
  • the unlocking progress determining module includes: a normal sliding progress sub-module, configured to calculate a sliding distance corresponding to the current sliding unlocking operation according to the sliding track for the normal sliding unlocking operation; and perform the sliding distance and the normal unlocking distance Compare and determine the current unlock progress information.
  • a normal sliding progress sub-module configured to calculate a sliding distance corresponding to the current sliding unlocking operation according to the sliding track for the normal sliding unlocking operation.
  • the unlocking progress determining module includes: a pattern unlocking progress sub-module, configured to acquire a reference point when starting the unlocking for the pattern unlocking operation, and determine each reference point that the current pattern sliding unlocking operation corresponds to the sliding track; The sliding track and the reference point determine a sliding distance; comparing the sliding distance with the pattern unlocking distance to determine current unlocking progress information.
  • the unlocking progress determining module includes: a click unlocking progress sub-module, configured to determine, according to the click unlocking operation, a current click unlocking operation corresponding to the number of clicks; comparing the clicked number with the unlocking number to determine the current unlocking Progress information.
  • a click unlocking progress sub-module configured to determine, according to the click unlocking operation, a current click unlocking operation corresponding to the number of clicks; comparing the clicked number with the unlocking number to determine the current unlocking Progress information.
  • the display adjustment module includes: an adjustment value determining submodule, configured to determine a current adjustment value corresponding to the transparency adjustment range according to the current unlock progress information; and an adjustment submodule, configured to subtract the transparency of the lock screen background The current adjustment value determines the transparency of the adjusted lock screen background.
  • the display adjustment module is further configured to adjust transparency of the lock screen background to be completely transparent before the lock screen background is revoked.
  • the display adjustment module is further configured to resume displaying the lock screen background when it is determined that the unlocking fails, to prompt the user to fail to unlock.
  • the embodiment of the present application further discloses an intelligent terminal, where the smart terminal includes: a memory, a display, a processor, and an input unit, where the input unit includes: a touch screen; Methods.
  • the embodiments of the present application include the following advantages:
  • the smart terminal of the mobile terminal determines that the current unlocking operation corresponds to the current unlocking progress information after the screen is locked, and adjusts the transparency of the lock screen background according to the current unlocking progress information, and gradually becomes transparent. Displaying all or part of the screen image displayed on the background of the lock screen, thereby visually displaying the unlocking process during the unlocking process, and determining that the unlock screen is unsuccessful, the lock screen background is cancelled and the screen screen is displayed.
  • FIG. 1 is a flow chart of steps of an embodiment of a method for unlocking a terminal according to the present application
  • FIG. 2 is a flow chart of steps of another embodiment of a method for unlocking a terminal according to the present application
  • FIG. 3A is a schematic diagram of a screen change of an unlocking operation of the present application.
  • FIG. 3B is a schematic diagram of a screen change of an unlocking operation of the present application.
  • 3C is a schematic diagram of a screen change of an unlocking operation of the present application.
  • FIG. 3D is a schematic diagram of a screen change of an unlocking operation of the present application.
  • FIG. 4 is a structural block diagram of an embodiment of an unlocking device of the present application.
  • FIG. 5 is a structural block diagram of another embodiment of an unlocking device of the present application.
  • FIG. 6 is a structural block diagram of an embodiment of a smart terminal according to the present application.
  • One of the core concepts of the embodiments of the present application is a terminal unlocking method and apparatus to visually display an unlocking process. After the smart terminal determines that the unlocking is started, the smart terminal determines that the current unlocking operation corresponds to the current unlocking progress information, and adjusts the lock screen background according to the current unlocking progress information to display all or part of the screen image in the lock screen background. Thereby, the unlocking process is displayed during the unlocking process, and when it is determined that the unlocking is successful, the lock screen background is cancelled and the screen screen is displayed.
  • the smart terminal refers to a smart device with multimedia functions, and the devices support functions in audio, video, data, and the like.
  • the smart terminal has a touch screen, and includes a smart mobile terminal, such as a smart phone or a tablet computer, or a smart TV with a touch screen, a personal computer, and the like.
  • FIG. 1 a flow chart of steps of an embodiment of a terminal unlocking method of the present application is shown, which may specifically include the following steps:
  • Step 102 After determining that the unlocking is started, the smart terminal determines that the current unlocking operation corresponds to the current unlocking progress information.
  • the touch screen can control the smart terminal to perform various operations, such as playing video, browsing the webpage, etc., correspondingly, the user can easily accidentally touch the touch screen and cause a misoperation, so the user does not use
  • an intelligent terminal walks with a smart terminal, it usually locks the smart terminal and configures the smart terminal to be in a screen lock state.
  • the screen lock state intelligent terminal is usually unable to perform other operations.
  • an unlock operation can be performed to release the lock state to re-control the smart terminal to perform various operations.
  • different unlocking operations such as sliding unlocking, password unlocking, etc.
  • the smart terminal detects the operation on the touch screen in real time and detects the operation.
  • the touch screen receives the click operation, the touch screen can determine to start unlocking, receive the corresponding unlock operation in real time, and determine the current unlock progress information, and the unlock progress information is used for characterization.
  • the progress of the unlocking operation such as the distance according to the sliding, the number of clicked passwords, etc., determines the unlocking progress information.
  • Step 104 Adjust a lock screen background according to the current unlock progress information to display all or part of the screen image on the lock screen background.
  • Step 106 When it is determined that the unlocking is successful, the lock screen background is cancelled and the screen screen is displayed.
  • a lock screen background is added on the screen of the smart terminal. Therefore, after unlocking, the lock screen background can be displayed to display the screen screen previously located on the lock screen background, and the screen screen is a lock screen.
  • the display screen of the front smart terminal screen such as the main screen, and the UI (User Interface) of an application.
  • the smart terminal usually has multiple layers in the lock screen state, the first layer is the lock screen background, the second layer is the screen wallpaper (can be set by the user), and the third layer is the screen image, so usually after unlocking You need to undo the lock screen background and screen wallpaper to display the screen before the lock screen.
  • the screen wallpaper is cancelled, so that all or part of the screen image in the lock screen background is displayed according to the preset display mode as the unlocking process of the smart terminal is performed.
  • the screen is gradually displayed in one direction (such as top-down, left-to-right, etc.), and the screen is gradually displayed according to a certain display effect (such as opening a blind, gradually ablating, etc.).
  • a certain display effect such as opening a blind, gradually ablating, etc.
  • the screen display screen is gradually displayed under the lock screen background.
  • the smart terminal resumes displaying the lock screen background, thereby prompting the user to fail to unlock and re-unlocking.
  • adjusting the lock screen background according to the current unlock progress information includes: adjusting transparency of the lock screen background according to the current unlock progress information. That is, after the real-time receiving and unlocking operation determines the current unlocking progress information, the transparency of the lock screen background is adjusted according to the current unlocking progress information.
  • the transparency is the degree of light transmission. In this embodiment, the transparency is 100%, and the transparency is 0. The transparency is 0, which means that the transparency is completely transparent. Therefore, according to the unlocking progress information determined in real time during the unlocking process, the transparency is continuously reduced to make the screen in the background of the lock screen. The picture is gradually displayed. Until the unlock is successful, the lock screen background is revoked and the screen is completely displayed. Of course, if the unlock is unsuccessful, the unlocked background that is completely opaque before unlocking will be redisplayed.
  • the smart terminal determines that the current unlocking operation corresponds to the current unlocking progress information, and adjusts the lock screen background according to the current unlocking progress information to display all or part of the lock screen background.
  • the screen screen is displayed to visually display the unlocking process during the unlocking process, and when the unlocking is successful, the lock screen background is cancelled and the screen screen is displayed.
  • this embodiment details the steps of changing the background transparency of the lock screen with the unlocking.
  • FIG. 2 is a flow chart showing the steps of another embodiment of the terminal unlocking method of the present application, which may specifically include the following steps:
  • Step 202 The smart terminal receives a screen operation in a screen lock state.
  • Step 204 Determine whether the screen operation triggers to start unlocking.
  • the smart terminal when the smart terminal is unlocked, there are a plurality of different unlocking operation modes, and the password unlocking operation and the non-password unlocking operation are divided according to the encryption mode, wherein the non-password unlocking operation includes a sliding unlocking operation, and the password unlocking operation pattern is unlocked.
  • the operation and the click unlocking operation; the sliding unlocking operation and the click unlocking operation are divided according to the operation manner, wherein the sliding unlocking operation includes: a normal sliding unlocking operation and a pattern unlocking operation.
  • a specific location is usually not limited to trigger unlocking.
  • step 206 is performed; when no, that is, when it is determined that the unlocking is not started, the operation required for the screen operation, such as emergency dialing, or determining that the operation is meaningless, returns to step 202 to re-receive the screen operation. .
  • Step 206 Receive a current unlocking operation.
  • Step 208 Determine that the current unlocking operation corresponds to the current unlocking progress information.
  • the judgment starts to unlock it will continue to receive the unlock operation.
  • the slide unlocking operation after the screen is clicked, the contact with the screen is maintained and the screen is swiped to perform the unlocking, so the unlocking operation is continuously received, and the current unlocking operation at the current moment is determined.
  • the click unlock operation the password input method is usually used to click the unlock operation, and the user clicks the button of the password keyboard to input the password. Therefore, after receiving the click judgment on the button to start unlocking, the clicker of the button is received subsequently, that is, To click on the current unlock operation.
  • the current unlocking progress information is determined according to the current unlocking operation, and there is also a difference in the manner in which the different unlocking operations determine the unlocking progress information.
  • the calculation steps of the unlock progress information are discussed by taking a conventional sliding unlocking operation, a pattern unlocking operation, and a click unlocking operation as examples, respectively.
  • a sliding distance corresponding to a current sliding unlocking operation is calculated; and the sliding distance is compared with an unlocking distance to determine current unlocking progress information.
  • Unlocking is usually done with a normal slide unlock when no password is set.
  • the contact with the touch screen is maintained and moved until the condition of sliding unlocking is reached, such as reaching a certain distance or drawing some patterns, and then lifting the finger or touching the pen to leave the touch screen. Finish unlocking.
  • the sliding unlocking operation on the touch screen is received in real time, and the sliding distance is calculated according to the moving track corresponding to the current sliding unlocking operation.
  • the sliding unlocking operation in one direction for example, by sliding in any direction, such as up, down, left, and right, the coordinate information of the touched point when starting the unlocking may be determined, the current sliding unlocking operation is received in real time, and the current sliding unlocking operation is determined to be corresponding. Touch the coordinate information of the point and calculate the distance between the two coordinate points as the sliding distance.
  • the unlocking operation at each moment can be received in real time and the coordinate information of the corresponding touched point can be determined, and the current sliding unlocking operation corresponding to the touch point at the current moment is At the end point, the touch point initially clicked is the starting point, and the sliding track is determined according to the coordinate information of each touch point between the start point and the end point, thereby determining the coordinate information on the sliding track to determine the sliding distance.
  • a non-unidirectional sliding unlocking operation such as a curve
  • the unlocking operation at each moment can be received in real time and the coordinate information of the corresponding touched point can be determined, and the current sliding unlocking operation corresponding to the touch point at the current moment is At the end point, the touch point initially clicked is the starting point, and the sliding track is determined according to the coordinate information of each touch point between the start point and the end point, thereby determining the coordinate information on the sliding track to determine the sliding distance.
  • the conventional unlocking distance of the normal sliding can be set, that is, after the sliding reaches the normal unlocking distance, the finger or the touch pen is lifted off the touch screen, and then the judgment can be made.
  • the unlocking is completed and the unlocking is successful; otherwise, if the finger or the pen is lifted off the touch screen when the unlocking distance is not reached, the unlocking is unsuccessful. Therefore, the sliding distance can be compared with the conventional unlocking distance. For example, the sliding distance is divided by the normal unlocking distance, and the percentage of the current sliding distance and the normal unlocking distance is calculated, and the current unlocking progress information is determined.
  • the pattern unlocking operation for the pattern unlocking operation, obtaining a reference point when the unlocking is started, determining that the current pattern sliding unlocking operation corresponds to each of the reference points through which the sliding track passes; according to the sliding track and the reference point The sliding distance is determined; the sliding distance is compared with the pattern unlocking distance to determine the current unlocking progress information.
  • the smart terminal When the smart terminal is configured with a password to unlock, there are multiple password unlocking methods, such as unlocking the password, unlocking the pattern, and unlocking the fingerprint.
  • the pattern unlocking is similar to the conventional sliding unlocking. The unlocking process is also clicking on the touch screen and sliding on the touch screen until the unlocking pattern is completed.
  • the difference from the conventional sliding unlocking is that the pattern unlocking is usually set at a fixed position, such as in a lock. Set some reference points in the background of the screen, and set a pattern that connects some of the reference points as an unlock pattern.
  • the pattern unlocking operation it is judged to start unlocking after clicking a certain reference point, and then sliding on the touch screen to connect the sliding reference points until the sliding of the pattern is completed, lifting the finger or the touch pen, etc., leaving the touch screen, if If the sliding pattern is consistent with the unlocking pattern, the unlocking is successful, and the unlocking fails.
  • the process of unlocking the pattern firstly, it is determined that the reference point that is clicked when starting to unlock is determined, and then the position information of the sliding point is continuously obtained during the sliding process to determine the sliding track, and each reference point that the sliding track has entered is determined, and the sliding is performed in real time.
  • the trajectory and the reference point determine the sliding distance. For example, it is determined according to the sliding trajectory from the initial reference point, the reference point through which the sliding passes is determined, and the sliding distance corresponding to the sliding distance is determined according to the distance between the trajectories.
  • the unlock pattern may be determined to correspond to the pattern unlocking distance, so that after the current sliding distance is determined in real time, the sliding distance is compared with the pattern unlocking distance to determine the current unlocking progress information.
  • determining the current click unlocking operation corresponding to the number of clicks comparing the clicked number with the unlocking number to determine the current unlocking progress information.
  • the unlocking password may be at least one of a number, a letter, and a symbol.
  • the password keyboard can be input by a nine-square grid keyboard, and for a password containing letters and symbols, a full keyboard can be used for input. Therefore, it is detected that the click of the button on the keyboard is determined to start unlocking, and thereafter the click operation on the button on the keyboard is received in real time, that is, the unlocking operation is clicked and the number of clicked buttons is recorded as the number of clicks.
  • the number of passwords can be recorded as the number of unlocks, and the number of clicks at the current time is compared with the number of unlocks to determine the current unlock progress information.
  • different unlocking operations may be determined for the unlocking settings in the smart terminal, that is, whether the password is unlocked or the password is configured, and the corresponding unlocking progress information is determined according to the execution of the unlocking operation.
  • the unlocking operation is acquired in real time, so the unlocking progress information is determined in real time according to the unlocking operation acquired at each moment, so as to adjust the transparency of the lock screen background in real time.
  • Step 210 Adjust transparency of the lock screen background within a transparency adjustment range according to the current unlock progress information.
  • the transparency adjustment range of the background of the unlocking lock screen is set, that is, the transparency during the unlocking process is Adjustment within the scope of transparency adjustment. Since the smart terminal is still in the lock screen state before the unlock is judged, the minimum value of the transparency adjustment range is usually higher than the full transparency, such as setting the transparency to 20, and the lock screen background is opaque when the adjustment is started, so the transparency adjustment range is The maximum value is set to opaque, that is, the transparency is 100. For example, the transparency adjustment range is [20, 80].
  • the current unlocking progress information is determined in real time, and the transparency of the lock screen background is adjusted within the transparency adjustment range, that is, the corresponding transparency is adjusted every progressing forward, so that the lock screen background is gradually transparent with the unlocking progress.
  • the transparency adjustment range is [20, 80]
  • the unlocking is performed every 1%
  • the corresponding transparency is adjusted by 0.8
  • the corresponding transparency is adjusted 20 before the unlocking progress reaches 100% but the unlocking is not judged to be ended.
  • the transparency of the lock screen background is adjusted within the transparency adjustment range according to the current unlock progress information, including: determining a current adjustment value corresponding to the transparency adjustment range according to the current unlock progress information;
  • the transparency of the lock screen background is determined by subtracting the current adjustment value from the transparency of the lock screen background.
  • the current unlocking progress information is determined for the current time, and then the unlocking progress information is determined to correspond to the current adjustment value of the transparency adjustment range, and the transparency of the lock screen background is subtracted from the current adjustment value to obtain a difference.
  • the difference unlocks the transparency of the lock screen background after adjustment.
  • the screen wallpaper is cancelled, so that the screen screen located under the lock screen background is gradually displayed as the transparency is adjusted, so that the user intuitively perceives the execution of the unlock.
  • step 212 it is determined whether the unlocking operation is completed.
  • step 214 is performed; if not, the unlocking progress is not completed, and the process returns to step 206 to continue receiving the unlocking operation. .
  • the step of determining the unlocking progress information is similar, and the determining steps of the different unlocking modes corresponding to the completion of the unlocking operation are also different. For example, for the operation of unlocking by sliding, such as the conventional sliding unlocking operation and the pattern unlocking operation, after the user raises the finger or the touch pen, the unlocking operation can be judged to be completed, and if the finger or the touch pen is used. Always keep in touch with the touch screen, then judge that the unlock operation has not been completed.
  • the click unlock operation after the user clicks the last button or clicks the input button, it can be judged that the unlocking operation is completed. For example, if the number of fixed passwords is set for the Jiugongge keyboard, if 4 ⁇ 6 digits are set as the password, after 4 ⁇ 6 buttons are clicked, the password input can be automatically judged, and the corresponding unlocking operation is completed.
  • the password input for the full keyboard usually includes letters, symbols, etc., and the number of passwords is usually non-fixed. Therefore, when the user usually clicks the "enter" button to confirm the input is completed, the click of the "input” button can confirm the unlocking. The operation is completed.
  • step 214 it is determined whether the unlocking is successful.
  • the unlocking operation After confirming that the unlocking operation is completed, it is further determined whether the unlocking is successful, such as the normal sliding unlocking operation to determine whether the sliding distance is reached, and whether the password unlocking operation determines whether the password input is correct or the like.
  • step 218 is performed; if not, the unlocking is determined to be unsuccessful, and step 216 is performed.
  • Step 216 resume displaying the lock screen background.
  • the smart terminal When it is determined that the unlocking fails, the smart terminal is still in the locked state. In this case, the display of the lock screen background in the normal locked state is restored. If the screen is displayed by adjusting the transparency during the unlocking process, the unlocking fails. Restores the transparency of the lock screen background to 100%, which is completely opaque. Thereafter, returning to step 202, the user restarts unlocking.
  • Step 220 Undo the lock screen background and display the screen.
  • the transparency adjustment range is not adjusted to be completely transparent during the unlocking process, after determining that the unlocking is successful, the transparency of the lock screen background can be adjusted to be completely transparent, that is, the lock screen background is not displayed, and then the lock screen background is cancelled, that is, the smart terminal is Change to the unlocked state and display the screen screen.
  • the screen screen is usually the image before the screen is locked, such as the main interface, and the UI interface.
  • the smart terminal can determine the unlock progress information according to the execution of the unlocking operation in the lock screen state, thereby adjusting the transparency of the lock screen background, and gradually displaying the screen image in the lock screen background during the unlocking process, so that the user intuitively Perceive the execution of the unlocking process and improve user performance.
  • FIG. 3A, FIG. 3B, FIG. 3C, and FIG. 3D are schematic diagrams of screen changes of an unlocking operation of the present application.
  • the user can first click on the power button to illuminate the screen of the smart terminal, displaying the background of the lock screen, as shown in FIG. 3A.
  • the sliding produces a change in opacity (the opacity is slowly reduced).
  • the white point moves upward, and the background transparency of the lock screen is reduced, and the screen of the smart terminal is gradually displayed.
  • the finger slides to a certain distance while the transparency will reach a certain value
  • the background of the lock screen is naturally cancelled and the screen is displayed, as shown in FIG. 3D.
  • the unlocking process intuitively conforms to the user's interaction habits and enhances the user experience. That is, through the adjustment of the transparency of the lock screen background during the unlocking process, the visual and animation effects can better bring the user a different experience, and naturally adjust to the screen image to solve the problem of functional coupling, and the intuitive display can also Avoid user misuse.
  • the transparency is taken as an example to discuss that during the unlocking process, the lock screen background is adjusted according to the unlocking progress, and all or part of the screen image is displayed on the lock screen background.
  • the corresponding lock screen background adjustment step is Step 210 is to adjust the lock screen background within the display adjustment range according to the current unlock progress information to display the lock screen background from top to bottom.
  • the step 210 may have different adjustment modes, so that the lock screen background is adjusted in various ways to display all or part of the screen image in the lock screen background, which is not limited in this embodiment of the present application.
  • the embodiment further discloses an unlocking device.
  • FIG. 4 a structural block diagram of an embodiment of an unlocking apparatus of the present application is shown, which may specifically include the following modules:
  • the unlocking progress determining module 402 is configured to determine, after the screen is locked, that the smart terminal starts unlocking, determining that the current unlocking operation corresponds to the current unlocking progress information.
  • the display adjustment module 404 is configured to adjust the lock screen background according to the current unlock progress information to display all or part of the screen image in the lock screen background; when it is determined that the unlocking is successful, the lock screen background is cancelled and displayed Description Screen shot.
  • the smart terminal determines that the current unlocking operation corresponds to the current unlocking progress information, and adjusts the transparency of the lock screen background according to the current unlocking progress information, and gradually forms a transparent lock screen background.
  • the screen screen is displayed to visually display the unlocking process during the unlocking process, and when the unlocking is successful, the lock screen background is cancelled and the screen screen is displayed.
  • FIG. 5 a structural block diagram of another embodiment of an unlocking apparatus of the present application is shown, which may specifically include the following modules:
  • the unlocking progress determining module 502 is configured to determine, after the screen is locked, that the smart terminal starts unlocking, determining that the current unlocking operation corresponds to the current unlocking progress information;
  • the display adjustment module 504 is configured to adjust the transparency of the lock screen background according to the current unlock progress information to display all or part of the screen image in the lock screen background; when it is determined that the unlocking is successful, the lock screen background is cancelled.
  • the screen screen is displayed.
  • the adjustment of the display adjustment module 504 to the lock screen background further includes adjustments performed according to other preset display modes to display all or part of the screen image in the lock screen background, and the specific preset display manner is implemented as described above. As described in the example, it will not be described again.
  • the unlocking operation includes: a password unlocking operation and a non-password unlocking operation, wherein the non-password unlocking operation includes a normal sliding unlocking operation, the password unlocking operation pattern unlocking operation, and a click unlocking operation.
  • the display adjustment module 504 is configured to adjust transparency of the lock screen background within a transparency adjustment range according to the current unlock progress information.
  • the unlocking progress determining module 502 includes: a regular sliding progress sub-module 50202, a pattern unlocking progress sub-module 50204, and a click unlocking progress sub-module 50206.
  • the normal sliding progress sub-module 50202 is configured to calculate a sliding distance corresponding to the current sliding unlocking operation according to the sliding track for the normal sliding unlocking operation; compare the sliding distance with the normal unlocking distance, and determine the current unlocking progress information.
  • a pattern unlocking progress sub-module 50204 configured to acquire a reference point when the unlocking is started for the pattern unlocking operation, determine a reference point through which the current pattern sliding unlocking operation corresponds to the sliding track; determine a sliding distance according to the sliding track and the reference point; The sliding distance is compared with the pattern unlocking distance to determine the current unlocking progress information.
  • the click unlock progress sub-module 50206 is configured to determine, according to the click unlock operation, the current click unlock operation corresponding to the click count; compare the click count with the unlock count to determine the current unlock progress information.
  • the display adjustment module 504 includes: an adjustment value determination sub-module 50402, configured to determine a current adjustment value corresponding to the transparency adjustment range according to the current unlock progress information; and adjust the submodule Block 50404 is configured to subtract the current adjustment value from the transparency of the lock screen background to determine the transparency of the adjusted lock screen background.
  • the display adjustment module 504 is further configured to adjust the transparency of the lock screen background to be completely transparent before the lock screen background is revoked.
  • the display adjustment module 504 is further configured to resume displaying the lock screen background when it is determined that the unlocking fails, to prompt the user to fail to unlock.
  • the smart terminal can determine the unlock progress information according to the execution of the unlocking operation in the lock screen state, thereby adjusting the transparency of the lock screen background, and gradually displaying the screen image in the lock screen background during the unlocking process, so that the user intuitively Perceive the execution of the unlocking process and improve user performance.
  • a conventional unlocking operation that is unlocked by a password is a schematic diagram of a screen display of an unlocking operation as shown in FIGS. 3A to 3D.
  • the user can first click on the power button to illuminate the screen of the smart terminal, displaying the background of the lock screen, as shown in FIG. 3A.
  • the user slides freely in the blank area of the lock screen (or left and right, irregular movement), while the finger slides, the background of the lock screen will follow the finger sliding to produce a change in opacity (the opacity is slowly reduced), as shown in FIG. 3C.
  • the white point moves upward, the transparency of the lock screen background is reduced, and the screen of the smart terminal is gradually displayed.
  • the finger slides to a certain distance the transparency will also reach a certain value
  • the unlocking process intuitively conforms to the user's interaction habits and enhances the user experience. That is, through the adjustment of the transparency of the lock screen background during the unlocking process, the visual and animation effects can better bring the user a different experience, and naturally adjust to the screen image to solve the problem of functional coupling, and the intuitive display can also Avoid user misuse.
  • the embodiment further discloses an intelligent terminal.
  • FIG. 6 a structural block diagram of an embodiment of a smart terminal according to the present application is shown, which may specifically include the following modules:
  • the smart terminal 600 includes a memory 610, a display 620, a processor 630, and an input unit 640.
  • the input unit 640 can be configured to receive numeric or character information input by a user, and a control signal.
  • the input unit 640 can include a touch screen 641, which can collect touch operations on or near the user (such as the user's operation on the touch screen 641 by using any suitable object or accessory such as a finger, a stylus, or the like. ()), and according to a preset program to drive the corresponding connection device.
  • the input unit 640 may also include other input devices such as a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), a mouse, and the like.
  • the display 620 includes a display panel.
  • the display panel may be configured in the form of a liquid crystal display (LCD) or an organic light-emitting diode (OLED).
  • the touch screen can cover the display panel to form a touch display screen, and when the touch display screen detects a touch operation on or near it, it is transmitted to the device 630 to perform corresponding processing.
  • the processor 630 is configured to execute the terminal unlocking method described in the foregoing embodiment, specifically for In the screen lock state, after determining to start unlocking, determining that the current unlocking operation corresponds to the current unlocking progress information; adjusting the lock screen background according to the current unlocking progress information to display all or part of the screen image in the lock screen background; When it is determined that the unlocking is successful, the lock screen background is cancelled and the screen screen is displayed.
  • the unlocking operation includes: a password unlocking operation and a non-password unlocking operation.
  • the non-password unlocking operation includes a normal sliding unlocking operation, the password unlocking operation pattern unlocking operation, and a click unlocking operation.
  • adjusting the lock screen background according to the current unlock progress information includes: adjusting a transparency of the lock screen background according to the current unlock progress information.
  • adjusting the transparency of the lock screen background according to the current unlock progress information including: adjusting transparency of the lock screen background within a transparency adjustment range according to the current unlock progress information.
  • the determining that the current unlocking operation corresponds to the current unlocking progress information includes: calculating, for a normal sliding unlocking operation, a sliding distance corresponding to the current sliding unlocking operation according to the sliding trajectory; comparing the sliding distance with the normal unlocking distance, Determine the current unlock progress information.
  • the determining that the current unlocking operation corresponds to the current unlocking progress information includes: obtaining, for the pattern unlocking operation, a reference point when the unlocking is started, determining, according to the reference point that the current pattern sliding unlocking operation corresponds to the sliding track; The sliding track and the reference point determine the sliding distance; the sliding distance is compared with the pattern unlocking distance to determine the current unlocking progress information.
  • the determining that the current unlocking operation corresponds to the current unlocking progress information includes: determining, for the click unlocking operation, the number of clicks corresponding to the current click unlocking operation; comparing the clicked number with the unlocking number to determine the current unlocking progress information. .
  • adjusting the background of the lock screen within a transparency adjustment range according to the current unlock progress information includes: determining a current adjustment value corresponding to the transparency adjustment range according to the current unlock progress information; and subtracting the current adjustment value from the transparency of the lock screen background to determine the transparency of the adjusted lock screen background.
  • the method before the unlocking the lock screen background, the method further includes: adjusting a transparency of the lock screen background to be completely transparent.
  • the method further includes: when it is determined that the unlocking fails, the display of the lock screen background is resumed to prompt the user to fail to unlock.
  • the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
  • embodiments of the embodiments of the present application can be provided as a method, apparatus, or computer program product. Therefore, the embodiments of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Moreover, embodiments of the present application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • the computer device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
  • the memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory.
  • RAM random access memory
  • ROM read only memory
  • Memory is an example of a computer readable medium.
  • Computer readable media includes both permanent and non-persistent, removable and non-removable media.
  • Information storage can be implemented by any method or technology. The information can be computer readable instructions, data structures, modules of programs, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transportable media can be used to store information that can be accessed by a computing device.
  • computer readable media does not include non-persistent computer readable media, such as modulated data signals and carrier waves.
  • Embodiments of the present application are described with reference to flowcharts and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the present application. It should be understood that flowcharts and/or blocks may be implemented by computer program instructions. Each of the processes and/or blocks in the figures, and combinations of flows and/or blocks in the flowcharts and/or block diagrams. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing terminal device to produce a machine such that instructions are executed by a processor of a computer or other programmable data processing terminal device Means are provided for implementing the functions specified in one or more of the flow or in one or more blocks of the flow chart.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing terminal device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the instruction device implements the functions specified in one or more blocks of the flowchart or in a flow or block of the flowchart.
  • the terminal unlocking method, an unlocking device, and an intelligent terminal provided by the present application are described in detail.
  • the principles and implementation manners of the present application are described in the following, and the foregoing embodiments are described. It is only used to help understand the method of the present application and its core ideas; at the same time, for those of ordinary skill in the art, according to the idea of the present application, there will be changes in specific implementation manners and application scopes. The contents of this specification are not to be construed as limiting the application.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

一种终端解锁方法、装置和智能终端,以显示解锁过程。所述方法包括:智能终端在屏幕锁定状态下,判断开始解锁后,确定当前解锁操作对应当前的解锁进度信息(102);依据所述当前的解锁进度信息调整锁屏背景,以在所述锁屏背景下显示全部或部分屏幕画面(104);当判断解锁成功时,撤销所述锁屏背景并显示所述屏幕画面(106)。在解锁过程中直观的显示解锁过程,判断解锁成功时,撤销所述锁屏背景并显示所述屏幕画面。

Description

一种终端解锁方法、装置和智能终端
本申请要求2015年10月22日递交的申请号为201510695909.8、发明名称为“一种终端解锁方法、装置和智能终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及智能终端技术领域,特别是涉及一种终端解锁方法、一种解锁装置和一种智能终端。
背景技术
随着终端技术的发展,越来越多的用户使用智能移动终端,如智能手机、平板电脑等。
智能移动终端的屏幕通常是触摸屏,即用户通过手指、触摸笔等即可对智能移动终端进行操作。用户在使用触摸屏的移动终端时,可以通过触摸屏控制移动终端执行各种操作,如播放视频,浏览网页等,相应的,用户也很容易不小心碰到触摸屏而引起误操作,因此在用户不使用移动终端如拿着移动终端走路等情况下,通常会锁定移动终端即将移动终端配置为屏幕锁定状态,屏幕锁定状态移动终端通常无法执行其他操作。
发明内容
本申请实施例所要解决的技术问题是提供一种终端解锁方法,以显示解锁过程。
相应的,本申请实施例还提供了一种解锁装置和一种智能终端,用以保证上述方法的实现及应用。
为了解决上述问题,本申请实施例公开了一种终端解锁方法,包括:智能终端在屏幕锁定状态下,判断开始解锁后,确定当前解锁操作对应当前的解锁进度信息;依据所述当前的解锁进度信息调整锁屏背景,以在所述锁屏背景下显示全部或部分屏幕画面;当判断解锁成功时,撤销所述锁屏背景并显示所述屏幕画面。
可选的,所述解锁操作包括:密码解锁操作和非密码解锁操作。
可选的,所述非密码解锁操作包括常规滑动解锁操作,所述密码解锁操作图案解锁操作和点击解锁操作。
可选的,依据所述当前的解锁进度信息调整锁屏背景,包括:依据所述当前的解锁 进度信息调整锁屏背景的透明度。
可选的,依据所述当前的解锁进度信息调整锁屏背景的透明度,包括:依据所述当前的解锁进度信息,在透明度调整范围内调整所述锁屏背景的透明度。
可选的,所述确定当前解锁操作对应当前的解锁进度信息,包括:针对常规滑动解锁操作,按照滑动轨迹计算当前滑动解锁操作对应的滑动距离;将所述滑动距离与常规解锁距离进行比较,确定当前的解锁进度信息。
可选的,所述确定当前解锁操作对应当前的解锁进度信息,包括:针对图案解锁操作,获取开始解锁时的基准点,确定当前图案滑动解锁操作对应滑动轨迹经过的各基准点;依据所述滑动轨迹和基准点确定滑动距离;将所述滑动距离与图案解锁距离进行比较,确定当前的解锁进度信息。
可选的,所述确定当前解锁操作对应当前的解锁进度信息,包括:针对点击解锁操作,确定当前点击解锁操作对应点击次数;将所述点击次数与解锁次数进行比较,确定当前的解锁进度信息。
可选的,依据所述当前的解锁进度信息,在透明度调整范围内调整所述锁屏背景的透明度,包括:依据当前的解锁进度信息确定透明度调整范围对应的当前调整值;将锁屏背景的透明度减去所述当前调整值,确定调整后锁屏背景的透明度。
可选的,撤销所述锁屏背景之前,还包括:将所述锁屏背景的透明度调整为完全透明。
可选的,还包括:当判断解锁失败时,恢复显示所述锁屏背景,以提示用户解锁失败。
本申请实施例还公开了一种解锁装置,包括:解锁进度确定模块,用于在屏幕锁定状态下,判断开始解锁后,确定当前解锁操作对应当前的解锁进度信息;显示调整模块,用于依据所述当前的解锁进度信息调整锁屏背景,以在所述锁屏背景下显示全部或部分屏幕画面;当判断解锁成功时,撤销所述锁屏背景并显示所述屏幕画面。
可选的,所述解锁操作包括:密码解锁操作和非密码解锁操作。
可选的,所述非密码解锁操作包括常规滑动解锁操作,所述密码解锁操作图案解锁操作和点击解锁操作。
可选的,所述显示调整模块,用于依据所述当前的解锁进度信息调整锁屏背景的透明度。
可选的,所述显示调整模块,用于依据所述当前的解锁进度信息,在透明度调整范 围内调整所述锁屏背景的透明度。
可选的,所述解锁进度确定模块,包括:常规滑动进度子模块,用于针对常规滑动解锁操作,按照滑动轨迹计算当前滑动解锁操作对应的滑动距离;将所述滑动距离与常规解锁距离进行比较,确定当前的解锁进度信息。
可选的,所述解锁进度确定模块,包括:图案解锁进度子模块,用于针对图案解锁操作,获取开始解锁时的基准点,确定当前图案滑动解锁操作对应滑动轨迹经过的各基准点;依据所述滑动轨迹和基准点确定滑动距离;将所述滑动距离与图案解锁距离进行比较,确定当前的解锁进度信息。
可选的,所述解锁进度确定模块,包括:点击解锁进度子模块,用于针对点击解锁操作,确定当前点击解锁操作对应点击次数;将所述点击次数与解锁次数进行比较,确定当前的解锁进度信息。
可选的,所述显示调整模块,包括:调整值确定子模块,用于依据当前的解锁进度信息确定透明度调整范围对应的当前调整值;调整子模块,用于将锁屏背景的透明度减去所述当前调整值,确定调整后锁屏背景的透明度。
可选的,所述显示调整模块,还用于在撤销所述锁屏背景之前,将所述锁屏背景的透明度调整为完全透明。
可选的,所述显示调整模块,还用于当判断解锁失败时,恢复显示所述锁屏背景,以提示用户解锁失败。
本申请实施例还公开了一种智能终端,所述智能终端包括:存储器、显示器、处理器和输入单元,其中,所述输入单元包括:触摸屏;所述处理器用于执行本申请实施例所述的方法。
与现有技术相比,本申请实施例包括以下优点:
在本申请实施例中,移动终端智能终端在屏幕锁定状态下,判断开始解锁后,确定当前解锁操作对应当前的解锁进度信息,依据所述当前的解锁进度信息调整锁屏背景的透明度,逐渐透明的显示在锁屏背景下显示出的全部或部分屏幕画面,从而在解锁过程中直观的显示解锁过程,判断解锁成功时,撤销所述锁屏背景并显示所述屏幕画面。
附图说明
图1是本申请的一种终端解锁方法实施例的步骤流程图;
图2是本申请的另一种终端解锁方法实施例的步骤流程图;
图3A是本申请一种解锁操作的屏幕变化示意图;
图3B是本申请一种解锁操作的屏幕变化示意图;
图3C是本申请一种解锁操作的屏幕变化示意图;
图3D是本申请一种解锁操作的屏幕变化示意图;
图4是本申请一种解锁装置实施例的结构框图;
图5是本申请另一种解锁装置实施例的结构框图;
图6是本申请一种智能终端实施例的结构框图。
具体实施方式
为使本申请的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本申请作进一步详细的说明。
本申请实施例的核心构思之一在于,终端解锁方法和装置,以直观显示解锁过程。其中,智能终端在屏幕锁定状态下,判断开始解锁后,确定当前解锁操作对应当前的解锁进度信息,依据所述当前的解锁进度信息调整锁屏背景,显示锁屏背景下全部或部分屏幕画面,从而在解锁过程中显示解锁过程,判断解锁成功时,撤销所述锁屏背景并显示所述屏幕画面。
本发明实施例中,智能终端指的是具有多媒体功能的智能设备,这些设备支持音频、视频、数据等方面的功能。本实施例中该智能终端具有触摸屏,包括智能移动终端如智能手机、平板电脑能,也可以是具有触摸屏的智能电视、个人计算机等设备。
实施例一
参照图1,示出了本申请的一种终端解锁方法实施例的步骤流程图,具体可以包括如下步骤:
步骤102,智能终端在屏幕锁定状态下,判断开始解锁后,确定当前解锁操作对应当前的解锁进度信息。
用户在使用触摸屏的智能终端时,可以通过触摸屏控制智能终端执行各种操作,如播放视频,浏览网页等,相应的,用户也很容易不小心碰到触摸屏而引起误操作,因此在用户不使用智能终端如拿着智能终端走路等情况下,通常会锁定智能终端即将智能终端配置为屏幕锁定状态,屏幕锁定状态智能终端通常无法执行其他操作。
智能终端在屏幕锁定状态下时,可以执行解锁操作以解除锁定状态以重新控制智能终端执行各种操作。对于触摸屏的智能终端,依据智能终端锁屏配置的不同,可以具有不同的解锁操作,例如滑动解锁,密码解锁等,即可以在触摸屏上通过点击、滑动等操作进行解锁。智能终端实时检测触摸屏上的操作并对操作进行检测,当触摸屏接收到点击等操作时,可以判断开始解锁,实时接收相应的解锁操作,确定对应当前的解锁进度信息,该解锁进度信息用于表征解锁操作的进度,如依据滑动的距离,点击密码的数量等确定解锁进度信息。
步骤104,依据所述当前的解锁进度信息调整锁屏背景,以在所述锁屏背景下显示全部或部分屏幕画面。
步骤106,当判断解锁成功时,撤销所述锁屏背景并显示所述屏幕画面。
本实施例中,锁定智能终端时,在智能终端屏幕画面上添加一层锁屏背景,因此在解锁后撤销锁屏背景即可显示之前位于锁屏背景下的屏幕画面,该屏幕画面为锁屏前智能终端屏幕的显示画面,如主屏画面,又如某一应用的UI(User Interface,用户界面)。
其中,智能终端在锁屏状态下通常触摸屏显示具有多层,第一层是锁屏背景,第二层是屏幕壁纸(可以用户自行设定),第三层是屏幕画面,因此在解锁后通常需要撤销锁屏背景和屏幕壁纸才能显示出锁屏前的屏幕画面。本实施例为了让用户能够感知解锁过程的执行,提高用户体验,撤消了屏幕壁纸,从而随着智能终端的解锁过程的执行,按照预置显示方式显示锁屏背景下全部或部分屏幕画面。例如随着解锁过程的执行沿着一个方向(如自上而下、从左向右等)逐渐显示屏幕画面,又如按照某种显示效果(如开启百叶窗、逐渐消融等方式)逐渐显示屏幕画面,又如通过调整锁屏背景的透明度来逐渐显示锁屏背景下显示屏幕画面。相应的,在解锁失败后智能终端会恢复显示锁屏背景,从而提示用户解锁失败,可以重新解锁。
因此,本申请一个可选实施例中依据所述当前的解锁进度信息调整锁屏背景,包括:依据所述当前的解锁进度信息调整锁屏背景的透明度。即在实时接收解锁操作确定当前的解锁进度信息后,依据当前的解锁进度信息调整锁屏背景的透明度。其中,透明度即透光的程度,本实施例中透明度为100%表征不透明,透明度为0表征完全透明,因此解锁过程中依据实时确定的解锁进度信息,不断减小透明度使得锁屏背景下的屏幕画面逐渐显示出来。直到判断解锁成功时,撤销所述锁屏背景,完全显示所述屏幕画面。当然,若解锁不成功会重新显示解锁前完全不透明的解锁背景。
综上所述,智能终端在屏幕锁定状态下,判断开始解锁后,确定当前解锁操作对应当前的解锁进度信息,依据所述当前的解锁进度信息调整锁屏背景,显示锁屏背景下全部或部分屏幕画面,从而在解锁过程中直观的显示解锁过程,判断解锁成功时,撤销所述锁屏背景并显示所述屏幕画面。
实施例二
在上述实施例的基础上,本实施例详细论述随解锁执行变更锁屏背景透明度方法步骤。
参照图1,图2示出了本申请的另一种终端解锁方法实施例的步骤流程图,具体可以包括如下步骤:
步骤202,智能终端在屏幕锁定状态下,接收屏幕操作。
步骤204,判断该屏幕操作是否触发开始解锁。
智能终端在屏幕锁定状态下,虽然会禁止大部分操作的执行,但有些操作如解锁操作、紧急拨号操作等是允许执行的,因此智能终端在屏幕锁定状态下,在触摸屏有效即触摸屏亮起显示锁屏背景时,仍然会实时接收触摸屏上的屏幕操作,并对屏幕操作进行检测。
本实施例中,智能终端解锁时存在多种不同的解锁操作方式,按照加密方式划分存在密码解锁操作和非密码解锁操作,其中,非密码解锁操作包括滑动解锁操作,所述密码解锁操作图案解锁操作和点击解锁操作;按照操作方式划分存在滑动解锁操作和点击解锁操作,其中,滑动解锁操作包括:常规滑动解锁操作和图案解锁操作。对于密码解锁操作,需要点击在特定位置才会触发开始解锁,而对于非密码解锁操作,通常不会限定特定位置来触发解锁。
因此在判断该屏幕操作是否触发开始解锁,对于需要输入密码的解锁方式而言,当用户点击在与解密相关的特定位置,如密码键盘的按键或触发密码的特征点时,判断开始解锁;而对于不需要输入密码的解锁方式而言,当点击触摸屏时可以判断开始解锁。
当是,即判断开始解锁时,执行步骤206;当否,即判断非开始解锁时,执行该屏幕操作所需的操作,如紧急拨号,或者判断该操作无意义时,返回步骤202重新接收屏幕操作。
步骤206,接收当前解锁操作。
步骤208,确定当前解锁操作对应当前的解锁进度信息。
判断开始解锁后,会继续接收解锁操作。其中,对于滑动解锁操作,在点击屏幕后会保持与屏幕的接触并在屏幕上滑动以执行解锁,因此会持续接收解锁操作,确定当前时刻的当前解锁操作。对于点击解锁操作,通常输入密码的方式采用点击解锁操作,用户会点击密码键盘的按键进行密码的输入,因此在接收对按键的点击判断开始解锁后,后续还会接收到对按键的点击,即为点击当前的解锁操作。
依据当前解锁操作确定当前的解锁进度信息,其中不同解锁操作确定解锁进度信息的方式也存在区别。分别以常规滑动解锁操作、图案解锁操作和点击解锁操作为例,论述解锁进度信息的计算步骤。
本申请一个可选实施例中,针对常规滑动解锁操作,计算当前滑动解锁操作对应的滑动距离;将所述滑动距离与解锁距离进行比较,确定当前的解锁进度信息。
在未设置密码时通常通过常规滑动解锁操作即可解锁。通常用户采用手指或触摸笔等点击触摸屏后,会保持与触摸屏的接触并移动,直到达到滑动解锁的条件,如达到一定距离或者绘制完某些图案,此时抬起手指或触摸笔等离开触摸屏完成解锁。
因此在接收触摸屏上的点击操作判断开始解锁后,会实时接收触摸屏上的滑动解锁操作,依据当前滑动解锁操作对应的移动轨迹计算滑动距离。如对于单方向的滑动解锁操作,例如通过向上、下、左、右等任一方向滑动进行解锁,可以确定开始解锁时触摸点的坐标信息,实时接收当前滑动解锁操作并确定当前滑动解锁操作对应触摸点的坐标信息,计算两个坐标点之间的距离作为滑动距离。又如对于曲线等非单方向的滑动解锁操作,如圆形滑动解锁等,可以实时接收每个时刻的解锁操作并确定对应触摸点的坐标信息,以当前时刻的当前滑动解锁操作对应触摸点为终点,最初点击的触摸点为起点,依据起点到终点间的各触摸点的坐标信息确定滑动轨迹,从而确定该滑动轨迹上的坐标信息确定滑动距离。
本实施例中,对于未设置密码的智能终端的常规滑动解锁操作,通常可以设置常规滑动的常规解锁距离,即在滑动达到该常规解锁距离后抬起手指或触摸笔等离开触摸屏,即可判断解锁完成且解锁成功;反之,若在未达到该解锁距离就抬起手指或触摸笔等离开触摸屏,解锁未成功。因此可以将滑动距离和常规解锁距离进行比较,如采用滑动距离与常规解锁距离相除,计算当前滑动距离与常规解锁距离的百分比,确定当前的解锁进度信息。
本申请的另一个可选实施例中,针对图案解锁操作,获取开始解锁时的基准点,确定当前图案滑动解锁操作对应滑动轨迹经过的各基准点;依据所述滑动轨迹和基准点确 定滑动距离;将所述滑动距离与图案解锁距离进行比较,确定当前的解锁进度信息。
智能终端配置密码进行解锁时,通过有多种密码解锁方式,如输入密码解锁,图案解锁以及指纹解锁等。其中图案解锁与常规滑动解锁类似,解锁过程也是在点击触摸屏并在触摸屏上滑动直到完成解锁图案离开屏幕,与常规滑动解锁区别的是,图案解锁通常是在固定位置处设置解锁图案,如在锁屏背景中设置一些基准点,设置将其中某些基准点连接起来的图案作为解锁图案。从而对于图案解锁操作,在点击选定某一基准点后判断开始解锁,此后在触摸屏上滑动以将滑动经过的基准点连接起来,直到完成图案的滑动抬起手指或触摸笔等离开触摸屏,若滑动图案与解锁图案一致,则解锁成功,反之解锁失败。
在图案解锁操作过程中,首先可以确定判断开始解锁时点击的基准点,然后在滑动过程中不断获取滑动点的位置信息确定滑动轨迹,并确定滑动轨迹所进过的各个基准点,实时依据滑动轨迹和基准点确定滑动距离,例如依据滑动轨迹确定从起始的基准点开始,确定滑动所经过的基准点,按照各之间的距离确定出滑动轨迹对应滑动距离。并且,在配置解锁图案时可以确定出该解锁图案对应图案解锁距离,从而在实时确定出当前的滑动距离后,将所述滑动距离与图案解锁距离进行比较,确定当前的解锁进度信息。
本申请的又一个可选实施例中,针对点击解锁操作,确定当前点击解锁操作对应点击次数;将所述点击次数与解锁次数进行比较,确定当前的解锁进度信息。
用户在设置智能终端的解锁密码时,该解锁密码可以是数字、字母、符号中的至少一种。例如仅为数字密码时,密码键盘可以是九宫格键盘进行输入,而对于包含字母、符号的密码,可以采用全键盘进行输入。因此,检测到对键盘上按键的点击判断开始解锁,此后实时接收对键盘上按键的点击操作,即点击解锁操作并记录所点击按键的数量作为点击次数。在设置智能终端的密码时可以记录密码的数量作为解锁次数,将当前时刻的点击次数与解锁次数进行比较,确定当前的解锁进度信息。
从而针对智能终端中解锁的设置,即是否为密码解锁,密码配置方式等区别,可以确定不同的解锁操作,依据解锁操作的执行确定相应的解锁进度信息。本实施例中,对于解锁操作为实时获取,因此依据每个时刻所获取的解锁操作实时确定解锁进度信息,以便后续实时调整锁屏背景的透明度。
步骤210,依据所述当前的解锁进度信息,在透明度调整范围内调整所述锁屏背景的透明度。
本实施例中,设置了解锁中锁屏背景的透明度调整范围,即解锁过程中透明度在该 透明度调整范围内调整。由于在未判断解锁前智能终端仍然处于锁屏状态,因此透明度调整范围的最小值通常要高于完全透明,如设透明度为20,而开始调整时锁屏背景是不透明的,因此透明度调整范围的最大值设为不透明即透明度为100,如透明度调整范围为[20,80]。
在滑动过程中实时确定当前的解锁进度信息,在透明度调整范围内调整所述锁屏背景的透明度,即每前进一定的进度调整相应的透明度,使锁屏背景随解锁进度逐渐透明。如上例透明度调整范围为[20,80],则解锁每执行1%,相应透明度调整0.8,在解锁进度达到100%但未判断解锁是否结束之前,相应透明度调整20。
本申请一个可选实施例中,依据所述当前的解锁进度信息,在透明度调整范围内调整所述锁屏背景的透明度,包括:依据当前的解锁进度信息确定透明度调整范围对应的当前调整值;将锁屏背景的透明度减去所述当前调整值,确定调整后锁屏背景的透明度。
因此在解锁过程中对于当前时刻,确定当前的解锁进度信息,而后确定该解锁进度信息对应在透明度调整范围的当前调整值,将锁屏背景的透明度减去所述当前调整值得到差值,该差值解锁调整后锁屏背景的透明度。
其中,撤消了屏幕壁纸,从而随着透明度的调整逐渐显示出位于锁屏背景下的屏幕画面,使得用户直观感知解锁的执行。
如当前解锁进度信息为50%,相应当前调整值为40,则将100-40=60,即为调整后锁屏背景的透明度。当前该调整也可以基于前一时刻的锁屏背景的透明度进行调整,如当前解锁进度信息为50%,前一时刻解锁进度信息为40%,锁屏背景前一时刻的透明度为68,则当前时刻解锁进度前进10%,相应调整至为8,则调整后锁屏背景的透明度=100-32-8=60。从而可以依据解锁进度确定透明度的调整值对锁屏背景的透明度进行调整,使得锁屏背景随着解锁逐渐透明。因此本实施例中,滑动解锁操作通常透明度是随着滑动的执行而逐渐变化,而点击解锁操作,可以随着点击跳变调整透明度。
步骤212,判断解锁操作是否执行完毕。
在不断按照解锁进度调整透明度的过程中,也需要判断解锁操作是否执行完毕,若是,即解锁操作执行完毕,执行步骤214;若否,即解锁进度未执行完毕,返回步骤206,继续接收解锁操作。
其中,与解锁进度信息确定步骤类似,不同解锁方式对应解锁操作执行完毕的判断步骤也存在区别。例如,对于常规滑动解锁操作、图案解锁操作这类通过滑动进行解锁的操作,在用户抬起手指或触摸笔后可判断解锁操作执行完毕,反之,若手指或触摸笔 始终保持与触摸屏的接触,则判断解锁操作未执行完毕。
而对于点击解锁操作,在用户点击最后一个按键或者点击输入按键后可以判断解锁操作执行完毕。如对于九宫格键盘通常设置固定密码数量,如设置4~6个数字作为密码,在点击完4~6个按键后即可自动判断密码输入完毕,相应解锁操作执行完毕。又如对于全键盘输入的密码,通常包含字母、符号等,且密码数量通常是非固定的,因此在用户通常点击“输入”按钮以确认输入完毕,则对于“输入”按钮的点击即可确认解锁操作执行完毕。
步骤214,判断解锁是否成功。
在确认解锁操作执行完毕后,还要进一步判断解锁是否成功,如常规滑动解锁操作确定是否达到滑动距离,又如密码解锁操作确定密码输入是否正确等。
若是,即判断解锁成功,执行步骤218;若否,即判断解锁失败,执行步骤216。
步骤216,恢复显示所述锁屏背景。
在判断解锁失败时,智能终端仍然处于锁定状态,此时要恢复常规锁定状态下锁屏背景的显示,如本实施例在解锁过程中通过调整透明度的方式显示屏幕画面,则在解锁失败时要将锁屏背景的透明度恢复为100%,即完全不透明。此后可以返回步骤202,用户重新开始解锁。
步骤218,将所述锁屏背景的透明度调整为完全透明。
步骤220,撤销所述锁屏背景并显示所述屏幕画面。
由于解锁过程中透明度调整范围往往不会调整到完全透明,因此判断解锁成功后,可以将锁屏背景的透明度调整为完全透明,即不显示锁屏背景,然后撤销该锁屏背景,即将智能终端变更为解锁状态,显示屏幕画面,该屏幕画面通常为屏幕锁定前的图像,如为主界面,又如为UI界面等。
基于上述实施例,智能终端在锁屏状态下,可以依据解锁操作的执行确定解锁进度信息,从而调整锁屏背景的透明度,在解锁过程中逐渐显示出锁屏背景下的屏幕画面,使得用户直观感知解锁过程的执行,提高用户体现。
以非密码解锁的常规解锁操作为例,图3A、图3B、图3C、图3D是本申请一种解锁操作的屏幕变化示意图。对于用户而言,用户可以首先点击电源键使智能终端屏幕亮起,显示锁屏背景,如图3A所示。手指点击触摸屏智能终端判断开始解锁,通过显示相应的基点如图3B中触摸屏下方的白点并提示显示“上滑解锁”。而后用户在锁屏的空白区域任意向上(或左右,不规则移动)滑动,手指滑动的同时,锁屏背景会跟随手 指滑动产生不透明度的变化(不透明度慢慢减少),如图3C所示,白点向上移动,锁屏背景透明度减少,逐渐显示出智能终端的屏幕画面。当手指滑动到一定的距离时(同时透明度也会达到一定的值),此时松手智能终端解锁成功后,锁屏背景自然撤销同时显示该屏幕画面,如图3D所示。
因此,当用户解锁时,锁屏界面其他元素未跟随手指滑动,手指滑动的时候锁屏界面的透明度会随着手机滑动逐渐减少,相应屏幕画面逐渐显示,当解锁进度达到一定值且相应透明度达到一定值,判断解锁成功后,锁屏界面完全消失,完全显示之前逐渐显示的桌面背景。从而解锁过程直观符合用户的交互习惯,提升用户体验。即解锁过程中通过对锁屏背景透明度的调整,视觉和动画效果上能更好的带给用户不一样的体验,同时很自然的调整到屏幕画面,解决功能耦合的问题,直观的显示还能避免用户的误操作。
上述实施例以调整透明度为例论述了解锁过程中,依据解锁进度调整锁屏背景,在所述锁屏背景下显示全部或部分屏幕画面。实际处理中,还可以存在多种其他预置显示方式在解锁过程中显示锁屏背景下全部或部分屏幕画面,例如按照自上而下显示锁屏背景的方案中,对应锁屏背景调整步骤即步骤210即可为依据所述当前的解锁进度信息,在显示调整范围内调整所述锁屏背景以自上而下显示锁屏背景。即依据实际使用的显示方式的区别,步骤210可以存在不同的调整方式,从而通过多种方式调整锁屏背景来显示锁屏背景下全部或部分屏幕画面,本申请实施例对此不做限定。
需要说明的是,对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请实施例并不受所描述的动作顺序的限制,因为依据本申请实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本申请实施例所必须的。
实施例三
在上述实施例的基础上,本实施例还公开了一种解锁装置。
参照图4,示出了本申请一种解锁装置实施例的结构框图,具体可以包括如下模块:
解锁进度确定模块402,用于智能终端在屏幕锁定状态下,判断开始解锁后,确定当前解锁操作对应当前的解锁进度信息。
显示调整模块404,用于依据所述当前的解锁进度信息调整锁屏背景,以在所述锁屏背景下显示全部或部分屏幕画面;当判断解锁成功时,撤销所述锁屏背景并显示所述 屏幕画面。
综上所述,智能终端在屏幕锁定状态下,判断开始解锁后,确定当前解锁操作对应当前的解锁进度信息,依据所述当前的解锁进度信息调整锁屏背景的透明度,逐渐透明的锁屏背景下显示出屏幕画面,从而在解锁过程中直观的显示解锁过程,判断解锁成功时,撤销所述锁屏背景并显示所述屏幕画面。
参照图5,示出了本申请另一种解锁装置实施例的结构框图,具体可以包括如下模块:
解锁进度确定模块502,用于智能终端在屏幕锁定状态下,判断开始解锁后,确定当前解锁操作对应当前的解锁进度信息;
显示调整模块504,用于依据所述当前的解锁进度信息调整锁屏背景的透明度,以在所述锁屏背景下显示全部或部分屏幕画面;当判断解锁成功时,撤销所述锁屏背景并显示所述屏幕画面。本实施例中,显示调整模块504对于锁屏背景的调整还包括按照其他预置显示方式执行的调整,以在所述锁屏背景下显示全部或部分屏幕画面,具体预置显示方式如上述实施例所述,因此不再赘述。
所述解锁操作包括:密码解锁操作和非密码解锁操作,其中,非密码解锁操作包括常规滑动解锁操作,所述密码解锁操作图案解锁操作和点击解锁操作。
所述显示调整模块504,用于依据所述当前的解锁进度信息,在透明度调整范围内调整所述锁屏背景的透明度。
本申请一个可选实施例中,所述解锁进度确定模块502,包括:常规滑动进度子模块50202、图案解锁进度子模块50204和点击解锁进度子模块50206。
常规滑动进度子模块50202,用于针对常规滑动解锁操作,按照滑动轨迹计算当前滑动解锁操作对应的滑动距离;将所述滑动距离与常规解锁距离进行比较,确定当前的解锁进度信息。
图案解锁进度子模块50204,用于针对图案解锁操作,获取开始解锁时的基准点,确定当前图案滑动解锁操作对应滑动轨迹经过的各基准点;依据所述滑动轨迹和基准点确定滑动距离;将所述滑动距离与图案解锁距离进行比较,确定当前的解锁进度信息。
点击解锁进度子模块50206,用于针对点击解锁操作,确定当前点击解锁操作对应点击次数;将所述点击次数与解锁次数进行比较,确定当前的解锁进度信息。
本申请另一个可选实施例中,所述显示调整模块504,包括:调整值确定子模块50402,用于依据当前的解锁进度信息确定透明度调整范围对应的当前调整值;调整子模 块50404,用于将锁屏背景的透明度减去所述当前调整值,确定调整后锁屏背景的透明度。
显示调整模块504,还用于在撤销所述锁屏背景之前,将所述锁屏背景的透明度调整为完全透明。
显示调整模块504,还用于当判断解锁失败时,恢复显示所述锁屏背景,以提示用户解锁失败。
基于上述实施例,智能终端在锁屏状态下,可以依据解锁操作的执行确定解锁进度信息,从而调整锁屏背景的透明度,在解锁过程中逐渐显示出锁屏背景下的屏幕画面,使得用户直观感知解锁过程的执行,提高用户体现。
以非密码解锁的常规解锁操作为例,如图3A至3D所示的一种解锁操作的屏幕显示示意图。对于用户而言,用户可以首先点击电源键使智能终端屏幕亮起,显示锁屏背景,如图3A所示。手指点击触摸屏智能终端判断开始解锁,通过显示相应的基点如图3B中触摸屏下方的白点并提示显示“上滑解锁”。而后用户在锁屏的空白区域任意向上(或左右,不规则移动)滑动,手指滑动的同时,锁屏背景会跟随手指滑动产生不透明度的变化(不透明度慢慢减少),如图3C所示,白点向上移动,锁屏背景透明度减少,逐渐显示出智能终端的屏幕画面。当手指滑动到一定的距离时(同时透明度也会达到一定的值),此时松手智能终端解锁成功后,锁屏背景自然撤销同时显示该屏幕画面。
因此,当用户解锁时,锁屏界面其他元素未跟随手指滑动,手指滑动的时候锁屏界面的透明度会随着手机滑动逐渐减少,相应屏幕画面逐渐显示,当解锁进度达到一定值且相应透明度达到一定值,判断解锁成功后,锁屏界面完全消失,完全显示之前逐渐显示的桌面背景。从而解锁过程直观符合用户的交互习惯,提升用户体验。即解锁过程中通过对锁屏背景透明度的调整,视觉和动画效果上能更好的带给用户不一样的体验,同时很自然的调整到屏幕画面,解决功能耦合的问题,直观的显示还能避免用户的误操作。
实施例四
在上述实施例的基础上,本实施例还公开了一种智能终端。
参照图6,示出了本申请一种智能终端实施例的结构框图,具体可以包括如下模块:
该智能终端600包括:存储器610、显示器620、处理器630和输入单元640。
其中,该输入单元640可用于接收用户输入的数字或字符信息,以及控制信号。具体地,本发明实施例中,该输入单元640可以包括触摸屏641,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触摸屏641上的操 作),并根据预先设定的程式驱动相应的连接装置。当然,除了触摸屏641,输入单元640还可以包括其他输入设备,如物理键盘、功能键(比如音量控制按键、开关按键等)、鼠标等。
显示器620包括显示面板,可选的,可以采用液晶显示器(Liquid Crystal Display,LCD)或有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板。其中,触摸屏可以覆盖显示面板,形成触摸显示屏,当该触摸显示屏检测到在其上或附近的触摸操作后,传送给处理器630以执行相应的处理。
在本发明实施例中,通过调用存储该存储器610内的软件程序,和/或,模块,和/或,数据,处理器630用于执行上述实施例所述的终端解锁方法,具体用于在屏幕锁定状态下,判断开始解锁后,确定当前解锁操作对应当前的解锁进度信息;依据所述当前的解锁进度信息调整锁屏背景,以在所述锁屏背景下显示全部或部分屏幕画面;当判断解锁成功时,撤销所述锁屏背景并显示所述屏幕画面。
可选的,所述解锁操作包括:密码解锁操作和非密码解锁操作。
可选的,所述非密码解锁操作包括常规滑动解锁操作,所述密码解锁操作图案解锁操作和点击解锁操作。
可选的,依据所述当前的解锁进度信息调整锁屏背景,包括:依据所述当前的解锁进度信息调整锁屏背景的透明度。
可选的,依据所述当前的解锁进度信息调整锁屏背景的透明度,包括:依据所述当前的解锁进度信息,在透明度调整范围内调整所述锁屏背景的透明度。
可选的,所述确定当前解锁操作对应当前的解锁进度信息,包括:针对常规滑动解锁操作,按照滑动轨迹计算当前滑动解锁操作对应的滑动距离;将所述滑动距离与常规解锁距离进行比较,确定当前的解锁进度信息。
可选的,所述确定当前解锁操作对应当前的解锁进度信息,包括:针对图案解锁操作,获取开始解锁时的基准点,确定当前图案滑动解锁操作对应滑动轨迹经过的各基准点;依据所述滑动轨迹和基准点确定滑动距离;将所述滑动距离与图案解锁距离进行比较,确定当前的解锁进度信息。
可选的,所述确定当前解锁操作对应当前的解锁进度信息,包括:针对点击解锁操作,确定当前点击解锁操作对应点击次数;将所述点击次数与解锁次数进行比较,确定当前的解锁进度信息。
可选的,依据所述当前的解锁进度信息,在透明度调整范围内调整所述锁屏背景的 透明度,包括:依据当前的解锁进度信息确定透明度调整范围对应的当前调整值;将锁屏背景的透明度减去所述当前调整值,确定调整后锁屏背景的透明度。
可选的,撤销所述锁屏背景之前,还包括:将所述锁屏背景的透明度调整为完全透明。
可选的,还包括:当判断解锁失败时,恢复显示所述锁屏背景,以提示用户解锁失败。
对于装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。
本领域内的技术人员应明白,本申请实施例的实施例可提供为方法、装置、或计算机程序产品。因此,本申请实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
在一个典型的配置中,所述计算机设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括非持续性的电脑可读媒体(transitory media),如调制的数据信号和载波。
本申请实施例是参照根据本申请实施例的方法、终端设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框 图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理终端设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理终端设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理终端设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理终端设备上,使得在计算机或其他可编程终端设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程终端设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
尽管已描述了本申请实施例的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例做出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本申请实施例范围的所有变更和修改。
最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者终端设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者终端设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者终端设备中还存在另外的相同要素。
以上对本申请所提供的一种终端解锁方法、一种解锁装置和一种智能终端,进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。

Claims (23)

  1. 一种终端解锁方法,其特征在于,包括:
    智能终端在屏幕锁定状态下,判断开始解锁后,确定当前解锁操作对应当前的解锁进度信息;
    依据所述当前的解锁进度信息调整锁屏背景,以在所述锁屏背景下显示全部或部分屏幕画面;
    当判断解锁成功时,撤销所述锁屏背景并显示所述屏幕画面。
  2. 根据权利要求1所述的方法,其特征在于,所述解锁操作包括:密码解锁操作和非密码解锁操作。
  3. 根据权利要求2所述的方法,其特征在于,所述非密码解锁操作包括常规滑动解锁操作,所述密码解锁操作图案解锁操作和点击解锁操作。
  4. 根据权利要求1所述的方法,其特征在于,依据所述当前的解锁进度信息调整锁屏背景,包括:
    依据所述当前的解锁进度信息调整锁屏背景的透明度。
  5. 根据权利要求4所述的方法,其特征在于,依据所述当前的解锁进度信息调整锁屏背景的透明度,包括:
    依据所述当前的解锁进度信息,在透明度调整范围内调整所述锁屏背景的透明度。
  6. 根据权利要求3所述的方法,其特征在于,所述确定当前解锁操作对应当前的解锁进度信息,包括:
    针对常规滑动解锁操作,按照滑动轨迹计算当前滑动解锁操作对应的滑动距离;
    将所述滑动距离与常规解锁距离进行比较,确定当前的解锁进度信息。
  7. 根据权利要求3所述的方法,其特征在于,所述确定当前解锁操作对应当前的解锁进度信息,包括:
    针对图案解锁操作,获取开始解锁时的基准点,确定当前图案滑动解锁操作对应滑动轨迹经过的各基准点;
    依据所述滑动轨迹和基准点确定滑动距离;
    将所述滑动距离与图案解锁距离进行比较,确定当前的解锁进度信息。
  8. 根据权利要求3所述的方法,其特征在于,所述确定当前解锁操作对应当前的解锁进度信息,包括:
    针对点击解锁操作,确定当前点击解锁操作对应点击次数;
    将所述点击次数与解锁次数进行比较,确定当前的解锁进度信息。
  9. 根据权利要求5所述的方法,其特征在于,依据所述当前的解锁进度信息,在透明度调整范围内调整所述锁屏背景的透明度,包括:
    依据当前的解锁进度信息确定透明度调整范围对应的当前调整值;
    将锁屏背景的透明度减去所述当前调整值,确定调整后锁屏背景的透明度。
  10. 根据权利要求1所述的方法,其特征在于,撤销所述锁屏背景之前,还包括:
    将所述锁屏背景的透明度调整为完全透明。
  11. 根据权利要求1所述的方法,其特征在于,还包括:
    当判断解锁失败时,恢复显示所述锁屏背景,以提示用户解锁失败。
  12. 一种解锁装置,其特征在于,包括:
    解锁进度确定模块,用于在屏幕锁定状态下,判断开始解锁后,确定当前解锁操作对应当前的解锁进度信息;
    显示调整模块,用于依据所述当前的解锁进度信息调整锁屏背景,以在所述锁屏背景下显示全部或部分屏幕画面;当判断解锁成功时,撤销所述锁屏背景并显示所述屏幕画面。
  13. 根据权利要求12所述的装置,其特征在于,所述解锁操作包括:密码解锁操作和非密码解锁操作。
  14. 根据权利要求13所述的装置,其特征在于,所述非密码解锁操作包括常规滑动解锁操作,所述密码解锁操作图案解锁操作和点击解锁操作。
  15. 根据权利要求12所述的装置,其特征在于,
    所述显示调整模块,用于依据所述当前的解锁进度信息调整锁屏背景的透明度。
  16. 根据权利要求15所述的装置,其特征在于,
    所述显示调整模块,用于依据所述当前的解锁进度信息,在透明度调整范围内调整所述锁屏背景的透明度。
  17. 根据权利要求14所述的装置,其特征在于,所述解锁进度确定模块,包括:
    常规滑动进度子模块,用于针对常规滑动解锁操作,按照滑动轨迹计算当前滑动解锁操作对应的滑动距离;将所述滑动距离与常规解锁距离进行比较,确定当前的解锁进度信息。
  18. 根据权利要求14所述的装置,其特征在于,所述解锁进度确定模块,包括:
    图案解锁进度子模块,用于针对图案解锁操作,获取开始解锁时的基准点,确定当 前图案滑动解锁操作对应滑动轨迹经过的各基准点;依据所述滑动轨迹和基准点确定滑动距离;将所述滑动距离与图案解锁距离进行比较,确定当前的解锁进度信息。
  19. 根据权利要求14所述的装置,其特征在于,所述解锁进度确定模块,包括:
    点击解锁进度子模块,用于针对点击解锁操作,确定当前点击解锁操作对应点击次数;将所述点击次数与解锁次数进行比较,确定当前的解锁进度信息。
  20. 根据权利要求16所述的装置,其特征在于,所述显示调整模块,包括:
    调整值确定子模块,用于依据当前的解锁进度信息确定透明度调整范围对应的当前调整值;
    调整子模块,用于将锁屏背景的透明度减去所述当前调整值,确定调整后锁屏背景的透明度。
  21. 根据权利要求12所述的装置,其特征在于,
    所述显示调整模块,还用于在撤销所述锁屏背景之前,将所述锁屏背景的透明度调整为完全透明。
  22. 根据权利要求12所述的装置,其特征在于,
    所述显示调整模块,还用于当判断解锁失败时,恢复显示所述锁屏背景,以提示用户解锁失败。
  23. 一种智能终端,其特征在于,所述智能终端包括:存储器、显示器、处理器和输入单元,其中,所述输入单元包括:触摸屏;
    所述处理器用于执行上述权利要求1-11任一所述的方法。
PCT/CN2016/101980 2015-10-22 2016-10-13 一种终端解锁方法、装置和智能终端 WO2017067414A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510695909.8 2015-10-22
CN201510695909.8A CN106611119A (zh) 2015-10-22 2015-10-22 一种终端解锁方法、装置和智能终端

Publications (1)

Publication Number Publication Date
WO2017067414A1 true WO2017067414A1 (zh) 2017-04-27

Family

ID=58556678

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/101980 WO2017067414A1 (zh) 2015-10-22 2016-10-13 一种终端解锁方法、装置和智能终端

Country Status (2)

Country Link
CN (1) CN106611119A (zh)
WO (1) WO2017067414A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111316215A (zh) * 2017-11-09 2020-06-19 深圳传音通讯有限公司 一种用于智能终端的显示方法及显示装置
CN111862401A (zh) * 2019-12-30 2020-10-30 北京骑胜科技有限公司 一种开锁进度的确定方法、装置、电子设备和介质

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111176504B (zh) * 2019-12-18 2021-12-24 华为技术有限公司 一种界面元素的显示方法及电子设备
CN112783594A (zh) * 2021-02-01 2021-05-11 维沃移动通信有限公司 一种消息显示方法、装置及电子设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102236515A (zh) * 2010-04-28 2011-11-09 宏碁股份有限公司 电子装置及其屏幕解锁的方法
CN102609207A (zh) * 2012-02-13 2012-07-25 广东欧珀移动通信有限公司 智能手机解锁界面切换方法
CN103309603A (zh) * 2012-03-06 2013-09-18 宏碁股份有限公司 手持式装置及其相关控制方法
CN103365583A (zh) * 2012-04-06 2013-10-23 宏碁股份有限公司 电子装置及其解除锁定的方法

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102541397B (zh) * 2010-12-16 2014-04-16 腾讯科技(深圳)有限公司 触摸屏的解锁方法及装置
CN104007927B (zh) * 2014-05-27 2017-07-07 青岛海信移动通信技术股份有限公司 一种屏幕解锁方法及移动终端
CN104866323B (zh) * 2015-06-11 2018-03-30 北京金山安全软件有限公司 一种解锁界面的生成方法、装置及电子设备

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102236515A (zh) * 2010-04-28 2011-11-09 宏碁股份有限公司 电子装置及其屏幕解锁的方法
CN102609207A (zh) * 2012-02-13 2012-07-25 广东欧珀移动通信有限公司 智能手机解锁界面切换方法
CN103309603A (zh) * 2012-03-06 2013-09-18 宏碁股份有限公司 手持式装置及其相关控制方法
CN103365583A (zh) * 2012-04-06 2013-10-23 宏碁股份有限公司 电子装置及其解除锁定的方法

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111316215A (zh) * 2017-11-09 2020-06-19 深圳传音通讯有限公司 一种用于智能终端的显示方法及显示装置
CN111862401A (zh) * 2019-12-30 2020-10-30 北京骑胜科技有限公司 一种开锁进度的确定方法、装置、电子设备和介质

Also Published As

Publication number Publication date
CN106611119A (zh) 2017-05-03

Similar Documents

Publication Publication Date Title
US10984089B2 (en) Unlocking a portable electronic device by performing multiple actions on an unlock interface
US11126704B2 (en) Authenticated device used to unlock another device
US20220100841A1 (en) Authenticated device used to unlock another device
US20200225819A1 (en) Device, method, and graphical user interface for switching between two user interfaces
TWI469038B (zh) 具有觸摸屏的電子設備及其螢幕解鎖方法
EP3745303B1 (en) Implementation of biometric authentication with error condition detection and display of an error indication
US9823834B2 (en) Quick access gesture setting and accessing method for a touch control device
US9158399B2 (en) Unlock method and mobile device using the same
US10698701B1 (en) User interface for accessing an account
US9513790B2 (en) Electronic device and method for unlocking screen of electronic device
EP2854009B1 (en) Method and apparatus for unlocking lock screen in electronic device
WO2017067414A1 (zh) 一种终端解锁方法、装置和智能终端
US20150067829A1 (en) Electronic Device and Method for Unlocking Screen of Electronic Device
US20150074798A1 (en) Electronic Device and Method for Unlocking Screen of Electronic Device
CN107103224B (zh) 一种解锁方法及移动终端
US11960615B2 (en) Methods and user interfaces for voice-based user profile management
US20150007306A1 (en) Electronic device and unlocking method
WO2013086793A1 (zh) 便携式电子终端及其解锁方法和装置
US10698566B2 (en) Touch control based application launch
KR101719280B1 (ko) 이미지에 대한 제스처들을 통한 프로그램가능한 장치상의 애플리케이션의 활성화
WO2013017045A1 (zh) 一种输入界面的切换方法以及装置
CN104571847B (zh) 电子装置的操作方法
TWI608405B (zh) 觸摸屏解鎖方法及系統
TW201235906A (en) Electronic device, controlling method thereof and computer program product
WO2017133228A1 (zh) 一种增加有效内容显示区域的方法、装置及一种用户终端

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16856845

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16856845

Country of ref document: EP

Kind code of ref document: A1