Movatterモバイル変換


[0]ホーム

URL:


CN105786309A - Text selection method and device - Google Patents

Text selection method and device
Download PDF

Info

Publication number
CN105786309A
CN105786309ACN201410852180.6ACN201410852180ACN105786309ACN 105786309 ACN105786309 ACN 105786309ACN 201410852180 ACN201410852180 ACN 201410852180ACN 105786309 ACN105786309 ACN 105786309A
Authority
CN
China
Prior art keywords
text
selecting
end position
original position
current
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.)
Pending
Application number
CN201410852180.6A
Other languages
Chinese (zh)
Inventor
陈剑光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou UCWeb Computer Technology Co Ltd
Guangzhou Dongjing Computer Technology Co Ltd
Original Assignee
Guangzhou Dongjing Computer Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Dongjing Computer Technology Co LtdfiledCriticalGuangzhou Dongjing Computer Technology Co Ltd
Priority to CN201410852180.6ApriorityCriticalpatent/CN105786309A/en
Publication of CN105786309ApublicationCriticalpatent/CN105786309A/en
Pendinglegal-statusCriticalCurrent

Links

Landscapes

Abstract

The invention relates to a text selection method and device. The method comprises the following steps: after receiving an operating instruction for text selection by a user, responding to an operation on text selection by the user; and determining a text selection area again according to position information of an initial position and an end position of a currently selected text. After an operation of selecting a text range again is provided, the user can conveniently select texts of different ranges so that the convenience of text selection of the user can be improved.

Description

Text selection method and device
Technical field
The present invention relates to mobile communication technology field, more specifically, relate to text selection method and device.
Background technology
One basic interactive function of browser and user is exactly the selection to web page text.On desk computer or notebook, user changes selection region by mouse and keyboard operation, and on the mobile equipment of contact action, browser can first at long opsition dependent one section of text selected around, and user changes the range of choice again through dragging selection border.Usually, browser can provide " full choosing " function to select full text.
If user wants the text selected a lot, and be not all of again, such as, user is when reading news or novel, want to replicate certain section of content therein, in existing text selecting technology, it is necessary to user drags very distance, even cross over several screen, and it would furthermore be possible to be that border, two will drag respectively.Real experiences operation is very inconvenient.
Summary of the invention
In view of the above problems, it is an object of the invention to provide a kind of text selection method and device, facilitate user quickly to select the text of needs.
A kind of text selection method provided by the invention, including:
Receive user's operational order to text selecting;
In response to user to Text Select operation, redefine text selecting region according to the current original position of text selected and the positional information of end position.
Wherein, the operation of described text selecting is for expanding selection operation or contracting selection operation.
Also including: in response to the repeatedly expansion selection operation to text selecting of user, described text selecting region is according to sentence, and one section, in full, the trend of the full text comprising title expands content;
In response to the repeatedly contracting selection operation to text selecting of user, described text selecting region is according to the full text comprising title, and in full, one section, the trend of sentence reduces content.
Also comprise determining that the original position of the text of described current selection and the positional information of end position are that the original position of text and end position that select are in a sentence;
The sentence at the text place currently selected is redefined as text selecting region.
Also comprise determining that the original position of the text of described current selection and the positional information of end position are that the original position of text and end position that select are in the more than one sentence of same paragraph;
The paragraph currently selecting text place is redefined as text selecting region.
Also comprise determining that the original position of the text of described current selection and the positional information of end position are that the original position of text selected and end position are in different paragraphs;
Content is redefined in full as text selecting region.
Also comprise determining that in the original position and end position that the original position of the text of described current selection and the positional information of end position are the text selected and comprise content in full;
The full text comprising title is redefined as text selecting region.
Wherein, described content is text filed for what currently selected the common parent node of the node at each paragraph place at text place to comprise in full.
Wherein, the common parent node of the node at the current paragraph place having selected text place is by, after resolving the render tree of whole web page text acquisition text, obtaining currently having selected the common parent node of the node at each paragraph place at text place according to render tree.
Wherein, redefine text selecting region according to the original position of the current text selected and end position, including:
Original position and end position according to the current text selected redefine text selecting scope;
The text selecting scope redefined described in judgement whether more than the current scope selecting text,
More than, then using the described text redefined within the scope of text selecting as described text selecting region, otherwise, do not carry out text selecting region and redefine.
The present invention also provides for a kind of text selecting device, including:
Operational order receives unit, for receiving user's operational order to text selecting;
Region gravity treatment unit, in response to user to Text Select operation, redefine text selecting region according to the current original position of text selected and the positional information of end position.
Wherein, region gravity treatment unit, including:
Range of text gravity treatment module, for redefining text selecting scope according to the current original position of text selected and the positional information of end position;
Judge module, whether the text selecting scope being used for redefining described in judging is more than the current scope selecting text;
Determine module, for the described text redefined within the scope of text selecting is defined as new text selecting region.
Wherein, also include: position information acquisition module, for obtaining original position and the end position positional information in current selection text of the text of current selection.
Parsing module, obtains the render tree of text for analyzing web page text.
The text selection method of the present invention and device, receiving after user's operational order to text selecting, in response to user to Text Select operation, redefine text selecting region according to the current original position of text selected and the positional information of end position.After providing the operation that range of text reselects, facilitate user that the text of different range is selected, improve the convenience that user version selects.
In order to realize above-mentioned and relevant purpose, one or more aspects of the present invention include the feature that will be explained in below and be particularly pointed out in the claims.Description below and accompanying drawing describe some illustrative aspects of the present invention in detail.But, some modes in the various modes that only can use principles of the invention of these aspects instruction.Additionally, it is contemplated that include all these aspects and their equivalent.
Accompanying drawing explanation
By the content of the reference explanation below in conjunction with accompanying drawing and claims, and along with being more fully understood from the present invention, other purpose of the present invention and result will be more apparent and should be readily appreciated that.In the accompanying drawings:
One embodiment detail flowchart of the text selection method that Fig. 1 provides for invention.
Fig. 2 is another embodiment detail flowchart of text selection method provided by the invention.
Fig. 3 a-Fig. 3 e illustrates the design sketch of the present embodiment.
Fig. 4 is the another embodiment detail flowchart of text selection method provided by the invention.
The block diagram of the text selecting device that Fig. 5 provides for embodiments of the invention.
The label that the block diagram of the text selecting device that Fig. 6 provides for another embodiment of the present invention is identical in all of the figs indicates similar or corresponding feature or function.
Detailed description of the invention
Below with reference to accompanying drawing, specific embodiments of the invention are described in detail.
The text selection method of the present invention and device, receiving after user's operational order to text selecting, in response to user to Text Select operation, redefine text selecting region according to the current original position of text selected and the positional information of end position.After providing the operation that range of text reselects, facilitate user that the text of different range is selected, improve the convenience that user version selects.
One embodiment detail flowchart of the text selection method that Fig. 1 provides for invention.
As it is shown in figure 1, the text selection method according to the present invention, including:
S110: receive user's operational order to text selecting.
After entering text selection mode, generate text maninulation virtual panel, and on the currently displayed page, virtual panel can carry out the text selecting frame that text selects further.User carries out the text selecting frame that text selects further and carries out text by clicking and select operation further.Mobile terminal receives user by clicking the operation carrying out the text selecting frame that text text selects further, carries out the response of later step.
Enter text selection mode, it is possible to be that user has carried out some predetermined operation, for instance: length is pressed touch screen or grows by rear slow dragging on screen.
Here virtual panel is preferably shown in and currently selects the nonoverlapping region of text, facilitates user to select.
The operation of text selecting described in preferred implementation is for expanding selection operation or contracting selection operation.
Simultaneously the present invention receive user's operational order to text selecting, it is also possible to be perform, by user, some actions of presetting or instruction realizes.
S120: in response to user to Text Select operation, redefine text selecting region according to the current original position of text selected and the positional information of end position.
In preferred implementation, when the operation of text selecting is for expanding selection operation, original position according to the current text selected and end position redefine text selecting region and are the original position according to the current text selected and end position redefines text selecting scope, then, the text selecting scope redefined described in judgement whether more than the scope currently having selected text, when more than time, update described text selecting region, otherwise, text selecting region is not updated.
In preferred implementation, when the operation of described text selecting is for expanding selection operation, repeatedly text being expanded selection operation in response to user, described text selecting region is according to sentence, and one section, in full, the trend of the full text comprising title expands content.When the operation of described text selecting is for contracting selection operation, in response to the repeatedly contracting selection operation to text selecting of user, described text selecting region is according to the full text comprising title, and content full text, one section, the trend of sentence reduces.
The present embodiment text selection method, is receiving after user's operational order to text selecting, in response to user to Text Select operation, redefine text selecting region according to the current original position of text selected and the positional information of end position.After providing the operation that range of text reselects, the text of different range is carried out selecting very convenient, that raising user version selects convenience by user.
Fig. 2 is another embodiment detail flowchart of text selection method provided by the invention.
Fig. 3 a-Fig. 3 e illustrates the design sketch of the present embodiment.
As in figure 2 it is shown, the text selection method that the present embodiment provides, including:
S200: receive user's operational order to text selecting.
This step realizes substantially basically identical with the S110 step in a upper embodiment, does not repeat here.
S201: text selecting frame is operated by response user.The operation of text selecting frame here can be that user clicks expansion and selects frame, it is also possible to is other operation of user, such as, performs rapid double tap operation, or clicks on mobile terminal the operation of certain physically or a virtually button.
S202: obtain original position and the end position positional information in current selection text of the current text selected.Here obtain the text message that positional information mode can be through comprising between scanning starting position and end position, the punctuation mark comprised, and represent that the symbol of segmentation etc. obtains.Then the different situations according to the positional information obtained, enter below step S203, S205, S207 or S209.
S203: determine the original position of the text of described current selection and the positional information of end position be the original position of text and end position that select in a sentence, then enter step S204.
This step be current select text filed do not comprise in fullstop, these symbols of exclamation mark etc. represent the symbol that sentence finishes, it is determined that the original position of the current text selected and end position are in a sentence.
S204: the text filed text selecting region being defined as redefining that currently will select the sentence at text place to comprise.S211 is entered after completing S204.
As shown in Fig. 3 a to Fig. 3 b state, the expansion selection operation of the text filed realization that the present embodiment redefines, it, determining that when scope is selected in expansion be by scanning character from the original position s1 of the current range of choice backward, finds out first symbol representing that sentence finishes, for instance: fullstop.This sentence symbol i.e. next character position of this fullstop that finishes is then the end position e2 of its place sentence.Scan forward character from the end position e1 of the current range of choice again, find out first and represent the symbol that finishes of sentence, for instance: fullstop, then this sentence symbol i.e. next character position of this fullstop that finishes is then the original position s2 of sentence.S2 and e2 two positions tundish containing text filed for redefine text filed.
S205: determine the original position of the text of described current selection and the positional information of end position be the original position of text and end position that select in the more than one sentence of same paragraph, then enter step S206.
This step is to represent, containing fullstop, exclamation mark etc., the symbol that sentence finishes at original position and the end position tundish of the current text selected, but does not comprise carriage return character or web page tag<br>deng the symbol representing segmentation, it is determined that the current original position of text selected and original position that the positional information of end position is the text selected and end position are in the more than one sentence of same paragraph.
S206: the paragraph currently selecting text place is redefined as text selecting region.After completing S206, enter S211.
As shown in Fig. 3 b to Fig. 3 c state, scan character from the original position s2 of the current range of choice backward, find out first symbol representing paragraph, for instance: the carriage return character, next character position of this paragraph symbol is then the end position e3 of place paragraph.Scan forward character from the end position e2 of the current range of choice again, find out first symbol representing paragraph, for instance: web page tag<br>, the position of this next character of paragraph symbol is the original position s3 of place paragraph.S3 and e3 two positions tundish containing text filed for redefine text filed.
S207: determine the original position of the text of described current selection and the positional information of end position be the original position of text selected and end position in different paragraphs, then enter step S208.
This step is containing when representing the symbol of paragraph at the original position of the current text box selected and end position tundish, then confirm that the current original position of text selected and original position that the positional information of end position is the text selected and end position are in different paragraphs.Represent that the symbol of paragraph is identical with indication in preceding step, for instance: carriage return character or web page tag<br>deng.
S208: content is redefined in full as text selecting region.After completing S208, enter S211.
As shown in Fig. 3 c to Fig. 3 d state, the Render tree that this step is generated by browser kernel engine, find father node, then obtain comprise first text and last text of father node, obtain the original position s4 and last end of text position e4 of first text.S4 and e4 two positions tundish containing text filed for content in full, then content is redefined in full as text selecting region.
S209: determine that the original position of the text that the original position of the text of described current selection and the positional information of end position are selection and end position comprise content in full, then enter step S210.
S210: the full text comprising title is redefined as text selecting region.After completing S210, enter S211.
As shown in Fig. 3 d to Fig. 3 e state, the Render tree that this step is generated by browser kernel engine, find title node above, then obtain the original position s5 of title node, it addition, obtain content end position e5 in full further according to step S208.S5 and e5 two positions tundish containing text filed be the full text comprising title.Wherein, title node is web page tag<H1>etc..
S211: whether what redefine is text filed text filed more than currently having been chosen by.When more than time, enter step S212, otherwise, process ends, do not carry out text selecting region and redefine.
This step is the original position of the text by being respectively compared current selection and the text filed original position redefined when judging, and the end position of the current text selected and the context of text filed end position that redefines, whether what judge to redefine is text filed more than the current text selected.Namely the text filed original position redefined is before the original position of the current text selected, and the text filed end position redefined then thinks that after the end position at the current text selected what redefine text filed is greater than the text filed of current selection, otherwise it is assumed that the text selecting region redefined is text filed less than or equal to currently having been chosen by.
S212: update the current range of choice.Afterwards, process ends.
The present embodiment text selection method, is receiving after user's operational order to text selecting, in response to user to Text Select operation, redefine text selecting region according to the current original position of text selected and the positional information of end position.After providing the operation that range of text reselects, the text of different range is carried out selecting very convenient, that raising user version selects convenience by user.Fig. 4 is the another embodiment detail flowchart of text selection method provided by the invention.
As shown in Figure 4, the text selection method that the present embodiment provides, including:
S400: receive user's operational order to text selecting.
S110 step in embodiment before this step realizes substantially basically identical, does not repeat here.
S401: text selecting frame is operated by response user.This step realizes substantially basically identical with the S201 step in preceding embodiment, does not repeat here.
S402: judge that the original position of the current text selected and end position are whether in a sentence,
If the original position of the current text selected and end position are in a sentence, then enter step S403, otherwise enter S404.
This step is whether to comprise the symbol that such as fullstop, exclamation mark etc. represent that sentence finishes in the middle of the original position of the text box by currently selecting and end position to judge that the original position of text of current selection and end position are whether in a sentence.Represent that the symbol that finishes of sentence is when not comprising, be then judged as that the original position of the text of current selection and end position are in a sentence.
S403: the text filed text selecting region being defined as redefining that currently will select the sentence at text place to comprise.Enter S410 afterwards.
As shown in Fig. 3 a to Fig. 3 b state, the expansion selection operation of the text filed realization that the present embodiment redefines, it, determining that when scope is selected in expansion be by scanning character from the original position s1 of the current range of choice backward, finds out first symbol representing that sentence finishes, for instance: fullstop.This sentence symbol i.e. next character position of this fullstop that finishes is then the end position e2 of its place sentence.Scan forward character from the end position e1 of the current range of choice again, find out first and represent the symbol that finishes of sentence, for instance: fullstop, then this sentence symbol i.e. next character position of this fullstop that finishes is then the original position s2 of sentence.S2 and e2 two positions tundish containing text filed for redefine text filed.
S404: whether the original position of the current text selected of judgement and end position be in the more than one sentence of same paragraph.If in the more than one sentence of same paragraph, then entering step S405, otherwise enter S406.
This step is whether to comprise the symbol and carriage return character or web page tag that such as fullstop, exclamation mark etc. represent that sentence finishes in the middle of the original position of the text box by currently selecting and end position<br>represent that the symbol of segmentation judges whether the original position of the current text selected and end position are in more than one sentence.If the original position of the current text selected and end position tundish represent, containing fullstop, exclamation mark etc., the symbol that sentence finishes, but do not comprise carriage return character or web page tag<br>deng the symbol representing segmentation, then it is assumed that the original position of the text of selection and end position are in the more than one sentence of same paragraph.
S405: redefined by the paragraph currently selecting text place as text selecting region, afterwards, enters S410.
As shown in Fig. 3 b to Fig. 3 c state, scan character from the original position s2 of the current range of choice backward, find out first symbol representing paragraph, for instance: the carriage return character, next character position of this paragraph symbol is then the end position e3 of place paragraph.Scan forward character from the end position e2 of the current range of choice again, find out first symbol representing paragraph, for instance: web page tag<br>, the position of this next character of paragraph symbol is the original position s3 of place paragraph.S3 and e3 two positions tundish containing text filed for redefine text filed.
S406: whether the original position of the current text selected of judgement and end position be in different paragraphs.If the original position of the current text selected and end position are in different paragraphs, then enter step S407, otherwise enter S408.
Whether this step is to comprise in the middle of the original position of the text box by currently selecting and end position to represent that the symbol of paragraph judges.At the original position of the current text box selected and end position tundish containing when representing the symbol of paragraph, then it is assumed that the original position of the current text selected and end position are in different paragraphs.Represent that the symbol of paragraph is identical with indication in preceding step, for instance: carriage return character or web page tag<br>deng.
S407: content is redefined in full as text selecting region.Enter S410 afterwards.
As shown in Fig. 3 c to Fig. 3 d state, the Render tree that this step is generated by browser kernel engine, find father node, then obtain comprise first text and last text of father node, obtain the original position s4 and last end of text position e4 of first text.S4 and e4 two positions tundish containing text filed for content in full, then content is redefined in full as text selecting region.
S408: judge whether the text filed of current selection is content full text.
When not being content full text, process ends.When being content full text, enter S409.
S409: the full text comprising title is redefined as text selecting region.Process ends afterwards.
As shown in Fig. 3 d to Fig. 3 e state, the Render tree that this step is generated by browser kernel engine, find title node above, then obtain the original position s5 of title node, it addition, obtain content end position e5 in full further according to step S208.S5 and e5 two positions tundish containing text filed be the full text comprising title.Wherein, title node is web page tag<H1>etc..
S410: whether what redefine is text filed text filed more than currently having been chosen by.When more than time enter step S411, otherwise process ends, do not carry out text selecting region and redefine.
This step is the original position of the text by being respectively compared current selection and the text filed original position redefined when judging, and the end position of the current text selected and the context of text filed end position that redefines, whether what judge to redefine is text filed more than the current text selected.Namely the text filed original position redefined is before the original position of the current text selected, and the text filed end position redefined then thinks that after the end position at the current text selected what redefine text filed is greater than the text filed of current selection, otherwise it is assumed that the text selecting region redefined is text filed less than or equal to currently having been chosen by.
S411: update the current range of choice.Afterwards, process ends.
It should be noted that and the present embodiment judging, step S402, S404, S406, S408 necessarily have sequencing.The present invention can according to the original position of the current text selected and end position tundish containing character situation, judge to enter step S402, any one branch of S404, S406, S408.Namely embodiments of the invention can only comprise S400, S401, S402, S403, S410, S411.Realize such as the process of Fig. 3 a to Fig. 3 b.
An alternative embodiment of the invention only comprises embodiment and can comprise S400, S401, S402, S404, S405, S410, S411.Realize such as the process of Fig. 3 b to Fig. 3 c.
An alternative embodiment of the invention only comprises embodiment and can comprise S400, S401, S402, S406, S407, S410, S411.Realize such as the process of Fig. 3 c to Fig. 3 d.
An alternative embodiment of the invention only comprises embodiment and can comprise S400, S401, S402, S408, S409, S410, S411.Realize such as the process of Fig. 3 d to Fig. 3 e.
In embodiments of the invention when the current original position selecting text and end position are in a sentence, user selects frame to select whole sentence by clicking expansion.When the current original position selecting text and end position are in a paragraph but in two or more sentences, then user selects frame to select whole paragraph by click expansion.At the original position of the current text selected and end position in more than one paragraph, then user selects frame to select content in full by clicking expansion, it is content full text in the current region selected, is then expanded by click and select frame to select the content that whole text comprises title.These several situations can constantly be clicked expansion and select frame to realize selecting content area to expand gradually by user, it is also possible to carry out 1 time or 2 times user, or 3 times, or terminate this flow process after 4 expansion choosings.The expansion word range of choice gradually can be needed according to oneself, it is not necessary to manual drag time user carries out text selecting, very convenient.
Described text selecting frame can be that frame is selected in contracting in another preferred embodiment.Its embodiment is contrary with the embodiment described above flow process, and principle is similar, does not describe in detail here.
The block diagram of the text selecting device that Fig. 5 provides for embodiments of the invention.
As it is shown in figure 5, the text selecting device of the present embodiment, including:
Operational order receives unit 500, for receiving user's operational order to text selecting.
After entering text selection mode, generate text maninulation virtual panel, and on the currently displayed page, virtual panel can carry out the text selecting frame that text selects further.User carries out the text selecting frame that text selects further and carries out text by clicking and select operation further.The operational order of mobile terminal receives unit 500 and receives user by clicking the operation carrying out the text selecting frame that text selects further.
Enter text selection mode, it is possible to be that user has carried out some predetermined operation, for instance: length is pressed touch screen or grows by rear slow dragging on screen.
Here virtual panel is preferably shown in and currently selects the nonoverlapping region of text, facilitates user to select.
Simultaneously the operational order of the present invention receives unit 500 and can also be by some actions that user performs to preset or instruction to receive user's operational order to text selecting.
Region gravity treatment unit 510, for text selecting frame being operated in response to user, redefines text selecting region according to the current original position of text selected and the positional information of end position.
The present embodiment text selecting device, after entering text selection mode, operational order receives unit and receives user's operational order to text selecting, region gravity treatment unit text selecting frame is operated in response to user, text selecting region is redefined according to the current original position of text selected and the positional information of end position, user can receive unit to operational order after having carried out preliminary text selecting and send the order further carrying out text selecting, being carried out text filed redefining by region gravity treatment unit facilitates user that the text of different range is selected, improve the convenience that user version selects.
Fig. 6 is the block diagram that an alternative embodiment of the invention Chinese version selects device.
As shown in Figure 6, the present embodiment text selecting device, including:
Operational order receives unit 500, for receiving user's operational order to text selecting.It is identical with the operational order of preceding embodiment reception unit 500 operation principle that this operational order receives unit 500, does not repeat here.
Position information acquisition module 600, for obtaining original position and the end position positional information in current selection text of the text of current selection.Positional information includes: whether the original position of the current text selected and end position be in a sentence, or whether the original position of the current text selected and end position are in the different sentences of same paragraph, or whether the original position of the current text selected and end position be in different paragraphs, or whether the text filed of current selection is comprise content in full.
Range of text gravity treatment module 610, for redefining text selecting scope according to the current original position of text selected and the positional information of end position.
Range of text gravity treatment module 610 is to obtain original position and the end position positional information in current selection text of the current text selected according to position information acquisition module 600, redefines text selecting region.
The method redefining text selecting region is:
When the current original position of text selected and original position that the positional information of end position is the text selected and end position are in a sentence, then the sentence at the text place currently selected is redefined as text selecting region.
When the current original position of text selected and original position that the positional information of end position is the text selected and end position are in the more than one sentence of same paragraph, the paragraph currently selecting text place is redefined as text selecting region.
When the current original position of text selected and original position that the positional information of end position is the text selected and end position are in different paragraphs, content is redefined in full as text selecting region.
When the original position that the original position of text currently selected and the positional information of end position are the text selected and end position comprise content full text, the full text comprising title is redefined as text selecting region.
Its method of work step S203 to S210 as shown in Figure 2.Here do not repeat.
Judge module 620, whether the text selecting scope being used for redefining described in judging is more than the scope currently having selected text.Judge module 620 is the original position of the text by being respectively compared current selection and the end position of the text filed original position redefined and the current text selected and the context of text filed end position redefined, and whether what judge to redefine is text filed more than the current text selected.The text filed original position redefined is before the original position of the current text selected, and the text filed end position redefined then think after the end position at the current text selected redefine text filed more than current select text filed, otherwise it is assumed that less than or equal to current select text filed.
Determine module 630, for the described text redefined within the scope of text selecting is defined as new text selecting region.
Present invention additionally comprises parsing module 640 in a preferred embodiment, obtain the render tree of text for analyzing web page text.
The present embodiment text selecting device, after entering text selection mode, operational order receives unit and receives user's operational order to text selecting, region gravity treatment unit text selecting frame is operated in response to user, text selecting region is redefined according to the current original position of text selected and the positional information of end position, user can receive unit to operational order after having carried out preliminary text selecting and send the order further carrying out text selecting, being carried out text filed redefining by region gravity treatment unit facilitates user that the text of different range is selected, user can pass through repeatedly clicking operation and constantly expand text selecting scope, improve the convenience that user version selects.Those of ordinary skill in the art are it is to be appreciated that the unit of each example that describes in conjunction with the embodiments described herein and algorithm steps, it is possible to being implemented in combination in of electronic hardware or computer software and electronic hardware.These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel specifically can should be used for using different methods to realize described function to each, but this realization is it is not considered that beyond the scope of this invention.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, and the specific works process of the system of foregoing description, device and unit, it is possible to reference to the corresponding process in preceding method embodiment, do not repeat them here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method, it is possible to realize by another way.Such as, device embodiment described above is merely schematic, such as, the division of described unit, being only a kind of logic function to divide, actual can have other dividing mode when realizing, for instance multiple unit or assembly can in conjunction with or be desirably integrated into another system, or some features can ignore, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be through INDIRECT COUPLING or the communication connection of some interfaces, device or unit, it is possible to be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, and the parts shown as unit can be or may not be physical location, namely may be located at a place, or can also be distributed on multiple NE.Some or all of unit therein can be selected according to the actual needs to realize the purpose of the present embodiment scheme.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to be that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.
If described function is using the form realization of SFU software functional unit and as independent production marketing or use, it is possible to be stored in a computer read/write memory medium.Based on such understanding, part or the part of this technical scheme that prior art is contributed by technical scheme substantially in other words can embody with the form of software product, this computer software product is stored in a storage medium, including some instructions with so that a computer equipment (can be personal computer, server, or the network equipment etc.) or processor (processor) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium, including: USB flash disk, portable hard drive, read only memory (ROM, Read-OnlyMemory), the various media that can store program code such as random access memory (RAM, RandomAccessMemory), magnetic disc or CD.
The above; being only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, any those familiar with the art is in the technical scope that the invention discloses; change can be readily occurred in or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should described be as the criterion with scope of the claims.

Claims (14)

CN201410852180.6A2014-12-262014-12-26Text selection method and devicePendingCN105786309A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201410852180.6ACN105786309A (en)2014-12-262014-12-26Text selection method and device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201410852180.6ACN105786309A (en)2014-12-262014-12-26Text selection method and device

Publications (1)

Publication NumberPublication Date
CN105786309Atrue CN105786309A (en)2016-07-20

Family

ID=56389192

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201410852180.6APendingCN105786309A (en)2014-12-262014-12-26Text selection method and device

Country Status (1)

CountryLink
CN (1)CN105786309A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105955616A (en)*2016-04-292016-09-21北京小米移动软件有限公司Method and device for selecting document contents
CN106951168A (en)*2017-03-032017-07-14宇龙计算机通信科技(深圳)有限公司A kind of literal processing method and mobile terminal
CN107015738A (en)*2016-09-202017-08-04阿里巴巴集团控股有限公司A kind of text selection method and equipment
CN108205415A (en)*2016-12-192018-06-26汉王科技股份有限公司text selection method and device
CN109298819A (en)*2018-09-212019-02-01Oppo广东移动通信有限公司Method, device, terminal and storage medium for selecting object
CN112783400A (en)*2020-06-082021-05-11北京金山办公软件股份有限公司Document content selection method and device, electronic equipment and storage medium
CN113743076A (en)*2021-11-082021-12-03中关村科技软件股份有限公司Data extraction method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20030037304A1 (en)*2001-08-162003-02-20Burky William EltonMethod, program product, and processing system for performing object editing through implicit object selection
CN102622448A (en)*2012-03-262012-08-01中山大学Digital television interactive application page markup language resolving method
CN102880418A (en)*2012-09-142013-01-16广州市动景计算机科技有限公司Method and device for selecting text based on touch screen type mobile terminal
CN103744578A (en)*2013-12-202014-04-23百度在线网络技术(北京)有限公司Method and device for text selection on basis of focus area

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20030037304A1 (en)*2001-08-162003-02-20Burky William EltonMethod, program product, and processing system for performing object editing through implicit object selection
CN102622448A (en)*2012-03-262012-08-01中山大学Digital television interactive application page markup language resolving method
CN102880418A (en)*2012-09-142013-01-16广州市动景计算机科技有限公司Method and device for selecting text based on touch screen type mobile terminal
CN103744578A (en)*2013-12-202014-04-23百度在线网络技术(北京)有限公司Method and device for text selection on basis of focus area

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
HAHEHEHEV1: ""Word中‘选中’的方法"", 《百度文库》*

Cited By (11)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105955616A (en)*2016-04-292016-09-21北京小米移动软件有限公司Method and device for selecting document contents
CN105955616B (en)*2016-04-292019-05-07北京小米移动软件有限公司 A method and device for selecting document content
CN107015738A (en)*2016-09-202017-08-04阿里巴巴集团控股有限公司A kind of text selection method and equipment
CN108205415A (en)*2016-12-192018-06-26汉王科技股份有限公司text selection method and device
CN108205415B (en)*2016-12-192020-07-07汉王科技股份有限公司Text selection method and device
CN106951168A (en)*2017-03-032017-07-14宇龙计算机通信科技(深圳)有限公司A kind of literal processing method and mobile terminal
CN106951168B (en)*2017-03-032020-05-19宇龙计算机通信科技(深圳)有限公司Word processing method and mobile terminal
CN109298819A (en)*2018-09-212019-02-01Oppo广东移动通信有限公司Method, device, terminal and storage medium for selecting object
CN112783400A (en)*2020-06-082021-05-11北京金山办公软件股份有限公司Document content selection method and device, electronic equipment and storage medium
CN112783400B (en)*2020-06-082022-09-02北京金山办公软件股份有限公司Document content selection method and device, electronic equipment and storage medium
CN113743076A (en)*2021-11-082021-12-03中关村科技软件股份有限公司Data extraction method and system

Similar Documents

PublicationPublication DateTitle
CN105786309A (en)Text selection method and device
CN102609208B (en)Method and system for word capture on screen of touch screen equipment, and touch screen equipment
US7493570B2 (en)User interface options of a data lineage tool
CN106325688B (en)Text processing method and device
CN115238214A (en) Display method, apparatus, computer equipment, storage medium and program product
US20150121291A1 (en)Input Method Editor
CN111381751A (en)Text processing method and device
JP5199266B2 (en) A method, apparatus, and program for facilitating selection of an object on a display screen.
CN103984709A (en)Method and device for carrying out search on any interface
US20140123036A1 (en)Touch screen display process
CN104199917A (en)Method and device for translating webpage content and client
CN102622195A (en)Information browsing method
JP7565400B2 (en) Display method, device, pen-type electronic dictionary, electronic device, and storage medium
CN106598409B (en)Text copying method and device and intelligent terminal
CN103870191A (en)Method and electronic equipment for saving webpage
CN106970899B (en)Text processing method and device
CN105912534A (en)Translation method and device
CN107430597A (en)The enhancing of text selecting control
CN104809207A (en)Search method and device
CN103530041A (en)Dragging processing method and device and terminal equipment
CN107423273B (en)Text editing method and device
CN106774985A (en)A kind of literal processing method and mobile terminal
EP3065032A1 (en)Word prediction input method and terminal
CN112181346B (en)Method, device, server, client and medium for processing thinking guide graph
JP6136568B2 (en) Information processing apparatus and input control program

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20160720


[8]ページ先頭

©2009-2025 Movatter.jp