Movatterモバイル変換


[0]ホーム

URL:


CN107273448A - Method for information display, device and computer-readable recording medium - Google Patents

Method for information display, device and computer-readable recording medium
Download PDF

Info

Publication number
CN107273448A
CN107273448ACN201710392956.4ACN201710392956ACN107273448ACN 107273448 ACN107273448 ACN 107273448ACN 201710392956 ACN201710392956 ACN 201710392956ACN 107273448 ACN107273448 ACN 107273448A
Authority
CN
China
Prior art keywords
user interface
interface
information
target
search
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.)
Granted
Application number
CN201710392956.4A
Other languages
Chinese (zh)
Other versions
CN107273448B (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 Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Xiaomi Mobile Software Co LtdfiledCriticalBeijing Xiaomi Mobile Software Co Ltd
Priority to CN201710392956.4ApriorityCriticalpatent/CN107273448B/en
Publication of CN107273448ApublicationCriticalpatent/CN107273448A/en
Application grantedgrantedCritical
Publication of CN107273448BpublicationCriticalpatent/CN107273448B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

Present disclose provides a kind of method for information display, device and computer-readable recording medium, belong to field of terminal technology.Methods described includes:The user interface of application program is shown, the user interface includes at least one interface element;The selection operation triggered on the user interface is received, the selection operation is used to select the target interface element at least one interface element;The Overlapping display search result information on the regional area of the user interface, the search result information is search result information corresponding with the target interface element.The technical scheme that the disclosure is provided simplifies search routine, improves search efficiency.

Description

Translated fromChinese
信息显示方法、装置及计算机可读存储介质Information display method, device and computer-readable storage medium

技术领域technical field

本公开涉及终端技术领域,尤其涉及一种信息显示方法、装置及计算机可读存储介质。The present disclosure relates to the technical field of terminals, and in particular, to an information display method, device, and computer-readable storage medium.

背景技术Background technique

当前,手机等终端在人们的日常生活中已经越来越常见了,在实际应用中,用户一方面可以利用终端浏览新闻、应用页面等,另一方面可以利用终端对自己感兴趣的内容进行搜索。At present, terminals such as mobile phones have become more and more common in people's daily life. In practical applications, users can use the terminal to browse news, application pages, etc. on the one hand, and on the other hand, use the terminal to search for the content they are interested in .

相关技术中,当用户在浏览新闻、应用页面时看到了某些自己感兴趣的内容,并产生了搜索需求时,用户可以长按并复制该内容,而后,用户可以打开浏览器,将复制的该内容粘贴至浏览器的搜索框中进行搜索。In related technologies, when a user sees some content of interest to him/her while browsing news and application pages, and generates a search demand, the user can long press and copy the content, and then the user can open the browser and copy the copied content Paste this content into the search box of your browser to search.

然而,这样的搜索方法流程较为繁琐,效率较低。However, such a search method has a relatively cumbersome process and low efficiency.

发明内容Contents of the invention

为克服相关技术中存在的搜索流程繁琐、效率较低的问题,本公开提供一种信息显示方法、装置及计算机可读存储介质。In order to overcome the problems of cumbersome search process and low efficiency in related technologies, the present disclosure provides an information display method, device and computer-readable storage medium.

根据本公开实施例的第一方面,提供一种信息显示方法,包括:According to a first aspect of an embodiment of the present disclosure, an information display method is provided, including:

显示应用程序的用户界面,所述用户界面包括至少一个界面元素;displaying a user interface of the application, the user interface comprising at least one interface element;

接收在所述用户界面上触发的选择操作,所述选择操作用于选择所述至少一个界面元素中的目标界面元素;receiving a selection operation triggered on the user interface, where the selection operation is used to select a target interface element in the at least one interface element;

在所述用户界面的局部区域上叠加显示搜索结果信息,所述搜索结果信息是与所述目标界面元素对应的搜索结果信息。Search result information is superimposed and displayed on a local area of the user interface, where the search result information is search result information corresponding to the target interface element.

可选的,所述在所述用户界面的局部区域上叠加显示搜索结果信息,包括:Optionally, the superimposing and displaying search result information on a local area of the user interface includes:

当所述用户界面和所述选择操作满足预设条件时,在所述用户界面的局部区域上叠加显示所述搜索结果信息;或者,When the user interface and the selection operation meet a preset condition, superimposing and displaying the search result information on a local area of the user interface; or,

当所述用户界面或所述选择操作不满足预设条件时,禁止在所述用户界面的局部区域上叠加显示所述搜索结果信息。When the user interface or the selection operation does not meet the preset condition, it is prohibited to superimpose and display the search result information on a partial area of the user interface.

可选的,所述方法还包括:获取所述选择操作的操作信息,所述操作信息包括所述应用程序的标识、所述用户界面的标识和所述选择操作在所述用户界面上的位置中的至少一个;当所述操作信息存储于预先配置的黑名单数据库时,确定所述选择操作不满足预设条件,所述黑名单数据库中存储有目标操作的操作信息,所述目标操作包括能够触发终端在用户界面的所述局部区域中展示界面元素的操作。Optionally, the method further includes: acquiring operation information of the selection operation, where the operation information includes an identifier of the application program, an identifier of the user interface, and a position of the selection operation on the user interface At least one of; when the operation information is stored in a pre-configured blacklist database, it is determined that the selection operation does not meet the preset condition, and the operation information of the target operation is stored in the blacklist database, and the target operation includes An operation of displaying interface elements in the local area of the user interface can be triggered by the terminal.

可选的,所述方法还包括:当所述选择操作不满足预设条件,且,所述目标界面元素包含用户需要搜索的内容时,在所述用户界面的指定位置处展示悬浮窗,所述悬浮窗用于提供在所述用户界面的局部区域上叠加显示所述搜索结果信息的接口;当所述选择操作不满足预设条件,且,所述目标界面元素不包含用户需要搜索的内容时,禁止在所述用户界面的局部区域上叠加显示所述搜索结果信息。Optionally, the method further includes: displaying a floating window at a designated position of the user interface when the selection operation does not satisfy a preset condition, and the target interface element contains the content that the user needs to search for. The floating window is used to provide an interface for superimposing and displaying the search result information on a local area of the user interface; when the selection operation does not meet the preset condition, and the target interface element does not contain the content that the user needs to search When , it is forbidden to superimpose and display the search result information on the local area of the user interface.

可选的,所述方法还包括:当所述用户界面处于全屏模式、系统多选编辑模式或已经呼出输入界面的输入模式时,确定所述用户界面不满足预设条件。Optionally, the method further includes: when the user interface is in a full-screen mode, a system multi-selection editing mode, or an input mode in which an input interface has been called out, determining that the user interface does not meet a preset condition.

可选的,所述方法还包括:获取所述选择操作的操作信息,所述操作信息包括所述应用程序的标识、所述用户界面的标识和所述选择操作在所述用户界面上的位置中的至少一个;基于所述操作信息查询预先配置的黑名单数据库,所述黑名单数据库存储有目标操作的操作信息和所述目标操作的搜索指示信息,所述目标操作包括能够触发终端在用户界面的所述局部区域中展示界面元素的操作,所述搜索指示信息用于指示所述目标操作选择的界面元素是否包含用户需要搜索的内容;基于查询到的搜索指示信息确定所述目标界面元素是否包含用户需要搜索的内容。Optionally, the method further includes: acquiring operation information of the selection operation, where the operation information includes an identifier of the application program, an identifier of the user interface, and a position of the selection operation on the user interface At least one of: querying a pre-configured blacklist database based on the operation information, the blacklist database stores the operation information of the target operation and the search indication information of the target operation, and the target operation includes triggering the terminal to be activated by the user The operation of the interface element is displayed in the local area of the interface, and the search instruction information is used to indicate whether the interface element selected by the target operation contains the content that the user needs to search; determine the target interface element based on the queried search instruction information Whether it contains the content that the user needs to search for.

可选的,所述方法还包括:接收服务器发送的所述黑名单数据库。Optionally, the method further includes: receiving the blacklist database sent by a server.

可选的,所述方法还包括:接收针对目标操作信息的黑名单存储指令,所述黑名单存储指令用于指示终端将所述目标操作信息存储于所述黑名单数据库中,所述目标操作信息包括应用的标识、界面的标识和选择操作在所述界面上的位置。Optionally, the method further includes: receiving a blacklist storage instruction for target operation information, the blacklist storage instruction being used to instruct the terminal to store the target operation information in the blacklist database, the target operation The information includes the identification of the application, the identification of the interface and the location of the selection operation on the interface.

可选的,所述方法还包括:当检测到对所述悬浮窗的触发操作后,在所述用户界面的局部区域上叠加显示所述搜索结果信息。Optionally, the method further includes: after detecting a trigger operation on the floating window, superimposing and displaying the search result information on a local area of the user interface.

可选的,所述在所述用户界面的指定位置处展示悬浮窗,包括:在所述用户界面的局部区域的边缘处展示所述悬浮窗。Optionally, the displaying the floating window at a designated position of the user interface includes: displaying the floating window at an edge of a local area of the user interface.

根据本公开实施例的第二方面,提供一种信息显示装置,包括:According to a second aspect of an embodiment of the present disclosure, an information display device is provided, including:

界面显示模块,用于显示应用程序的用户界面,所述用户界面包括至少一个界面元素;an interface display module, configured to display a user interface of an application program, and the user interface includes at least one interface element;

操作接收模块,用于接收在所述用户界面上触发的选择操作,所述选择操作用于选择所述至少一个界面元素中的目标界面元素;An operation receiving module, configured to receive a selection operation triggered on the user interface, where the selection operation is used to select a target interface element in the at least one interface element;

信息显示模块,用于在所述用户界面的局部区域上叠加显示搜索结果信息,所述搜索结果信息是与所述目标界面元素对应的搜索结果信息。An information display module, configured to superimpose and display search result information on a local area of the user interface, where the search result information is search result information corresponding to the target interface element.

可选的,所述信息显示模块,用于:当所述用户界面和所述选择操作满足预设条件时,在所述用户界面的局部区域上叠加显示所述搜索结果信息;或者,当所述用户界面或所述选择操作不满足预设条件时,禁止在所述用户界面的局部区域上叠加显示所述搜索结果信息。Optionally, the information display module is configured to: when the user interface and the selection operation meet preset conditions, superimpose and display the search result information on a local area of the user interface; or, when the When the user interface or the selection operation does not meet the preset condition, it is forbidden to superimpose and display the search result information on a partial area of the user interface.

可选的,所述信息显示模块,包括:Optionally, the information display module includes:

获取子模块,用于获取所述选择操作的操作信息,所述操作信息包括所述应用程序的标识、所述用户界面的标识和所述选择操作在所述用户界面上的位置中的至少一个;An acquiring submodule, configured to acquire operation information of the selection operation, where the operation information includes at least one of an identifier of the application, an identifier of the user interface, and a position of the selection operation on the user interface ;

第一确定子模块,用于在所述操作信息存储于预先配置的黑名单数据库时,确定所述选择操作不满足预设条件,所述黑名单数据库中存储有目标操作的操作信息,所述目标操作包括能够触发终端在用户界面的所述局部区域中展示界面元素的操作。The first determining submodule is configured to determine that the selection operation does not satisfy a preset condition when the operation information is stored in a pre-configured blacklist database, the blacklist database stores operation information of a target operation, and The target operation includes an operation capable of triggering the terminal to display interface elements in the local area of the user interface.

可选的,所述信息显示模块,包括:Optionally, the information display module includes:

悬浮窗显示子模块,用于在所述选择操作不满足预设条件,且,所述目标界面元素包含用户需要搜索的内容时,在所述用户界面的指定位置处展示悬浮窗,所述悬浮窗用于提供在所述用户界面的局部区域上叠加显示所述搜索结果信息的接口;The floating window display submodule is used to display a floating window at a specified position in the user interface when the selection operation does not meet the preset condition and the target interface element contains the content that the user needs to search for. The window is used to provide an interface for superimposing and displaying the search result information on a local area of the user interface;

禁止子模块,用于在所述选择操作不满足预设条件,且,所述目标界面元素不包含用户需要搜索的内容时,禁止在所述用户界面的局部区域上叠加显示所述搜索结果信息。A prohibition submodule, configured to prohibit superimposed display of the search result information on a local area of the user interface when the selection operation does not meet the preset condition and the target interface element does not contain the content that the user needs to search for .

可选的,所述信息显示模块,包括:Optionally, the information display module includes:

第二确定子模块,用于在所述用户界面处于全屏模式、系统多选编辑模式或已经呼出输入界面的输入模式时,确定所述用户界面不满足预设条件。The second determination sub-module is used to determine that the user interface does not meet the preset condition when the user interface is in full-screen mode, system multi-selection editing mode, or an input mode that has called out the input interface.

可选的,所述信息显示模块,包括:Optionally, the information display module includes:

获取子模块,用于获取所述选择操作的操作信息,所述操作信息包括所述应用程序的标识、所述用户界面的标识和所述选择操作在所述用户界面上的位置中的至少一个;An acquiring submodule, configured to acquire operation information of the selection operation, where the operation information includes at least one of an identifier of the application, an identifier of the user interface, and a position of the selection operation on the user interface ;

查询子模块,用于基于所述操作信息查询预先配置的黑名单数据库,所述黑名单数据库存储有目标操作的操作信息和所述目标操作的搜索指示信息,所述目标操作包括能够触发终端在用户界面的所述局部区域中展示界面元素的操作,所述搜索指示信息用于指示所述目标操作选择的界面元素是否包含用户需要搜索的内容;The query submodule is configured to query a pre-configured blacklist database based on the operation information, the blacklist database stores operation information of the target operation and search indication information of the target operation, and the target operation includes triggering the terminal to The operation of displaying interface elements in the local area of the user interface, the search indication information is used to indicate whether the interface element selected by the target operation contains the content that the user needs to search;

第三确定子模块,用于基于查询到的搜索指示信息确定所述目标界面元素是否包含用户需要搜索的内容。The third determination submodule is configured to determine whether the target interface element contains the content that the user needs to search based on the search indication information obtained.

可选的,所述装置还包括:数据库接收模块,用于接收服务器发送的所述黑名单数据库。Optionally, the device further includes: a database receiving module, configured to receive the blacklist database sent by the server.

可选的,所述装置还包括:指令接收模块,用于接收针对目标操作信息的黑名单存储指令,所述黑名单存储指令用于指示终端将所述目标操作信息存储于所述黑名单数据库中,所述目标操作信息包括应用的标识、界面的标识和选择操作在所述界面上的位置。Optionally, the device further includes: an instruction receiving module, configured to receive a blacklist storage instruction for target operation information, where the blacklist storage instruction is used to instruct the terminal to store the target operation information in the blacklist database Wherein, the target operation information includes the identification of the application, the identification of the interface, and the location of the selection operation on the interface.

可选的,所述信息显示模块,还用于:当检测到对所述悬浮窗的触发操作后,在所述用户界面的局部区域上叠加显示所述搜索结果信息。Optionally, the information display module is further configured to: when a trigger operation on the floating window is detected, display the search result information superimposed on a local area of the user interface.

可选的,所述悬浮窗显示子模块,用于:在所述用户界面的局部区域的边缘处展示所述悬浮窗。Optionally, the floating window display submodule is configured to: display the floating window at an edge of a local area of the user interface.

根据本公开实施例的第三方面,提供一种信息显示装置,包括:According to a third aspect of the embodiments of the present disclosure, there is provided an information display device, including:

处理器;processor;

用于存储处理器可执行的指令的存储器;memory for storing processor-executable instructions;

其中,所述处理器被配置为:Wherein, the processor is configured as:

显示应用程序的用户界面,所述用户界面包括至少一个界面元素;displaying a user interface of the application, the user interface comprising at least one interface element;

接收在所述用户界面上触发的选择操作,所述选择操作用于选择所述至少一个界面元素中的目标界面元素;receiving a selection operation triggered on the user interface, where the selection operation is used to select a target interface element in the at least one interface element;

在所述用户界面的局部区域上叠加显示搜索结果信息,所述搜索结果信息是与所述目标界面元素对应的搜索结果信息。Search result information is superimposed and displayed on a local area of the user interface, where the search result information is search result information corresponding to the target interface element.

根据本公开实施例的第四方面,提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序,存储的所述计算机程序被处理器执行时能够实现上述第一方面所述的信息显示方法。According to a fourth aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, the computer-readable storage medium stores a computer program, and when the stored computer program is executed by a processor, it can realize the above-mentioned first aspect. The information display method described above.

本公开的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:

通过接收到在用户界面上触发的选择操作后,终端在用户界面的局部区域中叠加显示该选择操作选择的目标界面元素对应的搜索结果信息,使得用户在用户界面上看到了某些自己感兴趣的内容并产生了搜索需求时,仅需要进行选择操作就可以在用户界面中得到该感兴趣的内容的搜索结果信息,从而极大简化了搜索流程,提高了搜索效率。After receiving the selection operation triggered on the user interface, the terminal superimposes and displays the search result information corresponding to the target interface element selected by the selection operation in a local area of the user interface, so that the user sees some interesting information on the user interface. When a search requirement is generated for the content of the content, the search result information of the content of interest can be obtained in the user interface only by a selection operation, thereby greatly simplifying the search process and improving search efficiency.

应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.

图1-1是根据一示例性实施例示出的一种用户界面的示意图。Fig. 1-1 is a schematic diagram of a user interface according to an exemplary embodiment.

图1-2是根据一示例性实施例示出的一种浏览器界面的示意图。Fig. 1-2 is a schematic diagram showing a browser interface according to an exemplary embodiment.

图1-3是根据一示例性实施例示出的一种信息显示方法的流程图。1-3 are flowcharts of an information display method according to an exemplary embodiment.

图2-1是根据一示例性实施例示出的一种信息显示方法的流程图。Fig. 2-1 is a flowchart of an information display method according to an exemplary embodiment.

图2-2是根据一示例性实施例示出的一种处于系统多选编辑模式时用户界面的示意图。Fig. 2-2 is a schematic diagram of a user interface when the system is in a multi-selection editing mode according to an exemplary embodiment.

图2-3是根据一示例性实施例示出的一种处于已经呼出输入界面的输入模式时用户界面的示意图。2-3 are schematic diagrams of a user interface in an input mode in which an input interface has been called out according to an exemplary embodiment.

图2-4是根据一示例性实施例示出的一种在用户界面的底部显示操作选项的示意图。2-4 are schematic diagrams showing operation options displayed at the bottom of a user interface according to an exemplary embodiment.

图2-5是根据一示例性实施例示出的一种展示框的示意图。2-5 are schematic views of a display frame according to an exemplary embodiment.

图2-6是根据一示例性实施例示出的一种悬浮窗的示意图。2-6 are schematic views of a floating window according to an exemplary embodiment.

图3-1是根据一示例性实施例示出的一种信息显示装置的框图。Fig. 3-1 is a block diagram of an information display device according to an exemplary embodiment.

图3-2是根据一示例性实施例示出的一种信息显示模块的框图。Fig. 3-2 is a block diagram of an information display module according to an exemplary embodiment.

图3-3是根据一示例性实施例示出的一种信息显示模块的框图。Fig. 3-3 is a block diagram of an information display module according to an exemplary embodiment.

图3-4是根据一示例性实施例示出的一种信息显示模块的框图。3-4 are block diagrams of an information display module according to an exemplary embodiment.

图3-5是根据一示例性实施例示出的一种信息显示模块的框图。3-5 are block diagrams of an information display module according to an exemplary embodiment.

图4是根据一示例性实施例示出的一种信息显示装置的框图。Fig. 4 is a block diagram of an information display device according to an exemplary embodiment.

图5是根据一示例性实施例示出的一种信息显示装置的框图。Fig. 5 is a block diagram of an information display device according to an exemplary embodiment.

具体实施方式detailed description

为使本公开的目的、技术方案和优点更加清楚,下面将结合附图对本公开实施方式作进一步地详细描述。In order to make the purpose, technical solution and advantages of the present disclosure clearer, the implementation manners of the present disclosure will be further described in detail below in conjunction with the accompanying drawings.

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.

在传统情况下,当用户在终端中的用户界面(如新闻界面、应用界面等)中看到了某些自己感兴趣的内容并产生了搜索需求时,用户可以长按并复制该内容,而后用户可以打开浏览器或其他应用,将复制的该内容粘贴至浏览器或其他应用的搜索框中进行搜索。In a traditional situation, when a user sees some interesting content in the user interface (such as news interface, application interface, etc.) of the terminal and generates a search demand, the user can long press and copy the content, and then You can open a browser or other applications, and paste the copied content into the search box of the browser or other applications to search.

例如,如图1-1所示,当用户在浏览某一用户界面时看到“小吊梨汤”一词并想要对该“小吊梨汤”进行搜索以获取更多的信息时,用户可以长按该“小吊梨汤”并在长按后弹出的选项框中选中复制选项10,从而复制该“小吊梨汤”。而后,用户可以关闭当前显示的用户界面并打开浏览器,如图1-2所示,在打开浏览器后,用户可以将该“小吊梨汤”粘贴至搜索框20中,将“小吊梨汤”作为搜索关键字进行搜索。For example, as shown in Figure 1-1, when a user sees the word "Xiao Diao Li Tang" when browsing a certain user interface and wants to search for "Xiao Diao Li Tang" to obtain more information, The user can long press the "Xiao Diao Li Soup" and select the copy option 10 in the option box that pops up after the long press, so as to copy the "Xiao Diao Li Soup". Then, the user can close the currently displayed user interface and open the browser, as shown in Figure 1-2, after opening the browser, the user can paste the "Xiao Diao Pear Soup" into the search box 20, and enter "Xiao Diao Li Soup" into the search box 20. Pear Soup" is searched as a search keyword.

上述传统的搜索方法流程较为复杂,搜索效率较低,为了解决这一问题,本公开实施例提供了一种信息显示方法,在该方法中,用户仅需要对自己感兴趣的内容进行长按或其他操作就可以触发终端对该内容进行搜索,而后终端可以在当前显示的用户界面中叠加显示对该内容的搜索的结果,从而使得用户不需要进行界面切换,也不需要进行复制、粘贴等操作就可以实现对自己感兴趣的内容的搜索,简化了搜索流程,提高了搜索效率。The process of the above-mentioned traditional search method is relatively complicated and the search efficiency is low. In order to solve this problem, an embodiment of the present disclosure provides an information display method. In this method, the user only needs to long press or Other operations can trigger the terminal to search for the content, and then the terminal can superimpose and display the search results of the content in the currently displayed user interface, so that the user does not need to switch interfaces, and does not need to perform operations such as copying and pasting You can search for the content you are interested in, which simplifies the search process and improves the search efficiency.

图1-3是根据一示例性实施例示出的一种信息显示方法的流程图,如图1-3所示,该信息显示方法用于终端中,包括以下步骤。Fig. 1-3 is a flowchart showing an information display method according to an exemplary embodiment. As shown in Fig. 1-3, the information display method is used in a terminal and includes the following steps.

步骤101、终端显示应用程序的用户界面,该用户界面包括至少一个界面元素。Step 101, the terminal displays a user interface of an application program, where the user interface includes at least one interface element.

步骤102、终端接收在用户界面上触发的选择操作,该选择操作用于选择至少一个界面元素中的目标界面元素。Step 102, the terminal receives a selection operation triggered on the user interface, where the selection operation is used to select a target interface element in at least one interface element.

步骤103、终端在用户界面的局部区域上叠加显示搜索结果信息,该搜索结果信息是与目标界面元素对应的搜索结果信息。Step 103, the terminal superimposes and displays search result information on a local area of the user interface, where the search result information is search result information corresponding to the target interface element.

综上所述,本公开实施例提供的信息显示方法,通过接收到在用户界面上触发的选择操作后,终端在用户界面的局部区域中叠加显示该选择操作选择的目标界面元素对应的搜索结果信息,使得用户在用户界面上看到了某些自己感兴趣的内容并产生了搜索需求时,仅需要进行选择操作就可以在用户界面中得到该感兴趣的内容的搜索结果信息,从而极大简化了搜索流程,提高了搜索效率。To sum up, in the information display method provided by the embodiments of the present disclosure, after receiving a selection operation triggered on the user interface, the terminal superimposes and displays the search result corresponding to the target interface element selected by the selection operation in a local area of the user interface. information, so that when the user sees some content of interest on the user interface and generates a search demand, he only needs to perform a selection operation to obtain the search result information of the content of interest in the user interface, which greatly simplifies the Streamlined the search process and improved search efficiency.

图2-1是根据一示例性实施例示出的一种信息显示方法的流程图,如图2-1所示,该信息显示方法用于终端中,包括以下步骤。Fig. 2-1 is a flowchart showing an information display method according to an exemplary embodiment. As shown in Fig. 2-1, the information display method is used in a terminal and includes the following steps.

步骤201、终端显示应用程序的用户界面,该用户界面包括至少一个界面元素。Step 201, the terminal displays a user interface of an application program, where the user interface includes at least one interface element.

需要说明的是,上述界面元素可以包括文字、图片等元素,本公开实施例对此不做具体限定。It should be noted that the above-mentioned interface elements may include text, pictures and other elements, which are not specifically limited in this embodiment of the present disclosure.

步骤202、终端接收在用户界面上触发的选择操作,该选择操作用于选择至少一个界面元素中的目标界面元素。Step 202, the terminal receives a selection operation triggered on the user interface, where the selection operation is used to select a target interface element in at least one interface element.

需要说明的是,上述选择操作可以为长按操作,所谓长按操作指的是触控时长超过预设时长的操作。当然,在实际应用中,上述选择操作还可以为其他形式的操作,本公开实施例对此不做具体限定。It should be noted that the above selection operation may be a long-press operation, and the so-called long-press operation refers to an operation in which the touch duration exceeds a preset duration. Of course, in practical applications, the above selection operation may also be an operation in other forms, which is not specifically limited in this embodiment of the present disclosure.

在本公开的实施例中,当用户在用户界面中看到自己感兴趣的内容并希望对该内容进行搜索时,用户可以在用户界面上进行选择操作以选择该内容,例如用户可以对该内容进行长按操作以选择该内容,在用户界面上进行选择操作可以触发终端对选择操作所选择的内容进行搜索。需要说明的是,这里所述的“用户自己感兴趣的内容”也即是上文所述的“目标界面元素”。In the embodiment of the present disclosure, when the user sees the content he is interested in in the user interface and wants to search for the content, the user can perform a selection operation on the user interface to select the content, for example, the user can select the content Perform a long press operation to select the content, and perform a selection operation on the user interface to trigger the terminal to search for the content selected by the selection operation. It should be noted that the "content that the user is interested in" mentioned here is also the "target interface element" mentioned above.

在这种情况下,终端可以对该目标界面元素进行搜索,并在搜索结束后,将该目标界面元素的搜索结果信息叠加显示在用户界面的局部区域中,从而简化用户的搜索流程,给用户对终端的使用带来便利。In this case, the terminal can search for the target interface element, and after the search is completed, superimpose and display the search result information of the target interface element in a local area of the user interface, thereby simplifying the user's search process and giving the user Bring convenience to the use of the terminal.

步骤203、终端判断用户界面和选择操作是否满足预设条件。Step 203, the terminal judges whether the user interface and the selection operation meet a preset condition.

如上所述,当用户界面中存在用户感兴趣的内容时,用户可以进行选择操作以触发终端对该内容进行搜索。然而,在某些情况下,用户界面中可能并不存在用户有搜索需求的内容,此时,用户在用户界面中进行选择操作不太可能是希望对用户界面中的内容进行搜索。在这种情况下,若该选择操作仍然触发终端进行搜索并在用户界面的局部区域中显示搜索结果信息,一方面会导致终端无法给用户提供有价值的搜索结果信息,另一方面还会造成用户的困扰,甚至给用户对终端的正常使用带来影响。As mentioned above, when there is content that the user is interested in in the user interface, the user can perform a selection operation to trigger the terminal to search for the content. However, in some cases, the content that the user needs to search may not exist in the user interface. At this time, it is unlikely that the user performs a selection operation in the user interface to search for the content in the user interface. In this case, if the selection operation still triggers the terminal to search and display the search result information in a local area of the user interface, on the one hand, the terminal will not be able to provide the user with valuable search result information, and on the other hand, it will cause The user's troubles may even affect the normal use of the terminal by the user.

此外,在另一些情况下,用户界面中的选择操作还可能会触发终端进行其他的响应,例如,该选择操作可能会触发终端在用户界面的该局部区域中显示界面元素等,其中,显示的界面元素可以包括操作选项、文字信息、界面等。在这种情况下,终端对用户界面中的内容进行搜索并在用户界面的局部区域中显示搜索结果信息可能会对该局部区域中显示的界面元素造成遮挡,影响用户观看或操作该页面元素,从而给用户对终端的正常使用带来影响。In addition, in other cases, the selection operation in the user interface may also trigger the terminal to make other responses, for example, the selection operation may trigger the terminal to display interface elements in the partial area of the user interface, where the displayed Interface elements may include operation options, text information, interface, etc. In this case, the terminal searches the content in the user interface and displays the search result information in a partial area of the user interface, which may block the interface elements displayed in the partial area, affecting the user to view or operate the page elements. Thus, the normal use of the terminal by the user is affected.

为了避免终端对用户界面中用户感兴趣的内容的搜索给用户对终端的正常使用带来影响,在本公开实施例中,当终端接收到在用户界面中触发的选择操作后,终端并不立即对该选择操作所选择的目标界面元素进行搜索,而是先判断用户界面和选择操作是否满足预设条件,以根据判断的结果确定终端后续需要执行的技术过程,从而避免终端对用户界面中目标界面元素的搜索给用户对终端的正常使用带来影响。In order to prevent the terminal from affecting the user's normal use of the terminal when the terminal searches for the content that the user is interested in in the user interface, in the embodiment of the present disclosure, after the terminal receives the selection operation triggered in the user interface, the terminal does not immediately Search for the target interface element selected by the selection operation, but first judge whether the user interface and the selection operation meet the preset conditions, and determine the subsequent technical process that the terminal needs to perform according to the judgment result, so as to avoid the terminal's detection of the target in the user interface. The search for interface elements affects the normal use of the terminal by the user.

其中,终端判断用户界面是否满足预设条件可以为终端判断用户界面是否处于预设模式,当用户处于预设模式时,终端可以确定用户界面不满足预设条件。可选的,该预设模式可以包括全屏模式、系统多选编辑模式和已经呼出输入界面的输入模式等,在实际应用中,该预设模式还可以包括其他的模式,本公开实施例对此不做具体限定。Wherein, the terminal judging whether the user interface satisfies the preset condition may be the terminal judging whether the user interface is in the preset mode, and when the user is in the preset mode, the terminal may determine that the user interface does not meet the preset condition. Optionally, the preset mode may include full-screen mode, system multi-choice editing mode, and input mode that has called out the input interface, etc. In practical applications, the preset mode may also include other modes. Not specifically limited.

或者,在本公开实施例中,终端判断用户界面是否满足预设条件还可以为终端判断用户界面是否处于预设模式以外的模式。在这种情况下,当用户界面处于预设模式以外的模式时,终端可以确定用户界面满足预设条件。Alternatively, in the embodiment of the present disclosure, the terminal judging whether the user interface satisfies the preset condition may also be the terminal judging whether the user interface is in a mode other than the preset mode. In this case, when the user interface is in a mode other than the preset mode, the terminal may determine that the user interface satisfies a preset condition.

当用户界面处于全屏模式时,该用户界面很可能为视频应用的界面、游戏应用的界面或漫画类应用的界面,此时,用户界面中很可能并不存在用户有搜索需求的内容,而且在用户看视频、玩游戏时显示搜索结果信息会给用户带来较大的困扰。When the user interface is in full-screen mode, the user interface is likely to be a video application interface, a game application interface, or a comic application interface. At this time, there is probably no content that the user needs to search in the user interface, and in Displaying search result information when users watch videos or play games will bring great troubles to users.

当用户界面处于系统多选编辑模式时,用户界面中包括的通常是用户的个人文件,此时,用户界面中也很可能并不存在用户有搜索需求的内容。此外,请参考图2-2,图2-2为处于系统多选编辑模式时用户界面的示意图,如图2-2所示,通常情况下,在系统多选编辑模式下进行选择操作(如长按操作)时,用户界面中会显示多个选择方框K,用户可以通过选中至少一个选择方框K实现对用户界面中个人文件的批量多选,此时若终端在用户界面中显示搜索结果信息很可能会遮挡选择方框K,从而影响批量多选操作。When the user interface is in the system multi-selection editing mode, the user interface usually includes the user's personal files. At this time, the user interface probably does not contain the content that the user needs to search. In addition, please refer to Figure 2-2. Figure 2-2 is a schematic diagram of the user interface in the system's multi-selection editing mode, as shown in Figure 2-2. Normally, the selection operation is performed in the system's multi-selection editing mode (such as Long press operation), multiple selection boxes K will be displayed in the user interface, and the user can select at least one selection box K to realize batch multiple selection of personal files in the user interface. At this time, if the terminal displays the search The result information is likely to block the selection box K, thereby affecting the batch multi-selection operation.

当用户界面处于已经呼出输入界面的输入模式时,用户很可能需要利用输入界面中的选项进行文字输入。请参考图2-3,图2-3为处于已经呼出输入界面的输入模式时用户界面的示意图,如图2-3所示,输入界面S在用户界面中所占的面积较大,且在实际应用中,输入界面S所在的区域很可能为终端显示搜索结果信息的区域,此时若终端在用户界面中显示搜索结果信息很可能会遮挡输入界面S,从而影响用户进行文字输入。需要说明的是,上述“呼出”指的是显示或弹出。When the user interface is in the input mode where the input interface has been called out, the user probably needs to use options in the input interface to input text. Please refer to Figure 2-3. Figure 2-3 is a schematic diagram of the user interface when the input interface has been called out. As shown in Figure 2-3, the input interface S occupies a relatively large area in the user interface, and In practical applications, the area where the input interface S is located is likely to be the area where the terminal displays search result information. At this time, if the terminal displays search result information on the user interface, the input interface S may be blocked, thereby affecting the user's text input. It should be noted that the above "calling out" refers to displaying or popping up.

综合以上分析可知,当用户界面处于预设模式时,终端对用户界面中的内容进行搜索并在用户界面的局部区域中显示搜索结果信息不仅无法给用户提供有价值的搜索结果信息,还会给用户对终端的正常使用带来影响。因此,终端接收到在用户界面上触发的选择操作时,需要判断用户界面是否处于预设模式,并根据判断结果确定终端是否需要对用户界面中的目标界面元素进行搜索并在用户界面的局部区域中显示搜索结果信息。Based on the above analysis, it can be seen that when the user interface is in the preset mode, the terminal searches the content in the user interface and displays the search result information in a local area of the user interface, which not only fails to provide valuable search result information to the user, but also gives The normal use of the terminal by the user is affected. Therefore, when the terminal receives a selection operation triggered on the user interface, it needs to judge whether the user interface is in the preset mode, and determine whether the terminal needs to search for the target interface element in the user interface and search for the target interface element in the local area of the user interface according to the judgment result. The search result information is displayed in .

在实际应用中,终端可以基于自身搭载的操作系统查询用户界面是否处于上述预设模式,本公开实施例对此不再赘述。In practical applications, the terminal may inquire whether the user interface is in the foregoing preset mode based on its own operating system, which will not be described in this embodiment of the present disclosure.

此外,终端判断选择操作是否满足预设条件可以为终端判断该选择操作是否为在用户界面的该局部区域中显示界面元素的操作。当该选择操作为在用户界面的该局部区域中显示界面元素的操作时,终端确定选择操作不满足预设条件。In addition, the terminal judging whether the selection operation satisfies the preset condition may be the terminal judging whether the selection operation is an operation of displaying an interface element in the local area of the user interface. When the selection operation is an operation of displaying an interface element in the local area of the user interface, the terminal determines that the selection operation does not meet the preset condition.

或者,终端判断选择操作是否满足预设条件还可以为终端判断选择操作是否为在用户界面的该局部区域中显示界面元素的操作以外的其他操作。在这种情况下,当选择操作为在用户界面的该局部区域中显示界面元素的操作以外的其他操作时,终端可以确定选择操作满足预设条件。Alternatively, the terminal judging whether the selection operation satisfies the preset condition may be another operation other than the operation of displaying interface elements in the local area of the user interface. In this case, when the selection operation is an operation other than the operation of displaying an interface element in the local area of the user interface, the terminal may determine that the selection operation satisfies a preset condition.

由于该局部区域为终端在用户界面上显示搜索结果信息的区域,因此,若该选择操作为在用户界面的该局部区域中显示界面元素的操作,终端显示搜索结果信息很可能会导致对显示的界面元素造成遮挡,影响用户观看或操作该界面元素,从而给用户对终端的正常使用带来影响。需要说明的是,上述局部区域可以位于用户界面的底部等位置,本公开实施例对此不做具体限定。Since the local area is the area where the terminal displays the search result information on the user interface, if the selection operation is an operation to display interface elements in the local area of the user interface, displaying the search result information by the terminal is likely to cause the displayed The interface element causes occlusion, which affects the user's viewing or operation of the interface element, thus affecting the user's normal use of the terminal. It should be noted that the foregoing local area may be located at a position such as the bottom of the user interface, which is not specifically limited in this embodiment of the present disclosure.

请参考图2-4,当终端接收到在用户界面N上触发的长按操作后,可以在用户界面N的底部显示操作选项C(界面元素)。由图2-4可知,若在显示操作选项C的区域中同时显示搜索结果信息,势必会造成对操作选项C的遮挡,从而影响用户对操作选项C的操作,给用户对终端的正常使用带来影响。Referring to Fig. 2-4, after the terminal receives a long-press operation triggered on the user interface N, it can display an operation option C (interface element) at the bottom of the user interface N. It can be seen from Figure 2-4 that if the search result information is simultaneously displayed in the area where the operation option C is displayed, it will inevitably block the operation option C, thereby affecting the user's operation of the operation option C, and bringing a negative impact on the user's normal use of the terminal. to influence.

因此,终端接收到在用户界面上触发的选择操作时,需要判断选择操作是否为在用户界面的局部区域中显示界面元素的操作,并根据判断结果确定终端是否需要对用户界面中的目标界面元素进行搜索并在用户界面的局部区域中显示搜索结果信息。Therefore, when the terminal receives a selection operation triggered on the user interface, it needs to judge whether the selection operation is an operation of displaying interface elements in a local area of the user interface, and determine whether the terminal needs to select the target interface element in the user interface based on the judgment result. Perform a search and display search result information in a partial area of the user interface.

下面本公开实施例将对终端判断选择操作是否为在用户界面的局部区域中显示界面元素的操作的技术过程进行简要说明,需要注意的是,下述对该技术过程的说明仅仅是示例性的,其并不能限制本公开。The following embodiments of the present disclosure will briefly describe the technical process of the terminal judging whether the selection operation is an operation of displaying interface elements in a local area of the user interface. It should be noted that the following description of the technical process is only exemplary. , which does not limit the present disclosure.

A1、终端获取选择操作的操作信息,该操作信息包括应用程序的标识、用户界面的标识和选择操作在用户界面上的位置中的至少一个。A1. The terminal acquires the operation information of the selection operation, where the operation information includes at least one of an identifier of an application program, an identifier of a user interface, and a position of the selection operation on the user interface.

本公开实施例仅以选择操作为长按操作为例对终端判断选择操作是否为在用户界面的局部区域中显示界面元素的操作的技术过程进行简要说明,其他类型的选择操作对应的技术过程与选择操作为长按操作对应的技术过程同理,本公开实施例在此不再赘述。The embodiment of the present disclosure only briefly describes the technical process of the terminal judging whether the selection operation is an operation of displaying interface elements in a local area of the user interface by taking the selection operation as a long press operation as an example. The technical process corresponding to other types of selection operations is the same as The same is true for the technical process corresponding to the long press operation for the selection operation, which will not be repeated in this embodiment of the present disclosure.

在实际应用中,终端接收到在用户界面上触发的长按操作后可以获取该用户界面的标识以及该用户界面所属的应用程序的标识,例如,如图1-1所示,当终端接收到在用户界面上触发的对“小吊梨汤”的长按操作后,终端可以获取该用户界面所属应用程序“下厨房”的标识“xiachufang”,并可以获取该用户界面的标识“20170228litang”,需要指出的是,上述应用程序的标识“xiachufang”和用户界面的标识“20170228litang”仅仅是示例性的。In practical applications, after receiving the long-press operation triggered on the user interface, the terminal can obtain the identifier of the user interface and the identifier of the application to which the user interface belongs. For example, as shown in Figure 1-1, when the terminal receives After the long-press operation on "Xiaodiaolitang" triggered on the user interface, the terminal can obtain the identifier "xiachufang" of the application "xiakitchen" to which the user interface belongs, and can obtain the identifier "20170228litang" of the user interface, It should be pointed out that the above-mentioned identification of the application program "xiachufang" and the identification of the user interface "20170228litang" are only exemplary.

此外,终端还可以获取长按操作在该用户界面上的位置,在本公开的一个实施例中,该长按操作在用户界面上的位置可以由该长按操作在用户界面上对应的按压点的坐标区域来表示。例如,如图1-1所述,对“小吊梨汤”的长按操作的位置为“横坐标小于100大于80,纵坐标小于80大于20”,其中,坐标的单位可以为像素。需要指出的是,上述长按操作的位置也是示例性的。In addition, the terminal can also obtain the position of the long press operation on the user interface. In an embodiment of the present disclosure, the position of the long press operation on the user interface can be determined by the corresponding pressing point of the long press operation on the user interface The coordinate area to represent. For example, as shown in Figure 1-1, the location of the long-press operation on "Xiaodiaoli Soup" is "the abscissa is less than 100 and greater than 80, and the ordinate is less than 80 and greater than 20", where the unit of the coordinates can be pixels. It should be pointed out that the position of the above-mentioned long press operation is also exemplary.

还需要说明的是,在实际应用中,终端可以获取应用程序的标识、用户界面的标识和选择操作在用户界面上的位置中一个或多个,本公开实施例对此不做具体限定。It should also be noted that, in an actual application, the terminal may obtain one or more of the identifier of the application program, the identifier of the user interface, and the location of the selection operation on the user interface, which is not specifically limited in this embodiment of the present disclosure.

B1、终端判断选择操作的操作信息是否存储于预先配置的黑名单数据库中。B1. The terminal judges whether the operation information of the selected operation is stored in a pre-configured blacklist database.

在实际应用中,终端中可以预先配置存储有黑名单数据库,该黑名单数据库中存储有目标操作的操作信息,其中,目标操作包括能够触发在用户界面的局部区域中显示界面元素的操作。表1所示为该黑名单数据库中存储的目标操作的操作信息的示意。In practical applications, a blacklist database may be pre-configured and stored in the terminal, and the blacklist database stores operation information of target operations, where the target operations include operations that can trigger display of interface elements in a partial area of the user interface. Table 1 shows the operation information of the target operation stored in the blacklist database.

表1Table 1

需要说明的是,表1所示仅仅是示例性的,其并不能限制本公开。It should be noted that what is shown in Table 1 is only exemplary, and does not limit the present disclosure.

在实际应用中,该黑名单数据库可以由服务器进行配置并下发至终端中,终端可以定期接收服务器发送的黑名单数据库或黑名单数据库的更新信息,也可以向服务器发送黑名单获取请求以使服务器在接收到该黑名单获取请求后向终端发送该黑名单数据库或黑名单数据库的更新信息。In practical applications, the blacklist database can be configured by the server and sent to the terminal. The terminal can periodically receive the blacklist database or the update information of the blacklist database sent by the server, and can also send a blacklist acquisition request to the server so that After receiving the blacklist acquisition request, the server sends the blacklist database or update information of the blacklist database to the terminal.

在实际应用中,服务器中的黑名单数据库可以由技术人员根据自身对应用程序中各个用户界面的使用情况进行配置,也可以由服务器对应用程序中各个用户界面进行截图分析后进行配置,本公开实施例对此不作具体限定。In practical applications, the blacklist database in the server can be configured by technicians according to their own usage of each user interface in the application program, or can be configured by the server after analyzing screenshots of each user interface in the application program. The embodiment does not specifically limit this.

此外,用户在使用终端时可能会发现某些没有存储于黑名单数据库中的目标操作,在这种情况下,用户可以将该目标操作的操作信息存储于黑名单数据库中。可选地,用户可以针对该目标操作向终端发送黑名单存储指令,该黑名单存储指令用于指示终端将该目标操作的操作信息(也称目标操作信息)存储于终端中的黑名单数据库中。在一些情况下,终端还可以将该目标操作信息发送至服务器中,服务器接收到该目标操作信息后可以将该目标操作信息存储于服务器存储的黑名单数据库中,而后服务器可以向其他终端下发包含该目标操作信息的黑名单数据库,从而使其他终端也可以同步该目标操作信息。In addition, the user may find some target operations not stored in the blacklist database when using the terminal. In this case, the user may store the operation information of the target operation in the blacklist database. Optionally, the user may send a blacklist storage instruction to the terminal for the target operation, and the blacklist storage instruction is used to instruct the terminal to store the operation information (also called target operation information) of the target operation in the blacklist database in the terminal . In some cases, the terminal can also send the target operation information to the server. After receiving the target operation information, the server can store the target operation information in the blacklist database stored by the server, and then the server can send the target operation information to other terminals. A blacklist database containing the operation information of the target, so that other terminals can also synchronize the operation information of the target.

当然,在实际应用中,终端中可以不存储该黑名单数据库,而仅由服务器存储该黑名单数据库,在这种情况下,终端可以将该选择操作的操作信息发送至服务器中,由服务器判断该选择操作的操作信息是否存储于黑名单数据库中。Of course, in practical applications, the blacklist database may not be stored in the terminal, but only the blacklist database is stored by the server. In this case, the terminal may send the operation information of the selection operation to the server, and the server may Whether the operation information of the selection operation is stored in the blacklist database.

C1、当选择操作的操作信息存储于黑名单数据库时,终端确定选择操作为在用户界面的局部区域中显示界面元素的操作。C1. When the operation information of the selection operation is stored in the blacklist database, the terminal determines that the selection operation is an operation of displaying interface elements in a local area of the user interface.

如上所述,由于黑名单数据库中存储有目标操作的操作信息,因此,若选择操作的操作信息存储于黑名单数据库中时,终端可以确定选择操作为目标操作,也即是可以确定选择操作为在用户界面的局部区域中显示界面元素的操作。As mentioned above, since the operation information of the target operation is stored in the blacklist database, if the operation information of the selection operation is stored in the blacklist database, the terminal can determine that the selection operation is the target operation, that is, it can determine that the selection operation is Displays actions for interface elements in a localized area of the user interface.

例如,若通过查询表1所示的黑名单数据库发现,步骤A1中获取的图1-1中对“小吊梨汤”的长按操作的操作信息“xiachufang”“20170228litang”和“横坐标小于100大于80,纵坐标小于80大于20”存储于该黑名单数据库中,则终端可以确定图1-1中对“小吊梨汤”的长按操作为在用户界面的局部区域中显示界面元素的操作。For example, if it is found by querying the blacklist database shown in Table 1, the operation information "xiachufang", "20170228litang" and "abscissa less than 100 is greater than 80, and the ordinate is less than 80 and greater than 20" is stored in the blacklist database, then the terminal can determine that the long press operation on "Xiao Diao Li Tang" in Figure 1-1 is to display interface elements in a local area of the user interface operation.

此外,本公开实施例还提供了终端判断选择操作是否为在用户界面的局部区域中显示界面元素的操作以外的其他操作的技术过程,需要注意的是,下述对该技术过程的说明仅仅是示例性的,其并不能限制本公开。In addition, the embodiment of the present disclosure also provides a technical process for the terminal to determine whether the selection operation is an operation other than displaying interface elements in a local area of the user interface. It should be noted that the following description of the technical process is only Exemplary, and not limiting of the present disclosure.

A2、终端获取选择操作的操作信息。A2. The terminal obtains the operation information of the selection operation.

需要说明的是,A2的技术过程与上述A1的技术过程同理,本公开实施例在此不再赘述。It should be noted that the technical process of A2 is the same as the technical process of A1 above, and will not be repeated here in the embodiment of the present disclosure.

B2、终端判断该选择操作的操作信息是否存储于预先配置的白名单数据库中。B2. The terminal judges whether the operation information of the selection operation is stored in a pre-configured white list database.

在实际应用中,终端中可以预先配置存储有白名单数据库,该白名单数据库中存储有不会触发终端在用户界面的局部区域中显示界面元素的操作的操作信息,其存储的操作信息的内容与表1所示同理,包括应用程序的标识、用户界面的标识和选择操作在用户界面中的位置中的一个或多个。In practical applications, a whitelist database may be pre-configured and stored in the terminal, and the whitelist database stores operation information that will not trigger the terminal to display interface elements in a partial area of the user interface, and the content of the stored operation information Similar to what is shown in Table 1, it includes one or more of the identifier of the application program, the identifier of the user interface, and the position of the selection operation in the user interface.

与上文所述黑名单数据库同理地,白名单数据库也可以由服务器进行配置并下发至终端中,此外,当用户在使用终端时发现某些没有存储于白名单数据库中的操作时,用户也可以将该操作的操作信息存储于白名单数据库中,其存储过程与上文所述用户将目标操作信息存储于黑名单数据库中的过程同理,本公开实施例在此不再赘述。当然,在实际应用中,与上文所述黑名单数据库同理地,终端中可以不存储白名单数据库,而仅由服务器存储白名单数据库,在这种情况下,终端可以将该选择操作的操作信息发送至服务器中,由服务器判断该选择操作的操作信息是否存储于白名单数据库中。Similar to the blacklist database mentioned above, the whitelist database can also be configured by the server and sent to the terminal. In addition, when the user finds some operations that are not stored in the whitelist database when using the terminal, The user may also store the operation information of the operation in the whitelist database. The storage process is the same as the above-mentioned process for the user to store the target operation information in the blacklist database, which will not be repeated in this embodiment of the present disclosure. Of course, in practical applications, similar to the blacklist database described above, the terminal may not store the whitelist database, but only the server stores the whitelist database. In this case, the terminal can select the selected operation The operation information is sent to the server, and the server judges whether the operation information of the selected operation is stored in the white list database.

C2、当选择操作的操作信息存储于白名单数据库时,终端确定选择操作为在用户界面的局部区域中显示界面元素的操作以外的其他操作。C2. When the operation information of the selection operation is stored in the white list database, the terminal determines that the selection operation is an operation other than displaying interface elements in a partial area of the user interface.

如上所述,由于白名单数据库中存储有不会触发终端在用户界面的局部区域中显示界面元素的操作的操作信息,因此,若选择操作的操作信息存储于白名单数据库中时,终端可以确定选择操作为在用户界面的局部区域中显示界面元素的操作以外的其他操作。As mentioned above, since the whitelist database stores operation information that will not trigger the terminal to display interface elements in a partial area of the user interface, if the operation information of the selected operation is stored in the whitelist database, the terminal can determine The selection operation is an operation other than displaying an interface element in a partial area of the user interface.

当然,在实际应用中,终端也可以通过判断选择操作的操作信息是否存储于黑名单数据库中来判断选择操作是否为在用户界面的局部区域中显示界面元素的操作以外的其他操作,当该选择操作的操作信息不存储于黑名单数据库中时,终端可以确定选择操作为在用户界面的局部区域中显示界面元素的操作以外的其他操作,其技术过程与上文所述A1至C1的技术过程同理,本公开实施例在此不再赘述。Of course, in practical applications, the terminal can also determine whether the selection operation is an operation other than displaying interface elements in a local area of the user interface by determining whether the operation information of the selection operation is stored in the blacklist database. When the operation information of the operation is not stored in the blacklist database, the terminal can determine that the selection operation is an operation other than the operation of displaying interface elements in a partial area of the user interface. The technical process is the same as that of A1 to C1 above. Similarly, the embodiments of the present disclosure will not be repeated here.

步骤204、当用户界面和选择操作满足预设条件时,终端在用户界面的局部区域上叠加显示搜索结果信息,该搜索结果信息是与目标界面元素对应的搜索结果信息。Step 204, when the user interface and the selection operation meet the preset condition, the terminal superimposes and displays search result information on a local area of the user interface, where the search result information is search result information corresponding to the target interface element.

在上述步骤203中,当终端确定用户界面处于预设模式以外的模式,并确定选择操作为在用户界面的该局部区域中显示界面元素的操作以外的其他操作时,也即是,终端确定用户界面和选择操作均满足预设条件时,终端可以在用户界面的局部区域上叠加显示搜索结果信息。In the above step 203, when the terminal determines that the user interface is in a mode other than the preset mode, and determines that the selection operation is an operation other than displaying interface elements in the local area of the user interface, that is, the terminal determines that the user When both the interface and the selection operation meet the preset conditions, the terminal may superimpose and display the search result information on a partial area of the user interface.

根据上述分析,在用户界面和选择操作满足预设条件时,终端对用户界面中的目标界面元素进行搜索,并在用户界面的局部区域中显示搜索结果信息并不会给用户对终端的正常使用带来影响。According to the above analysis, when the user interface and the selection operation meet the preset conditions, the terminal searches for the target interface elements in the user interface and displays the search result information in a local area of the user interface, which will not give the user normal use of the terminal. affect.

因此,在这种情况下,终端可以获取该选择操作所选择的目标界面元素,而后终端可以将该目标界面元素发送至服务器中,由服务器以该目标界面元素作为关键字进行搜索,并将搜索结果信息发送至终端中。终端接收到该搜索结果信息后,可以在用户界面的局部区域中显示该搜索结果信息,在本公开的一个实施例中,终端可以在该局部区域中显示至少一个展示框,以在展示框中显示搜索结果信息。Therefore, in this case, the terminal can obtain the target interface element selected by the selection operation, and then the terminal can send the target interface element to the server, and the server uses the target interface element as a keyword to search, and the search The result information is sent to the terminal. After receiving the search result information, the terminal may display the search result information in a partial area of the user interface. In an embodiment of the present disclosure, the terminal may display at least one display frame in the partial area, so that the display frame Displays search result information.

例如,如图2-5所示,当终端接收到在用户界面上触发的对“小吊梨汤”的长按操作后,且终端确定该用户界面和长按操作均满足预设条件,此时,终端可以将“小吊梨汤”作为搜索关键字发送至服务器,由服务器对该“小吊梨汤”进行搜索,终端接收到服务器对“小吊梨汤”的搜索结果信息后可以在用户界面的底部显示展示框Z,并在该展示框Z中显示服务器对“小吊梨汤”的搜索结果信息。For example, as shown in Figure 2-5, when the terminal receives a long-press operation on "Xiao Diao Li Tang" triggered on the user interface, and the terminal determines that both the user interface and the long-press operation meet the preset conditions, the , the terminal can send "Xiaodiaoli Soup" as a search keyword to the server, and the server will search for the "Xiaodiaoli Soup". After receiving the search result information of "Xiaodiaoli Soup" from the server, the terminal can A display box Z is displayed at the bottom of the user interface, and the server's search result information for "Xiao Diaoli Tang" is displayed in the display box Z.

需要说明的是,终端可以通过自身的操作系统执行上述在用户界面的局部区域上叠加显示搜索结果信息的技术过程,本公开实施例对此不再赘述。It should be noted that the terminal may perform the above-mentioned technical process of superimposing and displaying search result information on a local area of the user interface through its own operating system, which will not be repeated in the embodiments of the present disclosure.

其中,当终端确定用户界面处于预设模式,或者,终端确定选择操作为在用户界面的该局部区域中显示界面元素的操作时,也即是,终端确定用户界面或选择操作不满足预设条件时,终端可以禁止在用户界面的局部区域上叠加显示搜索结果信息,此时,终端需要执行步骤205至步骤208的技术过程。Wherein, when the terminal determines that the user interface is in the preset mode, or the terminal determines that the selection operation is an operation for displaying interface elements in the local area of the user interface, that is, the terminal determines that the user interface or the selection operation does not meet the preset condition In this case, the terminal may prohibit superimposed display of search result information on a local area of the user interface. At this time, the terminal needs to perform the technical process from step 205 to step 208.

步骤205、当用户界面处于预设模式时,终端禁止在用户界面的局部区域上叠加显示搜索结果信息。Step 205, when the user interface is in the preset mode, the terminal prohibits superimposed display of search result information on a partial area of the user interface.

根据上述分析,当用户界面处于预设模式时,终端对用户界面中的目标界面元素进行搜索并在用户界面的局部区域中显示搜索结果信息不仅无法给用户提供有价值的搜索结果信息,还会给用户对终端的正常使用带来影响。因此,在这种情况下,终端可以不执行获取用户界面中选择操作所选择的目标界面元素的操作,也不执行将该目标界面元素发送至服务器进行搜索的操作,同时不执行在用户界面的局部区域上叠加显示搜索结果信息的操作。According to the above analysis, when the user interface is in the preset mode, the terminal searches for the target interface elements in the user interface and displays the search result information in a local area of the user interface, not only cannot provide the user with valuable search result information, but also It will affect the normal use of the terminal by the user. Therefore, in this case, the terminal may not perform the operation of obtaining the target interface element selected by the selection operation in the user interface, nor perform the operation of sending the target interface element to the server for searching, and at the same time not perform the operation of the user interface. The operation of superimposing and displaying search result information on a local area.

步骤206、当选择操作不满足预设条件时,终端判断选择操作所选择的目标界面元素是否包含用户需要搜索的内容。Step 206: When the selection operation does not satisfy the preset condition, the terminal judges whether the target interface element selected by the selection operation contains the content that the user needs to search for.

在一些情况下,当选择操作为在用户界面的局部区域中显示界面元素的操作,也即是,当选择操作不满足预设条件时,用户在用户界面上进行该选择操作可能只是希望显示界面元素,而并不希望对目标界面元素进行搜索。在另外一些情况下,当选择操作为在用户界面的局部区域中显示界面元素的操作,也即是,当选择操作不满足预设条件时,用户在用户界面上进行该选择操作可能既希望显示界面元素,又希望对目标界面元素进行搜索。为了满足用户的不同需求,终端在选择操作为在用户界面的局部区域中显示界面元素的操作时,需要判断选择操作所选择的目标界面元素是否包含用户需要搜索的内容。In some cases, when the selection operation is an operation to display interface elements in a local area of the user interface, that is, when the selection operation does not meet the preset conditions, the user may only want to display the interface when performing the selection operation on the user interface element, and you don't want to search for the target interface element. In other cases, when the selection operation is an operation to display interface elements in a local area of the user interface, that is, when the selection operation does not meet the preset conditions, the user may not only want to display the selection operation on the user interface interface element, and wish to search for the target interface element. In order to meet different needs of users, when the terminal selects an operation to display interface elements in a partial area of the user interface, it needs to determine whether the target interface element selected by the selection operation contains the content that the user needs to search for.

下面本公开实施例将对终端判断选择操作所选择的目标界面元素是否包含用户需要搜索的内容的技术过程进行简要地说明,需要注意的是,下述对该技术过程的说明仅仅是示例性的,其并不能限制本公开。The following embodiments of the present disclosure will briefly describe the technical process for the terminal to determine whether the target interface element selected by the selection operation contains the content that the user needs to search for. It should be noted that the following description of the technical process is only exemplary. , which does not limit the present disclosure.

A3、终端基于选择操作的操作信息查询黑名单数据库。A3. The terminal queries the blacklist database based on the operation information of the selection operation.

在实际应用中,终端中预先配置的黑名单数据库除了存储有目标操作的操作信息之外,还存储有目标操作的搜索指示信息,该搜索指示信息用于指示目标操作所选择的界面元素是否包含用户需要搜索的内容。表2所示为本公开的一个实施例中黑名单数据库中存储的内容的示意。In practical applications, in addition to storing the operation information of the target operation, the pre-configured blacklist database in the terminal also stores the search indication information of the target operation. The search indication information is used to indicate whether the interface element selected by the target operation contains What users need to search for. Table 2 shows the contents stored in the blacklist database in an embodiment of the present disclosure.

表2Table 2

需要说明的是,表2所示仅仅是示例性的,其并不能限制本公开。It should be noted that what is shown in Table 2 is only exemplary, and does not limit the present disclosure.

当选择操作是在用户界面的局部区域中显示界面元素的操作时,该选择操作的操作信息一定存储于黑名单数据库中,此时,终端可以根据该选择操作的操作信息查询黑名单数据库,获取该选择操作的操作信息对应的搜索指示信息。When the selection operation is an operation of displaying interface elements in a local area of the user interface, the operation information of the selection operation must be stored in the blacklist database. At this time, the terminal can query the blacklist database according to the operation information of the selection operation to obtain The search indication information corresponding to the operation information of the selection operation.

B3、终端基于查询到的搜索指示信息判断目标界面元素是否包含用户需要搜索的内容。B3. The terminal judges whether the target interface element contains the content that the user needs to search based on the queried search indication information.

当终端获取的搜索指示信息是“包含”时,终端确定选择操作所选择的目标界面元素包含用户需要搜索的内容,而当终端获取的搜索指示信息是“不包含”时,终端确定选择操作所选择的目标界面元素不包含用户需要搜索的内容。When the search instruction information obtained by the terminal is "include", the terminal determines that the target interface element selected by the selection operation contains the content that the user needs to search; The selected target UI element does not contain what the user is searching for.

在实际应用中,黑名单数据库中还可以直接存储搜索指示信息对应的终端需要执行的操作,本公开实施例对此不做具体限定。In practical applications, the operation to be performed by the terminal corresponding to the search indication information may also be directly stored in the blacklist database, which is not specifically limited in this embodiment of the present disclosure.

步骤207、当选择操作所选择的目标界面元素包含用户需要搜索的内容时,终端在用户界面的指定位置处展示悬浮窗,该悬浮窗用于提供在用户界面的局部区域上叠加显示搜索结果信息的接口。Step 207: When the target interface element selected by the selection operation contains the content that the user needs to search for, the terminal displays a floating window at a designated position on the user interface, and the floating window is used to provide superimposed display of search result information on a local area of the user interface Interface.

当选择操作所选择的目标界面元素包含用户需要搜索的内容时,为了防止搜索结果信息的显示给用户对终端的正常使用带来影响,同时也为了保证用户可以在用户界面中观看目标界面元素的搜索结果信息,本公开实施例在这种情况下可以在用户界面的指定位置处显示悬浮窗,该悬浮窗用于提供在用户界面的局部区域上叠加显示搜索结果信息的接口。由于实际应用中,该悬浮窗的面积较小,且该悬浮窗可以位于上述局部区域的边缘处,因此,显示悬浮窗的方式可以避免搜索结果信息的显示对显示的界面元素造成遮挡,从而给用户对终端的正常使用带来影响,此外,由于终端在检测到对悬浮窗的触发操作后,可以在用户界面的局部区域中叠加显示目标界面元素的搜索结果信息,因此,用户可以通过触发悬浮窗的方式方便地观看目标界面元素的搜索结果信息,从而给用户对终端的使用带来便利。When the target interface element selected by the selection operation contains the content that the user needs to search, in order to prevent the display of search result information from affecting the user's normal use of the terminal, and to ensure that the user can view the content of the target interface element in the user interface For the search result information, in this case, the embodiment of the present disclosure may display a floating window at a designated position of the user interface, and the floating window is used to provide an interface for superimposing and displaying the search result information on a local area of the user interface. Since in practical applications, the area of the floating window is relatively small, and the floating window can be located at the edge of the above local area, therefore, the way of displaying the floating window can avoid the display of the search result information from blocking the displayed interface elements, thereby giving The user will affect the normal use of the terminal. In addition, since the terminal can superimpose and display the search result information of the target interface element in a local area of the user interface after detecting the trigger operation on the floating window, the user can trigger the floating window It is convenient to view the search result information of the target interface element in the form of a window, thereby bringing convenience to the user in using the terminal.

如图2-6所示为悬浮窗的示意图,当终端接收到在用户界面上触发的长按操作,并确定该长按操作为在用户界面的底部显示操作选项C的操作,同时,终端还确定该长按操作所选择的目标界面元素包含用户需要搜索的内容,此时,终端可以显示悬浮窗F,该悬浮窗F位于用户界面底部的边缘处,不会对操作选项C造成遮挡,在用户点击该悬浮窗F后,终端可以在用户界面的底部叠加显示至少一个展示框,并在该展示框中显示搜索结果信息,其中,展示框的形状与图2-5中展示框的形状同理。Figure 2-6 is a schematic diagram of the floating window. When the terminal receives a long-press operation triggered on the user interface and determines that the long-press operation is an operation to display operation option C at the bottom of the user interface, the terminal also Make sure that the target interface element selected by the long press operation contains the content that the user needs to search for. At this time, the terminal can display the floating window F, which is located at the edge of the bottom of the user interface and will not block the operation option C. After the user clicks the floating window F, the terminal can superimpose and display at least one display frame at the bottom of the user interface, and display the search result information in the display frame, where the shape of the display frame is the same as that of the display frame in Figure 2-5. reason.

步骤208、当选择操作所选择的目标界面元素不包含用户需要搜索的内容时,终端禁止在用户界面的局部区域上叠加显示搜索结果信息。Step 208: When the target interface element selected by the selection operation does not contain the content that the user needs to search, the terminal prohibits superimposed display of search result information on a partial area of the user interface.

当选择操作所选择的目标界面元素不包含用户需要搜索的内容时,用户进行选择操作的目的不太可能是希望对用户界面中的目标界面元素进行搜索,在这种情况下,为了避免终端提供给用户没有价值的搜索结果信息,也为了避免给用户对终端的正常使用带来影响,终端可以不执行在用户界面的局部区域上叠加显示搜索结果信息的操作。When the target interface element selected by the selection operation does not contain the content that the user needs to search, it is unlikely that the purpose of the user's selection operation is to search for the target interface element in the user interface. In this case, in order to avoid the terminal providing The search result information is worthless to the user, and in order to avoid affecting the user's normal use of the terminal, the terminal may not perform the operation of superimposing and displaying the search result information on a partial area of the user interface.

综上所述,本公开实施例提供的信息显示方法,通过接收到在用户界面上触发的选择操作后,终端在用户界面的局部区域中叠加显示该选择操作选择的目标界面元素对应的搜索结果信息,使得用户在用户界面上看到了某些自己感兴趣的内容并产生了搜索需求时,仅需要进行选择操作就可以在用户界面中得到该感兴趣的内容的搜索结果信息,从而极大简化了搜索流程,提高了搜索效率。To sum up, in the information display method provided by the embodiments of the present disclosure, after receiving a selection operation triggered on the user interface, the terminal superimposes and displays the search result corresponding to the target interface element selected by the selection operation in a local area of the user interface. information, so that when the user sees some content of interest on the user interface and generates a search demand, he only needs to perform a selection operation to obtain the search result information of the content of interest in the user interface, which greatly simplifies the Streamlined the search process and improved search efficiency.

进一步地,终端在接收到用户界面上触发的选择操作后,可以不立即对该选择操作所选择的目标界面元素进行搜索,而是判断用户界面和选择操作是否满足预设条件,并在该用户界面和选择操作满足预设条件时才在用户界面的局部区域中显示目标界面元素的搜索结果信息,从而防止了搜索结果信息的显示给用户对终端的正常使用带来影响。Furthermore, after receiving the selection operation triggered on the user interface, the terminal may not immediately search for the target interface element selected by the selection operation, but judge whether the user interface and the selection operation meet the preset conditions, and then The search result information of the target interface element is displayed in a local area of the user interface only when the interface and the selection operation meet the preset conditions, thereby preventing the display of the search result information from affecting the normal use of the terminal by the user.

图3-1是根据一示例性实施例示出的一种信息显示装置300的框图。参照图3-1,该信息显示装置300包括界面显示模块301、操作接收模块302和信息显示模块303。Fig. 3-1 is a block diagram of an information display device 300 according to an exemplary embodiment. Referring to FIG. 3-1 , the information display device 300 includes an interface display module 301 , an operation receiving module 302 and an information display module 303 .

该界面显示模块301,用于显示应用程序的用户界面,该用户界面包括至少一个界面元素。The interface display module 301 is configured to display a user interface of an application program, and the user interface includes at least one interface element.

该操作接收模块302,用于接收在该用户界面上触发的选择操作,该选择操作用于选择该至少一个界面元素中的目标界面元素。The operation receiving module 302 is configured to receive a selection operation triggered on the user interface, where the selection operation is used to select a target interface element in the at least one interface element.

该信息显示模块303,用于在该用户界面的局部区域上叠加显示搜索结果信息,该搜索结果信息是与该目标界面元素对应的搜索结果信息。The information display module 303 is configured to superimpose and display search result information on a partial area of the user interface, where the search result information is search result information corresponding to the target interface element.

在本公开的一个实施例中,该信息显示模块303,用于:当该用户界面和该选择操作满足预设条件时,在该用户界面的局部区域上叠加显示该搜索结果信息;当该用户界面或该选择操作不满足预设条件时,禁止在该用户界面的局部区域上叠加显示该搜索结果信息。In an embodiment of the present disclosure, the information display module 303 is configured to: when the user interface and the selection operation meet preset conditions, superimpose and display the search result information on a local area of the user interface; when the user When the interface or the selection operation does not meet the preset condition, it is forbidden to overlay and display the search result information on a partial area of the user interface.

如图3-2所示,在本公开的一个实施例中,该信息显示模块303,包括:As shown in Figure 3-2, in an embodiment of the present disclosure, the information display module 303 includes:

获取子模块3031,用于获取该选择操作的操作信息,该操作信息包括该应用程序的标识、该用户界面的标识和该选择操作在该用户界面上的位置中的至少一个。The obtaining sub-module 3031 is configured to obtain operation information of the selection operation, where the operation information includes at least one of the identifier of the application program, the identifier of the user interface, and the position of the selection operation on the user interface.

第一确定子模块3032,用于在该操作信息存储于预先配置的黑名单数据库时,确定该选择操作不满足预设条件,该黑名单数据库中存储有目标操作的操作信息,该目标操作包括能够触发终端在用户界面的该局部区域中展示界面元素的操作。The first determination sub-module 3032 is configured to determine that the selection operation does not meet the preset condition when the operation information is stored in a pre-configured blacklist database, the blacklist database stores operation information of a target operation, and the target operation includes An operation of displaying interface elements in the local area of the user interface can be triggered by the terminal.

如图3-3所示,在本公开的一个实施例中,该信息显示模块303,包括:As shown in Figure 3-3, in an embodiment of the present disclosure, the information display module 303 includes:

悬浮窗显示子模块3033,用于在该选择操作不满足预设条件,且,该目标界面元素包含用户需要搜索的内容时,在该用户界面的指定位置处展示悬浮窗,该悬浮窗用于提供在该用户界面的局部区域上叠加显示该搜索结果信息的接口。The floating window display submodule 3033 is used to display a floating window at a designated position of the user interface when the selection operation does not meet the preset condition and the target interface element contains the content that the user needs to search for. The floating window is used for An interface for superimposing and displaying the search result information on a local area of the user interface is provided.

在本公开的一个实施例中,该悬浮窗显示子模块3033,用于在该用户界面的局部区域的边缘处展示该悬浮窗。In one embodiment of the present disclosure, the floating window display submodule 3033 is configured to display the floating window at the edge of the local area of the user interface.

在本公开的一个实施例中,该信息显示模块303,还用于当检测到对该悬浮窗的触发操作后,在该用户界面的局部区域上叠加显示该搜索结果信息。In an embodiment of the present disclosure, the information display module 303 is further configured to superimpose and display the search result information on a local area of the user interface after detecting a trigger operation on the floating window.

禁止子模块3034,用于在该选择操作不满足预设条件,且,该目标界面元素不包含用户需要搜索的内容时,禁止在该用户界面的局部区域上叠加显示该搜索结果信息。The prohibition sub-module 3034 is configured to prohibit superimposed display of the search result information on a partial area of the user interface when the selection operation does not meet the preset condition and the target interface element does not contain the content that the user needs to search for.

如图3-4所示,在本公开的一个实施例中,该信息显示模块303,包括:As shown in Figure 3-4, in an embodiment of the present disclosure, the information display module 303 includes:

第二确定子模块3035,用于在该用户界面处于全屏模式、系统多选编辑模式或已经呼出输入界面的输入模式时,确定该用户界面不满足预设条件。The second determination sub-module 3035 is used to determine that the user interface does not satisfy the preset condition when the user interface is in full-screen mode, system multi-selection editing mode, or an input mode that has called out the input interface.

如图3-5所示,在本公开的一个实施例中,该信息显示模块303除了包括悬浮窗显示子模块3033和禁止子模块3034外,还可以包括获取子模块3031、查询子模块3036和第三确定子模块3037。As shown in Figures 3-5, in an embodiment of the present disclosure, the information display module 303 may include an acquisition submodule 3031, a query submodule 3036 and The third determining sub-module 3037.

其中,获取子模块3031,用于获取该选择操作的操作信息,该操作信息包括该应用程序的标识、该用户界面的标识和该选择操作在该用户界面上的位置中的至少一个。Wherein, the acquiring submodule 3031 is configured to acquire the operation information of the selection operation, and the operation information includes at least one of the identifier of the application program, the identifier of the user interface, and the position of the selection operation on the user interface.

查询子模块3036,用于基于该操作信息查询预先配置的黑名单数据库,该黑名单数据库存储有目标操作的操作信息和该目标操作的搜索指示信息,该目标操作包括能够触发终端在用户界面的该局部区域中展示界面元素的操作,该搜索指示信息用于指示该目标操作选择的界面元素是否包含用户需要搜索的内容。The query sub-module 3036 is configured to query a pre-configured blacklist database based on the operation information, the blacklist database stores operation information of the target operation and search instruction information of the target operation, the target operation includes the The operation of the interface element is displayed in the partial area, and the search indication information is used to indicate whether the interface element selected by the target operation contains the content that the user needs to search for.

第三确定子模块3037,用于基于查询到的搜索指示信息确定该目标界面元素是否包含用户需要搜索的内容。The third determination sub-module 3037 is configured to determine whether the target interface element contains the content that the user needs to search based on the queried search indication information.

图4是根据一示例性实施例示出的另一种信息显示装置400的框图,该信息显示装置400除了包括信息显示装置300包括的各个模块外,还包括数据库接收模块304和指令接收模块305。FIG. 4 is a block diagram of another information display device 400 according to an exemplary embodiment. The information display device 400 includes a database receiving module 304 and an instruction receiving module 305 in addition to the modules included in the information display device 300 .

该数据库接收模块304,用于接收服务器发送的该黑名单数据库。The database receiving module 304 is configured to receive the blacklist database sent by the server.

该指令接收模块305,用于接收针对目标操作信息的黑名单存储指令,该黑名单存储指令用于指示终端将该目标操作信息存储于该黑名单数据库中,该目标操作信息包括应用的标识、界面的标识和选择操作在该界面上的位置。The instruction receiving module 305 is configured to receive a blacklist storage instruction for target operation information, the blacklist storage instruction is used to instruct the terminal to store the target operation information in the blacklist database, the target operation information includes an application identifier, The identification of the interface and the position of the selection operation on the interface.

综上所述,本公开实施例提供的信息显示装置,通过接收到在用户界面上触发的选择操作后,在用户界面的局部区域中叠加显示该选择操作选择的目标界面元素对应的搜索结果信息,使得用户在用户界面上看到了某些自己感兴趣的内容并产生了搜索需求时,仅需要进行选择操作就可以在用户界面中得到该感兴趣的内容的搜索结果信息,从而极大简化了搜索流程,提高了搜索效率。To sum up, the information display device provided by the embodiments of the present disclosure, after receiving a selection operation triggered on the user interface, superimposes and displays the search result information corresponding to the target interface element selected by the selection operation in a local area of the user interface. , so that when the user sees some interesting content on the user interface and generates a search demand, he only needs to perform a selection operation to obtain the search result information of the interested content in the user interface, which greatly simplifies the The search process improves the search efficiency.

关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the foregoing embodiments, the specific manner in which each module executes operations has been described in detail in the embodiments related to the method, and will not be described in detail here.

图5是根据一示例性实施例示出的一种信息显示装置500的框图。例如,装置500可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。Fig. 5 is a block diagram of an information display device 500 according to an exemplary embodiment. For example, the apparatus 500 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.

参照图5,装置500可以包括以下一个或多个组件:处理组件502,存储器504,电源组件506,多媒体组件508,音频组件510,输入/输出(I/O)的接口512,传感器组件514,以及通信组件516。5, device 500 may include one or more of the following components: processing component 502, memory 504, power supply component 506, multimedia component 508, audio component 510, input/output (I/O) interface 512, sensor component 514, and communication component 516 .

处理组件502通常控制装置500的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件502可以包括一个或多个处理器520来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件502可以包括一个或多个模块,便于处理组件502和其他组件之间的交互。例如,处理组件502可以包括多媒体模块,以方便多媒体组件508和处理组件502之间的交互。The processing component 502 generally controls the overall operations of the device 500, such as those associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 502 may include one or more processors 520 to execute instructions to complete all or part of the steps of the above method. Additionally, processing component 502 may include one or more modules that facilitate interaction between processing component 502 and other components. For example, processing component 502 may include a multimedia module to facilitate interaction between multimedia component 508 and processing component 502 .

存储器504被配置为存储各种类型的数据以支持在装置500的操作。这些数据的示例包括用于在装置500上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器504可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 504 is configured to store various types of data to support operations at the device 500 . Examples of such data include instructions for any application or method operating on device 500, contact data, phonebook data, messages, pictures, videos, and the like. The memory 504 can be implemented by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.

电源组件506为装置500的各种组件提供电力。电源组件506可以包括电源管理系统,一个或多个电源,及其他与为装置500生成、管理和分配电力相关联的组件。The power supply component 506 provides power to various components of the device 500 . Power components 506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for device 500 .

多媒体组件508包括在所述装置500和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件508包括一个前置摄像头和/或后置摄像头。当装置500处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 508 includes a screen that provides an output interface between the device 500 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or swipe action, but also detect duration and pressure associated with the touch or swipe action. In some embodiments, the multimedia component 508 includes a front camera and/or a rear camera. When the device 500 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capability.

音频组件510被配置为输出和/或输入音频信号。例如,音频组件510包括一个麦克风(MIC),当装置500处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器504或经由通信组件516发送。在一些实施例中,音频组件510还包括一个扬声器,用于输出音频信号。The audio component 510 is configured to output and/or input audio signals. For example, the audio component 510 includes a microphone (MIC), which is configured to receive external audio signals when the device 500 is in operation modes, such as call mode, recording mode and voice recognition mode. Received audio signals may be further stored in memory 504 or sent via communication component 516 . In some embodiments, the audio component 510 also includes a speaker for outputting audio signals.

I/O接口512为处理组件502和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 512 provides an interface between the processing component 502 and a peripheral interface module. The peripheral interface module may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: a home button, volume buttons, start button, and lock button.

传感器组件514包括一个或多个传感器,用于为装置500提供各个方面的状态评估。例如,传感器组件514可以检测到装置500的打开/关闭状态,组件的相对定位,例如所述组件为装置500的显示器和小键盘,传感器组件514还可以检测装置500或装置500一个组件的位置改变,用户与装置500接触的存在或不存在,装置500方位或加速/减速和装置500的温度变化。传感器组件514可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件514还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件514还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。Sensor assembly 514 includes one or more sensors for providing status assessments of various aspects of device 500 . For example, the sensor component 514 can detect the open/closed state of the device 500, the relative positioning of components, such as the display and keypad of the device 500, and the sensor component 514 can also detect a change in the position of the device 500 or a component of the device 500 , the presence or absence of user contact with the device 500 , the device 500 orientation or acceleration/deceleration and the temperature change of the device 500 . Sensor assembly 514 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 514 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 514 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.

通信组件516被配置为便于装置500和其他设备之间有线或无线方式的通信。装置500可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信部件516经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信部件516还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 516 is configured to facilitate wired or wireless communication between the apparatus 500 and other devices. The device 500 can access wireless networks based on communication standards, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 516 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 516 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (BT) technology and other technologies.

在示例性实施例中,装置500可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, apparatus 500 may be programmed by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation for performing the methods described above.

在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器504,上述指令可由装置500的处理器520执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as the memory 504 including instructions, which can be executed by the processor 520 of the device 500 to implement the above method. For example, the non-transitory computer readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.

在示例性实施例中,还提供了一种非临时性计算机可读存储介质,该计算机可读存储介质中存储有计算机程序,当该计算机可读存储介质中的计算机程序由处理器执行时,能够执行一种信息显示方法,例如,该方法可以为:显示应用程序的用户界面,该用户界面包括至少一个界面元素;接收在该用户界面上触发的选择操作,该选择操作用于选择该至少一个界面元素中的目标界面元素;在该用户界面的局部区域上叠加显示搜索结果信息,该搜索结果信息是与该目标界面元素对应的搜索结果信息。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium in which a computer program is stored, and when the computer program in the computer-readable storage medium is executed by a processor, An information display method can be executed, for example, the method may be: displaying a user interface of an application program, where the user interface includes at least one interface element; receiving a selection operation triggered on the user interface, where the selection operation is used to select the at least one A target interface element in an interface element; superimposing and displaying search result information on a local area of the user interface, where the search result information is search result information corresponding to the target interface element.

本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the present disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any modification, use or adaptation of the present disclosure, and these modifications, uses or adaptations follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not disclosed in the present disclosure . The specification and examples are to be considered exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It should be understood that the present disclosure is not limited to the precise constructions which have been described above and shown in the drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (22)

Translated fromChinese
1.一种信息显示方法,其特征在于,所述方法包括:1. A method for displaying information, characterized in that the method comprises:显示应用程序的用户界面,所述用户界面包括至少一个界面元素;displaying a user interface of the application, the user interface comprising at least one interface element;接收在所述用户界面上触发的选择操作,所述选择操作用于选择所述至少一个界面元素中的目标界面元素;receiving a selection operation triggered on the user interface, where the selection operation is used to select a target interface element in the at least one interface element;在所述用户界面的局部区域上叠加显示搜索结果信息,所述搜索结果信息是与所述目标界面元素对应的搜索结果信息。Search result information is superimposed and displayed on a local area of the user interface, where the search result information is search result information corresponding to the target interface element.2.根据权利要求1所述的方法,其特征在于,所述在所述用户界面的局部区域上叠加显示搜索结果信息,包括:2. The method according to claim 1, wherein the superimposing and displaying search result information on a local area of the user interface comprises:当所述用户界面和所述选择操作满足预设条件时,在所述用户界面的局部区域上叠加显示所述搜索结果信息;或者,When the user interface and the selection operation meet a preset condition, superimposing and displaying the search result information on a local area of the user interface; or,当所述用户界面或所述选择操作不满足预设条件时,禁止在所述用户界面的局部区域上叠加显示所述搜索结果信息。When the user interface or the selection operation does not meet the preset condition, it is prohibited to superimpose and display the search result information on a partial area of the user interface.3.根据权利要求2所述的方法,其特征在于,所述方法还包括:3. The method according to claim 2, wherein the method further comprises:获取所述选择操作的操作信息,所述操作信息包括所述应用程序的标识、所述用户界面的标识和所述选择操作在所述用户界面上的位置中的至少一个;Obtaining operation information of the selection operation, where the operation information includes at least one of an identifier of the application program, an identifier of the user interface, and a position of the selection operation on the user interface;当所述操作信息存储于预先配置的黑名单数据库时,确定所述选择操作不满足预设条件,所述黑名单数据库中存储有目标操作的操作信息,所述目标操作包括能够触发终端在用户界面的所述局部区域中展示界面元素的操作。When the operation information is stored in the pre-configured blacklist database, it is determined that the selection operation does not meet the preset condition, and the blacklist database stores operation information of a target operation, and the target operation includes being able to trigger the terminal Operations of interface elements are displayed in the partial area of the interface.4.根据权利要求2所述的方法,其特征在于,所述方法还包括:4. The method according to claim 2, characterized in that the method further comprises:当所述选择操作不满足预设条件,且,所述目标界面元素包含用户需要搜索的内容时,在所述用户界面的指定位置处展示悬浮窗,所述悬浮窗用于提供在所述用户界面的局部区域上叠加显示所述搜索结果信息的接口;When the selection operation does not meet the preset condition, and the target interface element contains the content that the user needs to search for, a floating window is displayed at a designated position of the user interface, and the floating window is used to provide the user with An interface for displaying the search result information is superimposed on a partial area of the interface;当所述选择操作不满足预设条件,且,所述目标界面元素不包含用户需要搜索的内容时,禁止在所述用户界面的局部区域上叠加显示所述搜索结果信息。When the selection operation does not satisfy the preset condition, and the target interface element does not contain the content that the user needs to search, it is forbidden to superimpose and display the search result information on a partial area of the user interface.5.根据权利要求2所述的方法,其特征在于,所述方法还包括:5. The method according to claim 2, characterized in that the method further comprises:当所述用户界面处于全屏模式、系统多选编辑模式或已经呼出输入界面的输入模式时,确定所述用户界面不满足预设条件。When the user interface is in a full-screen mode, a system multi-selection editing mode, or an input mode in which an input interface has been called out, it is determined that the user interface does not satisfy a preset condition.6.根据权利要求4所述的方法,其特征在于,所述方法还包括:6. The method according to claim 4, characterized in that the method further comprises:获取所述选择操作的操作信息,所述操作信息包括所述应用程序的标识、所述用户界面的标识和所述选择操作在所述用户界面上的位置中的至少一个;Obtaining operation information of the selection operation, where the operation information includes at least one of an identifier of the application program, an identifier of the user interface, and a position of the selection operation on the user interface;基于所述操作信息查询预先配置的黑名单数据库,所述黑名单数据库存储有目标操作的操作信息和所述目标操作的搜索指示信息,所述目标操作包括能够触发终端在用户界面的所述局部区域中展示界面元素的操作,所述搜索指示信息用于指示所述目标操作所选择的界面元素是否包含用户需要搜索的内容;Query the pre-configured blacklist database based on the operation information, the blacklist database stores the operation information of the target operation and the search instruction information of the target operation, and the target operation includes the part that can trigger the terminal to perform a search on the user interface. The operation of displaying interface elements in the area, and the search indication information is used to indicate whether the interface element selected by the target operation contains the content that the user needs to search for;基于查询到的搜索指示信息确定所述目标界面元素是否包含用户需要搜索的内容。It is determined whether the target interface element contains the content that the user needs to search based on the queried search indication information.7.根据权利要求3或6所述的方法,其特征在于,所述方法还包括:7. The method according to claim 3 or 6, wherein the method further comprises:接收服务器发送的所述黑名单数据库。The blacklist database sent by the server is received.8.根据权利要求3或6所述的方法,其特征在于,所述方法还包括:8. The method according to claim 3 or 6, wherein the method further comprises:接收针对目标操作信息的黑名单存储指令,所述黑名单存储指令用于指示终端将所述目标操作信息存储于所述黑名单数据库中,所述目标操作信息包括应用的标识、界面的标识和选择操作在所述界面上的位置。receiving a blacklist storage instruction for target operation information, where the blacklist storage instruction is used to instruct the terminal to store the target operation information in the blacklist database, where the target operation information includes an application identifier, an interface identifier, and Choose where to operate on the interface.9.根据权利要求4所述的方法,其特征在于,所述方法还包括:9. The method according to claim 4, further comprising:当检测到对所述悬浮窗的触发操作后,在所述用户界面的局部区域上叠加显示所述搜索结果信息。When a trigger operation on the floating window is detected, the search result information is superimposed and displayed on a local area of the user interface.10.根据权利要求4所述的方法,其特征在于,所述在所述用户界面的指定位置处展示悬浮窗,包括:10. The method according to claim 4, wherein the displaying a floating window at a designated position of the user interface comprises:在所述用户界面的局部区域的边缘处展示所述悬浮窗。The floating window is displayed at the edge of the partial area of the user interface.11.一种信息显示装置,其特征在于,所述装置包括:11. An information display device, characterized in that the device comprises:界面显示模块,用于显示应用程序的用户界面,所述用户界面包括至少一个界面元素;an interface display module, configured to display a user interface of an application program, and the user interface includes at least one interface element;操作接收模块,用于接收在所述用户界面上触发的选择操作,所述选择操作用于选择所述至少一个界面元素中的目标界面元素;An operation receiving module, configured to receive a selection operation triggered on the user interface, where the selection operation is used to select a target interface element in the at least one interface element;信息显示模块,用于在所述用户界面的局部区域上叠加显示搜索结果信息,所述搜索结果信息是与所述目标界面元素对应的搜索结果信息。An information display module, configured to superimpose and display search result information on a local area of the user interface, where the search result information is search result information corresponding to the target interface element.12.根据权利要求11所述的装置,其特征在于,所述信息显示模块,用于:12. The device according to claim 11, wherein the information display module is configured to:当所述用户界面和所述选择操作满足预设条件时,在所述用户界面的局部区域上叠加显示所述搜索结果信息;或者,When the user interface and the selection operation meet a preset condition, superimposing and displaying the search result information on a local area of the user interface; or,当所述用户界面或所述选择操作不满足预设条件时,禁止在所述用户界面的局部区域上叠加显示所述搜索结果信息。When the user interface or the selection operation does not meet the preset condition, it is prohibited to superimpose and display the search result information on a partial area of the user interface.13.根据权利要求12所述的装置,其特征在于,所述信息显示模块,包括:13. The device according to claim 12, wherein the information display module comprises:获取子模块,用于获取所述选择操作的操作信息,所述操作信息包括所述应用程序的标识、所述用户界面的标识和所述选择操作在所述用户界面上的位置中的至少一个;An acquiring submodule, configured to acquire operation information of the selection operation, where the operation information includes at least one of an identifier of the application, an identifier of the user interface, and a position of the selection operation on the user interface ;第一确定子模块,用于在所述操作信息存储于预先配置的黑名单数据库时,确定所述选择操作不满足预设条件,所述黑名单数据库中存储有目标操作的操作信息,所述目标操作包括能够触发终端在用户界面的所述局部区域中展示界面元素的操作。The first determining submodule is configured to determine that the selection operation does not satisfy a preset condition when the operation information is stored in a pre-configured blacklist database, the blacklist database stores operation information of a target operation, and The target operation includes an operation capable of triggering the terminal to display interface elements in the local area of the user interface.14.根据权利要求12所述的装置,其特征在于,所述信息显示模块,包括:14. The device according to claim 12, wherein the information display module comprises:悬浮窗显示子模块,用于在所述选择操作不满足预设条件,且,所述目标界面元素包含用户需要搜索的内容时,在所述用户界面的指定位置处展示悬浮窗,所述悬浮窗用于提供在所述用户界面的局部区域上叠加显示所述搜索结果信息的接口;The floating window display submodule is used to display a floating window at a specified position in the user interface when the selection operation does not meet the preset condition and the target interface element contains the content that the user needs to search for. The window is used to provide an interface for superimposing and displaying the search result information on a local area of the user interface;禁止子模块,用于在所述选择操作不满足预设条件,且,所述目标界面元素不包含用户需要搜索的内容时,禁止在所述用户界面的局部区域上叠加显示所述搜索结果信息。A prohibition submodule, configured to prohibit superimposed display of the search result information on a local area of the user interface when the selection operation does not meet the preset condition and the target interface element does not contain the content that the user needs to search for .15.根据权利要求12所述的装置,其特征在于,所述信息显示模块,包括:15. The device according to claim 12, wherein the information display module comprises:第二确定子模块,用于在所述用户界面处于全屏模式、系统多选编辑模式或已经呼出输入界面的输入模式时,确定所述用户界面不满足预设条件。The second determination sub-module is used to determine that the user interface does not meet the preset condition when the user interface is in full-screen mode, system multi-selection editing mode, or an input mode that has called out the input interface.16.根据权利要求14所述的装置,其特征在于,所述信息显示模块,包括:16. The device according to claim 14, wherein the information display module comprises:获取子模块,用于获取所述选择操作的操作信息,所述操作信息包括所述应用程序的标识、所述用户界面的标识和所述选择操作在所述用户界面上的位置中的至少一个;An acquiring submodule, configured to acquire operation information of the selection operation, where the operation information includes at least one of an identifier of the application, an identifier of the user interface, and a position of the selection operation on the user interface ;查询子模块,用于基于所述操作信息查询预先配置的黑名单数据库,所述黑名单数据库存储有目标操作的操作信息和所述目标操作的搜索指示信息,所述目标操作包括能够触发终端在用户界面的所述局部区域中展示界面元素的操作,所述搜索指示信息用于指示所述目标操作所选择的界面元素是否包含用户需要搜索的内容;The query submodule is configured to query a pre-configured blacklist database based on the operation information, the blacklist database stores operation information of the target operation and search indication information of the target operation, and the target operation includes triggering the terminal to The operation of displaying interface elements in the local area of the user interface, and the search indication information is used to indicate whether the interface element selected by the target operation contains the content that the user needs to search for;第三确定子模块,用于基于查询到的搜索指示信息确定所述目标界面元素是否包含用户需要搜索的内容。The third determination submodule is configured to determine whether the target interface element contains the content that the user needs to search based on the search indication information obtained.17.根据权利要求13或16所述的装置,其特征在于,所述装置还包括:17. The device according to claim 13 or 16, further comprising:数据库接收模块,用于接收服务器发送的所述黑名单数据库。The database receiving module is used to receive the blacklist database sent by the server.18.根据权利要求13或16所述的装置,其特征在于,所述装置还包括:18. The device according to claim 13 or 16, further comprising:指令接收模块,用于接收针对目标操作信息的黑名单存储指令,所述黑名单存储指令用于指示终端将所述目标操作信息存储于所述黑名单数据库中,所述目标操作信息包括应用的标识、界面的标识和选择操作在所述界面上的位置。An instruction receiving module, configured to receive a blacklist storage instruction for target operation information, the blacklist storage instruction is used to instruct the terminal to store the target operation information in the blacklist database, the target operation information includes the application The identification, the identification of the interface and the location of the selection operation on the interface.19.根据权利要求14所述的装置,其特征在于,所述信息显示模块,还用于:19. The device according to claim 14, wherein the information display module is further used for:当检测到对所述悬浮窗的触发操作后,在所述用户界面的局部区域上叠加显示所述搜索结果信息。When a trigger operation on the floating window is detected, the search result information is superimposed and displayed on a local area of the user interface.20.根据权利要求14所述的装置,其特征在于,所述悬浮窗显示子模块,用于:20. The device according to claim 14, wherein the floating window display submodule is used for:在所述用户界面的局部区域的边缘处展示所述悬浮窗。The floating window is displayed at the edge of the partial area of the user interface.21.一种信息显示装置,其特征在于,包括:21. An information display device, characterized in that it comprises:处理器;processor;用于存储处理器可执行的指令的存储器;memory for storing processor-executable instructions;其中,所述处理器被配置为:Wherein, the processor is configured as:显示应用程序的用户界面,所述用户界面包括至少一个界面元素;displaying a user interface of the application, the user interface comprising at least one interface element;接收在所述用户界面上触发的选择操作,所述选择操作用于选择所述至少一个界面元素中的目标界面元素;receiving a selection operation triggered on the user interface, where the selection operation is used to select a target interface element in the at least one interface element;在所述用户界面的局部区域上叠加显示搜索结果信息,所述搜索结果信息是与所述目标界面元素对应的搜索结果信息。Search result information is superimposed and displayed on a partial area of the user interface, where the search result information is search result information corresponding to the target interface element.22.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机程序,存储的所述计算机程序被处理器执行时能够实现权利要求1至10任一所述的信息显示方法。22. A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the stored computer program is executed by a processor, the method described in any one of claims 1 to 10 can be realized. Information display method.
CN201710392956.4A2017-05-272017-05-27Information display method, device and computer readable storage mediumActiveCN107273448B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201710392956.4ACN107273448B (en)2017-05-272017-05-27Information display method, device and computer readable storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201710392956.4ACN107273448B (en)2017-05-272017-05-27Information display method, device and computer readable storage medium

Publications (2)

Publication NumberPublication Date
CN107273448Atrue CN107273448A (en)2017-10-20
CN107273448B CN107273448B (en)2021-03-23

Family

ID=60064842

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201710392956.4AActiveCN107273448B (en)2017-05-272017-05-27Information display method, device and computer readable storage medium

Country Status (1)

CountryLink
CN (1)CN107273448B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN107819939A (en)*2017-10-242018-03-20努比亚技术有限公司A kind of information acquisition method, terminal and computer-readable recording medium
CN107832036A (en)*2017-11-222018-03-23北京小米移动软件有限公司Sound control method, device and computer-readable recording medium
CN108829686A (en)*2018-05-302018-11-16北京小米移动软件有限公司Translation information display methods, device, equipment and storage medium
CN108920515A (en)*2018-05-312018-11-30腾讯科技(深圳)有限公司Information recommendation method, device, equipment and the storage medium of web displaying process
CN108958634A (en)*2018-07-232018-12-07Oppo广东移动通信有限公司Express delivery information acquisition method, device, mobile terminal and storage medium
CN113360064A (en)*2021-06-092021-09-07深圳集智数字科技有限公司Method and device for searching local area of picture, medium and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102651032A (en)*2012-03-312012-08-29百度在线网络技术(北京)有限公司Method and equipment for providing searching result
CN102945130A (en)*2012-11-212013-02-27广东欧珀移动通信有限公司 Information search method and system
US20140136518A1 (en)*2012-11-122014-05-15Microsoft CorporationMulti-pane presentation of multidimensional search results
CN103955473A (en)*2014-03-312014-07-30北京奇虎科技有限公司Method and device for searching

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102651032A (en)*2012-03-312012-08-29百度在线网络技术(北京)有限公司Method and equipment for providing searching result
US20140136518A1 (en)*2012-11-122014-05-15Microsoft CorporationMulti-pane presentation of multidimensional search results
CN102945130A (en)*2012-11-212013-02-27广东欧珀移动通信有限公司 Information search method and system
CN103955473A (en)*2014-03-312014-07-30北京奇虎科技有限公司Method and device for searching

Cited By (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN107819939A (en)*2017-10-242018-03-20努比亚技术有限公司A kind of information acquisition method, terminal and computer-readable recording medium
CN107832036A (en)*2017-11-222018-03-23北京小米移动软件有限公司Sound control method, device and computer-readable recording medium
CN108829686A (en)*2018-05-302018-11-16北京小米移动软件有限公司Translation information display methods, device, equipment and storage medium
CN108829686B (en)*2018-05-302022-04-15北京小米移动软件有限公司Translation information display method, device, equipment and storage medium
CN108920515A (en)*2018-05-312018-11-30腾讯科技(深圳)有限公司Information recommendation method, device, equipment and the storage medium of web displaying process
CN108958634A (en)*2018-07-232018-12-07Oppo广东移动通信有限公司Express delivery information acquisition method, device, mobile terminal and storage medium
CN113360064A (en)*2021-06-092021-09-07深圳集智数字科技有限公司Method and device for searching local area of picture, medium and electronic equipment

Also Published As

Publication numberPublication date
CN107273448B (en)2021-03-23

Similar Documents

PublicationPublication DateTitle
CN109582207B (en) Display method, device, terminal and storage medium for multitasking management interface
CN105955607B (en)Content sharing method and device
CN107273448B (en)Information display method, device and computer readable storage medium
CN108509232A (en)Screen recording method, device and computer readable storage medium
CN106791921B (en)Processing method and device for live video and storage medium
CN106528617B (en)A kind of method and device that Web page picture is shown
CN109600303B (en) Content sharing method, device and storage medium
JP6345238B2 (en) Interface display method and apparatus
WO2017035994A1 (en)Method and apparatus for connecting external device
RU2663709C2 (en)Method and device for data processing
CN109324846B (en)Application display method and device and storage medium
WO2017088247A1 (en)Input processing method, device and apparatus
CN106354504B (en)Message display method and device
CN106020634A (en)Screen capture method and device
CN105677473A (en)Method and device for switching application program
CN106919334A (en)Application program access method and device
CN107402767B (en) Method and apparatus for displaying push messages
CN111510556A (en) Method, device and computer storage medium for processing call information
CN106547216A (en)The method and device of intelligent scene trigger condition is set
CN107229403B (en)Information content selection method and device
CN106331328A (en) Method and device for information prompt
CN105930163A (en)Interface switching method and apparatus
CN105843486A (en)Method and apparatus for interface display
CN106294596A (en)The method and device of information search
CN105912202A (en)Application sharing method and device

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp