Safety unlocking method and system based on multiple sliding tracks, terminal and computer readable storage medium
By simultaneously inputting multiple independent swipe trajectories on the terminal and performing comprehensive verification, the problems of the singleness and easy prying of existing unlocking methods are solved, realizing a highly secure dynamic unlocking gesture and improving the terminal's protection capabilities.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- NINGBO XINYUAN ELECTRONIC TECH CO LTD
- Filing Date
- 2025-12-31
- Publication Date
- 2026-04-21
AI Technical Summary
Existing terminal unlocking methods offer limited security improvements due to their simplistic approach and susceptibility to eavesdropping; existing improvement solutions have failed to effectively address the issue of the simplistic nature of the unlocking logic.
By requiring users to input multiple independent swipe trajectories simultaneously and performing comprehensive verification, including a comprehensive comparison of the number of trajectories, the amount of displacement, and the direction of displacement, complex dynamic unlocking gestures are constructed.
It significantly improves terminal security, increases the difficulty for attackers to imitate and crack it, and provides high security while maintaining a good user experience.
Smart Images

Figure CN121902121A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication terminal security technology, and in particular to a secure unlocking method, system, terminal and computer-readable storage medium based on multiple swipe trajectories. Background Technology
[0002] With the widespread adoption of smart devices, screen unlocking has become the first line of defense for protecting user privacy and data security. Common unlocking methods include passwords, patterns, and single-point or single-track swipe unlocking. However, methods such as passwords and patterns are cumbersome to input and easily observed; while single-track swipe unlocking, due to its simple trajectory, is easily observed by onlookers or cracked through traces left on the screen, and its security remains relatively low.
[0003] In implementing the embodiments of the present invention, the inventors discovered that the prior art has at least the following problems: some existing improvement solutions attempt to improve security by increasing interaction points or complexity, but none of them fundamentally change the simplicity of the unlocking logic.
[0004] Specifically, prior art document CN104463039B (Unlocking Method and Apparatus for Smart Devices) discloses a scheme for unlocking using multiple trackballs. Its core lies in displaying a predetermined number of trackballs on the lock screen and detecting the user's touch actions on each trackball, including the sliding direction, number of slides, and sliding sequence. The essence of this scheme is to verify the user's sequential operation commands on multiple "points" (trackballs), rather than verifying the multiple continuous trajectories that the user simultaneously inputs and freely moves on the screen. Its unlocking logic still relies on a series of discrete, time-sequentially arranged command combinations, and attackers could still potentially crack it by observing the operation sequence.
[0005] Another comparative document, CN108536384A (A Slide-to-Unlock Method and Terminal), involves the recognition of slide trajectories. This scheme collects a first slide trajectory and a second slide trajectory, and generates a third trajectory based on them for matching and unlocking. However, the focus of this scheme is on deriving a new verification trajectory from multiple trajectories. Its core verification object is still this derived, single trajectory feature, rather than requiring the user to simultaneously input multiple independent swipe trajectories and perform real-time, parallel comprehensive verification.
[0006] In summary, none of the existing technical solutions involve the core concept of "simultaneously inputting multiple independent swipe trajectories" and conducting comprehensive verification. This limits their improvement in security, and the user experience is not significantly different from single-trajectory unlocking, failing to fundamentally address the security risks caused by the simplicity of the unlocking method.
[0007] The embodiments of the present invention are improvements made to solve the above problems. Summary of the Invention
[0008] The purpose of this invention is to provide a secure unlocking method, system, terminal, and computer-readable storage medium based on multiple swipe trajectories. By implementing this invention, the security level of terminal unlocking is fundamentally improved by requiring the user to input multiple independent swipe trajectories simultaneously and performing comprehensive verification.
[0009] To achieve the aforementioned objective, in a first aspect, embodiments of the present invention provide a secure unlocking method based on multiple swipe trajectories, applied to a terminal, the method comprising: In response to the user's unlocking operation, at least two swipe trajectories simultaneously input on the touch screen of the aforementioned terminal are acquired. Preferably, at least two swipe operations starting within a preset time tolerance range on the aforementioned touch screen are detected, and the trajectories corresponding to the at least two swipe operations are determined as at least two swipe trajectories simultaneously input. Determine the trajectory information of at least two of the above-mentioned trajectories, wherein the trajectory information includes at least one of the number of trajectories, displacement amount, and displacement direction; Based on the above trajectory information, verify whether the above at least two trajectories meet the preset unlocking conditions. Specifically, the unlocking conditions include at least one of the following: "the number of trajectories is equal to the preset number, the displacement is within the preset displacement range, and the displacement direction matches the preset direction".
[0010] If the above preset unlocking conditions are met, the terminal will be unlocked.
[0011] In this embodiment of the invention, by requiring the user to input multiple swipe trajectories simultaneously and performing comprehensive verification, the difficulty for attackers to imitate or crack the system is greatly increased because the dynamic characteristics of multiple trajectories need to be reproduced simultaneously, thereby achieving the beneficial effect of significantly enhancing terminal security.
[0012] Secondly, embodiments of the present invention provide a secure unlocking system, including: The trajectory acquisition module is configured to acquire at least two swipe trajectories simultaneously input on the terminal's touchscreen in response to the user's unlocking operation. The information determination module is configured to determine the trajectory information of the above at least two trajectories, wherein the trajectory information includes at least one of the number of trajectories, displacement amount, and displacement direction; The verification module is configured to verify, based on the above trajectory information, whether the above at least two swipe trajectories meet the preset unlocking conditions. The unlock control module is configured to control the terminal to unlock if the verification result of the verification module meets the preset unlock conditions.
[0013] Thirdly, embodiments of the present invention provide a terminal including a touch screen, one or more processors, a memory, and one or more computer programs; wherein the one or more computer programs are stored in the memory and configured to be executed by the one or more processors, and the one or more computer programs include instructions for performing the method described in the first aspect.
[0014] Fourthly, embodiments of the present invention provide a computer-readable storage medium including a computer program that, when executed by a processor, implements the method described in the first aspect.
[0015] It should be understood that the security unlocking system provided in the second aspect of this application, the terminal provided in the third aspect, and the computer-readable storage medium provided in the fourth aspect are based on the same inventive concept as the technical solution in the first aspect of this application. Their specific implementation details and the beneficial effects they can achieve can be referred to the relevant description of the security unlocking method based on multiple swipe trajectories provided in the first aspect above, and will not be repeated here.
[0016] Furthermore, the above summary does not enumerate all the features required for embodiments of the present invention, and other combinations of these feature groups may also constitute embodiments of the present invention. Attached Figure Description
[0017] To more clearly illustrate the technical solutions in the embodiments of the present invention or the background art, the accompanying drawings used in the embodiments of the present invention or the background art will be described below.
[0018] Figure 1 This is a flowchart of a secure unlocking method provided in an embodiment of the present invention; Figure 2 This is a schematic diagram of the triggering logic of a terminal under different screen states according to an embodiment of the present invention; Figure 3 This is a structural block diagram of a security unlocking system provided in an embodiment of the present invention; Figure 4 This is a schematic diagram of the hardware structure of a terminal provided in an embodiment of the present invention. Detailed Implementation
[0019] To make the technical means, creative features, objectives and effects of the embodiments of the present invention easier to understand, the embodiments of the present invention are further described below in conjunction with the figures and specific embodiments. It should be understood that the specific embodiments described herein are merely for explaining the embodiments of the present invention and are not intended to limit the embodiments of the present invention.
[0020] To better understand the embodiments of the present invention, please refer to Figures 1 to 4 As shown, in one feasible implementation, reference is made to Figure 1The present invention provides a secure unlocking method based on multiple swipe trajectories, which mainly includes the following steps: Step S101: In response to the user's unlocking operation, acquire at least two swipe trajectories simultaneously input on the touch screen of the aforementioned terminal.
[0021] In this embodiment, "simultaneous input" can refer to the starting time points of multiple swipe operations being within a preset time tolerance window (e.g., 300 milliseconds). The aforementioned trajectory acquisition can be achieved by the touchscreen controller listening to the touch event stream and detecting movement events of multiple touch points occurring within a short period of time.
[0022] Step S102: Determine the trajectory information of the above at least two trajectories.
[0023] The trajectory information includes the number of trajectories, the displacement of each trajectory (e.g., calculated in pixels or physical length), and the displacement direction (e.g., the angle relative to the screen coordinate system). The displacement and direction can be obtained by reading the touch point coordinate sequence reported by the touchscreen controller and calculating the coordinate difference.
[0024] Step S103: Based on the above trajectory information, verify whether the above at least two swipe trajectories meet the preset unlocking conditions.
[0025] The aforementioned preset unlocking conditions may be at least one of the following: the number of trajectories equals the preset number, the displacement is within the preset displacement range, or the displacement direction matches the preset direction. To enhance unlocking security, the displacement of the first swipe trajectory may be greater than the displacement of the second swipe trajectory; and / or the displacement direction of the first swipe trajectory may be opposite to the displacement direction of the second swipe trajectory.
[0026] Preset unlock conditions can be stored in the terminal's secure area (such as TEE). The verification process is based on comparing the acquired trajectory information with the preset conditions.
[0027] Step S104: If the above-mentioned preset unlocking conditions are met, then control the above-mentioned terminal to unlock.
[0028] Once the verification is successful, the system responds to the verification success signal by calling the system unlock API to unlock the screen.
[0029] In a real-world application scenario, Example 1 (two trajectories): The user-preset unlock conditions are: both fingers swipe down simultaneously, and the displacement of the left trajectory must be greater than the displacement of the right trajectory.
[0030] When unlocking, the user, on the phone's lock screen, simultaneously touches the screen with their left index finger on the left side and their middle finger on the right side, and swipes downwards within 300 milliseconds. The system executes steps S101 and S102, acquiring the two simultaneous swipe trajectories, and calculates the displacement of trajectory 1 (left side) as 500 pixels and trajectory 2 (right side) as 300 pixels, both in the downward direction.
[0031] In step S103, the system verifies that the number of trajectories is 2, the direction of both is downward (preset direction), and the displacement of trajectory 1 (500 pixels) is greater than the displacement of trajectory 2 (300 pixels), which completely matches the preset correlation rules.
[0032] Therefore, in step S104, the system verifies the data and unlocks the phone.
[0033] In this embodiment, by introducing a comparison of the relative displacement between trajectories as a verification condition, the simple two-finger swipe gesture has asymmetrical and personalized characteristics, effectively preventing others from simply imitating it.
[0034] Example 2 (three trajectories): The user-preset unlock conditions are: three fingers swipe simultaneously, with the left and right trajectories converging towards the center (in opposite directions), the middle trajectories swiping downwards, and the displacement of the middle trajectories exceeding a preset threshold (e.g., 400 pixels).
[0035] When unlocking, the user simultaneously touches the screen with their thumb, index finger, and middle finger on the tablet's lock screen: the thumb swipes to the right from the left edge, the index finger swipes down from the center, and the middle finger swipes to the left from the right edge. The system captures these three simultaneous trajectories and determines that trajectory 1 (left) is directed to the right, trajectory 2 (middle) is directed down with a displacement of 450 pixels, and trajectory 3 (right) is directed to the left.
[0036] In step S103, the system verifies that: the number of trajectories is 3; trajectory 1 and trajectory 3 are oriented in opposite directions (i.e., converging towards the center); trajectory 2 is oriented downwards and its displacement is 450 pixels > 400 pixels (preset threshold). All conditions are met.
[0037] Therefore, the system unlocks the tablet computer in step S104.
[0038] In this embodiment, by requiring the three trajectories to satisfy a coordinated and dynamic spatial relationship in terms of direction and displacement, an extremely complex and difficult-to-observe or guess unlocking gesture is constructed, raising the security level to a level that single-trajectory or simple multi-trajectory unlocking cannot reach. At the same time, the above gesture combination fully considers ergonomics, so that the highly secure unlocking operation is still natural and smooth, with a good user experience.
[0039] Example 3 (Trajectory Starting Area Restriction) In one feasible implementation, the preset unlocking conditions also include restrictions on the starting area of the swipe trajectory.
[0040] The user-preset unlock conditions are: swiping with two fingers simultaneously, and the following conditions must be met: The starting point of trajectory A is located in the upper left quadrant (1 / 4 area) of the screen; The starting point of trajectory B is located in the lower right quadrant of the screen; Both trajectories move towards the center of the screen.
[0041] When unlocking, the user, on the phone's lock screen, simultaneously touches the screen with their index finger in the upper left area and their thumb in the lower right area, swiping towards the center within 300 milliseconds. The system executes steps S101 and S102, acquiring the two simultaneous swipe trajectories and determining: Trajectory 1 starts in the upper left quadrant; Trajectory 2 starts in the lower right quadrant; Both trajectories point towards the center of the screen.
[0042] In step S103, the system verifies that the number of trajectories is 2, the starting area meets the preset requirements, and the direction meets the preset conditions.
[0043] Therefore, in step S104, the system verifies the data and unlocks the phone.
[0044] In this embodiment, by restricting the starting area of the trajectory, the spatial complexity of the unlocking gesture is further increased. Even if an attacker observes the swipe direction, it is difficult to accurately reproduce the spatial relationship of the starting position, thereby significantly improving the ability to resist spying attacks. This verification method based on screen area division provides another important security dimension for multi-trajectory unlocking.
[0045] This setup, by introducing simultaneous verification of multiple trajectories, increases the complexity of unlocking from one-dimensional to multi-dimensional, making it difficult for attackers to observe and reproduce multiple dynamic trajectories simultaneously, thereby achieving the technical effect of raising the threshold for cracking and enhancing security.
[0046] In one feasible implementation, refer to Figure 2 The unlocking operation can be triggered in two ways: Method 1: In response to detecting that the terminal screen has been turned on from a screen-off state, the system determines that the unlocking operation has occurred. Specifically, when the terminal is in a screen-off state, the user presses the power button, and the power management module responds to this operation by supplying power to the display screen (the voltage signal changes from low level to high level). The system detects this voltage change, determines it as an unlocking operation, and prepares to receive the swipe trajectory.
[0047] Method 2: In response to the detection of touch on the touch screen when the terminal is in a state of being on and locked, the above unlocking operation is determined to have occurred. Specifically, when the terminal is in a state of being on but locked, the user directly touches the screen, and the touch screen controller detects the touch event and determines it to be an unlocking operation.
[0048] In this embodiment, by combining different states of the terminal (screen off / screen on / screen locked) to trigger the same multi-trajectory verification process, a flexible user interaction method is provided, while ensuring the consistency of the security verification mechanism in different states.
[0049] In one feasible implementation, the preset unlocking conditions can include correlation rules between trajectories. For example, it requires that the displacement of trajectory A must be greater than the displacement of trajectory B, and that the displacement direction of trajectory C must be opposite to that of trajectory A. This asymmetrical and correlated rule makes the unlocking pattern no longer a simple superposition of trajectories, but rather constitutes a complex and difficult-to-observe overall gesture.
[0050] In this embodiment, by setting correlation rules between trajectories, the overall complexity of the unlocking gesture increases in a combinatorial manner rather than simply by adding them together. This brings unexpected security enhancement effects to those skilled in the art and significantly improves the ability to resist spying attacks and brute-force attacks.
[0051] In one feasible implementation, refer to Figure 3 and Figure 4 This invention also provides a secure unlocking system and terminal. It includes a trajectory acquisition module, an information determination module, a verification module, and an unlocking control module. Specifically, the trajectory acquisition module is configured to detect at least two swipe operations starting within a preset time tolerance range on the touchscreen, and determine the trajectories corresponding to the at least two swipe operations as at least two simultaneously input swipe trajectories. The aforementioned system can run as a software program on the processor of the aforementioned terminal, and the program can be stored in a computer-readable storage medium. The aforementioned terminal includes, but is not limited to, mobile devices with touchscreens such as smartphones, tablets, and smartwatches.
[0052] In this embodiment, by software-based and modularizing the method and deploying it on general-purpose terminal hardware, this highly secure unlocking scheme can be implemented and promoted on existing devices in a low-cost and highly efficient manner, achieving good industrial application value.
[0053] It should be noted that although the term "swipe trajectory" is mentioned multiple times in the above embodiments, its protection scope is not limited to finger swipes, but may also include trajectories generated by other input tools such as styluses. The specific values, directions, and quantities in the above preset unlocking conditions can all be adjusted according to actual security needs and user experience, and these changes all fall within the protection scope of this invention.
[0054] In one feasible implementation, the present invention also provides a terminal 900, the hardware structure block diagram of which can be referred to. Figure 4 To understand this, the terminal 900 includes: a touchscreen 910, one or more processors 920, a memory 930, and one or more computer programs 940. In addition, the terminal 900 also includes a power management module 950 for managing the power status of the device, including the power supply to the screen.
[0055] The aforementioned one or more computer programs 940 are stored in the aforementioned memory 930 and configured to be executed by the aforementioned one or more processors 920. The aforementioned one or more computer programs 940 include instructions for performing the methods described in the above embodiments.
[0056] Specifically, the touchscreen 910 is used to detect and report user touch operations. It continuously collects raw touch events (such as touch point coordinates, pressure, and timestamps) and reports them to the processor 920. The processor 920 (e.g., CPU, AP, etc.) serves as the control core and is used to execute the instructions in the computer program 940, coordinate and execute all logical operations and control flows of the method steps S101 to S104, including but not limited to: responding to events reported by the touchscreen 910 through interrupt or polling; reading preset unlocking conditions from the memory 930; executing the calculation and verification logic of trajectory information; and finally generating unlocking control instructions. The memory 930 (e.g., ROM, RAM, flash memory, etc.) is used to store the computer program 940, preset unlocking conditions, and temporary data generated during processing. The power management module 950 is responsible for monitoring the power status of the terminal 900 and provides the processor 920 with screen status signals (such as voltage transition signals indicating that the screen changes from off to on). This signal serves as one of the conditions for triggering the unlocking process and is detected and responded to by the processor 920.
[0057] In this embodiment, by deploying specific software programs on the general computing architecture of the aforementioned terminal, the innovative security unlocking method is transformed into a function of a physical product. This enables a wide range of mobile devices, such as smartphones and tablets, to obtain high-level security unlocking capabilities without the need for customized special hardware, greatly enhancing the universality and commercial value of the solution.
[0058] In one feasible implementation, embodiments of the present invention also provide a computer-readable storage medium.
[0059] The medium (e.g., a USB flash drive, a portable hard drive, a read-only memory, a random access memory, a magnetic disk, or an optical disk, etc., any medium capable of storing program code) stores a computer program that, when executed by one or more processors (such as processor 920 in the terminal 900 described above), enables the processor to perform the steps of the method embodiments described above (i.e., the methods corresponding to claims 1-5).
[0060] In this embodiment, the aforementioned storage medium, as a tangible carrier of the core innovative logic, not only ensures the stable reproduction and reliable execution of the technical solution, but also provides a physical basis and convenience for the legal protection, technology licensing and market distribution of the solution, and is an important link in realizing the transformation of intellectual property value.
[0061] In a specific application scenario: Assume the user sets the following preset unlock conditions: Number of trajectories: 2.
[0062] Simultaneity requirement: The start time difference between two swipe operations is less than 200 milliseconds.
[0063] Trajectory feature requirements: Trajectory A (e.g., left finger trajectory): The displacement direction is a diagonal slide from the upper left area of the screen to the lower right area, and the displacement amount must be greater than 300 pixels.
[0064] Track B (e.g., right finger track): The displacement direction is a vertical downward slide from the middle area of the upper part of the screen, and the displacement amount needs to be between 200 and 400 pixels.
[0065] Association rule: The Y-axis coordinate of the sliding end point of trajectory A must be higher than the Y-axis coordinate of the sliding end point of trajectory B.
[0066] Unlocking process: Triggering and Acquisition: The user turns on the screen of their smartphone, which is in a locked state. Then, within a time difference of approximately 150 milliseconds, the user simultaneously touches the screen with their left index finger at the top left corner and their right thumb at the center of the top edge of the screen and begins to swipe.
[0067] Trajectory recognition: The terminal touch screen controller captures two touch point coordinate sequences. The trajectory acquisition module determines that the time difference between the start of the two slides is within a preset tolerance (200ms), and identifies them as "two simultaneously input trajectories".
[0068] Information extraction: The information determination module calculates the following: Trajectory A: Starts in the upper left region, the path points to the lower right, the displacement is 450 pixels, and the direction angle is approximately 45 degrees.
[0069] Trajectory B: Starts in the upper middle part, the path is vertically downward, the displacement is 320 pixels, and the direction angle is about 90 degrees.
[0070] The Y-coordinate of the endpoint of trajectory A is higher than the Y-coordinate of the endpoint of trajectory B.
[0071] Verification: The verification module compares the above information with the preset unlocking conditions one by one, and all conditions are met.
[0072] Unlock: The unlock control module receives the verification command and controls the terminal operating system to unlock the screen.
[0073] The beneficial effects of this embodiment are as follows: Through a concrete and quantifiable example of an unlocking gesture, it clearly demonstrates how abstract technical features such as "multi-swipe trajectories," "simultaneity," and "association rules" can be translated into a secure unlocking process that is executable by the user and verifiable by the system. This gesture combines diagonal and vertical swiping, displacement thresholds, and spatial relationships to form a complex dynamic pattern that is difficult for an observer to instantly remember and reproduce.
[0074] In another specific application scenario: To objectively demonstrate the significant improvement in security of this patented solution, a set of control experiments was designed and implemented in this embodiment.
[0075] Experimental group: Using the method described in this patent, the preset unlocking condition is "two fingers simultaneously sliding in opposite directions, and the leftward trajectory is longer than the rightward trajectory".
[0076] Control group A: The traditional "nine-square grid pattern unlock" was used.
[0077] Control group B: A similar "multi-track ball sequential sliding unlock" scheme mentioned in the background technology was adopted.
[0078] Experimental setup: Security test (anti-spy attack): Invite 30 subjects to act as "attackers" and attempt to crack the system after allowing them to observe a legitimate user's unlocking operation once.
[0079] Test metric: Success rate of the first attempt to crack the code.
[0080] Experimental results:
[0081] Experimental Conclusion: Data shows that, in resisting one-time spying attacks, the security of this patented solution is significantly superior to traditional pattern unlocking and sequential operation unlocking schemes. Its core advantage lies in elevating the security verification dimension from sequential and static paths to concurrent dynamic spatial relationships, greatly increasing the cognitive and reproducibility burden on attackers.
[0082] In a specific application scenario: This embodiment is described in conjunction with the appendix to the instruction manual. Figure 1 (Flowchart) and Figure 2 (Triggering logic diagram) Detailed explanation of a complete unlocking process.
[0083] Combination Figure 1 The steps in the flowchart correspond to: S101 (Response and Acquisition): Refer to Figure 2 The device is currently in "screen off / locked" mode. When the user presses the power button, the screen turns on (triggering the corresponding event). Figure 2 (The transition from "screen off" to "screen on" and "screen locked"). The system then enters a state ready to receive the trajectory. The user then performs a two-finger swipe on the screen.
[0084] S102 (Determine Trajectory Information): The touchscreen reports the coordinate sequence of touch point 1 and touch point 2. The system calculates in real time to obtain the vector information of the two trajectories.
[0085] S103 (Verification): The system compares the real-time data obtained in S102 (e.g., number of trajectories = 2, directions from top left to bottom right and from top right to bottom left respectively, displacement ratio of 1.5:1) with the preset conditions in the safe storage area.
[0086] S104 (Unlock Control): After successful verification, the system sends an unlock command to the graphical interface service, and the interface switches to the main screen.
[0087] Combination Figure 2 The specific state flow of (triggering logic): This solution is perfectly adapted to different terminal states.
[0088] Path ① (Triggered when the screen is on or locked): The user directly touches the screen to trigger the unlock process.
[0089] Path ② (Triggering in screen-off state): The user first turns on the screen (triggers the "screen-on event"), and then performs a multi-swipe gesture. This verifies the two triggering methods described in claim 5, demonstrating the good user experience compatibility of the solution.
[0090] The beneficial effects of this embodiment are: by combining the abstract method steps with specific accompanying drawings, the execution logic of the technical solution and the device state transition process are made more visual and easier to understand. This demonstrates the consistency and robustness of the solution under different interactive entry points on the terminal.
[0091] In a specific application scenario: This embodiment simulates a real-world scenario with uncertain interference to demonstrate the strong adaptability and high fault tolerance of this solution.
[0092] Scenario: The user unlocks the device in a damp environment or with slightly wet hands. Water may cause brief, unintentional ghost touches on the touchscreen or cause jitter in the main trajectory signal.
[0093] Preset unlock conditions: Three fingers are brought together simultaneously (thumb from left to right, index finger from bottom to top, and ring finger from right to left), and the three paths should roughly converge in the center area of the screen.
[0094] Interference: When unlocking, due to water stains, the touchscreen not only reports the trajectories of the three real fingers (T1, T2, T3), but also falsely reports a brief fourth touch noise (N1).
[0095] The processing flow for this solution is as follows: Trajectory acquisition: The system acquires four sets of contact point movement sequences.
[0096] Preprocessing and filtering: The information determination module is not simply a counting module. Pre-filtering logic can be added to it, for example: Filter out contact events with extremely short durations (e.g., <100ms) (characteristic of noise N1).
[0097] Alternatively, by combining auxiliary information such as the continuity of the trajectory and the pressure curve, the true finger trajectory can be distinguished from noise.
[0098] Core verification: After screening, the system confirmed that the valid trajectories are T1, T2, and T3. Subsequently, the verification module verifies their quantity (3), direction (convergence), and convergence trend. Since noise has been filtered out, the verification is unaffected.
[0099] Unlocked: The conditions are met, and the terminal has been successfully unlocked.
[0100] Comparative analysis: If a simple verification strategy of "the number of trajectories must be strictly equal to 3" is adopted, this interference will directly lead to unlocking failure. However, in actual implementation, this solution can intelligently filter and make fault-tolerant judgments on the original trajectory information through the algorithm, thereby maintaining high availability in complex environments.
[0101] The beneficial effects of this embodiment are: it demonstrates the robustness of the patented technical solution in the face of uncertain interference in the real world. Its security verification logic can be built on pre-processed, more reliable trajectory information, rather than rigidly processing raw sensor data, which reflects the superiority and intelligence level of the solution in engineering practice.
[0102] In a specific application scenario: This embodiment provides more diverse application scenarios and rule variations to illustrate the broad scope of protection of this patent.
[0103] Scenario 1: Time Series Association Rules Rule: The first trajectory must reach its predetermined path endpoint before the second trajectory (even though they start simultaneously). This introduces micro-temporal correlation.
[0104] Application: Users can set the swipe down with two fingers simultaneously, but the right thumb must reach the bottom before the left index finger. This increases reliance on subtle user habits, resulting in higher security.
[0105] Scenario 2: Dynamic rules that interact with the content displayed on the screen Rule: The preset unlock conditions are not fixed, but are related to the position of dynamic elements displayed on the lock screen (such as a moving ball). For example, it requires that the starting points of two trajectories must "sandwich" the position of the dynamic element at a certain moment.
[0106] Application: Each unlock gesture changes depending on the position of the dynamic element, fundamentally eliminating the possibility of video recording and cracking based on fixed gestures.
[0107] Scenario 3: Combined verification of pressure and trajectory Rule: The preset unlocking conditions include requirements for changes in trajectory pressure. For example, during the sliding process, trajectory A requires the application of a pressure pulse that first increases and then decreases.
[0108] Application: Combining biological behavioral characteristics (force control), the security dimension is expanded from two-dimensional space to three-dimensional "space + pressure", and this feature is extremely difficult to be spied on remotely.
[0109] Scenario 4: Multi-stage continuous verification Rules: The unlocking process consists of two consecutive phases. The first phase verifies the "two fingers spreading out simultaneously" gesture. After successful verification, a temporary numeric keypad will be displayed on the screen. The second phase requires you to use a single finger to tap several numbers in a specific order within a limited time (this order is dynamically generated by the gesture parameters from the first phase).
[0110] Application: The multi-track verification of this patent is used as a high-strength, anti-peeping "password activation mechanism" and combined with the traditional PIN code to form dual dynamic protection, which is suitable for scenarios with extremely high security levels (such as payment confirmation).
[0111] The beneficial effects of this embodiment are as follows: By listing a series of extended applications and rule variations, it fully demonstrates that the technical framework centered on "simultaneous multi-trajectory verification" has strong scalability and adaptability. These variant embodiments further clarify that the innovative idea of this patent is not an isolated static gesture, but an open "high-dimensional security verification platform" that can integrate multiple interaction modalities and security factors, providing solid support for obtaining a wider range of protection.
[0112] It should be understood that the terms "one embodiment," "an embodiment," "a feasible implementation," or "some implementations" used throughout the specification mean that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of the present invention. Therefore, "one embodiment," "an embodiment," "a feasible implementation," or "some implementations" appearing throughout the specification do not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. Those skilled in the art should also recognize that the embodiments described in the specification are optional embodiments, and the actions and modules involved are not necessarily essential to the embodiments of the present invention.
[0113] The above description is merely a specific embodiment of the present invention, but the protection scope of the embodiments of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the embodiments of the present invention should be included within the protection scope of the embodiments of the present invention. Therefore, the protection scope of the embodiments of the present invention should be determined by the protection scope of the claims.
Claims
1. A secure unlocking method based on multiple swipe trajectories, applied to a terminal, characterized in that, include: In response to the user's unlocking operation, acquire at least two swipe trajectories simultaneously input on the touchscreen of the terminal; Determine the trajectory information of the at least two trajectories, wherein the trajectory information includes at least one of the number of trajectories, the amount of displacement, and the direction of displacement; Based on the trajectory information, verify whether the at least two swipe trajectories meet the preset unlocking conditions; If the preset unlocking conditions are met, the terminal is controlled to unlock.
2. The method according to claim 1, characterized in that, The acquisition of at least two swipe trajectories simultaneously input on the touchscreen of the terminal includes: Detect at least two swipe operations that begin within a preset time tolerance range on the touchscreen; The trajectories corresponding to the at least two swipe operations are determined as the at least two swipe trajectories that are input simultaneously.
3. The method according to claim 1, characterized in that, The preset unlocking conditions include at least one of the following: The number of trajectories is equal to the preset number; The displacement is within a preset displacement range; The displacement direction matches the preset direction.
4. The method according to claim 3, characterized in that, The preset unlocking conditions also include: The displacement of the first trajectories is greater than the displacement of the second trajectories; and / or The displacement direction of the first trajectories is opposite to that of the second trajectories.
5. The method according to claim 1, characterized in that, The response to the user's unlocking operation includes: In response to detecting that the terminal screen has been turned on from a screen-off state, it is determined that the unlocking operation has occurred; or In response to detecting a touch on the touchscreen when the terminal is in a screen-on and screen-locked state, it is determined that the unlocking operation has occurred.
6. A secure unlocking system, characterized in that, include: The trajectory acquisition module is configured to acquire at least two swipe trajectories simultaneously input on the terminal's touchscreen in response to the user's unlocking operation. The information determination module is configured to determine the trajectory information of the at least two trajectories, the trajectory information including at least one of the number of trajectories, the amount of displacement, and the direction of displacement; The verification module is configured to verify, based on the trajectory information, whether the at least two swipe trajectories meet preset unlocking conditions; The unlock control module is configured to control the terminal to unlock if the verification result of the verification module meets the preset unlock conditions.
7. The system according to claim 6, characterized in that, The trajectory acquisition module is specifically configured as follows: Detect at least two swipe operations that begin within a preset time tolerance range on the touchscreen; The trajectories corresponding to the at least two swipe operations are determined as the at least two swipe trajectories that are input simultaneously.
8. The system according to claim 6, characterized in that, The preset unlocking conditions include: the displacement of the first swipe trajectory is greater than the displacement of the second swipe trajectory; and / or, the displacement direction of the first swipe trajectory is opposite to the displacement direction of the second swipe trajectory.
9. A terminal, characterized in that, include: Touch screen (910); One or more processors (920); Memory (930); One or more computer programs (940); The one or more computer programs (940) are stored in the memory (930) and configured to be executed by the one or more processors (920), the one or more computer programs (940) including instructions for performing the method as described in any one of claims 1-5.
10. A computer-readable storage medium, characterized in that, Includes a computer program that, when executed by a processor, implements the method as described in any one of claims 1-5.
Citation Information
Patent Citations
Unlocking method and device for smart device
CN104463039B
Slide unlocking method and terminal
CN108536384A