CN104423852B - The method and device of text duplication - Google Patents
The method and device of text duplication Download PDFInfo
- Publication number
- CN104423852B CN104423852B CN201310370273.0A CN201310370273A CN104423852B CN 104423852 B CN104423852 B CN 104423852B CN 201310370273 A CN201310370273 A CN 201310370273A CN 104423852 B CN104423852 B CN 104423852B
- Authority
- CN
- China
- Prior art keywords
- user
- mark
- origin identification
- cut
- trigger
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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/04883—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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/04842—Selection of displayed objects or displayed text elements
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
The invention discloses a kind of method and devices of text duplication, are related to electronic apparatus application field, are able to solve when replicating text, user's repetitive operation leads to problem complex for operation step.The described method includes: showing the initial position of origin identification and the initial position of cut-off mark according to the trigger position of duplicate instructions;The adjustment instruction that user's touch operation is triggered is received, the adjustment instruction is used to be adjusted the initial position of the origin identification and/or the initial position of the cut-off mark;The trigger position of user's touch operation is determined as to the final position of origin identification and/or the final position of cut-off mark;Word content between the final position of the origin identification and the final position of the cut-off mark is determined as object content.During being read present invention is mainly applied to text information.
Description
Technical field
The present invention relates to the method and devices that electronic apparatus application field more particularly to a kind of text are replicated.
Background technique
User generally requires duplication display during through text informations such as the terminal readings webpages such as smart phone
Content.The prior art provides following copy modes: after user's long-pressing screen, the position of user's long-pressing head and the tail of the row being shown
Two touch blocks that can be dragged.User chooses object content by drag touch block.
During stating text duplication in realization, at least there are the following problems in the prior art for inventor's discovery: due to
User needs to realize selection object content by drag touch block, therefore when the content that user needs to replicate exceeds a screen
Indication range when, need first content will to have been selected to drag upwards, make occur non-selected content below screen, then by drag touch
Block is selected.If still failing all to choose object content at this time, needs content will to have been selected to drag upwards again, make to shield
There is non-selected content in curtain lower section, then drag touch block is selected, until choosing whole contents to be copied.It can
See, user needs repetitive operation to choose whole object contents, complex for operation step.
Summary of the invention
A kind of method and device of text duplication provided by the invention, is able to solve when replicating text, user repeats to grasp
Make, leads to problem complex for operation step.
On the one hand, the present invention provides a kind of methods of text duplication, which comprises
According to the trigger position of duplicate instructions, the initial position of origin identification and the initial position of cut-off mark are shown;
The adjustment instruction that user's touch operation is triggered is received, the adjustment instruction is used for the initial of the origin identification
The initial position of position and/or the cut-off mark is adjusted;
The trigger position of user's touch operation is determined as to the final position of origin identification and/or the stop bit of cut-off mark
It sets;
Word content between the final position of the origin identification and the final position of the cut-off mark is determined as
Object content.
On the other hand, the present invention also provides a kind of device of text duplication, described device includes:
Display unit shows the initial position and cut-off mark of origin identification for the trigger position according to duplicate instructions
Initial position;
The receiving unit is also used to, and receives the adjustment instruction that user's touch operation is triggered, and the adjustment instruction is used for
The initial position of initial position and/or the cut-off mark to the origin identification is adjusted;
First determination unit, for the trigger position of the received user's touch operation of the receiving unit to be determined as originating
The final position of mark and/or the final position of cut-off mark;
Second determination unit, the final position of the origin identification for determining first determination unit and described
The word content ended between the final position of mark is determined as object content.
The method and device of text duplication provided by the invention can show origin identification in predeterminated position according to elder generation and cut
It only identifies, the final position of origin identification and/or cut-off mark is determined further according to the trigger position of user's touch operation, it will be described
Word content between the final position of origin identification and the final position of the cut-off mark is determined as object content.Existing skill
User is needed to drag sliding block to determine final position, when to when the content of same screen selects, not needing first page turning in art
Reselection, it is cumbersome.In the present invention, according to the trigger position of the touch operation of user determine origin identification final position and
The final position of the cut-off mark.When the position of a deputy is not in the content of same screen, user only needs to carry out one click can be complete
At the selection of object content, user's operation is saved, improves operating efficiency.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is the flow chart of the method for text duplication in the embodiment of the present invention;
Fig. 2-a is a kind of signal of the initial position of origin identification and the initial position for ending mark in the embodiment of the present invention
Figure;
Fig. 2-b is showing for the initial position that the initial position of another origin identification and cut-off identify in the embodiment of the present invention
It is intended to;
Fig. 2-c is showing for the initial position that the initial position of another origin identification and cut-off identify in the embodiment of the present invention
It is intended to;
Fig. 3 is the flow chart of the method for another text duplication in the embodiment of the present invention;
Fig. 4 is the schematic diagram that block is touched in the embodiment of the present invention;
Fig. 5 is the structural schematic diagram of the device of text duplication in the embodiment of the present invention;
Fig. 6 is the structural schematic diagram of the device of another text duplication in the embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
The embodiment of the invention provides a kind of method of text duplication, the method is applied to the electronic equipment with touch screen
In, the electronic equipment includes smart phone, tablet computer etc., as shown in Figure 1, which comprises
It is initial to show that the initial position of origin identification and cut-off identify for step 101, the trigger position according to duplicate instructions
Position.
For user when executing the operation of triggering duplicate instructions, the contact position of finger and screen is above-mentioned trigger position.It rises
The initial position for the mark that begins and the initial position of cut-off mark are any one of following positions:
1, the initial position of origin identification is located at where with trigger position at the immediate character neutral gear of literal line, and described section
The initial position only identified is located at the character neutral gear at subsequent one or more character.
2, the stem of literal line where the initial position of origin identification is located at trigger position, the initial bit of the cut-off mark
Setting in the tail portion of the literal line.
Origin identification is the sliding block of the identical sliding block of shape or symmetrical shape with the icon of cut-off mark, so as to user's point
It hits and identifies.
Step 102 receives the adjustment instruction that user's touch operation is triggered, and adjustment instruction is used for the initial of origin identification
The initial position of position and/or cut-off mark is adjusted.
Touch operation includes: clicking operation and slide.When user needs to adjust the range of selection content, pass through touching
Touch operation triggering adjustment instruction.The trigger position of adjustment instruction is located at the interior zone or selected interior of selected content
The perimeter of appearance.
Step 103, the final position that the trigger position of user's touch operation is determined as to origin identification and/or cut-off mark
Final position.
In the initial position that the initial position of origin identification and cut-off are identified most with the trigger position of user's touch operation
Close initial position replaces with trigger position.If user carries out a touch operation, origin identification and cut-off are identified
In one initial position be adjusted.As user carries out multiple touch operation, and identifies with origin identification and cut-off and have
Closest trigger position more than once is then adjusted the initial position of origin identification and cut-off mark.
Word content between the final position of origin identification and the final position of cut-off mark is determined as by step 104
Object content.
The method of text duplication provided by the invention can show that origin identification and cut-off are marked in predeterminated position according to elder generation
Know, the final position of origin identification and/or cut-off mark is determined further according to the trigger position of user's touch operation, by the starting
Word content between the final position of mark and the final position of the cut-off mark is determined as object content.In the prior art
User is needed to drag sliding block to determine final position, when to when the content of same screen selects, first page turning not being needed to select again
It selects, it is cumbersome.In the present invention, the final position of origin identification and described is determined according to the trigger position of the touch operation of user
End the final position of mark.When the position of a deputy is not in the content of same screen, user, which only needs to carry out one click, can be completed mesh
The selection of content is marked, user's operation is saved, improves operating efficiency.
The embodiment of the invention also provides a kind of methods of text duplication, as the further explanation to method shown in Fig. 1,
In step 101, according to the trigger position of duplicate instructions, show the initial position of origin identification and the initial position of cut-off mark
Before step, the method also includes:
When receiving the duplicate instructions of user's triggering, it is switched to text replication mode;
Step 101, the trigger position according to the duplicate instructions show the initial position and cut-off mark of origin identification
The step of initial position of knowledge includes:
In replication mode, according to the trigger position of the duplicate instructions, initial position and the cut-off of origin identification are shown
The initial position of mark.
Between step 104, the final position for identifying the final position of the origin identification the cut-off
Word content was determined as after the step of object content, the method also includes:
When receiving the confirmation instruction of user's triggering, the object content is read.
Method as shown in connection with fig. 1, detailed process are as follows:
Step 201, when receive user triggering duplicate instructions when, be switched to text replication mode.
The user's operation for triggering duplicate instructions is any one following operation: long-pressing screen is clicked in page properties menu
Duplication list item, double-click screen.
Text replication mode is different from the general mode before switching, carries out part to the operation of user and parses, comprising:
The operation of the continuous rapid double tap screen of user is resolved into two single-click operations, by the cunning of position of the user other than selected areas
Dynamic operation resolves to the operation for scroll through pages.The operation of exiting of text replication mode clicks " duplication " function key by user
Or it is triggered when " exiting " function key.
Step 202, in replication mode, according to the trigger position of duplicate instructions, show origin identification initial position and
End the initial position of mark.
For user when executing the operation of triggering duplicate instructions, the contact position of finger and screen is above-mentioned trigger position.
Step 203 receives the adjustment instruction that user's touch operation is triggered, and adjustment instruction is used for the initial of origin identification
The initial position of position and/or cut-off mark is adjusted.
Step 204, the final position that the trigger position of user's touch operation is determined as to origin identification and/or cut-off mark
Final position.
Word content between the final position of origin identification and the final position of cut-off mark is determined as by step 205
Object content.
Step 206, when receive user triggering confirmation instruction when, read object content.
Object content is read in caching or hard disk.Confirmation instruction is by clicking " duplication " function key or " exiting "
Function key triggering.
The method of text duplication provided by the invention can be switched to replication mode according to the duplicate instructions that user triggers,
Origin identification and cut-off mark first are shown in predeterminated position in replication mode, it is true further according to the trigger position of user's touch operation
The final position for determining origin identification and/or cut-off mark reads the final position of origin identification when user triggers confirmation instruction
Word content between the final position of the cut-off mark.User is needed to drag sliding block to determine stop bit in the prior art
It sets, it is cumbersome when to when the content of same screen selects, not needing first page turning reselection.In the present invention, according to user
Touch operation trigger position determine origin identification final position and it is described cut-off mark final position.When the position of a deputy does not exist
When the content of same screen, user, which only needs to carry out one click, can be completed the selection of object content, save user's operation, improve
Operating efficiency.
The embodiment of the invention also provides a kind of methods of text duplication, illustrate as to Fig. 1 the method, walk
Rapid 102, according to the trigger position of the duplicate instructions, the initial position of origin identification and cut-off mark is shown, it can be by following
Two ways is implemented:
If currently referred to according to the duplication that user sets out in the content for browsing certain website (www.abc.com) in screen
Order is switched in text replication mode.Optionally, " duplication " function key and " exiting " are shown in the interface of text replication mode
Function key.Optionally, " duplication " function key and " exiting " function key are shown when clicking object content.Below to be replicated in text
" duplication " function key is shown in the interface of mode and specifically describes the embodiment of step 102 for " exiting " function key, such as
Fruit trigger position is the right positions of first colon of the third line, then:
1, origin identification is shown respectively at the trigger position both ends of the row of the duplicate instructions and terminate mark.
As shown in Fig. 2-a, the stem of literal line where the initial position of origin identification is located at trigger position, the cut-off mark
The initial position of knowledge is located at the tail portion of the literal line.
2, origin identification is shown at the trigger position of the duplicate instructions, the preset characters behind the trigger position
Place's display terminates mark.
As shown in Fig. 2-b, the initial position of origin identification is located at empty with the immediate character of literal line where trigger position
At gear, the initial position of the cut-off mark is located at the character neutral gear at a subsequent character.
As shown in fig. 2-c, the initial position of origin identification is located at empty with the immediate character of literal line where trigger position
At gear, the initial position of the cut-off mark is located at the character neutral gear at subsequent multiple characters.
The method of text duplication provided in an embodiment of the present invention, passes through the initial bit of display origin identification and cut-off mark
It sets, being able to use family can be selected on the basis of initial position, while being saved user and voluntarily being selected origin identification
The step of initial position and the initial position of cut-off mark, improve efficiency of selection.
The embodiment of the invention also provides a kind of methods of text duplication, illustrate as to Fig. 1 the method, walk
Rapid 103, the adjustment instruction that user's touch operation is triggered is received, the adjustment instruction is used for the initial bit to the origin identification
It sets and/or the initial position of the cut-off mark is adjusted, can be implemented by following manner:
Step 103-a, the origin identification adjustment instruction that user's touch operation is triggered is received, the origin identification adjustment refers to
Order is adjusted for the initial position to the origin identification.
Alternatively, the cut-off mark adjustment instruction that step 103-b, reception user's touch operation are triggered, the cut-off adjustment
It instructs and is adjusted for the initial position to the cut-off mark.
When executing step 103-a, step 104 is embodied as step 104-a, determines the trigger position of user's touch operation
For the final position of origin identification.
When executing step 103-b, step 104 is embodied as step 104-b, determines the trigger position of user's touch operation
For the final position of cut-off mark.
There are following three kinds of situations in the position that the trigger position of user's touch operation is likely to occur:
1, before the initial position of origin identification.
2, between the initial position of origin identification and the initial position of cut-off mark, not comprising the initial of origin identification
The initial position of position and cut-off mark.
3, after the initial position of cut-off mark.
For situation 1, since the trigger position of user's touch operation and the distance between the initial position of origin identification are small
Therefore step 103-a is executed in the distance between the initial position of trigger position and cut-off mark that user clicks.
For situation 3, since the trigger position and the distance between the initial position of cut-off mark of user's touch operation are small
In the distance between the trigger position of user's click and the initial position of origin identification, therefore, step 103-b is executed.
For situation 2, judge the trigger position of user's touch operation and origin identification and cut-off which of identify away from
From nearest.If the initial position distance with origin identification is nearest, 103-a is thened follow the steps.If initial with cut-off mark
Positional distance is nearest, thens follow the steps 103-b.
The method of text duplication provided in an embodiment of the present invention, can change according to the trigger position of user's touch operation
The step of begin the initial position identified or the initial position for ending mark, and the page turning of user elder generation is avoided to pull sliding block again, simplifies behaviour
Make.
The embodiment of the invention also provides a kind of methods of text duplication, illustrate as to Fig. 1 the method, such as
Shown in Fig. 3, step 106, when receive user triggering confirmation instruction when, read object content, can be carried out by following manner
Implement:
Step 106-a, when receive user by function key trigger when exiting instruction, read object content.
Step 106-b, text replication mode is exited.
When being switched to text replication mode, " duplication " function button or " exiting " function button are shown.If user's point
" duplication " function key is hit, then reads object content, and exits text replication mode.It exits after text replication mode, returns just
In norm formula.The operation of the reading object content is to read to cache or read hard disk.If user clicks " exiting " function
Key then directly exits text replication mode.It exits after text replication mode, returns in normal mode.
The embodiment of the invention also provides a kind of methods of text duplication, illustrate as to method shown in Fig. 1, walk
The initial position of origin identification and the initial position of cut-off mark are shown in rapid 102, can be implemented by following manner:
In the corresponding position of the next line of the initial position of origin identification and the next line of the initial position in cut-off mark
Corresponding position show the sliding block with default transparency respectively.
As shown in figure 4, the corresponding cursor position of the initial position of origin identification, shows in the lower end of the cursor position
The touch block that casemaking clothes moth is connected with the cursor lower end.The filling mode of the touch block are as follows: there is the filling mode of default transparency.
Default transparency is specially 40% or 50% or 60% etc..The corresponding touch block of origin identification touch block corresponding with mark is ended
Shape can be it is the same be also possible to it is symmetrical.
The method of text duplication provided in an embodiment of the present invention, it is aobvious by the corresponding position in origin identification and cut-off mark
Show the touch block with default transparency, can be when user select a few row texts, next line will not be blocked by touching block
Text, and then improve the accuracy of user's selection.
The embodiment of the invention also provides a kind of device 51 of text duplication, described device is applied to the electronics with touch screen
In equipment, the electronic equipment includes smart phone, tablet computer etc., as shown in figure 5, the device 51 of text duplication wraps
It includes:
Display unit 511 shows the initial position and cut-off mark of origin identification for the trigger position according to duplicate instructions
The initial position of knowledge.
The receiving unit 512 is also used to, and receives the adjustment instruction that user's touch operation is triggered, and the adjustment instruction is used
It is adjusted in the initial position of initial position and/or the cut-off mark to the origin identification.
First determination unit 513, for determining the trigger position of the received user's touch operation of the receiving unit 512
For the final position of origin identification and/or the final position of cut-off mark.
Second determination unit 514, the final position of the origin identification for determining first determination unit 513
Word content between the final position of the cut-off mark is determined as object content.
The device 51 of text duplication provided by the invention can show that origin identification and cut-off are marked in predeterminated position according to elder generation
Know, the final position of origin identification and/or cut-off mark is determined further according to the trigger position of user's touch operation, by the starting
Word content between the final position of mark and the final position of the cut-off mark is determined as object content.In the prior art
User is needed to drag sliding block to determine final position, when to when the content of same screen selects, first page turning not being needed to select again
It selects, it is cumbersome.In the present invention, the final position of origin identification and described is determined according to the trigger position of the touch operation of user
End the final position of mark.When the position of a deputy is not in the content of same screen, user, which only needs to carry out one click, can be completed mesh
The selection of content is marked, user's operation is saved, improves operating efficiency.
Further, the embodiment of the invention also provides a kind of devices 51 of text duplication, as shown in fig. 6, described device
Further include: switch unit 61 and reading unit 62.
The receiving unit is also used to receive the duplicate instructions of user's triggering;
Described device further includes switch unit 61, for receiving the duplicate instructions of user's triggering when the receiving unit
When, it is switched to text replication mode;
The display unit is also used in the replication mode that the switch unit 61 switches, according to the receiving unit
The trigger position of the received duplicate instructions shows the initial position of origin identification and the initial position of cut-off mark;
The receiving unit is also used to, and receives the confirmation instruction of user's triggering;
Described device further includes reading unit 62, when for receiving the confirmation instruction of user's triggering when receiving unit, is read
The object content for taking second determination unit to determine.
Further, the display unit 511 is also used to:
Origin identification is shown respectively at the trigger position of duplicate instructions both ends of the row and terminates mark.
Further, the display unit 511 is also used to:
Origin identification is shown at the trigger position of the duplicate instructions, behind the trigger position at preset characters
Display terminates mark.
The device 51 of text duplication provided in an embodiment of the present invention, passes through the initial bit of display origin identification and cut-off mark
It sets, being able to use family can be selected on the basis of initial position, while being saved user and voluntarily being selected origin identification
The step of initial position and the initial position of cut-off mark, improve efficiency of selection.
Further, the receiving unit 512 is also used to, and is received the origin identification adjustment that user's touch operation is triggered and is referred to
It enables, the origin identification adjustment instruction is for being adjusted the initial position of the origin identification.
First determination unit 513 is also used to, and the trigger position of user's touch operation is determined as to the end of origin identification
Stop bit is set.
Further, the receiving unit 512 is also used to, and is received the cut-off mark adjustment that user's touch operation is triggered and is referred to
It enables, the cut-off adjustment instruction is used to be adjusted the initial position of the cut-off mark;
First determination unit 513 is also used to, and the trigger position of user's touch operation is determined as to the end of cut-off mark
Stop bit is set.
The device 51 of text duplication provided in an embodiment of the present invention, can change according to the trigger position of user's touch operation
The initial position of the initial position of origin identification or cut-off mark, simplifies the step of avoiding the page turning of user elder generation from pulling sliding block again
Operation.
Further, the reading unit 62, comprising:
Reading subunit 621, for when receiving unit 512 receive user by function key trigger when exiting instruction,
Read the object content.
Subelement 622 is exited, for exiting the text replication mode.
Further, the display unit 511 is also used to, in the corresponding position of the next line of the initial position of origin identification
The sliding block with default transparency is shown respectively with the corresponding position of the next line of the initial position in cut-off mark.
The device 51 of text duplication provided in an embodiment of the present invention, passes through the corresponding position in origin identification and cut-off mark
Show the touch block with default transparency, can be when user select a few row texts, touch block will not block next
Row text, and then improve the accuracy of user's selection.
It should be noted that in above-described embodiment, for prominent selected object content, by the background face of object content
Color is shown according to default background colour, highlights effect to reach.Default background colour includes but is not limited to: blue, light blue, blue
Grey.
In addition, when user needs to select the multiterminal in text, after entering edit pattern, if user touches
Long press operation is sent out, then the initial position of another group of origin identification is shown according to the trigger position of long press operation and ends the first of coordinate
Beginning position.User is by the corresponding touch block of dragging origin identification and ends the adjustable object content of the corresponding touch block of mark
Range.In addition, another implementation are as follows: adjust the first of another group of origin identification according to the trigger position of the touch operation of user
The initial position of beginning position and cut-off mark.
After reading object content, can be read from caching or hard disk object content carry out using, such as: to social network
It stands and uploads object content, object content is sent by short breath or instant communication software.
It is apparent to those skilled in the art that for convenience and simplicity of description, only with above-mentioned each function
The division progress of module can according to need and for example, in practical application by above-mentioned function distribution by different function moulds
Block is completed, i.e., the internal structure of device is divided into different functional modules, to complete all or part of function described above
Energy.The specific work process of the system, apparatus, and unit of foregoing description, can be with reference to corresponding in preceding method embodiment
Journey, details are not described herein.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.
Claims (9)
1. a kind of method of text duplication, which is characterized in that the described method includes:
When receiving the duplicate instructions of user's triggering, it is switched to text replication mode;
In the text replication mode, according to the trigger position of the duplicate instructions, show origin identification initial position and
End the initial position of mark;
The adjustment instruction that user's touch operation is triggered is received, the adjustment instruction is used for the initial position to the origin identification
And/or the initial position of the cut-off mark is adjusted;
The trigger position of user's touch operation is determined as to the final position of origin identification and/or the final position of cut-off mark;
Word content between the final position of the origin identification and the final position of the cut-off mark is determined as target
Content;
Wherein, the step of initial position that the initial position of the display origin identification and cut-off identify, comprising:
Pair of the next line of corresponding position in the next line of the initial position of origin identification and the initial position in cut-off mark
Position is answered to show the sliding block with default transparency respectively;
Wherein, the trigger position by user's touch operation is determined as the final position of origin identification and/or ends mark
Final position, comprising:
If the trigger position of user's touch operation is located at before the initial position of the origin identification, the user is touched and is grasped
The trigger position of work is determined as the final position of the origin identification;
If the trigger position of user's touch operation is located at the initial position of the origin identification and the initial bit of the cut-off mark
Between setting, then when the initial position of the trigger position of user's touch operation and the origin identification is closer, by institute
The trigger position for stating user's touch operation is determined as the final position of the origin identification, when the triggering of user's touch operation
When the initial position of position and the cut-off mark is closer, the trigger position of user's touch operation is determined as described
End the final position of mark;
If the trigger position of user's touch operation is located at after the initial position of the cut-off mark, the user is touched and is grasped
The trigger position of work is determined as the final position of the cut-off mark.
2. the method according to claim 1, wherein described by the final position of the origin identification and described
After ending the step of word content between the final position of mark is determined as object content, the method also includes:
When receiving the confirmation instruction of user's triggering, the object content is read.
3. according to the method described in claim 2, it is characterized in that, the trigger position according to the duplicate instructions, display
The step of initial position of origin identification and cut-off mark, comprising:
Origin identification is shown respectively at the trigger position of duplicate instructions both ends of the row and terminates mark;
Alternatively, origin identification is shown at the trigger position of the duplicate instructions, the preset characters behind the trigger position
Place's display terminates mark.
4. according to the method described in claim 2, it is characterized in that, described when receiving the confirmation instruction of user's triggering, reading
The step of taking the object content, comprising:
When receive user by function key trigger when exiting instruction, read the object content;
Exit the text replication mode.
5. a kind of device of text duplication, which is characterized in that described device includes:
Receiving unit, for receiving the duplicate instructions of user's triggering;
Switch unit is switched to text replication mode when for receiving the duplicate instructions of user's triggering when the receiving unit;
Display unit, for according to the trigger position of the duplicate instructions, showing origin identification in the text replication mode
Initial position and cut-off mark initial position;
The receiving unit, is also used to receive the adjustment instruction that user's touch operation is triggered, and the adjustment instruction is used for institute
The initial position of the initial position and/or the cut-off mark of stating origin identification is adjusted;
First determination unit, for the trigger position of the received user's touch operation of the receiving unit to be determined as origin identification
Final position and/or cut-off mark final position;
Second determination unit, the final position of the origin identification for determining first determination unit and the cut-off
Word content between the final position of mark is determined as object content;
Wherein, the display unit is also used to mark in the corresponding position of the next line of the initial position of origin identification and in cut-off
The corresponding position of the next line of the initial position of knowledge shows the sliding block with default transparency respectively;
Wherein, first determination unit, is specifically used for:
If the trigger position of user's touch operation is located at before the initial position of the origin identification, the user is touched and is grasped
The trigger position of work is determined as the final position of the origin identification;
If the trigger position of user's touch operation is located at the initial position of the origin identification and the initial bit of the cut-off mark
Between setting, then when the initial position of the trigger position of user's touch operation and the origin identification is closer, by institute
The trigger position for stating user's touch operation is determined as the final position of the origin identification, when the triggering of user's touch operation
When the initial position of position and the cut-off mark is closer, the trigger position of user's touch operation is determined as described
End the final position of mark;
If the trigger position of user's touch operation is located at after the initial position of the cut-off mark, the user is touched and is grasped
The trigger position of work is determined as the final position of the cut-off mark.
6. device according to claim 5, which is characterized in that
The receiving unit is also used to receive the confirmation instruction of user's triggering;
Described device further includes reading unit, when for receiving the confirmation instruction of user's triggering when receiving unit, described in reading
The object content that second determination unit determines.
7. device according to claim 6, which is characterized in that the display unit is also used to:
Origin identification is shown respectively at the trigger position of duplicate instructions both ends of the row and terminates mark.
8. device according to claim 5, which is characterized in that the display unit is also used to:
Origin identification is shown at the trigger position of the duplicate instructions, is shown behind the trigger position at preset characters
Terminate mark.
9. device according to claim 6, which is characterized in that the reading unit, comprising:
Reading subunit, for when receiving unit receive user by function key trigger when exiting instruction, read the mesh
Mark content;
Subelement is exited, for exiting the text replication mode.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310370273.0A CN104423852B (en) | 2013-08-22 | 2013-08-22 | The method and device of text duplication |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310370273.0A CN104423852B (en) | 2013-08-22 | 2013-08-22 | The method and device of text duplication |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104423852A CN104423852A (en) | 2015-03-18 |
CN104423852B true CN104423852B (en) | 2019-01-29 |
Family
ID=52972988
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310370273.0A Active CN104423852B (en) | 2013-08-22 | 2013-08-22 | The method and device of text duplication |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104423852B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105975207A (en) * | 2016-05-03 | 2016-09-28 | 珠海市魅族科技有限公司 | Data selection method and device |
CN106896981A (en) * | 2017-02-07 | 2017-06-27 | 惠州Tcl移动通信有限公司 | One kind replicates implementation method and realizes system |
CN110754073A (en) * | 2017-09-25 | 2020-02-04 | 深圳市欢太科技有限公司 | Content selection method, electronic device, storage medium, and computer program product |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102799568A (en) * | 2011-05-26 | 2012-11-28 | 腾讯科技(深圳)有限公司 | Method and system for selecting and copying read-only text |
CN103150113A (en) * | 2013-02-28 | 2013-06-12 | 北京小米科技有限责任公司 | Method and device for selecting display content of touch screen |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002290543A (en) * | 2001-03-26 | 2002-10-04 | Hitachi Kokusai Electric Inc | Portable telephone |
US8650507B2 (en) * | 2008-03-04 | 2014-02-11 | Apple Inc. | Selecting of text using gestures |
CN103034411B (en) * | 2011-10-09 | 2016-01-27 | 中国移动通信集团公司 | For text selection method and the device of touch-screen |
-
2013
- 2013-08-22 CN CN201310370273.0A patent/CN104423852B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102799568A (en) * | 2011-05-26 | 2012-11-28 | 腾讯科技(深圳)有限公司 | Method and system for selecting and copying read-only text |
CN103150113A (en) * | 2013-02-28 | 2013-06-12 | 北京小米科技有限责任公司 | Method and device for selecting display content of touch screen |
Also Published As
Publication number | Publication date |
---|---|
CN104423852A (en) | 2015-03-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103324440B (en) | A kind of method utilizing multi-point touch to select word content | |
CN102360249B (en) | Discrete keyboard layout system and method to set up, corresponding mancarried electronic aid and control method | |
CN105843492A (en) | Method and apparatus for editing home screen in touch device | |
CN104541239A (en) | Text select and enter | |
CN102855066A (en) | Terminal and terminal control method | |
CN103019577B (en) | Method and device, control method and the control device of selecting object | |
JP2014071812A (en) | Information processing device, display control method, and program | |
CN103631821B (en) | A kind of application program searching method and electric terminal | |
CN103324436B (en) | A kind of task processing method and device | |
CN105940385B (en) | Controlling primary and secondary displays from a single touch screen | |
KR102452771B1 (en) | The Method For Setting Desired Point And The Method For Setting Driving Route Of Vehicle | |
US9904468B2 (en) | Method and terminal for determining operation object | |
CN102830812A (en) | Pen-based terminal, controlled device and man-machine interactive system | |
US9747020B2 (en) | Information transmitting method, device and terminal | |
CN106033507A (en) | Screen unlocking methods and devices for touch screen devices | |
CN104423852B (en) | The method and device of text duplication | |
CN103747308A (en) | Method and system for controlling smart television with analog keys, and mobile terminal | |
CN109656455A (en) | A kind of smartwatch and its input method | |
CN101770310B (en) | Touch processing method and touch processing device | |
CN105874411B (en) | A kind of processing operation method and terminal | |
CN104978171B (en) | It can recognize the output method and device of mark | |
CN105320431A (en) | Intelligent terminal application fast searching method and system | |
TWI473491B (en) | Mobile communication device and method of controlling the same | |
CN104915102B (en) | The exchange method and device of graphical interfaces | |
CN104423657B (en) | The method and electronic equipment of information processing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |