CN110196676B - Screen unlocking method and mobile terminal - Google Patents

Screen unlocking method and mobile terminal Download PDF

Info

Publication number
CN110196676B
CN110196676B CN201910430900.2A CN201910430900A CN110196676B CN 110196676 B CN110196676 B CN 110196676B CN 201910430900 A CN201910430900 A CN 201910430900A CN 110196676 B CN110196676 B CN 110196676B
Authority
CN
China
Prior art keywords
unlocking
image
dynamic image
screen
user
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.)
Active
Application number
CN201910430900.2A
Other languages
Chinese (zh)
Other versions
CN110196676A (en
Inventor
叶志强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910430900.2A priority Critical patent/CN110196676B/en
Publication of CN110196676A publication Critical patent/CN110196676A/en
Application granted granted Critical
Publication of CN110196676B publication Critical patent/CN110196676B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • 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]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

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

Abstract

The embodiment of the invention discloses a screen unlocking method and a mobile terminal, wherein the method comprises the following steps: in a screen locking state, displaying a first frame image in a dynamic image corresponding to screen unlocking, wherein the first frame image comprises an unlocking area, and the dynamic image is an image sequence shot by a user; if an unlocking operation in the unlocking area is received, playing the dynamic image from the first frame image of the dynamic image according to the unlocking operation; and unlocking the screen after the dynamic image is played. According to the screen unlocking method disclosed by the embodiment of the invention, the dynamic image can be played in the screen unlocking process, so that the interestingness of screen unlocking is improved; moreover, the played dynamic image, namely the unlocking wallpaper is the dynamic image shot by the user, and the user can shoot and determine the dynamic image corresponding to the screen unlocking according to personal preference, so that the style of the unlocking wallpaper is more diversified, and the personalized requirements of the user can be met.

Description

Screen unlocking method and mobile terminal
Technical Field
The embodiment of the invention relates to the technical field of mobile terminals, in particular to a screen unlocking method and a mobile terminal.
Background
The screen unlocking is a high-frequency scene in the use process of the mobile terminal, and screen locking wallpaper is usually displayed before the screen is unlocked after the mobile terminal is activated. For the scene requirement, mobile terminal manufacturers usually embed a plurality of exquisite background pictures in the mobile terminals as the screen locking wallpaper, and provide free or charged images in related subject stores for users to select as the screen locking wallpaper. In the prior art, the mobile terminal automatically replaces the screen locking wallpaper according to the unlocking time and times.
The existing mode for automatically replacing the screen locking wallpaper is single and solidified, and cannot meet the personalized requirements of users.
Disclosure of Invention
The embodiment of the invention provides a screen unlocking method, which aims to solve the problem that screen locking wallpaper in the prior art is solidified and single.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a screen unlocking method, which is applied to a mobile terminal, where the method includes: in a screen locking state, displaying a first frame image in a dynamic image corresponding to screen unlocking, wherein the first frame image comprises an unlocking area, and the dynamic image is an image sequence shot by a user; if an unlocking operation in the unlocking area is received, playing the dynamic image from the first frame image of the dynamic image according to the unlocking operation; and unlocking the screen after the dynamic image is played.
In a second aspect, an embodiment of the present invention provides a mobile terminal, where the mobile terminal includes: the first display module is used for displaying a first frame image in a dynamic image corresponding to screen unlocking in a screen locking state, wherein the first frame image comprises an unlocking area, and the dynamic image is an image sequence shot by a user; the playing module is used for playing the dynamic image from the first frame image of the dynamic image according to the unlocking operation if the unlocking operation in the unlocking area is received; and the unlocking module is used for unlocking the screen after the dynamic image is played.
In a third aspect, an embodiment of the present invention provides a mobile terminal, which includes a processor, a memory, and a computer program stored in the memory and executable on the processor, where the computer program, when executed by the processor, implements any one of the steps of the screen unlocking method described in the embodiment of the present invention.
In a fourth aspect, the present invention provides a computer-readable storage medium, where the computer-readable storage medium stores thereon a computer program, and the computer program, when executed by a processor, implements the steps of any one of the screen unlocking methods described in the embodiments of the present invention.
In the embodiment of the invention, the first frame image in the corresponding dynamic image is unlocked by the display screen in the screen locking state, and if the unlocking operation in the unlocking area is received, the dynamic image is played from the first frame image of the dynamic image according to the unlocking operation; the screen is unlocked after the dynamic image is played, the dynamic image can be played in the process of unlocking the screen, and interestingness of unlocking the screen is improved. Moreover, the played dynamic image, namely the unlocking wallpaper is the dynamic image shot by the user, and the user can shoot and determine the dynamic image corresponding to the screen unlocking according to personal preference, so that the style of the unlocking wallpaper is more diversified, and the personalized requirements of the user can be met.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart illustrating steps of a screen unlocking method according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating steps of a method for unlocking a screen according to a second embodiment of the present invention;
fig. 3 is a block diagram of a mobile terminal according to a third embodiment of the present invention;
fig. 4 is a schematic diagram of a hardware structure of a mobile terminal according to a fourth embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
Referring to fig. 1, a flowchart illustrating steps of a screen unlocking method according to a first embodiment of the present invention is shown.
The screen unlocking method provided by the embodiment of the invention comprises the following steps:
step 101: and under the screen locking state, the display screen unlocks the first frame image in the corresponding dynamic image.
The first frame image includes an unlocking area, the dynamic image is an image sequence shot by a user, and the dynamic image can show the dynamic change condition of a shot object, for example: the growth process of a small tree can be displayed; the running process of the small animal can be shown, etc. The dynamic image may be generated by shooting by the user in a screen-locked state, or generated by processing a dynamic image shot in history by the user, or generated by downloading the dynamic image from a website to a mobile terminal and then processing the dynamic image, which is not limited in this embodiment of the present invention.
The user carries out unlocking operation in the unlocking area to trigger the mobile terminal to carry out screen unlocking. In the embodiment of the present invention, a screen is taken as a touch screen, and an unlocking area is taken as a touch area.
Step 102: and if the unlocking operation in the unlocking area is received, starting to play the dynamic image from the first frame image of the dynamic image according to the unlocking operation.
The unlocking operation may be a double-click operation, a long-press operation, a sliding operation, or the like in the unlocking region, and the specific type of the unlocking operation is not limited in the embodiment of the present invention.
Step 103: and unlocking the screen after the dynamic image is played.
For example: the dynamic image is the growth process of the treelet, the unlocking area is specifically the fingerprint identification area which is arranged at the root of the treelet, the first frame of image is displayed under the screen locking state, the fingerprint identification area at the root of the treelet is clicked by a finger of a user, and in the process of carrying out fingerprint unlocking by pressing the fingerprint identification area, the screen starts to play the animation of the growth of the treelet for one time until the final blooming result of the treelet is obtained, and the screen is unlocked to enter the main screen.
According to the screen unlocking method provided by the embodiment of the invention, the first frame image in the dynamic image corresponding to the screen unlocking is displayed in the screen locking state, and if the unlocking operation in the unlocking area is received, the dynamic image is played from the first frame image of the dynamic image according to the unlocking operation; the screen is unlocked after the dynamic image is played, the dynamic image can be played in the process of unlocking the screen, and interestingness of unlocking the screen is improved. Moreover, the played dynamic image, namely the unlocking wallpaper is the dynamic image shot by the user, and the user can shoot and determine the dynamic image corresponding to the screen unlocking according to personal preference, so that the style of the unlocking wallpaper is more diversified, and the personalized requirements of the user can be met.
Example two
Referring to fig. 2, a flowchart illustrating steps of a screen unlocking method according to a second embodiment of the present invention is shown.
The screen unlocking method provided by the embodiment of the invention comprises the following steps:
step 201: and receiving the setting operation of the user on the dynamic image parameters in the image preview interface.
In the embodiment of the present invention, a case is described in which a user takes a moving image according to personal preference and sets the taken moving image as a moving image played in a screen unlocking process.
The dynamic image parameters may include: focal length, duration, and unlock region. Furthermore, the dynamic image parameters may include beauty parameters, filter parameters, and the like.
When the time length of the dynamic image is set, the time length value can be input in the input box, time length options can be provided for a user to select, and a time length sliding bar can be displayed for the user to slide and select the time length. In addition to the above-described moving image parameters, the user can set a shooting area. In general, a mobile terminal may stand to perform full-screen shooting, but the shooting range and the size of an object may be limited, and a user may narrow the shooting area and blur the scene outside the area.
The unlocking area can be a fingerprint unlocking area, when the unlocking area is selected, a user can actively set the unlocking area, and the mobile terminal can also determine the unlocking area and prompt the user to select the unlocking area on the full screen of the selected shooting area.
One way to preferably prompt the user to select an unlock region is to: highlighting a fingerprint pattern on a screen of the mobile terminal for example, so that a user can select the highlighted area as an unlocking area.
Another preferred way to prompt the user to select an unlock region is to: the method comprises the steps of identifying a shot object in a viewfinder of the mobile terminal in real time, jointly adjusting the shot object and a shooting area to determine an unlocking area for a user to select, and displaying the unlocking area for the user to select in real time. The dynamic unlocking area prompting method can improve the matching degree of the unlocking area and the shot object. Moreover, the mobile terminal also supports the adjustment operation of the unlocking area, and a user can drag and fine-tune the unlocking area on the screen.
Step 202: and shooting the dynamic image according to the dynamic image parameters.
After the parameter setting of the dynamic image is completed in step 201, the user may trigger a dynamic image shooting instruction in the set unlocking area, and after the mobile terminal receives the dynamic image shooting instruction, the mobile terminal records the image sequence with the set duration to generate the dynamic image. For example: and if the time length set in the dynamic image parameters is 3s, recording an image sequence with the time length of 3s when shooting at this time to generate a dynamic image. In a specific implementation process, a user can trigger a dynamic image shooting instruction by double-clicking in an unlocking area; the moving image photographing instruction may also be triggered by a single click or a long press within the unlock region. The specific triggering manner of the dynamic image shooting instruction in the embodiment of the present invention is not particularly limited.
Step 203: the first frame image of the moving picture is displayed.
And the first frame image is displayed with unlocking area adjustment prompt information.
In a specific implementation process, the unlocking area can be highlighted and combined with text information to prompt a user to adjust the selected unlocking area before shooting. The preliminary photographing of the moving image is completed through steps 201 to 203. In a specific implementation process, the user can also adjust an unlocking area in the shot dynamic image.
Step 204: and adjusting the unlocking area according to the adjustment operation of the user.
The adjustment operations may include, but are not limited to: move the unlock region or adjust the size of the unlock region, etc.
After the unlocking area is adjusted according to the adjustment operation of the user, an unlocking sliding track can be further set, and a preferred mode for setting the unlocking sliding track is as follows:
firstly, determining a state change track of a shooting object in a dynamic image;
secondly, displaying a state change track in the unlocking area;
for example: the dynamic image is a change process in which the small tree grows into a large number, the state change trajectory may be a straight line from bottom to top, the starting point of the state change trajectory may be the root of the small tree, and the end point may be the top of the large tree.
Thirdly, receiving the selected operation of the user on the state change track;
and finally, determining the state change track as an unlocking sliding track.
This kind of preferred mode that sets up unblock slide trajectory can avoid the user to touch the unblock region by mistake and the screen is unlocked by mistake.
It should be noted that steps 203 to 204 are optional steps, and in a specific implementation process, the unlocking area set before shooting may not be adjusted. And after the dynamic image is shot through the steps 201 to 204 and the unlocking area in the dynamic image is adjusted, taking the adjusted dynamic image as the dynamic image corresponding to the screen unlocking, and correspondingly playing the dynamic image when the screen is unlocked.
Step 205: and under the screen locking state, the display screen unlocks the first frame image in the corresponding dynamic image.
Step 206: and if the sliding operation in the unlocking area is received, determining the sliding track of the sliding operation.
In the embodiment of the present invention, the unlocking operation is taken as an example of performing a sliding operation in the unlocking area, which is not limited to this in the specific implementation process, and the unlocking operation may also be a double-click operation, a single-click operation, a long-press operation, or the like in the unlocking area.
After the user executes the sliding operation in the unlocking area, the contact state between the finger and the unlocking area can be kept, and the release state is released after the screen is unlocked; the contact state between the finger and the unlock region may be released immediately after the slide operation is performed.
Step 207: and under the condition that the sliding track is matched with the unlocking sliding track, starting to play the dynamic image from the first frame image of the dynamic image.
Otherwise, when the sliding track is not matched with the unlocking sliding track, the screen unlocking is not responded.
A preferred mode for triggering the mobile terminal to unlock the screen is as follows:
if the sliding operation in the unlocking area is received, determining a sliding track and a sliding speed of the sliding operation; determining the image playing speed according to the sliding speed under the condition that the sliding track is matched with the unlocking sliding track; and playing the dynamic image from the first frame image of the dynamic image according to the image playing speed.
According to the preferable mode for triggering the mobile terminal to unlock the screen, the user can flexibly control the playing speed of the dynamic image through the sliding speed, and the interestingness of screen unlocking can be improved.
In a specific implementation process, an unlocking sliding track is preset, and a process of playing a dynamic image after matching the sliding track of the user with the unlocking sliding track is not necessary. Or only presetting an unlocking area, determining an image playing speed according to the distance of the sliding operation after the sliding operation of the user in the unlocking area is detected, and playing the dynamic image from the first frame image of the dynamic image according to the image playing speed. The distance and the speed may be in a direct proportion relationship or an inverse proportion relationship. Or only presetting an unlocking area, and when the fingerprint to be identified by the identification fingerprint is matched with the unlocking fingerprint after the unlocking operation of the user in the unlocking area is detected, starting to play the dynamic image from the first frame image of the dynamic image.
Step 208: and unlocking the screen after the dynamic image is played.
In the embodiment of the present invention, the unlocking operation is taken as an example of performing a sliding operation in the unlocking area, which is not limited to this in the specific implementation process, and the unlocking operation may also be a double-click operation, a single-click operation, a long-press operation, or the like in the unlocking area. When the mobile terminal is triggered to unlock the screen by executing long-time pressing operation in the unlocking area, the fingers of the user can always keep in a contact state with the unlocking area until the user leaves the unlocking area after the dynamic image is played.
In the embodiment of the present invention, the example that a dynamic image shot by a user according to personal preferences is set as a dynamic image played in a screen unlocking process is described, which is not limited to this in the specific implementation process, and after a dynamic image shot in history is processed, the processed dynamic image may be used as a dynamic image corresponding to screen unlocking, where the specific determination method is as follows:
firstly, selecting a target dynamic image from dynamic images stored in a mobile terminal;
secondly, setting an unlocking area in the first frame image of the target dynamic image according to the operation of a user;
the user can further set parameters such as unlocking sliding track, duration of dynamic images and the like.
And finally, processing each frame of image in the target dynamic image to generate a dynamic image corresponding to the screen unlocking.
When each frame of image in the target dynamic image is processed, each frame of image can be cut, and the rotation angle of the image is set, so that the processed dynamic image is more matched with the size of the screen of the mobile terminal. The dynamic image can be subjected to filter processing, animation effect and decorative pendant addition or dynamic image style conversion, so that the personalized requirements of users are met, and the interestingness of the dynamic image is improved.
After the dynamic image corresponding to the screen unlocking is determined, the subsequent screen unlocking process may refer to the relevant descriptions in the first and second embodiments, which is not described herein again.
According to the screen unlocking method provided by the embodiment of the invention, the first frame image in the dynamic image corresponding to the screen unlocking is displayed in the screen locking state, and if the unlocking operation in the unlocking area is received, the dynamic image is played from the first frame image of the dynamic image according to the unlocking operation; the screen is unlocked after the dynamic image is played, the dynamic image can be played in the process of unlocking the screen, and interestingness of unlocking the screen is improved. Moreover, the played dynamic image, namely the unlocking wallpaper is the dynamic image shot by the user, and the user can shoot and determine the dynamic image corresponding to the screen unlocking according to personal preference, so that the style of the unlocking wallpaper is more diversified, and the personalized requirements of the user can be met. In addition, the method for unlocking the screen provided by the embodiment of the invention can also preset an unlocking sliding track, collect the sliding track of the user when the user performs unlocking operation in the unlocking area, match the collected sliding track with the unlocking sliding track, play the dynamic image after matching for screen unlocking, and avoid that the user mistakenly touches the unlocking area to mistakenly unlock the screen.
EXAMPLE III
Referring to fig. 3, a block diagram of a mobile terminal according to a third embodiment of the present invention is shown.
The mobile terminal of the embodiment of the invention comprises: the first display module 301 is configured to, in a screen lock state, display a first frame image in a dynamic image corresponding to screen unlocking, where the first frame image includes an unlocking area, and the dynamic image is an image sequence shot by a user; a playing module 302, configured to, if an unlocking operation in the unlocking region is received, start playing the dynamic image from a first frame image of the dynamic image according to the unlocking operation; and an unlocking module 303, configured to unlock the screen after the playing of the dynamic image is completed.
Preferably, the mobile terminal further includes: a receiving module 304, configured to receive a setting operation of a user on a parameter of a dynamic image in an image preview interface before the first frame image in the dynamic image corresponding to the screen unlocking is displayed by the first display module 301 in the screen lock state; wherein the dynamic image parameters include: focal length, duration and unlocking area; a shooting module 305, configured to shoot a dynamic image according to the dynamic image parameter; a second display module 306, configured to display a first frame image of the dynamic image, where an unlocking area adjustment prompt message is displayed on the first frame image; an adjusting module 307, configured to adjust the unlocking area according to the adjustment operation of the user.
Preferably, the mobile terminal further includes: a trajectory determination module 308, configured to determine a state change trajectory of a photographic subject in the dynamic image after the adjustment module 307 adjusts the unlocking region according to the adjustment operation of the user; a track display module 309, configured to display the state change track in the unlocking area; a track selection module 310, configured to receive a selected operation of the state change track by the user; a determining module 312, configured to determine the state change trajectory as an unlocking slide trajectory.
Preferably, the playing module 302 includes: the first determining submodule is used for determining a sliding track of the sliding operation if the sliding operation in the target unlocking area is received; and the first playing sub-module is used for playing the dynamic image from the first frame image of the dynamic image under the condition that the sliding track is matched with the unlocking sliding track.
Preferably, the playing module 302 includes: the second determining submodule is used for determining a sliding track and a sliding speed of the sliding operation if the sliding operation in the target unlocking area is received; the matching sub-module is used for determining the image playing speed according to the sliding speed under the condition that the sliding track is matched with the unlocking sliding track; and the second playing submodule is used for playing the dynamic image from the first frame image of the dynamic image according to the image playing speed.
Preferably, the mobile terminal further includes: an image selecting module 312, configured to select a target dynamic image from the dynamic images stored in the mobile terminal before the first frame of image in the dynamic images corresponding to the screen unlocking is displayed by the first display module 301 in the screen lock state; a setting module 313, configured to set a target unlocking area in a first frame image of the target dynamic image according to the operation of the user; and the generating module 314 is configured to process each frame of image in the target dynamic image, and generate a dynamic image corresponding to the screen unlock.
The mobile terminal provided in the embodiment of the present invention can implement each process implemented by the mobile terminal in the method embodiments of fig. 1 to fig. 2, and is not described herein again to avoid repetition.
According to the mobile terminal provided by the embodiment of the invention, the first frame image in the dynamic image corresponding to the screen unlocking is displayed in the screen locking state, and if the unlocking operation in the unlocking area is received, the dynamic image is played from the first frame image of the dynamic image according to the unlocking operation; the screen is unlocked after the dynamic image is played, the dynamic image can be played in the process of unlocking the screen, and interestingness of unlocking the screen is improved. Moreover, the played dynamic image, namely the unlocking wallpaper is the dynamic image shot by the user, and the user can shoot and determine the dynamic image corresponding to the screen unlocking according to personal preference, so that the style of the unlocking wallpaper is more diversified, and the personalized requirements of the user can be met.
Example four
Referring to fig. 4, a block diagram of a mobile terminal according to a fourth embodiment of the present invention is shown.
Fig. 4 is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, where the mobile terminal 400 includes, but is not limited to: radio frequency unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, processor 410, and power supply 411. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 4 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 410 is configured to display a first frame image in a dynamic image corresponding to screen unlocking in a screen lock state, where the first frame image includes an unlocking area, and the dynamic image is an image sequence shot by a user; if an unlocking operation in the unlocking area is received, playing the dynamic image from the first frame image of the dynamic image according to the unlocking operation; and unlocking the screen after the dynamic image is played.
According to the mobile terminal provided by the embodiment of the invention, the first frame image in the dynamic image corresponding to the screen unlocking is displayed in the screen locking state, and if the unlocking operation in the unlocking area is received, the dynamic image is played from the first frame image of the dynamic image according to the unlocking operation; the screen is unlocked after the dynamic image is played, the dynamic image can be played in the process of unlocking the screen, and interestingness of unlocking the screen is improved. Moreover, the played dynamic image, namely the unlocking wallpaper is the dynamic image shot by the user, and the user can shoot and determine the dynamic image corresponding to the screen unlocking according to personal preference, so that the style of the unlocking wallpaper is more diversified, and the personalized requirements of the user can be met.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 401 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 410; in addition, the uplink data is transmitted to the base station. Typically, radio unit 401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio unit 401 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 402, such as helping the user send and receive e-mails, browse web pages, and access streaming media.
The audio output unit 403 may convert audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output as sound. Also, the audio output unit 403 may also provide audio output related to a specific function performed by the mobile terminal 400 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
The input unit 404 is used to receive audio or video signals. The input Unit 404 may include a Graphics Processing Unit (GPU) 4041 and a microphone 4042, and the Graphics processor 4041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 406. The image frames processed by the graphic processor 4041 may be stored in the memory 409 (or other storage medium) or transmitted via the radio frequency unit 401 or the network module 402. The microphone 4042 may receive sound, and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 401 in case of the phone call mode.
The mobile terminal 400 also includes at least one sensor 405, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 4061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 4061 and/or the backlight when the mobile terminal 400 is moved to the ear. Display panel 401 is the flexible display screen, and the flexible display screen is including the screen base, liftable module array and the flexible screen that superpose the setting in proper order. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 405 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be described in detail herein.
The display unit 406 is used to display information input by the user or information provided to the user. The Display unit 406 may include a Display panel 4061, and the Display panel 4061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 407 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 407 includes a touch panel 4071 and other input devices 4072. Touch panel 4071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 4071 using a finger, a stylus, or any suitable object or attachment). The touch panel 4071 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 410, receives a command from the processor 410, and executes the command. In addition, the touch panel 4071 can be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 4071, the user input unit 407 may include other input devices 4072. Specifically, the other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 4071 can be overlaid on the display panel 4061, and when the touch panel 4071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 410 to determine the type of the touch event, and then the processor 410 provides a corresponding visual output on the display panel 4061 according to the type of the touch event. Although in fig. 4, the touch panel 4071 and the display panel 4061 are two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 4071 and the display panel 4061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 408 is an interface through which an external device is connected to the mobile terminal 400. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 408 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 400 or may be used to transmit data between the mobile terminal 400 and external devices.
The memory 409 may be used to store software programs as well as various data. The memory 409 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 409 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 410 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 409 and calling data stored in the memory 409, thereby integrally monitoring the mobile terminal. Processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 410.
The mobile terminal 400 may further include a power supply 411 (e.g., a battery) for supplying power to various components, and preferably, the power supply 411 may be logically connected to the processor 410 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the mobile terminal 400 includes some functional modules that are not shown, and thus, are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor 410, a memory 409, and a computer program that is stored in the memory 409 and can be run on the processor 410, and when being executed by the processor 410, the computer program implements each process of the above-mentioned screen unlocking method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the screen unlocking method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (9)

1. A screen unlocking method is applied to a mobile terminal, and is characterized by comprising the following steps:
in a screen locking state, displaying a first frame image in a dynamic image corresponding to screen unlocking, wherein the first frame image comprises an unlocking area, the dynamic image is an image sequence shot by a user, and the unlocking area is a fingerprint unlocking area;
if an unlocking operation in the unlocking area is received, playing the dynamic image from the first frame image of the dynamic image according to the unlocking operation;
unlocking a screen after the dynamic image is played;
before the step of displaying the first frame image in the screen unlocking state, the method further includes:
receiving the setting operation of a user on the dynamic image parameters in an image preview interface; wherein the dynamic image parameters include: focal length, duration and unlocking area;
shooting a dynamic image according to the dynamic image parameters;
displaying a first frame image of the dynamic image, wherein unlocking area adjustment prompt information is displayed on the first frame image;
adjusting the unlocking area according to the adjustment operation of the user, wherein the adjustment operation comprises moving the unlocking area or adjusting the size of the unlocking area;
or the like, or, alternatively,
selecting a target dynamic image from dynamic images stored in the mobile terminal;
setting an unlocking area in a first frame image of the target dynamic image according to the operation of the user; processing each frame image in the target dynamic image to generate a dynamic image corresponding to screen unlocking, wherein the processing of each frame image in the target dynamic image comprises the following steps: and cutting each frame of image or setting the rotation angle of each frame of image.
2. The method of claim 1, wherein after the step of adjusting the unlocking zone according to the user's adjustment operation, the method further comprises:
determining a state change track of a shooting object in the dynamic image;
displaying the state change trajectory in the unlock region;
receiving the selected operation of the user on the state change track;
and determining the state change track as an unlocking sliding track.
3. The method according to claim 2, wherein if an unlocking operation in the unlocking region is received, the step of playing the moving picture from a first frame of the moving picture according to the unlocking operation comprises:
if the sliding operation in the unlocking area is received, determining a sliding track of the sliding operation;
and under the condition that the sliding track is matched with the unlocking sliding track, starting to play the dynamic image from the first frame image of the dynamic image.
4. The method according to claim 2, wherein if an unlocking operation in the unlocking region is received, the step of playing the moving picture from a first frame of the moving picture according to the unlocking operation comprises:
if the sliding operation in the unlocking area is received, determining a sliding track and a sliding speed of the sliding operation;
under the condition that the sliding track is matched with the unlocking sliding track, determining the image playing speed according to the sliding speed;
and playing the dynamic image from the first frame image of the dynamic image according to the image playing speed.
5. A mobile terminal, characterized in that the mobile terminal comprises:
the first display module is used for displaying a first frame image in a dynamic image corresponding to screen unlocking in a screen locking state, wherein the first frame image comprises an unlocking area, the dynamic image is an image sequence shot by a user, and the unlocking area is a fingerprint unlocking area;
the playing module is used for playing the dynamic image from the first frame image of the dynamic image according to the unlocking operation if the unlocking operation in the unlocking area is received;
the unlocking module is used for unlocking the screen after the dynamic image is played;
the mobile terminal further includes:
the receiving module is used for receiving the setting operation of a user on the parameters of the dynamic image in the image preview interface before the first frame image in the dynamic image corresponding to the screen unlocking is displayed by the first display module in the screen locking state; wherein the dynamic image parameters include: focal length, duration and unlocking area;
the shooting module is used for shooting the dynamic image according to the dynamic image parameters;
the second display module is used for displaying a first frame image of the dynamic image, and unlocking area adjustment prompt information is displayed on the first frame image;
the adjusting module is used for adjusting the unlocking area according to the adjusting operation of the user, wherein the adjusting operation comprises moving the unlocking area or adjusting the size of the unlocking area;
or the like, or, alternatively,
the image selection module is used for selecting a target dynamic image from the dynamic images stored in the mobile terminal before the first frame of image in the dynamic images corresponding to the screen unlocking is displayed by the first display module in the screen locking state;
the setting module is used for setting a target unlocking area in a first frame image of the target dynamic image according to the operation of the user;
a generating module, configured to process each frame image in the target dynamic image and generate a dynamic image corresponding to screen unlocking, where the processing of each frame image in the target dynamic image includes: and cutting each frame of image or setting the rotation angle of each frame of image.
6. The mobile terminal of claim 5, wherein the mobile terminal further comprises:
a track determining module, configured to determine a state change track of a shooting object in the dynamic image after the adjusting module adjusts the unlocking area according to the adjustment operation of the user;
a trajectory display module for displaying the state change trajectory in the unlock region;
the track selection module is used for receiving the selection operation of the user on the state change track;
and the determining module is used for determining the state change track as an unlocking sliding track.
7. The mobile terminal of claim 6, wherein the play module comprises:
the first determining submodule is used for determining a sliding track of the sliding operation if the sliding operation in the target unlocking area is received;
and the first playing sub-module is used for playing the dynamic image from the first frame image of the dynamic image under the condition that the sliding track is matched with the unlocking sliding track.
8. The mobile terminal of claim 6, wherein the play module comprises:
the second determining submodule is used for determining a sliding track and a sliding speed of the sliding operation if the sliding operation in the target unlocking area is received;
the matching sub-module is used for determining the image playing speed according to the sliding speed under the condition that the sliding track is matched with the unlocking sliding track;
and the second playing submodule is used for playing the dynamic image from the first frame image of the dynamic image according to the image playing speed.
9. A mobile terminal, characterized in that it comprises a processor, a memory and a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, implements the steps of the screen unlocking method according to any one of claims 1 to 4.
CN201910430900.2A 2019-05-22 2019-05-22 Screen unlocking method and mobile terminal Active CN110196676B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910430900.2A CN110196676B (en) 2019-05-22 2019-05-22 Screen unlocking method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910430900.2A CN110196676B (en) 2019-05-22 2019-05-22 Screen unlocking method and mobile terminal

Publications (2)

Publication Number Publication Date
CN110196676A CN110196676A (en) 2019-09-03
CN110196676B true CN110196676B (en) 2021-02-26

Family

ID=67751619

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910430900.2A Active CN110196676B (en) 2019-05-22 2019-05-22 Screen unlocking method and mobile terminal

Country Status (1)

Country Link
CN (1) CN110196676B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101308440A (en) * 2008-06-25 2008-11-19 宇龙计算机通信科技(深圳)有限公司 Interaction control method and system based on touch screen
CN104618602A (en) * 2015-02-10 2015-05-13 苏州天平先进数字科技有限公司 Beautiful animation cell phone unlocking method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110271181A1 (en) * 2010-04-28 2011-11-03 Acer Incorporated Screen unlocking method and electronic apparatus thereof
CN101853130A (en) * 2010-05-17 2010-10-06 中兴通讯股份有限公司 Unlocking method and device of touch screen and terminal equipment
CN102662580A (en) * 2012-03-30 2012-09-12 华为技术有限公司 Unlocking method and device of touch screen

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101308440A (en) * 2008-06-25 2008-11-19 宇龙计算机通信科技(深圳)有限公司 Interaction control method and system based on touch screen
CN104618602A (en) * 2015-02-10 2015-05-13 苏州天平先进数字科技有限公司 Beautiful animation cell phone unlocking method

Also Published As

Publication number Publication date
CN110196676A (en) 2019-09-03

Similar Documents

Publication Publication Date Title
CN108668083B (en) Photographing method and terminal
CN110740259B (en) Video processing method and electronic equipment
CN108495029B (en) Photographing method and mobile terminal
CN109078319B (en) Game interface display method and terminal
CN110365907B (en) Photographing method and device and electronic equipment
CN110213440B (en) Image sharing method and terminal
CN110933306A (en) Method for sharing shooting parameters and electronic equipment
CN111050070B (en) Video shooting method and device, electronic equipment and medium
CN110830363B (en) Information sharing method and electronic equipment
CN111177420B (en) Multimedia file display method, electronic equipment and medium
CN109102555B (en) Image editing method and terminal
CN108108079B (en) Icon display processing method and mobile terminal
CN110855921B (en) Video recording control method and electronic equipment
CN111669503A (en) Photographing method and device, electronic equipment and medium
CN109739423B (en) Alarm clock setting method and flexible terminal
CN109922294B (en) Video processing method and mobile terminal
CN108984143B (en) Display control method and terminal equipment
CN108174110B (en) Photographing method and flexible screen terminal
CN108174109B (en) Photographing method and mobile terminal
CN108132749B (en) Image editing method and mobile terminal
CN110650367A (en) Video processing method, electronic device, and medium
CN111125800B (en) Icon display method and electronic equipment
CN111182211B (en) Shooting method, image processing method and electronic equipment
CN108924413B (en) Shooting method and mobile terminal
CN110955793A (en) Display control method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant