CN106383847B - A kind of page content processing method and device - Google Patents

A kind of page content processing method and device Download PDF

Info

Publication number
CN106383847B
CN106383847B CN201610779634.0A CN201610779634A CN106383847B CN 106383847 B CN106383847 B CN 106383847B CN 201610779634 A CN201610779634 A CN 201610779634A CN 106383847 B CN106383847 B CN 106383847B
Authority
CN
China
Prior art keywords
content
pages
selected range
page
text information
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.)
Expired - Fee Related
Application number
CN201610779634.0A
Other languages
Chinese (zh)
Other versions
CN106383847A (en
Inventor
林晓辉
郭远文
李惠欢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201610779634.0A priority Critical patent/CN106383847B/en
Priority to PCT/CN2016/113396 priority patent/WO2018040438A1/en
Publication of CN106383847A publication Critical patent/CN106383847A/en
Application granted granted Critical
Publication of CN106383847B publication Critical patent/CN106383847B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computational Linguistics (AREA)
  • User Interface Of Digital Computer (AREA)
  • General Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Acoustics & Sound (AREA)
  • Health & Medical Sciences (AREA)
  • Mathematical Physics (AREA)

Abstract

The embodiment of the invention discloses a kind of page content processing method and device, the page content processing method includes: the selected range for obtaining and being inputted for current display page, and obtains the content of pages in the selected range;The voice screening instruction inputted based on the content of pages in the selected range is obtained, and Screening Treatment is carried out to the content of pages in the selected range to generate the selection result according to voice screening instruction;Export the selection result.Using the present invention, the operation precision to page operation can be promoted, reduces the operation complexity to page operation.

Description

A kind of page content processing method and device
Technical field
The present invention relates to Internet technical field more particularly to a kind of page content processing methods and device.
Background technique
User is when browsing various application pages in content of pages processing unit, according to the demand of itself to the page browsed Face content, which exists, the various operations such as chooses, replicates, shearing, showing.Higher to the precision of content of pages operation, user experience is got over It is good.
Common user is to the processing mode of the content of pages browsed: the long-pressing content area to be operated, in bullet After the cursor for selecting content out, content of pages is selected by dragging cursor, the content of pages chosen is chosen again later, is multiple The various operations such as system, shearing, display.However when the page in display is smaller or the content of pages of display is more, it is easy Now there is the case where error to the content area that content of pages is chosen, affects the operation precision to content of pages, meanwhile, by In the content area chosen there are error, need further manually content area increase to adjust to content of pages Operation complexity.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of page content processing method and device, it can be promoted and the page is grasped The operation precision of work reduces the operation complexity to page operation.
In order to solve the above-mentioned technical problem, the embodiment of the invention provides a kind of page content processing method, the methods Include:
The selected range inputted for current display page is obtained, and obtains the content of pages in the selected range;
The voice screening instruction inputted based on the content of pages in the selected range is obtained, and is sieved according to the voice Choosing instruction carries out Screening Treatment to the content of pages in the selected range to generate the selection result;
Export the selection result.
Correspondingly, the embodiment of the invention also provides a kind of content of pages processing unit, described device includes:
Contents acquiring unit for obtaining the selected range for being directed to current display page and being inputted, and obtains described selected Content of pages in range;
As a result generation unit, for obtaining based on the inputted voice screening instruction of content of pages in selected range, and root Screening Treatment is carried out to generate the selection result to the content of pages in the selected range according to voice screening instruction;
As a result output unit, for exporting the selection result.
In embodiments of the present invention, the content of pages of current display page is selected by inputting selected range, and The content of pages in selected range is screened in conjunction with voice screening instruction to obtain the selection result again, finally screening is tied Fruit is exported.By carrying out postsearch screening to the content of pages in the selected range, the operation to content of pages is improved Precision, simultaneously as the mode in conjunction with voice is automatically performed and finally screens the determination of result, without being carried out manually as adjustment, Reduce the operation complexity to content of pages.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of flow diagram of page content processing method in the embodiment of the present invention;
Fig. 2 is the flow diagram of page content processing method in another embodiment of the present invention;
Fig. 3 is a kind of content of pages processing interface schematic diagram in the embodiment of the present invention;
Fig. 4 a is a kind of content of pages processing result interface schematic diagram in the embodiment of the present invention;
Fig. 4 b is content of pages processing result interface schematic diagram in another embodiment of the present invention;
Fig. 4 c is content of pages processing result interface schematic diagram in another embodiment of the present invention;
Fig. 4 d is content of pages processing result interface schematic diagram in another embodiment of the present invention;
Fig. 5 is a kind of content of pages processing device structure diagram in the embodiment of the present invention;
Fig. 6 is content of pages processing device structure diagram in another embodiment of the present invention;
Fig. 7 is the structural schematic diagram of contents acquiring unit in the embodiment of the present invention;
Fig. 8 is the structural schematic diagram of result generation unit in the embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that the described embodiment is only a part of the embodiment of the present invention, instead of all the embodiments.Based on this Embodiment in invention, those of ordinary skill in the art are obtained every other without making creative work Embodiment shall fall within the protection scope of the present invention.
Page content processing method provided in an embodiment of the present invention can be applied to current display page in terminal applies Content of pages the scenes of operations such as chosen, replicated, being sheared, being shown, such as: content of pages processing unit is obtained for working as The selected range that the preceding display page is inputted, and the content of pages in the selected range is obtained, the content of pages processing dress The voice screening instruction for obtaining and being inputted based on the content of pages in the selected range is set, and is screened and is instructed according to the voice Screening Treatment is carried out to the content of pages in the selected range to generate the selection result, the content of pages processing unit output The scene etc. of the selection result.By carrying out postsearch screening to the content of pages in current display page, improve to the page The operation precision of content, simultaneously as the mode in conjunction with voice is automatically performed and finally screens the determination of result, without manually into Behavior adjustment, reduces the operation complexity to content of pages.
The present embodiments relate to content of pages processing unit may include laptop, smart phone, plate electricity Brain, electronic reader etc. have the terminal device of processing function with the content of pages to current display page in terminal applies; The current display page is that currently running terminal applies show the page for browsing or operating for user;In the page Appearance is the content of pages in the selected range, and user can choose the content of pages, replicate, shears, show Operation.
Below in conjunction with attached drawing 1 and attached drawing 2, it is situated between in detail to page content processing method provided in an embodiment of the present invention It continues.
Fig. 1 is the flow diagram of one of embodiment of the present invention page content processing method, as shown in Figure 1, this reality Applying the page content processing method in example may include with step S101- step S103.
S101 obtains the selected range inputted for current display page, and obtains the page in the selected range Content.
Specifically, the selected range inputted for current display page and the institute of the content of pages processing unit acquisition The operation for stating the content of pages in selected range is that user is inputted by the touch screen of content of pages processing unit, the behaviour Work includes but is not limited to: cursor positions in initial position and end position, long-pressing current display page in current display page Initial position in current display page of initial position and end position, finger slide into the touch of the various types such as end position The operation of touch screen.In general, the content of pages processing unit with touch screen, touch screen includes at least three-decker: screen Glassy layer, touch panel layer and display panel layer.Wherein screen glass layer is protective layer, and touch panel layer is for perceiving user's Touch control operation, display panel layer is for showing image.In order to enable the fuselage (such as smart phone) of content of pages processing unit is more Thin, more attractive, nowadays prior art merges touch panel layer and display panel layer.
Optionally, when user operates the current display page by the touch screen of content of pages processing unit When, the current display page is selected the content of pages in range and will be shown in the form of being different from current display page content Out.The form different from current display page content includes but is not limited to following form: different content context color, The text of different colours, different font sizes, different fonts etc..
S102 obtains the voice screening instruction inputted based on the content of pages in the selected range, and according to described Voice screening instruction carries out Screening Treatment to the content of pages in the selected range to generate the selection result.
Specifically, the voice screening instruction includes the first phonetic order and the second phonetic order, and first voice Instruct corresponding second text information of corresponding first text information, second phonetic order.It is understood that in the page A speech recognition database can be preset by holding in processing unit.It include that multiple voices refer in the speech recognition database It enables, the corresponding relationship of multiple text informations and the two, the content of pages processing unit is by screening instruction and institute for voice The corresponding relationship for stating the phonetic order in speech recognition database, text information and the two is matched and identifies voice and screen Instruction.
The content of pages processing unit according to the voice screening instruction to the content of pages in the selected range into Row Screening Treatment includes: to determine the selection result in the selected model according to first text information to generate the selection result The initial position in content of pages in enclosing;Determine the selection result in the selected range according to second text information End position in interior content of pages;Determine to be the sieve from the initial position to the content of pages the end position Select result.
Optionally, first text information and second text information can be the same or different, can be word, Any text information that can determine start-stop position such as word, phrase, short sentence.
S103 exports the selection result.
Specifically, by obtaining the selection result after step S101 and step S102, exporting the selection result can be with Including but not limited to the selection result is shown, stores into pasting boards and is used for subsequent.
In embodiments of the present invention, the content of pages of current display page is selected by inputting selected range, and The content of pages in selected range is screened in conjunction with voice screening instruction to obtain the selection result again, finally screening is tied Fruit is exported.By carrying out postsearch screening to the content of pages in selected range, the operation improved to content of pages is accurate Degree is reduced for adjustment without carrying out manually simultaneously as the mode in conjunction with voice is automatically performed and finally screens the determination of result To the operation complexity of content of pages.
Fig. 2 is the flow diagram of the page content processing method in another embodiment of the present invention, as shown in Fig. 2, this reality Applying the page content processing method in example may include with step S201- step S209.
S201 generates the corresponding duplication page of current display page, institute when detecting the trigger action to pre-set button The content of pages for stating current display page is identical as the duplication content of pages of the page.
Specifically, the pre-set button, touch area on the content of pages processing unit touch screen, described can be The physical button etc. of content of pages processing unit.Touch area on the content of pages processing unit touch screen for example can be The Home key being suspended on content of pages processing unit (such as smart phone) touch screen.When the pre-set button is in the page When holding the touch area on processing unit touch screen, the touch area is at any interface for not interfering user's operation all in preceding Set state.And when the pre-set button is the touch area on the content of pages processing unit touch screen, in the page Holding the received trigger action to pre-set button of processing unit is that user is inputted by the touch screen of terminal, and the operation includes But it is not limited to: the operation of the various types such as double click operation, pressing operation touch touch screen.In general, in the page with touch screen Hold processing unit, touch screen includes at least three-decker: screen glass layer, touch panel layer and display panel layer.Wherein shield Curtain glassy layer is protective layer, and touch panel layer is used to perceive the touch control operation of user, and display panel layer is for showing image.In order to So that the fuselage (such as smart phone) of content of pages processing unit is thinner, more attractive, nowadays prior art make touch panel layer and The fusion of display panel layer.
Specifically, the content of pages processing unit generates the corresponding duplication page of current display page, the duplication page The content of pages in face is consistent with the content of pages of the current display page;Optionally, it is described duplication the page background color with The background color of the current display page is different;Optionally, it is described duplication the page size can be current display page by Preset ratio amplifies gained, and the preset ratio can be 1:1.1,1:1.2,1:1.3 etc., the setting of specific preset ratio It can be determined by the display boundary of all the elements in current display page.
S202 obtains the selected range inputted for the duplication page, and obtains the page in the selected range Content.
Specifically, the selected range of the content of pages processing unit acquisition inputted for the duplication page and institute The operation for stating the content of pages in selected range is that user is inputted by the touch screen that content of pages handles dress, the operation packet Include but be not limited to: cursor positions rising in initial position and end position, long-pressing current display page in current display page Beginning position and the initial position of end position, finger in current display page slide into the various types such as end position touch touch-control The operation of screen.The content of pages in selected range is obtained by using the mode of the duplication page, can unify to answer different terminals The display page is operated, and the convenience that selected operation is carried out to the content of pages of the display page is improved.
Optionally, when user operates the current display page by the touch screen of content of pages processing unit When, the current display page is selected the content of pages in range and will be shown in the form of being different from current display page content Out.The form different from current display page content includes but is not limited to following form: different content context color, The text of different colours, different font sizes, different fonts etc..
For example, as shown in Figure 3, wherein after carrying out trigger action to pre-set button C, on the basis of current display page A Duplication page B is generated, the background color of the duplication page B is be different from the current display page background color dark-grey Color.From the figure 3, it may be seen that the content of pages of the duplication page B is consistent with the content of pages of the current display page A.Pass through light It is selected to the content of pages of text " & " from text " R " after marking the content of pages positioning to the duplication page B, and with difference It is highlighted with the light gray of the duplication content of pages background color.
S203 closes the duplication page, and exports and carry out voice screening instruction input based on the content of pages in selected range Prompt information.
Specifically, the operation for closing the duplication page includes but is not limited to: carrying out trigger action closing to pre-set button The duplication page shakes any operations that can close the duplication page such as content of pages processing unit realization closing duplication page.Institute It states output and the prompt information of voice screening instruction input is carried out it is to be understood that obtaining the based on the content of pages in selected range After the content of pages of primary screening, user is prompted to carry out the input of voice screening instruction.The prompt includes but is not limited to: voice Prompt, prompt, floating layer prompt etc..
S204 judges whether there is the voice screening inputted based on the content of pages in the selected range in the predetermined time Instruction.
Specifically, the content of pages processing unit judges the page for whether having based in the selected range in the predetermined time The voice that face content is inputted screens instruction, that is, judges the page based in the selected range whether is received in the predetermined time The voice that content is inputted screens instruction, executes step S205 if so, being transferred to;Step S206 is executed if it is not, being then transferred to.
Further, the content of pages processing unit obtains user by touch screen and carries out to the current display page Operation, after obtaining the content of pages that screens for the first time, user can be prompted to carry out the input of voice screening instruction, the prompt Including but not limited to: voice prompting, prompt, floating layer prompt.By taking voice prompting as an example, the content of pages processing unit is obtained To after the content of pages of first time screening, by reminding sound (for example, " beep ", " ticking " sound) that user is reminded to start voice screening instruction Input.First phonetic order of user's input is received in predetermined time after reminding sound for the first time;Second of prompting sound Second phonetic order of user's input is received in predetermined time afterwards, the predetermined time can be between the customized time Every, such as: 3s, 4s, 5s etc., it is to be understood that the voice screening instruction includes that the first phonetic order and the second voice refer to It enables.
It is understood that within the predetermined time, the content of pages processing unit is in spite of receiving user The voice of input screens instruction, and user can carry out other operations in the arbitrary interface in the content of pages processing unit, Other described operations include but is not limited to: returning to main menu, open other application software, viewing video, listen to music.
S205 obtains the voice screening instruction inputted based on the content of pages in the selected range.
Specifically, when the content of pages processing unit is detected the presence of in the given time for described based on selected model When the voice screening instruction that the content of pages in enclosing is inputted, the content of pages processing unit, which obtains, is based on the selected range First phonetic order and second phonetic order that interior content of pages is inputted.
S206 exports the content of pages in the selected range.
Specifically, existing for described when the content of pages processing unit is not detected in the given time based on selected When the voice that content of pages in range is inputted screens instruction, the content of pages processing unit can be directly to described selected Content of pages in range is exported, such as: the content of pages in the selected range is shown, is stored to pasting boards It is middle to be used for subsequent.
Optionally, for following step S207, when first text envelope is not detected in the content of pages processing unit When at least one of breath and second text information include in the content of pages in the selected range, in the page Holding processing unit equally can directly export the content of pages in the selected range.
For example, as shown in fig. 4 a, in current display page A, from the start bit of the content of pages in the selected range " R " is set, the content between the end position " & " of the content of pages in the selected range, for content of pages processing dress It sets and does not all include in being not received by voice screening instruction screening or first text information and second text information When in the content of pages in selected range, the content of pages in the selected range that can directly export.
It is described to judge whether at least one of first text information and second text information are included in by S207 In content of pages in selected range.
Specifically, corresponding first text information of first phonetic order, corresponding second text of second phonetic order Information a, it is to be understood that speech recognition database can be preset in the content of pages processing unit.Institute's predicate It include the corresponding relationship of multiple phonetic orders, multiple text informations and the two in sound identification database, at the content of pages Device is managed by the way that voice is screened the corresponding of the phonetic order instructed with the speech recognition database, text information and the two Relationship is matched and identifies voice screening instruction.The content of pages processing unit judges first text information and institute State whether at least one of second text information includes to judge described selected in content of pages in the selected range In content of pages in range whether comprising first text information, second text information or both all include, if so, It is then transferred to and executes step S208;Step S206 is executed if it is not, being then transferred to.
It is described to generate to carry out Screening Treatment to the content of pages in the range according to voice screening instruction by S208 The selection result.
Specifically, when in the content of pages that first text information includes in the selected range, described in determination The position that first text information occurs for the first time in the content of pages in the selected range is the starting of the selection result Position;When in the content of pages that second text information includes in the selected range, second text envelope is determined Cease the end position that the position occurred for the last time in the content of pages in the selected range is the selection result;It is based on This, determines in the content of pages in the selected range that from the initial position be the screening to the content of the end position As a result.When the content of pages processing unit detects at least one in first text information and second text information A when including in content of pages in the selected range, then the content of pages processing unit can be sieved according to the voice Choosing instruction carries out Screening Treatment to the content of pages in the range to generate the selection result.
In the first embodiment of the embodiment of the present invention, if first text information and second text information It is all contained in the content of pages in the selected range, then the selection result that the content of pages processing unit determines is described From the initial position to the content of the end position in content of pages in selected range.
For example, as shown in Figure 4 b, in current display page A, from the page of the first text information " G " in selected range The position occurred for the first time in content, to the second text information " T " in the content of pages in the selected range last time Content between the position of appearance is the more accurate the selection result after voice screens instruction screening.
In second of embodiment of the embodiment of the present invention, if first text information is not included in the selected model In content of pages in enclosing, but second text information includes in content of pages in the selected range, then the page Face content processing apparatus determines that the initial position of the content of pages in the selected range is the initial position of the selection result, The position that second text information occurs for the last time in the content of pages in the selected range is the selection result End position.The selection result that the content of pages processing unit determines as a result, is the initial position to the end Content of pages between position.
For example, as illustrated in fig. 4 c, in current display page A, from the start bit of the content of pages in the selected range " R " is set, to second text information " T " between the position occurred for the last time in the content of pages in the selected range Content, be by voice screen instruction screening after more accurate the selection result.
In the third embodiment of the embodiment of the present invention, if first text information is included in the selected range In interior content of pages, but second text information is not included in the content of pages in the selected range, then the page Face content processing apparatus determines the position that first text information occurs for the first time in the content of pages in the selected range It is set to the initial position of the selection result, the end position of the content of pages in the selected range is the selection result End position.The selection result that the content of pages processing unit determines as a result, is the initial position to the stop bits Content of pages between setting.
For example, as shown in figure 4d, in current display page A, from first text information " G " in the selected range The position occurred for the first time in interior content of pages, between the end position " & " of the content of pages in the selected range Content is the more accurate the selection result after voice screens instruction screening.
By defining the embodiment of different scenes in voice screening process, such as: the only feelings of a text information The case where condition and two texts all exist etc., is furthermore achieved the acquisition process to the selection result, increases the selection result Diversification selection.
Optionally, first text information and second text information can be the same or different, can be word, Any text information that can determine start-stop position such as word, phrase, short sentence.
S209 exports the selection result.
Specifically, the content of pages processing unit can export the selection result, the selection result includes: from institute The position that the first text information occurs for the first time in the content of pages in the selected range is stated, into the selected range Content between content of pages end position;From the content of pages initial position in the selected range to second text envelope Cease the content between the position occurred for the last time in the content of pages in the selected range;From first text information The position occurred for the first time in the content of pages in the selected range, to second text information in the selected range The content between position occurred for the last time in interior content of pages.Exporting the selection result can include but is not limited to pair The selection result shown, is stored into pasting boards and is used for subsequent.
In embodiments of the present invention, the duplication page is generated based on the current display page, and by inputting selected range The content of pages of the duplication page is selected, the content of pages in selected range is carried out again in conjunction with voice screening instruction Screening finally exports the selection result with obtaining the selection result.It is secondary by being carried out to the content of pages in the duplication page Screening, improves the operation precision to content of pages, simultaneously as the mode in conjunction with voice is automatically performed and finally screens result Determination, without carry out manually for adjustment, reduce the operation complexity to content of pages;By using the mode of the duplication page The content of pages in selected range is obtained, can unify to operate the display page that different terminals are applied, improve to aobvious Show that the content of pages of the page carries out the convenience of selected operation;By the embodiment party for defining different scenes in voice screening process Formula, such as: the case where an only text information and two texts the case where all existing etc., it is furthermore achieved and screening is tied The acquisition process of fruit increases the diversification selection of the selection result.
Below in conjunction with attached drawing 5- attached drawing 8, it is situated between in detail to content of pages processing unit provided in an embodiment of the present invention It continues.It should be noted that the attached content of pages processing unit shown in Fig. 8 of attached drawing 5-, for executing shown in Fig. 1 and Fig. 2 of the present invention The method of embodiment, for ease of description, only parts related to embodiments of the present invention are shown, and particular technique details does not disclose , please refer to Fig. 1 of the present invention and embodiment shown in Fig. 2.
Fig. 5 is referred to, for the embodiment of the invention provides a kind of structural schematic diagrams of content of pages processing unit.Such as Fig. 5 Shown, the content of pages processing unit 1 of the embodiment of the present invention may include contents acquiring unit 11, result generation unit 12 With result output unit 13.
Contents acquiring unit 11 for obtaining the selected range for being directed to current display page and being inputted, and obtains the choosing Determine the content of pages in range.
In the specific implementation, the selected range inputted for current display page that the contents acquiring unit 11 obtains and The operation of content of pages in the selected range is that user is inputted by the touch screen of content of pages processing unit 1, described Operation includes but is not limited to: cursor positions the starting of the starting and ending position, long-pressing target pages content of target pages content Position and end position, finger slide into the various types such as end position along the initial position of target pages content and touch touch screen Operation.In general, the content of pages processing unit with touch screen, touch screen includes at least three-decker: screen glass layer, touching Control panel layer and display panel layer.Wherein screen glass layer is protective layer, and touch panel layer is used to perceive the touch control operation of user, Display panel layer is for showing image.In order to enable the fuselage (such as smart phone) of content of pages processing unit is thinner, more attractive, Nowadays prior art merges touch panel layer and display panel layer.
Optionally, when user operates the current display page by the touch screen of content of pages processing unit 1 When, the current display page is selected the content of pages in range and will be shown in the form of being different from current display page content Out.The form different from current display page content includes but is not limited to following form: different content context color, The text of different colours, different font sizes, different fonts etc..
As a result generation unit 12, for obtaining based on the inputted voice screening instruction of content of pages in selected range, and Screening Treatment is carried out to generate the selection result to the content of pages in the selected range according to voice screening instruction.
In the specific implementation, the voice screening instruction includes the first phonetic order and the second phonetic order, and described first Phonetic order corresponds to corresponding second text information of the first text information, second phonetic order.It is understood that the page A speech recognition database can be preset in face content processing apparatus 1.It include multiple in the speech recognition database The corresponding relationship of phonetic order, multiple text informations and the two, the content of pages processing unit 1 is by referring to voice screening It enables and is matched with the corresponding relationship of phonetic order, text information and the two in the speech recognition database and identify language Sound screening instruction.
The result generation unit 12 carries out the content of pages in the selected range according to voice screening instruction Screening Treatment includes: to determine the selection result in the selected range according to first text information to generate the selection result Initial position in interior content of pages;Determine the selection result in the selected range according to second text information Content of pages in end position;Determine to be the screening from the initial position to the content of pages the end position As a result.
Optionally, first text information and second text information can be the same or different, can be word, Any text information that can determine start-stop position such as word, phrase, short sentence.
As a result output unit 13, for exporting the selection result.
In the specific implementation, the selection result is obtained after handling by contents acquiring unit 11 and result generation unit 12, It exports the selection result and can include but is not limited to show the selection result, store into pasting boards and make for subsequent With etc..
In embodiments of the present invention, the content of pages of current display page is selected by inputting selected range, and The content of pages in selected range is screened in conjunction with voice screening instruction to obtain the selection result again, finally screening is tied Fruit is exported.By carrying out postsearch screening to the content of pages in the selected range, the operation to content of pages is improved Precision, simultaneously as the mode in conjunction with voice is automatically performed and finally screens the determination of result, without being carried out manually as adjustment, Reduce the operation complexity to content of pages.
Fig. 6 is referred to, for the embodiment of the invention provides the structural schematic diagrams of another content of pages processing unit.Such as figure Shown in 6, the content of pages processing unit 1 of the embodiment of the present invention may include contents acquiring unit 11, result generation unit 12, result output unit 13, page close unit 14, instruction judging unit 15, first content output unit 16, the first notification sheet Member 17, information judging unit 18, the second content output unit 19 and the second notification unit 20;Wherein, as a result generation unit 12 Specific structure may refer to the description of embodiment illustrated in fig. 5, herein without repeating.
Contents acquiring unit 11 for obtaining the selected range for being directed to current display page and being inputted, and obtains the choosing Determine the content of pages in range.
In the specific implementation, the selected range inputted for current display page that the contents acquiring unit 11 obtains and The operation of content of pages in the selected range is that user is inputted by the touch screen of content of pages processing unit 1, described Operation includes but is not limited to: cursor positions the starting of the starting and ending position, long-pressing target pages content of target pages content Position and end position, finger slide into the various types such as end position along the initial position of target pages content and touch touch screen Operation.In general, the content of pages processing unit with touch screen, touch screen includes at least three-decker: screen glass layer, touching Control panel layer and display panel layer.Wherein screen glass layer is protective layer, and touch panel layer is used to perceive the touch control operation of user, Display panel layer is for showing image.In order to enable content of pages processing unit fuselage (such as smart phone) is thinner, more attractive, such as Modern prior art merges touch panel layer and display panel layer.
Optionally, when user operates the current display page by the touch screen of content of pages processing unit 1 When, the content of pages that the current display page is selected in range will be shown in the form of being different from current page content Come.The form different from current page content includes but is not limited to following form: different color, different font size, no Same font etc..
Please also refer to Fig. 7, for the embodiment of the invention provides the structural schematic diagrams of contents acquiring unit 11.Such as Fig. 7 institute Show, the contents acquiring unit 11 may include:
The page generates subelement 111, for generating current display page when detecting the trigger action to pre-set button The corresponding duplication page.
In the specific implementation, the pre-set button, can be the Touch Zone on 1 touch screen of content of pages processing unit Domain, physical button of the content of pages processing unit 1 etc..Touch area on 1 touch screen of content of pages processing unit Such as the Home key on content of pages processing unit 1 (such as smart phone) touch screen can be suspended in.When the pre-set button When for touch area on 1 touch screen of content of pages processing unit, the touch area is not interfering appointing for user's operation What interface is all in initial status.And when the pre-set button is the Touch Zone on 1 touch screen of content of pages processing unit When domain, the received trigger action to pre-set button of content of pages processing unit 1 is that user is defeated by the touch screen of terminal Enter, the operation includes but is not limited to: the operation of the various types such as double click operation, pressing operation touch touch screen.
In the specific implementation, the page, which generates subelement 111, generates the corresponding duplication page of current display page, it is described multiple The content of pages of the page processed is consistent with the content of pages of the current display page;Optionally, the background face of the duplication page Color is different from the background color of the current display page;Optionally, the size of the duplication page can be current display page Face amplifies gained by preset ratio, and the preset ratio can be 1:1.1,1:1.2,1:1.3 etc., specific preset ratio Being arranged can be determined by the display boundary of all the elements in current display page.
Content capture unit 112, for obtaining the selected range for being directed to the duplication page and being inputted, and described in acquisition Content of pages in selected range.
In the specific implementation, the selected model inputted for the duplication page that the content capture unit 112 obtains It encloses and the operation of the content of pages in the selected range is that user is inputted by the touch screen that content of pages handles dress, it is described Operation includes but is not limited to: cursor positions initial position and end position, long-pressing current display page in current display page In initial position in current display page of initial position and end position, finger slide into the touching of the various types such as end position Touch the operation of touch screen.The content of pages in selected range is obtained by using the mode of the duplication page, can be unified to difference The display page of terminal applies is operated, and the convenience that selected operation is carried out to the content of pages of the display page is improved.
Optionally, when user operates the current display page by the touch screen of content of pages processing unit 1 When, the current display page is selected the content of pages in range and will be shown in the form of being different from current display page content Out.The form different from current display page content includes but is not limited to following form: different content context color, The text of different colours, different font sizes, different fonts etc..
For example, as shown in Figure 3, wherein after carrying out trigger action to pre-set button C, on the basis of current display page A Duplication page B is generated, the background color of the duplication page B is be different from the current display page background color dark-grey Color.From the figure 3, it may be seen that the content of pages of the duplication page B is consistent with the content of pages of the current display page A.Pass through light It is selected to the content of pages of text " & " from text " R " after marking the content of pages positioning to the duplication page B, and with difference It is highlighted with the light gray of the duplication content of pages.
Page close unit 14, for closing the duplication page, and export based on the content of pages in selected range into The prompt information of row voice screening instruction input.
In the specific implementation, the operation for closing the duplication page includes but is not limited to: carrying out trigger action to pre-set button It closes the duplication page, shake any behaviour that can close the duplication page such as the realization closing duplication page of content of pages processing unit 1 Make.It is described output based in selected range content of pages carry out voice screening instruction input prompt information it is to be understood that After obtaining the content of pages screened for the first time, user is prompted to carry out the input of voice screening instruction.The prompt includes but unlimited In: voice prompting, prompt, floating layer prompt etc..
Instruct judging unit 15, the content of pages institute for judging whether to have based in the selected range in the predetermined time The voice of input screens instruction.
In the specific implementation, described instruction judging unit 15 judges whether have input described based on selected range in the predetermined time Whether the voice that interior content of pages is inputted screens instruction, that is, judge to receive in the predetermined time described based in selected range Content of pages inputted voice screening instruction.
Further, the content of pages processing unit 1 by touch screen obtain user to the current display page into Capable operation after obtaining the content of pages screened for the first time, can prompt user to carry out the input of voice screening instruction, described to mention Show including but not limited to: voice prompting, prompt, floating layer prompt.By taking voice prompting as an example, the content of pages processing unit After 1 obtains the content of pages screened for the first time, by reminding sound (for example, " beep ", " ticking " sound) that user is reminded to start voice screening The input of instruction.First phonetic order of user's input is received in predetermined time after reminding sound for the first time;It mentions for the second time Second phonetic order of user's input is received in predetermined time after awake sound, when the predetermined time can be customized Between be spaced, such as: 3s, 4s, 5s etc., it is to be understood that voice screening instruction includes the first phonetic order and the second language Sound instruction.
It is understood that within the predetermined time, the content of pages processing unit 1 is in spite of receiving user The voice of input screens instruction, and user can carry out other operations in the arbitrary interface in the content of pages processing unit 1, Other described operations include but is not limited to: returning to main menu, open other application software, viewing video, listen to music.
First content output unit 16, for being not detected in the given time when described instruction judging unit 15 for institute When stating the voice screening instruction inputted based on the content of pages in selected range, to the content of pages in the selected range into Row output.
In the specific implementation, if described instruction judging unit 15 is not received by first phonetic order in the given time Also it is not received by second phonetic order, then the first content output unit 16 is directly to the page in the selected range Face content is exported, such as is shown to the content of pages in the selected range, stores into pasting boards and make for subsequent With etc..
First notification unit 17, for being detected in the given time when described instruction judging unit 15 for based on described When the voice screening instruction that the content of pages in selected range is inputted, notify the result generation unit 12 executes to obtain to be based on The voice that content of pages in the selected range is inputted screens instruction.
As a result generation unit 12 are referred to for obtaining the voice screening inputted based on the content of pages in the selected range It enables, and Screening Treatment is carried out to the content of pages in the selected range to generate screening knot according to voice screening instruction Fruit.
Specifically, please also refer to Fig. 8, for the embodiment of the invention provides the structural schematic diagrams of result generation unit 12. As shown in figure 8, the result generation unit 12 may include:
Information identifies subelement 121, the first phonetic order and the second language for including for obtaining the voice screening instruction Sound instruction, and identify corresponding first text information of first phonetic order and second phonetic order corresponding second Text information.
Position determines subelement 122, for including in the page in the selected range when first text information When in appearance, the position for determining that first text information occurs for the first time in the content of pages in the selected range is described The initial position of the selection result.
In the specific implementation, the position determines subelement 122, it is also used to be included in the choosing when second text information When determining in the content of pages in range, determine second text information in the content of pages in the selected range last The position of secondary appearance is the end position of the selection result.
As a result generate subelement 123, for determine in the content of pages in the selected range from the initial position to The content of the end position is the selection result.
Information judging unit 18, for whether judging at least one of first text information and second text information It include in the content of pages in the selected range
In the specific implementation, the information judging unit 18 judges in first text information and the second text information extremely Few one whether include in content of pages in the selected range judge be in the content of pages in the selected range It is no all to include comprising first text information, second text information or both.
Second content output unit 19, for detecting first text information and the when the information judging unit 18 When be not included in the content of pages in the selected range in two text informations, the content of pages processing unit 1 can be with Directly the content of pages in the selected range is exported, such as: the content of pages in the selected range is shown Show, store into pasting boards and used for subsequent.
Second notification unit 20, for detecting first text information and the second text when the information judging unit 18 When at least one of this information includes in the content of pages in the selected range, then 12 basis of result generation unit is notified First text information and second text information carry out Screening Treatment to the content of pages in the selected range with life At the selection result.
When it is implemented, described carry out Screening Treatment to the content of pages in the range according to voice screening instruction It can be implemented according to the method in above method embodiment with generating the operation of the selection result, specific implementation process can join According to the associated description of above method embodiment, details are not described herein again.
By defining the embodiment of different scenes in voice screening process, such as: the only feelings of a text information The case where condition and two texts all exist etc., is furthermore achieved the acquisition process to the selection result, increases the selection result Diversification selection.
Optionally, first text information and second text information can be the same or different, can be word, Any text information that can determine start-stop position such as word, phrase, short sentence.
As a result output unit 13, for exporting the selection result.
In the specific implementation, the result output unit 13 can export the selection result, the selection result include: from The position that first text information occurs for the first time in the content of pages in the selected range is arrived in the selected range Content of pages end position between content;From the content of pages initial position in the selected range to second text Content of the information between the position occurred for the last time in the content of pages in the selected range;From first text envelope The position occurred for the first time in the content of pages in the selected range is ceased, to second text information in the selected model The content between position occurred for the last time in content of pages in enclosing.Exporting the selection result can include but is not limited to The selection result is shown, stores into pasting boards and is used for subsequent.
In embodiments of the present invention, the duplication page is generated based on the current display page, and by inputting selected range The content of pages of the duplication page is selected, the content of pages in selected range is carried out again in conjunction with voice screening instruction Screening finally exports the selection result with obtaining the selection result.It is secondary by being carried out to the content of pages in the duplication page Screening, improves the operation precision to content of pages, simultaneously as the mode in conjunction with voice is automatically performed and finally screens result Determination, without carry out manually for adjustment, reduce the operation complexity to content of pages;By using the mode of the duplication page The content of pages in selected range is obtained, the operation of the display page applied to different terminals can be unified, improved to display The content of pages of the page carries out the convenience of selected operation;Since two kinds of text informations are in the content of pages of the selected range Comprising form have diversity, to improve the diversity for generating the selection result.
It should be noted that for the various method embodiments described above, being stated that a series of actions for simple description Combination, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described, and certain steps can Serially or simultaneously to be carried out using other.Secondly, those skilled in the art should understand that, embodiment described in this description is equal Belong to preferred embodiment, related operation and unit are not necessarily essential to the invention.And in the above-described embodiments, right The description of each embodiment all emphasizes particularly on different fields, and does not have the part being described in detail in some embodiment, may refer to the phase of other embodiments Close description.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in the unit handled at one It is that each unit physically exists alone, is also possible to two or more units and is integrated in one unit.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.The integrated unit is such as Fruit is realized in the form of SFU software functional unit and when sold or used as an independent product, and can store can in a computer It reads in storage medium.Based on this understanding, technical solution of the present invention substantially in other words contributes to the prior art Part or all or part of the technical solution can be embodied in the form of software products, the computer software product It is stored in a storage medium, including some instructions are used so that a computer equipment (can be personal computer, server Or network equipment etc.) perform all or part of the steps of the method described in the various embodiments of the present invention.And storage medium above-mentioned It include: USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), the various media that can store program code such as mobile hard disk, magnetic or disk.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although referring to before Stating embodiment, invention is explained in detail, those skilled in the art should understand that: it still can be to preceding Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these It modifies or replaces, the range for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.

Claims (6)

1. a kind of method of content of pages processing characterized by comprising
When detecting the trigger action to pre-set button, the corresponding duplication page of current display page is generated, it is described current aobvious Show that the content of pages of the page is identical as the duplication content of pages of the page, obtains and selected for what the duplication page was inputted Range, and obtain the content of pages in the selected range;
The voice screening instruction inputted based on the content of pages in the selected range is obtained, and is referred to according to voice screening It enables and Screening Treatment is carried out to generate the selection result to the content of pages in the selected range;
Export the selection result;
Wherein, described that Screening Treatment is carried out to the content of pages in the selected range to generate according to voice screening instruction The selection result, comprising:
The first phonetic order and the second phonetic order that the voice screening instruction includes are obtained, and identifies that first voice refers to Enable corresponding first text information and corresponding second text information of second phonetic order;
When in the content of pages that first text information includes in the selected range, first text information is determined The position occurred for the first time in the content of pages in the selected range is the initial position of the selection result;
When in the content of pages that second text information includes in the selected range, second text information is determined The position occurred for the last time in the content of pages in the selected range is the end position of the selection result;
Determine in the content of pages in the selected range that from the initial position be the sieve to the content of the end position Select result;
After the voice screening instruction that the acquisition is inputted based on the content of pages in the selected range, further includes:
Judge whether at least one of first text information and second text information are included in the selected range In interior content of pages;
Screening Treatment is carried out to the content of pages in the selected range according to voice screening instruction if so, continuing to execute To generate the selection result;
If it is not, then exporting the content of pages in the selected range.
2. the method as described in claim 1, which is characterized in that described to obtain the selected model inputted for the duplication page It encloses, and after obtaining the content of pages in the selected range, further includes:
The duplication page is closed, and exports the prompt for carrying out voice screening instruction input based on the content of pages in selected range Information.
3. the method as described in claim 1, which is characterized in that after the content of pages obtained in the selected range, Further include:
Judge whether there is the voice screening instruction inputted based on the content of pages in the selected range in the predetermined time;
If so, continuing to execute the voice screening instruction for obtaining and being inputted based on the content of pages in the selected range;
If it is not, then exporting the content of pages in the selected range.
4. a kind of content of pages processing unit characterized by comprising
Contents acquiring unit, for it is corresponding multiple to generate current display page when detecting the trigger action to pre-set button The page processed, the content of pages of the current display page is identical as the duplication content of pages of the page, obtains for described multiple The selected range that the page processed is inputted, and obtain the content of pages in the selected range;
As a result generation unit, for obtaining based on the inputted voice screening instruction of content of pages in selected range, and according to institute Predicate sound screening instruction carries out Screening Treatment to the content of pages in the selected range to generate the selection result;
As a result output unit, for exporting the selection result;
Wherein, the result generation unit includes:
Information identifies subelement, obtains the first phonetic order and the second phonetic order that the voice screening instruction includes, and know Not described corresponding first text information of first phonetic order and corresponding second text information of second phonetic order;
Position determines subelement, for when in the content of pages that first text information includes in the selected range, Determine the position that first text information occurs for the first time in the content of pages in the selected range for screening knot The initial position of fruit;
The position determines subelement, is also used to when second text information include the content of pages in the selected range When middle, the position for determining that second text information occurs for the last time in the content of pages in the selected range is described The end position of the selection result;
As a result subelement is generated, for determining in the content of pages in the selected range from the initial position to the end The content of position is the selection result;
Described device further include:
Information judging unit, for judging whether at least one of first text information and second text information wrap It is contained in the content of pages in the selected range;
Second notification unit, if judging first text information and second text information for the information judging unit At least one of whether include judging result in content of pages in the selected range be it is yes, then continue to execute basis The voice screening instruction carries out Screening Treatment to the content of pages in the selected range to generate the step of the selection result Suddenly;
Second content output unit, if judging first text information and second text for the information judging unit At least one of information whether include judging result in content of pages in the selected range be it is no, then described in output Content of pages in selected range.
5. the device as shown in claim 4, which is characterized in that further include:
Page close unit for closing the duplication page, and exports and carries out voice based on the content of pages in selected range Screen the prompt information of instruction input.
6. device as claimed in claim 4, which is characterized in that further include:
It instructs judging unit, is inputted for judging whether to have in the predetermined time based on the content of pages in the selected range Voice screening instruction;
First notification unit, if judging whether have input described based on selected model in the predetermined time for described instruction judging unit The judging result of the operation for the voice screening instruction that content of pages in enclosing is inputted be it is yes, then notify the result generation unit Execute the step of voice screening for obtaining and being inputted based on the content of pages in the selected range is instructed;
First content output unit, if judging whether have input described based on choosing in the predetermined time for described instruction judging unit Determine the operation for the voice screening instruction that the content of pages in range inputted judging result be it is no, then export the selected range Interior content of pages.
CN201610779634.0A 2016-08-30 2016-08-30 A kind of page content processing method and device Expired - Fee Related CN106383847B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610779634.0A CN106383847B (en) 2016-08-30 2016-08-30 A kind of page content processing method and device
PCT/CN2016/113396 WO2018040438A1 (en) 2016-08-30 2016-12-30 Page content processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610779634.0A CN106383847B (en) 2016-08-30 2016-08-30 A kind of page content processing method and device

Publications (2)

Publication Number Publication Date
CN106383847A CN106383847A (en) 2017-02-08
CN106383847B true CN106383847B (en) 2019-03-22

Family

ID=57938495

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610779634.0A Expired - Fee Related CN106383847B (en) 2016-08-30 2016-08-30 A kind of page content processing method and device

Country Status (2)

Country Link
CN (1) CN106383847B (en)
WO (1) WO2018040438A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107885416A (en) * 2017-10-30 2018-04-06 努比亚技术有限公司 A kind of text clone method, terminal and computer-readable recording medium
CN111612006A (en) * 2020-05-07 2020-09-01 北京网梯科技发展有限公司 Method and device for improving reliability of book drawing point reading recognition result

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103177724A (en) * 2013-03-19 2013-06-26 华为终端有限公司 Method, device and terminal for text operating controlled by voice
CN103869948A (en) * 2012-12-14 2014-06-18 联想(北京)有限公司 Voice command processing method and electronic device
CN104375980A (en) * 2014-11-18 2015-02-25 小米科技有限责任公司 Selection method and device for text content

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101897774B1 (en) * 2012-05-21 2018-09-12 엘지전자 주식회사 Method and electronic device for easily searching for voice record
CN105868385B (en) * 2014-12-12 2020-02-07 北京奇虎科技有限公司 Method and system for searching based on terminal interface touch operation

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103869948A (en) * 2012-12-14 2014-06-18 联想(北京)有限公司 Voice command processing method and electronic device
CN103177724A (en) * 2013-03-19 2013-06-26 华为终端有限公司 Method, device and terminal for text operating controlled by voice
CN104375980A (en) * 2014-11-18 2015-02-25 小米科技有限责任公司 Selection method and device for text content

Also Published As

Publication number Publication date
CN106383847A (en) 2017-02-08
WO2018040438A1 (en) 2018-03-08

Similar Documents

Publication Publication Date Title
KR102065900B1 (en) Systems, devices, and methods for dynamically providing user interface controls in a touch-sensitive secondary display
JP6305033B2 (en) Method and system for providing a multi-user messenger service
WO2017118329A1 (en) Method and apparatus for controlling tab bar
TWI530857B (en) Method,computing desktop,communication application and computer program product for presenting text messages
US20120185787A1 (en) User interface interaction behavior based on insertion point
DE102016214955A1 (en) Latency-free digital assistant
CN108538291A (en) Sound control method, terminal device, cloud server and system
JP2018525751A (en) Interactive control method and apparatus for voice and video calls
US20210048930A1 (en) Human-machine conversation method, client, electronic device, and storage medium
EP3866410B1 (en) Message display method, apparatus, and device
CN111831205B (en) Device control method, device, storage medium and electronic device
CN106383847B (en) A kind of page content processing method and device
CN110109586A (en) Data processing method, device, computer equipment and storage medium
CN105359131B (en) Tie selection handle
CN104598133B (en) The specification generation method and device of object
CN106201509A (en) A kind of method for information display, device and mobile terminal
US20170168686A1 (en) Method and electronic device for processing list item operation
US20140173428A1 (en) Electronic device and method for importing email onto editing interface thereof
CN108153574B (en) Application processing method and device and electronic equipment
CN109739424A (en) Operating method and device and touch control terminal applied to touch control terminal
KR102330016B1 (en) Device and method for checking time without turning on the screen
CN109298829A (en) A kind of information processing method and device, a kind of calculating equipment and storage medium
CN108983992A (en) A kind of candidate item methods of exhibiting and device with punctuation mark
CN117950536A (en) Information automation processing method, device, equipment and storage medium
CN105549833B (en) A kind of playlist control method and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190322

Termination date: 20210830

CF01 Termination of patent right due to non-payment of annual fee