Movatterモバイル変換


[0]ホーム

URL:


WO2018040438A1 - Page content processing method and device - Google Patents

Page content processing method and device
Download PDF

Info

Publication number
WO2018040438A1
WO2018040438A1PCT/CN2016/113396CN2016113396WWO2018040438A1WO 2018040438 A1WO2018040438 A1WO 2018040438A1CN 2016113396 WCN2016113396 WCN 2016113396WWO 2018040438 A1WO2018040438 A1WO 2018040438A1
Authority
WO
WIPO (PCT)
Prior art keywords
page
content
selected range
screening
voice
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.)
Ceased
Application number
PCT/CN2016/113396
Other languages
French (fr)
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.)
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 LtdfiledCriticalYulong Computer Telecommunication Scientific Shenzhen Co Ltd
Publication of WO2018040438A1publicationCriticalpatent/WO2018040438A1/en
Anticipated expirationlegal-statusCritical
Ceasedlegal-statusCriticalCurrent

Links

Images

Classifications

Definitions

Landscapes

Abstract

A page content processing method and device. The page content processing method comprises: obtaining a selected range inputted for a currently displayed page, and obtaining page content in the selected range (S101); obtaining a voice screening instruction inputted on the basis of the page content in the selected range, and screening the page content in the selected range according to the voice screening instruction to generate a screening result (S102); and outputting the screening result (S103). According to the present invention, the accuracy of page operations can be enhanced and the complexity of page operations can be reduced.

Description

Translated fromChinese
一种页面内容处理方法和装置Method and device for processing page content

本申请要求于2016年8月30日提交中国专利局,申请号为201610779634.0、发明名称为“一种页面内容处理方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201610779634.0, entitled "A page content processing method and apparatus" on August 30, 2016, the entire contents of which is incorporated herein by reference. in.

技术领域Technical field

本发明涉及互联网技术领域,尤其涉及一种页面内容处理方法和装置。The present invention relates to the field of Internet technologies, and in particular, to a page content processing method and apparatus.

背景技术Background technique

用户在页面内容处理装置上浏览各种应用页面时,根据自身的需求对所浏览的页面内容存在选中、复制、剪切、显示等各种操作。对页面内容操作的精准度越高,用户体验越好。When the user browses various application pages on the page content processing device, various operations such as selecting, copying, cutting, and displaying are performed on the browsed page content according to the needs of the user. The higher the accuracy of the page content operation, the better the user experience.

常用的用户对所浏览的页面内容的处理方式是:长按所要操作的内容区域,在弹出选择内容的光标后,通过拖动光标选择页面内容,之后再对选中的页面内容进行选中、复制、剪切、显示等各种操作。然而在显示的页面较小或显示的页面内容较多的时候,容易出现对页面内容选中的内容区域出现误差的情况,影响了对页面内容的操作精准度,同时,由于选中的内容区域存在误差,需要进一步手动对内容区域进行为调整,增加了对页面内容的操作复杂度。A commonly used user processes the content of the page being viewed by: long pressing the content area to be operated, and after the cursor of the selected content is popped up, the content of the page is selected by dragging the cursor, and then the selected page content is selected, copied, and Cut, display and other operations. However, when the displayed page is small or the content of the displayed page is large, there is a possibility that an error occurs in the content area selected for the page content, which affects the operation precision of the page content, and at the same time, there is an error in the selected content area. Further adjustment of the content area is required manually, which increases the operational complexity of the page content.

发明内容Summary of the invention

有鉴于此,本发明实施例提供一种页面内容处理方法和装置,可以提升对页面操作的操作精准度,降低对页面操作的操作复杂度。In view of this, the embodiment of the invention provides a page content processing method and device, which can improve the operation precision of the page operation and reduce the operation complexity of the page operation.

为了解决上述技术问题,本发明实施例提供了一种页面内容处理方法,所述方法包括:In order to solve the above technical problem, an embodiment of the present invention provides a page content processing method, where the method includes:

获取针对当前显示页面所输入的选定范围,并获取所述选定范围内的页面内容;Obtaining a selected range input for the currently displayed page, and obtaining the content of the page within the selected range;

获取基于所述选定范围内的页面内容所输入的语音筛选指令,并根据所述语音筛选指令对所述选定范围内的页面内容进行筛选处理以生成筛选结果;Obtaining a voice screening instruction input based on the content of the page in the selected range, and performing filtering processing on the page content in the selected range according to the voice screening instruction to generate a screening result;

输出所述筛选结果。The screening result is output.

相应地,本发明实施例还提供了一种页面内容处理装置,所述装置包括:Correspondingly, an embodiment of the present invention further provides a page content processing apparatus, where the apparatus includes:

内容获取单元,设置为获取针对当前显示页面所输入的选定范围,并获取所述选定范围内的页面内容;a content acquisition unit, configured to acquire a selected range input for the currently displayed page, and obtain page content within the selected range;

结果生成单元,设置为获取基于选定范围内的页面内容所输入语音筛选指令,并根据所述语音筛选指令对所述选定范围内的页面内容进行筛选处理以生成筛选结果;a result generating unit, configured to acquire a voice screening instruction input based on the page content in the selected range, and perform screening processing on the page content in the selected range according to the voice screening instruction to generate a screening result;

结果输出单元,设置为输出所述筛选结果。The result output unit is arranged to output the screening result.

在本发明实施例中,通过输入选定范围对当前显示页面的页面内容进行选定,并结合语音筛选指令对选定范围内的页面内容再次进行筛选以得到筛选结果,最终对筛选结果进行输出。通过对所述选定范围内的页面内容进行二次筛选,提升了对页面内容的操作精准度,同时,由于结合语音的方式自动完成最终筛选结果的确定,无需手动进行为调整,降低了对页面内容的操作复杂度。In the embodiment of the present invention, the page content of the currently displayed page is selected by inputting the selected range, and the page content in the selected range is filtered again by using the voice screening instruction to obtain a screening result, and finally the screening result is output. . By performing secondary screening on the page content in the selected range, the operation precision of the page content is improved, and at the same time, since the final screening result is automatically determined by the method of combining voice, no manual adjustment is needed, and the pair is reduced. The complexity of the operation of the page content.

附图说明DRAWINGS

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.

图1是本发明实施例中一种页面内容处理方法的流程示意图;1 is a schematic flow chart of a method for processing page content in an embodiment of the present invention;

图2是本发明另一实施例中页面内容处理方法的流程示意图;2 is a schematic flow chart of a method for processing a page content according to another embodiment of the present invention;

图3是本发明实施例中一种页面内容处理界面示意图;3 is a schematic diagram of a page content processing interface in an embodiment of the present invention;

图4a是本发明实施例中一种页面内容处理结果界面示意图;4a is a schematic diagram of a page content processing result interface in an embodiment of the present invention;

图4b是本发明另一实施例中页面内容处理结果界面示意图;4b is a schematic diagram of a page content processing result interface according to another embodiment of the present invention;

图4c是本发明另一实施例中页面内容处理结果界面示意图;4c is a schematic diagram of a page content processing result interface according to another embodiment of the present invention;

图4d是本发明另一实施例中页面内容处理结果界面示意图;4d is a schematic diagram of a page content processing result interface in another embodiment of the present invention;

图5是本发明实施例中一种页面内容处理装置结构示意图;FIG. 5 is a schematic structural diagram of a page content processing apparatus according to an embodiment of the present invention; FIG.

图6是本发明另一实施例中页面内容处理装置结构示意图;6 is a schematic structural diagram of a page content processing apparatus according to another embodiment of the present invention;

图7是本发明实施例中内容获取单元的结构示意图;7 is a schematic structural diagram of a content acquisition unit in an embodiment of the present invention;

图8是本发明实施例中结果生成单元的结构示意图;8 is a schematic structural diagram of a result generating unit in an embodiment of the present invention;

图9是本发明实施例中内容处理装置硬件结构示意图。FIG. 9 is a schematic structural diagram of hardware of a content processing apparatus according to an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.

本发明实施例提供的页面内容处理方法可以应用于对终端应用中当前显示页面的页面内容进行选中、复制、剪切、显示等操作的场景,例如:页面内容处理装置获取针对当前显示页面所输入的选定范围,并获取所述选定范围内的页面内容,所述页面内容处理装置获取基于所述选定范围内的页面内容所输入的语音筛选指令,并根据所述语音筛选指令对所述选定范围内的页面内容进行筛选处理以生成筛选结果,所述页面内容处理装置输出所述筛选结果的场景等。通过对当前显示页面中的页面内容进行二次筛选,提升了对页面内容的操作精准度,同时,由于结合语音的方式自动完成最终筛选结果的确定,无需手动进行为调整,降低了对页面内容的操作复杂度。The page content processing method provided by the embodiment of the present invention can be applied to a scenario of selecting, copying, cutting, displaying, and the like of the page content of the currently displayed page in the terminal application, for example, the page content processing device acquires the input for the current display page. Selecting a range, and acquiring page content in the selected range, the page content processing device acquiring a voice screening instruction input based on the page content in the selected range, and according to the voice screening instruction The page content within the selected range is subjected to a filtering process to generate a screening result, and the page content processing device outputs the scene of the screening result and the like. By performing secondary screening on the page content in the currently displayed page, the operation precision of the page content is improved, and at the same time, since the final screening result is automatically determined by combining the voice, the manual adjustment is not required, and the page content is reduced. Operational complexity.

本发明实施例涉及的页面内容处理装置可以包括笔记本电脑、智能手机、平板电脑、电子阅读器等具有对终端应用中当前显示页面的页面内容具有处理功能的终端设备;所述当前显示页面为当前运行的终端应用显示出来供用户浏览或操作的页面;所述页面内容为所述选定范围内的页面内容,用户可以对所述页面内容进行选中、复制、剪切、显示等操作。The page content processing apparatus according to the embodiment of the present invention may include a terminal device having a processing function for a page content of a currently displayed page in a terminal application, such as a notebook computer, a smart phone, a tablet computer, an e-reader, and the like; the current display page is current The running terminal application displays a page for the user to browse or operate; the page content is the page content in the selected range, and the user can select, copy, cut, display, and the like on the page content.

下面将结合附图1和附图2,对本发明实施例提供的页面内容处理方法进行详细介绍。The page content processing method provided by the embodiment of the present invention will be described in detail below with reference to FIG. 1 and FIG.

图1是本发明实施例中的一种页面内容处理方法的流程示意图,如图1所示,本实施例中的所述页面内容处理方法可以包括以步骤S101-步骤S103。FIG. 1 is a schematic flowchart of a page content processing method according to an embodiment of the present invention. As shown in FIG. 1 , the page content processing method in this embodiment may include steps S101 to S103.

S101,获取针对当前显示页面所输入的选定范围,并获取所述选定范围内的页面内容。S101. Acquire a selected range that is input for the currently displayed page, and obtain content of the page within the selected range.

具体的,所述页面内容处理装置获取的针对当前显示页面所输入的选定范围及所述选定范围内的页面内容的操作,是用户通过页面内容处理装置的触控屏输入的,所述操作包括但不限于:光标定位当前显示页面中的起始位置和结束位置、长按当前显示页面中的起始位置和结束位置、手指沿当前显示页面中的起始位置滑到结束位置等各种类型触摸触控屏的操作。通常,具有触控屏的页面内容处理装置,其触控屏包括至少三层结构:屏幕玻璃层、触控面板层和显示面板层。其中屏幕玻璃层为保护层,触控面板层用于感知用户的触控操作,显示面板层用于显示图像。为了使得页面内容处理装置的机身(如智能手机)更薄、更美观,如今已有技术使触控面板层和显示面板层融合。Specifically, the operation of the selected content selected by the page content processing device for the current display page and the page content in the selected range is input by the user through the touch screen of the page content processing device, The operations include but are not limited to: the cursor positions the start position and the end position in the currently displayed page, long presses the start position and end position in the currently displayed page, and the finger slides to the end position in the current display page. The operation of various types of touch screens. Usually, with a touch screenThe page content processing device has a touch screen comprising at least three layers of structure: a screen glass layer, a touch panel layer and a display panel layer. The screen glass layer is a protective layer, the touch panel layer is used to sense a user's touch operation, and the display panel layer is used to display an image. In order to make the body of the page content processing device (such as a smart phone) thinner and more beautiful, the prior art has merged the touch panel layer and the display panel layer.

可选的,当用户通过页面内容处理装置的触控屏对所述当前显示页面进行操作时,所述当前显示页面被选中范围内的页面内容将以不同于当前显示页面内容的形式显示出来。所述不同于当前显示页面内容的形式包括但不限于以下形式:不同的内容背景颜色、不同颜色的文本、不同的字号、不同的字体等。Optionally, when the user operates the current display page through the touch screen of the page content processing device, the page content in the selected display page is displayed in a form different from the current displayed page content. The form different from the current display page content includes, but is not limited to, the following forms: different content background colors, different color texts, different font sizes, different fonts, and the like.

S102,获取基于所述选定范围内的页面内容所输入的语音筛选指令,并根据所述语音筛选指令对所述选定范围内的页面内容进行筛选处理以生成筛选结果。S102. Acquire a voice screening instruction input based on page content in the selected range, and perform screening processing on the page content in the selected range according to the voice screening instruction to generate a screening result.

具体的,所述语音筛选指令包括第一语音指令和第二语音指令,且所述第一语音指令对应第一文本信息、所述第二语音指令对应第二文本信息。可以理解的是,所述页面内容处理装置中可以预先设置一个语音识别数据库。所述语音识别数据库中包括多个语音指令、多个文本信息以及两者的对应关系,所述页面内容处理装置通过将语音筛选指令与所述语音识别数据库中的语音指令、文本信息及二者的对应关系进行匹配而识别出语音筛选指令。Specifically, the voice screening instruction includes a first voice instruction and a second voice instruction, and the first voice instruction corresponds to the first text information, and the second voice instruction corresponds to the second text information. It can be understood that a voice recognition database can be preset in the page content processing apparatus. The speech recognition database includes a plurality of voice instructions, a plurality of text information, and a correspondence between the two, the page content processing apparatus by using a voice screening instruction and a voice instruction, text information, and both in the voice recognition database The corresponding relationship is matched to identify the voice screening instruction.

所述页面内容处理装置根据所述语音筛选指令对所述选定范围内的页面内容进行筛选处理以生成筛选结果包括:根据所述第一文本信息确定所述筛选结果在所述选定范围内的页面内容中的起始位置;根据所述第二文本信息确定所述筛选结果在所述选定范围内的页面内容中的结束位置;确定从所述起始位置到所述结束位置间的页面内容为所述筛选结果。The screening, by the page content processing apparatus, the screening of the page content in the selected range according to the voice screening instruction to generate the screening result includes: determining, according to the first text information, that the screening result is within the selected range a starting position in the page content; determining, according to the second text information, an ending position of the screening result in the page content within the selected range; determining between the starting position and the ending position The page content is the screening result.

可选的,所述第一文本信息和所述第二文本信息可以相同也可以不同,可以是字、词、短语、短句等任何可以确定起止位置的文本信息。Optionally, the first text information and the second text information may be the same or different, and may be any text information that can determine a start and stop position, such as a word, a word, a phrase, a short sentence, and the like.

S103,输出所述筛选结果。S103. Output the screening result.

具体的,通过步骤S101和步骤S102后得到所述筛选结果,输出所述筛选结果可以包括但不限于对所述筛选结果进行显示、储存至粘贴板中供后续使用等。Specifically, the screening result is obtained after the step S101 and the step S102, and the outputting the screening result may include, but is not limited to, displaying the screening result, storing it in an adhesive board for subsequent use, and the like.

在本发明实施例中,通过输入选定范围对当前显示页面的页面内容进行选定,并结合语音筛选指令对选定范围内的页面内容再次进行筛选以得到筛选结果,最终对筛选结果进行输出。通过对选定范围内的页面内容进行二次筛选,提升了对页面内容的操作精准度,同时,由于结合语音的方式自动完成最终筛选结果的确定,无需手动进行为调整,降低了对页面内容的操作复杂度。In the embodiment of the present invention, the page content of the currently displayed page is selected by inputting the selected range, and the page content in the selected range is filtered again by using a voice screening instruction to obtain a screening knot.If so, the results of the screening are finally output. By performing secondary screening on the content of the selected range of the page, the accuracy of the operation of the page content is improved, and at the same time, the final screening result is automatically determined by means of combining the voice, and no manual adjustment is required, thereby reducing the content of the page. Operational complexity.

图2是本发明另一实施例中的页面内容处理方法的流程示意图,如图2所示,本实施例中的所述页面内容处理方法可以包括以步骤S201-步骤S209。FIG. 2 is a schematic flowchart of a page content processing method in another embodiment of the present invention. As shown in FIG. 2, the page content processing method in this embodiment may include steps S201 to S209.

S201,当检测到对预设按钮的触发操作时,生成当前显示页面对应的复制页面,所述当前显示页面的页面内容与所述复制页面的页面内容相同。S201: When a triggering operation on the preset button is detected, generating a copy page corresponding to the currently displayed page, where the page content of the current display page is the same as the page content of the copied page.

具体的,所述预设按钮,可以是所述页面内容处理装置触控屏上的触控区域、所述页面内容处理装置的物理按钮等。所述页面内容处理装置触控屏上的触控区域例如可以是悬浮于页面内容处理装置(如智能手机)触控屏上的Home键。当所述预设按钮为所述页面内容处理装置触控屏上的触控区域时,所述触控区域在不妨碍用户操作的任何界面都处于前置状态。且当所述预设按钮为所述页面内容处理装置触控屏上的触控区域时,所述页面内容处理装置接收的对预设按钮的触发操作是用户通过终端的触控屏输入的,所述操作包括但不限于:双击操作、按压操作等各种类型触摸触控屏的操作。通常,具有触控屏的页面内容处理装置,其触控屏包括至少三层结构:屏幕玻璃层、触控面板层和显示面板层。其中屏幕玻璃层为保护层,触控面板层用于感知用户的触控操作,显示面板层用于显示图像。为了使得页面内容处理装置的机身(如智能手机)更薄、更美观,如今已有技术使触控面板层和显示面板层融合。Specifically, the preset button may be a touch area on the touch screen of the page content processing device, a physical button of the page content processing device, and the like. The touch area on the touch screen of the page content processing device may be, for example, a Home button suspended on a touch screen of a page content processing device (such as a smart phone). When the preset button is a touch area on the touch screen of the page content processing device, the touch area is in a pre-position state at any interface that does not hinder user operation. And when the preset button is a touch area on the touch screen of the page content processing device, the triggering operation of the preset button received by the page content processing device is input by the user through the touch screen of the terminal. The operations include, but are not limited to, operations of various types of touch touch screens, such as a double tap operation, a press operation, and the like. Generally, a page content processing device having a touch screen includes at least three layers of structures: a screen glass layer, a touch panel layer, and a display panel layer. The screen glass layer is a protective layer, the touch panel layer is used to sense a user's touch operation, and the display panel layer is used to display an image. In order to make the body of the page content processing device (such as a smart phone) thinner and more beautiful, the prior art has merged the touch panel layer and the display panel layer.

具体的,所述页面内容处理装置生成当前显示页面对应的复制页面,所述复制页面的页面内容与所述当前显示页面的页面内容一致;可选的,所述复制页面的背景颜色与所述当前显示页面的背景颜色不同;可选的,所述复制页面的大小可以是当前显示页面按预设比例进行放大所得,所述预设比例可以是1:1.1、1:1.2、1:1.3等,具体预设比例的设置可以由当前显示页面中的所有内容的显示边界进行决定。Specifically, the page content processing device generates a copy page corresponding to the currently displayed page, where the page content of the copied page is consistent with the page content of the currently displayed page; optionally, the background color of the copied page is The background color of the currently displayed page is different. Optionally, the size of the copied page may be obtained by amplifying the currently displayed page by a preset ratio, and the preset ratio may be 1:1.1, 1:1.2, 1:1.3, etc. The setting of the specific preset ratio can be determined by the display boundary of all the contents in the currently displayed page.

S202,获取针对所述复制页面所输入的选定范围,并获取所述选定范围内的页面内容。S202. Acquire a selected range input for the copy page, and obtain page content in the selected range.

具体的,所述页面内容处理装置获取的针对所述复制页面所输入的选定范围及所述选定范围内的页面内容的操作是用户通过页面内容处理装的触控屏输入的,所述操作包括但不限于:光标定位当前显示页面中的起始位置和结束位置、长按当前显示页面中的起始位置和结束位置、手指沿当前显示页面中的起始位置滑到结束位置等各种类型触摸触控屏的操作。通过采用复制页面的方式获取选定范围内的页面内容,可以统一对不同终端应用的显示页面进行操作,提升了对显示页面的页面内容进行选定操作的便捷性。Specifically, the operation of the selected range and the page content in the selected range that is acquired by the page content processing device for the copied page is input by the user through a touch screen of the page content processing device, Operations include, but are not limited to, cursor positioning the start and end bits in the currently displayed pageSet and long press the start position and end position in the current display page, and the operation of various types of touch touch screens such as the finger sliding to the end position along the current display page. By adopting the method of copying the page to obtain the content of the page in the selected range, the display page of different terminal applications can be uniformly operated, and the convenience of selecting the page content of the displayed page is improved.

可选的,当用户通过页面内容处理装置的触控屏对所述当前显示页面进行操作时,所述当前显示页面被选中范围内的页面内容将以不同于当前显示页面内容的形式显示出来。所述不同于当前显示页面内容的形式包括但不限于以下形式:不同的内容背景颜色、不同颜色的文本、不同的字号、不同的字体等。Optionally, when the user operates the current display page through the touch screen of the page content processing device, the page content in the selected display page is displayed in a form different from the current displayed page content. The form different from the current display page content includes, but is not limited to, the following forms: different content background colors, different color texts, different font sizes, different fonts, and the like.

例如,如图3所示,其中,对预设按钮C进行触发操作后,在当前显示页面A的基础上生成复制页面B,所述复制页面B的背景颜色为区别于所述当前显示页面背景颜色的深灰色。由图3可知,所述复制页面B的页面内容与所述当前显示页面A的页面内容一致。通过光标对所述复制页面B的页面内容定位后,从文本“R”到文本“&”的页面内容被选中,并以不同与所述复制页面内容背景颜色的浅灰色突出显示。For example, as shown in FIG. 3, after the triggering operation is performed on the preset button C, a copy page B is generated on the basis of the current display page A, and the background color of the copied page B is different from the current display page background. Dark gray color. As can be seen from FIG. 3, the page content of the copied page B is consistent with the page content of the currently displayed page A. After the page content of the copied page B is positioned by the cursor, the page content from the text "R" to the text "&" is selected and highlighted in light gray with different background colors of the copied page content.

S203,关闭复制页面,并输出基于选定范围内的页面内容进行语音筛选指令输入的提示信息。S203. Close the copy page, and output prompt information for inputting a voice screening instruction based on the content of the page in the selected range.

具体的,关闭所述复制页面的操作包括但不限于:对预设按钮进行触发操作关闭复制页面、摇动页面内容处理装置实现关闭复制页面等任何可以关闭复制页面的操作。所述输出基于选定范围内的页面内容进行语音筛选指令输入的提示信息可以理解为:得到第一次筛选的页面内容后,提示用户进行语音筛选指令的输入。所述提示包括但不限于:语音提示、窗口提示、浮层提示等。Specifically, the operations of closing the copy page include, but are not limited to, performing a trigger operation on the preset button to close the copy page, shaking the page content processing device to implement closing the copy page, and the like. The prompt information for inputting the voice screening instruction based on the content of the page in the selected range may be understood as: after obtaining the content of the page filtered for the first time, the user is prompted to input the voice screening instruction. The prompts include, but are not limited to, voice prompts, window prompts, floating layer prompts, and the like.

S204,判断预定时间内是否有基于所述选定范围内的页面内容所输入的语音筛选指令。S204. Determine whether there is a voice screening instruction input based on the content of the page in the selected range within a predetermined time.

具体的,所述页面内容处理装置判断预定时间内是否有基于所述选定范围内的页面内容所输入的语音筛选指令,即判断预定时间内是否接收到基于所述选定范围内的页面内容所输入的语音筛选指令,若是,则转入执行步骤S205;若否,则转入执行步骤S206。Specifically, the page content processing apparatus determines whether there is a voice screening instruction input based on the page content in the selected range within a predetermined time, that is, whether the page content in the selected range is received within a predetermined time period. The input voice screening command, if yes, proceeds to step S205; if not, proceeds to step S206.

进一步的,所述页面内容处理装置通过触控屏获取用户对所述当前显示页面进行的操作,得到第一次筛选的页面内容后,可以提示用户进行语音筛选指令的输入,所述提示包括但不限于:语音提示、窗口提示、浮层提示。以语音提示为例,所述页面内容处理装置得到第一次筛选的页面内容后,通过提醒音(例如,“嘟”、“嘀”音)提醒用户开始语音筛选指令的输入。第一次提醒音后的预定时间内接收用户输入的所述第一语音指令;第二次提醒音后的预定时间内接收用户输入的所述第二语音指令,所述预定时间可以为自定义的时间间隔,例如:3s、4s、5s等,可以理解的是,所述语音筛选指令包括第一语音指令和第二语音指令。Further, the page content processing device obtains an operation performed by the user on the current display page by using the touch screen, and after obtaining the content of the first filtered page, the user may be prompted to input a voice screening instruction, where the prompt includes Not limited to: voice prompts, window prompts, floating layer prompts. VoiceFor example, after the page content processing device obtains the content of the page that is filtered for the first time, the user is prompted to start the input of the voice screening instruction by using a reminder sound (for example, “beep” or “beep” sound). Receiving the first voice command input by the user within a predetermined time after the first reminder tone; receiving the second voice command input by the user within a predetermined time after the second alert tone, the predetermined time may be customized The time interval, for example, 3s, 4s, 5s, etc., it can be understood that the voice screening instruction includes a first voice instruction and a second voice instruction.

可以理解的是,在所述预定时间内,所述页面内容处理装置不管是否接收到用户输入的语音筛选指令,用户都可以在所述页面内容处理装置上的任意界面进行其他操作,所述其他操作包括但不限于:返回主菜单、打开其他应用软件、观看视频、听音乐等。It can be understood that, during the predetermined time, the page content processing apparatus can perform other operations on any interface on the page content processing apparatus regardless of whether the voice screening instruction input by the user is received, the other operation. Operations include, but are not limited to, returning to the main menu, opening other applications, watching videos, listening to music, and the like.

S205,获取基于所述选定范围内的页面内容所输入的语音筛选指令。S205. Acquire a voice screening instruction input based on page content in the selected range.

具体的,当所述页面内容处理装置在预定时间内检测到存在针对所述基于选定范围内的页面内容所输入的语音筛选指令时,所述页面内容处理装置获取基于所述选定范围内的页面内容所输入的所述第一语音指令和所述第二语音指令。Specifically, when the page content processing apparatus detects that there is a voice screening instruction input for the page content based on the selected range within a predetermined time, the page content processing apparatus acquires the selected content within the selected range. The first voice instruction and the second voice instruction input by the page content.

S206,输出所述选定范围内的页面内容。S206. Output page content in the selected range.

具体的,当所述页面内容处理装置在预定时间内未检测到存在针对所述基于选定范围内的页面内容所输入的语音筛选指令时,所述页面内容处理装置可以直接对所述选定范围内的页面内容进行输出,例如:对所述选定范围内的页面内容进行显示、储存至粘贴板中供后续使用等。Specifically, when the page content processing apparatus does not detect that there is a voice screening instruction input for the page content based on the selected range within a predetermined time, the page content processing apparatus may directly select the voice. The content of the page in the range is output, for example, displaying the content of the page in the selected range, storing it in the pasteboard for subsequent use, and the like.

可选的,针对下述步骤S207,当所述页面内容处理装置未检测到所述第一文本信息和所述第二文本信息中的至少一个包含在所述选定范围内的页面内容中时,所述页面内容处理装置同样可以直接对所述选定范围内的页面内容进行输出。Optionally, for the following step S207, when the page content processing apparatus does not detect that at least one of the first text information and the second text information is included in the page content in the selected range The page content processing device can also directly output the page content in the selected range.

例如,如图4a所示,在当前显示页面A中,从所述选定范围内的页面内容的起始位置“R”,到所述选定范围内的页面内容的结束位置“&”之间的内容,为所述页面内容处理装置在没有接收到语音筛选指令筛选或所述第一文本信息和所述第二文本信息中都不包含在选定范围内的页面内容中时,可以直接输出的所述选定范围内的页面内容。For example, as shown in FIG. 4a, in the current display page A, from the start position "R" of the page content in the selected range to the end position "&" of the page content in the selected range The content of the page content processing device may be directly used when the page content processing device does not receive the voice screening instruction filter or the first text information and the second text information are not included in the page content in the selected range. Outputs the page content within the selected range.

S207,判断所述第一文本信息和所述第二文本信息中的至少一个是否包含在所述选定范围内的页面内容中。S207. Determine whether at least one of the first text information and the second text information includesIn the content of the page within the selected range.

具体的,所述第一语音指令对应第一文本信息、所述第二语音指令对应第二文本信息,可以理解的是,所述页面内容处理装置中可以预先设置一个语音识别数据库。所述语音识别数据库中包括多个语音指令、多个文本信息以及两者的对应关系,所述页面内容处理装置通过将语音筛选指令与所述语音识别数据库中的语音指令、文本信息及二者的对应关系进行匹配而识别出语音筛选指令。所述页面内容处理装置判断所述第一文本信息和所述第二文本信息中的至少一个是否包含在所述选定范围内的页面内容中,即判断所述选定范围内的页面内容中是否包含所述第一文本信息、所述第二文本信息或二者都包含,若是,则转入执行步骤S208;若否,则转入执行步骤S206。Specifically, the first voice instruction corresponds to the first text information, and the second voice instruction corresponds to the second text information. It can be understood that a voice recognition database may be preset in the page content processing apparatus. The speech recognition database includes a plurality of voice instructions, a plurality of text information, and a correspondence between the two, the page content processing apparatus by using a voice screening instruction and a voice instruction, text information, and both in the voice recognition database The corresponding relationship is matched to identify the voice screening instruction. The page content processing apparatus determines whether at least one of the first text information and the second text information is included in a page content within the selected range, that is, in a page content within the selected range Whether the first text information, the second text information, or both are included, if yes, the process proceeds to step S208; if not, the process proceeds to step S206.

S208,根据所述语音筛选指令对所述范围内的页面内容进行筛选处理以生成所述筛选结果。S208. Perform screening processing on the page content in the range according to the voice screening instruction to generate the screening result.

具体的,当所述第一文本信息包含在所述选定范围内的页面内容中时,确定所述第一文本信息在所述选定范围内的页面内容中第一次出现的位置为所述筛选结果的起始位置;当所述第二文本信息包含在所述选定范围内的页面内容中时,确定所述第二文本信息在所述选定范围内的页面内容中最后一次出现的位置为所述筛选结果的结束位置;基于此,确定所述选定范围内的页面内容中从所述起始位置到所述结束位置的内容为所述筛选结果。当所述页面内容处理装置检测到所述第一文本信息和所述第二文本信息中的至少一个包含在所述选定范围内的页面内容中时,则所述页面内容处理装置可以根据所述语音筛选指令对所述范围内的页面内容进行筛选处理以生成筛选结果。Specifically, when the first text information is included in the page content in the selected range, determining that the first text information is the first occurrence of the page content in the selected range is Determining a starting position of the screening result; determining that the second text information last appears in the page content within the selected range when the second text information is included in the page content within the selected range The position is the end position of the screening result; based on this, the content from the starting position to the ending position in the page content in the selected range is determined as the screening result. When the page content processing apparatus detects that at least one of the first text information and the second text information is included in the page content within the selected range, the page content processing apparatus may The speech screening instruction performs a filtering process on the page content within the range to generate a screening result.

在本发明实施例的第一种实施方式中,若所述第一文本信息和所述第二文本信息均包含在所述选定范围内的页面内容中,则所述页面内容处理装置确定的筛选结果为所述选定范围内的页面内容中从所述起始位置到所述结束位置的内容。In a first implementation manner of the embodiment of the present invention, if the first text information and the second text information are both included in the page content in the selected range, the page content processing apparatus determines The screening result is content from the starting position to the ending position in the page content within the selected range.

例如,如图4b所示,在当前显示页面A中,从第一文本信息“G”在选定范围内的页面内容中第一次出现的位置,到第二文本信息“T”在所述选定范围内的页面内容中最后一次出现的位置之间的内容,即是经过语音筛选指令筛选后更精确的筛选结果。For example, as shown in FIG. 4b, in the current display page A, from the first text information "G" in the first occurrence of the page content in the selected range, to the second text information "T" in the The content between the last occurrence of the page content in the selected range is the more accurate screening result after filtering by the voice screening instruction.

在本发明实施例的第二种实施方式中,若所述第一文本信息不包含在所述选定范围内的页面内容中,但所述第二文本信息包含在所述选定范围内的页面内容中,则所述页面内容处理装置确定所述选定范围内的页面内容的起始位置为所述筛选结果的起始位置,所述第二文本信息在所述选定范围内的页面内容中最后一次出现的位置为所述筛选结果的结束位置。由此,所述页面内容处理装置确定的筛选结果即为所述起始位置到所述结束位置之间的页面内容。In a second implementation manner of the embodiment of the present invention, if the first text information is not included in theIn the page content within the selected range, but the second text information is included in the page content within the selected range, the page content processing apparatus determines a starting position of the page content within the selected range For the start position of the screening result, the last occurrence of the second text information in the page content within the selected range is the end position of the screening result. Thus, the screening result determined by the page content processing apparatus is the page content between the starting position and the ending position.

例如,如图4c所示,在当前显示页面A中,从所述选定范围内的页面内容的起始位置“R”,到所述第二文本信息“T”在所述选定范围内的页面内容中最后一次出现的位置之间的内容,即是经过语音筛选指令筛选后更精确的筛选结果。For example, as shown in FIG. 4c, in the current display page A, from the start position "R" of the page content in the selected range to the second text information "T" within the selected range The content between the last occurrence of the page content is the more accurate screening result after filtering by the voice screening instruction.

在本发明实施例的第三种实施方式中,若所述第一文本信息包含在所述选定范围内的页面内容中,但所述第二文本信息不包含在所述选定范围内的页面内容中,则所述页面内容处理装置确定所述第一文本信息在所述选定范围内的页面内容中第一次出现的位置为所述筛选结果的起始位置,所述选定范围内的页面内容的结束位置为所述筛选结果的结束位置。由此,所述页面内容处理装置确定的筛选结果即为所述起始位置到所述结束位置之间的页面内容。In a third implementation manner of the embodiment of the present invention, if the first text information is included in the page content in the selected range, the second text information is not included in the selected range. In the page content, the page content processing apparatus determines that the first occurrence of the first text information in the page content within the selected range is a starting position of the screening result, the selected range The end position of the page content within is the end position of the screening result. Thus, the screening result determined by the page content processing apparatus is the page content between the starting position and the ending position.

例如,如图4d所示,在当前显示页面A中,从所述第一文本信息“G”在所述选定范围内的页面内容中第一次出现的位置,到所述选定范围内的页面内容的结束位置“&”之间的内容,即是经过语音筛选指令筛选后更精确的筛选结果。For example, as shown in FIG. 4d, in the current display page A, from the first occurrence of the first text information "G" in the page content within the selected range, to the selected range The content between the end of the page content "&" is the more accurate screening result after filtering by the voice screening instruction.

通过在语音筛选过程中定义不同场景的实施方式,例如:仅有一个文本信息的情况以及两个文本都存在的情况等,进一步实现了对筛选结果的获取过程,增加了筛选结果的多样化选择。By defining the implementation of different scenarios in the voice screening process, for example, the case of only one text message and the case where both texts exist, the acquisition process of the screening result is further realized, and the diversified selection of the screening result is increased. .

可选的,所述第一文本信息和所述第二文本信息可以相同也可以不同,可以是字、词、短语、短句等任何可以确定起止位置的文本信息。Optionally, the first text information and the second text information may be the same or different, and may be any text information that can determine a start and stop position, such as a word, a word, a phrase, a short sentence, and the like.

S209,输出所述筛选结果。S209, outputting the screening result.

具体的,所述页面内容处理装置可以输出所述筛选结果,所述筛选结果包括:从所述第一文本信息在所述选定范围内的页面内容中第一次出现的位置,到所述选定范围内的页面内容结束位置之间的内容;从所述选定范围内的页面内容起始位置到所述第二文本信息在所述选定范围内的页面内容中最后一次出现的位置之间的内容;从所述第一文本信息在所述选定范围内的页面内容中第一次出现的位置,到所述第二文本信息在所述选定范围内的页面内容中最后一次出现的位置之间的内容。输出所述筛选结果可以包括但不限于对所述筛选结果进行显示、储存至粘贴板中供后续使用等。Specifically, the page content processing apparatus may output the screening result, where the screening result includes: a position from the first occurrence of the first text information in the page content in the selected range, to the Content between the end of the page content within the selected range; from the start of the page content within the selected range to the last occurrence of the second text information in the page content within the selected range Content between; from the first text information in the page content of the selected rangeThe position of one occurrence, to the content between the last occurrence of the second text information in the page content within the selected range. Outputting the screening result may include, but is not limited to, displaying the screening result, storing it in an adhesive sheet for subsequent use, and the like.

在本发明实施例中,基于所述当前显示页面生成复制页面,并通过输入选定范围对复制页面的页面内容进行选定,再结合语音筛选指令对选定范围内的页面内容再次进行筛选以得到筛选结果,最终对筛选结果进行输出。通过对复制页面中的页面内容进行二次筛选,提升了对页面内容的操作精准度,同时,由于结合语音的方式自动完成最终筛选结果的确定,无需手动进行为调整,降低了对页面内容的操作复杂度;通过采用复制页面的方式获取选定范围内的页面内容,可以统一对不同终端应用的显示页面进行操作,提升了对显示页面的页面内容进行选定操作的便捷性;通过在语音筛选过程中定义不同场景的实施方式,例如:仅有一个文本信息的情况以及两个文本都存在的情况等,进一步实现了对筛选结果的获取过程,增加了筛选结果的多样化选择。In the embodiment of the present invention, a copy page is generated based on the current display page, and the page content of the copied page is selected by inputting the selected range, and then the page content in the selected range is filtered again by using a voice screening instruction. The screening result is obtained, and finally the screening result is output. By performing secondary screening on the content of the page in the copied page, the operation precision of the page content is improved, and at the same time, the final screening result is automatically determined by means of combining the voice, and no manual adjustment is needed, thereby reducing the content of the page. Operation complexity; by using the copy page to obtain the page content in the selected range, the display page of different terminal applications can be uniformly operated, and the convenience of selecting the page content of the display page is improved; The implementation method of defining different scenarios in the screening process, for example, the case of only one text information and the case where both texts exist, further realizes the process of obtaining the screening result, and increases the diversified selection of the screening result.

下面将结合附图5-附图8,对本发明实施例提供的页面内容处理装置进行详细介绍。需要说明的是,附图5-附图8所示的页面内容处理装置,用于执行本发明图1和图2所示实施例的方法,为了便于说明,仅示出了与本发明实施例相关的部分,具体技术细节未揭示的,请参照本发明图1和图2所示的实施例。The page content processing apparatus provided by the embodiment of the present invention will be described in detail below with reference to FIG. 5 to FIG. It should be noted that the page content processing apparatus shown in FIG. 5 to FIG. 8 is used to execute the method of the embodiment shown in FIG. 1 and FIG. 2 of the present invention. For the convenience of description, only the embodiment of the present invention is shown. For related parts, the specific technical details are not disclosed, please refer to the embodiment shown in FIG. 1 and FIG. 2 of the present invention.

请参见图5,为本发明实施例提供了一种页面内容处理装置的结构示意图。如图5所示,本发明实施例的所述页面内容处理装置1可以包括内容获取单元11、结果生成单元12和结果输出单元13。FIG. 5 is a schematic structural diagram of a page content processing apparatus according to an embodiment of the present invention. As shown in FIG. 5, the pagecontent processing apparatus 1 of the embodiment of the present invention may include acontent acquisition unit 11, aresult generation unit 12, and aresult output unit 13.

内容获取单元11,设置为获取针对当前显示页面所输入的选定范围,并获取所述选定范围内的页面内容。Thecontent obtaining unit 11 is configured to acquire a selected range input for the currently displayed page, and acquire page content within the selected range.

具体实现中,所述内容获取单元11获取的针对当前显示页面所输入的选定范围及所述选定范围内的页面内容的操作,是用户通过页面内容处理装置1的触控屏输入的,所述操作包括但不限于:光标定位目标页面内容的起始和结束位置、长按目标页面内容的起始位置和结束位置、手指沿目标页面内容的起始位置滑到结束位置等各种类型触摸触控屏的操作。通常,具有触控屏的页面内容处理装置,其触控屏包括至少三层结构:屏幕玻璃层、触控面板层和显示面板层。其中屏幕玻璃层为保护层,触控面板层用于感知用户的触控操作,显示面板层用于显示图像。为了使得页面内容处理装置的机身(如智能手机)更薄、更美观,如今已有技术使触控面板层和显示面板层融合。In a specific implementation, the operation of the selected range and the page content in the selected range that is acquired by thecontent acquiring unit 11 is input by the user through the touch screen of the pagecontent processing apparatus 1 . The operations include, but are not limited to, the start and end positions of the cursor positioning target page content, the start and end positions of the long-press target page content, and the sliding of the finger along the start position of the target page content to the end position. Touch the touch screen operation. Generally, a page content processing device having a touch screen includes at least three layers of structures: a screen glass layer, a touch panel layer, and a display panel layer. The screen glass layer is a protective layer, and the touch panel layer is used for sensing a user's touch operation and displayingThe panel layer is used to display images. In order to make the body of the page content processing device (such as a smart phone) thinner and more beautiful, the prior art has merged the touch panel layer and the display panel layer.

可选的,当用户通过页面内容处理装置1的触控屏对所述当前显示页面进行操作时,所述当前显示页面被选中范围内的页面内容将以不同于当前显示页面内容的形式显示出来。所述不同于当前显示页面内容的形式包括但不限于以下形式:不同的内容背景颜色、不同颜色的文本、不同的字号、不同的字体等。Optionally, when the user operates the current display page by using the touch screen of the pagecontent processing apparatus 1, the page content in the selected range of the current display page is displayed in a form different from the content of the currently displayed page. . The form different from the current display page content includes, but is not limited to, the following forms: different content background colors, different color texts, different font sizes, different fonts, and the like.

结果生成单元12,设置为获取基于选定范围内的页面内容所输入语音筛选指令,并根据所述语音筛选指令对所述选定范围内的页面内容进行筛选处理以生成筛选结果。Theresult generating unit 12 is configured to acquire a voice screening instruction input based on the page content in the selected range, and perform screening processing on the page content in the selected range according to the voice screening instruction to generate a screening result.

具体实现中,所述语音筛选指令包括第一语音指令和第二语音指令,且所述第一语音指令对应第一文本信息、所述第二语音指令对应第二文本信息。可以理解的是,所述页面内容处理装置1中可以预先设置一个语音识别数据库。所述语音识别数据库中包括多个语音指令、多个文本信息以及两者的对应关系,所述页面内容处理装置1通过将语音筛选指令与所述语音识别数据库中的语音指令、文本信息及二者的对应关系进行匹配而识别出语音筛选指令。In a specific implementation, the voice screening instruction includes a first voice instruction and a second voice instruction, and the first voice instruction corresponds to the first text information, and the second voice instruction corresponds to the second text information. It can be understood that a voice recognition database can be preset in the pagecontent processing apparatus 1. The voice recognition database includes a plurality of voice instructions, a plurality of text information, and a correspondence relationship between the two, and the pagecontent processing apparatus 1 passes the voice screening instruction and the voice instruction, the text information, and the second in the voice recognition database. The correspondence of the persons is matched to identify the voice screening instruction.

所述结果生成单元12根据所述语音筛选指令对所述选定范围内的页面内容进行筛选处理以生成筛选结果包括:根据所述第一文本信息确定所述筛选结果在所述选定范围内的页面内容中的起始位置;根据所述第二文本信息确定所述筛选结果在所述选定范围内的页面内容中的结束位置;确定从所述起始位置到所述结束位置间的页面内容为所述筛选结果。Theresult generating unit 12 performs a filtering process on the page content in the selected range according to the voice screening instruction to generate a screening result, including: determining, according to the first text information, that the screening result is within the selected range a starting position in the page content; determining, according to the second text information, an ending position of the screening result in the page content within the selected range; determining between the starting position and the ending position The page content is the screening result.

可选的,所述第一文本信息和所述第二文本信息可以相同也可以不同,可以是字、词、短语、短句等任何可以确定起止位置的文本信息。Optionally, the first text information and the second text information may be the same or different, and may be any text information that can determine a start and stop position, such as a word, a word, a phrase, a short sentence, and the like.

结果输出单元13,设置为输出所述筛选结果。Theresult output unit 13 is arranged to output the screening result.

具体实现中,通过内容获取单元11和结果生成单元12处理后得到所述筛选结果,输出所述筛选结果可以包括但不限于对所述筛选结果进行显示、储存至粘贴板中供后续使用等。In a specific implementation, the screening result is obtained by thecontent obtaining unit 11 and theresult generating unit 12, and the outputting the screening result may include, but is not limited to, displaying the screening result, storing it in an pasteboard for subsequent use, and the like.

在本发明实施例中,通过输入选定范围对当前显示页面的页面内容进行选定,并结合语音筛选指令对选定范围内的页面内容再次进行筛选以得到筛选结果,最终对筛选结果进行输出。通过对所述选定范围内的页面内容进行二次筛选,提升了对页面内容的操作精准度,同时,由于结合语音的方式自动完成最终筛选结果的确定,无需手动进行为调整,降低了对页面内容的操作复杂度。In the embodiment of the present invention, the page content of the currently displayed page is selected by inputting the selected range, and the page content in the selected range is filtered again by using the voice screening instruction to obtain a screening result, and finally the screening result is output. . By performing secondary screening on the content of the selected range, the accuracy of the operation of the page content is improved, and at the same time, the most complete method is automatically combined with the voice.The final screening result is determined without manual adjustment, which reduces the operational complexity of the page content.

请参见图6,为本发明实施例提供了另一种页面内容处理装置的结构示意图。如图6所示,本发明实施例的所述页面内容处理装置1可以包括内容获取单元11、结果生成单元12、结果输出单元13、页面关闭单元14、指令判断单元15、第一内容输出单元16、第一通知单元17、信息判断单元18、第二内容输出单元19和第二通知单元20;其中,结果生成单元12的具体结构可以参见图5所示实施例的描述,在此不进行赘述。FIG. 6 is a schematic structural diagram of another page content processing apparatus according to an embodiment of the present invention. As shown in FIG. 6, the pagecontent processing apparatus 1 of the embodiment of the present invention may include acontent acquisition unit 11, aresult generation unit 12, aresult output unit 13, apage closure unit 14, aninstruction determination unit 15, and a first content output unit. 16. Thefirst notification unit 17, theinformation determining unit 18, the secondcontent output unit 19, and thesecond notification unit 20; wherein the specific structure of theresult generating unit 12 can be referred to the description of the embodiment shown in FIG. Narration.

内容获取单元11,设置为获取针对当前显示页面所输入的选定范围,并获取所述选定范围内的页面内容。Thecontent obtaining unit 11 is configured to acquire a selected range input for the currently displayed page, and acquire page content within the selected range.

具体实现中,所述内容获取单元11获取的针对当前显示页面所输入的选定范围及所述选定范围内的页面内容的操作,是用户通过页面内容处理装置1的触控屏输入的,所述操作包括但不限于:光标定位目标页面内容的起始和结束位置、长按目标页面内容的起始位置和结束位置、手指沿目标页面内容的起始位置滑到结束位置等各种类型触摸触控屏的操作。通常,具有触控屏的页面内容处理装置,其触控屏包括至少三层结构:屏幕玻璃层、触控面板层和显示面板层。其中屏幕玻璃层为保护层,触控面板层用于感知用户的触控操作,显示面板层用于显示图像。为了使得页面内容处理装置机身(如智能手机)更薄、更美观,如今已有技术使触控面板层和显示面板层融合。In a specific implementation, the operation of the selected range and the page content in the selected range that is acquired by thecontent acquiring unit 11 is input by the user through the touch screen of the pagecontent processing apparatus 1 . The operations include, but are not limited to, the start and end positions of the cursor positioning target page content, the start and end positions of the long-press target page content, and the sliding of the finger along the start position of the target page content to the end position. Touch the touch screen operation. Generally, a page content processing device having a touch screen includes at least three layers of structures: a screen glass layer, a touch panel layer, and a display panel layer. The screen glass layer is a protective layer, the touch panel layer is used to sense a user's touch operation, and the display panel layer is used to display an image. In order to make the page content processing device body (such as a smart phone) thinner and more beautiful, the prior art has merged the touch panel layer and the display panel layer.

可选的,当用户通过页面内容处理装置1的触控屏对所述当前显示页面进行操作时,所述当前显示页面被选中范围内的页面内容将以不同于当前页面内容的形式显示出来。所述不同于当前页面内容的形式包括但不限于以下形式:不同的颜色、不同的字号、不同的字体等。Optionally, when the user operates the current display page through the touch screen of the pagecontent processing apparatus 1, the page content in the selected range of the current display page is displayed in a form different from the current page content. The form different from the current page content includes, but is not limited to, the following forms: different colors, different font sizes, different fonts, and the like.

请一并参见图7,为本发明实施例提供了内容获取单元11的结构示意图。如图7所示,所述内容获取单元11可以包括:FIG. 7 is a schematic structural diagram of acontent acquiring unit 11 according to an embodiment of the present invention. As shown in FIG. 7, thecontent obtaining unit 11 may include:

页面生成子单元111,设置为当检测到对预设按钮的触发操作时,生成当前显示页面对应的复制页面。Thepage generation sub-unit 111 is configured to generate a copy page corresponding to the currently displayed page when a trigger operation on the preset button is detected.

具体实现中,所述预设按钮,可以是所述页面内容处理装置1触控屏上的触控区域、所述页面内容处理装置1的物理按钮等。所述页面内容处理装置1触控屏上的触控区域例如可以是悬浮于页面内容处理装置1(如智能手机)触控屏上的Home键。当所述预设按钮为所述页面内容处理装置1触控屏上的触控区域时,所述触控区域在不妨碍用户操作的任何界面都处于前置状态。且当所述预设按钮为所述页面内容处理装置1触控屏上的触控区域时,所述页面内容处理装置1接收的对预设按钮的触发操作是用户通过终端的触控屏输入的,所述操作包括但不限于:双击操作、按压操作等各种类型触摸触控屏的操作。In a specific implementation, the preset button may be a touch area on the touch screen of the pagecontent processing apparatus 1 , a physical button of the pagecontent processing apparatus 1 , and the like. The touch area on the touch screen of the pagecontent processing device 1 may be, for example, a Home button suspended on a touch screen of the page content processing device 1 (eg, a smart phone). When the preset button is a touch on the touch screen of the pagecontent processing device 1In the area, the touch area is in a pre-position on any interface that does not interfere with user operations. And when the preset button is the touch area on the touch screen of the pagecontent processing apparatus 1, the triggering operation on the preset button received by the pagecontent processing apparatus 1 is input by the user through the touch screen of the terminal. The operations include, but are not limited to, operations of various types of touch touch screens, such as a double tap operation, a press operation, and the like.

具体实现中,所述页面生成子单元111生成当前显示页面对应的复制页面,所述复制页面的页面内容与所述当前显示页面的页面内容一致;可选的,所述复制页面的背景颜色与所述当前显示页面的背景颜色不同;可选的,所述复制页面的大小可以是当前显示页面按预设比例进行放大所得,所述预设比例可以是1:1.1、1:1.2、1:1.3等,具体预设比例的设置可以由当前显示页面中的所有内容的显示边界进行决定。In a specific implementation, the page generating sub-unit 111 generates a copy page corresponding to the currently displayed page, where the page content of the copied page is consistent with the page content of the currently displayed page; optionally, the background color of the copied page is The background color of the currently displayed page is different. Optionally, the size of the copied page may be obtained by amplifying the currently displayed page by a preset ratio, and the preset ratio may be 1:1.1, 1:1.2, and 1: 1.3, etc., the setting of the specific preset ratio can be determined by the display boundary of all the contents in the currently displayed page.

内容获取子单元112,设置为获取针对所述复制页面所输入的选定范围,并获取所述选定范围内的页面内容。The content acquisition sub-unit 112 is configured to acquire a selected range input for the copy page and acquire page content within the selected range.

具体实现中,所述内容获取子单元112获取的针对所述复制页面所输入的选定范围及所述选定范围内的页面内容的操作是用户通过页面内容处理装的触控屏输入的,所述操作包括但不限于:光标定位当前显示页面中的起始位置和结束位置、长按当前显示页面中的起始位置和结束位置、手指沿当前显示页面中的起始位置滑到结束位置等各种类型触摸触控屏的操作。通过采用复制页面的方式获取选定范围内的页面内容,可以统一对不同终端应用的显示页面进行操作,提升了对显示页面的页面内容进行选定操作的便捷性。In a specific implementation, the operation of the selected range and the page content in the selected range that is acquired by the content acquisition sub-unit 112 for the copied page is input by the user through the touch screen of the page content processing device. The operations include, but are not limited to, the cursor positioning the start position and the end position in the currently displayed page, long pressing the start position and the end position in the currently displayed page, and the finger sliding to the end position along the start position in the currently displayed page. The operation of various types of touch touch screens. By adopting the method of copying the page to obtain the content of the page in the selected range, the display page of different terminal applications can be uniformly operated, and the convenience of selecting the page content of the displayed page is improved.

可选的,当用户通过页面内容处理装置1的触控屏对所述当前显示页面进行操作时,所述当前显示页面被选中范围内的页面内容将以不同于当前显示页面内容的形式显示出来。所述不同于当前显示页面内容的形式包括但不限于以下形式:不同的内容背景颜色、不同颜色的文本、不同的字号、不同的字体等。Optionally, when the user operates the current display page by using the touch screen of the pagecontent processing apparatus 1, the page content in the selected range of the current display page is displayed in a form different from the content of the currently displayed page. . The form different from the current display page content includes, but is not limited to, the following forms: different content background colors, different color texts, different font sizes, different fonts, and the like.

例如,如图3所示,其中,对预设按钮C进行触发操作后,在当前显示页面A的基础上生成复制页面B,所述复制页面B的背景颜色为区别于所述当前显示页面背景颜色的深灰色。由图3可知,所述复制页面B的页面内容与所述当前显示页面A的页面内容一致。通过光标对所述复制页面B的页面内容定位后,从文本“R”到文本“&”的页面内容被选中,并以不同与所述复制页面内容的浅灰色突出显示。For example, as shown in FIG. 3, after the triggering operation is performed on the preset button C, a copy page B is generated on the basis of the current display page A, and the background color of the copied page B is different from the current display page background. Dark gray color. As can be seen from FIG. 3, the page content of the copied page B is consistent with the page content of the currently displayed page A. After the page content of the copied page B is positioned by the cursor, the page content from the text "R" to the text "&" is selected and highlighted in light gray with different contents of the copied page.

页面关闭单元14,设置为关闭所述复制页面,并输出基于选定范围内的页面内容进行语音筛选指令输入的提示信息。apage closing unit 14, configured to close the copied page and output a page based on the selected rangeThe content of the face is prompted by the voice screening command input.

具体实现中,关闭所述复制页面的操作包括但不限于:对预设按钮进行触发操作关闭复制页面、摇动页面内容处理装置1实现关闭复制页面等任何可以关闭复制页面的操作。所述输出基于选定范围内的页面内容进行语音筛选指令输入的提示信息可以理解为:得到第一次筛选的页面内容后,提示用户进行语音筛选指令的输入。所述提示包括但不限于:语音提示、窗口提示、浮层提示等。In a specific implementation, the operations of closing the copy page include, but are not limited to, performing a trigger operation on the preset button to close the copy page, and shaking the pagecontent processing device 1 to implement the operation of closing the copy page and the like. The prompt information for inputting the voice screening instruction based on the content of the page in the selected range may be understood as: after obtaining the content of the page filtered for the first time, the user is prompted to input the voice screening instruction. The prompts include, but are not limited to, voice prompts, window prompts, floating layer prompts, and the like.

指令判断单元15,设置为判断预定时间内是否有基于所述选定范围内的页面内容所输入的语音筛选指令。Thecommand judging unit 15 is configured to determine whether there is a voice screening instruction input based on the page content within the selected range within a predetermined time.

具体实现中,所述指令判断单元15判断预定时间内是否有输入所述基于选定范围内的页面内容所输入的语音筛选指令,即判断预定时间内是否接收到所述基于选定范围内的页面内容所输入的语音筛选指令。In a specific implementation, theinstruction determining unit 15 determines whether the voice screening instruction input based on the page content in the selected range is input within a predetermined time, that is, whether the predetermined time range is received within the selected range. The voice filter command entered by the page content.

进一步的,所述页面内容处理装置1通过触控屏获取用户对所述当前显示页面进行的操作,得到第一次筛选的页面内容后,可以提示用户进行语音筛选指令的输入,所述提示包括但不限于:语音提示、窗口提示、浮层提示。以语音提示为例,所述页面内容处理装置1得到第一次筛选的页面内容后,通过提醒音(例如,“嘟”、“嘀”音)提醒用户开始语音筛选指令的输入。第一次提醒音后的预定时间内接收用户输入的所述第一语音指令;第二次提醒音后的预定时间内接收用户输入的所述第二语音指令,所述预定时间可以为自定义的时间间隔,例如:3s、4s、5s等,可以理解的是,所述语音筛选指令包括第一语音指令和第二语音指令。Further, the pagecontent processing apparatus 1 obtains an operation performed by the user on the currently displayed page through the touch screen, and after obtaining the content of the first filtered page, the user may be prompted to input a voice screening instruction, where the prompt includes But not limited to: voice prompts, window prompts, floating layer prompts. Taking the voice prompt as an example, after the pagecontent processing apparatus 1 obtains the content of the first screen, the user is prompted to start the input of the voice screening instruction by using a reminder sound (for example, “beep” or “beep” sound). Receiving the first voice command input by the user within a predetermined time after the first reminder tone; receiving the second voice command input by the user within a predetermined time after the second alert tone, the predetermined time may be customized The time interval, for example, 3s, 4s, 5s, etc., it can be understood that the voice screening instruction includes a first voice instruction and a second voice instruction.

可以理解的是,在所述预定时间内,所述页面内容处理装置1不管是否接收到用户输入的语音筛选指令,用户都可以在所述页面内容处理装置1上的任意界面进行其他操作,所述其他操作包括但不限于:返回主菜单、打开其他应用软件、观看视频、听音乐等。It can be understood that, during the predetermined time, the pagecontent processing apparatus 1 can perform other operations on any interface on the pagecontent processing apparatus 1 regardless of whether the voice screening instruction input by the user is received. Other operations include, but are not limited to, returning to the main menu, opening other applications, watching videos, listening to music, and the like.

第一内容输出单元16,设置为当所述指令判断单元15在预定时间内未检测到针对所述基于选定范围内的页面内容所输入的语音筛选指令时,对所述选定范围内的页面内容进行输出。The firstcontent output unit 16 is configured to, when theinstruction determining unit 15 does not detect the voice screening instruction input for the page content based on the selected range within a predetermined time, within the selected range The page content is output.

具体实现中,若所述指令判断单元15在预定时间内没有接收到所述第一语音指令也没有接收到所述第二语音指令,则所述第一内容输出单元16直接对所述选定范围内的页面内容进行输出,例如对所述选定范围内的页面内容进行显示、储存至粘贴板中供后续使用等。In a specific implementation, if theinstruction determining unit 15 does not receive the first voice instruction and does not receive the second voice instruction within a predetermined time, the firstcontent output unit 16 directly directlyThe content of the page in the selected range is output, for example, displaying the content of the page in the selected range, storing it in the pasteboard for subsequent use, and the like.

第一通知单元17,设置为当所述指令判断单元15在预定时间内检测到针对基于所述选定范围内的页面内容所输入的语音筛选指令时,通知所述结果生成单元12执行获取基于所述选定范围内的页面内容所输入的所述语音筛选指令。Thefirst notification unit 17 is configured to notify theresult generation unit 12 to perform acquisition based on when theinstruction determination unit 15 detects a voice screening instruction input based on page content within the selected range within a predetermined time The voice screening instruction input by the page content within the selected range.

结果生成单元12,设置为获取基于所述选定范围内的页面内容所输入的语音筛选指令,并根据所述语音筛选指令对所述选定范围内的页面内容进行筛选处理以生成筛选结果。Theresult generating unit 12 is configured to acquire a voice screening instruction input based on the page content in the selected range, and perform screening processing on the page content in the selected range according to the voice screening instruction to generate a screening result.

具体的,请一并参见图8,为本发明实施例提供了结果生成单元12的结构示意图。如图8所示,所述结果生成单元12可以包括:Specifically, please refer to FIG. 8 , which is a schematic structural diagram of theresult generating unit 12 according to an embodiment of the present invention. As shown in FIG. 8, theresult generating unit 12 may include:

信息识别子单元121,设置为获取所述语音筛选指令包括的第一语音指令和第二语音指令,并识别所述第一语音指令对应的第一文本信息以及所述第二语音指令对应的第二文本信息。Theinformation recognition sub-unit 121 is configured to acquire the first voice instruction and the second voice instruction included in the voice screening instruction, and identify the first text information corresponding to the first voice instruction and the second voice instruction Two text messages.

位置确定子单元122,设置为当所述第一文本信息包含在所述选定范围内的页面内容中时,确定所述第一文本信息在所述选定范围内的页面内容中第一次出现的位置为所述筛选结果的起始位置。The location determining sub-unit 122 is configured to determine that the first text information is the first time in the page content in the selected range when the first text information is included in the page content in the selected range The position that appears is the starting position of the screening result.

具体实现中,所述位置确定子单元122,还设置为当所述第二文本信息包含在所述选定范围内的页面内容中时,确定所述第二文本信息在所述选定范围内的页面内容中最后一次出现的位置为所述筛选结果的结束位置。In a specific implementation, the location determining sub-unit 122 is further configured to: when the second text information is included in the page content in the selected range, determine that the second text information is within the selected range The last occurrence of the page content is the end of the screening result.

结果生成子单元123,设置为确定所述选定范围内的页面内容中从所述起始位置到所述结束位置的内容为所述筛选结果。Theresult generation sub-unit 123 is configured to determine that the content from the start position to the end position in the page content in the selected range is the screening result.

信息判断单元18,设置为判断所述第一文本信息和第二文本信息中的至少一个是否包含在所述选定范围内的页面内容中Theinformation determining unit 18 is configured to determine whether at least one of the first text information and the second text information is included in the page content in the selected range

具体实现中,所述信息判断单元18判断所述第一文本信息和第二文本信息中的至少一个是否包含在所述选定范围内的页面内容中,即判断所述选定范围内的页面内容中是否包含所述第一文本信息、所述第二文本信息或二者都包含。In a specific implementation, theinformation determining unit 18 determines whether at least one of the first text information and the second text information is included in the page content in the selected range, that is, determines the page in the selected range. Whether the content includes the first text information, the second text information, or both.

第二内容输出单元19,设置为当所述信息判断单元18检测到所述第一文本信息和第二文本信息中均不包含在所述选定范围内的页面内容中时,所述页面内容处理装置1可以直接对所述选定范围内的页面内容进行输出,例如:对所述选定范围内的页面内容进行显示、储存至粘贴板中供后续使用等。The secondcontent output unit 19 is configured to, when theinformation determining unit 18 detects that none of the first text information and the second text information is included in the page content within the selected range, the page content Theprocessing device 1 can directly output the page content in the selected range, for example, displaying and storing the page content in the selected range into the pasteboard for subsequent use.

第二通知单元20,设置为当所述信息判断单元18检测到所述第一文本信息和第二文本信息中的至少一个包含在所述选定范围内的页面内容中时,则通知结果生成单元12根据所述第一文本信息和所述第二文本信息对所述选定范围内的页面内容进行筛选处理以生成所述筛选结果。Thesecond notification unit 20 is configured to: when theinformation determining unit 18 detects that at least one of the first text information and the second text information is included in the page content within the selected range, the notification result is generated Theunit 12 performs a filtering process on the page content in the selected range according to the first text information and the second text information to generate the screening result.

具体实施时,所述根据所述语音筛选指令对所述范围内的页面内容进行筛选处理以生成筛选结果的操作可根据上述方法实施例中的方法具体实现,其具体实现过程可以参照上述方法实施例的相关描述,此处不再赘述。In a specific implementation, the performing the filtering process on the page content in the range according to the voice screening instruction to generate the screening result may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may be implemented by referring to the foregoing method. The related description of the example is not described here.

通过在语音筛选过程中定义不同场景的实施方式,例如:仅有一个文本信息的情况以及两个文本都存在的情况等,进一步实现了对筛选结果的获取过程,增加了筛选结果的多样化选择。By defining the implementation of different scenarios in the voice screening process, for example, the case of only one text message and the case where both texts exist, the acquisition process of the screening result is further realized, and the diversified selection of the screening result is increased. .

可选的,所述第一文本信息和所述第二文本信息可以相同也可以不同,可以是字、词、短语、短句等任何可以确定起止位置的文本信息。Optionally, the first text information and the second text information may be the same or different, and may be any text information that can determine a start and stop position, such as a word, a word, a phrase, a short sentence, and the like.

结果输出单元13,设置为输出所述筛选结果。Theresult output unit 13 is arranged to output the screening result.

具体实现中,所述结果输出单元13可以输出所述筛选结果,所述筛选结果包括:从所述第一文本信息在所述选定范围内的页面内容中第一次出现的位置,到所述选定范围内的页面内容结束位置之间的内容;从所述选定范围内的页面内容起始位置到所述第二文本信息在所述选定范围内的页面内容中最后一次出现的位置之间的内容;从所述第一文本信息在所述选定范围内的页面内容中第一次出现的位置,到所述第二文本信息在所述选定范围内的页面内容中最后一次出现的位置之间的内容。输出所述筛选结果可以包括但不限于对所述筛选结果进行显示、储存至粘贴板中供后续使用等。In a specific implementation, theresult output unit 13 may output the screening result, where the screening result includes: a position from the first content of the first text information in the page content in the selected range, to the location Content between end positions of page content within the selected range; from the start of the page content in the selected range to the last occurrence of the second text information in the page content within the selected range Content between the locations; from the first occurrence of the first textual information in the page content within the selected range, to the last of the second textual information in the selected range of page content The content between the positions that appear once. Outputting the screening result may include, but is not limited to, displaying the screening result, storing it in an adhesive sheet for subsequent use, and the like.

参阅图9所示,是本发明实施例中内容处理装置硬件结构示意图。Referring to FIG. 9, it is a schematic diagram of the hardware structure of the content processing apparatus in the embodiment of the present invention.

本发明所述页面内容处理装置1可以包括笔记本电脑、智能手机、平板电脑、电子阅读器等具有对终端应用中当前显示页面的页面内容具有处理功能的终端设备。The pagecontent processing apparatus 1 of the present invention may include a terminal device having a processing function for a page content of a currently displayed page in a terminal application, such as a notebook computer, a smart phone, a tablet computer, an e-reader, and the like.

如图9所示,本发明实施例中的内容处理装置1包括:至少一个处理器2,例如CPU,至少一个接收器3,至少一个存储器4,至少一个发送器5,至少一个通信总线6。其中,所述通信总线6用于实现这些组件之间的连接通信。其中,所述接收器3和所述发送器5可以是有线发送端口,也可以为无线设备,例如包括天线装置,用于与其他设备进行数据通信。所述存储器4可以是高速RAM存储器,也可以是非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。As shown in FIG. 9, thecontent processing apparatus 1 in the embodiment of the present invention comprises: at least oneprocessor 2, such as a CPU, at least onereceiver 3, at least one memory 4, at least onetransmitter 5, and at least onecommunication bus 6. Thecommunication bus 6 is used to implement connection communication between these components. Thereceiver 3 and thetransmitter 5 may be wired transmission ports, or may be wireless devices, for example, including antenna devices for data communication with other devices. The memory 4 can be a high speed RAMThe memory may also be a non-volatile memory such as at least one disk storage.

所述处理器2可执行所述内容处理装置1的操作系统以及安装的各类应用程序、程序代码等,例如,上述的各个单元,包括所述内容获取单元11、结果生成单元12、结果输出单元13、页面关闭单元14、指令判断单元15、第一内容输出单元16、第一通知单元17、信息判断单元18、第二内容输出单元19和第二通知单元20等。Theprocessor 2 may execute an operating system of thecontent processing apparatus 1 and various installed application programs, program codes, and the like, for example, each unit described above, including thecontent acquisition unit 11, theresult generation unit 12, and a result output. Theunit 13, thepage closing unit 14, theinstruction judging unit 15, the firstcontent output unit 16, thefirst notification unit 17, theinformation judging unit 18, the secondcontent output unit 19, thesecond notification unit 20, and the like.

所述存储器4中存储有程序代码,且所述处理器2可通过通信总线6,调用所述存储器4中存储的程序代码以执行相关的功能。例如,图5、图6中所述的各个单元(例如,所述内容获取单元11、结果生成单元12、结果输出单元13、页面关闭单元14、指令判断单元15、第一内容输出单元16、第一通知单元17、信息判断单元18、第二内容输出单元19和第二通知单元20等)是存储在所述存储器4中的程序代码,并由所述处理器2所执行,从而实现所述各个单元的功能以实现对短信的处理。Program code is stored in the memory 4, and theprocessor 2 can call the program code stored in the memory 4 via thecommunication bus 6 to perform related functions. For example, each unit described in FIG. 5 and FIG. 6 (for example, thecontent acquisition unit 11, theresult generation unit 12, theresult output unit 13, thepage closure unit 14, theinstruction determination unit 15, the firstcontent output unit 16, Thefirst notification unit 17, theinformation determination unit 18, the secondcontent output unit 19, and thesecond notification unit 20, etc.) are program codes stored in the memory 4, and are executed by theprocessor 2, thereby implementing the The functions of each unit are described to implement processing of short messages.

在本发明的一个实施例中,所述存储器4存储多个指令,所述多个指令被所述处理器2所执行以实现页面内容处理方法。具体而言,所述处理器2获取针对当前显示页面所输入的选定范围,并获取所述选定范围内的页面内容;获取基于所述选定范围内的页面内容所输入的语音筛选指令,并根据所述语音筛选指令对所述选定范围内的页面内容进行筛选处理以生成筛选结果;输出所述筛选结果。In one embodiment of the invention, the memory 4 stores a plurality of instructions that are executed by theprocessor 2 to implement a page content processing method. Specifically, theprocessor 2 acquires a selected range input for the currently displayed page, and acquires page content within the selected range; and acquires a voice screening instruction input based on the page content in the selected range And performing filtering processing on the page content in the selected range according to the voice screening instruction to generate a screening result; and outputting the screening result.

在进一步的实施例中,所述获取针对当前显示页面所输入的选定范围,并获取所述选定范围内的页面内容,包括:In a further embodiment, the obtaining a selected range for the currently displayed page and obtaining the content of the page within the selected range includes:

当检测到对预设按钮的触发操作时,生成当前显示页面对应的复制页面,所述当前显示页面的页面内容与所述复制页面的页面内容相同;When a triggering operation on the preset button is detected, generating a copy page corresponding to the currently displayed page, where the page content of the currently displayed page is the same as the page content of the copied page;

获取针对所述复制页面所输入的选定范围,并获取所述选定范围内的页面内容。Acquiring the selected range entered for the copied page and obtaining the content of the page within the selected range.

在进一步的实施例中,所述获取针对所述复制页面所输入的选定范围,并获取所述选定范围内的页面内容之后,还包括:In a further embodiment, after the obtaining the selected range for the copied page and obtaining the content of the page in the selected range, the method further includes:

关闭所述复制页面,并输出基于选定范围内的页面内容进行语音筛选指令输入的提示信息。The copy page is closed, and a prompt message for inputting a voice screening instruction based on the content of the page within the selected range is output.

在进一步的实施例中,所述根据所述语音筛选指令对所述选定范围内的页面内容进行筛选处理以生成筛选结果,包括:In a further embodiment, the filtering processing the page content in the selected range according to the voice screening instruction to generate a screening result includes:

获取所述语音筛选指令包括的第一语音指令和第二语音指令,并识别所述第一语音指令对应的第一文本信息以及所述第二语音指令对应的第二文本信息;Acquiring the first voice instruction and the second voice instruction included in the voice screening instruction, and identifying the first text information corresponding to the first voice instruction and the second text information corresponding to the second voice instruction;

当所述第一文本信息包含在所述选定范围内的页面内容中时,确定所述第一文本信息在所述选定范围内的页面内容中第一次出现的位置为所述筛选结果的起始位置;Determining, when the first text information is included in the page content in the selected range, a location where the first occurrence of the first text information in the page content within the selected range is the screening result Starting position

当所述第二文本信息包含在所述选定范围内的页面内容中时,确定所述第二文本信息在所述选定范围内的页面内容中最后一次出现的位置为所述筛选结果的结束位置;Determining, when the second text information is included in the page content in the selected range, a position where the second text information is last appearing in the page content within the selected range is the screening result End position

确定所述选定范围内的页面内容中从所述起始位置到所述结束位置的内容为所述筛选结果。Determining, from the starting position to the ending position, the content of the page content within the selected range is the screening result.

在进一步的实施例中,所述获取所述选定范围内的页面内容之后,还包括:In a further embodiment, after the obtaining the content of the page in the selected range, the method further includes:

判断预定时间内是否有基于所述选定范围内的页面内容所输入的语音筛选指令;Determining whether there is a voice screening instruction input based on the content of the page in the selected range within the predetermined time;

若是,则继续执行获取基于所述选定范围内的页面内容所输入的语音筛选指令;If yes, proceeding to obtain a voice screening instruction input based on the content of the page in the selected range;

若否,则输出所述选定范围内的页面内容。If not, the content of the page within the selected range is output.

在进一步的实施例中,所述获取基于所述选定范围内的页面内容所输入的语音筛选指令之后,还包括:In a further embodiment, after the obtaining the voice screening instruction input based on the page content in the selected range, the method further includes:

判断所述第一文本信息和所述第二文本信息中的至少一个是否包含在所述选定范围内的页面内容中;Determining whether at least one of the first text information and the second text information is included in page content within the selected range;

若是,则继续执行根据所述语音筛选指令对所述选定范围内的页面内容进行筛选处理以生成所述筛选结果;If yes, proceed to perform screening processing on the page content in the selected range according to the voice screening instruction to generate the screening result;

若否,则所述选定范围内的页面内容。If not, the content of the page within the selected range.

具体地,所述处理器2对上述指令的具体实现方法可参考图1至图2对应实施例中相关步骤的描述,在此不赘述。在本发明实施例中,基于所述当前显示页面生成复制页面,并通过输入选定范围对复制页面的页面内容进行选定,再结合语音筛选指令对选定范围内的页面内容再次进行筛选以得到筛选结果,最终对筛选结果进行输出。通过对复制页面中的页面内容进行二次筛选,提升了对页面内容的操作精准度,同时,由于结合语音的方式自动完成最终筛选结果的确定,无需手动进行为调整,降低了对页面内容的操作复杂度;通过采用复制页面的方式获取选定范围内的页面内容,可以统一对不同终端应用的显示页面的操作,提升了对显示页面的页面内容进行选定操作的便捷性;由于两种文本信息在所述选定范围的页面内容中的包含形式具有多样性,从而提高了生成所述筛选结果的多样性。For details, refer to the description of the related steps in the corresponding embodiments in FIG. 1 to FIG. 2, and the details are not described here. In the embodiment of the present invention, a copy page is generated based on the current display page, and the page content of the copied page is selected by inputting the selected range, and then the page content in the selected range is filtered again by using a voice screening instruction. The screening result is obtained, and finally the screening result is output. Improve the secondary content of the page content in the copied pageThe accuracy of the operation of the page content, and the automatic determination of the final screening result by means of voice, without manual adjustment, reduces the complexity of the operation of the page content; obtain the selected range by copying the page The content of the page can unify the operation of the display page of different terminal applications, and improve the convenience of selecting the page content of the displayed page; since the two text information is included in the page content of the selected range The form is versatile, thereby increasing the diversity in generating the screening results.

需要说明的是,对于前述的各方法实施例,为了简单描述将其表述为一系列动作的组合,但本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,某些步骤可以采用其他顺序或同时进行。其次,本领域技术人员应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的操作和单元并不一定是本发明所必须的。且在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。It should be noted that, for the foregoing method embodiments, for the sake of brief description, it is expressed as a combination of a series of actions, but those skilled in the art should understand that the present invention is not limited by the described action sequence, some steps. It can be done in other orders or at the same time. In addition, those skilled in the art should understand that the embodiments described in the specification are all preferred embodiments, and the operations and units involved are not necessarily required by the present invention. In the above embodiments, the descriptions of the various embodiments are different, and the parts that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments.

另外,本发明各个实施例中的各功能单元可以集成在一个处理的单元中,也可以是各个单元单独物理存在,也可以是两个或两个以上单元集成在一个单元中。上述集成单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit. The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and the like. .

以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that The technical solutions described in the embodiments are modified, or some of the technical features are replaced by equivalents; and the modifications or substitutions do not deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims (12)

Translated fromChinese
一种页面内容处理的方法,其特征在于,包括:A method for processing page content, comprising:获取针对当前显示页面所输入的选定范围,并获取所述选定范围内的页面内容;Obtaining a selected range input for the currently displayed page, and obtaining the content of the page within the selected range;获取基于所述选定范围内的页面内容所输入的语音筛选指令,并根据所述语音筛选指令对所述选定范围内的页面内容进行筛选处理以生成筛选结果;Obtaining a voice screening instruction input based on the content of the page in the selected range, and performing filtering processing on the page content in the selected range according to the voice screening instruction to generate a screening result;输出所述筛选结果。The screening result is output.如权利要求1所述的方法,其特征在于,所述获取针对当前显示页面所输入的选定范围,并获取所述选定范围内的页面内容,包括:The method of claim 1, wherein the obtaining a selected range for the currently displayed page and obtaining the content of the page within the selected range comprises:当检测到对预设按钮的触发操作时,生成当前显示页面对应的复制页面,所述当前显示页面的页面内容与所述复制页面的页面内容相同;When a triggering operation on the preset button is detected, generating a copy page corresponding to the currently displayed page, where the page content of the currently displayed page is the same as the page content of the copied page;获取针对所述复制页面所输入的选定范围,并获取所述选定范围内的页面内容。Acquiring the selected range entered for the copied page and obtaining the content of the page within the selected range.如权利要求2所述的方法,其特征在于,所述获取针对所述复制页面所输入的选定范围,并获取所述选定范围内的页面内容之后,还包括:The method according to claim 2, wherein after the obtaining the selected range for the copied page and obtaining the content of the page in the selected range, the method further comprises:关闭所述复制页面,并输出基于选定范围内的页面内容进行语音筛选指令输入的提示信息。The copy page is closed, and a prompt message for inputting a voice screening instruction based on the content of the page within the selected range is output.如权利要求1所述的方法,其特征在于,所述根据所述语音筛选指令对所述选定范围内的页面内容进行筛选处理以生成筛选结果,包括:The method according to claim 1, wherein the filtering processing the page content in the selected range according to the voice screening instruction to generate a screening result comprises:获取所述语音筛选指令包括的第一语音指令和第二语音指令,并识别所述第一语音指令对应的第一文本信息以及所述第二语音指令对应的第二文本信息;Acquiring the first voice instruction and the second voice instruction included in the voice screening instruction, and identifying the first text information corresponding to the first voice instruction and the second text information corresponding to the second voice instruction;当所述第一文本信息包含在所述选定范围内的页面内容中时,确定所述第一文本信息在所述选定范围内的页面内容中第一次出现的位置为所述筛选结果的起始位置;Determining, when the first text information is included in the page content in the selected range, a location where the first occurrence of the first text information in the page content within the selected range is the screening result Starting position当所述第二文本信息包含在所述选定范围内的页面内容中时,确定所述第二文本信息在所述选定范围内的页面内容中最后一次出现的位置为所述筛选结果的结束位置;Determining, when the second text information is included in the page content in the selected range, a position where the second text information is last appearing in the page content within the selected range is the screening result End position确定所述选定范围内的页面内容中从所述起始位置到所述结束位置的内容为所述筛选结果。Determining, from the starting position to the ending position, the content of the page content within the selected range is the screening result.如权利要求1所述的方法,其特征在于,所述获取所述选定范围内的页面内容之后,还包括:The method according to claim 1, wherein after the obtaining the content of the page in the selected range, the method further comprises:判断预定时间内是否有基于所述选定范围内的页面内容所输入的语音筛选指令;Determining whether there is a voice screening instruction input based on the content of the page in the selected range within the predetermined time;若是,则继续执行获取基于所述选定范围内的页面内容所输入的语音筛选指令;If yes, proceeding to obtain a voice screening instruction input based on the content of the page in the selected range;若否,则输出所述选定范围内的页面内容。If not, the content of the page within the selected range is output.如权利要求4所述的方法,其特征在于,所述获取基于所述选定范围内的页面内容所输入的语音筛选指令之后,还包括:The method of claim 4, wherein the obtaining, after the obtaining of the voice screening instruction based on the content of the page in the selected range, further comprises:判断所述第一文本信息和所述第二文本信息中的至少一个是否包含在所述选定范围内的页面内容中;Determining whether at least one of the first text information and the second text information is included in page content within the selected range;若是,则继续执行根据所述语音筛选指令对所述选定范围内的页面内容进行筛选处理以生成所述筛选结果;If yes, proceed to perform screening processing on the page content in the selected range according to the voice screening instruction to generate the screening result;若否,则所述选定范围内的页面内容。If not, the content of the page within the selected range.一种页面内容处理装置,其特征在于,包括:A page content processing apparatus, comprising:内容获取单元,设置为获取针对当前显示页面所输入的选定范围,并获取所述选定范围内的页面内容;a content acquisition unit, configured to acquire a selected range input for the currently displayed page, and obtain page content within the selected range;结果生成单元,设置为获取基于选定范围内的页面内容所输入语音筛选指令,并根据所述语音筛选指令对所述选定范围内的页面内容进行筛选处理以生成筛选结果;a result generating unit, configured to acquire a voice screening instruction input based on the page content in the selected range, and perform screening processing on the page content in the selected range according to the voice screening instruction to generate a screening result;结果输出单元,设置为输出所述筛选结果。The result output unit is arranged to output the screening result.如权利要求7所述的装置,其特征在于,所述内容获取单元包括:The device according to claim 7, wherein the content acquisition unit comprises:页面生成子单元,设置为当检测到对预设按钮的触发操作时,生成当前显示页面对应的复制页面,所述当前显示页面的页面内容与所述复制页面的页面内容相同;a page generating subunit, configured to generate a copy page corresponding to the current display page when the triggering operation on the preset button is detected, where the page content of the current display page is the same as the page content of the copied page;内容获取子单元,设置为获取针对所述复制页面所输入的选定范围,并获取所述选定范围内的页面内容。a content acquisition subunit, configured to acquire a selected range input for the copy page, and obtain page content within the selected range.如权利要求8所示的装置,其特征在于,还包括:The device of claim 8 further comprising:页面关闭单元,设置为关闭所述复制页面,并输出基于选定范围内的页面内容进行语音筛选指令输入的提示信息。The page closing unit is configured to close the copy page and output prompt information for inputting a voice screening instruction based on the content of the page in the selected range.如权利要求7所示的装置,其特征在于,所述结果生成单元包括:The apparatus of claim 7, wherein the result generating unit comprises:信息识别子单元,获取所述语音筛选指令包括的第一语音指令和第二语音指令,并识别所述第一语音指令对应的第一文本信息以及所述第二语音指令对应的第二文本信息;An information identifying subunit, the first voice instruction and the second voice instruction included in the voice screening instruction, and identifying the first text information corresponding to the first voice instruction and the second text information corresponding to the second voice instruction ;位置确定子单元,设置为当所述第一文本信息包含在所述选定范围内的页面内容中时,确定所述第一文本信息在所述选定范围内的页面内容中第一次出现的位置为所述筛选结果的起始位置;a location determining sub-unit, configured to determine that the first text information first appears in page content within the selected range when the first text information is included in page content within the selected range The position is the starting position of the screening result;所述位置确定子单元,还设置为当所述第二文本信息包含在所述选定范围内的页面内容中时,确定所述第二文本信息在所述选定范围内的页面内容中最后一次出现的位置为所述筛选结果的结束位置;The location determining subunit is further configured to: when the second text information is included in the page content within the selected range, determine that the second text information is last in the page content within the selected range The position that occurs once is the end position of the screening result;结果生成子单元,设置为确定所述选定范围内的页面内容中从所述起始位置到所述结束位置的内容为所述筛选结果。The result generation subunit is configured to determine that the content from the start position to the end position in the page content within the selected range is the screening result.如权利要求7所述的装置,其特征在于,还包括:The device of claim 7 further comprising:指令判断单元,设置为判断预定时间内是否有基于所述选定范围内的页面内容所输入的语音筛选指令;The instruction determining unit is configured to determine whether there is a voice screening instruction input based on the content of the page in the selected range within the predetermined time;第一通知单元,设置为若所述指令判断单元判断预定时间内是否有输入所述基于选定范围内的页面内容所输入的语音筛选指令的操作的判断结果为是,则通知所述结果生成单元执行获取基于所述选定范围内的页面内容所输入的语音筛选指令的步骤;The first notification unit is configured to notify the result generation if the instruction determining unit determines whether the determination result of the operation of inputting the voice screening instruction input based on the page content in the selected range is YES within the predetermined time The unit performs the step of obtaining a voice screening instruction input based on the content of the page within the selected range;第一内容输出单元,设置为若所述指令判断单元判断预定时间内是否有输入所述基于选定范围内的页面内容所输入的语音筛选指令的操作的判断结果为否,则输出所述选定范围内的页面内容。The first content output unit is configured to output the selection if the instruction determining unit determines whether the determination result of the operation of inputting the voice screening instruction input based on the page content in the selected range is negative within a predetermined time period The content of the page within the scope.如权利要求10所述的装置,其特征在于,所述装置还包括:The device of claim 10, wherein the device further comprises:信息判断单元,设置为判断所述第一文本信息和所述第二文本信息中的至少一个是否包含在所述选定范围内的页面内容中;The information determining unit is configured to determine whether at least one of the first text information and the second text information is included in the page content in the selected range;第二通知单元,设置为若所述信息判断单元判断所述第一文本信息和所述第二文本信息中的至少一个是否包含在所述选定范围内的页面内容中的判断结果为是,则继续执行根据所述语音筛选指令对所述选定范围内的页面内容进行筛选处理以生成所述筛选结果的步骤;a second notification unit, configured to determine, if the information determining unit determines whether at least one of the first text information and the second text information is included in the page content in the selected range, And then performing a step of performing screening processing on the page content in the selected range according to the voice screening instruction to generate the screening result;第二内容输出单元,设置为若所述信息判断单元判断所述第一文本信息和所述第二文本信息中的至少一个是否包含在所述选定范围内的页面内容中的判断结果为否,则输出所述选定范围内的页面内容。a second content output unit, configured to: if the information determining unit determines the first text information andWhether the result of the determination in at least one of the second text information in the page content in the selected range is no, the page content in the selected range is output.
PCT/CN2016/1133962016-08-302016-12-30Page content processing method and deviceCeasedWO2018040438A1 (en)

Applications Claiming Priority (2)

Application NumberPriority DateFiling DateTitle
CN201610779634.02016-08-30
CN201610779634.0ACN106383847B (en)2016-08-302016-08-30A kind of page content processing method and device

Publications (1)

Publication NumberPublication Date
WO2018040438A1true WO2018040438A1 (en)2018-03-08

Family

ID=57938495

Family Applications (1)

Application NumberTitlePriority DateFiling Date
PCT/CN2016/113396CeasedWO2018040438A1 (en)2016-08-302016-12-30Page content processing method and device

Country Status (2)

CountryLink
CN (1)CN106383847B (en)
WO (1)WO2018040438A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111612006A (en)*2020-05-072020-09-01北京网梯科技发展有限公司 Method and device for improving reliability of picture book point-reading recognition results

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN107885416A (en)*2017-10-302018-04-06努比亚技术有限公司A kind of text clone method, terminal and computer-readable recording medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103177724A (en)*2013-03-192013-06-26华为终端有限公司Method, device and terminal for text operating controlled by voice
US20130311178A1 (en)*2012-05-212013-11-21Lg Electronics Inc.Method and electronic device for easily searching for voice record
CN103869948A (en)*2012-12-142014-06-18联想(北京)有限公司Voice command processing method and electronic device
CN104375980A (en)*2014-11-182015-02-25小米科技有限责任公司Selection method and device for text content

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104536995B (en)*2014-12-122016-05-11北京奇虎科技有限公司 Method and system for searching based on terminal interface touch operation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20130311178A1 (en)*2012-05-212013-11-21Lg Electronics Inc.Method and electronic device for easily searching for voice record
CN103869948A (en)*2012-12-142014-06-18联想(北京)有限公司Voice command processing method and electronic device
CN103177724A (en)*2013-03-192013-06-26华为终端有限公司Method, device and terminal for text operating controlled by voice
CN104375980A (en)*2014-11-182015-02-25小米科技有限责任公司Selection method and device for text content

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111612006A (en)*2020-05-072020-09-01北京网梯科技发展有限公司 Method and device for improving reliability of picture book point-reading recognition results

Also Published As

Publication numberPublication date
CN106383847A (en)2017-02-08
CN106383847B (en)2019-03-22

Similar Documents

PublicationPublication DateTitle
JP6618223B2 (en) Audio processing method and apparatus
US10845982B2 (en)Providing intelligent transcriptions of sound messages in a messaging application
US20120260176A1 (en)Gesture-activated input using audio recognition
US20140040741A1 (en)Smart Auto-Completion
CN108829686B (en)Translation information display method, device, equipment and storage medium
US9454964B2 (en)Interfacing device and method for supporting speech dialogue service
US9900427B2 (en)Electronic device and method for displaying call information thereof
US20140035823A1 (en)Dynamic Context-Based Language Determination
US20150169551A1 (en)Apparatus and method for automatic translation
WO2019128103A1 (en)Information input method, device, terminal, and computer readable storage medium
US10824306B2 (en)Presenting captured data
KR20210032875A (en) Voice information processing method, apparatus, program and storage medium
CN114690992B (en)Prompting method, prompting device and computer storage medium
US11756545B2 (en)Method and device for controlling operation mode of terminal device, and medium
EP3015997A1 (en)Method and device for facilitating selection of blocks of information
KR20160059455A (en)Method and device for identifying encoding of web page
US9557818B2 (en)Contextually-specific automatic separators
WO2020042468A1 (en)Data processing method and device, and device for processing data
CN107844494B (en)Entry auditing method and terminal, entry processing method and server
CN106339160A (en)Browsing interactive processing method and device
WO2018040438A1 (en)Page content processing method and device
CN104536688A (en)Searching method and device based on touch operation
KR20140111574A (en)Apparatus and method for performing an action according to an audio command
CN108108356A (en)A kind of character translation method, apparatus and equipment
CN106484259A (en)Input method, device and equipment

Legal Events

DateCodeTitleDescription
121Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number:16914998

Country of ref document:EP

Kind code of ref document:A1

NENPNon-entry into the national phase

Ref country code:DE

122Ep: pct application non-entry in european phase

Ref document number:16914998

Country of ref document:EP

Kind code of ref document:A1


[8]ページ先頭

©2009-2025 Movatter.jp