Method and device for text selection

A text selection and text technology, applied in the computer field, can solve the problems of long waiting time for users, cumbersome and time-consuming operation process, difficult for users to locate accurately, etc., to achieve the effect of reducing waiting time, enhancing user experience, and shortening waiting time

Inactive Publication Date: 2012-09-19
HUAWEI TECH CO LTD
View PDF5 Cites 34 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, in the process of selecting text content in the prior art, on the one hand, it is first necessary to select a specific operation, such as copying or cutting, and when selecting a specific operation, it is necessary to go through three stages of long pressing the screen, popping up a dialog box, and selecting a button , the operation process is cumbersome and time-consuming, and the user experience is poor; on the other hand, when the selected text content is multiple pages, the end mark needs to be moved to the header or footer for page turning, and the page turning speed is preset by the system If the page turning speed value is set too high, it will be difficult for the user to locate accurately due to the fast page turning speed. If the page turning speed value is set too small, when the number of pages turning is large, the time it takes Longer, resulting in longer waiting time for users and poor user experience

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for text selection
  • Method and device for text selection
  • Method and device for text selection

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0034] see figure 1 , a method for text selection is provided for this embodiment, the execution body of the method is a terminal with a touch screen, and the specific steps of the method are as follows:

[0035] 101: Detect a first trigger event generated on a first touch point touched by a user on the touch screen, and display a starting point mark at the position of the first touch point.

[0036] In this embodiment, the start mark is used to mark the start position of the text selection, and the first trigger event generated on the first touch point is a double-click event generated on the first touch point.

[0037] For example, when the user uses a finger or a touch tool to double-click on the touch screen display area of ​​the terminal and does not lift it for the second time (at this time, a double-click event will be generated on the first touch point, but an UP event will not be generated), the terminal will Get the double-click event generated on the first touch po...

Embodiment 2

[0123] Such as Figure 6 As shown, this embodiment provides a device for text selection, which specifically includes:

[0124] The display module 201 is configured to detect a first trigger event generated on the first touch point touched by the user on the touch screen, and display a starting point mark at the position of the first touch point;

[0125] The first acquiring module 202 is configured to detect a second trigger event generated on the first contact, and acquire the position of the starting point mark;

[0126] A switching module 203, configured to switch the start mark to the end mark;

[0127] The second acquisition module 204 is configured to detect the sliding track generated by the second contact touched by the user on the touch screen after detecting that the third touch point touched by the user on the end mark generates a third trigger event, and acquire the sliding motion of the second contact point Speed, the sliding speed of the second contact is used ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method and device for text selection and relates to the field of computer technologies. The method comprises the following steps of: detecting a first trigger event generated on a first contact, and displaying a starting point mark on the position of the first contact; detecting a second trigger event generated on the first contact, and acquiring the position of the starting point mark; switching the starting point mark into a terminating point mark; after a third trigger event generated on a third contact touched by a user at the terminating point mark is detected, detecting a sliding trace generated on a second contact touched by the user on a touch screen, and acquiring the sliding speed of the second contact, wherein the sliding speed of the second contact is used for adjusting the text page turning speed; detecting a fourth trigger event generated on the third contact, and acquiring the position of the terminating point mark according to the sliding speed of the second contact; and acquiring characters between the position of the starting point mark and the position of the terminating point mark. According to the method, the simplification of the operation of the text selection triggered by the user is realized, and the rapid and accurate location of the position of a terminating point is realized when the content of a selected text is relatively multiple.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a text selection method and device. Background technique [0002] The number of users of mobile phones and tablet computers is gradually increasing, and more and more people are getting used to browsing text information such as web pages through mobile phones or tablets. Therefore, when users use mobile phones and tablets, they often use copying, cutting, etc. operate. [0003] At present, the following method is usually used in the operation of selecting text content: a dialog box pops up after a long press on the screen, and the corresponding button in the dialog box is selected to select copy or cut. After the specific operation is selected, the starting point is displayed on the screen and the end point mark, the user can set the start point or end point position by dragging the start point or end point mark, when the selected text content exceeds one page, you can...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F3/048G06F3/041G06F3/0484G06F3/0488
Inventor 贾香宏
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products