[go: up one dir, main page]

CN104503679B - Searching method and searching device based on terminal interface touch operation - Google Patents

Searching method and searching device based on terminal interface touch operation Download PDF

Info

Publication number
CN104503679B
CN104503679B CN201410844225.5A CN201410844225A CN104503679B CN 104503679 B CN104503679 B CN 104503679B CN 201410844225 A CN201410844225 A CN 201410844225A CN 104503679 B CN104503679 B CN 104503679B
Authority
CN
China
Prior art keywords
character set
mask
searched
interface
viewing area
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.)
Active
Application number
CN201410844225.5A
Other languages
Chinese (zh)
Other versions
CN104503679A (en
Inventor
谢军样
邱学侃
吴帅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201410844225.5A priority Critical patent/CN104503679B/en
Publication of CN104503679A publication Critical patent/CN104503679A/en
Application granted granted Critical
Publication of CN104503679B publication Critical patent/CN104503679B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本发明公开了一种基于终端界面触控操作进行搜索的方法及装置,涉及搜索技术领域,本发明通过接收用户在蒙板上的触控操作,根据所述触控操作在所述蒙板上选择待搜索界面区域,识别所述待搜索界面区域内包含的第一字符集合,对所述待搜索界面区域进行扩展,识别扩展后的待搜索界面区域内包含的第二字符集合,根据所述第二字符集合对所述第一字符集合进行校验,根据校验后的第一字符集合进行搜索,不仅省略了用户繁琐地向搜索框中输入关键词的过程,使得搜索更加便捷,还避免了识别出的第一字符集合不准确的问题,提高了用户体验。

The invention discloses a method and device for searching based on terminal interface touch operation, and relates to the field of search technology. The invention receives a user's touch operation on the mask, and according to the touch operation on the mask Select the interface area to be searched, identify the first set of characters contained in the interface area to be searched, expand the interface area to be searched, and identify the second set of characters contained in the expanded interface area to be searched, according to the The second character set verifies the first character set, and searches according to the verified first character set, which not only omits the cumbersome process of the user inputting keywords into the search box, makes the search more convenient, but also avoids The problem of the inaccuracy of the recognized first character set is solved, and the user experience is improved.

Description

一种基于终端界面触控操作进行搜索的方法及装置A method and device for searching based on terminal interface touch operation

技术领域technical field

本发明涉及搜索技术领域,特别涉及一种基于终端界面触控操作进行搜索的方法及装置。The present invention relates to the field of search technologies, and in particular to a method and device for searching based on terminal interface touch operations.

背景技术Background technique

终端(例如:智能手机)上的搜索服务,都是基于搜索框输入的,用户需要繁琐地向搜索框中输入关键词,才能由搜索引擎将与关键词相关的搜索结果展示于终端显示界面上,但该搜索方式的效率很低,搜索体验非常差。The search service on the terminal (for example: smartphone) is based on the input of the search box. The user needs to input keywords into the search box cumbersomely, so that the search engine can display the search results related to the keyword on the terminal display interface. , but the efficiency of this search method is very low, and the search experience is very poor.

尤其是用户在使用终端的过程中,当对终端显示界面上的字符有即时的搜索需求时,需要先打开搜索应用程序,在应用程序弹出搜索框中后,在搜索框中再输入关键词,非常的不便捷。Especially in the process of using the terminal, when the user has an immediate search demand for the characters on the terminal display interface, he needs to open the search application first, and then enter the keyword in the search box after the application pops up the search box. Very inconvenient.

发明内容Contents of the invention

鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的一种基于终端界面触控操作进行搜索的方法和相应的一种基于终端界面触控操作进行搜索的系统。In view of the above problems, the present invention is proposed to provide a method for searching based on terminal interface touch operations and a corresponding system for searching based on terminal interface touch operations that overcome the above problems or at least partially solve the above problems .

依据本发明的一个方面,提供了一种基于终端界面触控操作进行搜索的方法,所述方法包括:According to one aspect of the present invention, there is provided a method for searching based on a terminal interface touch operation, the method comprising:

当用户触发界面触控搜索请求时,在所述终端当前界面显示区域生成覆盖所述终端界面显示区域的蒙板;When the user triggers an interface touch search request, a mask covering the terminal interface display area is generated in the current interface display area of the terminal;

接收用户在所述蒙板上的触控操作,并根据所述触控操作在所述蒙板上选择待搜索界面区域;receiving a user's touch operation on the mask, and selecting an interface area to be searched on the mask according to the touch operation;

识别所述待搜索界面区域内包含的第一字符集合,对所述待搜索界面区域进行扩展,识别扩展后的待搜索界面区域内包含的第二字符集合,根据所述第二字符集合对所述第一字符集合进行校验,根据校验后的第一字符集合进行搜索。Identifying the first set of characters contained in the interface area to be searched, expanding the interface area to be searched, identifying the second set of characters contained in the expanded interface area to be searched, and analyzing the set of characters according to the second set of characters The first character set is verified, and the search is performed according to the verified first character set.

可选地,所述根据所述第二字符集合对所述第一字符集合进行校验,进一步包括:Optionally, the verifying the first character set according to the second character set further includes:

获取所述第二字符集合与所述第一字符集合的最大公共字符集合,若所述最大公共字符集合与第一字符集合相同,则将第一字符集合直接作为校验后的第一字符集合;若所述最大公共字符集合为第一字符集合中的子集合,则以所述子集合为基础从第二字符集合中提取与第一字符集合相同长度、位置对应的字符集合作为校验后的第一字符集合。Obtain the largest common character set between the second character set and the first character set, and if the largest common character set is the same as the first character set, use the first character set directly as the verified first character set ; If the largest public character set is a subset of the first character set, then based on the subset, extract a character set with the same length and position corresponding to the first character set from the second character set as the verified The first character set of .

可选地,所述识别所述待搜索界面区域内包含的第一字符集合,进一步包括:Optionally, the identifying the first character set contained in the interface area to be searched further includes:

在所述蒙板上选取所述待搜索界面区域所在的最小矩形框,识别所述最小矩形框内包含的第一字符集合。Selecting the smallest rectangular frame where the interface area to be searched is located on the mask, and identifying the first character set contained in the smallest rectangular frame.

可选地,所述对所述待搜索界面区域进行扩展,识别扩展后的待搜索界面区域内包含的第二字符集合,进一步包括:Optionally, the expanding the interface area to be searched and identifying the second character set contained in the expanded interface area to be searched further includes:

将所述最小矩形框沿四周扩展,并在所述蒙板上选取扩展后的矩形框,识别所述扩展后的矩形框内包含的第二字符集合。Expanding the smallest rectangular frame around, selecting the expanded rectangular frame on the mask, and identifying the second set of characters contained in the expanded rectangular frame.

可选地,所述在所述终端当前界面显示区域生成覆盖所述终端界面显示区域的蒙板,进一步包括:Optionally, the generating a mask covering the terminal interface display area in the current interface display area of the terminal further includes:

将终端当前界面显示区域进行截屏,以获得所述终端当前界面显示区域的截图,并将所述截图作为覆盖所述终端界面显示区域的蒙板;Taking a screenshot of the current interface display area of the terminal to obtain a screenshot of the current interface display area of the terminal, and using the screenshot as a mask covering the display area of the terminal interface;

可选地,所述将所述截图作为覆盖所述终端界面显示区域的蒙板,进一步包括:Optionally, using the screenshot as a mask covering the display area of the terminal interface further includes:

将所述截图作为覆盖所述终端界面显示区域的处于半透明状态的蒙板。The screenshot is used as a mask in a translucent state covering the display area of the terminal interface.

可选地,所述接收用户在所述蒙板上的触控操作,并根据所述触控操作在所述蒙板上选择待搜索界面区域,进一步包括:Optionally, receiving a user's touch operation on the mask, and selecting an interface area to be searched on the mask according to the touch operation further includes:

检测基于用户在所述蒙板上的触控操作所产生的触摸轨迹,在所述蒙板上显示与所述触摸轨迹相应的待搜索界面区域,所述待搜索界面区域的展示方式区别于与所述蒙板上的其他区域。Detecting the touch track generated based on the user's touch operation on the mask, displaying the interface area to be searched corresponding to the touch track on the mask, the display mode of the interface area to be searched is different from that of Other areas on the mask.

可选地,所述待搜索界面区域的展示方式为高亮或全透明的形式展示;Optionally, the display mode of the interface area to be searched is highlighted or fully transparent;

和/或,and / or,

所述蒙板上的其他区域以灰度、模糊化或半透明的形式展示。Other areas on the mask are displayed in grayscale, blurred, or translucent.

可选地,所述根据校验后的第一字符集合进行搜索,进一步包括:Optionally, the searching according to the verified first character set further includes:

去除所述蒙板,将所述校验后的第一字符集合推送至位于所述终端界面显示区域的搜索框中;removing the mask, and pushing the verified first character set to a search box located in the display area of the terminal interface;

若用户点击设于所述终端界面显示区域内的第一图标,则根据所述校验后的第一字符集合进行搜索。If the user clicks on the first icon set in the display area of the terminal interface, a search is performed according to the verified first character set.

可选地,所述识别所述待搜索界面区域内包含的第一字符集合之前,所述方法还包括:Optionally, before identifying the first set of characters included in the interface area to be searched, the method further includes:

若用户点击设于所述蒙板内的第二图标,则触发识别所述待搜索界面区域内包含的第一字符集合。If the user clicks on the second icon set in the mask, it triggers recognition of the first character set contained in the interface area to be searched.

可选地,所述根据校验后的第一字符集合进行搜索之后,所述方法还包括:Optionally, after searching according to the verified first character set, the method further includes:

在所述终端界面显示区域中展示与所述校验后的第一字符集合相关的搜索结果项。Displaying search result items related to the verified first character set in the display area of the terminal interface.

可选地,所述在所述终端界面显示区域中展示与所述校验后的第一字符集合相关的搜索结果项,进一步包括:Optionally, displaying search result items related to the verified first character set in the display area of the terminal interface further includes:

在所述终端界面显示区域中以应用卡片、文字条目及图文结合的形式展示与所述校验后的第一字符集合相关的搜索结果项。The search result items related to the verified first character set are displayed in the display area of the terminal interface in the form of application cards, text entries, and a combination of graphics and text.

可选地,所述字符集合包括:文字和符号中的至少一种。Optionally, the character set includes: at least one of characters and symbols.

依据本发明的另一个方面,提供了一种基于终端界面触控操作进行搜索的装置,所述装置包括:According to another aspect of the present invention, a device for searching based on touch operations on a terminal interface is provided, and the device includes:

蒙板生成器,适于当用户触发界面触控搜索请求时,在所述终端当前界面显示区域生成覆盖所述终端界面显示区域的蒙板;The mask generator is adapted to generate a mask covering the terminal interface display area in the current interface display area of the terminal when the user triggers an interface touch search request;

触控接收器,适于接收用户在所述蒙板上的触控操作,并根据所述触控操作在所述蒙板上选择待搜索界面区域;A touch receiver, adapted to receive a user's touch operation on the mask, and select an interface area to be searched on the mask according to the touch operation;

识别搜索器,适于识别所述待搜索界面区域内包含的第一字符集合,对所述待搜索界面区域进行扩展,识别扩展后的待搜索界面区域内包含的第二字符集合,根据所述第二字符集合对所述第一字符集合进行校验,根据校验后的第一字符集合进行搜索。A recognition searcher, adapted to identify the first set of characters contained in the interface area to be searched, expand the interface area to be searched, and identify the second set of characters contained in the expanded interface area to be searched, according to the The second character set checks the first character set, and searches according to the checked first character set.

可选地,所述识别搜索器,还适于获取所述第二字符集合与所述第一字符集合的最大公共字符集合,若所述最大公共字符集合与第一字符集合相同,则将第一字符集合直接作为校验后的第一字符集合;若所述最大公共字符集合为第一字符集合中的子集合,则以所述子集合为基础从第二字符集合中提取与第一字符集合相同长度、位置对应的字符集合作为校验后的第一字符集合。Optionally, the recognition searcher is further adapted to obtain the largest common character set between the second character set and the first character set, and if the largest common character set is the same as the first character set, the second A character set is directly used as the first character set after verification; if the largest common character set is a subset of the first character set, then based on the subset, extract the same character as the first character from the second character set Set the character sets with the same length and corresponding positions as the first character set after verification.

可选地,所述识别搜索器,还适于在所述蒙板上选取所述待搜索界面区域所在的最小矩形框,识别所述最小矩形框内包含的第一字符集合。Optionally, the recognition searcher is further adapted to select the smallest rectangular frame where the interface area to be searched is located on the mask, and recognize the first set of characters contained in the smallest rectangular frame.

可选地,所述识别搜索器,还适于将所述最小矩形框沿四周扩展,并在所述蒙板上选取扩展后的矩形框,识别所述扩展后的矩形框内包含的第二字符集合。Optionally, the identification searcher is further adapted to expand the minimum rectangular frame around, select the expanded rectangular frame on the mask, and identify the second collection of characters.

可选地,所述蒙板生成器,还适于将终端当前界面显示区域进行截屏,以获得所述终端当前界面显示区域的截图,并将所述截图作为覆盖所述终端界面显示区域的蒙板;Optionally, the mask generator is further adapted to take a screenshot of the current interface display area of the terminal to obtain a screenshot of the current interface display area of the terminal, and use the screenshot as a mask covering the display area of the terminal interface plate;

可选地,所述蒙板生成器,还适于将所述截图作为覆盖所述终端界面显示区域的处于半透明状态的蒙板。Optionally, the mask generator is further adapted to use the screenshot as a mask in a translucent state covering the display area of the terminal interface.

可选地,所述触控接收器,适于检测基于用户在所述蒙板上的触控操作所产生的触摸轨迹,在所述蒙板上显示与所述触摸轨迹相应的待搜索界面区域,所述待搜索界面区域的展示方式区别于与所述蒙板上的其他区域。Optionally, the touch receiver is adapted to detect a touch track generated based on a user's touch operation on the mask, and display an interface area to be searched corresponding to the touch track on the mask , the display mode of the interface area to be searched is different from other areas on the mask.

可选地,所述待搜索界面区域的展示方式为高亮或全透明的形式展示;Optionally, the display mode of the interface area to be searched is highlighted or fully transparent;

和/或,and / or,

所述蒙板上的其他区域以灰度、模糊化或半透明的形式展示。Other areas on the mask are displayed in grayscale, blurred, or translucent.

可选地,所述识别搜索器,还适于去除所述蒙板,将所述校验后的第一字符集合推送至位于所述终端界面显示区域的搜索框中;Optionally, the recognition searcher is further adapted to remove the mask, and push the verified first character set to a search box located in the display area of the terminal interface;

当用户点击设于所述终端界面显示区域内的第一图标时,所述识别搜索器,还适于根据所述校验后的第一字符集合进行搜索。When the user clicks on the first icon set in the display area of the terminal interface, the recognition searcher is further adapted to search according to the verified first character set.

可选地,当用户点击设于所述蒙板内的第二图标时,所述识别搜索器,还适于触发识别所述待搜索界面区域内包含的第一字符集合。Optionally, when the user clicks on the second icon set in the mask, the recognition searcher is further adapted to trigger recognition of the first character set contained in the interface area to be searched.

可选地,所述装置,还包括:搜索展示器,适于在所述终端界面显示区域中展示与所述校验后的第一字符集合相关的搜索结果项。Optionally, the device further includes: a search displayer, adapted to display search result items related to the verified first character set in a display area of the terminal interface.

可选地,所述搜索展示器,还适于在所述终端界面显示区域中以应用卡片、文字条目及图文结合的形式展示与所述校验后的第一字符集合相关的搜索结果项。Optionally, the search displayer is further adapted to display search result items related to the verified first character set in the display area of the terminal interface in the form of application cards, text entries, and a combination of graphics and text .

可选地,所述字符集合包括:文字和符号中的至少一种。Optionally, the character set includes: at least one of characters and symbols.

本发明通过接收用户在蒙板上的触控操作,根据所述触控操作在所述蒙板上选择待搜索界面区域,识别所述待搜索界面区域内包含的第一字符集合,对所述待搜索界面区域进行扩展,识别扩展后的待搜索界面区域内包含的第二字符集合,根据所述第二字符集合对所述第一字符集合进行校验,根据校验后的第一字符集合进行搜索,不仅省略了用户繁琐地向搜索框中输入关键词的过程,使得搜索更加便捷,还避免了识别出的第一字符集合不准确的问题,提高了用户体验。In the present invention, by receiving the user's touch operation on the mask, selecting an interface area to be searched on the mask according to the touch operation, identifying the first character set contained in the interface area to be searched, and Expand the interface area to be searched, identify the second character set contained in the expanded interface area to be searched, verify the first character set according to the second character set, and verify the first character set according to the verified first character set Searching not only omits the cumbersome process of the user inputting keywords into the search box, making the search more convenient, but also avoids the problem of inaccurately recognized first character sets, and improves user experience.

附图说明Description of drawings

通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiment. The drawings are only for the purpose of illustrating a preferred embodiment and are not to be considered as limiting the invention. Also throughout the drawings, the same reference numerals are used to designate the same parts. In the attached picture:

图1是本发明一个实施例的一种基于终端界面触控操作进行搜索的方法的步骤流程图;FIG. 1 is a flow chart of steps of a method for searching based on terminal interface touch operations according to an embodiment of the present invention;

图2是本发明一个实施例的一种基于终端界面触控操作进行搜索的方法的步骤流程图;FIG. 2 is a flow chart of steps of a method for searching based on terminal interface touch operations according to an embodiment of the present invention;

图3是本发明一个实施例的一种基于终端界面触控操作进行搜索的方法的步骤流程图;FIG. 3 is a flow chart of steps of a method for searching based on terminal interface touch operations according to an embodiment of the present invention;

图4是本发明一个实施例的一种基于终端界面触控操作进行搜索的装置的结构框图;Fig. 4 is a structural block diagram of a device for searching based on terminal interface touch operation according to an embodiment of the present invention;

图5是本发明一个实施例的一种基于终端界面触控操作进行搜索的装置的结构框图。FIG. 5 is a structural block diagram of an apparatus for searching based on a terminal interface touch operation according to an embodiment of the present invention.

具体实施方式detailed description

下面结合附图和实施例,对本发明的具体实施方式作进一步详细描述。以下实施例用于说明本发明,但不用来限制本发明的范围。The specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.

图1是本发明一个实施例的一种基于终端界面触控操作进行搜索的方法的步骤流程图;参照图1,所述方法包括:Fig. 1 is a flow chart of steps of a method for searching based on terminal interface touch operation according to an embodiment of the present invention; referring to Fig. 1 , the method includes:

S101:当用户触发界面触控搜索请求时,在所述终端当前界面显示区域生成覆盖所述终端界面显示区域的蒙板;S101: When the user triggers an interface touch search request, generate a mask covering the terminal interface display area in the current interface display area of the terminal;

需要说明的是,用户可通过多种方式实现触发界面触控搜索请求,比如用户可以触发屏幕上的搜索悬浮窗,或者通过一些按钮或手势等快捷方式来触发界面触控搜索请求,本发明实施例对此不加以限制。It should be noted that the user can trigger the interface touch search request in a variety of ways, for example, the user can trigger the search floating window on the screen, or trigger the interface touch search request through some shortcuts such as buttons or gestures. The example does not limit this.

S102:接收用户在所述蒙板上的触控操作,并根据所述触控操作在所述蒙板上选择待搜索界面区域;S102: Receive a user's touch operation on the mask, and select an interface area to be searched on the mask according to the touch operation;

可理解的是,用户在蒙板上的触控操作,比如用户通过手指或感应笔来触控屏幕控制的触摸点,选择的方式可以以手指/触控笔等在屏幕上的滑动、或圈定等,从而选择出所述待搜索界面区域等等。It is understandable that the user's touch operation on the mask, such as the user touching the touch point controlled by the screen with a finger or a sensor pen, can be selected by sliding the finger/stylus on the screen, or delineating and so on, so as to select the interface area to be searched and so on.

S103:识别所述待搜索界面区域内包含的第一字符集合,对所述待搜索界面区域进行扩展,识别扩展后的待搜索界面区域内包含的第二字符集合,根据所述第二字符集合对所述第一字符集合进行校验,根据校验后的第一字符集合进行搜索。S103: Identify the first character set contained in the interface area to be searched, expand the interface area to be searched, identify the second character set contained in the expanded interface area to be searched, and according to the second character set Verifying the first character set, and searching according to the verified first character set.

所述字符集合的类型包括但不仅限于:文字和符号。The type of the character set includes but not limited to: characters and symbols.

可理解的是,识别所述待搜索界面区域内包含的第一字符集合和/或识别扩展后的待搜索界面区域内包含的第二字符集合时,识别的方式可以有多种,比如可以通过OCR光学字符识别技术实现字符集合的识别,也可以通过调用操作系统支持的控件来识别字符集合,比如Uiautomater控件,当然也以及利用其他的识别技术,也可以多种识别技术相结合,提高识别准确度。It can be understood that when identifying the first set of characters contained in the interface area to be searched and/or identifying the second set of characters contained in the expanded interface area to be searched, there may be multiple ways of identification, for example, by OCR optical character recognition technology realizes the recognition of character sets, and can also identify character sets by calling controls supported by the operating system, such as Uiautomater controls. Of course, other recognition technologies can also be used to combine multiple recognition technologies to improve recognition accuracy. Spend.

本实施例中,根据校验后的第一字符集合直接跳转到搜索界面,从而省略了用户繁琐地向搜索框中输入关键词的过程,或者用户需要先复制页面内容,再开启搜索客户端粘贴到搜索框的繁琐过程,使得整个搜索交互更加便捷。In this embodiment, jump directly to the search interface according to the verified first character set, thereby omitting the cumbersome process of the user inputting keywords into the search box, or the user needs to copy the content of the page first, and then open the search client The cumbersome process of pasting into the search box makes the entire search interaction more convenient.

需要说明的是,在识别所述待搜索界面区域内包含的第一字符集合时,所述待搜索界面区域有时会出现偏差,从而导致所述待搜索界面区域仅覆盖到蒙板上某些字符的部分,使得识别出的第一字符集合不准确,影响用户体验,本实施例中,通过对所述待搜索界面区域进行扩展,并识别扩展后的待搜索界面区域内包含的第二字符集合,根据所述第二字符集合对所述第一字符集合进行校验,从而有效地克服了该问题。It should be noted that, when identifying the first set of characters contained in the interface area to be searched, the interface area to be searched sometimes deviates, thus causing the interface area to be searched to only cover certain characters on the mask part, which makes the identified first set of characters inaccurate and affects user experience. In this embodiment, by expanding the area of the interface to be searched, and identifying the second set of characters contained in the expanded interface area to be searched , verifying the first character set according to the second character set, thus effectively overcoming this problem.

可理解的是,步骤S102接收到的触控操作可能为单次,也可能为多次,当触控操作为多次,在根据多次触控操作在所述蒙板上选择待搜索界面区域时,一般的处理方式是将所述蒙板上的多次触控操作作为一个整体,但这种选择方式会使得所述待搜索界面区域内包含了多余的字符,而影响搜索的精度,而本实施例中,接收用户在所述蒙板上的多次触控操作,根据所述多次触控操作之间的重合度在所述蒙板上选择待搜索界面区域,识别所述待搜索界面区域内包含的第一字符集合,根据校验后的第一字符集合进行搜索,避免了所述待搜索界面区域内包含多余的字符,提高了搜索的精度。It can be understood that the touch operation received in step S102 may be single or multiple times. When the touch operation is multiple times, the interface area to be searched is selected on the mask according to the multiple touch operations , the general processing method is to take the multiple touch operations on the mask as a whole, but this selection method will cause redundant characters to be included in the interface area to be searched, which will affect the accuracy of the search. In this embodiment, multiple touch operations by the user on the mask are received, and an interface area to be searched is selected on the mask according to the degree of overlap between the multiple touch operations, and the area to be searched is identified. The first character set contained in the interface area is searched according to the verified first character set, which avoids redundant characters contained in the interface area to be searched, and improves search accuracy.

需要说明的是,根据所述多次触控操作之间的重合度在所述蒙板上选择待搜索界面区域时,可采用多种方式,而本实施例中,判断两个待搜索界面区域之间的重合度是否小于重合阈值,若不小于,则将该两个待搜索界面区域合并为一个待搜索界面区域,否则将该两个待搜索界面区域作为独立的两个待搜索界面区域,进一步避免了所述待搜索界面区域内包含多余的字符,提供了搜索的精度。It should be noted that when selecting the interface area to be searched on the mask according to the coincidence degree between the multiple touch operations, various methods can be adopted, and in this embodiment, two interface areas to be searched are determined Whether the coincidence degree between is less than the coincidence threshold, if not less than, the two interface areas to be searched are merged into one interface area to be searched, otherwise the two interface areas to be searched are regarded as two independent interface areas to be searched, It further avoids redundant characters contained in the area of the interface to be searched, and improves search accuracy.

图2是本发明一个实施例的一种基于终端界面触控操作进行搜索的方法的步骤流程图;参照图2,所述方法包括:Fig. 2 is a flow chart of the steps of a method for searching based on a terminal interface touch operation according to an embodiment of the present invention; referring to Fig. 2 , the method includes:

S201:将终端当前界面显示区域进行截屏,以获得所述终端当前界面显示区域的截图,并将所述截图作为覆盖所述终端界面显示区域的蒙板;S201: Screenshot the current interface display area of the terminal to obtain a screenshot of the current interface display area of the terminal, and use the screenshot as a mask covering the terminal interface display area;

可理解的是,先将终端当前界面显示区域进行截屏,再将截图作为覆盖所述终端界面显示区域的蒙板,能够使终端后台运行的应用或程序不造成影响,在整个搜索交互结束后又能回到原来的浏览界面,进而在一定程度上提高用户体验。It is understandable that firstly taking a screenshot of the display area of the current interface of the terminal, and then using the screenshot as a mask covering the display area of the terminal interface, so that the applications or programs running in the background of the terminal will not be affected, and after the entire search interaction ends, the screen will be displayed again. It can return to the original browsing interface, thereby improving the user experience to a certain extent.

当然,若仅将所述截图作为覆盖所述终端界面显示区域的纯透明蒙板,由于所述蒙板与所述终端界面显示区域所展示的内容一致,可能让用户误认为终端没有产生响应,为避免该问题的产生,本实施例中,将所述蒙板设为半透明状态,能够有效提示用户。Of course, if the screenshot is only used as a pure transparent mask covering the display area of the terminal interface, since the mask is consistent with the content displayed in the display area of the terminal interface, the user may mistakenly believe that the terminal has not responded. In order to avoid this problem, in this embodiment, the mask is set to a translucent state, which can effectively prompt the user.

S202:检测基于用户在所述蒙板上的触控操作所产生的触摸轨迹,在所述蒙板上显示与所述触摸轨迹相应的待搜索界面区域,所述待搜索界面区域的展示方式区别于与所述蒙板上的其他区域;S202: Detect the touch track generated based on the user's touch operation on the mask, and display the interface area to be searched corresponding to the touch track on the mask, and the display modes of the interface area to be searched are different other areas on the mask;

需要说明的是,在所述蒙板上选择待搜索界面区域时,若所述待搜索界面区域的展现方式不与所述蒙板上的其他区域区分开,会使得用户难以确定所述待搜索界面区域内的字符集合,为避免出现该问题,本实施例中,将所述待搜索界面区域的展现方式区别于所述蒙板上的其他区域。It should be noted that, when selecting an interface area to be searched on the mask, if the display mode of the interface area to be searched is not distinguished from other areas on the mask, it will make it difficult for the user to determine the interface area to be searched. The set of characters in the interface area. In order to avoid this problem, in this embodiment, the display mode of the interface area to be searched is different from that of other areas on the mask.

当然,为实现展现方式的区别,可采用很多种展现方式,本实施例中,可将所述待搜索界面区域的展示方式为高亮或全透明的形式展示,而所述蒙板上的其他区域可仍保持以半透明的形式展现,也可以灰度或者模糊化的形式展现,将所述蒙板上的其他区域采用灰度的形式展现,将所述待搜索界面区域采用全透明的形式展现,当然,也可采用其他方式来实现展现方式的区别,本发明实施例对此不加以限制。Of course, in order to realize the difference in display methods, many display methods can be used. In this embodiment, the display method of the interface area to be searched can be displayed in a highlighted or fully transparent form, while other display methods on the mask The area can still be displayed in a semi-transparent form, or it can be displayed in a grayscale or blurred form. Other areas on the mask are displayed in a grayscale form, and the interface area to be searched is fully transparent. For presentation, of course, other ways may also be used to realize the difference in presentation manners, which is not limited in this embodiment of the present invention.

故而,步骤S202实质上为图1所示的实施例中步骤S102的一种优选实施方式。Therefore, step S202 is essentially a preferred implementation of step S102 in the embodiment shown in FIG. 1 .

S203:识别所述待搜索界面区域内包含的第一字符集合,对所述待搜索界面区域进行扩展,识别扩展后的待搜索界面区域内包含的第二字符集合,去除所述蒙板,获取所述第二字符集合与所述第一字符集合的最大公共字符集合,若所述最大公共字符集合与第一字符集合相同,则将第一字符集合直接作为校验后的第一字符集合;若所述最大公共字符集合为第一字符集合中的子集合,则以所述子集合为基础从第二字符集合中提取与第一字符集合相同长度、位置对应的字符集合作为校验后的第一字符集合,将所述校验后的第一字符集合推送至位于所述终端界面显示区域的搜索框中;若用户点击设于所述终端界面显示区域内的第一图标,则根据所述校验后的第一字符集合进行搜索。S203: Identify the first set of characters included in the interface area to be searched, expand the interface area to be searched, identify the second set of characters included in the expanded interface area to be searched, remove the mask, and obtain The largest common character set of the second character set and the first character set, if the largest common character set is the same as the first character set, the first character set is directly used as the verified first character set; If the largest common character set is a subset of the first character set, then based on the subset, extract a character set with the same length and position corresponding to the first character set from the second character set as the verified The first character set, the first character set after the verification is pushed to the search box located in the display area of the terminal interface; if the user clicks on the first icon located in the display area of the terminal interface, then according to the The first character set after the verification is searched.

需要说明的是,在对第一字符集合进行校验后,需要将所述校验后的第一字符集合推送至位于所述终端界面显示区域的搜索框中,若仍保留所述蒙板,用户难以看到被推送至所述搜索框中的校验后的第一字符集合,故而需要去除所述蒙板。It should be noted that after verifying the first character set, the verified first character set needs to be pushed to the search box located in the display area of the terminal interface. If the mask is still retained, It is difficult for the user to see the verified first character set pushed into the search box, so the mask needs to be removed.

可理解的是,由于第二字符集合为识别扩展后的待搜索界面区域内所包含的字符集合,故而其比第一字符集合更加准确,同时所含的字符也可能会更多,故而本实施例中,获取第二字符集合与第一字符集合的最大公共字符集合,例如:第二字符集合为“ACDEFH”,第一字符集合为“ABDE”,此时,可确定所述最大公共字符集合为“DE”,由于最大公共字符集合与所述第一字符集合不相同,故而第一字符集合中存在识别错误的字符,所述最大公共字符集合为第一字符集合的子集合,以所述子集合为基础从所述第二字符集合中提取与第一字符集合相同长度、位置相应的字符集合“ACDE”作为校验后的第一字符集合。It can be understood that since the second character set is used to identify the character set included in the expanded interface area to be searched, it is more accurate than the first character set and may contain more characters, so this implementation In the example, obtain the largest common character set between the second character set and the first character set, for example: the second character set is "ACDEFH", and the first character set is "ABDE", at this time, the largest common character set can be determined is "DE", because the largest common character set is not the same as the first character set, there are misrecognized characters in the first character set, and the largest common character set is a subset of the first character set. Based on the sub-set, a character set “ACDE” with the same length and corresponding position as the first character set is extracted from the second character set as the verified first character set.

故而,步骤S203实质上为图1所示的实施例中步骤S103的一种优选实施方式。Therefore, step S203 is essentially a preferred implementation of step S103 in the embodiment shown in FIG. 1 .

可理解的是,由于要将所述校验后的第一字符集合推送至位于所述终端界面显示区域的搜索框中,需要先在所述终端界面显示区域内弹出搜索框。It can be understood that, since the verified first character set is to be pushed to the search box located in the display area of the terminal interface, a search box needs to be popped up in the display area of the terminal interface first.

为便于用户在对所述校验后的第一字符集合进行确认后,再进行搜索,故而,在用户点击触发搜索的第一图标后,再实现根据所述校验后的第一字符集合进行搜索。In order to facilitate the user to search after confirming the verified first character set, after the user clicks the first icon that triggers the search, the user can perform search based on the verified first character set. search.

需要说明的是,为尽可能地避免识别出多余的字符,本实施例中,采用在所述蒙板上选取每个待搜索界面区域所在的最小矩形框,识别所述最小矩形框内包含的第一字符集合的方式。It should be noted that, in order to avoid identifying redundant characters as much as possible, in this embodiment, the minimum rectangular frame where each interface area to be searched is selected on the mask is used to identify the characters contained in the minimum rectangular frame. The mode of the first character set.

相应地,识别扩展后的待搜索界面区域内包含的第二字符集合时,本实施例中,采用将所述最小矩形框沿四周扩展(可按照所述最小矩形框的预设比例进行扩展,例如:按照30%进行扩展),并在所述蒙板上选取扩展后的矩形框,识别所述扩展后的矩形框内包含的第二字符集合。Correspondingly, when identifying the second set of characters included in the expanded interface area to be searched, in this embodiment, the minimum rectangular frame is expanded around (it can be expanded according to the preset ratio of the minimum rectangular frame, For example: expand according to 30%), and select the expanded rectangular frame on the mask, and identify the second character set contained in the expanded rectangular frame.

识别所述矩形框内包含的字符集合时,可先确定所述矩形框的边界,再确定所述矩形框的左右上下四个坐标点,最后识别由所述四个坐标点所确定的矩形框内包含的字符集合。When identifying the character set contained in the rectangular frame, the boundary of the rectangular frame can be determined first, and then the four coordinate points of the left, right, upper, and lower sides of the rectangular frame can be determined, and finally the rectangular frame determined by the four coordinate points can be identified. The set of characters contained within.

图3是本发明一个实施例的一种基于终端界面触控操作进行搜索的方法的步骤流程图;参照图3,所述方法包括:Fig. 3 is a flow chart of steps of a method for searching based on terminal interface touch operation according to an embodiment of the present invention; referring to Fig. 3 , the method includes:

S301:当用户触发界面触控搜索请求时,在所述终端当前界面显示区域生成覆盖所述终端界面显示区域的蒙板;S301: When the user triggers an interface touch search request, generate a mask covering the terminal interface display area in the current interface display area of the terminal;

S302:接收用户在所述蒙板上的触控操作,并根据所述触控操作在所述蒙板上选择待搜索界面区域;S302: Receive a user's touch operation on the mask, and select an interface area to be searched on the mask according to the touch operation;

S303:识别所述待搜索界面区域内包含的第一字符集合,对所述待搜索界面区域进行扩展,识别扩展后的待搜索界面区域内包含的第二字符集合,根据所述第二字符集合对所述第一字符集合进行校验,根据校验后的第一字符集合进行搜索。S303: Identify the first character set contained in the interface area to be searched, expand the interface area to be searched, identify the second character set contained in the expanded interface area to be searched, and according to the second character set Verifying the first character set, and searching according to the verified first character set.

需要说明的是,由于步骤S301~S303与图1所示的实施例的S101~S103基本相同,故而在此不再赘述。It should be noted that steps S301 to S303 are basically the same as steps S101 to S103 in the embodiment shown in FIG. 1 , so they will not be repeated here.

S304:在所述终端界面显示区域中展示与所述校验后的第一字符集合相关的搜索结果项。S304: Display search result items related to the verified first character set in the display area of the terminal interface.

需要说明的是,所述搜索结果项可采用多种形式进行展示,本实施例中,在所述终端界面显示区域中以应用卡片、文字条目及图文结合的形式展示与所述校验后的第一字符集合相关的搜索结果项,当然,也可采用其他形式方式进行展示,本发明实施例对此不加以限制。It should be noted that the search result items can be displayed in various forms. In this embodiment, the verified items are displayed in the display area of the terminal interface in the form of application cards, text entries, and a combination of graphics and text. The search result items related to the first character set of , of course, may also be displayed in other forms, which are not limited in this embodiment of the present invention.

可理解的是,为便于使用户对待搜索界面区域进行确认,再识别所述待搜索界面区域内包含的第一字符集合,可选地,在图1、2、3所示的实施例的基础上,所述识别所述待搜索界面区域内包含的第一字符集合之前,还包括:若用户点击设于所述蒙板内的第二图标,则触发识别所述待搜索界面区域内包含的第一字符集合。It can be understood that, in order to facilitate the user to confirm the interface area to be searched, and then identify the first character set contained in the interface area to be searched, optionally, on the basis of the embodiments shown in Figures 1, 2, and 3 Above, before the identifying the first character set included in the interface area to be searched, it further includes: if the user clicks on the second icon set in the mask, triggering the identification of the first character set included in the interface area to be searched The first set of characters.

当然,在所述蒙板内还可设置其他的图标,例如用于重新选择所述待搜索界面区域的重涂图标、用于退出的返回图标等,可根据需要进行增加,本发明实施例对此不加以限制。Of course, other icons can also be set in the mask, such as a repaint icon for reselecting the interface area to be searched, a return icon for exit, etc., which can be added as needed. This is not limited.

可理解的是,图1、2、3所示的实施例的方法的执行主体均为终端,所述终端可为带有触摸屏的台式电脑、笔记本、手机、平板电脑等设备,本发明实施例对此不加以限制。It can be understood that the execution subjects of the methods in the embodiments shown in Figures 1, 2, and 3 are all terminals, and the terminals can be devices such as desktop computers, notebooks, mobile phones, and tablet computers with touch screens. There are no restrictions on this.

对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明实施例并不受所描述的动作顺序的限制,因为依据本发明实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本发明实施例所必须的。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 order, because according to the embodiment of the present invention , certain steps may be performed in other order 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.

图4是本发明一个实施例的一种基于终端界面触控操作进行搜索的装置的结构框图;参照图4,所述装置包括:Fig. 4 is a structural block diagram of a device for searching based on a terminal interface touch operation according to an embodiment of the present invention; referring to Fig. 4 , the device includes:

蒙板生成器401,适于当用户触发界面触控搜索请求时,在所述终端当前界面显示区域生成覆盖所述终端界面显示区域的蒙板;The mask generator 401 is adapted to generate a mask covering the terminal interface display area in the current interface display area of the terminal when the user triggers an interface touch search request;

触控接收器402,适于接收用户在所述蒙板上的触控操作,并根据所述触控操作在所述蒙板上选择待搜索界面区域;The touch receiver 402 is adapted to receive a user's touch operation on the mask, and select an interface area to be searched on the mask according to the touch operation;

识别搜索器403,适于识别所述待搜索界面区域内包含的第一字符集合,对所述待搜索界面区域进行扩展,识别扩展后的待搜索界面区域内包含的第二字符集合,根据所述第二字符集合对所述第一字符集合进行校验,根据校验后的第一字符集合进行搜索。The identification searcher 403 is adapted to identify the first character set contained in the interface area to be searched, expand the interface area to be searched, and identify the second character set contained in the expanded interface area to be searched, according to the The second set of characters is checked against the first set of characters, and the search is performed according to the checked first set of characters.

在本发明的一种可选实施例中,所述识别搜索器,还适于获取所述第二字符集合与所述第一字符集合的最大公共字符集合,若所述最大公共字符集合与第一字符集合相同,则将第一字符集合直接作为校验后的第一字符集合;若所述最大公共字符集合为第一字符集合中的子集合,则以所述子集合为基础从第二字符集合中提取与第一字符集合相同长度、位置对应的字符集合作为校验后的第一字符集合。In an optional embodiment of the present invention, the recognition searcher is further adapted to obtain the largest common character set between the second character set and the first character set, if the largest common character set is the same as the first character set If the character sets are the same, then the first character set is directly used as the first character set after verification; if the largest common character set is a subset of the first character set, then based on the subset from the second A character set with the same length and corresponding position as the first character set is extracted from the character set as the verified first character set.

在本发明的一种可选实施例中,所述识别搜索器,还适于在所述蒙板上选取所述待搜索界面区域所在的最小矩形框,识别所述最小矩形框内包含的第一字符集合。In an optional embodiment of the present invention, the identification searcher is further adapted to select the smallest rectangular frame where the interface area to be searched is located on the mask, and identify the first rectangular frame contained in the smallest rectangular frame. A collection of characters.

在本发明的一种可选实施例中,所述识别搜索器,还适于将所述最小矩形框沿四周扩展,并在所述蒙板上选取扩展后的矩形框,识别所述扩展后的矩形框内包含的第二字符集合。In an optional embodiment of the present invention, the identification searcher is further adapted to expand the minimum rectangular frame around, select the expanded rectangular frame on the mask, and identify the expanded rectangular frame. The second set of characters contained in the rectangular box of .

在本发明的一种可选实施例中,所述蒙板生成器,还适于将终端当前界面显示区域进行截屏,以获得所述终端当前界面显示区域的截图,并将所述截图作为覆盖所述终端界面显示区域的蒙板;In an optional embodiment of the present invention, the mask generator is further adapted to take a screenshot of the display area of the current interface of the terminal to obtain a screenshot of the display area of the current interface of the terminal, and use the screenshot as an overlay The mask of the display area of the terminal interface;

在本发明的一种可选实施例中,所述蒙板生成器,还适于将所述截图作为覆盖所述终端界面显示区域的处于半透明状态的蒙板。In an optional embodiment of the present invention, the mask generator is further adapted to use the screenshot as a mask in a translucent state covering the display area of the terminal interface.

在本发明的一种可选实施例中,所述触控接收器,适于检测基于用户在所述蒙板上的触控操作所产生的触摸轨迹,在所述蒙板上显示与所述触摸轨迹相应的待搜索界面区域,所述待搜索界面区域的展示方式区别于与所述蒙板上的其他区域。In an optional embodiment of the present invention, the touch receiver is adapted to detect a touch track generated based on the user's touch operation on the mask, and display on the mask the same as the The interface area to be searched corresponding to the touch track, the display mode of the interface area to be searched is different from other areas on the mask.

在本发明的一种可选实施例中,所述待搜索界面区域的展示方式为高亮或全透明的形式展示;In an optional embodiment of the present invention, the display mode of the interface area to be searched is highlighted or fully transparent;

和/或,and / or,

所述蒙板上的其他区域以灰度、模糊化或半透明的形式展示。Other areas on the mask are displayed in grayscale, blurred, or translucent.

在本发明的一种可选实施例中,所述识别搜索器,还适于去除所述蒙板,将所述校验后的第一字符集合推送至位于所述终端界面显示区域的搜索框中;In an optional embodiment of the present invention, the recognition searcher is further adapted to remove the mask, and push the verified first character set to the search box located in the display area of the terminal interface middle;

当用户点击设于所述终端界面显示区域内的第一图标时,所述识别搜索器,还适于根据所述校验后的第一字符集合进行搜索。When the user clicks on the first icon set in the display area of the terminal interface, the recognition searcher is further adapted to search according to the verified first character set.

在本发明的一种可选实施例中,当用户点击设于所述蒙板内的第二图标时,所述识别搜索器,还适于触发识别所述待搜索界面区域内包含的第一字符集合。In an optional embodiment of the present invention, when the user clicks on the second icon set in the mask, the recognition searcher is further adapted to trigger the recognition of the first icon included in the interface area to be searched. collection of characters.

图5是本发明一个实施例的一种基于终端界面触控操作进行搜索的装置的结构框图;参照图5,所述装置包括:Fig. 5 is a structural block diagram of a device for searching based on a terminal interface touch operation according to an embodiment of the present invention; referring to Fig. 5 , the device includes:

蒙板生成器501,适于当用户触发界面触控搜索请求时,在所述终端当前界面显示区域生成覆盖所述终端界面显示区域的蒙板;The mask generator 501 is adapted to generate a mask covering the terminal interface display area in the current interface display area of the terminal when the user triggers an interface touch search request;

触控接收器502,适于接收用户在所述蒙板上的触控操作,并根据所述触控操作在所述蒙板上选择待搜索界面区域;The touch receiver 502 is adapted to receive a user's touch operation on the mask, and select an interface area to be searched on the mask according to the touch operation;

识别搜索器503,适于识别所述待搜索界面区域内包含的第一字符集合,对所述待搜索界面区域进行扩展,识别扩展后的待搜索界面区域内包含的第二字符集合,根据所述第二字符集合对所述第一字符集合进行校验,根据校验后的第一字符集合进行搜索。The identification searcher 503 is adapted to identify the first character set contained in the interface area to be searched, expand the interface area to be searched, and identify the second character set contained in the expanded interface area to be searched, according to the The second set of characters is checked against the first set of characters, and the search is performed according to the checked first set of characters.

搜索展示器504,适于在所述终端界面显示区域中展示与所述校验后的第一字符集合相关的搜索结果项。The search displayer 504 is adapted to display search result items related to the verified first character set in the display area of the terminal interface.

在本发明的一种可选实施例中,所述搜索展示器,还适于在所述终端界面显示区域中以应用卡片、文字条目及图文结合的形式展示与所述校验后的第一字符集合相关的搜索结果项。In an optional embodiment of the present invention, the search display device is further adapted to display the verified first search result in the display area of the terminal interface in the form of an application card, a text entry, and a combination of graphics and text. A search result item associated with a set of characters.

在本发明的一种可选实施例中,所述字符集合包括:文字和符号中的至少一种。In an optional embodiment of the present invention, the character set includes: at least one of characters and symbols.

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

应当注意的是,在本发明的系统的各个部件中,根据其要实现的功能而对其中的部件进行了逻辑划分,但是,本发明不受限于此,可以根据需要对各个部件进行重新划分或者组合,例如,可以将一些部件组合为单个部件,或者可以将一些部件进一步分解为更多的子部件。It should be noted that among the various components of the system of the present invention, the components are logically divided according to the functions to be realized, but the present invention is not limited thereto, and each component can be re-divided as required Or combined, for example, some components can be combined into a single component, or some components can be further broken down into more subcomponents.

本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的系统中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) may be used in practice to implement some or all functions of some or all components in the system according to the embodiments of the present invention. The present invention can also be implemented as an apparatus or an apparatus program (for example, a computer program and a computer program product) for performing a part or all of the methods described herein. Such a program for realizing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet site, or provided on a carrier signal, or provided in any other form.

应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means can be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. does not indicate any order. These words can be interpreted as names.

以上实施方式仅用于说明本发明,而并非对本发明的限制,有关技术领域的普通技术人员,在不脱离本发明的精神和范围的情况下,还可以做出各种变化和变型,因此所有等同的技术方案也属于本发明的范畴,本发明的专利保护范围应由权利要求限定。The above embodiments are only used to illustrate the present invention, but not to limit the present invention. Those of ordinary skill in the relevant technical field can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, all Equivalent technical solutions also belong to the category of the present invention, and the scope of patent protection of the present invention should be defined by the claims.

Claims (24)

1. a kind of method scanned for based on terminal interface touch control operation, it is characterised in that methods described includes:
When user triggers interface touch-control searching request, generate in the terminal current interface viewing area and cover terminal circle The mask of face viewing area;
Touch control operation of the receive user in the mask, and boundary to be searched is selected in the mask according to the touch control operation Face region;
The first character set included in the interface zone to be searched is recognized, the interface zone to be searched is extended, The second character set included in interface zone to be searched after identification extension, according to second character set to described first Character set is verified, according to verification after the first character set scan for;
Wherein, it is described first character set is verified according to second character set, further include:
The maximum common characters set of second character set and first character set is obtained, if the maximum public word Symbol set it is identical with the first character set, then by the first character set directly as verification after the first character set;If described Maximum common characters collection is combined into the subclass in the first character set, then based on the subclass from the second character set The first character set after character set corresponding with the first character set equal length, position is extracted as verification.
2. the method for claim 1, it is characterised in that first included in the identification interface zone to be searched Character set, further includes:
The minimum rectangle frame that the interface zone to be searched is located is chosen in the mask, the minimum rectangle inframe bag is recognized The first character set for containing.
3. method as described in any of claims 2, it is characterised in that described that the interface zone to be searched is expanded Exhibition, the second character set included in the interface zone to be searched after identification extension, further includes:
The minimum rectangle frame is extended along surrounding, and the rectangle frame after choosing extension in the mask, recognize the extension The second character set that rectangle inframe afterwards is included.
4. the method as any one of claim 1-2, it is characterised in that described in the terminal current interface viewing area Domain generates the mask for covering the terminal interface viewing area, further includes:
Terminal current interface viewing area is carried out into screenshotss, to obtain the sectional drawing of the terminal current interface viewing area, and will The sectional drawing is used as the mask for covering the terminal interface viewing area.
5. method as claimed in claim 4, it is characterised in that described to show the sectional drawing as the terminal interface is covered The mask in region, further includes:
Using the sectional drawing as the mask in translucent for covering the terminal interface viewing area.
6. method as claimed in claim 5, it is characterised in that touch control operation of the receive user in the mask, and Interface zone to be searched is selected in the mask according to the touch control operation, is further included:
Detection based on the touch track produced by touch control operation of the user in the mask, show in the mask with it is described The corresponding interface zone to be searched of touch track, the exhibition method of the interface zone to be searched is different from its in the mask His region.
7. method as claimed in claim 6, it is characterised in that the exhibition method of the interface zone to be searched is highlighted or complete Transparent form shows;
And/or,
Other regions in the mask are with the displaying of gray scale, obfuscation or translucent form.
8. the method as any one of claim 1-2, it is characterised in that it is described according to verification after the first character set Scan for, further include:
The mask is removed, the first character set after the verification is pushed to into searching positioned at the terminal interface viewing area In rope frame;
If user clicks on the first icon in the terminal interface viewing area, according to the first character after the verification Set is scanned for.
9. method as claimed in claim 8, it is characterised in that first included in the identification interface zone to be searched Before character set, methods described also includes:
If user clicks on the second icon in the mask, the included in the triggering identification interface zone to be searched One character set.
10. the method as any one of claim 1-2, it is characterised in that it is described according to verification after the first character set After conjunction is scanned for, methods described also includes:
Show the search result items related to the first character set after the verification in the terminal interface viewing area.
11. methods as claimed in claim 10, it is characterised in that described to show and institute in the terminal interface viewing area The related search result items of the first character set after verification are stated, is further included:
Shown and the verification in the form of combining using card, textual entry and picture and text in the terminal interface viewing area The related search result items of the first character set afterwards.
12. methods as any one of claim 1-2, it is characterised in that the character set includes:Word and symbol In at least one.
13. a kind of devices scanned for based on terminal interface touch control operation, it is characterised in that described device includes:
Mask maker, is suitable to when user triggers interface touch-control searching request, in terminal current interface viewing area life Into the mask for covering the terminal interface viewing area;
Touch-control receptor, is suitable to touch control operation of the receive user in the mask, and according to the touch control operation in the illiteracy Interface zone to be searched is selected on plate;
Identification searcher, is suitable to recognize the first character set included in the interface zone to be searched, to the boundary to be searched Face region is extended, the second character set included in the interface zone to be searched after identification extension, according to second word Symbol set first character set is verified, according to verification after the first character set scan for;
Wherein, the identification searcher, is further adapted for obtaining the most grand duke of second character set and first character set Altogether character set, if the maximum common characters set is identical with the first character set, by the first character set directly as The first character set after verification;If the maximum common characters collection is combined into the subclass in the first character set, with described Character set conduct corresponding with the first character set equal length, position is extracted from the second character set based on subclass The first character set after verification.
14. devices as claimed in claim 13, it is characterised in that the identification searcher, are further adapted for being selected in the mask The minimum rectangle frame that the interface zone to be searched is located is taken, the first character set that the minimum rectangle inframe is included is recognized.
15. devices as described in any of claims 14, it is characterised in that the identification searcher, being further adapted for will be described Minimum rectangle frame extends along surrounding, and the rectangle frame after choosing extension in the mask, recognizes the rectangle frame after the extension The second character set for inside including.
16. devices as any one of claim 13-14, it is characterised in that the mask maker, were further adapted for end End current interface viewing area carries out screenshotss, to obtain the sectional drawing of the terminal current interface viewing area, and by the sectional drawing As the mask for covering the terminal interface viewing area.
17. devices as claimed in claim 16, it is characterised in that the mask maker, be further adapted for using the sectional drawing as Cover the mask in translucent of the terminal interface viewing area.
18. devices as claimed in claim 17, it is characterised in that the touch-control receptor, are adapted to detect for based on user in institute The touch track produced by the touch control operation in mask is stated, shows corresponding with the touch track to be searched in the mask Interface zone, the exhibition method of the interface zone to be searched is different from other regions in the mask.
19. devices as claimed in claim 18, it is characterised in that the exhibition method of the interface zone to be searched for highlighted or The form of all-transparent shows;
And/or,
Other regions in the mask are with the displaying of gray scale, obfuscation or translucent form.
20. devices as any one of claim 13-14, it is characterised in that the identification searcher, are further adapted for removing The mask, the first character set after the verification is pushed in the search box of the terminal interface viewing area;
When user clicks on the first icon in the terminal interface viewing area, the identification searcher is further adapted for root Scan for according to the first character set after the verification.
21. devices as claimed in claim 20, it is characterised in that when user clicks on the second icon in the mask When, the identification searcher is further adapted for triggering the first character set included in the identification interface zone to be searched.
22. devices as any one of claim 13-14, it is characterised in that described device, also include:Search shows Device, is suitable to show the Search Results related to the first character set after the verification in the terminal interface viewing area .
23. devices as claimed in claim 22, it is characterised in that the search display device, are further adapted in the terminal interface Shown and the first character set phase after the verification in the form of combining using card, textual entry and picture and text in viewing area The search result items of pass.
24. devices as any one of claim 13-14, it is characterised in that the character set includes:Word and symbol At least one in number.
CN201410844225.5A 2014-12-30 2014-12-30 Searching method and searching device based on terminal interface touch operation Active CN104503679B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410844225.5A CN104503679B (en) 2014-12-30 2014-12-30 Searching method and searching device based on terminal interface touch operation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410844225.5A CN104503679B (en) 2014-12-30 2014-12-30 Searching method and searching device based on terminal interface touch operation

Publications (2)

Publication Number Publication Date
CN104503679A CN104503679A (en) 2015-04-08
CN104503679B true CN104503679B (en) 2017-04-12

Family

ID=52945080

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410844225.5A Active CN104503679B (en) 2014-12-30 2014-12-30 Searching method and searching device based on terminal interface touch operation

Country Status (1)

Country Link
CN (1) CN104503679B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105868385B (en) * 2014-12-12 2020-02-07 北京奇虎科技有限公司 Method and system for searching based on terminal interface touch operation
DE102015221304A1 (en) * 2015-10-30 2017-05-04 Continental Automotive Gmbh Method and device for improving the recognition accuracy in the handwritten input of alphanumeric characters and gestures
CN107305446B (en) * 2016-04-25 2020-08-14 北京字节跳动网络技术有限公司 Method and device for acquiring keywords in pressure sensing area
CN111090484B (en) 2019-12-12 2021-10-22 维沃移动通信有限公司 Information processing method and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102541411A (en) * 2010-12-26 2012-07-04 上海量明科技发展有限公司 Input method interface adjusting method and system
CN103455590A (en) * 2013-08-29 2013-12-18 百度在线网络技术(北京)有限公司 Method and device for retrieving in touch-screen device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102541411A (en) * 2010-12-26 2012-07-04 上海量明科技发展有限公司 Input method interface adjusting method and system
CN103455590A (en) * 2013-08-29 2013-12-18 百度在线网络技术(北京)有限公司 Method and device for retrieving in touch-screen device

Also Published As

Publication number Publication date
CN104503679A (en) 2015-04-08

Similar Documents

Publication Publication Date Title
CN104462437B (en) The method and system of search are identified based on the multiple touch control operation of terminal interface
CN105868385B (en) Method and system for searching based on terminal interface touch operation
US8413075B2 (en) Gesture movies
AU2011292026B2 (en) Touch-based gesture detection for a touch-sensitive device
US8154428B2 (en) Gesture recognition control of electronic devices using a multi-touch device
US10838592B2 (en) Terminal and method for determining type of input method editor
US9286279B2 (en) Bookmark setting method of e-book, and apparatus thereof
TWI611338B (en) Method for zooming screen and electronic apparatus and computer program product using the same
CN103562835A (en) Web browser with quick site access user interface
CN104778194A (en) Search method and device based on touch operation
US9507516B2 (en) Method for presenting different keypad configurations for data input and a portable device utilizing same
JP2012003508A (en) Information processor, method and program
CN103076980B (en) Search terms display packing and device
CN104778195A (en) Terminal and touch operation-based searching method
CN104503679B (en) Searching method and searching device based on terminal interface touch operation
CN106814964A (en) Method for searching content at mobile terminal and content searching device
EP2897059A1 (en) User interface device, search method, and program
WO2016155643A1 (en) Input-based candidate word display method and device
CN104750661B (en) A kind of method and apparatus that selected words and phrases are carried out to text
CN104516632B (en) Determine and touch the method and device that character scans for
CN105528446A (en) Abstract generating method and device meeting extended product demands
CN103729132B (en) A kind of characters input method, device, dummy keyboard and electronic equipment
US20160292140A1 (en) Associative input method and terminal
WO2015026381A1 (en) Gesture-based visualization of financial data
WO2016101768A1 (en) Terminal and touch operation-based search method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220728

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.