Cursor Positioning via Click and Slide Direction
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The operation of moving a cursor in an editable area of a mobile terminal is complicated, particularly when the cursor needs to be positioned far from the text area to be edited, as existing methods require manual dragging, which is cumbersome.
Innovation Solution
A method and device that determine the cursor display position by analyzing the click position and sliding direction on the mobile terminal screen, calculating the included angle, and automatically moving the cursor in a specific direction based on preset conditions, allowing for simple and efficient cursor positioning.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If the user manually drags the cursor to the text area needing editing, then the cursor can be positioned accurately, but the operation process becomes complicated and time-consuming
Solution Approach 1:
The system performs preliminary action by automatically moving the cursor to the text area before the user needs to edit. When the user clicks on the editable area, the system pre-positiones the cursor at the appropriate location based on the click position and sliding direction, eliminating the need for manual dragging during the editing process
Solution Approach 2:
The system enables self-service by automatically determining and executing cursor positioning without requiring user intervention for manual dragging. The system uses the touch medium's click position and sliding direction to autonomously calculate and move the cursor to the correct position, making the operation simpler and more efficient
2Ease of operation
If the user clicks directly on the text area needing editing, then the operation is simple, but the user cannot accurately click the text area that needs to be added or amended
Solution Approach 1:
The system introduces an intermediary mechanism that translates the user's simple click action into accurate cursor positioning. The intermediary is the system's automatic cursor positioning algorithm that uses the click position and sliding direction as inputs to calculate the precise target position, bridging the gap between simple user input and accurate text area selection
Solution Approach 2:
The system replaces the mechanical manual dragging operation with an automated positioning system. Instead of requiring the user to physically drag the cursor through the text area, the system uses computational geometry to calculate and execute the cursor movement based on the click position and sliding direction, substituting mechanical operation with automated calculation
Data Source
Figure 1~2
Figure 3~4
Figure 5
AI summary
A method and device for determining a cursor display position are provided. In the method, when the duration of a contact of a touch medium with a click position in an editable area on a mobile terminal screen is longer than a preset duration, acquiring the click position and the sliding direction of the touch medium starting from the click position; determining the movement direction of the cursor according to the click position and the sliding direction; and moving the cursor to the position to be displayed according to the movement direction. The technical solution of the present invention allows effective viewing of the whole text-editing interface via the automatic movement of the cursor, thus facilitating the positioning of the cursor with a simple operation.