CN112380521A - Touch screen unlocking method and device, storage medium and terminal - Google Patents

Touch screen unlocking method and device, storage medium and terminal Download PDF

Info

Publication number
CN112380521A
CN112380521A CN202011327046.6A CN202011327046A CN112380521A CN 112380521 A CN112380521 A CN 112380521A CN 202011327046 A CN202011327046 A CN 202011327046A CN 112380521 A CN112380521 A CN 112380521A
Authority
CN
China
Prior art keywords
touch
sliding
touch point
target
unlocking
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
CN202011327046.6A
Other languages
Chinese (zh)
Other versions
CN112380521B (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 Lishunhe Technology Co ltd
Original Assignee
Huizhou TCL 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN202011327046.6A priority Critical patent/CN112380521B/en
Priority claimed from CN202011327046.6A external-priority patent/CN112380521B/en
Publication of CN112380521A publication Critical patent/CN112380521A/en
Application granted granted Critical
Publication of CN112380521B publication Critical patent/CN112380521B/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/36User authentication by graphic or iconic representation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • 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
    • G06F3/04883Interaction 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 for inputting data by handwriting, e.g. gesture or text

Landscapes

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

Abstract

The embodiment of the application discloses a touch screen unlocking method and device, a storage medium and a terminal. The touch screen unlocking method comprises the following steps: when the sliding operation on the terminal touch screen in the screen locking state is detected, determining a sliding track corresponding to the sliding operation, wherein the sliding track comprises a plurality of touch points, determining a target touch point from the plurality of touch points based on the position information of each touch point, determining the touch time corresponding to each target touch point in the sliding process, and calculating the sliding speed of the sliding operation between different target touch points according to the position information of each target touch point and the corresponding touch time to obtain a sliding speed set; and determining unlocking information based on the sliding speed set, and executing unlocking operation according to the unlocking information. According to the method and the device, the sliding speed of the sliding operation on the terminal touch screen in the screen locking state is obtained, the unlocking information is generated according to the sliding speed, the unlocking operation is executed based on the unlocking information, and the unlocking safety of the touch screen of the terminal can be improved.

Description

Touch screen unlocking method and device, storage medium and terminal
Technical Field
The application relates to the field of terminal application, in particular to a touch screen unlocking method and device, a storage medium and a terminal.
Background
As a latest electronic product input device, the touch screen is the simplest, convenient and natural man-machine interaction mode at present. With the rapid development of touch screen technology, and the wide application of touch screens in terminals. The number of keys of the terminal is less and less, and more input functions are completed by the touch screen. For example, most terminals are currently unlocked by touch screen operation.
In the related art, when unlocking is performed through a touch screen, an unlocking password or an unlocking pattern is preset, and then unlocking is performed according to the unlocking password or the unlocking pattern input by a user on the touch screen. However, when the unlocking is performed through the password or the pattern, the unlocking information is easily stolen by others, so that the safety is low when the touch screen is unlocked.
Disclosure of Invention
The embodiment of the application provides a touch screen unlocking method and device, a storage medium and a terminal, and can improve the safety of unlocking a touch screen of the terminal.
The embodiment of the application provides a touch screen unlocking method, which comprises the following steps:
when the sliding operation of the terminal touch screen in the screen locking state is detected, determining a sliding track corresponding to the sliding operation, wherein the sliding track comprises a plurality of touch points;
determining a target touch point from the plurality of touch points based on the position information of each touch point;
determining the touch time corresponding to each target touch point in the sliding process;
calculating the sliding speed of the sliding operation between different target touch points according to the position information of each target touch point and the corresponding touch time to obtain a sliding speed set;
and determining unlocking information based on the sliding speed set, and executing unlocking operation according to the unlocking information.
Correspondingly, this application embodiment still provides a touch-sensitive screen unlocking device, includes:
the terminal comprises a detection unit, a display unit and a control unit, wherein the detection unit is used for determining a sliding track corresponding to a sliding operation when the sliding operation on a terminal touch screen in a screen locking state is detected, and the sliding track comprises a plurality of touch points;
a first determination unit configured to determine a target touch point from the plurality of touch points based on position information of each touch point;
the second determining unit is used for determining the touch time corresponding to each target touch point in the sliding process;
the first calculating unit is used for calculating the sliding speed of the sliding operation between different target touch points according to the position information of each target touch point and the corresponding touch time to obtain a sliding speed set;
and the execution unit is used for determining unlocking information based on the sliding speed set and executing unlocking operation according to the unlocking information.
Correspondingly, the embodiment of the application also provides a storage medium, wherein the storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the touch screen unlocking method.
Correspondingly, the embodiment of the application also provides a terminal, which comprises a processor and a memory, wherein the memory stores a plurality of instructions, and the processor loads the instructions to execute the touch screen unlocking method.
According to the method and the device, the detection track is arranged on the terminal touch screen in advance, the sliding track of the sliding operation of the terminal touch screen in the screen locking state is obtained, the intersection points of the sliding track and the detection track are determined according to the position of the sliding track and the position of the detection track, then the sliding speed is calculated according to the position of each intersection point and the corresponding touch time, the unlocking information is obtained according to the sliding speed, and the unlocking operation is executed based on the unlocking information, so that the unlocking safety of the touch screen of the terminal can be improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a touch screen unlocking method provided in an embodiment of the present application.
Fig. 2 is a coordinate axis schematic diagram of a terminal touch screen according to an embodiment of the present application.
Fig. 3 is a schematic diagram of a position relationship between a sliding track and a detection track according to an embodiment of the present application.
Fig. 4 is a schematic diagram illustrating division of a contact area of a touch screen of a terminal according to an embodiment of the present application.
Fig. 5 is a flowchart illustrating another touch screen unlocking method according to an embodiment of the present application.
Fig. 6 is a schematic diagram of a sliding track according to an embodiment of the present application.
Fig. 7 is a schematic diagram of intersection of a sliding track and a preset detection track according to an embodiment of the present application.
Fig. 8 is a structural block diagram of a touch screen unlocking device according to an embodiment of the present application.
Fig. 9 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. 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 application.
Based on the above problems, embodiments of the present application provide a method and an apparatus for unlocking a touch screen, a storage medium, and a terminal, which can improve the security of unlocking the touch screen of the terminal. The following are detailed below. It should be noted that the following description of the embodiments is not intended to limit the preferred order of the embodiments.
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a touch screen unlocking method according to an embodiment of the present disclosure. The touch screen unlocking method may be applied to mobile terminals such as mobile phones, tablet computers, notebook computers, palmtop computers, Portable Media Players (PMPs), and fixed terminals such as desktop computers. The specific process of the touch screen unlocking method can be as follows:
101. and when the sliding operation on the terminal touch screen in the screen locking state is detected, determining a sliding track corresponding to the sliding operation.
In the embodiment of the present application, the terminal may include a touch screen, which is also called a "touch screen" or a "touch panel", and is an inductive liquid crystal display device capable of receiving input signals such as a touch, and when a graphical button on the screen is touched, the tactile feedback system on the screen may drive various connection devices according to a pre-programmed program, so as to replace a mechanical button panel and produce a vivid video effect by the liquid crystal display screen.
The terminal touch screen may include a plurality of states according to the lighting condition of the terminal touch screen, for example, a screen-on state, a screen-off state, and the like. The screen-on state refers to that the terminal touch screen is lightened to start working and can display various contents; the screen-off state refers to that the terminal touch screen is not lighted, that is, no content is displayed, and the screen-off state also refers to a screen-locking state, that is, the terminal touch screen is locked and stops working.
The sliding operation refers to a continuous and uninterrupted sliding on the terminal touch screen for a certain distance, and the sliding operation may be performed by a user.
For example, the user may continuously and uninterruptedly slide a certain distance on the terminal touch screen by using a finger, that is, perform a sliding operation.
The sliding track refers to a pattern generated corresponding to a sliding operation on the terminal touch screen, and the pattern may include multiple types. For example, the shape may include: straight lines, curves, circles, and polygons, among other geometric patterns.
For example, in the locked state of the terminal touch screen, the user may perform a sliding operation on the terminal touch screen through a finger, and if it is detected that a pattern corresponding to the sliding operation may be a curve, the curve may be determined to be a sliding track corresponding to the current sliding operation of the user.
The sliding track is a pattern generated by the sliding operation on the terminal touch screen, and the sliding track can also be composed of a plurality of touch points, wherein the touch points refer to positions of the terminal touch screen contacted at different moments in the sliding operation process. The number of touch points may be determined in various manners, for example, the touch points may be obtained by detecting a sliding force during a sliding operation, or setting a preset time interval during the sliding operation.
In some embodiments, in order to avoid increasing the power consumption of the terminal due to the constant force detection for the sliding operation, a time interval may be preset. For example, the time interval may be 0.5 seconds, 1 second, and so on. Then, during the sliding operation, the touch point may be determined from the sliding trajectory at set time intervals.
For example, the time interval may be 0.5 seconds, and when the start of the sliding operation is detected, one touch point may be determined every 0.5 seconds, and when the sliding operation is ended, a plurality of touch points may be determined. Therefore, the power consumption of the terminal can be saved, and the uniform extraction of a plurality of touch points from the sliding track is ensured.
In some embodiments, to improve the unlocking accuracy, the following steps may be further included:
detecting the average sliding speed of the sliding operation in a preset time period every other preset time period in the sliding operation process;
determining a target vibration frequency according to the average sliding speed;
and triggering the vibration device to vibrate based on the target vibration frequency.
Wherein the preset time period is a time period set for detecting an average sliding speed during the sliding operation.
For example, the preset time period may be 1 second, 2 seconds, or the like. The smaller the preset time period is, the higher the sliding speed detection frequency in the sliding operation process is, and the more accurate the obtained real-time sliding speed is; the larger the preset time period is, the lower the frequency of detecting the sliding speed in the sliding operation process is, and the obtained real-time sliding speed may be inaccurate.
The average sliding speed refers to the sliding speed of the sliding operation in the current time and the historical time, and the historical time refers to the time with the time difference value of the current time being the preset time period.
For example, if the current time is 8 hours, 12 minutes and 2 seconds, and the preset time period may be 2 seconds, it may be determined that the historical time is 8 hours, 12 minutes and 0 seconds.
After the current time and the historical time are determined, the current sliding distance of the touch operation sliding from the position of the historical time to the position of the current time can be obtained, and then the current sliding speed can be calculated according to the preset time period and the current sliding distance.
For example, the current sliding distance may be 2 centimeters, the preset time period may be 2 seconds, and the current sliding speed may be calculated to be 1 centimeter per second.
The target vibration frequency refers to a vibration frequency corresponding to the average sliding speed, for example, the vibration frequency may be 1 time per second, 2 times per second, and so on.
Specifically, the correspondence between the sample speed and the sample vibration frequency may be preset.
For example, the sample speed may include: 1 cm per second, 2 cm per second, and 3 cm per second, the sample vibration frequency may include: 1 time per second, 2 times per second and 3 times per second, wherein the corresponding relation between the sample speed and the sample vibration frequency can be as follows: 1 cm per second for 1 time per second, 2 cm per second for 2 times per second, and 3 cm per second for 3 times per second.
After the average sliding velocity is calculated, the sample vibration frequency corresponding to the average velocity can be found out according to the corresponding relationship between the sample velocity and the sample vibration frequency, that is, the target vibration frequency is obtained. For example, the average sliding speed may be 1 cm per second, and the sample vibration frequency corresponding to the average sliding speed is 1 time per second, that is, the target vibration frequency is 1 time per second.
The vibration device refers to a device which vibrates inside the terminal and can be used for tactile feedback. Tactile feedback refers to the ability to reproduce a tactile sensation to a user through a series of actions, such as force, vibration, etc. For example, the vibrator device may be a vibrator.
After the target vibration frequency is determined, the vibrator can be triggered to start to vibrate at the target vibration frequency, and the vibrator is triggered to vibrate at the target vibration frequency, so that a user can sense the sliding speed corresponding to the sliding operation in real time, and the user can appropriately adjust the sliding speed.
In some embodiments, in order to ensure the accuracy of the sliding operation of the user, the following steps may be further included: in the sliding operation process, detecting the current sliding speed of the sliding operation within a preset time period every other preset time period;
calculating a speed difference value between the current sliding speed and a preset sliding speed;
and if the speed difference value is larger than the preset difference value, triggering touch feedback, wherein the touch feedback is used for prompting the user that the current sliding speed does not meet the preset sliding speed.
The preset sliding speed refers to a proper sliding speed in the sliding operation process of the user, the preset sliding speed can be obtained according to a plurality of sliding speeds obtained by the sliding operation in the historical time period of the user, the sliding speed with the highest occurrence frequency is set as the preset sliding speed from the plurality of sliding speeds, and therefore the preset sliding speed can be set according to the sliding behavior habit of the user so as to improve the unlocking accuracy.
After determining the current slip speed, the current slip speed may be compared to a preset slip speed. And if the current sliding speed is greater than or less than the preset sliding speed, acquiring a speed difference value between the current sliding speed and the preset sliding speed.
For example, the current sliding speed may be 1 cm per second, and the preset sliding speed may be 2 cm per second, then it may be determined that the current sliding speed is less than the preset sliding speed, and the speed difference between the current sliding speed and the preset sliding speed is calculated to be 1.
For another example, if the current sliding speed may be 1 cm/s and the preset sliding speed may be 0.5 cm/s, it may be determined that the current sliding speed is less than the preset sliding speed, and a speed difference between the current sliding speed and the preset sliding speed is calculated to be 0.5.
Further, if the current sliding speed does not meet the preset sliding speed, the user can be prompted that the current sliding speed does not meet the preset sliding speed, so that the user can accelerate the sliding operation or decelerate the sliding operation. The prompting mode may include multiple modes, for example, the terminal may prompt the user in a tactile feedback mode through the touch screen.
Then, when the current sliding speed does not satisfy the preset sliding speed, in order to allow the user to accurately change the sliding speed, the user may be prompted through different tactile feedback in different situations. For example, when the current speed is less than the preset speed and the speed difference between the current speed and the preset speed is greater than the preset difference, the tactile feedback may be set as a single vibration; when the current speed is greater than the preset speed and the speed difference between the current speed and the preset speed is greater than the preset difference, the tactile feedback may be set to be continuous vibration or the like.
102. A target touch point is determined from the plurality of touch points based on the position information of each touch point.
The position information refers to a position where the touch point is located on the touch screen of the terminal, and the position can be represented by coordinates.
Referring to fig. 2, fig. 2 is a schematic coordinate axis view of a touch screen of a terminal according to an embodiment of the present disclosure. In fig. 2, a coordinate system may be constructed based on one long side and one short side of the terminal touch screen, where the short side may be set as an X-axis and the long side may be set as a Y-axis, and then the position of the touch point a in fig. 2 on the terminal touch screen may be (X, Y).
In some embodiments, in order to quickly determine the target touch point, the step "determining the target touch point from a plurality of touch points based on the position information of each touch point" may include the following operations:
matching the position information of each touch point with the position information of a plurality of detection tracks;
if the position information of the touch point is successfully matched with the position information of the detection track, determining a candidate touch point based on the touch point of which the position information is successfully matched with the position information of the detection track;
and determining a target detection track corresponding to each candidate touch point, and determining a target touch point from the candidate touch points according to the target detection track corresponding to each candidate touch point and the corresponding touch time.
The detection track refers to a pattern which is preset on the terminal touch screen, and the detection track is used for determining a target touch point from the sliding track so as to calculate the sliding speed of the sliding operation in the following process. For example, the detection trajectory may be a straight line, or the like.
The position information of each touch point is also the coordinate of each touch point on the coordinate axis of the terminal touch screen; since the detection track may be a straight line, the detection track is composed of a plurality of points, and the position information of the detection track may refer to a coordinate set formed by the detection track on the coordinate axis of the terminal touch screen.
After the position information of each touch point is determined, the position information of the touch point may be matched with the position information of the detection track, that is, it is determined whether a coordinate set corresponding to the detection track has a coordinate that is the same as the coordinate of the touch point, and if the coordinate of the touch point is the same as the coordinate in the coordinate set of the detection track, the touch point may be determined to be a candidate touch point.
Referring to fig. 3, fig. 3 is a schematic diagram illustrating a position relationship between a sliding track and a detection track according to an embodiment of the present application. In fig. 3, the sliding trajectory may be a curved line, and the detection trajectory may be a straight line. The sliding track may include a plurality of touch points, and from left to right, the following may be in order: touch point a, touch point B, touch point C, touch point D, touch point E, touch point F, touch point G, and touch point H. According to the position information of each touch point and the position information of the detection track, the touch points of which the position information accords with the position information of the detection track can be determined from the plurality of touch points of the sliding track as follows: and obtaining candidate touch points by the touch point A, the touch point C, the touch point E and the touch point H.
The target detection track refers to a detection track in which position information is successfully matched with position information of a touch point in a plurality of detection tracks, namely the detection track where the touch point is located.
For example, the detection tracks may include a first detection track and a second detection track, and the candidate touch points may include: the touch point matching method comprises a touch point A, a touch point C, a touch point E and a touch point H, wherein the touch points of the candidate touch points, of which the position information is successfully matched with the position information of the first detection track, can comprise the touch point A, the touch point C and the touch point H; if the touch point whose position information is successfully matched with the position information of the second detection track in the candidate touch points includes the touch point E, it may be determined that the target detection tracks corresponding to the touch point a, the touch point C, and the touch point H are the first detection track, and the target detection track corresponding to the touch point E is the second detection track.
The touch time refers to a time when the sliding operation slides to the touch point, for example, when the sliding operation slides to the touch point a during the sliding operation, the time may be 14 minutes, 46 minutes, and 13 seconds.
After the target detection track and the sliding time corresponding to each candidate touch point are determined, the target touch point can be determined from the multiple candidate touch points according to the target detection track and the sliding time.
In some embodiments, to determine valid target touch points, the step "determining a target touch point from candidate touch points according to a target detection track corresponding to each candidate touch point and a corresponding touch time" may include the following processes:
sorting the candidate touch points based on the touch time corresponding to each candidate touch point to obtain a candidate touch point sequence;
and if the target detection tracks corresponding to the continuous candidate touch points in the candidate touch point sequence are the same, determining the candidate touch point with the touch time closest to the current time from the continuous candidate touch points to obtain the target touch point.
The candidate touch point sequence refers to a plurality of candidate touch points arranged in sequence, for example, the candidate touch point sequence may be: touch point a, touch point C, touch point E, and touch point H, and so on. The candidate touch points can be arranged in different arrangement modes to obtain different candidate touch point sequences.
In the embodiment of the present application, the plurality of candidate touch points may be sorted according to the touch time of each candidate touch point, for example, the plurality of candidate touch points may be sorted according to the time sequence and based on the touch time of each candidate touch point.
For example, the touch time of the touch point a may be 14 hours, 50 minutes and 1 second, the touch time of the touch point C may be 14 hours, 50 minutes and 5 seconds, the touch time of the touch point E may be 14 hours, 50 minutes and 7 seconds, and the touch time of the touch point H may be 14 hours, 50 minutes and 11 seconds, then the candidate touch points are sorted according to the chronological order, and the candidate touch point sequence may be obtained as: touch point a, touch point C, touch point E, and touch point H. The candidate touch points are sequenced according to the sequence of the touch time of the candidate touch points to determine a candidate touch point sequence, so that the sliding speed of the sliding operation can be detected in real time to ensure that the accurate sliding speed is obtained.
After determining the candidate touch point sequence, it may be determined whether target detection tracks corresponding to consecutive candidate touch points in the candidate touch point sequence are the same, that is, whether adjacent candidate touch points in the candidate touch point sequence are located in the same target detection track.
For example, the candidate touch point sequence is: the touch point sequence comprises a touch point A, a touch point C, a touch point E and a touch point H, wherein the touch point A corresponds to a first detection track, the touch point C corresponds to a second detection track, the touch point E corresponds to a second detection track and the touch point H corresponds to the first detection track, the touch point C and the touch point E in the candidate touch point sequence can be judged to be adjacent touch points, the touch point C and the touch point E both correspond to the second detection tracks, and the touch point E at the later touch time can be determined to be a target touch point. If the touch point a and the touch point H are adjacent to each other and located in the same target detection track, the touch point a and the touch point H are also target touch points.
In some embodiments, if the target detection tracks corresponding to no adjacent touch points in the candidate touch point sequence are the same, all the candidate touch points may be determined as the target touch points.
In some embodiments, when the user slide operation is unlocked, in order to facilitate the user one-handed operation, before the step "matching the position information of each touch point with the position information of a plurality of detection tracks", the following steps may be further included:
determining contact position information with the terminal according to the sliding operation;
and determining a sample track with the position information conforming to the contact position information from the plurality of sample tracks to obtain a detection track.
The contact position information refers to a contact position detected by the terminal when the user contacts the terminal, and may be a contact position of the user with a touch screen of the terminal or a contact position of the user with a rear shell of the terminal.
In some embodiments, in order to determine an accurate detection track, if a user simultaneously contacts with the terminal touch screen and the terminal rear shell, a contact position of the user with the terminal touch screen may be detected, so as to obtain contact position information.
The plurality of sample tracks are a plurality of sample tracks which are preset according to the terminal touch screen, so that the corresponding sample tracks can be obtained according to the contact position information and are used as detection tracks.
Referring to fig. 4, fig. 4 is a schematic diagram illustrating a contact area division of a touch screen of a terminal according to an embodiment of the present application, and in fig. 4, the touch screen of the terminal may be divided into: the image processing apparatus includes a first area, a second area, a third area, and a fourth area, where a sample trajectory a may be set in the first area, a sample trajectory B may be set in the second area, a sample trajectory C may be set in the third area, and a sample trajectory D may be set in the fourth area.
For example, when the user starts to perform the sliding operation, the contact position information of the user and the terminal at the moment is detected, if the contact position is detected to be located in the first area, the sample track A can be determined to be the detection track corresponding to the current sliding operation, and therefore the detection line is determined according to the contact position of the hand of the user and the terminal, so that the user can conveniently unlock the lock through one-hand operation.
In some embodiments, in order to facilitate the user to view the position relationship between the current sliding operation and the detection track, after the detection track is determined, the detection track may be displayed on the terminal display screen, so that the user can clearly view the detection track to continue the sliding operation.
103. And determining the touch time corresponding to each target touch point in the sliding process.
The touch time can be defined in step 102, which has already been described in step 102, and is not described herein again.
Since the target touch point is extracted from the candidate touch points, the touch time corresponding to the target touch point is also the touch time of the candidate touch point corresponding to the target touch point.
104. And calculating the sliding speed of the sliding operation between different target touch points according to the position information of each target touch point and the corresponding touch time to obtain a sliding speed set.
The position information refers to coordinates of the target touch point, for example, the coordinates of the target touch point may be (x, y).
In this embodiment of the application, the sliding speed of the sliding operation between different target touch points may include a sliding speed between every two target touch points, and preferably, the two target touch points may be two adjacent target touch points whose touch times are close to each other, and of course, the two target touch points may also be two target touch points determined according to other rules, which is not limited herein.
In some embodiments, in order to quickly calculate the sliding speed set, the step "calculating the sliding speed of the sliding operation between different target touch points according to the position information of each target touch point and the corresponding touch time" may include the following operations:
determining a plurality of touch point sets from the target touch points according to the touch time of the target touch points;
calculating the difference value of the touch time of the two target touch points in each touch point set to obtain the touch time difference of the two target touch points;
determining the touch distance of two target touch points according to the touch positions of the two target touch points in each touch point set;
and calculating the ratio of the touch distance to the touch time difference to obtain the sliding speed of the touch operation between two target touch points in each touch point set.
The touch point set comprises two target touch points with adjacent touch time, namely a target touch point pair.
For example, the target touch point may include: the touch point a, the touch point B, the touch point C and the touch point D, and the detoxifying is performed on the plurality of target touch points according to the touch time of each target touch point, so that the obtained sequencing sequence of the target touch points can be as follows: touch point a, touch point B, touch point C, and touch point D, it may be determined that the touch point pair includes: and a touch point A and a touch point B, a touch point B and a touch point C, and a touch point C and a touch point D are obtained, namely three target touch point sets are obtained.
After the touch point sets are determined, the difference between the touch times of the two target touch points in each touch point set can be calculated to obtain the touch time difference of the two target touch points.
For example, the touch point set includes a touch point a and a touch point B, where the touch time corresponding to the touch point a may be 15 hours, 6 minutes and 0 seconds, and the touch time corresponding to the touch point B may be 15 hours, 6 minutes and 3 seconds. The touch time difference of the touch time of the touch point a and the touch time of the touch point B can be calculated to be 3 seconds.
The touch distance refers to a length value between two target touch points in the same touch point set, and can be obtained by calculating coordinates of the two target touch points.
Specifically, the coordinates of the touch point a are (x1, y1), the coordinates of the touch point B are (x2, y2), and the touch distance AB between the touch point a and the touch point B can be calculated according to a calculation formula for calculating the distance between two points. The following were used:
Figure BDA0002794618770000131
for example, the coordinates of the touch point a are (1, 1), the coordinates of the touch point B are (2, 2), and then the coordinates of the two points are calculated by being substituted into the above calculation formula of the calculated distance, so that the touch distance AB between the touch point a and the touch point B is 1.4 cm.
After determining the touch time difference and the touch distance of the two target touch points, the velocity calculation formula may be: v ═ S/T, where V denotes speed, S denotes distance, and T denotes time.
For example, if the touch time difference T of two target touch points may be 3 seconds and the touch distance S may be 1.4 centimeters, then according to the velocity calculation formula: the velocity V can be calculated to be 0.47 cm per second. And sequentially, respectively calculating the sliding speed between the two target touch points in each touch point set, namely obtaining a plurality of sliding speeds, namely a sliding speed set.
105. And determining unlocking information based on the sliding speed set, and executing unlocking operation according to the unlocking information.
The unlocking information refers to an unlocking password composed of a plurality of identifiers, the identifiers refer to numbers, letters, symbols, or the like, and for example, the identifiers may be: 1, 2, a, etc. Then, the unlock code may be: 12Aa, and the like.
In some embodiments, to improve the unlocking efficiency, the step "determining unlocking information based on the sliding speed set" may include the following operations:
determining the number of sliding speeds in the sliding speed set;
if the number is larger than or equal to the preset number, determining the time corresponding to each sliding speed in the sliding speed set;
extracting the sliding speeds of the preset number from the sliding speed set according to the time corresponding to each sliding speed;
determining a sample identifier corresponding to each sliding speed from a preset identifier set to obtain a plurality of unlocking identifiers;
the unlocking information is determined based on the plurality of unlocking identifications.
The number of the sliding speeds is also the number of the sliding speeds in the sliding set.
For example, the sliding speed set may include: first slip velocity, second slip velocity, third slip velocity, then the number of slip velocities in the slip velocity set may be determined to be 3.
The preset number may refer to the number of identifiers in the successful unlocking information set by the user, for example, the successful unlocking information set by the user may be: 12Aa, the preset number may be determined to be 4.
The time corresponding to the sliding speed refers to the touch time of the first target touch point or the second target touch point of the two target touch points for calculating the sliding speed.
When the user starts the sliding operation process, there may be a misoperation, which may be sliding the touch screen lightly, and the sliding speed corresponding to the sliding operation at this time may be an invalid sliding speed. Then, the plurality of sliding speeds in the sliding speed set may be sorted based on the time corresponding to each sliding speed, resulting in a sliding speed sorting sequence.
Furthermore, a preset number of sliding speeds can be sequentially obtained from the sliding speed sequencing sequence to ensure that effective sliding speeds are extracted,
after determining the sliding speed sequence, the sliding speeds may be sequentially extracted from the sliding speed sequence until the number of the extracted sliding speeds satisfies a preset number. The effective slip speed can be obtained from the slip speed set.
For example, the preset number may be 4, and the sliding speed sequence is: the second sliding speed, the fifth sliding speed, the fourth sliding speed, the first sliding speed and the third sliding speed are extracted from the sliding speed sequence in sequence, and the preset number of sliding speeds can be obtained: second slip speed, fifth slip speed, fourth slip speed, first slip speed.
The preset identifier set comprises a plurality of sample identifiers and a sample speed interval corresponding to each sample identifier.
For example, the plurality of sample identifiers included in the preset identifier set are: 1. 2, A, B, etc., wherein the sample speed interval corresponding to the sample identifier 1 may be 0-1 cm/s, the sample speed interval corresponding to the sample identifier 2 may be 1.1-2 cm/s, the sample speed interval corresponding to the sample identifier a may be 2.1-3 cm/s, and the sample speed interval corresponding to the sample identifier B may be 3.1-4 cm/s.
And the unlocking identifier is also a sample identifier corresponding to the sliding speed. For example, if the sliding speed may be 1 centimeter per second, the sample identifier corresponding to the sliding speed may be searched from the preset identifier set, and if the sliding speed is 1, the unlocking identifier of the sliding speed is 1. Therefore, a plurality of unlocking marks can be obtained according to the sample mark corresponding to each sliding speed, and the unlocking password is obtained.
In some embodiments, after the step "determining the number of the sliding speeds in the sliding speed set", the following steps may be further included:
and if the number does not meet the preset number, generating prompt information, wherein the prompt information is used for prompting a user that the current sliding operation does not meet the unlocking condition and requesting to operate again.
When the number of the sliding speeds in the sliding speed set does not meet the preset number, that is, the condition of successful unlocking is not met, at this time, the terminal can generate prompt information, the prompt content of the prompt information can be that the current operation does not meet the unlocking condition, please operate again, and the like, and the prompt information is displayed on the display screen, so that the user can see the prompt information in time, the next sliding unlocking is quickly executed, and the time of the user is saved.
After the unlocking information is obtained according to the sliding speed, the unlocking information can be compared with the successful unlocking information, and if the unlocking information is the same as the successful unlocking information, the unlocking is successful.
For example, the unlocking information may be 123B, and the successful unlocking information may be 123B, and it may be determined that the unlocking information is the same as the successful unlocking information, and the unlocking is successfully completed. The user can use the terminal to complete corresponding tasks.
The embodiment of the application discloses a touch screen unlocking method, which comprises the following steps: when the sliding operation on the terminal touch screen in the screen locking state is detected, determining a sliding track corresponding to the sliding operation, wherein the sliding track comprises a plurality of touch points, determining a target touch point from the plurality of touch points based on the position information of each touch point, determining the touch time corresponding to each target touch point in the sliding process, and calculating the sliding speed of the sliding operation between different target touch points according to the position information of each target touch point and the corresponding touch time to obtain a sliding speed set; and determining unlocking information based on the sliding speed set, and executing unlocking operation according to the unlocking information. According to the method and the device, the detection track is arranged on the terminal touch screen in advance, the sliding track of the sliding operation of the terminal touch screen in the screen locking state is obtained, the intersection points of the sliding track and the detection track are determined according to the position of the sliding track and the position of the detection track, then the sliding speed is calculated according to the position of each intersection point and the corresponding touch time, the unlocking information is obtained according to the sliding speed, and the unlocking operation is executed based on the unlocking information, so that the unlocking safety of the touch screen of the terminal can be improved.
Referring to fig. 5, fig. 5 is a schematic flowchart of another touch screen unlocking method provided in the embodiment of the present application. The specific scene application of the touch screen unlocking method can be as follows:
201. when the terminal detects the sliding operation of a user on the terminal touch screen in the screen locking state, a sliding track corresponding to the sliding operation is obtained.
In the embodiment of the application, the application scenario may be that the user performs an unlocking operation on the terminal touch screen, and then the terminal touch screen may be in a screen locking state before the user performs a sliding operation.
When the terminal is in a screen locking state, if the sliding operation of a user on the touch screen is detected, the default is that the user needs to perform unlocking operation, and an unlocking module of the touch screen of the terminal can be started to start working.
The sliding track refers to a pattern corresponding to a sliding operation of a user, that is, a track pattern formed on a terminal touch screen by the user in the sliding operation process.
Fig. 6 is a schematic diagram of a sliding track according to an embodiment of the present application. The terminal touch screen is shown in fig. 6, and the sliding track on the terminal touch screen may be a sliding track formed according to a user sliding operation.
202. The terminal obtains a plurality of intersection points of the sliding track and the preset detection track.
The preset detection track refers to a track pattern which is preset on a terminal touch screen, for example, the preset detection track may be two straight lines.
Wherein, the intersection point refers to an intersection point of the sliding track and the preset detection track.
Referring to fig. 7, fig. 7 is a schematic diagram illustrating intersection of a sliding track and a preset detection track according to an embodiment of the present application. In fig. 7, it is shown that the sliding track of the user sliding operation intersects with the preset detection track of the terminal touch screen, and a plurality of intersection points may be determined based on the intersection portion of the sliding track and the preset detection track, for example, 10 intersection points may be included.
For example, in fig. 7, from left to right, the following may be sequentially performed: intersection 1, intersection 2, intersection 3, intersection 4, intersection 5, and intersection 6.
203. And the terminal determines the position information of each intersection point and the corresponding intersection time.
The position information refers to a position of the intersection point on the terminal touch screen, and may be represented in a coordinate axis manner, which may specifically refer to the above embodiments, and is not described in detail in this embodiment.
For example, in fig. 7, the position of the intersection 1 may be (2,2.5), the position of the intersection 2 may be (2,2.3), the position of the intersection 3 may be (3,2.4), the position of the intersection 4 may be (3,2.2), the position of the intersection 5 may be (8,2), and the position of the intersection 6 may be (8, 1.8).
The intersection time refers to the moment when the user slides to intersect with the preset detection track in the sliding operation process to obtain the intersection point of the sliding track and the preset detection track.
For example, in fig. 7, the user sliding operation may be to slide the touch screen from the left in sequence to obtain an intersection point of the sliding track and the preset detection track: intersection point 1, intersection point 2, intersection point 3, intersection point 4, intersection point 5 and intersection point 6, wherein the intersection time corresponding to intersection point 1 may be 18 hours, 1 minute and 1 second, the intersection time corresponding to intersection point 2 may be 18 hours, 1 minute and 2 seconds, the intersection time corresponding to intersection point 3 may be 18 hours, 1 minute and 4 seconds, the intersection time corresponding to intersection point 4 may be 18 hours, 1 minute and 5 seconds, the intersection time corresponding to intersection point 5 may be 18 hours, 1 minute and 6 seconds, and the intersection time corresponding to intersection point 6 may be 18 hours, 1 minute and 7 seconds.
204. And the terminal calculates the sliding speed of the sliding operation between every two intersection points according to the position information of each intersection point and the corresponding intersection time to obtain a plurality of sliding speeds.
Wherein, calculating the sliding speed of the sliding operation between every two intersection points may mean calculating the sliding speed of the sliding operation between every two adjacent intersection points.
For example, the intersection points are sorted according to the chronological order, and the obtained sorting sequence may be: intersection 1, intersection 2, intersection 3, intersection 4, intersection 5, and intersection 6, the sliding speed between intersection 1 and intersection 2, intersection 2 and intersection 3, intersection 3 and intersection 4, intersection 4 and intersection 5, and intersection 5 and intersection 6 needs to be calculated.
Specifically, the sliding speed between two intersection points can be calculated according to a plurality of calculation formulas in the above embodiment: the first calculation formula of the distance:
Figure BDA0002794618770000181
and a calculation formula of the second calculation speed: and V is S/T. By substituting the position of each intersection point and the corresponding intersection time into the above formula to calculate, a plurality of sliding speeds can be obtained as follows: 0.2 cm per second, 0.5 cm per second, 0.2 cm per second, 202 cm per second, 0.2 cm per second.
205. And the terminal determines the unlocking code corresponding to each sliding speed from the preset unlocking code set to obtain a plurality of unlocking codes.
The unlocking code may be a logo, i.e. a number, a letter, or a character. For example, the identification may be 1, A, etc.
The preset unlocking code set refers to a corresponding relation between a speed stored in the terminal in advance and an unlocking code.
For example, the speed may be divided into different ranges, each corresponding to an unlocking code, as follows:
when V is more than or equal to 0 and less than d1, the unlocking code is '2';
when d1 is less than or equal to V < d2, the unlocking code is 'e';
when d2 is less than or equal to V < d3, the unlocking code is '6';
when d3 is less than or equal to V, the unlocking code is 'A', wherein V represents speed, and d1, d2 and d3 are different speed values and can be set according to actual conditions.
For example, the plurality of slip speeds may include: the unlocking method comprises the following steps of (1) determining a first sliding speed, a second sliding speed and a third sliding speed, wherein the unlocking code corresponding to the first sliding speed is '2' if the first sliding speed is within the interval of 0-d 1; if the second sliding speed is within the interval of 0 to d1, the unlocking code corresponding to the first sliding speed can be determined to be "2", and if the third sliding speed is within the interval of d1 to d2, the unlocking code corresponding to the first sliding speed can be determined to be "e", and a plurality of unlocking codes can be obtained as follows: "2" "2" "e".
206. And the terminal sequences the unlocking codes to obtain an unlocking code sequence, and matches the unlocking code sequence with a preset unlocking code sequence.
The terminal sequences the unlocking codes according to the time of the sliding speed corresponding to each unlocking code. And calculating the intersection time corresponding to any one of two intersection points of the sliding speed by the time of the sliding speed corresponding to each unlocking code. And sequencing the unlocking codes according to the sequence of the time corresponding to the sliding speed, so as to obtain an unlocking code sequence.
For example, the set of unlock codes includes: "2", "2" and "e", the time corresponding to each unlock code may be 18 hours, 1 minute and 2 seconds, 18 hours, 1 minute and 5 seconds, 18 hours, 1 minute and 6 seconds, respectively, then the unlock codes may be sorted according to the time sequence, and the obtained unlock code sequence is: 22e are provided.
207. And if the unlocking code is successfully matched with the preset unlocking code, executing the successful unlocking operation.
Since the terminal user presets the successful unlocking code sequence, after the unlocking code sequence corresponding to the current sliding operation is determined, the unlocking code sequence can be matched with the preset unlocking code sequence, if the matching is successful, the unlocking is successful, if the matching is failed, the unlocking operation is failed, prompt information can be generated, the content of the prompt information can be 'password error, please re-input', and the like, so as to prompt the user to re-operate.
The embodiment of the application discloses a touch screen unlocking method, which comprises the following steps: when the terminal detects the sliding operation of a user on the terminal touch screen in a screen locking state, a sliding track corresponding to the sliding operation is obtained, a plurality of intersection points of the sliding track and a preset detection track are obtained, the position information and the corresponding intersection time of each intersection point are determined, the sliding speed of the sliding operation between every two intersection points is calculated according to the position information and the corresponding intersection time of each intersection point, a plurality of sliding speeds are obtained, an unlocking code corresponding to each sliding speed is determined from a preset unlocking code set, a plurality of unlocking codes are obtained, the plurality of unlocking codes are sequenced to obtain an unlocking code sequence, the unlocking code sequence is matched with the preset unlocking code sequence by the terminal, and if the unlocking code is successfully matched with the preset unlocking code, the successful unlocking operation is executed. By the aid of the mode, unlocking safety can be better improved, and meanwhile diversified experience is brought to unlocking operation of a user.
In order to better implement the touch screen unlocking method provided by the embodiment of the application, the embodiment of the application also provides a device based on the touch screen unlocking method. The meaning of the noun is the same as that in the above-mentioned touch screen unlocking method, and specific implementation details can refer to the description in the method embodiment.
Referring to fig. 8, fig. 8 is a block diagram of a touch screen unlocking device according to an embodiment of the present disclosure, where the touch screen unlocking device can be applied to a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palm computer, a Portable Media Player (PMP), and a fixed terminal such as a desktop computer, and the device includes:
the detection unit 301 is configured to, when a sliding operation on a terminal touch screen in a screen lock state is detected, determine a sliding track corresponding to the sliding operation, where the sliding track includes a plurality of touch points;
a first determining unit 302, configured to determine a target touch point from the plurality of touch points based on the position information of each touch point;
a second determining unit 303, configured to determine a touch time corresponding to each target touch point in the sliding process;
a first calculating unit 304, configured to calculate, according to the position information of each target touch point and corresponding touch time, a sliding speed of the sliding operation between different target touch points, so as to obtain a sliding speed set;
an executing unit 305, configured to determine unlocking information based on the sliding speed set, and execute an unlocking operation according to the unlocking information.
In some embodiments, the first determining unit 302 may include:
the matching subunit is used for matching the position information of each touch point with the position information of the plurality of detection tracks;
the first determining subunit is used for determining candidate touch points based on the touch points with the position information successfully matched with the position information of the detection track if the position information of the touch points is successfully matched with the position information of the detection track;
and the second determining subunit is used for determining the target detection track corresponding to each candidate touch point and determining the target touch point from the candidate touch points according to the target detection track corresponding to each candidate touch point and the corresponding touch time.
In some embodiments, the second determining subunit may be specifically configured to:
sorting the candidate touch points based on the touch time corresponding to each candidate touch point to obtain a candidate touch point sequence;
and if the target detection tracks corresponding to the continuous candidate touch points in the candidate touch point sequence are the same, determining the candidate touch point with the touch time closest to the current time from the continuous candidate touch points to obtain the target touch point.
In some embodiments, the first determining unit 302 may further include:
a third determining subunit, configured to determine, according to the sliding operation, contact position information with the terminal;
and the fourth determining subunit is configured to determine, from the plurality of sample tracks, a sample track whose position information corresponds to the contact position information, and obtain the detection track.
In some embodiments, the execution unit 305 may include:
a fifth determining subunit, configured to determine the number of sliding speeds in the sliding speed set;
a sixth determining subunit, configured to determine, if the number is greater than or equal to a preset number, a time corresponding to each sliding speed in the sliding speed set;
an extracting subunit, configured to extract the preset number of sliding speeds from the sliding speed set according to a time corresponding to each sliding speed
A seventh determining subunit, configured to determine, from a preset identifier set, a sample identifier corresponding to each sliding speed to obtain multiple unlocking identifiers, where the preset identifier set includes multiple sample identifiers and a sample speed interval corresponding to each sample identifier;
an eighth determining subunit, configured to determine the unlocking information based on the plurality of unlocking identifiers.
In some embodiments, the first calculation unit 304 may include:
the ninth determining subunit is configured to determine, according to the touch time of the target touch point, a plurality of touch point sets from the target touch points, where each touch point set includes two target touch points whose touch times are adjacent to each other;
the first calculating subunit is used for calculating the difference value of the touch time of the two target touch points in each touch point set to obtain the touch time difference of the two target touch points;
the tenth determining subunit is configured to determine, according to the touch positions of the two target touch points in each touch point set, touch distances of the two target touch points;
and the second calculating subunit is used for calculating the ratio of the touch distance to the touch time difference to obtain the sliding speed of the touch operation between the two target touch points in each touch point set.
In some embodiments, the apparatus may further comprise:
the operation unit is used for detecting the average sliding speed of the sliding operation within a preset time period every other preset time period in the sliding operation process;
a third determining unit, configured to determine a target vibration frequency according to the average sliding speed;
and the triggering unit is used for triggering the vibration device to vibrate based on the target vibration frequency.
The embodiment of the application discloses touch-sensitive screen unlocking device, this touch-sensitive screen unlocking device includes: when the detection unit 301 detects a sliding operation on the terminal touch screen in a screen lock state, a sliding track corresponding to the sliding operation is determined, the first determination unit 302 determines a target touch point from a plurality of touch points based on position information of each touch point, the second determination unit 303 determines a touch time corresponding to each target touch point in a sliding process, the first calculation unit 304 calculates sliding speeds of the sliding operation between different target touch points according to the position information of each target touch point and the corresponding touch time to obtain a sliding speed set, the execution unit 305 determines unlocking information based on the sliding speed set and executes the unlocking operation according to the unlocking information, and therefore safety of unlocking the touch screen of the terminal can be improved.
The embodiment of the application also provides a terminal. As shown in fig. 9, the terminal may include a Radio Frequency (RF) circuit 601, a memory 602 including one or more storage media, an input unit 603, a display unit 604, a sensor 605, an audio circuit 606, a Wireless Fidelity (WiFi) module 607, a processor 608 including one or more processing cores, and a power supply 609. Those skilled in the art will appreciate that the terminal structure shown in fig. 9 does not constitute a limitation of the terminal, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the RF circuit 601 may be used for receiving and transmitting signals during the process of transmitting and receiving information, and in particular, for processing the received downlink information of the base station by one or more processors 608; in addition, data relating to uplink is transmitted to the base station. In general, the RF circuit 601 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 601 may also communicate with networks and other devices via wireless communications.
The memory 602 may be used to store software programs and modules, and the processor 608 executes various functional applications and touch screen unlocking by running the software programs and modules stored in the memory 602. The memory 602 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 for at least one function (such as a sound playing function, an image playing function, etc.), and the like. Further, the memory 602 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. Accordingly, the memory 602 may also include a memory controller to provide the processor 608 and the input unit 603 access to the memory 602.
The input unit 603 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, in one particular embodiment, input unit 603 may include a touch-sensitive surface as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations by a user (e.g., operations by a user on or near the touch-sensitive surface using a finger, a stylus, or any other suitable object or attachment) thereon or nearby, and drive the corresponding connection device according to a predetermined program. The input unit 603 may include other input devices in addition to the touch-sensitive surface. In particular, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 604 may be used to display information input by or provided to the user and various graphical user interfaces of the server, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 604 may include a Display panel, and optionally, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay the display panel, and when a touch operation is detected on or near the touch-sensitive surface, the touch operation is transmitted to the processor 608 to determine the type of touch event, and the processor 608 then provides a corresponding visual output on the display panel according to the type of touch event. Although in FIG. 9 the touch sensitive surface and the display panel are two separate components to implement input and output functions, in some embodiments the touch sensitive surface may be integrated with the display panel to implement input and output functions.
The terminal may also include at least one sensor 605, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel according to the brightness of ambient light, and a proximity sensor that turns off the display panel and the backlight when the server moves to the ear.
Audio circuitry 606, speakers, and microphones may provide an audio interface between the user and the server. The audio circuit 606 may transmit the electrical signal converted from the received audio data to a speaker, and convert the electrical signal into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 606 and converted into audio data, which is then processed by the audio data output processor 608, and then passed through the RF circuit 601 to be sent to, for example, a terminal, or the audio data is output to the memory 602 for further processing. The audio circuitry 606 may also include an ear-bud jack to provide communication of peripheral headphones with the server.
WiFi belongs to short-distance wireless transmission technology, and the terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 607, and provides wireless broadband internet access for the user. Although fig. 9 shows the WiFi module 607, it is understood that it does not belong to the essential constitution of the terminal, and may be omitted entirely as needed within the scope of not changing the essence of the application.
The processor 608 is a control center of the terminal, connects various parts of the entire handset using various interfaces and lines, and performs various functions of the server and processes data by operating or executing software programs and modules stored in the memory 602 and calling data stored in the memory 602, thereby performing overall monitoring of the handset. Optionally, processor 608 may include one or more processing cores; preferably, the processor 608 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 608.
The terminal also includes a power supply 609 (e.g., a battery) for powering the various components, which may preferably be logically connected to the processor 608 via a power management system that may be used to manage charging, discharging, and power consumption. The power supply 609 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Specifically, in this embodiment, the processor 608 in the terminal loads the executable file corresponding to the process of one or more application programs into the memory 602 according to the following instructions, and the processor 608 runs the application programs stored in the memory 602, thereby implementing various functions:
when the sliding operation on the terminal touch screen in the screen locking state is detected, determining a sliding track corresponding to the sliding operation, wherein the sliding track comprises a plurality of touch points;
determining a target touch point from the plurality of touch points based on the position information of each touch point;
determining the touch time corresponding to each target touch point in the sliding process;
calculating the sliding speed of the sliding operation between different target touch points according to the position information of each target touch point and the corresponding touch time to obtain a sliding speed set;
and determining unlocking information based on the sliding speed set, and executing unlocking operation according to the unlocking information.
The embodiment of the application discloses a touch screen unlocking method and device, a storage medium and a terminal. The touch screen unlocking method comprises the following steps: when the sliding operation on the terminal touch screen in the screen locking state is detected, determining a sliding track corresponding to the sliding operation, wherein the sliding track comprises a plurality of touch points, determining a target touch point from the plurality of touch points based on the position information of each touch point, determining the touch time corresponding to each target touch point in the sliding process, and calculating the sliding speed of the sliding operation between different target touch points according to the position information of each target touch point and the corresponding touch time to obtain a sliding speed set; and determining unlocking information based on the sliding speed set, and executing unlocking operation according to the unlocking information. According to the method and the device, the sliding speed of the sliding operation on the terminal touch screen in the screen locking state is obtained, the unlocking information is generated according to the sliding speed, the unlocking operation is executed based on the unlocking information, and the unlocking safety of the touch screen of the terminal can be improved.
It will be understood by those skilled in the art that all or part of the steps in the methods of the above embodiments may be performed by instructions or by instructions controlling associated hardware, which may be stored in a storage medium and loaded and executed by a processor.
To this end, the present application provides a storage medium, in which a plurality of instructions are stored, where the instructions can be loaded by a processor to execute the steps in any one of the touch screen unlocking methods provided in the present application. For example, the instructions may perform the steps of:
when the sliding operation on the terminal touch screen in the screen locking state is detected, determining a sliding track corresponding to the sliding operation, wherein the sliding track comprises a plurality of touch points, determining a target touch point from the plurality of touch points based on the position information of each touch point, determining the touch time corresponding to each target touch point in the sliding process, and calculating the sliding speed of the sliding operation between different target touch points according to the position information of each target touch point and the corresponding touch time to obtain a sliding speed set; and determining unlocking information based on the sliding speed set, and executing unlocking operation according to the unlocking information.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium may execute the steps in any one of the touch screen unlocking methods provided in the embodiments of the present application, beneficial effects that can be achieved by any one of the touch screen unlocking methods provided in the embodiments of the present application may be achieved, which are detailed in the foregoing embodiments and will not be described herein again.
The touch screen unlocking method, the touch screen unlocking device, the storage medium and the terminal provided by the embodiment of the application are described in detail, a specific example is applied in the description to explain the principle and the implementation mode of the application, and the description of the embodiment is only used for helping to understand the method and the core idea of the application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A touch screen unlocking method is applied to a terminal, and is characterized by comprising the following steps:
when the sliding operation of the terminal touch screen in the screen locking state is detected, determining a sliding track corresponding to the sliding operation, wherein the sliding track comprises a plurality of touch points;
determining a target touch point from the plurality of touch points based on the position information of each touch point;
determining the touch time corresponding to each target touch point in the sliding process;
calculating the sliding speed of the sliding operation between different target touch points according to the position information of each target touch point and the corresponding touch time to obtain a sliding speed set;
and determining unlocking information based on the sliding speed set, and executing unlocking operation according to the unlocking information.
2. The method of claim 1, wherein determining a target touch point from the plurality of touch points based on the position information of each touch point comprises:
matching the position information of each touch point with the position information of a plurality of detection tracks;
if the position information of the touch point is successfully matched with the position information of the detection track, determining a candidate touch point based on the touch point of which the position information is successfully matched with the position information of the detection track;
and determining a target detection track corresponding to each candidate touch point, and determining a target touch point from the candidate touch points according to the target detection track corresponding to each candidate touch point and the corresponding touch time.
3. The method of claim 2, wherein determining the target touch point from the candidate touch points according to the target detection track corresponding to each candidate touch point and the corresponding touch time comprises:
sorting the candidate touch points based on the touch time corresponding to each candidate touch point to obtain a candidate touch point sequence;
and if the target detection tracks corresponding to the continuous candidate touch points in the candidate touch point sequence are the same, determining the candidate touch point with the touch time closest to the current time from the continuous candidate touch points to obtain the target touch point.
4. The method of claim 2, further comprising, prior to matching the location information of each touch point with the location information of the plurality of detected traces:
determining contact position information with the terminal according to the sliding operation;
and determining a sample track with position information according with the contact position information from a plurality of sample tracks to obtain the detection track.
5. The method of claim 1, wherein determining unlocking information based on the set of swipe speeds comprises:
determining a number of slip speeds in the set of slip speeds;
if the number is larger than or equal to a preset number, determining the time corresponding to each sliding speed in the sliding speed set;
extracting the sliding speeds of the preset number from the sliding speed set according to the time corresponding to each sliding speed;
determining a sample identifier corresponding to each sliding speed from a preset identifier set to obtain a plurality of unlocking identifiers, wherein the preset identifier set comprises a plurality of sample identifiers and a sample speed interval corresponding to each sample identifier;
determining the unlocking information based on the plurality of unlocking identifications.
6. The method according to claim 1, wherein calculating the sliding speed of the sliding operation between different target touch points according to the position information of each target touch point and the corresponding touch time to obtain a sliding speed set comprises:
determining a plurality of touch point sets from the target touch points according to the touch time of the target touch points, wherein the touch point sets comprise two target touch points with adjacent touch time;
calculating the difference value of the touch time of the two target touch points in each touch point set to obtain the touch time difference of the two target touch points;
determining the touch distance of two target touch points according to the touch positions of the two target touch points in each touch point set;
and calculating the ratio of the touch distance to the touch time difference to obtain the sliding speed of the touch operation between two target touch points in each touch point set.
7. The method of any of claims 1 to 6, further comprising:
detecting the average sliding speed of the sliding operation in a preset time period every other preset time period in the sliding operation process;
determining a target vibration frequency according to the average sliding speed;
and triggering the vibration device to vibrate based on the target vibration frequency.
8. A touch screen unlocking device, comprising:
the terminal comprises a detection unit, a display unit and a control unit, wherein the detection unit is used for determining a sliding track corresponding to a sliding operation when the sliding operation on a terminal touch screen in a screen locking state is detected, and the sliding track comprises a plurality of touch points;
a first determination unit configured to determine a target touch point from the plurality of touch points based on position information of each touch point;
the second determining unit is used for determining the touch time corresponding to each target touch point in the sliding process;
the first calculating unit is used for calculating the sliding speed of the sliding operation between different target touch points according to the position information of each target touch point and the corresponding touch time to obtain a sliding speed set;
and the execution unit is used for determining unlocking information based on the sliding speed set and executing unlocking operation according to the unlocking information.
9. A storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the steps of the touch screen unlocking method according to any one of claims 1 to 7.
10. A terminal comprising a processor and a memory, the memory storing a plurality of instructions, the processor loading the instructions to perform the steps of the touch screen unlocking method according to any one of claims 1 to 7.
CN202011327046.6A 2020-11-24 Touch screen unlocking method and device, storage medium and terminal Active CN112380521B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011327046.6A CN112380521B (en) 2020-11-24 Touch screen unlocking method and device, storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011327046.6A CN112380521B (en) 2020-11-24 Touch screen unlocking method and device, storage medium and terminal

Publications (2)

Publication Number Publication Date
CN112380521A true CN112380521A (en) 2021-02-19
CN112380521B CN112380521B (en) 2024-07-09

Family

ID=

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609199A (en) * 2012-02-03 2012-07-25 广东欧珀移动通信有限公司 Man-machine interaction method for touch screen mobile phone at lock screen state
CN103135928A (en) * 2013-01-30 2013-06-05 广东欧珀移动通信有限公司 Touch terminal interesting unlocking method
CN103164132A (en) * 2011-12-14 2013-06-19 中兴通讯股份有限公司 Portable electronic terminal, unlocking method and device thereof
CN104850773A (en) * 2015-05-14 2015-08-19 西安交通大学 User identity authentication method for intelligent mobile terminal
CN105407208A (en) * 2014-09-12 2016-03-16 昆山研达电脑科技有限公司 Method for unlocking mobile terminal
CN105589643A (en) * 2015-12-18 2016-05-18 努比亚技术有限公司 Mobile terminal unlocking method and mobile terminal
CN106055962A (en) * 2016-06-07 2016-10-26 广东欧珀移动通信有限公司 Unlocking control method and mobile terminal
CN106599639A (en) * 2016-11-17 2017-04-26 努比亚技术有限公司 Terminal screen unlocking apparatus and method
US20170277881A1 (en) * 2014-09-05 2017-09-28 Conew Network Technology (Beijing) Co., Ltd. Method and system for improving security of a mobile terminal
WO2017198092A1 (en) * 2016-05-19 2017-11-23 华为技术有限公司 Touch feedback method and apparatus, and terminal
CN109284052A (en) * 2018-08-27 2019-01-29 Tcl移动通信科技(宁波)有限公司 A kind of the quick release method, apparatus and computer equipment of mobile terminal touch screen
CN109614787A (en) * 2018-12-04 2019-04-12 惠州Tcl移动通信有限公司 Solve lock control method, device, mobile terminal and storage medium
CN109697341A (en) * 2018-12-21 2019-04-30 努比亚技术有限公司 A kind of unlocking method, terminal and computer readable storage medium

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103164132A (en) * 2011-12-14 2013-06-19 中兴通讯股份有限公司 Portable electronic terminal, unlocking method and device thereof
CN102609199A (en) * 2012-02-03 2012-07-25 广东欧珀移动通信有限公司 Man-machine interaction method for touch screen mobile phone at lock screen state
CN103135928A (en) * 2013-01-30 2013-06-05 广东欧珀移动通信有限公司 Touch terminal interesting unlocking method
US20170277881A1 (en) * 2014-09-05 2017-09-28 Conew Network Technology (Beijing) Co., Ltd. Method and system for improving security of a mobile terminal
CN105407208A (en) * 2014-09-12 2016-03-16 昆山研达电脑科技有限公司 Method for unlocking mobile terminal
CN104850773A (en) * 2015-05-14 2015-08-19 西安交通大学 User identity authentication method for intelligent mobile terminal
CN105589643A (en) * 2015-12-18 2016-05-18 努比亚技术有限公司 Mobile terminal unlocking method and mobile terminal
WO2017198092A1 (en) * 2016-05-19 2017-11-23 华为技术有限公司 Touch feedback method and apparatus, and terminal
CN107403087A (en) * 2016-05-19 2017-11-28 华为终端(东莞)有限公司 Touch feedback method, device and terminal
CN106055962A (en) * 2016-06-07 2016-10-26 广东欧珀移动通信有限公司 Unlocking control method and mobile terminal
CN106599639A (en) * 2016-11-17 2017-04-26 努比亚技术有限公司 Terminal screen unlocking apparatus and method
CN109284052A (en) * 2018-08-27 2019-01-29 Tcl移动通信科技(宁波)有限公司 A kind of the quick release method, apparatus and computer equipment of mobile terminal touch screen
CN109614787A (en) * 2018-12-04 2019-04-12 惠州Tcl移动通信有限公司 Solve lock control method, device, mobile terminal and storage medium
CN109697341A (en) * 2018-12-21 2019-04-30 努比亚技术有限公司 A kind of unlocking method, terminal and computer readable storage medium

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
ARMAN BOEHM等: "SAFE: Secure authentication with Face and Eyes", 《2013 INTERNATIONAL CONFERENCE ON PRIVACY AND SECURITY IN MOBILE SYSTEMS (PRISMS)》, 20 October 2014 (2014-10-20), pages 1 - 8 *
俞斌等: "基于深度学习的点云分割方法综述", 《计算机工程与应用》, vol. 56, no. 01, 31 January 2020 (2020-01-31), pages 38 - 45 *
吴单单等: "移动终端触控解锁技术专利综述", 《河南科技》, no. 03, 5 March 2017 (2017-03-05), pages 32 - 34 *
孟傲冬: "基于触摸屏解锁手势特征的用户识别研究", 《中国优秀硕士学位论文全文数据库》, 31 July 2019 (2019-07-31), pages 138 - 58 *

Similar Documents

Publication Publication Date Title
CN109062467B (en) Split screen application switching method and device, storage medium and electronic equipment
CN103984493B (en) Control method by sliding and terminal
RU2632153C2 (en) Method, device and terminal for displaying virtual keyboard
US11227042B2 (en) Screen unlocking method and apparatus, and storage medium
CN108958606B (en) Split screen display method and device, storage medium and electronic equipment
CN108763316B (en) Audio list management method and mobile terminal
CN107870674B (en) Program starting method and mobile terminal
CN110673770B (en) Message display method and terminal equipment
US20190188370A1 (en) Device control method and apparatus
CN108710806B (en) Terminal unlocking method and mobile terminal
CN110688051B (en) Screen recording operation method and device, computer readable storage medium and terminal
CN106057213B (en) A kind of method and apparatus of display voice pitch data
CN110784394A (en) Prompting method and electronic equipment
CN111596793B (en) Anti-misoperation method and system, storage medium and terminal equipment
CN112380521B (en) Touch screen unlocking method and device, storage medium and terminal
WO2016191968A1 (en) Left and right hand mode determination method and apparatus, and terminal device
CN109618234A (en) Video playing control method, device, mobile terminal and storage medium
CN112380521A (en) Touch screen unlocking method and device, storage medium and terminal
CN112367425B (en) Volume adjusting method and device and terminal
CN109831770B (en) Pairing method and device of mobile terminal, storage medium and mobile terminal
CN112380520A (en) Screen unlocking method and device, storage medium and mobile terminal
CN106657278B (en) Data transmission method and device and computer equipment
CN111898542A (en) Display screen control method and device and terminal
CN112532791B (en) Unlocking method and device of mobile terminal, storage medium and mobile terminal
CN111046215A (en) Image processing method and device, storage medium and mobile terminal

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
TA01 Transfer of patent application right

Effective date of registration: 20240612

Address after: 518000, Room 1204, Block C, Wanxia Center, Phase II, Haijie Jiayuan, No. 27, Zhaoshang East Road, Dongjiaotou Community, Shekou Street, Nanshan District, Shenzhen, Guangdong Province

Applicant after: Shenzhen Lishunhe Technology Co.,Ltd.

Country or region after: China

Address before: 516006 Zhongkai hi tech Zone, Huizhou, Guangdong, 86 Chang seven Road West

Applicant before: HUIZHOU TCL MOBILE COMMUNICATION Co.,Ltd.

Country or region before: China

GR01 Patent grant