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 some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, those of ordinary skill in the art's acquired every other implementation without creative efforts
Example, shall fall within the protection scope of the present invention.
First embodiment
Referring to Fig. 1, Fig. 1 be the flow chart of text clone method provided in an embodiment of the present invention, as shown in Figure 1, include with
Lower step:
If step 101 detects duplication operation, the content of text that duplication operates selection is obtained.
In the step, when mobile terminal detects that duplication operation, the available duplication operation of mobile terminal are selected
Content of text.Wherein, content of text can be the text comprising multiple paragraphs, be also possible to the text comprising multiple sentences, or
Person is the text comprising multirow.Wherein, above-mentioned duplication operation can be what user was inputted by touch screen, is also possible to user and borrows
Help input equipment (such as stylus, keyboard or mouse etc.) input.In this regard, the embodiment of the present invention is not construed as limiting.
Content of text is shown as mutually separated multiple sub- text blocks in operating area by step 102.
In the step, duplication can be operated selected content of text and be separated into multiple sub- text blocks by mobile terminal, and
The sub- text block separated can be shown on operating area.
Wherein, it specific separation mode and being not construed as limiting, mobile terminal can be separated content of text according to paragraph,
For example, one sub- text block of each paragraph or two sections of conducts;It can also be paused according to sentence and content of text is separated, example
Such as, each or two sentences are as a sub- text block;Text can also be separated according to line number, for example, every a line
Or two row as a sub- text block;Or text is separated according to number of words, for example, every ten words or 20 word conducts
One sub- text block.Schematic diagram for each paragraph as a sub- text block;It is each sentence as a sub- text block
Schematic diagram.
Wherein, aforesaid operations region can be when mobile terminal detects duplication operation, an independent window of pop-up
Mouthful, which can be used to the content of text of displaying duplication, and carry out the edit operation in step 103, complete in edit operation
Later, operating area can be hidden, and obtained target text to be pasted can be shown in target window.
In addition, target window can also temporarily serve as aforesaid operations region, that is to say, that can use target window progress
Target text is directly shown in target window by the display of sub- text block and editor after edit operation completion.
It should be noted that the above mutually separated sub- text block is editable sub- text block, i.e., each Ziwen sheet
Block can be edited respectively.
In the embodiment of the present invention, content of text is separated into multiple editable sub- text blocks, in this way, can be convenient user
Selected content of text is operated to duplication to be adjusted or screen.
If step 103 detects edit operation at least one of multiple sub- text blocks sub- text block, according to editor
Operation, obtains target text to be pasted.
It is mobile when mobile terminal detects the edit operation to wherein any one or more sub- text blocks in the step
Terminal can obtain target text to be pasted according to the edit operation.
Wherein, above-mentioned edit operation may include delete operation, moving operation or input operation at least one of or it is more
?.Above-mentioned edit operation can be what user was inputted by touch screen, be also possible to user by means of input equipment (such as touch-control
Pen, keyboard or mouse etc.) input.In this regard, the embodiment of the present invention is not construed as limiting.
For example, user replicates the content of text for including five sections, mobile terminal is using each section of text as one
A sub- text block shares five sub- text blocks.If user only needs second segment therein, the 4th section and the 5th section, and
User wishes to be placed between second segment and the 4th section in the 5th section.So, user can be first to first sub- text block
Delete operation is carried out with the sub- text block of third, moving operation then is carried out to the 5th sub- text block again.In this way, user only needs
Required target text is obtained by once replicating operation.
In the embodiment of the present invention, above-mentioned terminal can be any equipment with storaging medium, such as: computer
(Computer), mobile phone, tablet computer (Tablet Personal Computer), laptop computer (Laptop
Computer), personal digital assistant (personal digital assistant, abbreviation PDA), mobile Internet access electronic equipment
(Mobile Internet Device, MID), wearable device (Wearable Device) etc..
The text clone method of the embodiment of the present invention is applied to mobile terminal, if detecting duplication operation, obtains duplication behaviour
The content of text to elect;Content of text is shown as mutually separated multiple sub- text blocks in operating area;If detecting pair
The edit operation of the sub- text block of at least one of multiple sub- text blocks obtains target text to be pasted according to edit operation.
In this way, user can be by Ziwen by the way that the content of text of duplication is separated into multiple sub- text blocks that can be edited respectively
The edit operation of this block reduces the number of duplication operation, is a kind of convenient and fast text come the content of text pasted required for obtaining
This clone method.
Second embodiment
Referring to fig. 2, Fig. 2 is the flow chart of text clone method provided in an embodiment of the present invention, as shown in Fig. 2, include with
Lower step:
If step 201 detects duplication operation, the content of text that duplication operates selection is obtained.
In the step, when mobile terminal detects that duplication operation, the available duplication operation of mobile terminal are selected
Content of text.Wherein, content of text can be the text comprising multiple paragraphs, be also possible to the text comprising multiple sentences, or
Person is the text comprising multirow.Wherein, above-mentioned duplication operation can be what user was inputted by touch screen, is also possible to user and borrows
Help input equipment (such as stylus, keyboard or mouse etc.) input.In this regard, the embodiment of the present invention is not construed as limiting.
Step 202 obtains the separation mark for including in content of text.
In the step, the available duplication of mobile terminal, which operates, separates mark included in selected content of text,
Above-mentioned separation mark may include that paragraph separates mark or statement separator mark.Wherein, statement separator mark can be fullstop,
It can be any punctuation mark.
Content of text is identified as boundary and is separated into multiple sub- text blocks, and is shown in operating space by step 203 to separate
Domain.
In the step, duplication can be operated selected content of text by mobile terminal to be known with above-mentioned separation sign for boundary point
Multiple sub- text blocks are divided into, and the sub- text block separated can be shown on operating area.
For example, content of text can be identified as boundary with paragraph separation by mobile terminal is separated into multiple sub- text blocks, such as
Shown in Fig. 2-1, each paragraph can be used as a sub- text block;Mobile terminal can also be identified content of text with statement separator
Multiple sub- text blocks are separated into for boundary, as shown in Fig. 2-2, each sentence can be used as a sub- text block;Mobile terminal is also
Content of text first can be identified as boundary with paragraph separation and be separated into multiple sub- text blocks, if user is to wherein anyon text
Block is clicked, and the sub- text block being clicked can also be identified as boundary with statement separator and be separated again.
Wherein, aforesaid operations region can be when mobile terminal detects duplication operation, an independent window of pop-up
Mouthful, which can be used to the content of text of displaying duplication, and carry out the edit operation in step 103, complete in edit operation
Later, operating area can be hidden, and obtained target text to be pasted can be shown in target window.
In addition, target window can also temporarily serve as aforesaid operations region, that is to say, that can use target window progress
Target text is directly shown in target window by the display of sub- text block and editor after edit operation completion.
It should be noted that the above mutually separated sub- text block is editable sub- text block, i.e., each Ziwen sheet
Block can be edited respectively.
In the embodiment of the present invention, content of text is separated into multiple editable sub- text blocks, in this way, can be convenient user
Selected content of text is operated to duplication to be adjusted or screen.
Optionally, separate and be identified as paragraph separation mark or statement separator mark;Content of text is identified as boundary to separate
The step of limit is separated into multiple sub- text blocks, comprising: content of text is separated into mark with paragraph or statement separator is identified as boundary
It is separated into multiple sub- text blocks.
In embodiment of the present invention, paragraph can be separated to mark or statement separator mark as separation mark.In this way,
Separate mark according to paragraph, content of text can be divided into multiple sub- text blocks as unit of paragraph;It is identified according to statement separator,
Content of text can be divided into multiple sub- text blocks as unit of sentence.Embodiment of the present invention, paragraph separate mark or language
The semanteme that sentence separates mark and can more preferably embody in content of text separates, and the sub- text block after separating is made to preferably keep integrality,
And more meet the term habit of user.
Optionally, content of text is separated into mark with paragraph or statement separator is identified as boundary and is separated into multiple sub- text blocks
The step of, comprising: content of text is identified as boundary with paragraph separation and is separated into the multiple first sub- text blocks;If detecting to more
The clicking operation of a first sub- text block in a first sub- text block, by the be clicked first sub- text block with statement separator
It is identified as boundary and is separated into the multiple second sub- text blocks.
In embodiment of the present invention, in order to keep the separation of content of text more reasonable, mobile terminal can be first according to paragraph
Separate mark and content of text is separated into the multiple first sub- text blocks;If user need to one of them first sub- text block into
The further editor of row, then can be by clicking the first sub- text block, and mobile terminal, then should after detecting clicking operation
First sub- text block is separated again according to statement separator mark, to form the multiple second sub- text blocks.
In embodiment of the present invention, by way of two fire resisting divisions (first paragraph separate again statement separator) to content of text into
Row separates, more convenient, more quick than the mode that single-stage separates (or paragraph separates or statement separator).Especially for the text of duplication
The more situation of this content, two fire resisting divisions can be reduced user to the time of sub- text block edit operation, to improve user's acquisition
The efficiency of target text.
If step 204 detects edit operation at least one of multiple sub- text blocks sub- text block, according to editor
Operation, obtains target text to be pasted.
It is mobile when mobile terminal detects the edit operation to wherein any one or more sub- text blocks in the step
Terminal can obtain target text to be pasted according to the edit operation.
Wherein, above-mentioned edit operation may include delete operation, moving operation or input operation at least one of or it is more
?.Above-mentioned edit operation can be what user was inputted by touch screen, be also possible to user by means of input equipment (such as touch-control
Pen, keyboard or mouse etc.) input.In this regard, the embodiment of the present invention is not construed as limiting.
For example, user replicates the content of text for including three sections, each section of content of text all contains multiple
The sentence separated with fullstop.This three sections of texts can be separated into as unit of sentence by fullstop for boundary by mobile terminal respectively
Sub- text block.If user needs first segment and third section, and wishes to delete in the first paragraph second of this section, in third section
Increase a word in middle first wished in this paragraph.So, user can first by all sub- text blocks in second segment into
Row is deleted, and is then deleted second sub- text block in first segment, finally the sub- text block of first in third section
The middle place input target word for needing to increase word.In this way, user only need to by once replicate operation obtain it is required
Target text.
The difference of the embodiment of the present invention and first embodiment is that the embodiment of the present invention, which specifies, is separated into content of text
The concrete mode of multiple sub- text blocks is identified as boundary with separation and content of text is separated into multiple sub- text blocks.To separate
It is identified as the inherent law that boundary is more in line with content of text to the mode that content of text is separated, the sub- text block after separation
It is relatively complete.
The text clone method of the embodiment of the present invention is applied to mobile terminal, if detecting duplication operation, obtains duplication behaviour
The content of text to elect;Obtain the separation mark for including in content of text;Content of text is identified as boundary separation to separate
At multiple sub- text blocks, and it is shown in operating area;If detecting at least one of multiple sub- text blocks sub- text block
Edit operation obtains target text to be pasted according to edit operation.In this way, passing through the content of text that will be replicated according to separation
Mark is separated into multiple sub- text blocks that can be edited respectively, and user can be by the edit operation to sub- text block to obtain
The content of text for needing to paste reduces the number of duplication operation, is a kind of convenient and fast text clone method.
3rd embodiment
It is the flow chart of text clone method provided in an embodiment of the present invention referring to Fig. 3, Fig. 3, as shown in figure 3, this method
The following steps are included:
If step 301 detects duplication operation, the content of text that duplication operates selection is obtained.
In the step, when mobile terminal detects that duplication operation, the available duplication operation of mobile terminal are selected
Content of text.Wherein, content of text can be the text comprising multiple paragraphs, be also possible to the text comprising multiple sentences, or
Person is the text comprising multirow.Wherein, above-mentioned duplication operation can be what user was inputted by touch screen, is also possible to user and borrows
Help input equipment (such as stylus, keyboard or mouse etc.) input.In this regard, the embodiment of the present invention is not construed as limiting.
Content of text is shown as mutually separated in operating area, and is respectively arranged with the multiple of deleted marker by step 302
Sub- text block.
In the step, duplication can be operated selected content of text and be separated into multiple sub- text blocks by mobile terminal, and
The sub- text block separated can be shown on operating area, each sub- text block is also provided with deleted marker.
Wherein, above-mentioned deleted marker can be the mark with "×" number or "-" number, be also possible to as shown in figure 3-1
Deleted marker;Above-mentioned deleted marker can be set at the rear or upper left side or lower left etc. position of each sub- text block,
It can be set in the front or upper right side or lower right etc. position of each sub- text block.Above-mentioned deleted marker can also be with highlighted
Or the more prominent form such as colour is shown, can more cause the attention of user.
It the effects of by the way that deleted marker is arranged, informing, prompt or guidance can be played for each sub- text block, can be improved
User experience.
Optionally, by content of text the step of an operating area is shown as mutually separated multiple sub- text blocks, comprising:
Obtain the separation mark for including in content of text;Content of text is identified as boundary and is separated into multiple sub- text blocks to separate, and
It is shown in operating area.
In embodiment of the present invention, mobile terminal can be identified as boundary with separation and content of text is separated into multiple Ziwens
This block.It is identified as the inherent law for being more in line with content of text in a manner of boundary is separated content of text to separate, is separated
Sub- text block afterwards is relatively complete.
Optionally, separate and be identified as paragraph separation mark or statement separator mark;Content of text is identified as boundary to separate
The step of limit is separated into multiple sub- text blocks, comprising: content of text is separated into mark with paragraph or statement separator is identified as boundary
It is separated into multiple sub- text blocks.
In embodiment of the present invention, paragraph can be separated to mark or statement separator mark as separation mark.In this way,
Separate mark according to paragraph, content of text can be divided into multiple sub- text blocks as unit of paragraph;It is identified according to statement separator,
Content of text can be divided into multiple sub- text blocks as unit of sentence.Embodiment of the present invention, paragraph separate mark or language
The semanteme that sentence separates mark and can more preferably embody in content of text separates, and the sub- text block after separating is made to preferably keep integrality,
And more meet the term habit of user.
Optionally, content of text is separated into mark with paragraph or statement separator is identified as boundary and is separated into multiple sub- text blocks
The step of, comprising: content of text is identified as boundary with paragraph separation and is separated into the multiple first sub- text blocks;If detecting to more
The clicking operation of a first sub- text block in a first sub- text block, by the be clicked first sub- text block with statement separator
It is identified as boundary and is separated into the multiple second sub- text blocks.
In embodiment of the present invention, in order to keep the separation of content of text more reasonable, mobile terminal can be first according to paragraph
Separate mark and content of text is separated into the multiple first sub- text blocks;If user need to one of them first sub- text block into
The further editor of row, then can be by clicking the first sub- text block, and mobile terminal, then should after detecting clicking operation
First sub- text block is separated again according to statement separator mark, to form the multiple second sub- text blocks.
In embodiment of the present invention, by way of two fire resisting divisions (first paragraph separate again statement separator) to content of text into
Row separates, more convenient, more quick than the mode that single-stage separates (or paragraph separates or statement separator).Especially for the text of duplication
The more situation of this content, two fire resisting divisions can be reduced user to the time of sub- text block edit operation, to improve user's acquisition
The efficiency of target text.
If step 303 detects clicking operation to deleted marker, by the corresponding sub- text block of the deleted marker being clicked
It deletes.
In the step, user can be deleted corresponding sub- text block by clicking deleted marker, in mobile terminal
When detecting clicking operation of the user to deleted marker, mobile terminal can be by the corresponding sub- text block of the deleted marker being clicked
It deletes.It should be noted that input equipment (such as stylus, keyboard or mouse can also be passed through to the clicking operation of deleted marker
Mark etc.) it carries out.
Step 304, using the content in content of text in addition to the corresponding sub- text block of the deleted marker being clicked as to
The target text of stickup.
In the step, mobile terminal can by content of text in addition to the corresponding sub- text block of the deleted marker being clicked
Content as target text to be pasted, i.e., deleted sub- text block is that user does not need the content of text pasted.Certainly,
If user also performs other edit operations such as moving or input, then in addition to performing delete operation to sub- text block
Target text should be obtained in conjunction with other edit operations.
Optionally, if detecting the drag operation to sub- text block, trailing sub- text block is moved to target position
It sets;Using content of text according to the sequence after movement as target text to be pasted.
In embodiment of the present invention, user can be moved anyon text block, for example, can be by preceding Ziwen
This block is moved to below, and posterior sub- text block can be moved to front, can exchange the position of two sub- text blocks, etc.
Deng.User can pin the sub- text block to be moved, and be dragged to target position.It should be noted that mobile behaviour
Work can also be carried out by input equipment (such as stylus, keyboard or mouse etc.).
In embodiment of the present invention, when mobile terminal detects user to the drag operation of sub- text block, mobile terminal can
Trailing sub- text block is moved to target position.Mobile terminal can using content of text according to the sequence after movement as
Target text to be pasted.Certainly, it if user is in addition to performing moving operation to sub- text block, also performs and other for example deletes
It the edit operations such as removes or inputs, then should obtain target text in conjunction with other edit operations.
Optionally, if detecting, user to the clicking operation of sub- text block, is inserted into the new text of user's input at click
This;The content of text of new text will be inserted as target text to be pasted.
In embodiment of the present invention, user can input new text, Yong Huke in any position of any this block of Ziwen
To be clicked in the position for needing to be inserted into new text, new text is then inputted.
In embodiment of the present invention, mobile terminal can detecte user to the clicking operation of sub- text block, and can be
The new text of user's input is inserted at click.Mobile terminal can will insert the content of text of new text as mesh to be pasted
Mark text.Certainly, if user also performs other such as deleting or is mobile in addition to performing input operation to sub- text block
Edit operation then should obtain target text in conjunction with other edit operations.
The difference of the embodiment of the present invention and first embodiment is, when content of text is divided into multiple sub- text blocks, is
Each sub- text block is provided with deleted marker.By the way that deleted marker is arranged for each sub- text block, can play informing, prompt or
User experience can be improved in the effects of guidance.
The text clone method of the embodiment of the present invention obtains duplication and operates in the text of selection if detecting duplication operation
Hold;Content of text is shown as mutually separated in operating area, and is respectively arranged with multiple sub- text blocks of deleted marker;If inspection
The clicking operation to deleted marker is measured, the corresponding sub- text block of the deleted marker being clicked is deleted;It will be removed in content of text
Content except the corresponding sub- text block of the deleted marker being clicked is as target text to be pasted.In this way, by that will replicate
Content of text be separated into multiple sub- text blocks that can be deleted respectively according to mark is separated, user can grasp at least through deleting
Make to reduce the number of duplication operation to obtain the required content of text pasted, be a kind of convenient and fast text clone method.
Fourth embodiment
Referring to fig. 4, Fig. 4 is the structure chart of mobile terminal provided in an embodiment of the present invention, as shown in figure 4, mobile terminal
400, including obtain module 401, separating modules 402 and determining module 403, wherein it obtains module 401 and separating modules 402 connects
It connects, separating modules 402 are connect with determining module 403.
Module 401 is obtained, if obtaining the content of text that duplication operates selection for detecting duplication operation.
Separating modules 402, for content of text to be shown as mutually separated multiple sub- text blocks in operating area.
Determining module 403, if for detecting the edit operation at least one of multiple sub- text blocks sub- text block,
According to edit operation, target text to be pasted is obtained.
Optionally, as shown in figure 5, separating modules 402 include:
Acquisition submodule 4021, for obtaining the separation for including in content of text mark;
Separate submodule 4022, is identified as boundary for separating content of text and is separated into multiple sub- text blocks, and show
It is shown in operating area.
Optionally, separate mark or statement separator mark as shown in fig. 6, separating and being identified as paragraph;Separate submodule 4022
It is specifically used for: content of text is separated into mark with paragraph or statement separator is identified as boundary and is separated into multiple sub- text blocks.
Optionally, as shown in fig. 6, separation submodule 4022 includes:
First separating element 40221 is separated into multiple first sons for content of text to be identified as boundary with paragraph separation
Text block;
Second separating element 40222, if for detecting to a first sub- text block in the multiple first sub- text blocks
Clicking operation, the be clicked first sub- text block is identified as boundary with statement separator and is separated into the multiple second sub- text blocks.
Optionally, separating modules 402 are specifically used for: content of text being shown as mutually separated in operating area, and respectively
It is provided with multiple sub- text blocks of deleted marker;
As shown in fig. 7, determining module 403 includes:
Submodule 4031 is deleted, if for detecting the clicking operation to deleted marker, the deleted marker pair that will be clicked
The sub- text block answered is deleted;
First determines submodule 4032, for will in content of text except the corresponding sub- text block of deleted marker that is clicked it
Outer content is as target text to be pasted.
Optionally, as shown in figure 8, determining module 403 includes:
Mobile submodule 4033, if moving trailing sub- text block for detecting the drag operation to sub- text block
It moves to target position;
Second determines submodule 4034, for content of text is literary as target to be pasted according to the sequence after movement
This.
Optionally, as shown in figure 9, determining module 403 includes:
It is inserted into submodule 4035, if for detecting the clicking operation at least one sub- text block, by the new text of input
This is inserted at click;
Third determines submodule 4036, for that will insert the content of text of new text as target text to be pasted.
Mobile terminal 400 can be realized each process that mobile terminal is realized in the embodiment of the method for Fig. 1 to Fig. 3, to keep away
Exempt to repeat, which is not described herein again.
The mobile terminal 400 of the embodiment of the present invention obtains duplication and operates in the text of selection if detecting duplication operation
Hold;Content of text is shown as mutually separated multiple sub- text blocks in operating area;If detecting in multiple sub- text blocks
The edit operation of at least one sub- text block target text to be pasted is obtained according to edit operation.In this way, by that will answer
The content of text of system is separated into multiple sub- text blocks that can be edited respectively, and user can pass through the edit operation to sub- text block
Come the content of text pasted required for obtaining, reduces the number of duplication operation, be a kind of convenient and fast text clone method.
5th embodiment
It is the structure chart that the present invention implements the mobile terminal provided, as shown in Figure 10, mobile terminal referring to Figure 10, Figure 10
1000 include: at least one processor 1001, memory 1002, at least one network interface 1004 and user interface 1003.It moves
Various components in dynamic terminal 1000 are coupled by bus system 1005.It is understood that bus system 1005 for realizing
Connection communication between these components.Bus system 1005 further includes power bus, control bus in addition to including data/address bus
And status signal bus in addition.But for the sake of clear explanation, various buses are all designated as bus system 1005 in Figure 10.
Wherein, user interface 1003 may include display, keyboard or pointing device (for example, mouse, trace ball
(trackball), touch-sensitive plate or touch screen etc..
It is appreciated that the memory 1002 in the embodiment of the present invention can be volatile memory or non-volatile memories
Device, or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory
(Read-Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), erasable programmable are only
Read memory (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM,
) or flash memory EEPROM.Volatile memory can be random access memory (Random Access Memory, RAM), use
Make External Cache.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random-access
Memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random-access
Memory (Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double
DataRate SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM),
Synchronized links dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory
(DirectRambus RAM, DRRAM).The memory 1002 of system and method described herein is intended to include but is not limited to these
With the memory of any other suitable type.
In some embodiments, memory 1002 stores following element, executable modules or data structures, or
Their subset of person or their superset: operating system 10021 and application program 10022.
Wherein, operating system 10021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for
Realize various basic businesses and the hardware based task of processing.Application program 10022 includes various application programs, such as matchmaker
Body player (Media Player), browser (Browser) etc., for realizing various applied business.Realize that the present invention is implemented
The program of example method may be embodied in application program 10022.
In embodiments of the present invention, by the program or instruction of calling memory 1002 to store, specifically, can be application
The program or instruction stored in program 10022, processor 1001 are used for: if detecting duplication operation, obtaining duplication operation selection
Content of text;Content of text is shown as mutually separated multiple sub- text blocks in operating area;If detecting to multiple sons
The edit operation of the sub- text block of at least one of text block obtains target text to be pasted according to edit operation.
The method that the embodiments of the present invention disclose can be applied in processor 1001, or real by processor 1001
It is existing.Processor 1001 may be a kind of IC chip, the processing capacity with signal.During realization, the above method
Each step can be completed by the instruction of the integrated logic circuit of the hardware in processor 1001 or software form.Above-mentioned
Processor 1001 can be general processor, digital signal processor (Digital Signal Processor, DSP), dedicated
Integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general
Processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with institute of the embodiment of the present invention
The step of disclosed method, can be embodied directly in hardware decoding processor and execute completion, or with the hardware in decoding processor
And software module combination executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-only
In the storage medium of this fields such as memory or electrically erasable programmable memory, register maturation.The storage medium is located at
The step of memory 1002, processor 1001 reads the information in memory 1002, completes the above method in conjunction with its hardware.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its
Combination is to realize.For hardware realization, processing unit be may be implemented in one or more specific integrated circuit (Application
Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing,
DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic
Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor,
In controller, microcontroller, microprocessor, other electronic units for executing herein described function or combinations thereof.
For software implementations, it can be realized herein by executing the module (such as process, function etc.) of function described herein
The technology.Software code is storable in memory and is executed by processor.Memory can in the processor or
It is realized outside processor.
Optionally, processor 1001 is also used to: obtaining the separation mark for including in content of text;By content of text to separate
It is identified as boundary and is separated into multiple sub- text blocks, and be shown in operating area.
Optionally, separate and be identified as paragraph separation mark or statement separator mark;Processor 1001 is also used to: will be in text
Hold and is identified as boundary with paragraph separation mark or statement separator and is separated into multiple sub- text blocks.
Optionally, processor 1001 is also used to: content of text being identified as boundary with paragraph separation and is separated into multiple first
Sub- text block;If the clicking operation to a first sub- text block in the multiple first sub- text blocks is detected, by what is be clicked
First sub- text block is identified as boundary with statement separator and is separated into the multiple second sub- text blocks.
Optionally, processor 1001 is also used to: content of text being shown as mutually separated in operating area, and is respectively set
There are multiple sub- text blocks of deleted marker;It is if detecting the clicking operation to deleted marker, the deleted marker being clicked is corresponding
Sub- text block delete;Using the content in content of text in addition to the corresponding sub- text block of the deleted marker being clicked as to viscous
The target text of patch.
Optionally, processor 1001 is also used to: if detecting the drag operation to sub- text block, by trailing Ziwen sheet
Block is moved to target position;Using content of text according to the sequence after movement as target text to be pasted.
Optionally, processor 1001 is also used to: if detecting the clicking operation at least one sub- text block, by input
New text is inserted at click;The content of text of new text will be inserted as target text to be pasted.
Mobile terminal 1000 can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, this
In repeat no more.
The mobile terminal 1000 of the embodiment of the present invention obtains duplication and operates in the text of selection if detecting duplication operation
Hold;Content of text is shown as mutually separated multiple sub- text blocks in operating area;If detecting in multiple sub- text blocks
The edit operation of at least one sub- text block target text to be pasted is obtained according to edit operation.In this way, by that will answer
The content of text of system is separated into multiple sub- text blocks that can be edited respectively, and user can pass through the edit operation to sub- text block
Come the content of text pasted required for obtaining, reduces the number of duplication operation, be a kind of convenient and fast text clone method.
Sixth embodiment
Figure 11 is please referred to, Figure 11 is the structure chart that the present invention implements the mobile terminal provided, as shown in figure 11, terminal 1100
Including radio frequency (Radio Frequency, RF) circuit 1110, memory 1120, input unit 1130, display unit 1140, place
Manage device 1150, voicefrequency circuit 1160, communication module 1170, power supply 1180.
Wherein, input unit 1130 can be used for receiving the number or character information of user's input, and generation and terminal
The related signal input of 1100 user setting and function control.Specifically, in the embodiment of the present invention, the input unit 1130
It may include touch panel 1131.Touch panel 1131, also referred to as touch screen collect the touch behaviour of user on it or nearby
Make (for example user uses the operations of any suitable object or attachment on touch panel 1131 such as finger, stylus), and according to
Preset formula drives corresponding attachment device.Optionally, touch panel 1131 may include touch detecting apparatus and touch
Two parts of controller.Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal is detected,
Transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into touching
Point coordinate, then gives the processor 1150, and can receive order that processor 1150 is sent and be executed.Furthermore, it is possible to adopt
Touch panel 1131 is realized with multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel
1131, input unit 1130 can also include other input equipments 1132, other input equipments 1132 can include but is not limited to
One of physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. are more
Kind.
Wherein, display unit 1140 can be used for showing information input by user or be supplied to the information and terminal of user
1100 various menu interfaces.Display unit 1140 may include display panel 1141, optionally, can use LCD or organic hair
The forms such as optical diode (Organic Light-Emitting Diode, OLED) configure display panel 1141.
It should be noted that touch panel 1131 can cover display panel 1141, touch display screen is formed, when the touch display screen
After detecting touch operation on it or nearby, processor 1150 is sent to determine the type of touch event, is followed by subsequent processing
Device 1150 provides corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and common control viewing area.The Application Program Interface viewing area
And arrangement mode of the common control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious
Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with
The interface elements such as the icon comprising at least one application program and/or widget desktop control.The Application Program Interface viewing area
Or the empty interface not comprising any content.This commonly uses control viewing area for showing the higher control of utilization rate, for example,
Application icons such as button, interface number, scroll bar, phone directory icon etc. are set.
Wherein processor 1150 is the control centre of terminal 1100, utilizes each of various interfaces and connection whole mobile phone
A part by running or execute the software program and/or module that are stored in first memory 1121, and is called and is stored in
Data in second memory 1122 execute the various functions and processing data of terminal 1100, to carry out to terminal 1100 whole
Body monitoring.Optionally, processor 1150 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 1121 in software program and/or module and/
Or the data in the second memory 1122, processor 1150 are used for: if detecting duplication operation, being obtained duplication and operated selection
Content of text;Content of text is shown as mutually separated multiple sub- text blocks in operating area;If detecting to multiple Ziwens
The edit operation of the sub- text block of at least one of this block obtains target text to be pasted according to edit operation.
Optionally, processor 1150 is also used to: obtaining the separation mark for including in content of text;By content of text to separate
It is identified as boundary and is separated into multiple sub- text blocks, and be shown in operating area.
Optionally, separate and be identified as paragraph separation mark or statement separator mark;Processor 1150 is also used to: will be in text
Hold and is identified as boundary with paragraph separation mark or statement separator and is separated into multiple sub- text blocks.
Optionally, processor 1150 is also used to: content of text being identified as boundary with paragraph separation and is separated into multiple first
Sub- text block;If the clicking operation to a first sub- text block in the multiple first sub- text blocks is detected, by what is be clicked
First sub- text block is identified as boundary with statement separator and is separated into the multiple second sub- text blocks.
Optionally, processor 1150 is also used to: content of text being shown as mutually separated in operating area, and is respectively set
There are multiple sub- text blocks of deleted marker;It is if detecting the clicking operation to deleted marker, the deleted marker being clicked is corresponding
Sub- text block delete;Using the content in content of text in addition to the corresponding sub- text block of the deleted marker being clicked as to viscous
The target text of patch.
Optionally, processor 1150 is also used to: if detecting the drag operation to sub- text block, by trailing Ziwen sheet
Block is moved to target position;Using content of text according to the sequence after movement as target text to be pasted.
Optionally, processor 1150 is also used to: if detecting the clicking operation at least one sub- text block, by input
New text is inserted at click;The content of text of new text will be inserted as target text to be pasted.
Mobile terminal 1100 can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, this
In repeat no more.
The mobile terminal 1100 of the embodiment of the present invention obtains duplication and operates in the text of selection if detecting duplication operation
Hold;Content of text is shown as mutually separated multiple sub- text blocks in operating area;If detecting in multiple sub- text blocks
The edit operation of at least one sub- text block target text to be pasted is obtained according to edit operation.In this way, by that will answer
The content of text of system is separated into multiple sub- text blocks that can be edited respectively, and user can pass through the edit operation to sub- text block
Come the content of text pasted required for obtaining, reduces the number of duplication operation, be a kind of convenient and fast text clone method.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of mobile terminal and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed mobile terminal and method can pass through it
Its mode is realized.For example, mobile terminal embodiment described above is only schematical, for example, the unit is drawn
Point, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can
To combine or be desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or beg for
The mutual coupling, direct-coupling or communication connection of opinion can be through some interfaces, mobile terminal or unit it is indirect
Coupling or communication connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.Some or all of unit therein can be selected to realize the embodiment of the present invention according to the actual needs
Purpose.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can store program code
Medium.
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 subject to the protection scope in claims.