CN112988024A - Touch screen locking and unlocking interaction method, device, equipment and storage medium - Google Patents

Touch screen locking and unlocking interaction method, device, equipment and storage medium Download PDF

Info

Publication number
CN112988024A
CN112988024A CN202110503047.XA CN202110503047A CN112988024A CN 112988024 A CN112988024 A CN 112988024A CN 202110503047 A CN202110503047 A CN 202110503047A CN 112988024 A CN112988024 A CN 112988024A
Authority
CN
China
Prior art keywords
touch screen
speed
playing
unlocking
animation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110503047.XA
Other languages
Chinese (zh)
Other versions
CN112988024B (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.)
Shenzhen Zooking Software Co ltd
Original Assignee
Shenzhen Zooking Software 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 Shenzhen Zooking Software Co ltd filed Critical Shenzhen Zooking Software Co ltd
Priority to CN202110503047.XA priority Critical patent/CN112988024B/en
Publication of CN112988024A publication Critical patent/CN112988024A/en
Application granted granted Critical
Publication of CN112988024B publication Critical patent/CN112988024B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • 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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0414Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation

Abstract

The invention relates to the field of touch screen unlocking, and discloses a touch screen locking and unlocking interaction method, a device, equipment and a storage medium, wherein the method comprises the following steps: receiving a touch screen click signal, playing a preset custom animation, and counting the sliding distance of the touch screen click signal; judging whether the sliding distance exceeds a preset unlocking distance threshold value or not; if the unlocking distance does not exceed the threshold value, counting the average sliding speed of the touch screen clicking signal, and adjusting the playing setting of the custom animation according to the average sliding speed; and if the distance exceeds the unlocking distance threshold, stopping playing the custom animation, executing preset unlocking operation, and displaying a distance unlocking effect corresponding to the sliding distance.

Description

Touch screen locking and unlocking interaction method, device, equipment and storage medium
Technical Field
The invention relates to the field of touch screen unlocking, in particular to a touch screen locking and unlocking interaction method, device, equipment and storage medium.
Background
Various mobile phones are continuously popularized, default unlocking modes of the mobile phones in different manufacturers are different, screen unlocking of some manufacturers needs to slide along a specific path, screen unlocking modes of some manufacturers are based on a sliding range, unlocking can be performed if the screen unlocking modes exceed the sliding range, and unlocking cannot be performed if the screen unlocking modes do not exceed the sliding range.
In the prior art, the unlocking mode is single and lacks of interactivity of unlocking, only one unlocking function is realized, the unlocking mode is not deeply excavated, the boring range of products is caused, and the interaction efficiency and the interestingness are extremely low. There is a need for a touch screen unlocking technique that can improve the interestingness and story quality of existing unlocking.
Disclosure of Invention
The invention mainly aims to solve the technical problem that the existing screen locking and unlocking mode is lack of interestingness and story property.
The invention provides a touch screen locking and unlocking interaction method, which comprises the following steps:
receiving a touch screen click signal, playing a preset custom animation, and counting the sliding distance of the touch screen click signal;
judging whether the sliding distance exceeds a preset unlocking distance threshold value or not;
if the unlocking distance does not exceed the threshold value, counting the average sliding speed of the touch screen clicking signal, and adjusting the playing setting of the custom animation according to the average sliding speed;
and if the distance exceeds the unlocking distance threshold, stopping playing the custom animation, executing preset unlocking operation, and displaying a distance unlocking effect corresponding to the sliding distance.
Optionally, in a first implementation manner of the first aspect of the present invention, the counting a moving average speed of the touch screen click signal, and adjusting the play setting of the custom animation according to the moving average speed includes:
counting the average sliding speed of the touch screen click signal;
judging whether the moving average speed is greater than a preset speed threshold value or not;
if the speed is larger than the speed threshold, stopping playing the custom animation, executing preset unlocking operation, and displaying a speed unlocking effect corresponding to the sliding average speed;
if not, judging whether the moving average speed is zero or not;
if the sliding average speed is zero, counting the click duration of the touch screen click signal, and performing replacement processing on the custom animation according to the click duration;
and if the sliding average speed is not zero, reading the maximum playing speed of the user-defined animation, and adjusting the playing speed of the user-defined animation based on the sliding average speed and the maximum playing speed, wherein the maximum playing speed is less than the speed threshold.
Optionally, in a second implementation manner of the first aspect of the present invention, the counting a click duration of the touch screen click signal, and performing replacement processing on the custom animation according to the click duration includes:
counting the click duration of the touch screen click signal;
judging whether the click duration exceeds a preset switching duration threshold value or not;
and if the switching duration threshold is exceeded, terminating the playing of the custom animation and playing a preset switching animation.
Optionally, in a third implementation manner of the first aspect of the present invention, after the terminating the playing of the custom animation and the playing of the preset switching animation, the method further includes:
monitoring whether the touch screen clicking signal disappears;
if the animation disappears, stopping playing the switching animation, and playing the custom animation again;
and if the pattern does not disappear, playing the switching animation until the last frame pattern of the switching animation.
Optionally, in a fourth implementation manner of the first aspect of the present invention, the reading the maximum playing speed of the custom animation, and adjusting the playing speed of the custom animation based on the moving average speed and the maximum playing speed includes:
reading the current playing speed and the maximum playing speed of the customized animation;
judging whether the moving average speed is greater than the maximum playing speed;
if not, setting the correction speed as the playing speed of the custom animation based on the correction speed = the moving average speed × the current playing speed/the maximum playing speed;
and if so, setting the maximum playing speed as the playing speed of the custom animation.
Optionally, in a fifth implementation manner of the first aspect of the present invention, the receiving a touch screen click signal and playing a preset custom animation includes:
receiving a touch screen click signal, and reading pressure data of the touch screen click signal based on a pressure sensing touch technology;
judging whether the pressure data exceeds a preset pressure threshold value or not;
if the preset pressure exceeds the preset pressure, executing preset unlocking operation, and displaying preset pressure unlocking effect;
and if not, playing the preset custom animation.
Optionally, in a sixth implementation manner of the first aspect of the present invention, the touch screen is provided with a measurement baseline, and the counting the sliding distance of the touch screen click signal includes:
and counting the sliding distance between the touch screen clicking signal and the measurement baseline.
The second aspect of the present invention provides a touch screen lock and unlock interaction device, where the touch screen lock and unlock interaction device includes:
the receiving and counting module is used for receiving a touch screen clicking signal, playing preset custom animation and counting the sliding distance of the touch screen clicking signal;
the judging module is used for judging whether the sliding distance exceeds a preset unlocking distance threshold value;
the adjusting module is used for counting the sliding average speed of the touch screen clicking signal if the unlocking distance threshold value is not exceeded, and adjusting the playing setting of the custom animation according to the sliding average speed;
and the distance unlocking module is used for terminating the playing of the custom animation, executing preset unlocking operation and displaying a distance unlocking effect corresponding to the sliding distance if the unlocking distance exceeds the unlocking distance threshold value.
The third aspect of the present invention provides a touch screen lock and unlock interaction device, including: a memory having instructions stored therein and at least one processor, the memory and the at least one processor interconnected by a line; the at least one processor calls the instruction in the memory to enable the touch screen lock-screen unlock interaction device to execute the touch screen lock-screen unlock interaction method.
A fourth aspect of the present invention provides a computer-readable storage medium, which stores instructions that, when executed on a computer, cause the computer to execute the above-mentioned touch screen lock/unlock interaction method.
According to the technical scheme, a touch screen click signal is received, a preset custom animation is played, and the sliding distance of the touch screen click signal is counted; judging whether the sliding distance exceeds a preset unlocking distance threshold value or not; if the unlocking distance does not exceed the threshold value, counting the average sliding speed of the touch screen clicking signal, and adjusting the playing setting of the custom animation according to the average sliding speed; and if the distance exceeds the unlocking distance threshold, stopping playing the custom animation, executing preset unlocking operation, and displaying a distance unlocking effect corresponding to the sliding distance. In the embodiment of the invention, the interestingness and story performance in the unlocking process are improved by setting and adjusting the animation picture and the unlocking effect through setting meanings such as the sliding distance, the sliding speed, the click force, the long press time and the like of unlocking.
Drawings
FIG. 1 is a schematic diagram of a first embodiment of a touch screen lock screen unlock interaction method in an embodiment of the present invention;
FIG. 2 is a schematic diagram of a second embodiment of a touch screen lock screen unlock interaction method in an embodiment of the present invention;
FIG. 3 is a schematic diagram of a third embodiment of a touch screen locking and unlocking interaction method in the embodiment of the invention;
FIG. 4 is a schematic diagram of an embodiment of a touch screen lock and unlock interaction device in an embodiment of the present invention;
FIG. 5 is a schematic diagram of another embodiment of a touch screen lock and unlock interaction device in an embodiment of the present invention;
fig. 6 is a schematic diagram of an embodiment of a touch screen lock screen unlocking interaction device in an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a touch screen locking and unlocking interaction method, device and equipment and a storage medium.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," or "having," and any variations thereof, are intended to cover non-exclusive inclusions, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
For convenience of understanding, a detailed flow of an embodiment of the present invention is described below, and with reference to fig. 1, a first embodiment of a touch screen lock screen unlock interaction method in an embodiment of the present invention includes:
101. receiving a touch screen click signal, playing a preset custom animation, and counting the sliding distance of the touch screen click signal;
102. judging whether the sliding distance exceeds a preset unlocking distance threshold value or not;
103. if the unlocking distance does not exceed the threshold value, counting the sliding average speed of the touch screen click signal, and adjusting the playing setting of the customized animation according to the sliding average speed;
104. and if the sliding distance exceeds the unlocking distance threshold, stopping playing the custom animation, executing preset unlocking operation, and displaying a distance unlocking effect corresponding to the sliding distance.
In the embodiment of 101-104, when the touch screen click signal is received, an optional manner is that a pressure sensing technology may first determine whether to enter interesting unlocking. The pressure does not exceed the pressure threshold value, and then the explanation gets into taste unblock process, if pressure exceeds the pressure threshold value, then explains direct unblock, but in carrying out the unblock process, can show similar screen crushed effect in click signal department, show pressure unblock effect, whole picture is broken based on the visual effect of crushing, gets into whole operation interface. Optionally, the method does not perform pressure judgment, but directly enters an interesting unlocking process, and plays a custom animation which is prepared in advance. Optionally, a reference line is set on the screen, a vertical distance between the click signal and the reference line is calculated, and the vertical distance is determined as a sliding distance of the click signal. Optionally, a sliding track of the click signal is calculated, and the sliding track is statistically calculated and determined as the sliding distance of the click signal.
It can be understood that after the sliding distance is obtained, the sliding distance is compared with the unlocking distance threshold value, and the sizes of the sliding distance and the unlocking distance threshold value are judged. And if the sliding distance is greater than the unlocking distance threshold value, carrying out an unlocking process, stopping playing the animation, and then displaying the distance unlocking effect. Optionally, the distance unlocking effect may display the trajectory as a scratch effect, and then enlarge the scratch into the operation interface. And if the distance is not greater than the unlocking distance threshold value, calculating the moving speed of the click signal. The playing speed of the custom animation can be changed, but a maximum playing speed Vmax is set and cannot be exceeded. In the implementation process, the current playing Vnow of the custom animation is generally smaller than Vmax, the sliding average speed is compared with Vmax, if the sliding average speed is greater than Vmax and does not reach the sliding unlocking threshold, the entire automatic sense animation is played at the playing speed of Vmax, and if Vmax is greater than the average playing speed, the correction speed = sliding average speed x current playing speed Vnow/maximum playing speed Vmax is adopted, and the correction speed is determined as the playing speed. And if the sliding translation speed is 0, counting the click time length of the click signal, if the click time length exceeds a click time length threshold value, stopping playing the self-defined animation, playing the preset switching animation, and in the process of playing the switching animation, stopping playing the switching animation if the touch screen click signal disappears. If the touch screen click signal does not disappear in the process of playing the switching animation, the switching animation is played until the last frame of image, and if the touch screen click signal does not disappear at the moment, the switching animation is stopped on the image until the touch screen click signal disappears.
In the embodiment of the invention, the interestingness and story performance in the unlocking process are improved by setting and adjusting the animation picture and the unlocking effect through setting meanings such as the sliding distance, the sliding speed, the click force, the long press time and the like of unlocking.
Referring to fig. 2, a second embodiment of the interaction method for unlocking a lock screen of a touch screen according to the embodiment of the present invention includes:
201. receiving a touch screen click signal, playing a preset custom animation, and counting the sliding distance of the touch screen click signal;
202. judging whether the sliding distance exceeds a preset unlocking distance threshold value or not;
201-202 are similar to the first embodiment and will not be described herein.
203. If the unlocking distance does not exceed the threshold value, counting the average sliding speed of the touch screen click signal;
in this embodiment, the sliding average speed is obtained by dividing the track length of the touch screen click signal by the touch screen click signal.
204. Judging whether the moving average speed is greater than a preset speed threshold value or not;
in this embodiment, the magnitude of the average speed is compared to a speed threshold.
205. If the speed is greater than the speed threshold, the playing of the custom animation is terminated, a preset unlocking operation is executed, and a speed unlocking effect corresponding to the sliding average speed is displayed;
in this embodiment, when the speed unlocking effect is executed, different speed unlocking effects may be set based on the magnitude of the moving average speed. For example, if the instantaneous average speed exceeds 0.2 times the speed threshold, the unlocking effect is performed with a green background pattern, and if the instantaneous average speed exceeds 0.4 times the speed threshold, the unlocking effect is performed with a yellow background pattern. Whereas if 0.6 times the speed threshold is exceeded, a red background pattern is used as an unlocking effect.
206. If not, judging whether the moving average speed is zero or not;
in this embodiment, if the movement trajectory is a point, it indicates that the moving average speed is zero.
207. If the sliding average speed is zero, counting the click duration of the touch screen click signal;
in the present embodiment, as soon as the speed is determined to be zero, the statistics of the click duration are immediately performed.
208. Judging whether the click duration exceeds a preset switching duration threshold or not;
in this embodiment, it can be understood that the method belongs to a loop nesting process, and the size of the click duration and the size of the switching duration threshold are continuously compared. And if not, continuing to compare until the click duration and the switching duration threshold.
209. If the switching duration exceeds the threshold value, the playing of the custom animation is terminated, and the preset switching animation is played;
in this embodiment, it is easy to understand that the replacement of animation content, the switching of animation, and the user-defined animation are all pre-designed animations, which increases the interest, and there may be multiple themes and contents, which is not limited herein.
210. Monitoring whether the touch screen clicking signal disappears;
211. if the animation disappears, stopping switching the playing of the animation, and playing the custom animation again;
212. if the pattern does not disappear, playing the switching animation until the last frame pattern of the switching animation;
in the embodiments 210 and 212, the preset switching animation is played, and in the process of playing the switching animation, if the touch screen click signal disappears, the switching animation is stopped to be played. If the touch screen click signal does not disappear in the process of playing the switching animation, the switching animation is played until the last frame of image, and if the touch screen click signal does not disappear at the moment, the switching animation is stopped on the image until the touch screen click signal disappears.
213. If the sliding average speed is not zero, reading the current playing speed and the maximum playing speed of the custom animation;
214. judging whether the moving average speed is greater than the maximum playing speed;
215. if not, setting the correction speed as the playing speed of the user-defined animation based on the correction speed = moving average speed + current playing speed/maximum playing speed;
216. if so, setting the maximum playing speed as the playing speed of the user-defined animation;
213-216 embodiment, the playing speed of the custom animation is changeable, but a maximum playing speed Vmax is set and cannot be exceeded. In the implementation process, the current playing Vnow of the custom animation is generally smaller than Vmax, the sliding average speed is compared with Vmax, if the sliding average speed is greater than Vmax and does not reach the sliding unlocking threshold, the entire automatic sense animation is played at the playing speed of Vmax, and if Vmax is greater than the average playing speed, the correction speed = sliding average speed x current playing speed Vnow/maximum playing speed Vmax is adopted, and the correction speed is determined as the playing speed.
217. And if the sliding distance exceeds the unlocking distance threshold, stopping playing the custom animation, executing preset unlocking operation, and displaying a distance unlocking effect corresponding to the sliding distance.
This embodiment is similar to the first embodiment and will not be described herein.
In the embodiment of the invention, the interestingness and story performance in the unlocking process are improved by setting and adjusting the animation picture and the unlocking effect through setting meanings such as the sliding distance, the sliding speed, the click force, the long press time and the like of unlocking.
Referring to fig. 3, a third embodiment of the interaction method for unlocking a lock screen of a touch screen according to the embodiment of the present invention includes:
301. receiving a touch screen click signal, and reading pressure data of the touch screen click signal based on a pressure sensing touch technology;
302. judging whether the pressure data exceeds a preset pressure threshold value or not;
303. if the preset pressure exceeds the preset pressure, executing preset unlocking operation, and displaying preset pressure unlocking effect;
304. if not, playing preset custom animation;
in the embodiments 301-304, it can be determined first by using a pressure sensing technology whether to enter interesting unlocking. The pressure does not exceed the pressure threshold value, and then the explanation gets into taste unblock process, if pressure exceeds the pressure threshold value, then explains direct unblock, but in carrying out the unblock process, can show similar screen crushed effect in click signal department, show pressure unblock effect, whole picture is broken based on the visual effect of crushing, gets into whole operation interface. Optionally, the method does not perform pressure judgment, but directly enters an interesting unlocking process, and plays a custom animation which is prepared in advance.
305. Counting a sliding distance between a touch screen click signal and a measurement baseline;
in this embodiment, a reference line is set on the screen, the vertical distance between the click signal and the reference line is calculated, and the vertical distance is determined as the sliding distance of the click signal. Optionally, a sliding track of the click signal is calculated, and the sliding track is statistically calculated and determined as the sliding distance of the click signal.
306. Judging whether the sliding distance exceeds a preset unlocking distance threshold value or not;
307. if the unlocking distance does not exceed the threshold value, counting the sliding average speed of the touch screen click signal, and adjusting the playing setting of the customized animation according to the sliding average speed;
308. and if the sliding distance exceeds the unlocking distance threshold, stopping playing the custom animation, executing preset unlocking operation, and displaying a distance unlocking effect corresponding to the sliding distance.
In the embodiment of the invention, the interestingness and story performance in the unlocking process are improved by setting and adjusting the animation picture and the unlocking effect through setting meanings such as the sliding distance, the sliding speed, the click force, the long press time and the like of unlocking.
In the above description of the interaction method for unlocking and locking a screen of a touch screen in the embodiment of the present invention, referring to fig. 4, an interaction device for unlocking and locking a screen of a touch screen in the embodiment of the present invention is described below, where an embodiment of the interaction device for unlocking and locking a screen of a touch screen in the embodiment of the present invention includes:
the receiving and counting module 401 is configured to receive a touch screen click signal, play a preset custom animation, and count a sliding distance of the touch screen click signal;
a judging module 402, configured to judge whether the sliding distance exceeds a preset unlocking distance threshold;
an adjusting module 403, configured to count a sliding average speed of the touch screen click signal if the unlocking distance threshold is not exceeded, and adjust the play setting of the custom animation according to the sliding average speed;
and a distance unlocking module 404, configured to terminate the playing of the custom animation, execute a preset unlocking operation, and display a distance unlocking effect corresponding to the sliding distance if the distance exceeds the unlocking distance threshold.
In the embodiment of the invention, the interestingness and story performance in the unlocking process are improved by setting and adjusting the animation picture and the unlocking effect through setting meanings such as the sliding distance, the sliding speed, the click force, the long press time and the like of unlocking.
Referring to fig. 5, another embodiment of the touch screen lock and unlock interaction device according to the embodiment of the present invention includes:
the receiving and counting module 401 is configured to receive a touch screen click signal, play a preset custom animation, and count a sliding distance of the touch screen click signal;
a judging module 402, configured to judge whether the sliding distance exceeds a preset unlocking distance threshold;
an adjusting module 403, configured to count a sliding average speed of the touch screen click signal if the unlocking distance threshold is not exceeded, and adjust the play setting of the custom animation according to the sliding average speed;
and a distance unlocking module 404, configured to terminate the playing of the custom animation, execute a preset unlocking operation, and display a distance unlocking effect corresponding to the sliding distance if the distance exceeds the unlocking distance threshold.
Wherein the adjusting module 403 comprises:
a counting unit 4031, configured to count a moving average speed of the touch screen click signal;
a first determining unit 4032, configured to determine whether the moving average speed is greater than a preset speed threshold;
an unlocking unit 4033, configured to terminate playing of the custom animation if the speed threshold is greater than the speed threshold, execute a preset unlocking operation, and display a speed unlocking effect corresponding to the moving average speed;
a second determining unit 4034, configured to determine whether the moving average speed is zero or not if the speed is not greater than the speed threshold;
a replacing unit 4035, configured to count a click duration of the touch screen click signal if the moving average speed is zero, and perform replacement processing on the custom animation according to the click duration;
an adjusting unit 4036, configured to read the maximum playing speed of the customized animation if the moving average speed is not zero, and adjust the playing speed of the customized animation based on the moving average speed and the maximum playing speed, where the maximum playing speed is smaller than the speed threshold.
Wherein the replacing unit 4035 is specifically configured to:
counting the click duration of the touch screen click signal;
judging whether the click duration exceeds a preset switching duration threshold value or not;
and if the switching duration threshold is exceeded, terminating the playing of the custom animation and playing a preset switching animation.
The touch screen locking and unlocking interaction device further comprises a monitoring module 405, wherein the monitoring module 405 is specifically used for:
monitoring whether the touch screen clicking signal disappears;
if the animation disappears, stopping playing the switching animation, and playing the custom animation again;
and if the pattern does not disappear, playing the switching animation until the last frame pattern of the switching animation.
Wherein the adjusting unit 4036 is specifically configured to:
reading the current playing speed and the maximum playing speed of the customized animation;
judging whether the moving average speed is greater than the maximum playing speed;
if not, setting the correction speed as the playing speed of the custom animation based on the correction speed = the moving average speed × the current playing speed/the maximum playing speed;
and if so, setting the maximum playing speed as the playing speed of the custom animation.
Wherein the receiving statistics module 401 is specifically configured to:
receiving a touch screen click signal, and reading pressure data of the touch screen click signal based on a pressure sensing touch technology;
judging whether the pressure data exceeds a preset pressure threshold value or not;
if the preset pressure exceeds the preset pressure, executing preset unlocking operation, and displaying preset pressure unlocking effect;
and if not, playing the preset custom animation.
The receiving statistic module 401 may further specifically be configured to:
and counting the sliding distance between the touch screen clicking signal and the measurement baseline.
In the embodiment of the invention, the interestingness and story performance in the unlocking process are improved by setting and adjusting the animation picture and the unlocking effect through setting meanings such as the sliding distance, the sliding speed, the click force, the long press time and the like of unlocking.
Fig. 4 and 5 describe the touch screen lock/unlock interaction apparatus in the embodiment of the present invention in detail from the perspective of a modular functional entity, and the touch screen lock/unlock interaction device in the embodiment of the present invention is described in detail from the perspective of hardware processing.
Fig. 6 is a schematic structural diagram of a touch screen lock/unlock interaction device according to an embodiment of the present invention, where the touch screen lock/unlock interaction device 600 may have a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 610 (e.g., one or more processors) and a memory 620, and one or more storage media 630 (e.g., one or more mass storage devices) storing applications 633 or data 632. Memory 620 and storage medium 630 may be, among other things, transient or persistent storage. The program stored in the storage medium 630 may include one or more modules (not shown), each of which may include a series of instruction operations for unlocking the touch screen lock screen of the interaction device 600. Further, the processor 610 may be configured to communicate with the storage medium 630, and execute a series of instruction operations in the storage medium 630 on the touch screen lock screen unlock interaction device 600.
The touch screen lock screen based unlock interaction device 600 may also include one or more power supplies 640, one or more wired or wireless network interfaces 650, one or more input-output interfaces 660, and/or one or more operating systems 631, such as Windows service, Mac OS X, Unix, Linux, FreeBSD, and so forth. Those skilled in the art will appreciate that the structure of the touch screen lock screen unlock interaction device shown in fig. 6 does not constitute a limitation to unlocking the interaction device based on the touch screen lock screen, and may include more or less components than those shown, or some components in combination, or a different arrangement of components.
The invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium, or a volatile computer-readable storage medium, and instructions are stored in the computer-readable storage medium, and when the instructions are executed on a computer, the instructions cause the computer to execute the steps of the touch screen locking and unlocking interaction method.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses, and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A touch screen locking and unlocking interaction method is characterized by comprising the following steps:
receiving a touch screen click signal, playing a preset custom animation, and counting the sliding distance of the touch screen click signal;
judging whether the sliding distance exceeds a preset unlocking distance threshold value or not;
if the unlocking distance does not exceed the threshold value, counting the average sliding speed of the touch screen clicking signal, and adjusting the playing setting of the custom animation according to the average sliding speed;
and if the distance exceeds the unlocking distance threshold, stopping playing the custom animation, executing preset unlocking operation, and displaying a distance unlocking effect corresponding to the sliding distance.
2. The touch screen lock and unlock interaction method according to claim 1, wherein the counting of the average sliding speed of the touch screen click signal, and the adjusting of the play setting of the custom animation according to the average sliding speed comprises:
counting the average sliding speed of the touch screen click signal;
judging whether the moving average speed is greater than a preset speed threshold value or not;
if the speed is larger than the speed threshold, stopping playing the custom animation, executing preset unlocking operation, and displaying a speed unlocking effect corresponding to the sliding average speed;
if not, judging whether the moving average speed is zero or not;
if the sliding average speed is zero, counting the click duration of the touch screen click signal, and performing replacement processing on the custom animation according to the click duration;
and if the sliding average speed is not zero, reading the maximum playing speed of the user-defined animation, and adjusting the playing speed of the user-defined animation based on the sliding average speed and the maximum playing speed, wherein the maximum playing speed is less than the speed threshold.
3. The touch screen lock and unlock interaction method according to claim 2, wherein the counting of the click duration of the touch screen click signal, and the replacement processing of the custom animation according to the click duration includes:
counting the click duration of the touch screen click signal;
judging whether the click duration exceeds a preset switching duration threshold value or not;
and if the switching duration threshold is exceeded, terminating the playing of the custom animation and playing a preset switching animation.
4. The touch screen lock screen unlock interaction method of claim 3, further comprising, after the terminating the playing of the custom animation and playing a preset switching animation:
monitoring whether the touch screen clicking signal disappears;
if the animation disappears, stopping playing the switching animation, and playing the custom animation again;
and if the pattern does not disappear, playing the switching animation until the last frame pattern of the switching animation.
5. The touch screen lock screen unlock interaction method of claim 2, wherein the reading the maximum play speed of the custom animation, and the adjusting the play speed of the custom animation based on the running average speed and the maximum play speed comprises:
reading the current playing speed and the maximum playing speed of the customized animation;
judging whether the moving average speed is greater than the maximum playing speed;
if not, setting the correction speed as the playing speed of the custom animation based on the correction speed = the moving average speed × the current playing speed/the maximum playing speed;
and if so, setting the maximum playing speed as the playing speed of the custom animation.
6. The touch screen lock and unlock interaction method of claim 1, wherein the receiving a touch screen click signal and the playing a preset custom animation comprises:
receiving a touch screen click signal, and reading pressure data of the touch screen click signal based on a pressure sensing touch technology;
judging whether the pressure data exceeds a preset pressure threshold value or not;
if the preset pressure exceeds the preset pressure, executing preset unlocking operation, and displaying preset pressure unlocking effect;
and if not, playing the preset custom animation.
7. The touch screen lock and unlock interaction method according to claim 1, wherein the touch screen is provided with a measurement baseline, and the counting of the sliding distance of the touch screen click signal includes:
and counting the sliding distance between the touch screen clicking signal and the measurement baseline.
8. The utility model provides a touch screen lock screen unblock interaction device which characterized in that, touch screen lock screen unblock interaction device includes:
the receiving and counting module is used for receiving a touch screen clicking signal, playing preset custom animation and counting the sliding distance of the touch screen clicking signal;
the judging module is used for judging whether the sliding distance exceeds a preset unlocking distance threshold value;
the adjusting module is used for counting the sliding average speed of the touch screen clicking signal if the unlocking distance threshold value is not exceeded, and adjusting the playing setting of the custom animation according to the sliding average speed;
and the distance unlocking module is used for terminating the playing of the custom animation, executing preset unlocking operation and displaying a distance unlocking effect corresponding to the sliding distance if the unlocking distance exceeds the unlocking distance threshold value.
9. The utility model provides a touch screen lock screen unblock mutual equipment which characterized in that, touch screen lock screen unblock mutual equipment includes: a memory having instructions stored therein and at least one processor, the memory and the at least one processor interconnected by a line;
the at least one processor invokes the instructions in the memory to cause the touch screen lock screen unlock interaction device to execute the touch screen lock screen unlock interaction method according to any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the touch screen lock/unlock interaction method according to any one of claims 1 to 7.
CN202110503047.XA 2021-05-10 2021-05-10 Touch screen locking and unlocking interaction method, device, equipment and storage medium Active CN112988024B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110503047.XA CN112988024B (en) 2021-05-10 2021-05-10 Touch screen locking and unlocking interaction method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110503047.XA CN112988024B (en) 2021-05-10 2021-05-10 Touch screen locking and unlocking interaction method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112988024A true CN112988024A (en) 2021-06-18
CN112988024B CN112988024B (en) 2021-08-06

Family

ID=76337332

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110503047.XA Active CN112988024B (en) 2021-05-10 2021-05-10 Touch screen locking and unlocking interaction method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112988024B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101408822A (en) * 2008-11-13 2009-04-15 宇龙计算机通信科技(深圳)有限公司 Unlocking method, system and mobile terminal
US20100020035A1 (en) * 2008-07-23 2010-01-28 Hye-Jin Ryu Mobile terminal and event control method thereof
CN102236515A (en) * 2010-04-28 2011-11-09 宏碁股份有限公司 Electronic apparatus and screen unlocking method thereof
CN102609207A (en) * 2012-02-13 2012-07-25 广东欧珀移动通信有限公司 Method for switching smart phone unlocking interface
CN103257828A (en) * 2013-05-30 2013-08-21 无锡久源软件科技有限公司 Graffiti type full screen sliding and unlocking method
CN103677822A (en) * 2011-06-30 2014-03-26 小米科技有限责任公司 Mobile terminal unlocking method
CN107450911A (en) * 2017-07-05 2017-12-08 口碑(上海)信息技术有限公司 Player method, device and the electronic equipment of animated element
CN107656694A (en) * 2017-11-01 2018-02-02 北京小米移动软件有限公司 The display control method and device of user interface
CN111176504A (en) * 2019-12-18 2020-05-19 华为技术有限公司 Interface element display method and electronic equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100020035A1 (en) * 2008-07-23 2010-01-28 Hye-Jin Ryu Mobile terminal and event control method thereof
CN101408822A (en) * 2008-11-13 2009-04-15 宇龙计算机通信科技(深圳)有限公司 Unlocking method, system and mobile terminal
CN102236515A (en) * 2010-04-28 2011-11-09 宏碁股份有限公司 Electronic apparatus and screen unlocking method thereof
CN103677822A (en) * 2011-06-30 2014-03-26 小米科技有限责任公司 Mobile terminal unlocking method
CN102609207A (en) * 2012-02-13 2012-07-25 广东欧珀移动通信有限公司 Method for switching smart phone unlocking interface
CN103257828A (en) * 2013-05-30 2013-08-21 无锡久源软件科技有限公司 Graffiti type full screen sliding and unlocking method
CN107450911A (en) * 2017-07-05 2017-12-08 口碑(上海)信息技术有限公司 Player method, device and the electronic equipment of animated element
CN107656694A (en) * 2017-11-01 2018-02-02 北京小米移动软件有限公司 The display control method and device of user interface
CN111176504A (en) * 2019-12-18 2020-05-19 华为技术有限公司 Interface element display method and electronic equipment

Also Published As

Publication number Publication date
CN112988024B (en) 2021-08-06

Similar Documents

Publication Publication Date Title
US9407747B2 (en) Mobile device and method
CN103678299B (en) A kind of method and device of monitor video summary
CN105468247B (en) Working mode switching method and mobile terminal
CN107968730A (en) The method and system that monitoring Internet of Things network interface card is stolen
WO2000010077A3 (en) Methods and apparatuses for tracking the active window of a host computer in a remote computer display window
CN103713829B (en) System switching method, device and electronic equipment
CN103677592B (en) The method and device for showing web object is slided in webpage
WO2001030007A3 (en) In-band method and apparatus for reporting operational statistics
CN106937090A (en) The method and device of a kind of video storage
CN109144858B (en) Fluency detection method and device, computing equipment and storage medium
CN112988024B (en) Touch screen locking and unlocking interaction method, device, equipment and storage medium
CN103679745A (en) Moving target detection method and device
CN103297729A (en) Video processing method and device
CN106933964A (en) A kind of method, device and electronic equipment for determining to read duration
CN110312163A (en) A kind of digital video static frame detection and system
CN110619308A (en) Aisle sundry detection method, device, system and equipment
CN105867899A (en) Method and device for identifying device
CN106441349A (en) Fake message judgment method and device based on pedometer messages
CN106483461B (en) Electrical machine energy-saving analysis and fault state monitoring system
CN101908091A (en) Network server, system and method for reconnecting disconnected network game
CN105302691B (en) A kind of metadata method for monitoring performance and system
CN104461267A (en) Interface interactive object display method and device
CN106293312A (en) The method and apparatus that terminal movable control shows
CN108111914A (en) Video playback area recognition methods, device and apparatus for media playing
CN114281151B (en) Data display device of industrial control intrusion detection 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