WO2015081606A1 - 删除显示在触摸屏上的文字的方法及电子设备 - Google Patents

删除显示在触摸屏上的文字的方法及电子设备 Download PDF

Info

Publication number
WO2015081606A1
WO2015081606A1 PCT/CN2014/000943 CN2014000943W WO2015081606A1 WO 2015081606 A1 WO2015081606 A1 WO 2015081606A1 CN 2014000943 W CN2014000943 W CN 2014000943W WO 2015081606 A1 WO2015081606 A1 WO 2015081606A1
Authority
WO
WIPO (PCT)
Prior art keywords
track
gesture
touch screen
touch
text
Prior art date
Application number
PCT/CN2014/000943
Other languages
English (en)
French (fr)
Inventor
高济洋
Original Assignee
上海斐讯数据通信技术有限公司
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 上海斐讯数据通信技术有限公司 filed Critical 上海斐讯数据通信技术有限公司
Publication of WO2015081606A1 publication Critical patent/WO2015081606A1/zh

Links

Images

Classifications

    • 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

Definitions

  • the present invention relates to an electronic device, and more particularly to a method and an electronic device for deleting text displayed on a touch screen.
  • an object of the present invention is to provide a method and an electronic device for deleting characters displayed on a touch screen, which are used to solve the problem that the prior art cannot utilize the advantages of the touch screen to achieve the purpose of deleting text. problem.
  • the present invention provides a method for deleting text displayed on a touch screen, comprising: setting a range of amplitude thresholds for identifying a delete gesture according to a size of a text displayed on the touch screen;
  • the detected irregular touch gesture swiped by the user on the touch screen is converted into a corresponding trajectory coordinate sequence, and it is determined that all trajectory points in the trajectory coordinate sequence are located within the amplitude threshold range; Determining coordinates of the plurality of trajectory key points in all the trajectory points of the coordinate sequence, and determining that the touch gesture is a deletion gesture when the coordinates of each of the trajectory key points satisfy a preset deletion gesture recognition rule;
  • the gesture is a delete gesture, the characters in the touch screen area corresponding to the track coordinate sequence are deleted within the range of the amplitude threshold.
  • the range of the amplitude threshold comprises: floating up and down a predetermined proportion of the range based on the height of the text.
  • the method for identifying a delete gesture further includes: detecting, after the detected touch gesture is discontinuous, each adjacent one of the touch gestures Whether the time interval of the continuous touch gesture portion is less than a preset discontinuous time interval; determining that the touch gesture corresponds to when the time interval of each successive touch gesture portion is detected to be less than a preset discontinuous time interval All track points in the track coordinate sequence are located within the range of the amplitude threshold; and when the touch gesture is determined to be a delete gesture, determining a touch screen area corresponding to each of the track coordinate sequences within the range of the amplitude threshold, and The text in the touch screen area is deleted.
  • the method further includes: after the preset deletion execution time interval is exceeded, a new touch gesture is not detected, and the deleting step is performed.
  • the trajectory key point comprises: one of the first trajectory point, the first N trajectory inflection points, and one or more of the top N trajectory highest/lowest points.
  • the preset deletion gesture recognition rule comprises one or any combination of the following: the ordinate of the first track point in the trajectory coordinate sequence is located at [(Y L2 -20%*h L ), (Y L2 +50%*h L )], wherein Y L2 is the bottom ordinate of the text line closest to the coordinate of the first track point, h L is the height of the text; The coordinates of the first track inflection point or the highest/lowest point of the track are located to the right of the coordinates of the first track point, and the ordinate is located at [(Y L1 -50%*h L ), (Y L2 +20%*h In the range of L )], wherein Y L1 is the top ordinate of the line of text closest to the coordinate of the first track point, and the coordinates of the subsequent track inflection point or the highest/lowest point of the track in the track coordinate sequence are located in the previous one The locus inflection point or the right side of the highest/lowest point of the trajectory, and the ordinate
  • the preset deletion gesture recognition rule further comprises: a time interval between each track key point is between [0, 300 ms].
  • the present invention further provides an electronic device having a touch screen, comprising at least: a pre-processing module, configured to identify an amplitude threshold range of the deletion gesture according to a size of the text displayed on the touch screen; the gesture detection module Translating, by the detected user, an irregular touch gesture that is swiped on the touch screen into a corresponding trajectory coordinate sequence, and determining that all trajectory points in the trajectory coordinate sequence are within the amplitude threshold range a gesture determining module, configured to determine coordinates of the plurality of track key points from all track points of the track coordinate sequence, and determine the coordinates when the coordinates of each of the track key points satisfy a preset delete gesture recognition rule
  • the touch gesture is a delete gesture
  • the deleting module is configured to: when the gesture determination module determines that the touch gesture is a delete gesture, the text in the touch screen region corresponding to the trajectory coordinate sequence is within the range of the amplitude threshold Delete it.
  • the range of the amplitude threshold comprises: floating up and down a predetermined proportion of the range based on the height of the text.
  • the gesture detecting module includes: a first detecting submodule, configured to detect, when the detected touch gesture is discontinuous, a time interval of each adjacent one of the touch gestures a second detection sub-module, configured to determine a trajectory corresponding to the touch gesture when a time interval in which each of the consecutive touch gesture portions is detected is less than a preset discontinuous time interval All track points in the coordinate sequence are within the amplitude threshold; and
  • the deleting module is configured to: when determining that the touch gesture is a delete gesture, determine a touch screen area corresponding to each of the track coordinate sequences within the range of the amplitude threshold, and delete the text in the touch screen area.
  • the deleting module is further configured to: after the preset deletion execution time interval is exceeded A new touch gesture is detected and the corresponding text is deleted.
  • the trajectory key point comprises: one of the first trajectory point, the first N trajectory inflection points, and one or more of the top N trajectory highest/lowest points.
  • the preset deletion gesture recognition rule comprises one or any combination of the following; the ordinate of the first track point in the trajectory coordinate sequence is located at [(Y L2 -20%*h L ), (Y L2 +50%*h L )], wherein Y L2 is the bottom ordinate of the text line closest to the coordinate of the first track point, h L is the height of the text; The coordinates of the first track inflection point or the highest/lowest point of the track are located to the right of the coordinates of the first track point, and the ordinate is located at [(Y L1 -50%*h L ), (Y L2 +20%*h In the range of L )], wherein Y L1 is the top ordinate of the line of text closest to the coordinate of the first track point; the coordinates of the subsequent track inflection point or the highest/lowest point of the track in the track coordinate sequence are located in the previous one The locus inflection point or the right side of the highest/lowest point of the trajectory, and the ordinate spacing
  • the preset deletion gesture recognition rule further comprises: a time interval between each track key point is between [0, 300 ms].
  • the present invention realizes deletion of characters by recognizing a zigzag type touch trajectory, that is, by simulating a human using an eraser to erase text on a paper text carrier, and using a handwriting to cover the text, according to the touch trajectory relative to the text
  • the ratio of the row height and the word width forms a jagged trajectory in a short time, and judges the user's intention to delete the segment text to achieve the purpose of deletion.
  • the present invention utilizes the advantage of the touch screen and combines the text displayed by the human deletion electronic device. In turn, the user's experience of deleting the corresponding text in the gesture touch screen text application is improved.
  • FIG. 1 is a flow chart showing a method of deleting text displayed on a touch screen of the present invention.
  • FIG. 2 is a schematic diagram showing a touch gesture in a method of deleting text displayed on a touch screen according to the present invention.
  • FIG. 3 is a flow chart showing a preferred embodiment of the method of deleting text displayed on a touch screen of the present invention.
  • FIG. 4 is a schematic view showing the structure of an electronic device with a touch screen of the present invention.
  • the present invention provides a method of deleting text displayed on a touch screen.
  • the deletion method is mainly performed by a deletion system, which is an application software installed in an electronic device with a touch screen having a touch screen.
  • the electronic device with a touch screen includes, but is not limited to, a mobile phone, a tablet computer, and the like.
  • step S1 the deletion system sets an amplitude threshold range that identifies the deletion gesture according to the size of the text displayed on the touch screen.
  • the deleting system may obtain information such as a currently displayed text size, line spacing, word spacing, and the like from the reading software in the electronic device with the touch screen, and calculate the width of each line of text according to the size of the touch screen. And a length and a coordinate interval on the touch screen, and the range formed by the length, the width, and the coordinate interval is set to the amplitude threshold range.
  • the amplitude threshold range may also be only a threshold range of the height of each line of text.
  • the range of the amplitude threshold may also be a range of a preset ratio that is up and down based on the height of the text.
  • the amplitude threshold ranges from [(Y L1 -50%*h L ), (Y L2 +20%*h L )] or [(Y L2 -20%*h L ), (Y L2 +50% In the range *h L )], Y L1 is the top ordinate of the text line, Y L2 is the bottom ordinate of the text line, and h L is the height of the text.
  • step S2 the deleting system converts the detected irregular touch gesture that the user slides on the touch screen into a corresponding trajectory coordinate sequence, and determines that all the trajectory points in the trajectory coordinate sequence are located. Within the range of amplitude thresholds.
  • the deleting system acquires the track coordinate sequence of the touch gesture, and detects all the track points corresponding to the acquired track coordinate sequence. Whether it is within the range of the amplitude threshold, when all the track points are always within the range of the amplitude threshold, step S3 is continued; otherwise, the touch gesture is determined to be invalid.
  • the touch gesture includes, but is not limited to, an irregular wave shape, an irregular fold line, or an irregular spiral shape.
  • the deletion system acquires a corresponding track according to the preset coordinate origin of the touch screen along with the touch gesture. a coordinate sequence, and determining a corresponding character line according to the first M coordinates in the trajectory coordinate sequence, and determining whether the trajectory points corresponding to all the coordinates in the trajectory coordinate sequence all fall within the range of the amplitude threshold, if Then, step S3 is continued, otherwise, the touch gesture is determined to be invalid.
  • step S3 the deleting system determines coordinates of a plurality of trajectory key points from all trajectory points of the trajectory coordinate sequence, and determines when the coordinates of each trajectory key point satisfy a preset deletion gesture recognition rule.
  • the touch gesture is a delete gesture.
  • the trajectory key point includes any intention to reflect an irregular touch gesture swept by the user is a key point of deleting the text.
  • the track key points may include: a first track point and a first N track inflection points.
  • the user is accustomed to use a spiral gesture to slide over the displayed text, and the track key points may include: a first track point, a top N track highest/lowest point, and the like.
  • the selection of the trajectory key points may be one of the first trajectory point, the first N trajectory inflection points, and the first N trajectory highest/lowest points, and N is a preset quantity.
  • the deleting gesture recognition rule further comprises: a time interval between each track key point is between [0, 300 ms].
  • the preset deletion gesture recognition rule includes but is not limited to one or any combination of the following:
  • the ordinate of the first track point in the trajectory coordinate sequence is located in the range [(Y L2 -20%*h L ), (Y L2 +50%*h L )], where Y L2 is the distance The bottom vertical coordinate of the text line with the closest coordinate of the first track point, h L is the height of the text;
  • the coordinates of the first track inflection point or the track highest/lowest point in the track coordinate sequence are located to the right of the coordinates of the first track point, and the ordinate is located at [(Y L1 -50%*h L ) , (Y L2 +20%*h L )], wherein Y L1 is the top ordinate of the line of text closest to the coordinate of the first track point;
  • the coordinates of the subsequent locus inflection point or the highest/lowest point of the trajectory coordinate sequence are located to the right of the coordinates of the previous locus inflection point or the highest/lowest point of the trajectory, and the ordinate spacing is located at [(Y L1 -50%) *h L ), (Y L2 +20%*h L )] and [(Y L1 -20%*h L ), (Y L2 +50%*h L )].
  • the deletion system passes the trajectory.
  • the recognition algorithm determines coordinates of the first track point and the first three track inflection points from the track coordinate sequence, and then sequentially confirms whether the vertical coordinate of the first track point is located according to the deletion gesture recognition rule [(Y L2 -20%*h L ), (Y L2 +50%*h L )], and the coordinates of the first track inflection point of the first three track inflection points are located to the right of the coordinates of the first track point, And the ordinate is in the range of [(Y L1 -50%*h L ), (Y L2 +20%*h L )], whether the coordinates of the second locus inflection point are located to the right of the coordinates of the first locus inflection point, and Whether the ordinate interval is within the range of [(Y L2 -20%*h L ), (Y L2 +50%*h L )], and the coordinates of the first track inflection point of the first three track inflection points are located to the right of
  • step S4 the deleting system deletes the characters in the touch screen area corresponding to the track coordinate sequence within the range of the amplitude threshold when determining that the touch gesture is a delete gesture.
  • the deleting system detects that the deletion gesture operated by the user ends (ie, lifts from the touch screen)
  • the abscissa of the first track point in the track coordinate sequence is to the last track point.
  • the difference between the abscissas is the length of the trajectory coordinate sequence, and the characters covered in the range corresponding to the trajectory coordinate sequence are calculated according to the range enclosed by the length and the range of the amplitude threshold, and these are The text is deleted.
  • the deletion system determines the length of the character to be deleted according to the ⁇ a1, . . . , an ⁇ trajectory coordinate sequence, and determines ⁇ a1, according to the length and the amplitude threshold range. ..,an ⁇
  • the text within the track coordinate sequence coverage ie "touch screen text delete gesture and" is deleted.
  • the deleting system does not detect a new touch gesture after exceeding a preset deletion execution time interval, and performs the deleting step S4.
  • the deletion execution time interval may be 500 ms or more.
  • the step S2 includes steps S21 and S22.
  • step S21 the deletion system detects whether the time interval of each adjacent continuous touch gesture portion in the touch gesture is less than a preset discontinuous time interval when the detected touch gesture is discontinuous.
  • the discontinuous time interval should be less than the delete execution time interval.
  • the discontinuous time interval is between [100,500].
  • the detecting system when detecting an irregular touch gesture that the user slides on the touch screen, acquires the coordinates of each track point that the touch gesture passes, while identifying the user on the touch screen. Pressing, lifting action to determine that the touch gesture is discontinuous, and when detecting that the touch gesture is discontinuous, further detecting whether a time interval of each adjacent continuous touch gesture portion is less than the discontinuity The time interval, if yes, continues to step S22, and if not, it is determined that the touch gesture is over.
  • step S22 the deletion system determines that all the track points in the trajectory coordinate sequence corresponding to the touch gesture are determined when the time interval of each successive touch gesture portion is less than the preset discontinuous time interval. Located within the amplitude threshold range.
  • the detecting system determines whether all the track points in the trajectory coordinate sequence corresponding to the touch gesture are located when the time interval of each successive touch gesture portion is less than a preset discontinuous time interval. Within the range of the amplitude threshold, if yes, step S3 is performed, and if not, the touch gesture is determined to be an invalid gesture.
  • the deleting system performs step S3 to determine whether the touch gesture swiped by the user is a delete gesture. If yes, the touch gesture is determined to be a delete gesture, and step S41 is performed; otherwise, the interval between the touch gestures is determined to be Within the discontinuous time interval, but the touch gesture is an invalid gesture.
  • the deletion system uses a trajectory algorithm to obtain coordinates of the first trajectory point, the highest N points and the lowest points of the first N trajectories from the trajectory coordinate sequence, and determines whether the touch gesture is based on a preset deletion gesture recognition rule. To delete the gesture.
  • deletion system may select multiple track key points from a series of track coordinates corresponding to a continuous touch gesture portion, and perform gesture recognition, and the deletion system may Only by identifying that the first consecutive touch gesture portion is a delete gesture, determining that the touch gesture composed of the discontinuous touch gesture portions is a delete gesture;
  • the deleting system may also select a plurality of trajectory key points from each trajectory coordinate corresponding to the plurality of consecutive touch gesture portions, and the deleting system may determine that the discontinuity is determined by identifying a plurality of consecutive touch gesture portions. Whether the touch gesture formed by each of the touch gesture portions is a delete gesture.
  • step S41 the determining system determines, when the touch gesture is a delete gesture, a touch screen area corresponding to each of the track coordinate sequences within the range of the amplitude threshold, and gives a text in the touch screen area delete.
  • the trajectory coordinates of the trajectory coordinate sequence include: ⁇ a11, a21, a31, a61, a71, a81 ⁇ , then the deletion system is based on each of ⁇ a11, a21, a31 ⁇ , and ⁇ a61, a71, a81 ⁇
  • the touch screen area surrounded by the first coordinate and the last coordinate and the amplitude threshold range are calculated and deleted in the area enclosed by each of them.
  • the present invention provides an electronic device having a touch screen.
  • the electronic device 1 with the touch screen 11 includes, but is not limited to, a mobile phone, a tablet computer, and the like.
  • the hardware included in the electronic device 1 includes a processor (for example, a chip including a CPU), a memory (for example, a FLASH memory, a memory, etc.), a microphone, a speaker, a touch screen (also referred to as a touch sensitive display or a touch display), and Sensors, players, audio circuits, wireless communication modules, system buses, and input and output ports.
  • the electronic device 1 includes a preprocessing module 12, a gesture detection module 13, a gesture determination module 14, and a deletion module 15.
  • the pre-processing module 12 is configured to set an amplitude threshold range of the deletion gesture according to the size of the text displayed on the touch screen 11.
  • the pre-processing module 12 includes a memory, a processor, and related circuits and software for interacting with each other.
  • the processor in the pre-processing module 12 stores the current display stored in the memory.
  • Information such as text size, line spacing, word spacing, etc., and calculating the width, length, and coordinate interval on the touch screen 11 according to the size of the touch screen 11, and the length, width, and coordinates
  • the range formed by the interval is set to the range of the amplitude threshold.
  • the amplitude threshold range may also be only a threshold range of the height of each line of text.
  • the range of amplitude thresholds may also range up and down by a number of scales based on the height of the text.
  • the amplitude threshold ranges from [(Y L1 -50%*h L ), (Y L2 +20%*h L )] or [(Y L2 -20%*h L ), (Y L2 +50% In the range *h L )], Y L1 is the top ordinate of the text line, Y L2 is the bottom ordinate of the text line, and h L is the height of the text.
  • the gesture detecting module 13 is configured to convert the detected irregular touch gesture that the user slides on the touch screen 11 into a corresponding trajectory coordinate sequence, and determine that all the trajectory points in the trajectory coordinate sequence are located. Within the range of amplitude thresholds.
  • the gesture detection module 13 includes a touch screen sensor, a processor, a memory, and related circuits and software for interacting with each other.
  • the touch screen sensor in the gesture detecting module 13 provides the trajectory coordinate sequence of the touch gesture to the processor, and the processor side And storing the trajectory coordinate sequence in the memory, and detecting, according to the acquired trajectory coordinate sequence, whether all corresponding trajectory points are located within the amplitude threshold range, and when all trajectory points are always within the amplitude threshold range, continuing Step S3 is performed, otherwise, the touch gesture is determined to be invalid.
  • the touch gesture includes, but is not limited to, an irregular wave shape, an irregular fold line, or an irregular spiral shape.
  • the gesture detection module 13 follows the preset coordinate origin of the touch screen 11 along with the touch gesture. Obtaining a corresponding trajectory coordinate sequence, and determining a corresponding character line according to the first M coordinates in the trajectory coordinate sequence, and determining whether the trajectory points corresponding to all the coordinates in the trajectory coordinate sequence all fall into the amplitude threshold Within the range, if yes, proceed to step S3, otherwise, the touch gesture is determined to be invalid.
  • the gesture determining module 14 is configured to determine coordinates of a plurality of track key points from all track points of the track coordinate sequence when the gesture detecting module 13 determines that the touch gesture is a delete gesture, and in each of the When the coordinates of the trajectory key point satisfy the preset deletion gesture recognition rule, the touch gesture is determined to be a deletion gesture.
  • the gesture determining module 14 includes a memory, a processor, and related circuits and software for interacting with each other.
  • the trajectory key point includes any intention to reflect an irregular touch gesture swept by the user is a key point of deleting the text.
  • the track key points may be inserted, the first track point, and the first N track inflection points.
  • the user is accustomed to use a spiral gesture to slide over the displayed text, and the track key points may include: a first track point, a top N track highest/lowest point, and the like.
  • the selection of the trajectory key points may be one of the first trajectory point, the first N trajectory inflection points, and the first N trajectory highest/lowest points, and N is a preset quantity.
  • the deleting gesture recognition rule further comprises: a time interval between each track key point is between [0, 300 ms].
  • the preset deletion gesture recognition rule includes but is not limited to one or any combination of the following:
  • the ordinate of the first track point in the trajectory coordinate sequence is located in the range [(Y L2 -20%*h L ), (Y L2 +50%*h L )], where Y L2 is the distance The bottom vertical coordinate of the text line with the closest coordinate of the first track point, h L is the height of the text;
  • the coordinates of the first track inflection point or the track highest/lowest point in the track coordinate sequence are located to the right of the coordinates of the first track point, and the ordinate is located at [(Y L1 -50%*h L ) , (Y L2 +20%*h L )], wherein Y L1 is the top ordinate of the line of text closest to the coordinate of the first track point;
  • the coordinates of the subsequent locus inflection point or the highest/lowest point of the trajectory coordinate sequence are located to the right of the coordinates of the previous locus inflection point or the highest/lowest point of the trajectory, and the ordinate spacing is located at [(Y L1 -50%) *h L ), (Y L2 +20%*h L )] and [(Y L1 -20%*h L ), (Y L2 +50%*h L )].
  • the gesture determination module 14 Determining the coordinates of the first track point and the first three track inflection points from the track coordinate sequence by the track recognition algorithm, and sequentially confirming whether the vertical coordinate of the first track point is located in the [[ Y L2 -20%*h L ), (Y L2 +50%*h L )], and the coordinates of the first track inflection point of the first three track inflection points are located at the coordinates of the first track point.
  • the ordinate is in the range of [(Y L1 -50%*h L ), (Y L2 +20%*h L )], and the coordinates of the second locus inflection point are located to the right of the coordinates of the first locus inflection point And whether the ordinate interval is in the range of [(Y L1 -20%*h L ), (Y L2 +50%*h L )], whether the coordinates of the third track inflection point are located at the coordinates of the second locus inflection point right, and the ordinate is located spaced [(Y L1 -50% * h L), (Y L2 + 20% * h L)] in the range of If all, then finds that the touch gesture for deletion gesture, if at least one of which does not meet the appropriate conditions, finds that the touch gesture is invalid.
  • the deleting module 15 is configured to delete the text in the touch screen area corresponding to the track coordinate sequence within the range of the amplitude threshold when the gesture determining module 14 determines that the touch gesture is a delete gesture.
  • the deletion module 15 includes a touch screen sensor, a memory, a processor, and related circuits and software for interacting with each other.
  • the processor determines that the deletion gesture ends, The processor uses a difference between an abscissa of a first track point in the track coordinate sequence and an abscissa of a last track point as a length of the track coordinate sequence, and the length and the range of the threshold range are The enclosed range is used to calculate the characters covered in the range corresponding to the track coordinate sequence, and the characters are deleted.
  • the deleting module 15 determines the length of the character to be deleted according to the ⁇ a1, . . . , an ⁇ trajectory coordinate sequence, and determines ⁇ a1 according to the length and the amplitude threshold range. ..., an ⁇ the text within the track coordinate sequence coverage (ie "touch screen 11 screen text delete gesture and") and delete it.
  • the deleting module 15 does not detect a new touch gesture after exceeding a preset deletion execution time interval, and deletes the corresponding text.
  • the deletion execution time interval may be 500 ms or more.
  • the irregular touch gesture that is swiped is discontinuous.
  • the gesture detection module 13 includes: a first detection sub-module and a second detection sub-module (none of which are not shown).
  • the first detecting submodule detects whether the time interval of each adjacent continuous touch gesture portion in the touch gesture is less than a preset discontinuous time interval when the detected touch gesture is discontinuous.
  • the discontinuous time interval should be less than the delete execution time interval.
  • the discontinuous time interval is between [100,500].
  • the first detecting sub-module acquires the coordinates of each track point that the touch gesture passes, while identifying the user in the Depressing the action on the touch screen to determine that the touch gesture is discontinuous, and when detecting that the touch gesture is discontinuous, further detecting each adjacent continuous touch hand Whether the time interval of the potential portion is smaller than the discontinuous time interval, if yes, proceeding to step S22, and if not, determining that the touch gesture ends.
  • the second detecting submodule is configured to determine, when detecting that the time interval of each successive touch gesture portion is less than a preset discontinuous time interval, determining all track points in the trajectory coordinate sequence corresponding to the touch gesture Located within the amplitude threshold range.
  • the second detecting sub-module determines all the track points in the trajectory coordinate sequence corresponding to the touch gesture when the time interval of detecting each successive touch gesture portion is less than a preset discontinuous time interval. Whether it is within the range of the amplitude threshold, if yes, the command is output to activate the gesture confirmation module 14, and if not, the touch gesture is determined to be an invalid gesture.
  • the gesture confirmation module 14 determines whether each touch gesture swept by the user is a delete gesture, and if so, determines that the touch gesture is a delete gesture, and outputs an instruction to activate the deletion module 15, and vice versa
  • the interval between the touch gestures is within the discontinuous time interval, but the touch gesture is an invalid gesture.
  • the gesture determining module 14 uses the trajectory algorithm to obtain the coordinates of the first trajectory point, the top N trajectory highest point and the lowest point from the trajectory coordinate sequence, and determines the touch according to a preset deletion gesture recognition rule. Whether the gesture is a delete gesture.
  • the gesture determining module 14 can select a plurality of trajectory key points from a series of trajectory coordinates corresponding to a continuous touch gesture portion, and perform gesture recognition.
  • the determining module 14 may determine that the touch gesture composed of the discontinuous touch gesture portions is a delete gesture only by identifying the first consecutive touch gesture portion as a delete gesture;
  • the gesture determining module 14 may also select a plurality of trajectory key points from each trajectory coordinate corresponding to the plurality of consecutive touch gesture portions, and the gesture determining module 14 may identify a plurality of consecutive touch gesture portions. It is determined whether the touch gesture composed of the discontinuous touch gesture portions is a delete gesture.
  • the deleting module 15 is further configured to: when determining that the touch gesture is a delete gesture, determine a touch screen area corresponding to each of the track coordinate sequences within the range of the amplitude threshold, and delete the text in the touch screen area .
  • the trajectory coordinates of the trajectory coordinate sequence include: ⁇ a11, a21, a31, a61, a71, a81 ⁇
  • the deletion module 15 is based on ⁇ a11, a21, a31 ⁇ , and ⁇ a61, a71, a81 ⁇ First coordinate
  • the touch screen area surrounded by the last coordinate and the amplitude threshold range, and the characters in the surrounding area are calculated and deleted.
  • the method for deleting text displayed on a touch screen and the electronic device of the present invention are applied to the touch screen according to the habit of the person using the stroke to identify the deletion gesture, which can be effectively and quickly determined from various touch gestures. Deleting the gesture; further deleting the text corresponding to the area according to the area formed by the coordinates of the deletion gesture, thereby achieving the purpose of deleting the text; in addition, setting a more detailed recognition rule for the specific gesture can be more accurate and faster
  • the present invention can identify a plurality of discontinuous deletion gestures in a recognition manner. It effectively simplifies the identification process, avoids the repetitive work of the system, and improves the user experience. Therefore, the present invention effectively overcomes various shortcomings in the prior art and has high industrial utilization value.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

提供一种删除显示在触摸屏上的文字的方法及电子设备。根据所述方法,所述电子设备根据显示在自身触摸屏上的文字的尺寸设定识别删除手势的幅度阈值范围;将所检测到的用户在所述触摸屏上滑过的不规则的触摸手势转换为相应的轨迹坐标序列,并确定所述轨迹坐标序列中的所有轨迹点都位于所述幅度阈值范围内;从所述轨迹坐标序列的所有轨迹点中确定多个轨迹关键点的坐标,并在各所述轨迹关键点的坐标满足预设的删除手势识别规则时,确定所述触摸手势为删除手势;在确定所述触摸手势为删除手势时,在所述幅度阈值范围内将所述轨迹坐标序列所对应的所述触摸屏区域内的文字予以删除。利用触摸屏幕的优势,结合人类删除电子设备所显示的文字。

Description

删除显示在触摸屏上的文字的方法及电子设备 技术领域
本发明涉及一种电子设备,特别是涉及一种删除显示在触摸屏上的文字的方法及电子设备。
背景技术
随着产业化的发展,越来越多的具有触摸屏的电子设备成为现代人生活的必须品,特别是在个人移动终端方面。屏幕尺寸不断提升,分辨率逐渐增加,精度逐渐提高。具有触摸屏的电子设备类的用户终端逐渐融合了PC机和手机的功能,在人们的生活中占有越来越重要的地位。而且根据现在的发展趋势,触摸屏幕的手势方式最终将取代传统的鼠标和键盘,成为未来具有触摸屏的电子设备用户的主流的输入方式。
例如在文字编辑方面,越来越多的应用在具有触摸屏的电子设备上得到实现和应用。传统的基于PC机的退格的文字删除方式面临着其自身的不足和对具有触摸屏的电子设备的不适应。用户需要将光标移动到删除文字段落的最后,然后逐个点击删除文字;或者长按键盘上的退格键删除整段文字。这种方式本身基于鼠标和键盘手势,完全没有发挥到触屏的优势和特点,同时也无法兼顾用户整块删除文字的需求。
在此之前的手势中,部分技术和专利或者提出采用正向直线移动触摸点的方式删除文字,或者提出逆向直线删除文字。这些手势在应用中多被用于切换屏幕上,缺乏其对删除文字的认可,最终未见有在具体应用中有所延续和发展。
因此,如何开发一种更加简单、高效和直接的文字删除方式并能得以发展和应用,以提高用户在手势触屏文字应用中删除相应的文字的体验,实已成为本领域从业者亟待解决的技术问题。
发明的公开
鉴于以上所述现有技术的缺点,本发明的目的在于提供一种删除显示在触摸屏上的文字的方法及电子设备,用于解决现有技术中不能利用触摸屏幕的优势来达到删除文字目的的问题。
为实现上述目的及其他相关目的,本发明提供一种删除显示在触摸屏上的文字的方法,其包括:根据显示在所述触摸屏上的文字的尺寸设定识别删除手势的幅度阈值范围;将所检测到的用户在所述触摸屏上滑过的不规则的触摸手势转换为相应的轨迹坐标序列,并确定所述轨迹坐标序列中的所有轨迹点都位于所述幅度阈值范围内;从所述轨迹坐标序列的所有轨迹点中确定多个轨迹关键点的坐标,并在各所述轨迹关键点的坐标满足预设的删除手势识别规则时,确定所述触摸手势为删除手势;在确定所述触摸手势为删除手势时,在所述幅度阈值范围内将所述轨迹坐标序列所对应的所述触摸屏区域内的文字予以删除。
优选地,所述幅度阈值范围包括:以文字高度为基础上下浮动一预设比例的范围。
优选地,在检测到所述不规则的触摸手势不连续时,所述识别删除手势的方法还包括:在所检测到的所述触摸手势不连续时,检测所述触摸手势中各相邻的连续的触摸手势部分的时间间隔是否小于预设的不连续时间间隔;在检测到各连续的所述触摸手势部分的时间间隔小于预设的不连续时间间隔时,确定所述触摸手势所对应的轨迹坐标序列中的所有轨迹点都位于所述幅度阈值范围内;以及在确定所述触摸手势为删除手势时,确定在所述幅度阈值范围内各所述轨迹坐标序列所对应的触摸屏区域,并将所述触摸屏区域内的文字予以删除。
优选地,还包括:在超过预设的删除执行时间间隔后未检测到新的触摸手势,执行所述删除步骤。
优选地,所述轨迹关键点包括:第一个轨迹点、前N个轨迹拐点、前N个轨迹最高/最低点中的一种或者以上任意组合。
优选地,预设的删除手势识别规则包括以下中的一种或者任意组合:所述轨迹坐标序列中的第一个轨迹点的纵坐标位于[(YL2-20%*hL),(YL2+50%*hL)]范围内,其中,YL2为相距所述第一个轨迹点坐标最近的文字行底部纵坐标,hL为所述文字的高度;所述轨迹坐标序列中的 第一个轨迹拐点或轨迹最高/最低点的坐标位于所述第一个轨迹点的坐标右侧、且纵坐标位于[(YL1-50%*hL),(YL2+20%*hL)]范围内,其中,YL1为相距所述第一个轨迹点坐标最近的文字行顶部纵坐标,所述轨迹坐标序列中的后续的轨迹拐点或轨迹最高/最低点的坐标位于前一个轨迹拐点或轨迹最高/最低点的坐标右侧、且纵坐标间隔的位于[(YL1-20%*hL),(YL2+50%*hL)]和[(YL1-50%*hL),(YL2+20%*hL)]范围内。
优选地,预设的删除手势识别规则还包括:各轨迹关键点之间的时间间隔在[0,300ms]之间。
基于上述目的,本发明还提供一种具有触摸屏的电子设备,其至少包括:预处理模块,用于根据显示在所述触摸屏上的文字的尺寸设定识别删除手势的幅度阈值范围;手势检测模块,用于将所检测到的用户在所述触摸屏上滑过的不规则的触摸手势转换为相应的轨迹坐标序列,并确定所述轨迹坐标序列中的所有轨迹点都位于所述幅度阈值范围内;手势确定模块,用于从所述轨迹坐标序列的所有轨迹点中确定多个轨迹关键点的坐标,并在各所述轨迹关键点的坐标满足预设的删除手势识别规则时,确定所述触摸手势为删除手势;删除模块,用于在所述手势确定模块确定所述触摸手势为删除手势时,在所述幅度阈值范围内将所述轨迹坐标序列所对应的所述触摸屏区域内的文字予以删除。
优选地,所述幅度阈值范围包括:以文字高度为基础上下浮动一预设比例的范围。
优选地,所述手势检测模块包括:第一检测子模块,用于在所检测到的所述触摸手势不连续时,检测所述触摸手势中各相邻的连续的触摸手势部分的时间间隔是否小于预设的不连续时间间隔;第二检测子模块,用于在检测到各连续的所述触摸手势部分的时间间隔小于预设的不连续时间间隔时,确定所述触摸手势所对应的轨迹坐标序列中的所有轨迹点都位于所述幅度阈值范围内;以及
所述删除模块用于在确定所述触摸手势为删除手势时,确定在所述幅度阈值范围内各所述轨迹坐标序列所对应的触摸屏区域,并将所述触摸屏区域内的文字予以删除。
优选地,所述删除模块还用于:在超过预设的删除执行时间间隔后未检 测到新的触摸手势,将相应的文字予以删除。
优选地,所述轨迹关键点包括:第一个轨迹点、前N个轨迹拐点、前N个轨迹最高/最低点中的一种或者以上任意组合。
优选地,预设的删除手势识别规则包括以下中的一种或者任意组合;所述轨迹坐标序列中的第一个轨迹点的纵坐标位于[(YL2-20%*hL),(YL2+50%*hL)]范围内,其中,YL2为相距所述第一个轨迹点坐标最近的文字行底部纵坐标,hL为所述文字的高度;所述轨迹坐标序列中的第一个轨迹拐点或轨迹最高/最低点的坐标位于所述第一个轨迹点的坐标右侧、且纵坐标位于[(YL1-50%*hL),(YL2+20%*hL)]范围内,其中,YL1为相距所述第一个轨迹点坐标最近的文字行顶部纵坐标;所述轨迹坐标序列中的后续的轨迹拐点或轨迹最高/最低点的坐标位于前一个轨迹拐点或轨迹最高/最低点的坐标右侧、且纵坐标间隔的位于[(YL1-50%*hL),(YL2+20%*hL)]和[(YL1-20%*hL),(YL2+50%*hL)]范围内。
优选地,预设的删除手势识别规则还包括:各轨迹关键点之间的时间间隔在[0,300ms]之间。
如上所述,本发明通过识别锯齿型触摸轨迹来实现对于文字的删除,即通过模拟人类在纸质文字载体上使用橡皮擦除文字,和使用笔迹遮住文字的方式,根据触摸轨迹相对于文字的行高和字宽的比例,在短时间中形成锯齿状轨迹,判断用户对于该段文字的删除意图来达到删除目的,本发明利用触摸屏幕的优势,结合人类删除电子设备所显示的文字,进而提高用户在手势触屏文字应用中删除相应的文字的体验。
附图的简要说明
图1显示为本发明的删除显示在触摸屏上的文字的方法的流程图。
图2显示为本发明的删除显示在触摸屏上的文字的方法中触摸手势的示意图。
图3显示为本发明的删除显示在触摸屏上的文字的方法的一种优选方案的流程图。
图4显示为本发明的具有触摸屏的电子设备的结构示意图。
元件标号说明
1                    具有触摸屏的电子设备
11                   触摸屏
12                   预处理模块
13                   手势检测模块
14                   手势确定模块
15                   删除模块
S1~S4               步骤
实现本发明的最佳方式
以下通过特定的具体实例说明本发明的实施方式,本领域技术人员可由本说明书所揭露的内容轻易地了解本发明的其他优点与功效。本发明还可以通过另外不同的具体实施方式加以实施或应用,本说明书中的各项细节也可以基于不同观点与应用,在没有背离本发明的精神下进行各种修饰或改变。需说明的是,在不冲突的情况下,以下实施例及实施例中的特征可以相互组合。
实施例一
如图1所示,本发明提供一种删除显示在触摸屏上的文字的方法。所述删除方法主要由删除系统来执行,所述删除系统为安装在具有触摸屏的具有触摸屏的电子设备中的应用软件,所述具有触摸屏的电子设备包括但不限于:手机、平板电脑等。
在步骤S1中,所述删除系统根据显示在所述触摸屏上的文字的尺寸设定识别删除手势的幅度阈值范围。
具体地,所述删除系统可从所述具有触摸屏的电子设备中的阅读软件中获取当前显示的文字字号、行间距、字间距等信息,并根据所述触摸屏的尺寸来计算每行文字的宽度、长度及在所述触摸屏上的坐标区间,并将所述长度、宽度和坐标区间所构成的范围设定为所述幅度阈值范围。其中,所述幅度阈值范围还可以仅为每行文字高度的阈值范围。
优选地,所述幅度阈值范围还可以是以文字高度为基础上下浮动一预设比例的范围。例如,所述幅度阈值范围在[(YL1-50%*hL),(YL2+20%*hL)]或者 [(YL2-20%*hL),(YL2+50%*hL)]范围内,YL1为文字行顶部纵坐标,YL2为文字行底部纵坐标,hL为文字的高度。
在步骤S2中,所述删除系统将所检测到的用户在所述触摸屏上滑过的不规则的触摸手势转换为相应的轨迹坐标序列,并确定所述轨迹坐标序列中的所有轨迹点都位于所述幅度阈值范围内。
具体地,当用户在所述触摸屏上滑出一条不规则的触摸手势时,所述删除系统一边获取所述触摸手势的轨迹坐标序列,一边根据所获取的轨迹坐标序列检测所对应的所有轨迹点是否位于所述幅度阈值范围内,当所有轨迹点始终位于所述幅度阈值范围内,则继续执行步骤S3,反之,则认定该触摸手势无效。其中,所述触摸手势包括但不限于不规则的波浪形、不规则的折线、或不规则的螺旋形等。
例如,当用户在所述触摸屏所显示的第二行文字上滑出一条上下波动的触摸手势,所述删除系统根据预设的所述触摸屏的坐标原点随着所述触摸手势来获取相应的轨迹坐标序列,并根据所述轨迹坐标序列中的前M个坐标确定相应的文字行,再确定所述轨迹坐标序列中的所有坐标所对应的轨迹点是否均落入所述幅度阈值范围内,若是,则继续执行步骤S3,反之,则认定该触摸手势无效。
在步骤S3中,所述删除系统从所述轨迹坐标序列的所有轨迹点中确定多个轨迹关键点的坐标,并在各所述轨迹关键点的坐标满足预设的删除手势识别规则时,确定所述触摸手势为删除手势。
其中,所述轨迹关键点包括任何能够反应用户所滑过的不规则的触摸手势的意愿是删除文字的关键点。例如,用户习惯用不规则的折线手势来滑过所显示的文字,则所述轨迹关键点可以包括:第一个轨迹点、前N个轨迹拐点。又如,用户习惯用螺旋线手势来滑过所显示的文字,则所述轨迹关键点可以包括:第一轨迹点、前N个轨迹最高/最低点等。由上可见,轨迹关键点的选取可以是第一个轨迹点、前N个轨迹拐点、前N个轨迹最高/最低点中的一种或任意组合,N为预设的数量。优选地,所述删除手势识别规则还包括:各轨迹关键点之间的时间间隔在[0,300ms]之间。
其中,预设的删除手势识别规则包括但不限于以下一种或任意组合:
1)所述轨迹坐标序列中的第一个轨迹点的纵坐标位于 [(YL2-20%*hL),(YL2+50%*hL)]范围内,其中,YL2为相距所述第一个轨迹点坐标最近的文字行底部纵坐标,hL为所述文字的高度;
2)所述轨迹坐标序列中的第一个轨迹拐点或轨迹最高/最低点的坐标位于所述第一个轨迹点的坐标右侧、且纵坐标位于[(YL1-50%*hL),(YL2+20%*hL)]范围内,其中,YL1为相距所述第一个轨迹点坐标最近的文字行顶部纵坐标;
3)所述轨迹坐标序列中的后续的轨迹拐点或轨迹最高/最低点的坐标位于前一个轨迹拐点或轨迹最高/最低点的坐标右侧、且纵坐标间隔的位于[(YL1-50%*hL),(YL2+20%*hL)]和[(YL1-20%*hL),(YL2+50%*hL)]范围内。
例如,针对大多数用户的滑动习惯,即如图2所示,大多用户更习惯于使用从左下至右斜上开始,往复折线的触摸手势来反映其删除文字的意愿,所述删除系统通过轨迹识别算法从所述轨迹坐标序列中确定第一个轨迹点和前三个轨迹拐点的坐标,再根据上述删除手势识别规则,依次确认所述第一个轨迹点的纵坐标是否位于[(YL2-20%*hL),(YL2+50%*hL)]范围内,且前三个轨迹拐点中第一个轨迹拐点的坐标是否位于所述第一个轨迹点的坐标右侧、且纵坐标位于[(YL1-50%*hL),(YL2+20%*hL)]范围内,第二个轨迹拐点的坐标是否位于第一个轨迹拐点的坐标右侧、且纵坐标间隔的是否位于[(YL1-20%*hL),(YL2+50%*hL)]范围内,第三个轨迹拐点的坐标是否位于第二个轨迹拐点的坐标右侧、且纵坐标间隔的是否位于[(YL1-50%*hL),(YL2+20%*hL)]范围内,若全部是,则认定该触摸手势为删除手势,若其中有至少一个不满足相应的条件,则认定该触摸手势无效。
在步骤S4中,所述删除系统在确定所述触摸手势为删除手势时,在所述幅度阈值范围内将所述轨迹坐标序列所对应的所述触摸屏区域内的文字予以删除。
具体地,当所述删除系统检测到用户所操作的删除手势结束(即从所述触摸屏上抬起)时,将所述轨迹坐标序列中第一个轨迹点的横坐标至最后一个轨迹点的横坐标的差作为所述轨迹坐标序列的长度,并根据所述长度及所述幅度阈值范围所围成的范围来计算所述轨迹坐标序列所对应的所述范围内覆盖的文字,并将这些文字予以删除。
例如,如图2所示,所述删除系统根据{a1,...,an}轨迹坐标序列确定所要删除的文字的长度,并根据所述长度和所述幅度阈值范围,确定{a1,...,an} 轨迹坐标序列覆盖范围内的文字(即“触摸屏幕文字删除手势和”),并予以删除。
优选地,所述删除系统在超过预设的删除执行时间间隔后未检测到新的触摸手势,执行所述删除步骤S4。其中,所述删除执行时间间隔可以是500ms以上。
实施例二
与实施例一不同的是,如图3所示,当用户要删除的文字为连续的多行、或跳字删除时,所滑过的不规则的触摸手势为不连续的。针对该种情况,所述步骤S2包括:步骤S21、S22。
在步骤S21中,所述删除系统在所检测到的所述触摸手势不连续时,检测所述触摸手势中各相邻的连续的触摸手势部分的时间间隔是否小于预设的不连续时间间隔。其中,所述不连续时间间隔应小于删除执行时间间隔。例如,所述不连续时间间隔在[100,500]之间。
具体地,所述删除系统在检测用户在所述触摸屏上滑过的不规则的触摸手势时,一边获取所述触摸手势所经过的每个轨迹点的坐标,一边通过识别用户在所述触摸屏上的按下、抬起的动作来确定所述触摸手势是不连续的,当检测到所述触摸手势不连续时,进一步检测各相邻的连续的触摸手势部分的时间间隔是否小于所述不连续时间间隔,若是,则继续步骤S22,若否,则认定所述触摸手势结束。
在步骤S22中,所述删除系统在检测到各连续的所述触摸手势部分的时间间隔小于预设的不连续时间间隔时,确定所述触摸手势所对应的轨迹坐标序列中的所有轨迹点都位于所述幅度阈值范围内。
具体地,所述删除系统在检测到各连续的所述触摸手势部分的时间间隔小于预设的不连续时间间隔时,确定所述触摸手势所对应的轨迹坐标序列中的所有轨迹点是否都位于所述幅度阈值范围内,若是,则执行步骤S3,若否,则认定所述触摸手势为无效手势。
接着,所述删除系统执行步骤S3来判断用户所滑过的触摸手势是否为删除手势,若是,则认定触摸手势均为删除手势,并执行步骤S41,反之,则认定触摸手势所间隔时间在所述不连续时间间隔以内,但触摸手势为无效手势。
例如,所述删除系统利用轨迹算法从所述轨迹坐标序列中取得第一个轨迹点、前N个轨迹最高点和最低点的坐标,并根据预设的删除手势识别规则确定所述触摸手势是否为删除手势。
需要说明的是,本领域技术人员应该理解,所述删除系统可以从一个连续的触摸手势部分所对应的一系列轨迹坐标中选取多个轨迹关键点,并进行手势识别,则所述删除系统可以仅通过识别第一个连续的触摸手势部分为删除手势,则认定由不连续的各触摸手势部分所构成的触摸手势为删除手势;
另外,所述删除系统也可以从多个连续的触摸手势部分所对应的各轨迹坐标中选取多个轨迹关键点,则所述删除系统可以通过识别多个连续的触摸手势部分来确定由不连续的各触摸手势部分所构成的触摸手势是否为删除手势。
在步骤S41中,所述删除系统在确定所述触摸手势为删除手势时,确定在所述幅度阈值范围内各所述轨迹坐标序列所对应的触摸屏区域,并将所述触摸屏区域内的文字予以删除。
例如,所述轨迹坐标序列的轨迹坐标包括:{a11,a21,a31,a61,a71,a81},则所述删除系统根据{a11,a21,a31}、以及{a61,a71,a81}中各自第一个坐标和最后一个坐标及所述幅度阈值范围所围的触摸屏区域,计算各自所围区域内的文字,并予以删除。
实施例三
如图4所示,本发明提供一种具有触摸屏的电子设备。所述具有触摸屏11的电子设备1包括但不限于:手机、平板电脑等。所述电子设备1包含的硬件包括处理器(例如包含CPU的芯片),存储器(例如为FLASH存储器、内存等),麦克风,扬声器,触摸屏(亦称触敏显示屏或触控显示屏)及其传感器,播放器,音频电路,无线通信模块,系统总线以及输入输出端口等。所述电子设备1包括:预处理模块12、手势检测模块13、手势确定模块14、删除模块15。
所述预处理模块12用于根据显示在所述触摸屏11上的文字的尺寸设定识别删除手势的幅度阈值范围。于本实施例中,所述预处理模块12包括存储器、处理器以及二者进行交互的相关电路及软件。
具体地,所述预处理模块12中的处理器将所述存储器中所存储的当前显 示的文字字号、行间距、字间距等信息,并根据所述触摸屏11的尺寸来计算每行文字的宽度、长度及在所述触摸屏11上的坐标区间,并将所述长度、宽度和坐标区间所构成的范围设定为所述幅度阈值范围。其中,所述幅度阈值范围还可以仅为每行文字高度的阈值范围。
优选地,所述幅度阈值范围还可以是以文字高度为基础上下浮动若干比例的范围。例如,所述幅度阈值范围在[(YL1-50%*hL),(YL2+20%*hL)]或者[(YL2-20%*hL),(YL2+50%*hL)]范围内,YL1为文字行顶部纵坐标,YL2为文字行底部纵坐标,hL为文字的高度。
所述手势检测模块13用于将所检测到的用户在所述触摸屏11上滑过的不规则的触摸手势转换为相应的轨迹坐标序列,并确定所述轨迹坐标序列中的所有轨迹点都位于所述幅度阈值范围内。于本实施例中,所述手势检测模块13包括触摸屏传感器、处理器、存储器以及用于彼此交互的相关电路及软件。
具体地,当用户在所述触摸屏11上滑出一条不规则的触摸手势时,所述手势检测模块13中的触摸屏传感器将所述触摸手势的轨迹坐标序列提供给处理器,所述处理器一边将所述轨迹坐标序列暂存在存储器中,一边根据所获取的轨迹坐标序列检测所对应的所有轨迹点是否位于所述幅度阈值范围内,当所有轨迹点始终位于所述幅度阈值范围内,则继续执行步骤S3,反之,则认定该触摸手势无效。其中,所述触摸手势包括但不限于不规则的波浪形、不规则的折线、或不规则的螺旋形等。
例如,当用户在所述触摸屏11所显示的第二行文字上滑出一条上下波动的触摸手势,所述手势检测模块13根据预设的所述触摸屏11的坐标原点随着所述触摸手势来获取相应的轨迹坐标序列,并根据所述轨迹坐标序列中的前M个坐标确定相应的文字行,再确定所述轨迹坐标序列中的所有坐标所对应的轨迹点是否均落入所述幅度阈值范围内,若是,则继续执行步骤S3,反之,则认定该触摸手势无效。
所述手势确定模块14用于在所述手势检测模块13确定所述触摸手势为删除手势时,从所述轨迹坐标序列的所有轨迹点中确定多个轨迹关键点的坐标,并在各所述轨迹关键点的坐标满足预设的删除手势识别规则时,确定所述触摸手势为删除手势。于本实施例中,所述手势确定模块14包括存储器、处理器以及二者进行交互的相关电路及软件。
其中,所述轨迹关键点包括任何能够反应用户所滑过的不规则的触摸手势的意愿是删除文字的关键点。例如,用户习惯用不规则的折线手势来滑过所显示的文字,则所述轨迹关键点可以包插,第一个轨迹点、前N个轨迹拐点。又如,用户习惯用螺旋线手势来滑过所显示的文字,则所述轨迹关键点可以包括:第一轨迹点、前N个轨迹最高/最低点等。由上可见,轨迹关键点的选取可以是第一个轨迹点、前N个轨迹拐点、前N个轨迹最高/最低点中的一种或任意组合,N为预设的数量。优选地,所述删除手势识别规则还包括:各轨迹关键点之间的时间间隔在[0,300ms]之间。
其中,预设的删除手势识别规则包括但不限于以下一种或任意组合:
1)所述轨迹坐标序列中的第一个轨迹点的纵坐标位于[(YL2-20%*hL),(YL2+50%*hL)]范围内,其中,YL2为相距所述第一个轨迹点坐标最近的文字行底部纵坐标,hL为所述文字的高度;
2)所述轨迹坐标序列中的第一个轨迹拐点或轨迹最高/最低点的坐标位于所述第一个轨迹点的坐标右侧、且纵坐标位于[(YL1-50%*hL),(YL2+20%*hL)]范围内,其中,YL1为相距所述第一个轨迹点坐标最近的文字行顶部纵坐标;
3)所述轨迹坐标序列中的后续的轨迹拐点或轨迹最高/最低点的坐标位于前一个轨迹拐点或轨迹最高/最低点的坐标右侧、且纵坐标间隔的位于[(YL1-50%*hL),(YL2+20%*hL)]和[(YL1-20%*hL),(YL2+50%*hL)]范围内。
例如,针对大多数用户的滑动习惯,即如图2所示,大多用户更习惯于使用从左下至右斜上开始,往复折线的触摸手势来反映其删除文字的意愿,所述手势确定模块14通过轨迹识别算法从所述轨迹坐标序列中确定第一个轨迹点和前三个轨迹拐点的坐标,再根据上述删除手势识别规则,依次确认所述第一个轨迹点的纵坐标是否位于[(YL2-20%*hL),(YL2+50%*hL)]范围内,且前三个轨迹拐点中第一个轨迹拐点的坐标是否位于所述第一个轨迹点的坐标右侧、且纵坐标位于[(YL1-50%*hL),(YL2+20%*hL)]范围内,第二个轨迹拐点的坐标是否位于第一个轨迹拐点的坐标右侧、且纵坐标间隔的是否位于[(YL1-20%*hL),(YL2+50%*hL)]范围内,第三个轨迹拐点的坐标是否位于第二个轨迹拐点的坐标右侧、且纵坐标间隔的是否位于[(YL1-50%*hL),(YL2+20%*hL)]范围内,若全部是,则认定该触摸手势为删除手势,若其中有至少一个不满足相应的条件,则认定该触摸手势无效。
所述删除模块15用于在所述手势确定模块14确定所述触摸手势为删除手势时,在所述幅度阈值范围内将所述轨迹坐标序列所对应的所述触摸屏区域内的文字予以删除。于本实施例中,所述删除模块15包括、触摸屏传感器、存储器、处理器以及用于彼此交互的相关电路及软件。
具体地,当所述删除模块15中的触摸屏传感器不再输出用户所操作的删除手势的轨迹坐标(即从所述触摸屏11上抬起)时,所述处理器认定所述删除手势结束,则所述处理器将所述轨迹坐标序列中第一个轨迹点的横坐标至最后一个轨迹点的横坐标的差作为所述轨迹坐标序列的长度,并将所述长度及所述幅度阈值范围所围成的范围来计算所述轨迹坐标序列所对应的所述范围内覆盖的文字,并将这些文字予以删除。
例如,如图2所示,所述删除模块15根据{a1,...,an}轨迹坐标序列确定所要删除的文字的长度,并根据所述长度和所述幅度阈值范围,确定{a1,...,an}轨迹坐标序列覆盖范围内的文字(即“触摸屏11幕文字删除手势和”),并予以删除。
优选地,所述删除模块15在超过预设的删除执行时间间隔后未检测到新的触摸手势,将相应的文字予以删除。其中,所述删除执行时间间隔可以是500ms以上。
实施例四
与实施例三不同的是,当用户要删除的文字为连续的多行、或跳字删除时,所滑过的不规则的触摸手势为不连续的。
针对该种情况,所述手势检测模块13包括:第一检测子模块,第二检测子模块(均未予图示)。
所述第一检测子模块在所检测到的所述触摸手势不连续时,检测所述触摸手势中各相邻的连续的触摸手势部分的时间间隔是否小于预设的不连续时间间隔。其中,所述不连续时间间隔应小于删除执行时间间隔。例如,所述不连续时间间隔在[100,500]之间。
具体地,所述第一检测子模块在检测用户在所述触摸屏上滑过的不规则的触摸手势时,一边获取所述触摸手势所经过的每个轨迹点的坐标,一边通过识别用户在所述触摸屏上的按下、抬起的动作来确定所述触摸手势是不连续的,当检测到所述触摸手势不连续时,进一步检测各相邻的连续的触摸手 势部分的时间间隔是否小于所述不连续时间间隔,若是,则继续步骤S22,若否,则认定所述触摸手势结束。
所述第二检测子模块用于在检测到各连续的所述触摸手势部分的时间间隔小于预设的不连续时间间隔时,确定所述触摸手势所对应的轨迹坐标序列中的所有轨迹点都位于所述幅度阈值范围内。
具体地,所述第二检测子模块在检测到各连续的所述触摸手势部分的时间间隔小于预设的不连续时间间隔时,确定所述触摸手势所对应的轨迹坐标序列中的所有轨迹点是否都位于所述幅度阈值范围内,若是,则输出指令以启动手势确认模块14,若否,则认定所述触摸手势为无效手势。
接着,所述手势确认模块14来判断用户所滑过的各触摸手势是否为删除手势,若是,则认定触摸手势为删除手势,并输出指令以启动所述删除模块15,反之,则认定所述触摸手势所间隔时间在所述不连续时间间隔以内,但触摸手势为无效手势。
例如,所述手势确定模块14利用轨迹算法从所述轨迹坐标序列中取得第一个轨迹点、前N个轨迹最高点和最低点的坐标,并根据预设的删除手势识别规则确定所述触摸手势是否为删除手势。
需要说明的是,本领域技术人员应该理解,所述手势确定模块14可以从一个连续的触摸手势部分所对应的一系列轨迹坐标中选取多个轨迹关键点,并进行手势识别,则所述手势确定模块14可以仅通过识别第一个连续的触摸手势部分为删除手势,则认定由不连续的各触摸手势部分所构成的触摸手势为删除手势;
另外,所述手势确定模块14也可以从多个连续的触摸手势部分所对应的各轨迹坐标中选取多个轨迹关键点,则所述手势确定模块14可以通过识别多个连续的触摸手势部分来确定由不连续的各触摸手势部分所构成的触摸手势是否为删除手势。
所述删除模块15还用于在确定所述触摸手势为删除手势时,确定在所述幅度阈值范围内各所述轨迹坐标序列所对应的触摸屏区域,并将所述触摸屏区域内的文字予以删除。
例如,所述轨迹坐标序列的轨迹坐标包括:{a11,a21,a31,a61,a71,a81},则所述删除模块15根据{a11,a21,a31}、以及{a61,a71,a81}中各自第一个坐标 和最后一个坐标及所述幅度阈值范围所围的触摸屏区域,计算各自所围区域内的文字,并予以删除。
综上所述,本发明的删除显示在触摸屏上的文字的方法及电子设备,根据人们用笔划字的习惯应用到触摸屏上,来识别删除手势,能够有效、快速的从各种触摸手势中确定删除手势;进而根据删除手势的坐标所构成的区域将该区域所对应的文字予以删除,如此达到删除文字的目的;另外,针对特定的手势设定更细化的识别规则,能够更加准确、快速的识别删除手势;此外,针对实际应用中的换行删除、跳字删除等不连续的删除手势,并进行相应文字的删除,本发明能够以一种识别方式来识别多个不连续的删除手势,有效简化了识别步骤、避免系统的重复工作,同时提高了用户的体验度。所以,本发明有效克服了现有技术中的种种缺点而具高度产业利用价值。
上述实施例仅例示性说明本发明的原理及其功效,而非用于限制本发明。任何熟悉此技术的人士皆可在不违背本发明的精神及范畴下,对上述实施例进行修饰或改变。因此,举凡所属技术领域中具有通常知识者在未脱离本发明所揭示的精神与技术思想下所完成的一切等效修饰或改变,仍应由本发明的权利要求所涵盖。

Claims (14)

  1. 一种删除显示在触摸屏上的文字的方法,其特征在于,包括:
    根据显示在所述触摸屏上的文字的尺寸设定识别删除手势的幅度阈值范围;
    将所检测到的用户在所述触摸屏上滑过的不规则的触摸手势转换为相应的轨迹坐标序列,并确定所述轨迹坐标序列中的所有轨迹点都位于所述幅度阈值范围内;
    从所述轨迹坐标序列的所有轨迹点中确定多个轨迹关键点的坐标,并在各所述轨迹关键点的坐标满足预设的删除手势识别规则时,确定所述触摸手势为删除手势;
    在确定所述触摸手势为删除手势时,在所述幅度阈值范围内将所述轨迹坐标序列所对应的所述触摸屏区域内的文字予以删除。
  2. 根据权利要求1所述的删除显示在触摸屏上的文字的方法,其特征在于,所述幅度阈值范围包括:以文字高度为基础上下浮动一预设比例的范围。
  3. 根据权利要求1所述的删除显示在触摸屏上的文字的方法,其特征在于,包括:
    在所检测到的所述触摸手势不连续时,检测所述触摸手势中各相邻的连续的触摸手势部分的时间间隔是否小于预设的不连续时间间隔;
    在检测到各连续的所述触摸手势部分的时间间隔小于预设的不连续时间间隔时,确定所述触摸手势所对应的轨迹坐标序列中的所有轨迹点都位于所述幅度阈值范围内;以及
    在确定所述触摸手势为删除手势时,确定在所述幅度阈值范围内各所述轨迹坐标序列所对应的触摸屏区域,并将所述触摸屏区域内的文字予以删除。
  4. 根据权利要求1或3所述的删除显示在触摸屏上的文字的方法,其特征在 于,还包括:在超过预设的删除执行时间间隔后未检测到新的触摸手势,执行所述删除步骤。
  5. 根据权利要求1或3所述的删除显示在触摸屏上的文字的方法,其特征在于,所述轨迹关键点包括:第一个轨迹点、前N个轨迹拐点、前N个轨迹最高/最低点中的一种或者以上任意组合。
  6. 根据权利要求5所述的删除显示在触摸屏上的文字的方法,其特征在于,预设的删除手势识别规则包括以下中的一种或者任意组合:
    所述轨迹坐标序列中的第一个轨迹点的纵坐标位于[(YL2-20%*hL),(YL2+50%*hL)]范围内,其中,YL2为相距所述第一个轨迹点坐标最近的文字行底部纵坐标,hL为所述文字的高度;
    所述轨迹坐标序列中的第一个轨迹拐点或轨迹最高/最低点的坐标位于所述第一个轨迹点的坐标右侧、且纵坐标位于[(YL1-50%*hL),(YL2+20%*hL)]范围内,其中,YL1为相距所述第一个轨迹点坐标最近的文字行顶部纵坐标;
    所述轨迹坐标序列中的后续的轨迹拐点或轨迹最高/最低点的坐标位于前一个轨迹拐点或轨迹最高/最低点的坐标右侧、且纵坐标间隔的位于[(YL1-50%*hL),(YL2+20%*hL)]和[(YL1-20%*hL),(YL2+50%*hL)]范围内。
  7. 根据权利要求6所述的删除显示在触摸屏上的文字的方法,其特征在于,预设的删除手势识别规则还包括:各轨迹关键点之间的时间间隔在[0,300ms]之间。
  8. 一种具有触摸屏的电子设备,其特征在于,至少包括:
    预处理模块,用于根据显示在所述触摸屏上的文字的尺寸设定识别删除手势的幅度阈值范围;
    手势检测模块,用于将所检测到的用户在所述触摸屏上滑过的不规则的触摸手势转换为相应的轨迹坐标序列,并确定所述轨迹坐标序列中的所有轨迹点都位于所述幅度阈值范围内;
    手势确定模块,用于从所述轨迹坐标序列的所有轨迹点中确定多个轨迹关键点的坐标,并在各所述轨迹关键点的坐标满足预设的删除手势识别规则时,确定所述触摸手势为删除手势,
    删除模块,用于在所述手势确定模块确定所述触摸手势为删除手势时,在所述幅度阈值范围内将所述轨迹坐标序列所对应的所述触摸屏区域内的文字予以删除。
  9. 根据权利要求8所述的具有触摸屏的电子设备,其特征在于,所述幅度阈值范围包括:以文字高度为基础上下浮动一预设比例的范围。
  10. 根据权利要求8所述的具有触摸屏的电子设备,其特征在于,所述手势检测模块包括:
    第一检测子模块,用于在所检测到的所述触摸手势不连续时,检测所述触摸手势中各相邻的连续的触摸手势部分的时间间隔是否小于预设的不连续时间间隔;
    第二检测子模块,用于在检测到各连续的所述触摸手势部分的时间间隔小于预设的不连续时间间隔时,确定所述触摸手势所对应的轨迹坐标序列中的所有轨迹点都位于所述幅度阈值范围内;以及
    所述删除模块用于在确定所述触摸手势为删除手势时,确定在所述幅度阈值范围内各所述轨迹坐标序列所对应的触摸屏区域,并将所述触摸屏区域内的文字予以删除。
  11. 根据权利要求8或10所述的删除显示在触摸屏上的文字的方法,其特征在于,所述删除模块还用于:在超过预设的删除执行时间间隔后未检测到新的触摸手势,将相应的文字予以删除。
  12. 根据权利要求8或10所述的具有触摸屏的电子设备,其特征在于,所述轨迹关键点包括:第一个轨迹点、前N个轨迹拐点、前N个轨迹最高/最低点中的一种或者以上任意组合。
  13. 根据权利要求12所述的具有触摸屏的电子设备,其特征在于,预设的删除手势识别规则包括以下中的一种或者任意组合:
    所述轨迹坐标序列中的第一个轨迹点的纵坐标位于[(YL2-20%*hL),(YL2+50%*hL)]范围内,其中,YL2为相距所述第一个轨迹点坐标最近的文字行底部纵坐标,hL为所述文字的高度;
    所述轨迹坐标序列中的第一个轨迹拐点或轨迹最高/最低点的坐标位于所述第一个轨迹点的坐标右侧、且纵坐标位于[(YL1-50%*hL),(YL2+20%*hL)]范围内,其中,YL1为相距所述第一个轨迹点坐标最近的文字行顶部纵坐标;
    所述轨迹坐标序列中的后续的轨迹拐点或轨迹最高/最低点的坐标位于前一个轨迹拐点或轨迹最高/最低点的坐标右侧、且纵坐标间隔的位于[(YL1-50%*hL),(YL2+20%*hL)]和[(YL1-20%*hL),(YL2+50%*hL)]范围内。
  14. 根据权利要求13所述的具有触摸屏的电子设备,其特征在于,预设的删除手势识别规则还包括:各轨迹关键点之间的时间间隔在[0,300ms]之间。
PCT/CN2014/000943 2013-12-06 2014-10-24 删除显示在触摸屏上的文字的方法及电子设备 WO2015081606A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310658822.4A CN103677637B (zh) 2013-12-06 2013-12-06 删除显示在触摸屏上的文字的方法及电子设备
CN201310658822.4 2013-12-06

Publications (1)

Publication Number Publication Date
WO2015081606A1 true WO2015081606A1 (zh) 2015-06-11

Family

ID=50315352

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/000943 WO2015081606A1 (zh) 2013-12-06 2014-10-24 删除显示在触摸屏上的文字的方法及电子设备

Country Status (2)

Country Link
CN (1) CN103677637B (zh)
WO (1) WO2015081606A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111242084A (zh) * 2020-01-21 2020-06-05 深圳市优必选科技股份有限公司 机器人控制方法、装置、机器人及计算机可读存储介质
CN112083870A (zh) * 2020-09-09 2020-12-15 青岛海信商用显示股份有限公司 信息识别方法及设备
CN112100988A (zh) * 2020-08-05 2020-12-18 联想(北京)有限公司 一种信息编辑方法、电子设备及存储介质

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103677637B (zh) * 2013-12-06 2018-10-12 上海斐讯数据通信技术有限公司 删除显示在触摸屏上的文字的方法及电子设备
CN104375747B (zh) * 2014-11-03 2017-09-01 北京智谷睿拓技术服务有限公司 交互方法、交互装置及用户设备
CN104503626A (zh) * 2015-01-15 2015-04-08 方亚南 一种处理触摸屏上信息的装置及方法
CN105183473A (zh) * 2015-09-07 2015-12-23 广州视睿电子科技有限公司 擦除框的范围确定方法和系统
CN105808516B (zh) * 2016-03-07 2020-02-04 联想(北京)有限公司 一种信息处理方法及电子设备
CN106201286A (zh) * 2016-06-28 2016-12-07 深圳天珑无线科技有限公司 通过压力触控清除编辑文字的方法及其系统
CN106569692B (zh) * 2016-10-26 2020-10-13 海信视像科技股份有限公司 手势擦除方法及装置
CN109343767A (zh) * 2018-08-31 2019-02-15 湖南新云网科技有限公司 一种电子白板的擦除方法
CN112527183A (zh) * 2020-12-23 2021-03-19 北京华宇信息技术有限公司 手绘删除文本方法及装置
CN114330253B (zh) * 2021-12-30 2022-10-04 广州文石信息科技有限公司 一种文档编辑方法、装置、设备及可读存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019610A (zh) * 2012-12-31 2013-04-03 北京百度网讯科技有限公司 对象选择方法及终端
CN103150111A (zh) * 2013-02-25 2013-06-12 北京极兴莱博信息科技有限公司 一种输入符号的方法、装置及终端
CN103176741A (zh) * 2013-03-20 2013-06-26 广东国笔科技股份有限公司 人机交互的方法、终端和系统
US20130257770A1 (en) * 2012-03-30 2013-10-03 Corel Corporation, Inc. Controlling and editing media files with touch gestures over a media viewing area using a touch sensitive device
CN103677637A (zh) * 2013-12-06 2014-03-26 上海斐讯数据通信技术有限公司 删除显示在触摸屏上的文字的方法及电子设备

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101605176A (zh) * 2009-07-10 2009-12-16 中兴通讯股份有限公司 一种移动终端及其实现图文编辑功能的方法
US20110304556A1 (en) * 2010-06-09 2011-12-15 Microsoft Corporation Activate, fill, and level gestures
CN102331907B (zh) * 2011-09-13 2017-12-22 中兴通讯股份有限公司 用于具有触摸屏的终端的字符删除方法、装置及终端
CN102455869B (zh) * 2011-09-29 2014-10-22 北京壹人壹本信息科技有限公司 一种利用手势编辑文字的方法及装置
CN103309600A (zh) * 2012-03-15 2013-09-18 中兴通讯股份有限公司 一种删除区域显示内容、已录入文字的方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130257770A1 (en) * 2012-03-30 2013-10-03 Corel Corporation, Inc. Controlling and editing media files with touch gestures over a media viewing area using a touch sensitive device
CN103019610A (zh) * 2012-12-31 2013-04-03 北京百度网讯科技有限公司 对象选择方法及终端
CN103150111A (zh) * 2013-02-25 2013-06-12 北京极兴莱博信息科技有限公司 一种输入符号的方法、装置及终端
CN103176741A (zh) * 2013-03-20 2013-06-26 广东国笔科技股份有限公司 人机交互的方法、终端和系统
CN103677637A (zh) * 2013-12-06 2014-03-26 上海斐讯数据通信技术有限公司 删除显示在触摸屏上的文字的方法及电子设备

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111242084A (zh) * 2020-01-21 2020-06-05 深圳市优必选科技股份有限公司 机器人控制方法、装置、机器人及计算机可读存储介质
CN112100988A (zh) * 2020-08-05 2020-12-18 联想(北京)有限公司 一种信息编辑方法、电子设备及存储介质
CN112083870A (zh) * 2020-09-09 2020-12-15 青岛海信商用显示股份有限公司 信息识别方法及设备

Also Published As

Publication number Publication date
CN103677637B (zh) 2018-10-12
CN103677637A (zh) 2014-03-26

Similar Documents

Publication Publication Date Title
WO2015081606A1 (zh) 删除显示在触摸屏上的文字的方法及电子设备
JP5157969B2 (ja) 情報処理装置、閾値設定方法及びそのプログラム
US9323456B2 (en) Multi-character continuous handwriting input method
TWI514229B (zh) 圖形編輯方法以及電子裝置
US8420958B2 (en) Position apparatus for touch device and position method thereof
CN108388401A (zh) 应用关联处理方法及移动终端
US9025878B2 (en) Electronic apparatus and handwritten document processing method
JP2015001751A (ja) 手書き入力装置及び制御プログラム並びに制御方法
TWI528271B (zh) 多邊形手勢偵測及互動方法、裝置及電腦程式產品
CN105183359B (zh) 一种放大和缩小的方法、装置及终端
US20150035778A1 (en) Display control device, display control method, and computer program product
CN113867521B (zh) 一种基于手势视觉识别的手写输入方法、装置及电子设备
WO2012093657A1 (ja) 手書き文字入力装置および携帯端末
CN105302419A (zh) 一种实现多种手势操作的触摸屏以及其操作方法
WO2022257870A1 (zh) 一种虚拟标尺显示方法以及相关设备
JP4571230B1 (ja) 手書きデータ処理装置
TW201423563A (zh) 手寫輸入識別系統及方法
JP2007102369A (ja) ジェスチャ認識装置およびジェスチャ認識方法
KR101356819B1 (ko) 입력 인터페이스 제공 장치 및 그 동작 방법
JP2016015099A (ja) 手書入力装置及び手書入力方法
JP2015146090A (ja) 手書き入力装置及び入力制御プログラム
CN113900515A (zh) 一种基于动作感知的信息输入方法、系统和智能终端
US10762342B2 (en) Electronic apparatus, method, and program
US9778822B2 (en) Touch input method and electronic apparatus thereof
US10082882B2 (en) Data input apparatus and method therefor

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14867760

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14867760

Country of ref document: EP

Kind code of ref document: A1