[go: up one dir, main page]

CN104516632B - Determine and touch the method and device that character scans for - Google Patents

Determine and touch the method and device that character scans for Download PDF

Info

Publication number
CN104516632B
CN104516632B CN201410850372.3A CN201410850372A CN104516632B CN 104516632 B CN104516632 B CN 104516632B CN 201410850372 A CN201410850372 A CN 201410850372A CN 104516632 B CN104516632 B CN 104516632B
Authority
CN
China
Prior art keywords
touch
mask
character
interface
searched
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
CN201410850372.3A
Other languages
Chinese (zh)
Other versions
CN104516632A (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 CN201410850372.3A priority Critical patent/CN104516632B/en
Publication of CN104516632A publication Critical patent/CN104516632A/en
Application granted granted Critical
Publication of CN104516632B publication Critical patent/CN104516632B/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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements

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

本发明公开了一种确定触摸字符进行搜索的方法及装置,涉及搜索技术领域,本发明通过接收用户在所述蒙板上的触控操作,并根据所述触控操作在所述蒙板上选择待搜索界面区域;识别所述待搜索界面区域内包含的字符集合,并获取所述终端当前界面显示区域内一个或多个用户界面UI组件的属性,基于所述字符集合与所述UI组件的属性的匹配关系确定触摸字符,并根据所述触摸字符进行搜索,不仅省略了用户繁琐地向搜索框中输入关键词的过程,使得搜索更加便捷,还避免了触摸字符不准确的问题,提高了用户体验。

The invention discloses a method and device for searching by determining touch characters, 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 character set contained in the interface area to be searched, and obtain the attributes of one or more user interface UI components in the current interface display area of the terminal, based on the character set and the UI component The matching relationship of attributes determines the touch characters, and searches according to the touch characters, 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 inaccurate touch characters, improving user experience.

Description

确定触摸字符进行搜索的方法及装置Method and device for determining touch characters to search

技术领域technical field

本发明涉及搜索技术领域,特别涉及一种确定触摸字符进行搜索的方法及装置。The invention relates to the field of search technology, in particular to a method and device for determining touch characters to search.

背景技术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 determining a touch character for searching and a corresponding device for determining a touch character for searching, which overcome the above problems or at least partially solve the above problems.

依据本发明的一个方面,提供了一种确定触摸字符进行搜索的方法,所述方法包括:According to one aspect of the present invention, a method for determining a touch character to search is provided, 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;

识别所述待搜索界面区域内包含的字符集合,并获取所述终端当前界面显示区域内一个或多个用户界面UI组件的属性,基于所述字符集合与所述UI组件的属性的匹配关系确定触摸字符,并根据所述触摸字符进行搜索。Identify the character set contained in the interface area to be searched, and obtain the attributes of one or more user interface UI components in the current interface display area of the terminal, and determine based on the matching relationship between the character set and the attributes of the UI components Touch the character and search based on the touched character.

可选地,所述UI组件的属性包括:UI组件的文本内容。Optionally, the attributes of the UI component include: text content of the UI component.

可选地,所述基于所述字符集合与所述UI组件的属性的匹配关系确定触摸字符,进一步包括:Optionally, the determining the touch character based on the matching relationship between the character set and the attribute of the UI component further includes:

遍历所述UI组件,将所述字符集合与遍历到的UI组件的文本内容进行比较,判断所述字符集合是否为该UI组件中文本内容的子集合,若是,则认定所述字符集合与所述UI组件的文本内容匹配成功,并将所述子集合作为所述触摸字符。Traversing the UI component, comparing the character set with the text content of the UI component traversed, judging whether the character set is a sub-set of the text content in the UI component, if so, then determining that the character set is the same as the text content of the UI component The text content of the UI component is successfully matched, and the subset is used as the touch character.

可选地,若遍历完所述UI组件,所述字符集合与所述UI组件的文本内容未匹配成功,则通过自然语言处理NLP技术对所述字符集合进行更正,并根据更正后的字符集合进行搜索。Optionally, if after traversing the UI components, the character set does not match the text content of the UI component successfully, the character set is corrected by natural language processing NLP technology, and according to the corrected character set to search.

可选地,所述在所述终端当前界面显示区域生成覆盖所述终端界面显示区域的蒙板,进一步包括: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 touch characters further includes:

去除所述蒙板,将所述触摸字符推送至位于所述终端界面显示区域的搜索框中;removing the mask, and pushing the touch characters to the 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 touched characters.

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

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

可选地,所述根据所述触摸字符进行搜索之后,还包括:Optionally, after the searching according to the touch character, it also includes:

在所述终端界面显示区域中展示与所述触摸字符相关的搜索结果项。Displaying search result items related to the touched character in the display area of the terminal interface.

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

在所述终端界面显示区域中以应用卡片、文字条目及图文结合的形式展示与所述触摸字符相关的搜索结果项。The search result items related to the touched characters 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, there is provided a device for determining a touch character for searching, the device comprising:

蒙板生成器,适于当用户触发界面触控搜索请求时,在所述终端当前界面显示区域生成覆盖所述终端界面显示区域的蒙板;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;

识别搜索器,适于识别所述待搜索界面区域内包含的字符集合,并获取所述终端当前界面显示区域内一个或多个用户界面UI组件的属性,基于所述字符集合与所述UI组件的属性的匹配关系确定触摸字符,并根据所述触摸字符进行搜索。An identification searcher, adapted to identify the character set contained in the interface area to be searched, and obtain the attributes of one or more user interface UI components in the current interface display area of the terminal, based on the character set and the UI component The matching relationship of the attributes determines the touch character, and searches according to the touch character.

可选地,所述UI组件的属性包括:UI组件的文本内容。Optionally, the attributes of the UI component include: text content of the UI component.

可选地,所述识别搜索器,还适于遍历所述UI组件,将所述字符集合与遍历到的UI组件的文本内容进行比较,判断所述字符集合是否为该UI组件中文本内容的子集合,若是,则认定所述字符集合与所述UI组件的文本内容匹配成功,并将所述子集合作为所述触摸字符。Optionally, the recognition searcher is further adapted to traverse the UI component, compare the character set with the text content of the UI component traversed, and determine whether the character set is part of the text content in the UI component. If it is a sub-set, then it is determined that the character set matches the text content of the UI component successfully, and the sub-set is used as the touch character.

可选地,所述识别搜索器,还适于若遍历完所述UI组件,所述字符集合与所述UI组件的文本内容未匹配成功,则通过自然语言处理NLP技术对所述字符集合进行更正,并根据更正后的字符集合进行搜索。Optionally, the recognition searcher is further adapted to perform a natural language processing (NLP) technique on the character set if the character set does not match the text content of the UI component after traversing the UI component. Correct, and search against the corrected set 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 further adapted to detect a touch track generated based on the user's touch operation on the mask, and display an interface to be searched corresponding to the touch track on the mask area, 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 touch character to a search box located in the display area of the terminal interface;

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

可选地,当用户点击设于所述蒙板内的第二图标时,所述识别搜索器,还适于触发识别所述待搜索界面区域内包含的字符集合。Optionally, when the user clicks on the second icon provided in the mask, the recognition searcher is further adapted to trigger recognition of the 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 touched character in a display area of the terminal interface.

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

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

本发明通过接收用户在所述蒙板上的触控操作,并根据所述触控操作在所述蒙板上选择待搜索界面区域;识别所述待搜索界面区域内包含的字符集合,并获取所述终端当前界面显示区域内一个或多个用户界面UI组件的属性,基于所述字符集合与所述UI组件的属性的匹配关系确定触摸字符,并根据所述触摸字符进行搜索,不仅省略了用户繁琐地向搜索框中输入关键词的过程,使得搜索更加便捷,还避免了触摸字符不准确的问题,提高了用户体验。The present invention receives the user's touch operation on the mask, and selects the interface area to be searched on the mask according to the touch operation; identifies the character set contained in the interface area to be searched, and obtains The attributes of one or more user interface UI components in the current interface display area of the terminal, determine the touch character based on the matching relationship between the character set and the attributes of the UI component, and search according to the touch character, not only omitting The cumbersome process of users entering keywords into the search box makes the search more convenient, avoids the problem of inaccurate touch characters, 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 components. In the attached picture:

图1是本发明一个实施例的一种确定触摸字符进行搜索的方法的步骤流程图;Fig. 1 is a flow chart of the steps of a method for determining a touch character for searching according to an embodiment of the present invention;

图2是本发明一个实施例的一种确定触摸字符进行搜索的方法的步骤流程图;Fig. 2 is a flow chart of steps of a method for determining a touch character for searching according to an embodiment of the present invention;

图3是本发明一个实施例的一种确定触摸字符进行搜索的方法的步骤流程图;Fig. 3 is a flow chart of steps of a method for determining a touch character for searching according to an embodiment of the present invention;

图4是本发明一个实施例的一种确定触摸字符进行搜索的装置的结构框图;Fig. 4 is a structural block diagram of a device for determining touch characters for searching according to an embodiment of the present invention;

图5是本发明一个实施例的一种确定触摸字符进行搜索的装置的结构框图。Fig. 5 is a structural block diagram of an apparatus for determining touch characters for searching 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 the steps of a method for determining touch characters to search 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:识别所述待搜索界面区域内包含的字符集合,并获取所述终端当前界面显示区域内一个或多个用户界面UI组件的属性,基于所述字符集合与所述UI组件的属性的匹配关系确定触摸字符,并根据所述触摸字符进行搜索。S103: Identify the character set contained in the interface area to be searched, and obtain the attributes of one or more user interface UI components in the current interface display area of the terminal, based on the matching of the character set and the attributes of the UI components Relationships identify touch characters and perform searches based on the touch characters.

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

需要说明的是,在识别所述待搜索界面区域内包含的字符集合时,识别的方式可以有多种,最为常用的则是通过OCR光学字符识别技术来识别所述待搜索界面区域内包含的字符集合,但进行字符集合的识别非常容易出现错误,影响用户体验,故而,本实施例中,通过获取所述终端当前界面显示区域内一个或多个用户界面UI组件的属性,基于所述字符集合与所述UI组件的属性的匹配关系确定触摸字符,并根据所述触摸字符进行搜索,从而提高了识别的准确度。It should be noted that, when identifying the character set contained in the interface area to be searched, there are many ways to identify it, and the most commonly used method is to use OCR optical character recognition technology to identify the character set contained in the interface area to be searched. Character set, but the recognition of character set is very prone to errors, which affects user experience. Therefore, in this embodiment, by obtaining the attributes of one or more user interface UI components in the current interface display area of the terminal, based on the character The matching relationship between the set and the attribute of the UI component determines the touch character, and searches are performed according to the touch character, thereby improving the recognition accuracy.

可理解的是,在本实施例中,对于不同的系统采用的获取UI组件属性也有所不同,对于android系统,可以直接通过android系统的FileObserver服务监听系统截屏操作,也可采用UIautomater控件获取UI组件属性。当然,本发明保护范围还涵盖其他操作系统中,利用其他操作系统中的UI组件属性,本实施例对此不加以限制。Understandably, in this embodiment, different systems adopt different acquisition UI component attributes. For the android system, the screenshot operation of the monitoring system can be directly monitored through the FileObserver service of the android system, or the UIautomater control can be used to obtain the UI component. Attributes. Of course, the scope of protection of the present invention also covers the utilization of UI component attributes in other operating systems, which is not limited in this embodiment.

可理解的是,步骤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 character set included in the interface area is searched according to the touched characters, which avoids redundant characters included in the interface area to be searched, and improves the 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 interface area to be searched, and improves the search accuracy.

图2是本发明一个实施例的一种确定触摸字符进行搜索的方法的步骤流程图;参照图2,所述方法包括:Fig. 2 is a flow chart of the steps of a method for determining touch characters to search 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:识别所述待搜索界面区域内包含的字符集合,去除所述蒙板,并获取所述终端当前界面显示区域内一个或多个用户界面UI组件的文本内容,遍历所述UI组件,将所述字符集合与遍历到的UI组件的文本内容进行比较,判断所述字符集合是否为该UI组件中文本内容的子集合,若是,则认定所述字符集合与所述UI组件的文本内容匹配成功,将所述子集合作为触摸字符,将所述触摸字符推送至位于所述终端界面显示区域的搜索框中;若用户点击设于所述终端界面显示区域内的第一图标,则根据所述触摸字符进行搜索。S203: Identify the character set contained in the interface area to be searched, remove the mask, and acquire the text content of one or more user interface UI components in the current interface display area of the terminal, traverse the UI components, and The character set is compared with the text content of the UI component traversed to determine whether the character set is a subset of the text content in the UI component, and if so, then it is determined that the character set matches the text content of the UI component Success, using the subset as a touch character, push the touch character 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 Touch the above characters to search.

需要说明的是,在确定触摸字符后,需要将所述触摸字符推送至位于所述终端界面显示区域的搜索框中,若仍保留所述蒙板,用户难以看到被推送至所述搜索框中的触摸字符,故而需要去除所述蒙板。It should be noted that after the touch character is determined, the touch character 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 touch character pushed to the search box. The touch characters in , so the mask needs to be removed.

可理解的是,由于识别的字符集合与UI组件的文本内容均有可能出现错误,本实施例中,获取所述终端当前界面显示区域内一个或多个用户界面UI组件的文本内容,遍历所述UI组件,将所述字符集合与遍历到的UI组件的文本内容进行比较,判断所述字符集合是否为该UI组件中文本内容的子集合,若是,则认定所述字符集合与所述UI组件的文本内容匹配成功,将所述子集合作为触摸字符,提高了准确率。It is understandable that errors may occur in both the recognized character set and the text content of the UI component. In this embodiment, the text content of one or more user interface UI components in the current interface display area of the terminal is acquired, and all The UI component compares the character set with the text content of the UI component traversed, and judges whether the character set is a sub-set of the text content in the UI component, and if so, then determines that the character set is not the same as the UI component. The text content of the component is successfully matched, and the sub-set is used as the touch character, which improves the accuracy rate.

若遍历完所述UI组件,所述字符集合与所述UI组件的文本内容未匹配成功,则可理解为字符集合或UI组件的文本内容存在错误,本实施例中为解决该问题,通过自然语言处理NLP技术对所述字符集合进行更正,并根据更正后的字符集合进行搜索。If after traversing the UI components, the character set does not match the text content of the UI component successfully, it can be understood that there is an error in the character set or the text content of the UI component. In this embodiment, in order to solve this problem, through natural The language processing NLP technology corrects the character set, and searches according to the corrected 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 touch character needs 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 touch character, after the user clicks the first icon that triggers the search, the search is realized based on the touch character.

需要说明的是,为尽可能地避免识别出多余的字符,本实施例中,采用在所述蒙板上选取每个待搜索界面区域所在的最小矩形框,识别所述最小矩形框内包含的第一字符集合的方式。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.

识别所述矩形框内包含的字符集合时,可先确定所述矩形框的边界,再确定所述矩形框的左右上下四个坐标点,最后识别由所述四个坐标点所确定的矩形框内包含的字符集合。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 the steps of a method for determining touch characters to search 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:识别所述待搜索界面区域内包含的字符集合,并获取所述终端当前界面显示区域内一个或多个用户界面UI组件的属性,基于所述字符集合与所述UI组件的属性的匹配关系确定触摸字符,并根据所述触摸字符进行搜索;S303: Identify the character set contained in the interface area to be searched, and obtain the attributes of one or more user interface UI components in the current interface display area of the terminal, based on the matching of the character set and the attributes of the UI components The relationship determines the touch characters, and searches based on the touch characters;

需要说明的是,由于步骤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 touched character 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, in the display area of the terminal interface, the items related to the touched characters are displayed in the form of application cards, text entries, and a combination of graphics and text. Of course, other forms may also be used to display the search result items, which is 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 character set contained in the interface area to be searched, optionally, on the basis of the embodiments shown in Figures 1, 2, and 3, Before the identifying the 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 character set included in the interface area to be searched.

当然,在所述蒙板内还可设置其他的图标,例如用于重新选择所述待搜索界面区域的重涂图标、用于退出的返回图标等,可根据需要进行增加,本发明实施例对此不加以限制。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 is no restriction 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,适于识别所述待搜索界面区域内包含的字符集合,并获取所述终端当前界面显示区域内一个或多个用户界面UI组件的属性,基于所述字符集合与所述UI组件的属性的匹配关系确定触摸字符,并根据所述触摸字符进行搜索。The identification searcher 403 is adapted to identify the character set contained in the interface area to be searched, and obtain the attributes of one or more user interface UI components in the current interface display area of the terminal, based on the character set and the UI The matching relationship of the attributes of the components determines the touch characters, and searches are performed according to the touch characters.

在本发明的一种可选实施例中,所述UI组件的属性包括:UI组件的文本内容。In an optional embodiment of the present invention, the attributes of the UI component include: text content of the UI component.

在本发明的一种可选实施例中,所述识别搜索器,还适于遍历所述UI组件,将所述字符集合与遍历到的UI组件的文本内容进行比较,判断所述字符集合是否为该UI组件中文本内容的子集合,若是,则认定所述字符集合与所述UI组件的文本内容匹配成功,并将所述子集合作为所述触摸字符。In an optional embodiment of the present invention, the recognition searcher is further adapted to traverse the UI component, compare the character set with the text content of the UI component traversed, and determine whether the character set is is a subset of the text content in the UI component, and if so, it is determined that the character set matches the text content of the UI component successfully, and the subset is used as the touch character.

在本发明的一种可选实施例中,所述识别搜索器,还适于若遍历完所述UI组件,所述字符集合与所述UI组件的文本内容未匹配成功,则通过自然语言处理NLP技术对所述字符集合进行更正,并根据更正后的字符集合进行搜索。In an optional embodiment of the present invention, the recognition searcher is further adapted to perform natural language processing if the character set does not match the text content of the UI component after traversing the UI component. The NLP technology corrects the character set, and searches according to the corrected character set.

在本发明的一种可选实施例中,所述蒙板生成器,还适于将终端当前界面显示区域进行截屏,以获得所述终端当前界面显示区域的截图,并将所述截图作为覆盖所述终端界面显示区域的蒙板;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 further adapted to detect a touch track generated based on the user's touch operation on the mask, and display on the mask the corresponding 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 identification searcher is further adapted to remove the mask, and push the touch character to a search box located in the display area of the terminal interface;

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

在本发明的一种可选实施例中,当用户点击设于所述蒙板内的第二图标时,所述识别搜索器,还适于触发识别所述待搜索界面区域内包含的字符集合。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 recognition of the character set contained in the interface area to be searched .

图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,适于识别所述待搜索界面区域内包含的字符集合,并获取所述终端当前界面显示区域内一个或多个用户界面UI组件的属性,基于所述字符集合与所述UI组件的属性的匹配关系确定触摸字符,并根据所述触摸字符进行搜索。The identification searcher 503 is adapted to identify the character set contained in the interface area to be searched, and obtain the attributes of one or more user interface UI components in the current interface display area of the terminal, based on the character set and the UI The matching relationship of the attributes of the components determines the touch characters, and searches are performed according to the touch characters.

搜索展示器504,适于在所述终端界面显示区域中展示与所述触摸字符相关的搜索结果项。The search displayer 504 is adapted to display search result items related to the touched character 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 search related to the touched character in the form of application cards, text entries, and a combination of graphics and text in the display area of the terminal interface. result item.

在本发明的一种可选实施例中,所述字符集合包括:文字和符号中的至少一种。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 (22)

1. one kind determines based on UI component property and to touch the method that scans for of character, it is characterised in that described method includes:
When user triggers interface touch-control searching request, generate the described terminal interface of covering in terminal current interface viewing area and show Show the mask in region;
Receive user's touch control operation in described mask, and in described mask, select boundary to be searched according to described touch control operation Region, face;
The character set comprised in identifying described interface zone to be searched, and obtain in described terminal current interface viewing area one Individual or the attribute of multiple user interface UI assembly, matching relationship based on described character set with the attribute of described UI assembly determines Touch character, and scan for according to described touch character;
Wherein, the attribute of described UI assembly includes: the content of text of UI assembly;
The described mask generating the described terminal interface viewing area of covering in terminal current interface viewing area, farther includes:
Terminal current interface viewing area is carried out screenshotss, to obtain the sectional drawing of described terminal current interface viewing area, and will Described sectional drawing is as the mask covering described terminal interface viewing area.
2. the method for claim 1, it is characterised in that described attribute based on described character set Yu described UI assembly Matching relationship determine touch character, farther include:
Travel through described UI assembly, the content of text of described character set with the UI assembly traversed is compared, it is judged that described Whether character set is the subclass of this UI assembly Chinese version content, the most then assert described character set and described UI assembly Content of text the match is successful, and using described subclass as described touch character.
3. method as claimed in claim 2, it is characterised in that if having traveled through described UI assembly, described character set is with described The match is successful for the content of text of UI assembly, then corrected described character set by natural language processing NLP technology, and Scan for according to the character set after corrigendum.
4. the method as according to any one of claim 1-3, it is characterised in that described using described sectional drawing as cover described end The mask of end interface display region, farther includes:
Using described sectional drawing as the mask being in translucent covering described terminal interface viewing area.
5. method as claimed in claim 4, it is characterised in that described reception user touch control operation in described mask, and In described mask, select interface zone to be searched according to described touch control operation, farther include:
Detecting based on touch track produced by user's touch control operation in described mask, in described mask, display is with described The corresponding interface zone to be searched of touch track, the exhibition method of described interface zone to be searched be different from described mask its His region.
6. method as claimed in claim 5, it is characterised in that the exhibition method of described interface zone to be searched is highlighted or complete Transparent form is shown;
And/or,
Other regions in described mask are shown with gray scale, obfuscation or translucent form.
7. the method as according to any one of claim 1-3, it is characterised in that described search according to described touch character Rope, farther includes:
Remove described mask, push to described touch character be positioned in the search box of described terminal interface viewing area;
If user clicks on and is located at the first icon in described terminal interface viewing area, then search according to described touch character Rope.
8. method as claimed in claim 7, it is characterised in that the character comprised in the described interface zone to be searched of described identification Before set, also include:
If user clicks on the second icon being located in described mask, then trigger the word comprised in identifying described interface zone to be searched Symbol set.
9. the method as according to any one of claim 1-3, it is characterised in that described scan for according to described touch character Afterwards, also include:
The search result items relevant to described touch character is shown in described terminal interface viewing area.
10. method as claimed in claim 9, it is characterised in that described displaying and institute in described terminal interface viewing area State and touch the search result items that character is relevant, farther include:
The form combined with application card, textual entry and picture and text in described terminal interface viewing area is shown and described touch The search result items that character is relevant.
11. methods as according to any one of claim 1-3, it is characterised in that described character set includes: word and symbol In at least one.
12. 1 kinds determine based on UI component property and to touch the device that scans for of character, it is characterised in that described device includes:
Mask maker, is suitable to when user triggers interface touch-control searching request, generates in terminal current interface viewing area and covers Cover the mask of described terminal interface viewing area;
Touch-control receptor, is suitable to receive user's touch control operation in described mask, and according to described touch control operation in described illiteracy Interface zone to be searched is selected on plate;
Identify searcher, the character set comprised in being suitable to identify described interface zone to be searched, and it is current to obtain described terminal The attribute of one or more user interface UI assemblies in interface display region, genus based on described character set Yu described UI assembly The matching relationship of property determines touch character, and scans for according to described touch character;
Wherein, the attribute of described UI assembly includes: the content of text of UI assembly;
Described mask maker, is further adapted for terminal current interface viewing area is carried out screenshotss, works as prezone obtaining described terminal The sectional drawing of viewing area, face, and using described sectional drawing as the mask covering described terminal interface viewing area.
13. devices as claimed in claim 12, it is characterised in that described identification searcher, are further adapted for traveling through described UI assembly, The content of text of described character set with the UI assembly traversed is compared, it is judged that whether described character set is this UI group The subclass of part Chinese version content, the most then the match is successful to assert the content of text of described character set and described UI assembly, and Using described subclass as described touch character.
14. devices as claimed in claim 13, it is characterised in that described identification searcher, if being further adapted for having traveled through described UI The match is successful for the content of text of assembly, described character set and described UI assembly, then by natural language processing NLP technology pair Described character set is corrected, and scans for according to the character set after corrigendum.
15. devices as according to any one of claim 12-14, it is characterised in that described mask maker, are further adapted for institute State sectional drawing as the mask being in translucent covering described terminal interface viewing area.
16. devices as claimed in claim 15, it is characterised in that described touch-control receptor, are further adapted for detection and exist based on user Touch track produced by touch control operation in described mask, in described mask, display is corresponding with described touch track waits to search Rope interface zone, the exhibition method of described interface zone to be searched is different from other regions in described mask.
17. devices as claimed in claim 16, it is characterised in that the exhibition method of described interface zone to be searched be highlighted or The form of all-transparent is shown;
And/or,
Other regions in described mask are shown with gray scale, obfuscation or translucent form.
18. devices as according to any one of claim 12-14, it is characterised in that described identification searcher, are further adapted for removing Described mask, pushes to described touch character be positioned in the search box of described terminal interface viewing area;
When user clicks on and is located at the first icon in described terminal interface viewing area, described identification searcher, it is further adapted for root Scan for according to described touch character.
19. devices as claimed in claim 18, it is characterised in that when user clicks on the second icon being located in described mask Time, described identification searcher, the character set comprised in being further adapted for triggering the described interface zone to be searched of identification.
20. devices as according to any one of claim 12-14, it is characterised in that described device also includes: search is shown Device, is suitable to show the search result items relevant to described touch character in described terminal interface viewing area.
21. devices as claimed in claim 20, it is characterised in that described search display device, are further adapted at described terminal interface The form combined with application card, textual entry and picture and text in viewing area shows the Search Results relevant to described touch character ?.
22. devices as according to any one of claim 12-14, it is characterised in that described character set includes: word and symbol At least one in number.
CN201410850372.3A 2014-12-30 2014-12-30 Determine and touch the method and device that character scans for Active CN104516632B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410850372.3A CN104516632B (en) 2014-12-30 2014-12-30 Determine and touch the method and device that character scans for

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410850372.3A CN104516632B (en) 2014-12-30 2014-12-30 Determine and touch the method and device that character scans for

Publications (2)

Publication Number Publication Date
CN104516632A CN104516632A (en) 2015-04-15
CN104516632B true CN104516632B (en) 2016-11-30

Family

ID=52792028

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410850372.3A Active CN104516632B (en) 2014-12-30 2014-12-30 Determine and touch the method and device that character scans for

Country Status (1)

Country Link
CN (1) CN104516632B (en)

Families Citing this family (2)

* 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
CN105426097B (en) * 2015-10-30 2020-07-31 深圳市名思展示设计工程有限公司 Real-time split screen size adjusting method and split screen device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9286390B2 (en) * 2011-12-30 2016-03-15 Microsoft Technology Licensing, Llc Presentation of rich search results in delineated areas
CN103064922A (en) * 2012-12-21 2013-04-24 广东欧珀移动通信有限公司 Method for starting web page search in mobile phone
CN103294363B (en) * 2013-05-20 2016-08-03 华为技术有限公司 A kind of searching method and terminal
CN104778194A (en) * 2014-12-26 2015-07-15 北京奇虎科技有限公司 Search method and device based on touch operation

Also Published As

Publication number Publication date
CN104516632A (en) 2015-04-15

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
US8154428B2 (en) Gesture recognition control of electronic devices using a multi-touch device
CN105868385B (en) Method and system for searching based on terminal interface touch operation
CN106484266B (en) Text processing method and device
AU2011292026B2 (en) Touch-based gesture detection for a touch-sensitive device
US9058105B2 (en) Automated adjustment of input configuration
US8413075B2 (en) Gesture movies
US20110307535A1 (en) Freeform mathematical computations
CN104778194A (en) Search method and device based on touch operation
CN104778195A (en) Terminal and touch operation-based searching method
US20150134641A1 (en) Electronic device and method for processing clip of electronic document
CN105700727B (en) With the exchange method and information processing system of hyaline layer application layer below
WO2015043352A1 (en) Method and apparatus for selecting test nodes on webpages
CN104503679B (en) Searching method and searching device based on terminal interface touch operation
CN114722292A (en) Book searching method, device, equipment and storage medium
KR20150027885A (en) Operating Method for Electronic Handwriting and Electronic Device supporting the same
US20150178323A1 (en) User interface device, search method, and program
CN104516632B (en) Determine and touch the method and device that character scans for
CN104376095A (en) Information processing method and electronic equipment
WO2016155643A1 (en) Input-based candidate word display method and device
CN105528446A (en) Abstract generating method and device meeting extended product demands
US10970476B2 (en) Augmenting digital ink strokes
CN103631521B (en) A kind of touch screen input method and terminal
CN103729132B (en) A kind of characters input method, device, dummy keyboard and electronic equipment
KR20150100332A (en) Sketch retrieval system, user equipment, service equipment, service method and computer readable medium having computer program recorded therefor

Legal Events

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

Effective date of registration: 20220718

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.