Screen direction self-adaptive adjusting method based on touch track
By collecting and analyzing touch track data in real time, combining multi-touch and machine learning, personalized settings and scene adaptation are provided, which solves the misjudgment and delay problems of adaptive screen orientation adjustment in the existing technology, and achieves a more accurate, smooth and user-friendly screen rotation experience.
Patent Information
- Application Number
- CN202510478101.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-16
- Publication Date
- 2025-08-05
AI Technical Summary
In the prior art, the adaptive adjustment method for screen direction based on touch tracks has problems such as misjudgment, delayed response, high resource consumption, inflexibility and inconsistent with user needs.
By collecting touch track data in real time, identifying user intentions using multi-touch analysis and machine learning algorithms, providing personalized settings options, disabling rotation function in specific scenarios, and adopting gradient transition animations to ensure the accuracy and fluency of rotation.
It realizes more accurate screen rotation recognition, reduces misjudgment and delays, saves resources, improves user experience, and adapts to different user needs. The screen rotation process is smooth and natural.
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of human-computer interaction, and specifically to a method for adaptively adjusting the screen direction based on a touch trajectory. Background Art
[0002] The method for adaptively adjusting the screen direction based on a touch trajectory is a technology that automatically determines and adjusts the screen display direction by monitoring the sliding trajectory of a user on a touch screen. When the user touches and slides the screen, this method can analyze the movement direction and amplitude of the touch trajectory in real time, so as to determine the screen direction desired by the user (such as vertical or horizontal). Based on this information, the system can dynamically adjust the direction of the display screen to ensure the convenience of user operation and the visual experience. For example, if the trajectory of the user's slide on the touch screen indicates a horizontal or vertical mode, the system will automatically rotate the screen to adapt to this direction change, thereby enhancing the interactivity and usage comfort. This technology is widely used in smartphones, tablets, and other devices with touch functions.
[0003] In the prior art, although the method for adaptively adjusting the screen direction based on a touch trajectory provides a convenient screen rotation function, there are also some disadvantages and challenges, mainly including the following points:
[0004] In some cases, the system may misjudge the user's touch trajectory. For example, the user may only perform a short sliding operation, but the system mistakenly believes that the user intends to rotate the screen, resulting in unnecessary screen direction changes. Such misjudgment may affect the user experience, especially during fast or inadvertent touch operations; there may be a certain delay in touch trajectory analysis and screen rotation. Especially on devices with a large touch screen or low system performance, it may not be able to respond to the user's sliding operation in real time, resulting in an unsmooth screen direction switch and affecting the user experience; complex touch actions (such as multi-touch, fast sliding, etc.) may make the analysis of the touch trajectory more difficult. In this case, the system may not be able to accurately identify the user's intention, resulting in inaccurate screen direction adjustment; in some specific usage scenarios, such as in games or reading applications, the touch trajectory may be complex and variable, and the automatic adjustment of the screen direction may frequently interfere with the user's operation, especially when the user does not want the screen direction to change automatically; real-time monitoring and analysis of the touch trajectory consume a certain amount of system resources. Especially when the device runs for a long time, it may increase the battery consumption and affect the battery life of the device; not all users hope that the screen direction is automatically adjusted. Some users may prefer to manually control the screen direction. The existing adaptive adjustment method based on a touch trajectory may lack flexible setting options and cannot meet the needs of different users.
[0005] Therefore, we propose a method for adaptively adjusting the screen direction based on a touch trajectory. Summary of the Invention
[0006] To achieve the above object, the present invention provides the following technical solutions: A method for adaptively adjusting the screen direction based on a touch trajectory, comprising the following steps:
[0007] S1: Touch trajectory data acquisition: Real-time acquisition of touch trajectory data through a touch sensor to monitor information such as the sliding direction, speed, and amplitude of the user on the touch screen;
[0008] S2: Real-time analysis of touch trajectory: According to the touch trajectory data collected in step S1, use a multi-touch analysis method to identify the relative position relationship of touch points, and combine the sliding speed and direction of the touch to determine whether the user wants to rotate the screen;
[0009] S3: Judgment and prediction of rotation direction: Based on the touch trajectory and sliding direction, predict the screen rotation direction and rotation angle expected by the user through an intelligent algorithm (such as a machine learning model), and perform a screen rotation operation when the user's needs are confirmed;
[0010] S4: Real-time feedback and adjustment: When the user continues to slide or changes the touch trajectory, the system dynamically adjusts the screen rotation strategy, optimizes the rotation timing and angle, and ensures smooth and delay-free screen rotation;
[0011] S5: User-defined settings: Provide user personalized setting options to allow the user to adjust the sensitivity of the touch trajectory, rotation sensitivity, and determination threshold of the rotation direction to meet the needs of different users;
[0012] S6: Adaptation to specific scenarios: In specific application scenarios such as games and video playback, automatically disable or delay the screen auto-rotation function to avoid interfering with the user's operation.
[0013] Preferably, in step S1, the touch trajectory data monitors the sliding trajectory of the touch point in real time through a touch sensor, and calculates according to the relative position relationship of multi-touch points, so as to identify the intention of the user's sliding.
[0014] Preferably, in step S2, by setting a sliding speed threshold, a sliding angle threshold, and a sliding duration threshold to determine whether the user wants to rotate the screen, so as to avoid triggering rotation by short sliding or misoperation.
[0015] Preferably, in step S3, an algorithm based on machine learning is adopted to dynamically adjust the accuracy of rotation direction prediction by analyzing the historical touch trajectory data of the user to adapt to the operation habits of different users.
[0016] Preferably, in step S5, the user can adjust the sensitivity of screen rotation, the determination threshold of the touch trajectory, and the rotation sensitivity through the setting interface, and the system will flexibly adjust the rotation response strategy according to the values set by the user.
[0017] Preferably, in step S6, the system identifies the currently running application according to the application scenario (such as games, video playback, etc.), and automatically disables or delays the automatic screen rotation to avoid accidental rotation during critical operations and affect the user experience.
[0018] Preferably, in step S4, the process of screen rotation is realized through a gradual transition animation, making the screen rotation process smoother without jumping or flickering.
[0019] Compared with the prior art, the present invention provides a method for adaptively adjusting the screen direction based on the touch trajectory, having the following beneficial effects:
[0020] 1. For the method for adaptively adjusting the screen direction based on the touch trajectory, through multi-touch analysis and precise calculation of the sliding trajectory, the system can more accurately identify the user's rotation intention, avoid misjudging accidental touch actions as rotation requirements, and the intelligent algorithm dynamically adjusts the rotation direction and angle according to real-time touch feedback, ensuring the accuracy and smoothness of the screen rotation operation, and avoiding the common delayed response and misoperation in the prior art.
[0021] 2. For the method for adaptively adjusting the screen direction based on the touch trajectory, by providing custom settings such as sensitivity and rotation threshold, users can adjust the rotation strategy according to their personal usage habits, making the adaptive adjustment of the screen direction more in line with the personalized needs of users. In specific application scenarios (such as games or video playback), the system can automatically identify and disable or delay the automatic rotation function, thereby avoiding unnecessary screen rotation interference and improving the user's operation experience.
[0022] 3. For the method for adaptively adjusting the screen direction based on the touch trajectory, the system can continuously learn and optimize, and intelligently predict and adjust the rotation strategy according to the user's historical operation behavior, making the screen direction adjustment more intelligent and user-friendly. To improve the visual experience, the screen rotation process adopts a gradual transition animation, making the rotation process smoother and not causing a sense of abruptness or visual discomfort to the user. Detailed implementation manners
[0023] The technical solutions in the embodiments of the present invention will be clearly and completely described below. Apparently, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0024] Embodiment
[0025] Embodiment of the method for adaptively adjusting the screen direction based on the touch trajectory
[0026] Method for Adaptive Adjustment of Screen Orientation Based on Touch Trajectory, including the following steps:
[0027] S1: Touch Trajectory Data Acquisition: Real-time acquisition of touch trajectory data through a touch sensor to monitor information such as the sliding direction, speed, and amplitude of the user on the touch screen;
[0028] S2: Real-time Analysis of Touch Trajectory: According to the touch trajectory data collected in step S1, use the multi-touch analysis method to identify the relative position relationship of touch points, and combine the sliding speed and direction of the touch to determine whether the user hopes to rotate the screen;
[0029] S3: Rotation Direction Judgment and Prediction: Based on the touch trajectory and sliding direction, predict the expected screen rotation direction and rotation angle through an intelligent algorithm (such as a machine learning model), and perform the screen rotation operation when the user's needs are confirmed;
[0030] S4: Real-time Feedback and Adjustment: When the user continues to slide or changes the touch trajectory, the system dynamically adjusts the screen rotation strategy, optimizes the rotation timing and angle, and ensures smooth and delay-free screen rotation;
[0031] S5: User-defined Settings: Provide user personalized setting options, allowing users to adjust the sensitivity of the touch trajectory, rotation sensitivity, and determination threshold of the rotation direction to meet the needs of different users;
[0032] S6: Adaptation to Specific Scenarios: In specific application scenarios such as games and video playback, automatically disable or delay the screen auto-rotation function to avoid interfering with user operations.
[0033] Specifically, in step S1, the touch trajectory data monitors the sliding trajectory of the touch point in real time through a touch sensor, and calculates according to the relative position relationship of multi-touch points, so as to identify the intention of the user's sliding.
[0034] Specifically, in step S2, set the sliding speed threshold, sliding angle threshold, and sliding duration threshold to determine whether the user hopes to rotate the screen, and avoid triggering rotation due to short sliding or misoperation.
[0035] Specifically, in step S3, adopt an algorithm based on machine learning, and dynamically adjust the accuracy of rotation direction prediction by analyzing the user's historical touch trajectory data to adapt to different user operation habits.
[0036] Specifically, in step S5, the user can adjust the sensitivity of screen rotation, the determination threshold of the touch trajectory, and the rotation sensitivity through the setting interface, and the system will flexibly adjust the rotation response strategy according to the values set by the user.
[0037] Specifically, in step S6, the system identifies the currently running application according to the application scenario (such as games, video playback, etc.), and automatically disables or delays the automatic screen rotation to avoid accidental rotation during critical operations and affect the user experience.
[0038] Specifically, in step S4, the process of screen rotation is achieved through a gradual transition animation, making the screen rotation process smoother without jumping or flickering.
[0039] Through the above technical solutions, in the present invention, through multi-touch analysis and precise calculation of the sliding trajectory, the system can more accurately identify the user's rotation intention, avoid misjudging accidental touch actions as rotation requirements, and the intelligent algorithm dynamically adjusts the rotation direction and angle according to real-time touch feedback to ensure the accuracy and smoothness of the screen rotation operation, avoiding the common delay response and misoperation in the prior art. By providing custom settings such as sensitivity and rotation threshold, users can adjust the rotation strategy according to their personal usage habits, making the adaptive adjustment of the screen direction more in line with the personalized needs of users. In specific application scenarios (such as games or video playback), the system can automatically identify and disable or delay the automatic rotation function, thereby avoiding unnecessary screen rotation interference and improving the user's operation experience. The system can continuously learn and optimize, and intelligently predict and adjust the rotation strategy according to the user's historical operation behavior, making the screen direction adjustment more intelligent and user-friendly. To improve the visual experience, the screen rotation process adopts a gradient transition animation, making the rotation process smoother and not causing a sense of abruptness or visual discomfort to the user.
[0040] Touch data acquisition and processing: The device touch sensor continuously captures touch trajectory data, including the speed, direction, and amplitude of the slide. When the user starts touching, the system begins to collect data and performs preliminary filtering through a preset threshold to eliminate irrelevant touch operations (such as short slides or minor accidental touches).
[0041] Multi-touch and trajectory analysis: For multi-touch operations, the system calculates the relative position changes between the touch points and judges the sliding direction and user intention based on this data. If the trajectory meets the rotation conditions (such as the sliding amplitude is large enough and the direction is consistent), the rotation judgment is triggered.
[0042] Intelligent algorithm and prediction: The system uses a machine learning model to analyze historical touch data, identify the operation patterns of different users (such as preferring landscape or portrait), and intelligently predict the rotation requirements based on this. Through continuous training, the system can optimize the prediction results during multiple uses.
[0043] Real-time feedback and dynamic adjustment: When the user changes the sliding direction or stops touching, the system immediately adjusts the rotation direction or stops rotating to ensure seamless connection during the screen adjustment process.
[0044] Personalized settings interface: Users can freely adjust parameters such as the sensitivity of the touch trajectory, rotation threshold, and response speed in the settings interface to achieve a screen rotation experience that conforms to personal habits.
[0045] Disable function in specific application scenarios: The system identifies the running applications and determines whether it is in scenarios such as gaming or video playback. In these scenarios, the screen rotation is automatically disabled or delayed to avoid affecting user operations.
[0046] 1. Touch data collection and processing
[0047] Step description:
[0048] The collection of touch data is the basis of this invention. The device captures the touch trajectory information of the user in real time through a touch sensor (such as a capacitive touch screen). The sensor records the position of the touch point (x, y coordinates), the speed of the slide (distance of the slide / time), and the direction (angle of the slide). These data will be uploaded to the processing unit (usually the CPU or a dedicated processor of the device) in real time.
[0049] Touch trajectory filtering: The collected touch trajectory may contain short-term false touches (such as slight slides or edge noises). To avoid misjudgment, the touch trajectory is first preliminarily filtered, and a touch duration threshold and a minimum slide distance are set. For example, when the slide time is less than 50 milliseconds or the slide distance is less than 3 pixels, it is regarded as a false touch and no rotation judgment is made.
[0050] Multi-touch data processing: For multi-touch, the system processes the trajectory of each touch point and analyzes the user's intention based on the relative position changes. By calculating the relative speed and direction between each touch point and other points, it is determined whether there is a rotation requirement. For example, if there are significant horizontal or vertical changes in the relative positions of the touch points on the screen, the system may consider that the user has a rotation requirement.
[0051] 2. Multi-touch and trajectory analysis
[0052] Step description:
[0053] The system analyzes the relative movement between multiple touch points and combines information such as the slide direction, speed, and amplitude to determine whether to rotate the screen.
[0054] Relative position change detection: For two-point touch or multi-touch operations, the system calculates the relative position changes of each touch point in real time. For example, if the horizontal distance between two touch points significantly increases, the system will judge that the user may be performing a rotation operation.
[0055] Swipe Direction Judgment: By calculating the angle between the movement trajectory of the touch point and the horizontal or vertical axis of the screen, the direction of the user's swipe is determined. If the swipe angle is close to the horizontal or vertical axis, the system will consider rotating the screen to landscape or portrait mode. If the angle is close to 45 degrees, it is determined that the user is performing a flipping action.
[0056] 3. Intelligent Algorithms and Predictions
[0057] Step Description:
[0058] Based on the touch trajectory data, the system analyzes the user's operation behavior through intelligent algorithms and intelligently predicts whether the user needs to rotate the screen.
[0059] Machine Learning Model: The system learns the user's operation habits through historical data. For example, the system can collect the user's screen rotation habits in different scenarios and train a classification model or regression model to judge the user's rotation needs. If the user often performs portrait operations in reading mode, the system will automatically prioritize the portrait mode.
[0060] User Habit Self-Learning: The system will record the user's feedback on screen rotation and learn the user's usage habits. Each time the user manually changes the screen orientation, the system will update the prediction model to automatically predict and adjust the screen orientation according to similar scenarios in the future.
[0061] 4. Real-Time Feedback and Dynamic Adjustment
[0062] Step Description:
[0063] When the user changes the touch trajectory, the system will adjust the screen orientation in real time to ensure a smooth and delay-free rotation process.
[0064] Dynamic Optimization: If the user's swipe trajectory suddenly changes direction, the system will immediately stop the current rotation operation and recalculate the new rotation direction. This dynamic feedback mechanism ensures the accuracy of screen rotation and avoids accidental rotations caused by unexpected touches or changes in swipe direction.
[0065] Smooth Transition: To improve the user experience, when the system performs screen rotation, it uses a gradual transition animation to avoid abruptness. For example, when the screen rotates, the system rotates the screen display through a smooth transition animation, reducing visual jumps or flickers and ensuring a smooth and natural screen adjustment process.
[0066] 5. User Customizable Settings
[0067] Step Description:
[0068] This system provides user customizable settings options that allow users to adjust the sensitivity of screen rotation, rotation threshold, and touch trajectory judgment strategy according to their personal preferences.
[0069] Sensitivity adjustment: The user can adjust the sensitivity of the touch track and choose whether they want the screen to rotate on a slight swipe. By setting the sensitivity threshold, the user can control the sensitivity of touch track analysis. For example, if the sensitivity is set high, the system will be more responsive to subtle swipes; if set low, it will only respond to longer or larger swipes.
[0070] Rotation threshold setting: The user can also adjust the threshold for rotation operations according to specific needs, such as setting a minimum rotation angle (e.g., 30 degrees) to avoid misinterpreting small-angle swipes as rotation requests.
[0071] Custom rotation preferences: In the application settings interface, the user can choose whether to enable the auto-rotation function or select different rotation strategies according to different usage scenarios. For example, when using certain specific applications, the user can choose to disable auto-rotation.
[0072] 6. Adaptation for specific scenarios
[0073] Step description:
[0074] The system can automatically adapt according to different application scenarios, avoiding frequent interference with the user during certain operations.
[0075] Application scenario recognition: The system determines whether to disable or delay auto-rotation by identifying the current application (such as games, video playback, etc.). For example, in game mode, users generally do not want the screen to rotate frequently, so the system will automatically disable the rotation function.
[0076] Auto-disable rotation: During video playback or gaming, the system will automatically disable the screen orientation adaptive adjustment function according to the current state to ensure that the user is not disturbed. If the user changes the application mode (e.g., exits the game), the system will re-enable the auto-rotation function.
[0077] Scenario optimization: To improve the smoothness of rotation response, when the system performs rotation operations in a non-disturbing mode, it will adopt a more sensitive and rapid feedback mechanism, while delaying rotation in game or entertainment modes to avoid affecting the user's operation smoothness.
[0078] 7. Smooth screen rotation animation
[0079] Step description:
[0080] To enhance the user experience, a gradual transition animation is used during screen rotation to avoid a jerky feeling.
[0081] Implementation of transition animation: Through smooth rotation transition animation, visual transition is achieved during screen rotation to avoid directly jumping to the new screen orientation. This can control the speed of the screen rotation process through a time interpolation algorithm, making the rotation transition natural and seamless.
[0082] Animation effects: Users can choose different animation effects, such as linear animation, animations with slow acceleration or deceleration, or even animations with elastic effects. This can further enhance the user's visual and operational experience.
[0083] Although the embodiments of the present invention have been shown and described, those of ordinary skill in the art can understand that various changes, modifications, substitutions, and variations can be made to these embodiments without departing from the principles and spirit of the present invention. The scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A method for adaptively adjusting screen orientation based on touch trajectory, characterized by: The following steps are involved: S1: Touch trajectory data collection: The touch sensor collects touch trajectory data in real time to monitor the user's sliding direction, speed, amplitude and other information on the touch screen; S2: Real-time touch trajectory analysis: Based on the touch trajectory data collected in step S1, a multi-touch analysis method is used to identify the relative position relationship of the touch points, and combined with the sliding speed and direction of the touch, it is determined whether the user wants to rotate the screen; S3: Rotation direction determination and prediction: Based on the touch trajectory and sliding direction, an intelligent algorithm (such as a machine learning model) is used to predict the user's desired screen rotation direction and rotation angle, and the screen rotation operation is executed when the user's request is confirmed; S4: Real-time feedback and adjustment: When the user continues to slide or change the touch trajectory, the system dynamically adjusts the screen rotation strategy to optimize the rotation timing and angle to ensure smooth and delay-free screen rotation; S5: User-defined settings: Provides user-defined settings options, allowing users to adjust the touch track sensitivity, rotation sensitivity, and rotation direction judgment threshold to meet different user needs; S6: Specific scenario adaptation: In specific application scenarios such as gaming and video playback, the screen auto-rotation function is automatically disabled or delayed to avoid interfering with user operations.
2. The method for adaptively adjusting screen orientation based on touch trajectory according to claim 1, characterized in that: In step S1, the touch trajectory data is obtained by monitoring the sliding trajectory of the touch point in real time through the touch sensor, and is calculated based on the relative position relationship of multiple touch points, thereby identifying the user's sliding intention.
3. The method for adaptively adjusting screen orientation based on touch trajectory according to claim 1, wherein: In step S2, whether the user wants the screen to rotate is determined by setting a sliding speed threshold, a sliding angle threshold, and a sliding duration threshold, so as to avoid rotation being triggered by a short sliding or an erroneous operation.
4. The method for adaptively adjusting screen orientation based on touch trajectory according to claim 1, wherein: In step S3, a machine learning-based algorithm is used to dynamically adjust the accuracy of the rotation direction prediction by analyzing the user's historical touch trajectory data to adapt to the operating habits of different users.
5. The method for adaptively adjusting screen orientation based on touch trajectory according to claim 1, wherein: In step S5, the user can adjust the screen rotation sensitivity, the touch track determination threshold and the rotation sensitivity through the setting interface, and the system will flexibly adjust the rotation response strategy according to the values set by the user.
6. The method for adaptively adjusting screen orientation based on touch trajectory according to claim 1, wherein: In step S6, the system identifies the currently running application according to the application scenario (such as games, video playback, etc.) and automatically disables or delays automatic screen rotation to avoid incorrect rotation during key operations that affects the user experience.
7. The method for adaptively adjusting screen orientation based on touch trajectory according to claim 1, wherein: In step S4, the screen rotation process is implemented through a gradual transition animation, making the screen rotation process smoother without jumping or flickering.