Movatterモバイル変換


[0]ホーム

URL:


CN105843826A - Search method and device - Google Patents

Search method and device
Download PDF

Info

Publication number
CN105843826A
CN105843826ACN201510272536.3ACN201510272536ACN105843826ACN 105843826 ACN105843826 ACN 105843826ACN 201510272536 ACN201510272536 ACN 201510272536ACN 105843826 ACN105843826 ACN 105843826A
Authority
CN
China
Prior art keywords
page
control
search
displaying
selection control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510272536.3A
Other languages
Chinese (zh)
Inventor
李广
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co LtdfiledCriticalVivo Mobile Communication Co Ltd
Priority to CN201510272536.3ApriorityCriticalpatent/CN105843826A/en
Publication of CN105843826ApublicationCriticalpatent/CN105843826A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本发明实施例提供了一种查找方法和装置,其中的方法具体包括:在页面上显示查找控件和文字选择控件;在接收到针对所述查找控件的操作时,确定所述页面中与所述文字选择控件对应的文字信息;在所述页面中查找所述文字信息对应的页面元素。本发明实施例能够减少页内查找所需步骤,提高页内查找的效率。

An embodiment of the present invention provides a search method and device, wherein the method specifically includes: displaying a search control and a text selection control on a page; The text information corresponding to the text selection control; searching the page element corresponding to the text information in the page. The embodiments of the present invention can reduce the steps required for in-page search and improve the efficiency of in-page search.

Description

Translated fromChinese
一种查找方法和装置A search method and device

技术领域technical field

本发明涉及通信技术领域,特别是涉及一种查找方法和一种查找装置。The invention relates to the technical field of communication, in particular to a search method and a search device.

背景技术Background technique

随着移动终端设备的普及与其智能化的发展,越来越多的人开始使用移动终端设备上的应用进行文字的阅读,例如:阅读小说,查看新闻。目前的许多应用都有关键字查找功能,使用户在阅读文字时,可以根据关键字查找到需要的文字信息。With the popularization of mobile terminal devices and the development of intelligence, more and more people begin to use applications on mobile terminal devices to read text, for example: reading novels and viewing news. Many current applications have a keyword search function, so that users can find desired text information according to keywords when reading text.

现有的数据查找方法具体可以包括如下步骤:S101、用户长按当前页面;S102、用户进行关键字的选择;S103、关键字选择完成后,对关键字进行复制;S104、关键字复制完成以后,调出功能菜单,功能菜单中包含页内查找功能;S105、选择页内查找功能;S106、将S103复制的关键字粘贴到当前查找功能页面中的查找框内;S107、点击确认,进行关键字的查找。Existing data search methods may specifically include the following steps: S101, the user presses and holds the current page; S102, the user selects a keyword; S103, after the keyword is selected, the keyword is copied; S104, after the keyword is copied , call out the function menu, the function menu includes the search function in the page; S105, select the search function in the page; S106, paste the keyword copied in S103 into the search box in the current search function page; S107, click OK to perform the key word lookup.

可见,现有的数据查找方法需要较多的步骤,这无疑影响了查找的效率。It can be seen that the existing data search method requires many steps, which undoubtedly affects the search efficiency.

发明内容Contents of the invention

本发明实施例所要解决的技术问题是提供一种查找方法,用以减少查找所需步骤,提高查找效率。The technical problem to be solved by the embodiments of the present invention is to provide a search method to reduce steps required for search and improve search efficiency.

相应的,本发明实施例还提供了一种查找装置,用以保证上述方法的实现及应用。Correspondingly, an embodiment of the present invention also provides a search device to ensure the implementation and application of the above method.

为了解决上述问题,本发明公开了一种查找方法,包括:In order to solve the above problems, the present invention discloses a search method, comprising:

在页面上显示查找控件和文字选择控件;Display lookup controls and text selection controls on the page;

在接收到针对所述查找控件的操作时,确定所述页面中与所述文字选择控件对应的文字信息;When receiving the operation on the search control, determine the text information corresponding to the text selection control in the page;

在所述页面中查找所述文字信息对应的页面元素。The page element corresponding to the text information is searched in the page.

依据本发明的另一个方面,提供了一种查找装置,包括:According to another aspect of the present invention, a search device is provided, including:

第一显示模块,用于在页面上显示查找控件和文字选择控件;The first display module is used to display the search control and the text selection control on the page;

接收模块,用于接收针对所述查找控件的操作;a receiving module, configured to receive operations directed at the search control;

确认模块,用于在所述接收到针对所述查找控件的操作时,确定所述页面中与所述文字选择控件对应的文字信息;及A confirmation module, configured to determine the text information corresponding to the text selection control in the page when the operation on the search control is received; and

查找模块,用于在所述页面中查找所述文字信息对应的页面元素。A search module, configured to search the page for the page element corresponding to the text information.

与现有技术相比,本发明实施例包括以下优点:Compared with the prior art, the embodiments of the present invention include the following advantages:

本发明实施例提供的一种查找方法,在触发页面中查找控件后,可以根据该页面中文字选择控件对应的文字信息,直接进行上述文字信息对应的页内查找;相对于现有的查找方法,本发明实施例无需对上述文字信息进行复制,也无需打开并进入另一个页面进行上述文字信息的粘贴和查找,由于既能够减少计算机执行的操作步骤,又能够减少用户所需的人力操作步骤,因此能够大大提高查找效率。In the search method provided by the embodiment of the present invention, after the search control is triggered on the page, the in-page search corresponding to the above text information can be directly performed according to the text information corresponding to the text selection control in the page; compared with the existing search method , the embodiment of the present invention does not need to copy the above text information, and does not need to open and enter another page to paste and search the above text information, because it can not only reduce the operation steps performed by the computer, but also reduce the human operation steps required by the user , so the search efficiency can be greatly improved.

附图说明Description of drawings

图1是本发明的一种查找方法实施例一的步骤流程图;Fig. 1 is a flow chart of the steps of Embodiment 1 of a search method of the present invention;

图2是本发明的一种查找方法实施例二的步骤流程图;Fig. 2 is a flow chart of the steps of Embodiment 2 of a search method of the present invention;

图3是本发明的一种查找方法实施例三的步骤流程图;Fig. 3 is a flow chart of the steps of Embodiment 3 of a search method of the present invention;

图4是本发明的一种查找方法实施例四的步骤流程图;Fig. 4 is a flow chart of the steps of Embodiment 4 of a search method of the present invention;

图5是本发明的一种查找装置实施例一的结构图;Fig. 5 is a structural diagram of Embodiment 1 of a search device of the present invention;

图6是本发明的一种查找装置实施例二的结构图;Fig. 6 is a structural diagram of Embodiment 2 of a search device of the present invention;

图7是本发明的一种查找装置实施例三的结构图;Fig. 7 is a structural diagram of Embodiment 3 of a search device of the present invention;

图8是本发明的一种查找装置实施例四的结构图;及Fig. 8 is a structural diagram of Embodiment 4 of a search device of the present invention; and

图9是本发明的一种查找装置实施例五的结构图。Fig. 9 is a structural diagram of Embodiment 5 of a search device of the present invention.

具体实施方式detailed description

为使本发明的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本发明作进一步详细的说明。In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

具体实施方式detailed description

为使本发明的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本发明作进一步详细的说明。In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

实施例一Embodiment one

参照图1,示出了本发明的一种查找方法实施例一的步骤流程图,可以包括如下步骤:Referring to Fig. 1, it shows a flow chart of the steps of Embodiment 1 of a search method of the present invention, which may include the following steps:

步骤101、在页面上显示查找控件和文字选择控件;Step 101, displaying a search control and a text selection control on the page;

本发明实施例可应用于浏览器、阅读软件应用程序、OFFICE应用程序等各类应用程序中;其中,本发明实施例既可以作为应用程序中的一部分功能,也可以作为插件嵌于应用程序中,还可以作为寄宿程序寄宿于应用程序中,本发明实施例对所应用的具体应用程序及与应用程序的具体关系不加以限制。The embodiment of the present invention can be applied to various application programs such as browsers, reading software application programs, and OFFICE application programs; wherein, the embodiment of the present invention can be used as a part of the functions in the application program, or can be embedded in the application program as a plug-in , can also be hosted in the application program as a host program, and the embodiment of the present invention does not limit the specific application program applied and the specific relationship with the application program.

本发明实施例中,页面可以为浏览器的页面,也可以为阅读软件应用程序的页面,还可以为OFFICE应用程序的页面,本发明实施例对具体的页面不做限制。In the embodiment of the present invention, the page may be a page of a browser, a page of a reading software application program, or a page of an OFFICE application program, and the embodiment of the present invention does not limit the specific page.

本发明实施例中,查找控件可用于触发本发明的页内查找流程(例如,步骤101-步骤103);文字选择控件可用来确定需要查找的文字信息。In the embodiment of the present invention, the search control can be used to trigger the in-page search process of the present invention (for example, step 101-step 103); the text selection control can be used to determine the text information to be searched.

本发明实施例中,在页面上显示查找控件和文字选择控件的方式可以有多种,例如,可以在页面上同时显示所述查找控件和所述文字选择控件;又如,可以采用菜单显示查找控件和入口控件,并在接收到针对入口控件的操作时,显示文字选择控件,其中,入口控件可用来触发显示文字选择控件的事件。本发明实施例对在页面上显示查找控件和文字选择控件的方式不做具体限制。In the embodiment of the present invention, there are many ways to display the search control and the text selection control on the page. For example, the search control and the text selection control can be displayed on the page at the same time; control and an entry control, and display a text selection control when an operation on the entry control is received, wherein the entry control can be used to trigger an event for displaying the text selection control. The embodiment of the present invention does not specifically limit the manner of displaying the search control and the text selection control on the page.

步骤102、在接收到针对上述查找控件的操作时,确定上述页面中与上述文字选择控件对应的文字信息;Step 102, when receiving the operation on the above-mentioned search control, determine the text information corresponding to the above-mentioned text selection control in the above-mentioned page;

本发明实施例中,在未接收到针对上述查找控件的操作时,文字选择控件显示的起始标识位置和截止标识位置是可变化的,因此,文字选择控件对应的文字信息是不确定的;也即,只有在接收到针对上述查找控件的操作时,才能确保文字选择控件显示的起始标识位置和截止标识位置不会发生变化,此时可以将起始标识位置和截止标识位置之间的文字内容确定为需要查找的文字信息。In the embodiment of the present invention, when the operation for the above-mentioned search control is not received, the start mark position and the end mark position displayed by the text selection control can be changed, therefore, the text information corresponding to the text selection control is uncertain; That is, only when the operation for the above-mentioned search control is received, can it be ensured that the start mark position and the end mark position displayed by the text selection control will not change. At this time, the start mark position and the end mark position can be changed The text content is determined as the text information to be searched.

步骤103、在上述页面中查找上述文字信息对应的页面元素。Step 103, searching the page element corresponding to the above text information in the above page.

本发明实施例中,上述文字信息对应的页面元素可以是上述文字信息本身,也可以是与上述文字信息相似的文字信息,例如:上述文字信息为我们的家,那么页面元素可以是我们的家,也可以是我的家;页面元素还可以是与上述文字信息相关的图片信息、视频信息等;本发明实施例对页面元素的具体内容和具体类型不做限制。In the embodiment of the present invention, the page element corresponding to the above-mentioned text information may be the above-mentioned text information itself, or it may be text information similar to the above-mentioned text information. For example, if the above-mentioned text information is our home, then the page element may be our home , can also be my home; the page element can also be picture information, video information, etc. related to the above-mentioned text information; the embodiment of the present invention does not limit the specific content and specific type of the page element.

综上,本发明实施例提供的一种查找方法,在触发页面中查找控件后,可以根据该页面中文字选择控件对应的文字信息,直接进行上述文字信息对应的页内查找;相对于现有的查找方法,本发明实施例无需对上述文字信息进行复制,也无需打开并进入另一个页面进行上述文字信息的粘贴和查找,由于既能够减少计算机执行的操作步骤,又能够减少用户所需的人力操作步骤,因此能够大大提高查找效率。To sum up, in the search method provided by the embodiment of the present invention, after triggering the search control on the page, the in-page search corresponding to the above text information can be directly performed according to the text information corresponding to the text selection control in the page; compared with the existing search method, the embodiment of the present invention does not need to copy the above text information, and does not need to open and enter another page to paste and search the above text information, because it can not only reduce the operation steps performed by the computer, but also reduce the user's required Manual operation steps are required, so the search efficiency can be greatly improved.

实施例二Embodiment two

参照图2,示出了本发明的一种查找方法实施例二的步骤流程图,可以包括如下步骤:Referring to Fig. 2, it shows a flow chart of steps of Embodiment 2 of a search method of the present invention, which may include the following steps:

步骤201、在检测到预置指令或者预置剪贴板事件时,在预置指令或者预置剪贴板事件对应的页面上显示查找控件和文字选择控件;Step 201, when a preset command or a preset clipboard event is detected, display a search control and a text selection control on the page corresponding to the preset command or preset clipboard event;

在本发明实施例中,预置指令和预置剪贴板事件用于触发页内查找流程,预置指令可以为与键盘、鼠标、或者语音输入事件相对应的指令,预置剪贴板事件可以为剪贴板新增内容事件。因此,可以理解,在本发明实施例中,只要是可用于触发页内查找流程,均可作为预置指令,本发明实施例对具体的预置指令及页内查找流程的具体触发条件不做具体限制。In the embodiment of the present invention, the preset instruction and the preset clipboard event are used to trigger the in-page search process, the preset instruction may be an instruction corresponding to a keyboard, mouse, or voice input event, and the preset clipboard event may be Clipboard new content event. Therefore, it can be understood that in the embodiment of the present invention, as long as it can be used to trigger the in-page search process, it can be used as a preset instruction. Specific restrictions.

在本发明实施例中,用以显示查找控件和文字选择控件的方式有很多种,例如,可以在当前页面上弹出独立的窗口以显示查找控件和文字选择控件;再如,还可以以桌面挂件的方式显示查找控件和文字选择控件。因此,可以理解,本发明实施例对显示查找控件和文字选择控件的方式不做具体限定,只要在页面上显示查找控件和文字选择控件均在本发明实施例的保护范围之内。In the embodiment of the present invention, there are many ways to display the search control and text selection control. For example, an independent window can pop up on the current page to display the search control and text selection control; The lookup control and text selection control are displayed in the same way. Therefore, it can be understood that the embodiment of the present invention does not specifically limit the manner of displaying the search control and the text selection control, as long as the display of the search control and the text selection control on the page is within the protection scope of the embodiment of the present invention.

步骤202、在接收到针对查找控件的操作时,确定页面中与文字选择控件对应的文字信息;Step 202, when receiving an operation on the search control, determine the text information corresponding to the text selection control on the page;

步骤203、在页面中查找上述文字信息对应的页面元素。Step 203, searching the page for the page element corresponding to the above text information.

综上,本发明实施例提供的一种查找方法,在触发页面中查找控件后,可以根据该页面中文字选择控件对应的文字信息,直接进行上述文字信息对应的页内查找;相对于现有的查找方法,本发明实施例无需对上述文字信息进行复制,也无需打开并进入另一个页面进行上述文字信息的粘贴和查找,由于既能够减少计算机执行的操作步骤,又能够减少用户所需的人力操作步骤,因此能够大大提高查找效率。To sum up, in the search method provided by the embodiment of the present invention, after triggering the search control on the page, the in-page search corresponding to the above text information can be directly performed according to the text information corresponding to the text selection control in the page; compared with the existing In the search method, the embodiment of the present invention does not need to copy the above-mentioned text information, and does not need to open and enter another page to paste and search the above-mentioned text information, because it can not only reduce the operation steps performed by the computer, but also reduce the number of tasks required by the user. Manual operation steps, so the search efficiency can be greatly improved.

实施例三Embodiment three

参照图3,示出了本发明的一种查找方法实施例三的步骤流程图,可以包括如下步骤:Referring to FIG. 3 , it shows a flow chart of steps of Embodiment 3 of a search method of the present invention, which may include the following steps:

步骤301、采用弹窗方式、或者桌面挂件方式在页面上显示查找控件和文字选择控件;Step 301, displaying a search control and a text selection control on the page by means of a pop-up window or a desktop pendant;

本发明实施例中,对于页面上显示上述查找控件和上述文字选择控件的方式不做具体限定。In the embodiment of the present invention, there is no specific limitation on the manner of displaying the search control and the text selection control on the page.

步骤302、在接收到针对上述查找控件的操作时,确定上述页面中与上述文字选择控件对应的文字信息;Step 302, when receiving the operation on the above-mentioned search control, determine the text information corresponding to the above-mentioned text selection control in the above-mentioned page;

步骤303、在上述页面中查找上述文字信息对应的页面元素。Step 303, searching the page element corresponding to the above text information in the above page.

本发明实施例中,在页面上显示查找控件和文字选择控件的方式有多种,例如,在页面上同时显示所述查找控件和所述文字选择控件;再如,采用菜单显示查找控件和入口控件,并在接收到针对入口控件的操作时,显示文字选择控件,其中,入口控件用来触发显示文字选择控件的事件。本发明实施例对在页面上显示查找控件和文字选择控件的方式不做具体限制。In the embodiment of the present invention, there are many ways to display the search control and the text selection control on the page. For example, the search control and the text selection control are displayed on the page at the same time; another example is to use the menu to display the search control and the entry control, and display the text selection control when receiving an operation on the entry control, wherein the entry control is used to trigger an event for displaying the text selection control. The embodiment of the present invention does not specifically limit the manner of displaying the search control and the text selection control on the page.

综上,本发明实施例提供的一种查找方法,在触发页面中查找控件后,可以根据该页面中文字选择控件对应的文字信息,直接进行上述文字信息对应的页内查找;相对于现有的查找方法,本发明实施例无需对上述文字信息进行复制,也无需打开并进入另一个页面进行上述文字信息的粘贴和查找,由于既能够减少计算机执行的操作步骤,又能够减少用户所需的人力操作步骤,因此能够大大提高查找效率。To sum up, in the search method provided by the embodiment of the present invention, after triggering the search control on the page, the in-page search corresponding to the above text information can be directly performed according to the text information corresponding to the text selection control in the page; compared with the existing In the search method, the embodiment of the present invention does not need to copy the above-mentioned text information, and does not need to open and enter another page to paste and search the above-mentioned text information, because it can not only reduce the operation steps performed by the computer, but also reduce the number of tasks required by the user. Manual operation steps, so the search efficiency can be greatly improved.

实施例四Embodiment Four

参照图4,示出了本发明的一种查找方法实施例四的步骤流程图,可以包括如下步骤:Referring to FIG. 4 , it shows a flow chart of the steps of Embodiment 4 of a search method of the present invention, which may include the following steps:

步骤401、在页面上显示查找控件和文字选择控件;Step 401, displaying a search control and a text selection control on the page;

步骤402、在接收到针对上述查找控件的操作时,确定上述页面中与上述文字选择控件对应的文字信息;Step 402, when receiving the operation on the above-mentioned search control, determine the text information corresponding to the above-mentioned text selection control in the above-mentioned page;

步骤403、在上述页面中查找上述文字信息对应的页面元素。Step 403, searching the page element corresponding to the above text information in the above page.

步骤404、显示查找得到的上述页面元素。Step 404, displaying the above-mentioned page elements obtained by searching.

在本发明实施例中,所述显示查找结果的方式,具体可以包括:对查找到的所述页面元素进行标识显示,并将所述页面滚动至与所述页面元素中预置页面元素相应的位置。In this embodiment of the present invention, the manner of displaying the search results may specifically include: identifying and displaying the found page elements, and scrolling the page to the page element corresponding to the preset page element Location.

对查找到的页面元素进行标识显示的方式有很多种,例如,可以对查找到的页面元素以预设颜色进行突出显示;再如,可以将查找到的页面元素放大以作为标识突出显示。需要说明的是,上述颜色标识和放大显示只是作为应用示例,实际上对查找到的页面元素进行标识显示的其它方法也是可行的,另外,除了标识显示外的其它显示方法也是可行的,如弹窗显示等等,本发明实施例对查找到的页面元素进行显示的具体方式不做具体限定。There are many ways to identify and display the found page elements. For example, the found page elements can be highlighted with a preset color; another example, the found page elements can be enlarged to be highlighted as a mark. It should be noted that the above-mentioned color identification and enlarged display are only examples of applications. In fact, other methods of identifying and displaying the found page elements are also feasible. window display, etc., the embodiment of the present invention does not specifically limit the specific manner of displaying the found page elements.

在本发明实施例中,上述预置元素可以是查找到的第一个页面元素,也可以是查找到的最后一个页面元素,还可以是查找到的处于中间位置的页面元素,本发明实施例对此不做具体限制。In this embodiment of the present invention, the aforementioned preset element may be the first page element found, or the last page element found, or a page element found in the middle. There is no specific limitation on this.

综上,本发明实施例提供的一种查找方法,在触发页面中查找控件后,可以根据该页面中文字选择控件对应的文字信息,直接进行上述文字信息对应的页内查找;相对于现有的查找方法,本发明实施例无需对上述文字信息进行复制,也无需打开并进入另一个页面进行上述文字信息的粘贴和查找,由于既能够减少计算机执行的操作步骤,又能够减少用户所需的人力操作步骤,因此能够大大提高查找效率。To sum up, in the search method provided by the embodiment of the present invention, after triggering the search control on the page, the in-page search corresponding to the above text information can be directly performed according to the text information corresponding to the text selection control in the page; compared with the existing search method, the embodiment of the present invention does not need to copy the above text information, and does not need to open and enter another page to paste and search the above text information, because it can not only reduce the operation steps performed by the computer, but also reduce the user's required Manual operation steps are required, so the search efficiency can be greatly improved.

需要说明的是,对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明实施例并不受所描述的动作顺序的限制,因为依据本发明实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本发明实施例所必须的。It should be noted that, for the method embodiment, for the sake of simple description, it is expressed as a series of action combinations, but those skilled in the art should know that the embodiment of the present invention is not limited by the described action sequence, because According to the embodiment of the present invention, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

装置实施例一Device embodiment one

参照图5,示出了本发明的一种查找装置实施例一的结构图,具体可以包括:第一显示模块501、接收模块502、确认模块503和查找模块504;其中,Referring to FIG. 5 , it shows a structure diagram of Embodiment 1 of a search device of the present invention, which may specifically include: a first display module 501 , a receiving module 502 , a confirmation module 503 and a search module 504 ; wherein,

上述第一显示模块501,用于在页面上显示查找控件和文字选择控件;The above-mentioned first display module 501 is configured to display a search control and a text selection control on the page;

上述接收模块502,用于接收针对上述查找控件的操作;The above-mentioned receiving module 502 is configured to receive operations on the above-mentioned search control;

上述确认模块503,用于在上述接收到针对上述查找控件的操作时,确定上述页面中与上述文字选择控件对应的文字信息。The confirmation module 503 is configured to determine the text information on the page corresponding to the text selection control when the operation on the search control is received.

上述查找模块504,用于在上述页面中查找上述文字信息对应的页面元素。The search module 504 is configured to search for page elements corresponding to the text information in the above page.

需要说明的是,对于上述装置实施例一,上述第一显示模块501可以具体用于采用弹窗方式、或者桌面挂件方式在上述页面上显示上述查找控件和上述文字选择控件。It should be noted that, for the first device embodiment above, the first display module 501 may be specifically configured to display the search control and the text selection control on the page by means of a pop-up window or a desktop widget.

综上,本发明实施例提供的一种查找装置,在触发页面中查找控件后,可以根据该页面中文字选择控件对应的文字信息,直接进行上述文字信息对应的页内查找;相对于现有的查找方法,本发明实施例无需对上述文字信息进行复制,也无需打开并进入另一个页面进行上述文字信息的粘贴和查找,由于既能够减少计算机执行的操作步骤,又能够减少用户所需的人力操作步骤,因此能够大大提高查找效率。To sum up, the search device provided by the embodiment of the present invention can directly perform an in-page search corresponding to the above text information according to the text information corresponding to the text selection control in the page after triggering the search control in the page; search method, the embodiment of the present invention does not need to copy the above text information, and does not need to open and enter another page to paste and search the above text information, because it can not only reduce the operation steps performed by the computer, but also reduce the user's required Manual operation steps are required, so the search efficiency can be greatly improved.

装置实施例二Device embodiment two

参照图6,示出了本发明的一种查找装置实施例二的结构图,具体可以包括:第一显示模块601、接收模块602、确认模块603和查找模块604;其中,Referring to FIG. 6 , it shows a structural diagram of Embodiment 2 of a search device of the present invention, which may specifically include: a first display module 601, a receiving module 602, a confirmation module 603, and a search module 604; wherein,

上述第一显示模块601,用于在页面上显示查找控件和文字选择控件;The above-mentioned first display module 601 is configured to display a search control and a text selection control on the page;

上述接收模块602,用于接收针对上述查找控件的操作;The above-mentioned receiving module 602 is configured to receive operations on the above-mentioned search control;

上述确认模块603,用于在上述接收到针对上述查找控件的操作时,确定上述页面中与上述文字选择控件对应的文字信息。The confirmation module 603 is configured to determine the text information corresponding to the text selection control on the page when the operation on the search control is received.

上述查找模块604,用于在上述页面中查找上述文字信息对应的页面元素。The search module 604 is configured to search for page elements corresponding to the text information in the above page.

其中,第一显示模块601具体可以包括:Wherein, the first display module 601 may specifically include:

第一显示子模块6011,用于在上述页面上同时显示上述查找控件和上述文字选择控件;或者The first display submodule 6011 is configured to simultaneously display the above-mentioned search control and the above-mentioned text selection control on the above-mentioned page; or

第二显示子模块6012;The second display sub-module 6012;

其中,上述第二显示子模块6012具体可以包括:Wherein, the above-mentioned second display submodule 6012 may specifically include:

第一显示单元60121,用于采用菜单显示上述查找控件和入口控件;The first display unit 60121 is configured to display the above search control and entry control by using a menu;

第二显示单元60122,用于接收针到对上述入口控件的操作后,显示上述文字选择控件。The second display unit 60122 is configured to display the text selection control after receiving an operation on the entry control.

综上,本发明实施例提供的一种查找装置,在触发页面中查找控件后,可以根据该页面中文字选择控件对应的文字信息,直接进行上述文字信息对应的页内查找;相对于现有的查找方法,本发明实施例无需对上述文字信息进行复制,也无需打开并进入另一个页面进行上述文字信息的粘贴和查找,由于既能够减少计算机执行的操作步骤,又能够减少用户所需的人力操作步骤,因此能够大大提高查找效率。To sum up, the search device provided by the embodiment of the present invention can directly perform an in-page search corresponding to the above text information according to the text information corresponding to the text selection control in the page after triggering the search control in the page; search method, the embodiment of the present invention does not need to copy the above text information, and does not need to open and enter another page to paste and search the above text information, because it can not only reduce the operation steps performed by the computer, but also reduce the user's required Manual operation steps are required, so the search efficiency can be greatly improved.

装置实施例三Device Embodiment Three

参照图7,示出了本发明的一种查找装置实施例三的结构图,具体可以包括:第一显示模块701、接收模块702、确认模块703和查找模块704;其中,Referring to FIG. 7 , it shows a structural diagram of Embodiment 3 of a search device of the present invention, which may specifically include: a first display module 701, a receiving module 702, a confirmation module 703, and a search module 704; wherein,

上述第一显示模块701,用于在页面上显示查找控件和文字选择控件;The above-mentioned first display module 701 is used to display the search control and the text selection control on the page;

上述接收模块702,用于接收针对上述查找控件的操作;The above-mentioned receiving module 702 is configured to receive operations on the above-mentioned search control;

上述确认模块703,用于在上述接收到针对上述查找控件的操作时,确定上述页面中与上述文字选择控件对应的文字信息。The confirmation module 703 is configured to determine the text information corresponding to the text selection control on the page when the operation on the search control is received.

上述查找模块704,用于在上述页面中查找上述文字信息对应的页面元素。The search module 704 is configured to search for page elements corresponding to the text information in the above page.

其中,上述第一显示模块701,具体可以包括:Wherein, the above-mentioned first display module 701 may specifically include:

检测子模块7013,用于检测预置指令或者预置剪贴板事件;The detection submodule 7013 is used to detect preset instructions or preset clipboard events;

第三显示子模块7014,用于在上述检测模块检测到预置指令或者预置剪贴板事件时,在上述预置指令或者预置剪贴板事件对应的页面上显示查找控件和文字选择控件。The third display submodule 7014 is configured to display a search control and a text selection control on the page corresponding to the preset instruction or the preset clipboard event when the detection module detects the preset instruction or the preset clipboard event.

综上,本发明实施例提供的一种查找装置,在触发页面中查找控件后,可以根据该页面中文字选择控件对应的文字信息,直接进行上述文字信息对应的页内查找;相对于现有的查找方法,本发明实施例无需对上述文字信息进行复制,也无需打开并进入另一个页面进行上述文字信息的粘贴和查找,由于既能够减少计算机执行的操作步骤,又能够减少用户所需的人力操作步骤,因此能够大大提高查找效率。To sum up, the search device provided by the embodiment of the present invention can directly perform an in-page search corresponding to the above text information according to the text information corresponding to the text selection control in the page after triggering the search control in the page; search method, the embodiment of the present invention does not need to copy the above text information, and does not need to open and enter another page to paste and search the above text information, because it can not only reduce the operation steps performed by the computer, but also reduce the user's required Manual operation steps are required, so the search efficiency can be greatly improved.

装置实施例四Device Embodiment Four

参照图8,示出了本发明的一种查找装置实施例四的结构图,具体可以包括:第一显示模块801、接收模块802、确认模块803、查找模块804和第二显示模块805;其中,Referring to FIG. 8 , it shows a structure diagram of Embodiment 4 of a search device of the present invention, which may specifically include: a first display module 801 , a receiving module 802 , a confirmation module 803 , a search module 804 and a second display module 805 ; ,

上述第一显示模块801,用于在页面上显示查找控件和文字选择控件;The above-mentioned first display module 801 is configured to display a search control and a text selection control on the page;

上述接收模块802,用于接收针对上述查找控件的操作;The above-mentioned receiving module 802 is configured to receive operations on the above-mentioned search control;

上述确认模块803,用于在上述接收到针对上述查找控件的操作时,确定上述页面中与上述文字选择控件对应的文字信息。The confirmation module 803 is configured to determine the text information corresponding to the text selection control on the page when the operation on the search control is received.

上述查找模块804,用于在上述页面中查找上述文字信息对应的页面元素。The search module 804 is configured to search the page elements corresponding to the text information in the above page.

上述第二显示模块805,用于显示查找结果。The above-mentioned second display module 805 is configured to display search results.

综上,本发明实施例提供的一种查找装置,在触发页面中查找控件后,可以根据该页面中文字选择控件对应的文字信息,直接进行上述文字信息对应的页内查找;相对于现有的查找方法,本发明实施例无需对上述文字信息进行复制,也无需打开并进入另一个页面进行上述文字信息的粘贴和查找,由于既能够减少计算机执行的操作步骤,又能够减少用户所需的人力操作步骤,因此能够大大提高查找效率。To sum up, the search device provided by the embodiment of the present invention can directly perform an in-page search corresponding to the above text information according to the text information corresponding to the text selection control in the page after triggering the search control in the page; In the search method, the embodiment of the present invention does not need to copy the above-mentioned text information, and does not need to open and enter another page to paste and search the above-mentioned text information, because it can not only reduce the operation steps performed by the computer, but also reduce the number of tasks required by the user. Manual operation steps are required, so the search efficiency can be greatly improved.

装置实施例五Device Embodiment Five

参照图9,示出了本发明的一种查找装置实施例五的结构图,具体可以包括:第一显示模块901、接收模块902、确认模块903、查找模块904和第二显示模块905;其中,Referring to Fig. 9, it shows a structural diagram of Embodiment 5 of a search device of the present invention, which may specifically include: a first display module 901, a receiving module 902, a confirmation module 903, a search module 904 and a second display module 905; ,

上述第一显示模块901,用于在页面上显示查找控件和文字选择控件;The above-mentioned first display module 901 is configured to display a search control and a text selection control on the page;

上述接收模块902,用于接收针对上述查找控件的操作;The above-mentioned receiving module 902 is configured to receive operations on the above-mentioned search control;

上述确认模块903,用于在上述接收到针对上述查找控件的操作时,确定上述页面中与上述文字选择控件对应的文字信息。The confirmation module 903 is configured to determine the text information on the page corresponding to the text selection control when the operation on the search control is received.

上述查找模块904,用于在上述页面中查找上述文字信息对应的页面元素。The search module 904 is configured to search for page elements corresponding to the text information in the above page.

上述第二显示模块905,用于显示查找结果,具体可以包括:The above-mentioned second display module 905 is used for displaying search results, and may specifically include:

标识子模块9051,对查找到的上述页面元素进行标识显示;The identification sub-module 9051 identifies and displays the found above-mentioned page elements;

滚动子模块9052,用于将上述页面滚动至与所述页面元素中预置页面元素相应的位置。The scrolling submodule 9052 is configured to scroll the above-mentioned page to a position corresponding to the preset page element in the page element.

综上,本发明实施例提供的一种查找装置,在触发页面中查找控件后,可以根据该页面中文字选择控件对应的文字信息,直接进行上述文字信息对应的页内查找;相对于现有的查找方法,本发明实施例无需对上述文字信息进行复制,也无需打开并进入另一个页面进行上述文字信息的粘贴和查找,由于既能够减少计算机执行的操作步骤,又能够减少用户所需的人力操作步骤,因此能够大大提高查找效率。To sum up, the search device provided by the embodiment of the present invention can directly perform an in-page search corresponding to the above text information according to the text information corresponding to the text selection control in the page after triggering the search control in the page; In the search method, the embodiment of the present invention does not need to copy the above-mentioned text information, and does not need to open and enter another page to paste and search the above-mentioned text information, because it can not only reduce the operation steps performed by the computer, but also reduce the number of tasks required by the user. Manual operation steps are required, so the search efficiency can be greatly improved.

对于装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for related parts, please refer to the part of the description of the method embodiment.

本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。Each embodiment in this specification is described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same and similar parts of each embodiment can be referred to each other.

本领域内的技术人员应明白,本发明实施例的实施例可提供为方法、装置、或计算机程序产品。因此,本发明实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, devices, or computer program products. Accordingly, embodiments of the invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, embodiments of the invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

本发明实施例是参照根据本发明实施例的方法、终端设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理终端设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理终端设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。Embodiments of the present invention are described with reference to flowcharts and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor or processor of other programmable data processing terminal equipment to produce a machine such that instructions executed by the computer or processor of other programmable data processing terminal equipment Produce means for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理终端设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the The instruction means implements the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可装载到计算机或其他可编程数据处理终端设备上,使得在计算机或其他可编程终端设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程终端设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded into a computer or other programmable data processing terminal equipment, so that a series of operational steps are performed on the computer or other programmable terminal equipment to produce computer-implemented processing, thereby The instructions executed above provide steps for implementing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

尽管已描述了本发明实施例的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例做出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明实施例范围的所有变更和修改。Having described preferred embodiments of embodiments of the present invention, additional changes and modifications to these embodiments can be made by those skilled in the art once the basic inventive concept is appreciated. Therefore, the appended claims are intended to be construed to cover the preferred embodiment and all changes and modifications which fall within the scope of the embodiments of the present invention.

最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者终端设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者终端设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者终端设备中还存在另外的相同要素。Finally, it should also be noted that in this text, relational terms such as first and second etc. are only used to distinguish one entity or operation from another, and do not necessarily require or imply that these entities or operations, any such actual relationship or order exists. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or terminal equipment comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements identified, or also include elements inherent in such a process, method, article, or end-equipment. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or terminal device comprising said element.

以上对本发明所提供的一种查找方法和一种查找装置,进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。A search method and a search device provided by the present invention have been introduced in detail above. In this paper, specific examples have been used to illustrate the principle and implementation of the present invention. The descriptions of the above embodiments are only used to help understand the present invention. The method of the invention and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and scope of application. In summary, the content of this specification should not be understood To limit the present invention.

Claims (12)

CN201510272536.3A2015-05-252015-05-25Search method and devicePendingCN105843826A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201510272536.3ACN105843826A (en)2015-05-252015-05-25Search method and device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201510272536.3ACN105843826A (en)2015-05-252015-05-25Search method and device

Publications (1)

Publication NumberPublication Date
CN105843826Atrue CN105843826A (en)2016-08-10

Family

ID=56580271

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201510272536.3APendingCN105843826A (en)2015-05-252015-05-25Search method and device

Country Status (1)

CountryLink
CN (1)CN105843826A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106326453A (en)*2016-08-262017-01-11乐视控股(北京)有限公司In-page search method and device
CN108416009A (en)*2018-03-012018-08-17广东欧珀移动通信有限公司 Text retrieval method, device, storage medium and mobile terminal for mobile terminal
CN112329409A (en)*2019-07-302021-02-05珠海金山办公软件有限公司 Cell color conversion method, device and electronic device
CN114461888A (en)*2020-11-102022-05-10中移(成都)信息通信科技有限公司 Web Content Marking Method, Apparatus, Equipment and Computer Storage Medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1858683A (en)*2006-04-302006-11-08北京金山软件有限公司Method and system for realizing pick-up word and search from screen on hand held device
CN102110169A (en)*2011-03-172011-06-29惠州Tcl移动通信有限公司Mobile terminal network searching method and mobile terminal
CN103455590A (en)*2013-08-292013-12-18百度在线网络技术(北京)有限公司Method and device for retrieving in touch-screen device
CN103530386A (en)*2013-10-182014-01-22北京奇虎科技有限公司Method for editing browser webpages and browser

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1858683A (en)*2006-04-302006-11-08北京金山软件有限公司Method and system for realizing pick-up word and search from screen on hand held device
CN102110169A (en)*2011-03-172011-06-29惠州Tcl移动通信有限公司Mobile terminal network searching method and mobile terminal
CN103455590A (en)*2013-08-292013-12-18百度在线网络技术(北京)有限公司Method and device for retrieving in touch-screen device
CN103530386A (en)*2013-10-182014-01-22北京奇虎科技有限公司Method for editing browser webpages and browser

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
丁铖 等: "《PowerBuilder 7.0 高级开发指南》", 31 October 2000*
朱兴动 等: "基于S1000D的IETM阅读器设计", 《计算机工程》*

Cited By (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106326453A (en)*2016-08-262017-01-11乐视控股(北京)有限公司In-page search method and device
CN108416009A (en)*2018-03-012018-08-17广东欧珀移动通信有限公司 Text retrieval method, device, storage medium and mobile terminal for mobile terminal
CN112329409A (en)*2019-07-302021-02-05珠海金山办公软件有限公司 Cell color conversion method, device and electronic device
CN112329409B (en)*2019-07-302024-03-22珠海金山办公软件有限公司Cell color conversion method and device and electronic equipment
CN114461888A (en)*2020-11-102022-05-10中移(成都)信息通信科技有限公司 Web Content Marking Method, Apparatus, Equipment and Computer Storage Medium

Similar Documents

PublicationPublication DateTitle
CN104462437B (en)The method and system of search are identified based on the multiple touch control operation of terminal interface
US11262895B2 (en)Screen capturing method and apparatus
CN104536995B (en) Method and system for searching based on terminal interface touch operation
EP2810149B1 (en)Intelligent prioritization of activated extensions
EP3734598B1 (en)Interfacing device and method for supporting speech dialogue
KR20140094540A (en)Cross window animation
KR20170037957A (en)Presenting dataset of spreadsheet in form based view
US10824306B2 (en)Presenting captured data
US20150242474A1 (en)Inline and context aware query box
EP3018575A1 (en)Electronic blackboard apparatus and controlling method thereof
CN105335045A (en)Desktop icon change method and system
CN105824552A (en)Text information recognition method and device
TW201501016A (en)Data searching method and electronic apparatus thereof
TW201327225A (en)Browser and method for displaying subsites
CN105843826A (en)Search method and device
CN104537049B (en)A kind of picture browsing method and device
CN106527937B (en) Method for adding mobile terminal widget and mobile terminal
US9372558B2 (en)Setting vibration portions in pieces of electronic data that are displayable on a display device
US11460971B2 (en)Control method and electronic device
WO2016155643A1 (en)Input-based candidate word display method and device
CN106897291A (en)Searching method and device based on screenshotss operation
CN111198830B (en)Identification method and device of mobile storage equipment, electronic equipment and storage medium
CN113010061A (en)Desktop display control method and device of terminal, storage medium and terminal
WO2016018682A1 (en)Processing image to identify object for insertion into document
CN105243134A (en)Method and equipment for processing hijacked browser

Legal Events

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

Application publication date:20160810

RJ01Rejection of invention patent application after publication

[8]ページ先頭

©2009-2025 Movatter.jp