CN106557237B - method and terminal for selecting copy text information - Google Patents

method and terminal for selecting copy text information Download PDF

Info

Publication number
CN106557237B
CN106557237B CN201610891044.7A CN201610891044A CN106557237B CN 106557237 B CN106557237 B CN 106557237B CN 201610891044 A CN201610891044 A CN 201610891044A CN 106557237 B CN106557237 B CN 106557237B
Authority
CN
China
Prior art keywords
word
sliding
symbol
taking
fetching
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201610891044.7A
Other languages
Chinese (zh)
Other versions
CN106557237A (en
Inventor
肖志龙
金妍敏
钟婉平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Microphone Holdings Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment Co Ltd
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 Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201610891044.7A priority Critical patent/CN106557237B/en
Publication of CN106557237A publication Critical patent/CN106557237A/en
Application granted granted Critical
Publication of CN106557237B publication Critical patent/CN106557237B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04803Split screen, i.e. subdividing the display area or the window area into separate subareas

Abstract

The embodiment of the invention discloses methods and terminals for selecting copied text information, wherein the method comprises the steps of firstly receiving a operation instruction input by a user, displaying a word-taking symbol and a second word-taking symbol according to a operation instruction, then dividing a text area into a plurality of areas according to the word-taking symbol and the second word-taking symbol, and finally receiving a second operation instruction input by the user and acquiring new copied text information according to the second operation instruction and the plurality of areas.

Description

method and terminal for selecting copy text information
Technical Field
The invention relates to the technical field of electronics, in particular to methods for selecting and copying text information and a terminal.
Background
The text information is edited by the mobile phone, which is functions very important for the mobile phone, in cases, the user copies part of the information seen by the user into an editing application box, so that the editing efficiency is improved.
In summary, the above prior art determines the range of selecting the copied text information by moving the word-taking symbol, which results in a problem of low efficiency of selecting the copied text information.
Disclosure of Invention
The embodiment of the invention provides methods for selecting and copying text information, which can improve the efficiency of selecting and copying text information.
, an embodiment of the present invention provides a method for selecting to copy text information, the method comprising:
receiving th operation instruction input by a user, and displaying th word-taking symbol and a second word-taking symbol according to the th operation instruction, wherein the th word-taking symbol is positioned at the starting position of the copied text information, and the second word-taking symbol is positioned at the ending position of the copied text information;
dividing a text area into a plurality of areas according to the th word-taking symbol and the second word-taking symbol;
and receiving a second operation instruction input by a user, and acquiring new copied text information according to the second operation instruction and the plurality of areas.
In another aspect, an embodiment of the present invention provides kinds of terminals, where the terminal includes:
the word-taking symbol display unit is used for receiving th operation instructions input by a user and displaying th word-taking symbols and second word-taking symbols according to the th operation instructions, wherein the th word-taking symbols are positioned at the starting position of the copied text information, and the second word-taking symbols are positioned at the ending position of the copied text information;
a dividing unit, configured to divide a text region into multiple regions according to the th word-taking symbol and the second word-taking symbol;
and the copied text information acquisition unit is used for receiving a second operation instruction input by a user and acquiring new copied text information according to the second operation instruction and the plurality of areas.
The embodiment of the invention firstly receives th operation instructions input by a user, displays th word-taking symbols and second word-taking symbols according to operation instructions, wherein the th word-taking symbols are positioned at the starting position of the copied text information, the second word-taking symbols are positioned at the ending position of the copied text information, then divides the text area into a plurality of areas according to the th word-taking symbols and the second word-taking symbols, finally receives the second operation instructions input by the user, and obtains new copied text information according to the second operation instructions and the plurality of areas.
Drawings
In order to more clearly illustrate the technical solution of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
FIG. 1 is a schematic flow chart diagram of methods for selecting to copy text information, according to an embodiment of the present invention;
FIG. 2 is another schematic flow chart diagram of methods for selecting to copy text information according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating methods for selecting to copy text information according to an embodiment of the present invention;
FIG. 4 is a schematic block diagram of terminals provided by an embodiment of the invention;
fig. 5 is a schematic block diagram of an -terminal copied text information obtaining unit according to an embodiment of the present invention;
fig. 6 is a schematic block diagram of a to-be-moved word-taking symbol selecting unit in an terminal copied text information obtaining unit according to an embodiment of the present invention;
fig. 7 is a schematic block diagram of an word-taking symbol display unit according to an embodiment of the present invention;
FIG. 8 is another schematic block diagram of an word-taking symbol display unit according to an embodiment of the present invention;
fig. 9 is another block diagram of terminals according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all embodiments of the present invention.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of or more other features, integers, steps, operations, elements, components, and/or groups thereof.
As used in this specification and the appended claims, the singular forms "", "" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should also be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted in accordance with the context as "when.. or" denier "or" in response to a determination "or" in response to a detection ".
In particular implementations, the terminals described in embodiments of the invention include, but are not limited to, other portable devices such as mobile phones, laptop computers, or tablet computers having touch sensitive surfaces (e.g., touch screen displays and/or touch pads). It should also be understood that in some embodiments, the device is not a portable communication device, but is a desktop computer having a touch-sensitive surface (e.g., a touch screen display and/or touchpad).
In the discussion that follows, a terminal is described that includes a display and a touch-sensitive surface, however, it should be understood that the terminal may include or more other physical user interface devices such as a physical keyboard, mouse, and/or joystick.
The terminal supports various applications such as or more of a drawing application, a presentation application, a word processing application, a website creation application, a disc burning application, a spreadsheet application, a gaming application, a telephone application, a video conferencing application, an email application, an instant messaging application, an exercise support application, a photo management application, a digital camera application, a web browsing application, a digital music player application, and/or a digital video player application.
The various applications that may be executed on the terminal may use at least common physical user interface devices, such as touch-sensitive surfaces, the one or more functions of the touch-sensitive surface and corresponding information displayed on the terminal may be adjusted and/or changed between applications and/or within respective applications.
Referring to fig. 1, it is schematic flowcharts of methods for selecting to copy text information according to an embodiment of the present invention, and as shown in the drawings, the method may include the following steps:
in step 101, an th operation instruction input by a user is received, and a th word-fetching symbol and a second word-fetching symbol are displayed according to the th operation instruction, wherein the th word-fetching symbol is positioned at the starting position of the copied text information, and the second word-fetching symbol is positioned at the ending position of the copied text information.
In a specific implementation, the th word-taking symbol and the second word-taking symbol can be arrows or indicator bars, the mobile phone starts the copy function, and the copy function can be a function that a user presses a copy text message interface for a long time, or a function that the copy is started by a button mode.
In step 102, the text region is divided into a plurality of regions according to the th tokenization and the second tokenization.
Step 102 is embodied as dividing the text region into two or three regions according to the th word-taking symbol and the second word-taking symbol.
In step 103, a second operation instruction input by the user is received, and new copied text information is acquired according to the second operation instruction and the plurality of areas.
Step 103 specifically includes receiving a sliding operation input by a user, determining a sliding starting position, a sliding ending position, a sliding direction and a sliding distance according to the sliding operation, selecting a word-taking symbol to be moved according to the relation between the sliding starting position and the sliding ending position and a plurality of areas and the sliding direction, determining that the sliding operation is a word subtraction event or a word addition event, wherein the word-taking symbol to be moved is an -th word-taking symbol or a second word-taking symbol, obtaining a word subtraction range or a word addition range according to the sliding distance, and moving the word-taking symbol to be moved according to the word subtraction range or the word addition range to obtain new copied text information.
According to the embodiment of the invention, the text area is divided into a plurality of areas according to the th word-taking symbol and the second word-taking symbol, and new copied text information is obtained according to the second operation instruction and the plurality of areas, so that the efficiency of selecting the copied text information is improved.
Referring to fig. 2, another schematic flow chart of methods for selecting to copy text information according to an embodiment of the present invention is shown, where the method may include the following steps:
the display interface for copying the text information comprises information of characters, emoji, animations and the like, and not only information consisting of characters or letters.
In step 201a, an th operation instruction input by a user is received, and a th coordinate and a second coordinate are determined according to the touch point coordinate corresponding to the th operation instruction.
In specific implementation, the characters between the coordinates of the touch point and the th coordinate and the characters between the coordinates of the touch point and the second coordinate are both in preset numbers.
In step 202a, a th word-taking symbol is displayed at the th coordinate position, and a second word-taking symbol is displayed at the second coordinate position.
In step 201b, an th operation instruction input by a user is received, and a sentence corresponding to the touch point coordinate is determined according to the touch point coordinate corresponding to the th operation instruction.
In specific implementation, punctuations before and after the touch point coordinate are determined according to the touch point coordinate, and characters between the punctuations before and after the touch point coordinate are used as sentences corresponding to the touch point coordinate.
In step 202b, th fetching symbol is displayed at the beginning position of the sentence, and the second fetching symbol is displayed at the end position of the sentence.
In a specific implementation, step 201a and step 202a may be executed, and step 201b and step 202b may also be executed.
In step 203, the text region before the th logogram is set as the th region, the text region between the th logogram and the second logogram is set as the second region, and the text region after the second logogram is set as the third region.
In a specific implementation, the text region before the th word-taking symbol may be the upper end of the th word-taking symbol, and the text region after the second word-taking symbol may be the lower end of the second word-taking symbol.
In step 204, a sliding operation input by a user is received, and a sliding start position, a sliding end position, a sliding direction and a sliding distance are determined according to the sliding operation.
In a specific implementation, the sliding direction and the sliding distance may be determined according to the sliding start position and the sliding end position of the sliding operation.
In step 205a, when the sliding start position is the th area and the sliding end position is the second area, the th word-fetching symbol is selected as the word-fetching symbol to be moved, and it is determined that the sliding operation is a text addition event.
In a specific implementation, when the sliding direction is from the th area to the second area, the th word-taking symbol is selected as the word-taking symbol to be moved, and the sliding operation is determined to be a word addition event.
In step 205b, when the sliding start position is the second area and the sliding end position is the th area, the th word-fetching symbol is selected as the word-fetching symbol to be moved, and the sliding operation is determined as the word subtraction event.
In a specific implementation, when the sliding direction is from the second area to the th area, the th word-taking symbol is selected as the word-taking symbol to be moved, and the sliding operation is determined to be a text subtraction event.
In step 205c, when the sliding start position is the third area and the sliding end position is the second area, the second word-fetching symbol is selected as the word-fetching symbol to be moved, and the sliding operation is determined as the text addition event.
In a specific implementation, when the sliding direction is from the third area to the second area, the second word-taking symbol is selected as the word-taking symbol to be moved, and the sliding operation is determined as a text addition event.
In step 205d, when the sliding start position is the second area and the sliding end position is the third area, the second word-fetching symbol is selected as the word-fetching symbol to be moved, and the sliding operation is determined as the text subtraction event.
In a specific implementation, when the sliding direction is from the second area to the third area, the second word-taking symbol is selected as the word-taking symbol to be moved, and the sliding operation is determined as a text subtraction event.
In step 205e, when the sliding start position and the sliding end position are both th areas, the th word-fetching symbol is selected as the word-fetching symbol to be moved, if the sliding direction is the same as the preset direction, the sliding operation is determined as a word-adding event, and if the sliding direction is opposite to the preset direction, the sliding operation is determined as a word-subtracting event.
When the sliding operation is in the th area, the th word-taking symbol is selected as the word-taking symbol to be moved, if the sliding direction is rightward or downward, the sliding operation is determined as a word-adding event, and if the sliding direction is leftward or upward, the sliding operation is determined as a word-subtracting event.
In step 205f, when both the sliding start position and the sliding end position are the third area, the second word-fetching symbol is selected as the word-fetching symbol to be moved, if the sliding direction is opposite to the preset direction, the sliding operation is determined as a word-adding event, and if the sliding direction is the same as the preset direction, the sliding operation is determined as a word-subtracting event.
In a specific implementation, the preset direction may be rightward and downward. And when the sliding operation is performed in the third area, selecting the second word-taking symbol as the word-taking symbol to be moved, determining that the sliding operation is a word increasing event if the sliding direction is leftward or upward, and determining that the sliding operation is a word subtracting event if the sliding direction is rightward or downward.
In step 206, a text subtraction range or a text addition range is obtained according to the sliding distance.
In specific implementation, the sliding distance and the preset coefficient may be stored in the database in an associated manner, the preset coefficient may be obtained from the pre-stored database according to the sliding distance, and the word number is subtracted from the word or increased according to the preset coefficient and the sliding distance. The specific steps of calculating the character deduction word number or the character addition word number according to the preset coefficient and the sliding distance are as follows: and taking the product of the preset coefficient and the sliding distance as the character deduction character number or the character increment character number.
In step 207, the word-taking symbol to be moved is moved according to the word subtraction range or the word addition range to obtain new copied text information.
In specific implementation, the word-taking symbol to be moved is moved according to the word subtraction number or the word addition number of the words.
For example, as shown in fig. 3, a th word-fetching symbol and a second word-fetching symbol are displayed according to an th operation instruction input by a user, a sliding start position, a sliding end position, a sliding direction and a sliding distance (40 pixels) are determined according to a sliding operation, a text region before the th word-fetching symbol is set as a th region, a text region between the th word-fetching symbol and the second word-fetching symbol is set as a second region, a text region after the second word-fetching symbol is set as a third region, since the sliding start position is the second region and the sliding end position is the th region, a th word-fetching symbol is selected as a word-fetching symbol to be moved and the sliding operation is determined as a word-subtracting event, a word-subtracting range (4 words) is obtained according to the sliding distance (40 pixels), and the word-fetching symbol to be moved is moved according to the word-subtracting range (4 words).
In order to implement the method for selecting the copied text information, an embodiment of the present invention further provides terminals, see fig. 4, and fig. 4 is a schematic block diagram of of terminals provided in the embodiment of the present invention, where each unit included in the terminal 40 in this example is used to execute each step in the embodiment corresponding to fig. 1, specifically please refer to fig. 1 and the embodiment corresponding to fig. 1, which are not described herein again, the terminal 40 includes a word-fetching symbol display unit 410, a dividing unit 420, and a copied text information obtaining unit 430.
And a word-taking symbol display unit 410, configured to receive an th operation instruction input by a user, and display a th word-taking symbol and a second word-taking symbol according to the th operation instruction, where the th word-taking symbol is located at a start position of the copied text information, and the second word-taking symbol is located at an end position of the copied text information.
A dividing unit 420, configured to divide the text region into a plurality of regions according to the th word-taking symbol and the second word-taking symbol.
A copied text information obtaining unit 430, configured to receive a second operation instruction input by the user, and obtain new copied text information according to the second operation instruction and the multiple areas.
In another embodiments, each unit included in the terminal 40 is configured to execute each step in the embodiment corresponding to fig. 2, which is specifically referred to fig. 2 and the embodiment corresponding to fig. 2, and is not described herein again.
Please , refer to fig. 5, 6, 7, and 8, where fig. 5 is a schematic block diagram of a terminal copy text information obtaining unit according to an embodiment of the present invention, fig. 6 is a schematic block diagram of a terminal to-be-moved word-fetching symbol selecting unit according to an embodiment of the present invention, fig. 7 is a schematic block diagram of a terminal word-fetching symbol display unit according to an embodiment of the present invention, and fig. 8 is a schematic block diagram of a terminal word-fetching symbol display unit according to an embodiment of the present invention.
The difference between this embodiment and the above is that in this embodiment, the copied text information obtaining unit 430 includes a sliding direction determining unit 431, a to-be-moved word-capturing symbol selecting unit 432, a range obtaining unit 433, and a to-be-moved word-capturing symbol moving unit 434, the to-be-moved word-capturing symbol selecting unit 432 includes a selecting unit 4321, a second selecting unit 4322, a third selecting unit 4323, a fourth selecting unit 4324, a fifth selecting unit 4325, and a sixth selecting unit 4326, the terminal word-capturing symbol display unit 410 includes a coordinate determining unit 411a and a display unit 412a, or the terminal word-capturing symbol display unit 410 includes a sentence determining unit 411b and a second display unit 412 b.
A sliding direction determination unit 431, configured to receive a sliding operation input by a user, and determine a sliding start position, a sliding end position, a sliding direction, and a sliding distance according to the sliding operation.
A symbol-to-be-moved-word-fetch selecting unit 432, configured to select a symbol to be moved word-fetch according to a relationship between the sliding start position and the sliding end position and the plurality of regions and the sliding direction, and determine that the sliding operation is a word subtraction event or a word addition event, where the symbol to be moved word-fetch is th word-fetch symbol or a second word-fetch symbol.
A range acquiring unit 433 configured to acquire a text subtraction range or a text addition range according to the sliding distance.
And a to-be-moved word-fetching symbol moving unit 434, configured to move the to-be-moved word-fetching symbol according to the text subtraction range or the text addition range to obtain new copied text information.
A th selecting unit 4321, configured to select the th word-fetching symbol as the word-fetching symbol to be moved and determine that the sliding operation is a word-adding event when the sliding start position is the th region and the sliding end position is the second region.
A second selecting unit 4322, configured to select the th word-fetching symbol as the word-fetching symbol to be moved and determine that the sliding operation is a word subtraction event when the sliding start position is the second area and the sliding end position is the th area.
A third selecting unit 4323, configured to select the second word-fetching symbol as the word-fetching symbol to be moved and determine that the sliding operation is a text addition event when the sliding start position is the third area and the sliding end position is the second area.
A fourth selecting unit 4324, configured to select the second word-fetching symbol as the word-fetching symbol to be moved and determine that the sliding operation is a text subtraction event when the sliding start position is the second area and the sliding end position is the third area.
A fifth selecting unit 4325, configured to select the th word-taking symbol as the word-taking symbol to be moved when both the sliding start position and the sliding end position are the th regions, determine that the sliding operation is a word-adding event if the sliding direction is the same as the preset direction, and determine that the sliding operation is a word-subtracting event if the sliding direction is opposite to the preset direction.
A sixth selecting unit 4326, configured to select the second word-fetching symbol as the word-fetching symbol to be moved when both the sliding start position and the sliding end position are in the third area, determine that the sliding operation is a word-adding event if the sliding direction is opposite to the preset direction, and determine that the sliding operation is a word-subtracting event if the sliding direction is the same as the preset direction.
The coordinate determination unit 411a is used for receiving an th operation instruction input by a user and determining a th coordinate and a second coordinate according to a touch point coordinate corresponding to the th operation instruction;
and an th display unit 412a for displaying a th word-taking symbol at the position of the th coordinate and displaying a second word-taking symbol at the position of the second coordinate.
A sentence determining unit 411b, configured to receive an th operation instruction input by a user, and determine a sentence corresponding to the touch point coordinate according to the touch point coordinate corresponding to the th operation instruction;
and a second display unit 412b for displaying th word-taking symbol at the start position of the sentence and displaying a second word-taking symbol at the end position of the sentence.
Referring to fig. 9, a schematic block diagram of terminals provided by another embodiment of the present invention, a terminal in the embodiment shown in the figure may include one or more processors 901 and memories 902, the processors 901 and memories 902 are connected through a bus 903, the memories 902 are used for storing instructions, and the processors 901 are used for executing the instructions stored in the memories 902, wherein the processors 901 are used for:
receiving th operation instruction input by user, displaying th word-fetching symbol and second word-fetching symbol according to th operation instruction, wherein the th word-fetching symbol is located at the starting position of the copied text information, and the second word-fetching symbol is located at the ending position of the copied text information.
The text region is divided into a plurality of regions according to the th and second tokenization.
And receiving a second operation instruction input by the user, and acquiring new copied text information according to the second operation instruction and the plurality of areas.
Optionally, the processor 901 is specifically configured to receive a sliding operation input by a user, and determine a sliding start position, a sliding end position, a sliding direction, and a sliding distance according to the sliding operation.
Optionally, the processor 901 is specifically configured to select a word-taking symbol to be moved according to the relationship between the sliding start position and the sliding end position and the plurality of regions and the sliding direction, and determine that the sliding operation is a word subtraction event or a word addition event, where the word-taking symbol to be moved is the word-taking symbol or the second word-taking symbol.
Optionally, the processor 901 is specifically configured to obtain a text subtraction range or a text addition range according to the sliding distance;
optionally, the processor 901 is specifically configured to move the word-taking symbol to be moved according to the word subtraction range or the word addition range to obtain new copied text information.
Optionally, the processor 901 is specifically configured to set a text region before the th word-taking symbol as the th region, set a text region between the th word-taking symbol and the second word-taking symbol as the second region, and set a text region after the second word-taking symbol as the third region.
Optionally, the processor 901 is specifically configured to select the -th word-fetching symbol as the word-fetching symbol to be moved when the sliding start position is the -th area and the sliding end position is the second area, and determine that the sliding operation is a text addition event.
Optionally, the processor 901 is specifically configured to select the -th word-fetching symbol as the word-fetching symbol to be moved and determine that the sliding operation is a text subtraction event when the sliding start position is the second area and the sliding end position is the -th area.
Optionally, the processor 901 is specifically configured to select a second word fetching symbol as the word fetching symbol to be moved when the sliding start position is the third area and the sliding end position is the second area, and determine that the sliding operation is a text adding event.
Optionally, the processor 901 is specifically configured to select a second word fetching symbol as the word fetching symbol to be moved and determine that the sliding operation is a text subtraction event when the sliding start position is the second area and the sliding end position is the third area.
Optionally, the processor 901 is specifically configured to select the -th word-fetching symbol as the word-fetching symbol to be moved when both the sliding start position and the sliding end position are the -th areas, determine that the sliding operation is a word-adding event if the sliding direction is the same as the preset direction, and determine that the sliding operation is a word-subtracting event if the sliding direction is opposite to the preset direction.
Optionally, the processor 901 is specifically configured to select a second word fetching symbol as a word fetching symbol to be moved when both the sliding start position and the sliding end position are in the third area, determine that the sliding operation is a word adding event if the sliding direction is opposite to the preset direction, and determine that the sliding operation is a word subtracting event if the sliding direction is the same as the preset direction.
Optionally, the processor 901 is specifically configured to receive an th operation instruction input by a user, and determine the th coordinate and the second coordinate according to the touch point coordinate corresponding to the th operation instruction.
Optionally, the processor 901 is specifically configured to display a th word-taking symbol at the position of the th coordinate, and display a second word-taking symbol at the position of the second coordinate.
Optionally, the processor 901 is specifically configured to receive an th operation instruction input by a user, and determine a sentence corresponding to the touch point coordinate according to the touch point coordinate corresponding to the th operation instruction.
Optionally, the processor 901 is specifically configured to display th word-taking symbol at the beginning position of the sentence, and display a second word-taking symbol at the end position of the sentence.
It should be understood that in the present embodiment, the Processor 901 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Array (FPGA) or other Programmable logic device, discrete or transistor logic device, discrete hardware components, etc.
The memory 902 may include both read-only memory and random-access memory and provide instructions and data to the processor 901. the portion of the memory 902 may also include non-volatile random-access memory.
In a specific implementation, the processor 901 described in this embodiment of the present invention may execute the implementation manner described in the embodiment of the method for selecting to copy text information provided in this embodiment of the present invention, and may also execute the implementation manner of the terminal described in this embodiment of the present invention, which is not described herein again.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of the function for clarity of explanation of interchangeability of hardware and software.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the terminal and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
For example, the above-described embodiments of the apparatus are merely illustrative, e.g., the division of the units into only logical functional divisions, and other divisions may be made in practice, e.g., multiple units or components may be combined or integrated into another systems, or features may be omitted or not implemented.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in places, or may also be distributed on multiple network units.
In addition, the functional units in the embodiments of the present invention may be integrated into processing units, or each unit may exist alone physically, or two or more units are integrated into units.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs.
The units in the terminal of the embodiment of the invention can be merged, divided and deleted according to actual needs.
Based on the understanding, the technical solution of the present invention is essentially or partially contributing to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in storage media and includes several instructions for making computer devices (which may be personal computers, servers, or network devices) execute all or part of the steps of the methods described in the embodiments of the present invention.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (6)

  1. A method of selecting to copy textual information, the method comprising:
    receiving th operation instruction input by a user, and displaying th word-taking symbol and a second word-taking symbol according to the th operation instruction, wherein the th word-taking symbol is positioned at the starting position of the copied text information, and the second word-taking symbol is positioned at the ending position of the copied text information;
    dividing a text area into a plurality of areas according to the th word-taking symbol and the second word-taking symbol;
    receiving a second operation instruction input by a user, and acquiring new copied text information according to the second operation instruction and the plurality of areas;
    the receiving a second operation instruction input by a user, and acquiring new copied text information according to the second operation instruction and the plurality of areas comprises:
    receiving sliding operation input by a user, and determining a sliding starting position, a sliding ending position, a sliding direction and a sliding distance according to the sliding operation;
    selecting a word-taking symbol to be moved according to the relation between the sliding starting position and the sliding ending position and the plurality of areas and the sliding direction, and determining that the sliding operation is a character subtraction event or a character addition event, wherein the word-taking symbol to be moved is the word-taking symbol or the second word-taking symbol;
    acquiring a character deduction range or a character addition range according to the sliding distance;
    moving the word-taking symbol to be moved according to the character subtraction range or the character addition range to obtain new copied text information;
    dividing the text area into a plurality of areas according to the th word-taking symbol and the second word-taking symbol, specifically:
    setting a text region before the th word-taking symbol as a region, setting a text region between the th word-taking symbol and the second word-taking symbol as a second region, and setting a text region after the second word-taking symbol as a third region;
    selecting a word-taking symbol to be moved according to the relation between the sliding starting position and the sliding ending position and the plurality of areas and the sliding direction, and determining that the sliding operation is a character subtraction event or a character addition event, wherein the method comprises the following steps:
    when the sliding starting position is the th area and the sliding ending position is the second area, selecting the th word-fetching symbol as a word-fetching symbol to be moved, and determining that the sliding operation is a character increasing event;
    when the sliding starting position is the second area and the sliding ending position is the th area, selecting the th word-taking symbol as a word-taking symbol to be moved, and determining that the sliding operation is a character subtraction event;
    when the sliding starting position is the third area and the sliding ending position is the second area, selecting the second word-taking symbol as a word-taking symbol to be moved, and determining that the sliding operation is a character adding event;
    when the sliding starting position is the second area and the sliding ending position is the third area, selecting the second word-taking symbol as a word-taking symbol to be moved, and determining that the sliding operation is a character deduction event;
    when the sliding starting position and the sliding ending position are both in the th area, selecting the th word-fetching symbol as a word-fetching symbol to be moved, if the sliding direction is the same as a preset direction, determining that the sliding operation is a word addition event, and if the sliding direction is opposite to the preset direction, determining that the sliding operation is a word subtraction event;
    and when the sliding starting position and the sliding ending position are both the third area, selecting the second word-taking symbol as a word-taking symbol to be moved, if the sliding direction is opposite to the preset direction, determining that the sliding operation is a word addition event, and if the sliding direction is the same as the preset direction, determining that the sliding operation is a word subtraction event.
  2. 2. The method for selecting to copy text information as claimed in claim 1, wherein said receiving th operation command inputted by user, displaying th word-taking symbol and second word-taking symbol according to th operation command comprises:
    receiving an th operation instruction input by a user, and determining a th coordinate and a second coordinate according to a touch point coordinate corresponding to the th operation instruction;
    and a word-taking symbol is displayed at the position of the th coordinate, and a second word-taking symbol is displayed at the position of the second coordinate.
  3. 3. The method for selecting to copy text information as claimed in claim 1, wherein said receiving th operation command inputted by user, displaying th word-taking symbol and second word-taking symbol according to th operation command comprises:
    receiving th operation instructions input by a user, and determining sentences corresponding to touch point coordinates according to the touch point coordinates corresponding to the th operation instructions;
    th word-taking symbol is displayed at the beginning position of the sentence, and a second word-taking symbol is displayed at the end position of the sentence.
  4. A terminal of the type , comprising:
    the word-taking symbol display unit is used for receiving th operation instructions input by a user and displaying th word-taking symbols and second word-taking symbols according to the th operation instructions, wherein the th word-taking symbols are positioned at the starting position of the copied text information, and the second word-taking symbols are positioned at the ending position of the copied text information;
    a dividing unit, configured to divide a text region into multiple regions according to the th word-taking symbol and the second word-taking symbol;
    the copied text information acquisition unit is used for receiving a second operation instruction input by a user and acquiring new copied text information according to the second operation instruction and the plurality of areas;
    the copied text information acquiring unit includes:
    the sliding direction determining unit is used for receiving sliding operation input by a user and determining a sliding starting position, a sliding ending position, a sliding direction and a sliding distance according to the sliding operation;
    a symbol-to-be-moved-word-fetching selecting unit, configured to select a symbol-to-be-moved-word-fetching according to a relationship between the sliding start position and the sliding end position and the plurality of regions and the sliding direction, and determine that the sliding operation is a word subtraction event or a word addition event, where the symbol-to-be-moved-word-fetching is the th symbol-to-be-moved-word-fetching or the second symbol-to-be-moved-word-fetching;
    the range acquisition unit is used for acquiring a character subtraction range or a character addition range according to the sliding distance;
    the word-taking symbol moving unit is used for moving the word-taking symbol to be moved according to the character subtraction range or the character addition range to acquire new copied text information;
    the dividing unit is specifically configured to:
    setting a text region before the th word-taking symbol as a region, setting a text region between the th word-taking symbol and the second word-taking symbol as a second region, and setting a text region after the second word-taking symbol as a third region;
    the to-be-moved word-taking symbol selecting unit comprises:
    an selecting unit, configured to select the th word-fetching symbol as a word-fetching symbol to be moved and determine that the sliding operation is a text addition event when the sliding start position is the th area and the sliding end position is the second area;
    a second selecting unit, configured to select the -th word-fetching symbol as a word-fetching symbol to be moved and determine that the sliding operation is a text subtraction event when the sliding start position is the second area and the sliding end position is the -th area;
    a third selecting unit, configured to select the second word fetching symbol as a word fetching symbol to be moved and determine that the sliding operation is a text adding event when the sliding start position is the third area and the sliding end position is the second area;
    a fourth selecting unit, configured to select the second word fetching symbol as a word fetching symbol to be moved and determine that the sliding operation is a text subtraction event when the sliding start position is the second area and the sliding end position is the third area;
    a fifth selecting unit, configured to select the -th word-fetching symbol as a word-fetching symbol to be moved when both the sliding start position and the sliding end position are the -th area, determine that the sliding operation is a word-adding event if the sliding direction is the same as a preset direction, and determine that the sliding operation is a word-subtracting event if the sliding direction is opposite to the preset direction;
    a sixth selecting unit, configured to select the second word fetching symbol as a word fetching symbol to be moved when both the sliding start position and the sliding end position are in the third area, determine that the sliding operation is a word adding event if the sliding direction is opposite to the preset direction, and determine that the sliding operation is a word subtracting event if the sliding direction is the same as the preset direction.
  5. 5. The terminal according to claim 4, wherein the word-taking symbol display unit comprises:
    the coordinate determination unit is used for receiving an th operation instruction input by a user and determining a th coordinate and a second coordinate according to a touch point coordinate corresponding to the th operation instruction;
    an th display unit for displaying th word-taking symbol at the position of th coordinate and displaying a second word-taking symbol at the position of the second coordinate.
  6. 6. The terminal according to claim 4, wherein the word-taking symbol display unit comprises:
    a sentence determining unit, configured to receive an th operation instruction input by a user, and determine a sentence corresponding to a touch point coordinate according to the touch point coordinate corresponding to the th operation instruction;
    and the second display unit is used for displaying th word-taking symbol at the starting position of the sentence and displaying a second word-taking symbol at the ending position of the sentence.
CN201610891044.7A 2016-10-12 2016-10-12 method and terminal for selecting copy text information Active CN106557237B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610891044.7A CN106557237B (en) 2016-10-12 2016-10-12 method and terminal for selecting copy text information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610891044.7A CN106557237B (en) 2016-10-12 2016-10-12 method and terminal for selecting copy text information

Publications (2)

Publication Number Publication Date
CN106557237A CN106557237A (en) 2017-04-05
CN106557237B true CN106557237B (en) 2020-01-31

Family

ID=58417597

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610891044.7A Active CN106557237B (en) 2016-10-12 2016-10-12 method and terminal for selecting copy text information

Country Status (1)

Country Link
CN (1) CN106557237B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108055399B (en) * 2017-12-19 2020-01-14 维沃移动通信有限公司 Text copying method and mobile terminal
CN110634342A (en) * 2019-09-19 2019-12-31 广东小天才科技有限公司 Identification method and system of outlining frame, storage medium and electronic equipment
CN110750368A (en) * 2019-10-08 2020-02-04 维沃移动通信有限公司 Copying and pasting method and terminal
CN112702255A (en) * 2019-10-23 2021-04-23 腾讯科技(深圳)有限公司 Instant messaging message processing method and device and electronic equipment
CN112558811A (en) * 2020-12-15 2021-03-26 维沃移动通信有限公司 Content processing method and device and electronic equipment
CN113673502B (en) * 2021-08-23 2023-09-26 读书郎教育科技有限公司 Word extracting method and device based on android system webview component

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103714168A (en) * 2013-12-31 2014-04-09 百度国际科技(深圳)有限公司 Method and device for obtaining entries from electronic intelligent device with touch screen
CN104484113A (en) * 2014-11-27 2015-04-01 广东欧珀移动通信有限公司 Screen word-capturing method, screen word-capturing device and mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020080179A1 (en) * 2000-12-25 2002-06-27 Toshihiko Okabe Data transfer method and data transfer device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103714168A (en) * 2013-12-31 2014-04-09 百度国际科技(深圳)有限公司 Method and device for obtaining entries from electronic intelligent device with touch screen
CN104484113A (en) * 2014-11-27 2015-04-01 广东欧珀移动通信有限公司 Screen word-capturing method, screen word-capturing device and mobile terminal

Also Published As

Publication number Publication date
CN106557237A (en) 2017-04-05

Similar Documents

Publication Publication Date Title
CN106557237B (en) method and terminal for selecting copy text information
US10725622B2 (en) Providing attachment control to manage attachments in conversation
US8411046B2 (en) Column organization of content
US8634876B2 (en) Location based display characteristics in a user interface
CN106325687B (en) Method and terminal for calling program
US9791971B2 (en) Registration of electronic displays
CN106469396B (en) Method and terminal for pushing advertisement information
CN109471626B (en) Page logic structure, page generation method, page data processing method and device
EP3437035A1 (en) Techniques to control notifications for content items in a collaboration platform
US20170090705A1 (en) Conversation and version control for objects in communications
US11556219B2 (en) Interactive display of data distributions
CN107924263A (en) Touch thermal map
CN109492249B (en) Rapid generation method and device of design drawing and terminal equipment
US20140223354A1 (en) Method and system for creating floating keys in a portable device
CN108469938B (en) Electronic book reading reminding method and device and terminal equipment
US10254959B2 (en) Method of inputting a character into a text string using a sliding touch gesture, and electronic device therefor
CN114629800B (en) Visual generation method, device, terminal and storage medium for industrial control network target range
CN107562423B (en) UI page development method and device
US10171687B2 (en) Providing content and attachment printing for communication
CN107580030B (en) Data management method and device and server
CN107423039B (en) Interface refreshing method and terminal
CN111399722A (en) Mail signature generation method, device, terminal and storage medium
KR101750788B1 (en) Method and system for providing story board, and method and system for transmitting and receiving object selected in story board
CN116737278B (en) Method and device for generating system operation package, computer equipment and storage medium
CN110764681A (en) Application interface display method and device, client device and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20210412

Address after: 518057 Desai Science and Technology Building, 9789 Shennan Avenue, Yuehai Street, Nanshan District, Shenzhen City, Guangdong Province, 17th Floor (15th Floor of Natural Floor) 1702-1703

Patentee after: Shenzhen Microphone Holdings Co.,Ltd.

Address before: 518040 21 floor, east block, Times Technology Building, 7028 Shennan Road, Futian District, Shenzhen, Guangdong.

Patentee before: DONGGUAN GOLDEX COMMUNICATION TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right