















技术领域technical field
本公开涉及终端技术领域,尤其涉及一种信息显示方法、装置及计算机可读存储介质。The present disclosure relates to the field of terminal technologies, and in particular, to an information display method, an apparatus, and a 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 use the terminal to search for content they are interested in. .
相关技术中,当用户在浏览新闻、应用页面时看到了某些自己感兴趣的内容,并产生了搜索需求时,用户可以长按并复制该内容,而后,用户可以打开浏览器,将复制的该内容粘贴至浏览器的搜索框中进行搜索。In the related art, when a user sees some content that interests him while browsing news or 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 your browser's search box to search.
然而,这样的搜索方法流程较为繁琐,效率较低。However, such a search method has a cumbersome process and low efficiency.
发明内容SUMMARY OF THE INVENTION
为克服相关技术中存在的搜索流程繁琐、效率较低的问题,本公开提供一种信息显示方法、装置及计算机可读存储介质。In order to overcome the problems of cumbersome search process and low efficiency in the related art, the present disclosure provides an information display method, an apparatus and a computer-readable storage medium.
根据本公开实施例的第一方面,提供一种信息显示方法,包括:According to a first aspect of the embodiments of the present disclosure, there is provided an information display method, including:
显示应用程序的用户界面,所述用户界面包括至少一个界面元素;displaying a user interface of the application, the user interface including at least one interface element;
接收在所述用户界面上触发的选择操作,所述选择操作用于选择所述至少一个界面元素中的目标界面元素;receiving a selection operation triggered on the user interface, the selection operation being 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.
可选的,所述在所述用户界面的局部区域上叠加显示搜索结果信息,包括:Optionally, the superimposed display of search result information on a local area of the user interface includes:
当所述用户界面和所述选择操作满足预设条件时,在所述用户界面的局部区域上叠加显示所述搜索结果信息;或者,When the user interface and the selection operation satisfy 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 satisfy 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, the operation information including the identifier of the application program, the identifier of the user interface, and the position of the selection operation on the user interface At least one of; when the operation information is stored in a preconfigured blacklist database, it is determined that the selection operation does not meet the preset conditions, and the blacklist database stores the operation information of the target operation, and the target operation includes The operation of displaying the interface element in the partial area of the user interface can be triggered by the terminal.
可选的,所述方法还包括:当所述选择操作不满足预设条件,且,所述目标界面元素包含用户需要搜索的内容时,在所述用户界面的指定位置处展示悬浮窗,所述悬浮窗用于提供在所述用户界面的局部区域上叠加显示所述搜索结果信息的接口;当所述选择操作不满足预设条件,且,所述目标界面元素不包含用户需要搜索的内容时,禁止在所述用户界面的局部区域上叠加显示所述搜索结果信息。Optionally, the method further includes: when the selection operation does not meet a preset condition, and the target interface element contains the content that the user needs to search for, displaying a floating window at a designated position on the user interface, and the The floating window is used to provide an interface for superimposing and displaying the search result information on a partial area of the user interface; when the selection operation does not meet the preset conditions, and the target interface element does not contain the content that the user needs to search when the search result information is displayed superimposed on the partial 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, the operation information including the identifier of the application program, the identifier of the user interface, and the position of the selection operation on the user interface At least one of: query a 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 ability to trigger the terminal to The operation of the interface element is displayed in the local area of the 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 target interface element is determined based on the search indication information queried. Whether to include what the user needs to search for.
可选的,所述方法还包括:接收服务器发送的所述黑名单数据库。Optionally, the method further includes: receiving the blacklist database sent by the server.
可选的,所述方法还包括:接收针对目标操作信息的黑名单存储指令,所述黑名单存储指令用于指示终端将所述目标操作信息存储于所述黑名单数据库中,所述目标操作信息包括应用的标识、界面的标识和选择操作在所述界面上的位置。Optionally, the method further includes: 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, and the target operation information is stored in the blacklist database. 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: when a triggering operation on the floating window is detected, 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 partial area of the user interface.
根据本公开实施例的第二方面,提供一种信息显示装置,包括:According to a second aspect of the embodiments of the present disclosure, there is provided an information display device, comprising:
界面显示模块,用于显示应用程序的用户界面,所述用户界面包括至少一个界面元素;an interface display module for displaying a user interface of an application, the user interface including 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 partial 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 all When the user interface or the selection operation does not meet the preset conditions, it is prohibited to superimpose and display the search result information on a partial area of the user interface.
可选的,所述信息显示模块,包括:Optionally, the information display module includes:
获取子模块,用于获取所述选择操作的操作信息,所述操作信息包括所述应用程序的标识、所述用户界面的标识和所述选择操作在所述用户界面上的位置中的至少一个;an acquisition sub-module for acquiring operation information of the selection operation, the operation information including 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 ;
第一确定子模块,用于在所述操作信息存储于预先配置的黑名单数据库时,确定所述选择操作不满足预设条件,所述黑名单数据库中存储有目标操作的操作信息,所述目标操作包括能够触发终端在用户界面的所述局部区域中展示界面元素的操作。The first determination submodule is configured to determine that the selection operation does not meet a preset condition when the operation information is stored in a preconfigured blacklist database, and the blacklist database stores the operation information of the target operation, and the blacklist database stores the operation information of the target operation. 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 sub-module is configured to display a floating window at a specified position of the user interface when the selection operation does not meet the preset conditions, and the target interface element contains the content that the user needs to search for, and the floating window The window is used to provide an interface for superimposing and displaying the search result information on a partial 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 conditions 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 submodule is configured to determine that the user interface does not meet the preset condition when the user interface is in the full screen mode, the system multi-selection editing mode, or the input mode in which the input interface has been called out.
可选的,所述信息显示模块,包括:Optionally, the information display module includes:
获取子模块,用于获取所述选择操作的操作信息,所述操作信息包括所述应用程序的标识、所述用户界面的标识和所述选择操作在所述用户界面上的位置中的至少一个;an acquisition sub-module for acquiring operation information of the selection operation, the operation information including 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 ;
查询子模块,用于基于所述操作信息查询预先配置的黑名单数据库,所述黑名单数据库存储有目标操作的操作信息和所述目标操作的搜索指示信息,所述目标操作包括能够触发终端在用户界面的所述局部区域中展示界面元素的操作,所述搜索指示信息用于指示所述目标操作选择的界面元素是否包含用户需要搜索的内容;The query sub-module is configured to query a 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 ability to trigger the terminal to The operation of displaying the interface element is displayed 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;
第三确定子模块,用于基于查询到的搜索指示信息确定所述目标界面元素是否包含用户需要搜索的内容。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 queried search indication information.
可选的,所述装置还包括:数据库接收模块,用于接收服务器发送的所述黑名单数据库。Optionally, the apparatus 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. , the target operation information includes the identification of the application, the identification of the interface, and the position of the selection operation on the interface.
可选的,所述信息显示模块,还用于:当检测到对所述悬浮窗的触发操作后,在所述用户界面的局部区域上叠加显示所述搜索结果信息。Optionally, the information display module is further configured to: display the search result information in a superimposed manner on a local area of the user interface after detecting a triggering operation on the floating window.
可选的,所述悬浮窗显示子模块,用于:在所述用户界面的局部区域的边缘处展示所述悬浮窗。Optionally, the floating window display sub-module is configured to: display the floating window at the edge of the partial area of the user interface.
根据本公开实施例的第三方面,提供一种信息显示装置,包括:According to a third aspect of the embodiments of the present disclosure, there is provided an information display device, comprising:
处理器;processor;
用于存储处理器可执行的指令的存储器;memory for storing instructions executable by the processor;
其中,所述处理器被配置为:wherein the processor is configured to:
显示应用程序的用户界面,所述用户界面包括至少一个界面元素;displaying a user interface of the application, the user interface including at least one interface element;
接收在所述用户界面上触发的选择操作,所述选择操作用于选择所述至少一个界面元素中的目标界面元素;receiving a selection operation triggered on the user interface, the selection operation being 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.
根据本公开实施例的第四方面,提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序,存储的所述计算机程序被处理器执行时能够实现上述第一方面所述的信息显示方法。According to a fourth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and the stored computer program can realize the above-mentioned first aspect when executed by a processor. 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 can see on the user interface certain items of interest to him. When a search request arises, the search result information of the content of interest can be obtained in the user interface only by performing a selection operation, thereby greatly simplifying the search process and improving the search efficiency.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that 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是根据一示例性实施例示出的一种用户界面的示意图。1-1 is a schematic diagram of a user interface according to an exemplary embodiment.
图1-2是根据一示例性实施例示出的一种浏览器界面的示意图。1-2 are schematic diagrams of a browser interface according to an exemplary embodiment.
图1-3是根据一示例性实施例示出的一种信息显示方法的流程图。1-3 are flowcharts illustrating a method for displaying information 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 of displaying operation options at the bottom of a user interface according to an exemplary embodiment.
图2-5是根据一示例性实施例示出的一种展示框的示意图。2-5 are schematic diagrams of a display frame according to an exemplary embodiment.
图2-6是根据一示例性实施例示出的一种悬浮窗的示意图。2-6 are schematic diagrams of a floating window according to an exemplary embodiment.
图3-1是根据一示例性实施例示出的一种信息显示装置的框图。FIG. 3-1 is a block diagram of an information display apparatus 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是根据一示例性实施例示出的一种信息显示模块的框图。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 ways
为使本公开的目的、技术方案和优点更加清楚,下面将结合附图对本公开实施方式作进一步地详细描述。In order to make the objectives, technical solutions and advantages of the present disclosure clearer, the embodiments of the present disclosure will be further described in detail below with reference to the accompanying drawings.
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. Where the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with this disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as recited in the appended claims.
在传统情况下,当用户在终端中的用户界面(如新闻界面、应用界面等)中看到了某些自己感兴趣的内容并产生了搜索需求时,用户可以长按并复制该内容,而后用户可以打开浏览器或其他应用,将复制的该内容粘贴至浏览器或其他应用的搜索框中进行搜索。In traditional cases, when a user sees some content that interests him in the user interface (such as news interface, application interface, etc.) in the terminal and generates a search demand, the user can long press and copy the content, and then the user You can open a browser or other application and paste the copied content into the search box of the browser or other application to search.
例如,如图1-1所示,当用户在浏览某一用户界面时看到“小吊梨汤”一词并想要对该“小吊梨汤”进行搜索以获取更多的信息时,用户可以长按该“小吊梨汤”并在长按后弹出的选项框中选中复制选项10,从而复制该“小吊梨汤”。而后,用户可以关闭当前显示的用户界面并打开浏览器,如图1-2所示,在打开浏览器后,用户可以将该“小吊梨汤”粘贴至搜索框20中,将“小吊梨汤”作为搜索关键字进行搜索。For example, as shown in Figure 1-1, when a user sees the word "Little Diao Li Tang" while browsing a user interface and wants to search for "Little Diao Li Tang" to get more information, The user can long press the "Little Diao Pear Soup" and
上述传统的搜索方法流程较为复杂,搜索效率较低,为了解决这一问题,本公开实施例提供了一种信息显示方法,在该方法中,用户仅需要对自己感兴趣的内容进行长按或其他操作就可以触发终端对该内容进行搜索,而后终端可以在当前显示的用户界面中叠加显示对该内容的搜索的结果,从而使得用户不需要进行界面切换,也不需要进行复制、粘贴等操作就可以实现对自己感兴趣的内容的搜索,简化了搜索流程,提高了搜索效率。The above-mentioned traditional search method has a relatively complicated process and low search efficiency. In order to solve this problem, an embodiment of the present disclosure provides an information display method, in which the user only needs to long press or Other operations can trigger the terminal to search the content, and then the terminal can superimpose and display the search result of the content in the currently displayed user interface, so that the user does not need to switch the interface, and does not need to perform operations such as copying and pasting. It is possible to realize the search for the content that interests you, simplify the search process, and improve the search efficiency.
图1-3是根据一示例性实施例示出的一种信息显示方法的流程图,如图1-3所示,该信息显示方法用于终端中,包括以下步骤。FIG. 1-3 is a flowchart of 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 the application, 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 the 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 partial 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, the search result information of the content of interest can be obtained in the user interface only by making a selection operation, thus greatly simplifying The search process is improved and the search efficiency is improved.
图2-1是根据一示例性实施例示出的一种信息显示方法的流程图,如图2-1所示,该信息显示方法用于终端中,包括以下步骤。Fig. 2-1 is a flowchart of a method for displaying information according to an exemplary embodiment. As shown in Fig. 2-1, the method for displaying information is used in a terminal and includes the following steps.
步骤201、终端显示应用程序的用户界面,该用户界面包括至少一个界面元素。Step 201: The terminal displays a user interface of the application, where the user interface includes at least one interface element.
需要说明的是,上述界面元素可以包括文字、图片等元素,本公开实施例对此不做具体限定。It should be noted that, the above-mentioned interface elements may include elements such as text and pictures, 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 whose touch duration exceeds a preset duration. Of course, in practical applications, the foregoing 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 on 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 A long-press operation is performed to select the content, and a selection operation on the user interface can 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" described here is also the "target interface element" described above.
在这种情况下,终端可以对该目标界面元素进行搜索,并在搜索结束后,将该目标界面元素的搜索结果信息叠加显示在用户界面的局部区域中,从而简化用户的搜索流程,给用户对终端的使用带来便利。In this case, the terminal can search for the target interface element, and after the search ends, superimpose the search result information of the target interface element on 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 determines whether the user interface and the selection operation satisfy the preset conditions.
如上所述,当用户界面中存在用户感兴趣的内容时,用户可以进行选择操作以触发终端对该内容进行搜索。然而,在某些情况下,用户界面中可能并不存在用户有搜索需求的内容,此时,用户在用户界面中进行选择操作不太可能是希望对用户界面中的内容进行搜索。在这种情况下,若该选择操作仍然触发终端进行搜索并在用户界面的局部区域中显示搜索结果信息,一方面会导致终端无法给用户提供有价值的搜索结果信息,另一方面还会造成用户的困扰,甚至给用户对终端的正常使用带来影响。As described above, when there is content of interest to the user in the user interface, the user may perform a selection operation to trigger the terminal to search for the content. However, in some cases, there may not be content that the user needs to search for in the user interface. In this case, 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 cannot provide valuable search result information to the user, and on the other hand, it will also cause The troubles of the user 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 perform other responses. For example, the selection operation may trigger the terminal to display interface elements in the local area of the user interface, etc., where the displayed Interface elements may include operation options, text information, interfaces, and the like. In this case, the terminal searches for the content in the user interface and displays the search result information in a local area of the user interface, which may block the interface elements displayed in the local area and affect the user's viewing or operation of the page element. Thus, the normal use of the terminal by the user is affected.
为了避免终端对用户界面中用户感兴趣的内容的搜索给用户对终端的正常使用带来影响,在本公开实施例中,当终端接收到在用户界面中触发的选择操作后,终端并不立即对该选择操作所选择的目标界面元素进行搜索,而是先判断用户界面和选择操作是否满足预设条件,以根据判断的结果确定终端后续需要执行的技术过程,从而避免终端对用户界面中目标界面元素的搜索给用户对终端的正常使用带来影响。In order to avoid the impact on the normal use of the terminal by the user when the terminal searches for the content that the user is interested in, in this 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 determine whether the user interface and the selection operation meet the preset conditions, so as to determine the subsequent technical process that the terminal needs to perform according to the judgment result, so as to avoid the terminal to the target in the user interface. The search of interface elements affects the normal use of the terminal by the user.
其中,终端判断用户界面是否满足预设条件可以为终端判断用户界面是否处于预设模式,当用户处于预设模式时,终端可以确定用户界面不满足预设条件。可选的,该预设模式可以包括全屏模式、系统多选编辑模式和已经呼出输入界面的输入模式等,在实际应用中,该预设模式还可以包括其他的模式,本公开实施例对此不做具体限定。Wherein, the terminal determining whether the user interface satisfies the preset condition may be that the terminal determines 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 a full-screen mode, a system multi-selection editing mode, an input mode in which the input interface has been called, and the like. In practical applications, the preset mode may also include other modes, and the embodiments of the present disclosure are for this. No specific limitation is made.
或者,在本公开实施例中,终端判断用户界面是否满足预设条件还可以为终端判断用户界面是否处于预设模式以外的模式。在这种情况下,当用户界面处于预设模式以外的模式时,终端可以确定用户界面满足预设条件。Alternatively, in this 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 the preset condition.
当用户界面处于全屏模式时,该用户界面很可能为视频应用的界面、游戏应用的界面或漫画类应用的界面,此时,用户界面中很可能并不存在用户有搜索需求的内容,而且在用户看视频、玩游戏时显示搜索结果信息会给用户带来较大的困扰。When the user interface is in full-screen mode, the user interface is likely to be an interface of a video application, an interface of a game application, or an interface of a comic-type application. Displaying search result information when a user is watching a video or playing a game will bring great trouble to the user.
当用户界面处于系统多选编辑模式时,用户界面中包括的通常是用户的个人文件,此时,用户界面中也很可能并不存在用户有搜索需求的内容。此外,请参考图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 have 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 when the system is in the multi-selection editing mode. 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 multi-selection of personal files in the user interface. The result information is likely to block the selection box K, thus affecting the batch multi-selection operation.
当用户界面处于已经呼出输入界面的输入模式时,用户很可能需要利用输入界面中的选项进行文字输入。请参考图2-3,图2-3为处于已经呼出输入界面的输入模式时用户界面的示意图,如图2-3所示,输入界面S在用户界面中所占的面积较大,且在实际应用中,输入界面S所在的区域很可能为终端显示搜索结果信息的区域,此时若终端在用户界面中显示搜索结果信息很可能会遮挡输入界面S,从而影响用户进行文字输入。需要说明的是,上述“呼出”指的是显示或弹出。When the user interface is in the input mode in which the input interface has been called, the user is likely to need to use the 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 large area in the user interface, and the 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 the search result information on the user interface, the input interface S is likely to 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 for the content in the user interface and displays the search result information in a local area of the user interface. The normal use of the terminal by the user is affected. Therefore, when the terminal receives the 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 according to the judgment result and display it in a local area of the user interface. Search result information is displayed in .
在实际应用中,终端可以基于自身搭载的操作系统查询用户界面是否处于上述预设模式,本公开实施例对此不再赘述。In practical applications, the terminal may query whether the user interface is in the above-mentioned preset mode based on the operating system carried by the terminal, which is not repeated 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 partial area of the user interface. When the selection operation is an operation of displaying the interface element in the partial area of the user interface, the terminal determines that the selection operation does not satisfy the preset condition.
或者,终端判断选择操作是否满足预设条件还可以为终端判断选择操作是否为在用户界面的该局部区域中显示界面元素的操作以外的其他操作。在这种情况下,当选择操作为在用户界面的该局部区域中显示界面元素的操作以外的其他操作时,终端可以确定选择操作满足预设条件。Alternatively, when the terminal determines whether the selection operation satisfies the preset condition, the terminal may also determine whether the selection operation is an operation other than the operation of displaying the interface element in the partial area of the user interface. In this case, when the selection operation is an operation other than the operation of displaying the interface element in the local area of the user interface, the terminal may determine that the selection operation satisfies the 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 of displaying interface elements in the local area of the user interface, the display of the search result information by the terminal is likely to result in the display of the search result information. The interface element causes occlusion, which affects the user's viewing or operation of the interface element, thereby affecting the normal use of the terminal by the user. It should be noted that the above-mentioned 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, when the terminal receives the long-press operation triggered on the user interface N, the terminal may display the operation option C (interface element) at the bottom of the user interface N. As can be seen from Figure 2-4, if the search result information is displayed in the area where the operation option C is displayed at the same time, it will inevitably block the operation option C, thus affecting the user's operation of the operation option C, and giving the user a limit on the normal use of the terminal. to influence.
因此,终端接收到在用户界面上触发的选择操作时,需要判断选择操作是否为在用户界面的局部区域中显示界面元素的操作,并根据判断结果确定终端是否需要对用户界面中的目标界面元素进行搜索并在用户界面的局部区域中显示搜索结果信息。Therefore, when the terminal receives a selection operation triggered on the user interface, it needs to determine whether the selection operation is an operation of displaying an interface element in a partial area of the user interface, and determine whether the terminal needs to perform an operation on the target interface element in the user interface according to the judgment result. Conduct a search and display search result information in a local 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 an interface element in a partial 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 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.
本公开实施例仅以选择操作为长按操作为例对终端判断选择操作是否为在用户界面的局部区域中显示界面元素的操作的技术过程进行简要说明,其他类型的选择操作对应的技术过程与选择操作为长按操作对应的技术过程同理,本公开实施例在此不再赘述。The embodiments of the present disclosure only take the selection operation as a long-press operation as an example to briefly describe the technical process of the terminal determining whether the selection operation is an operation of displaying interface elements in a partial area of the user interface, and the technical processes corresponding to other types of selection operations are the same as The selection operation is the same as the technical process corresponding to the long-press operation, which is not 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 "Xiao Diao Li Tang" is triggered on the user interface, the terminal can obtain the logo "xiachufang" of the application "Xia Kitchen" to which the user interface belongs, and can obtain the logo "20170228litang" of the user interface, It should be noted that the logo "xiachufang" of the above application and the logo "20170228litang" of the user interface 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 long-press operation on the corresponding pressing point on the user interface. to represent the coordinate area. For example, as shown in Figure 1-1, the position of the long-press operation on "Little Pear 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 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 practical applications, the terminal may acquire one or more of the identifier of the application program, the identifier of the user interface, and the position of the selection operation on the user interface, which is not specifically limited in this embodiment of the present disclosure.
B1、终端判断选择操作的操作信息是否存储于预先配置的黑名单数据库中。B1. The terminal determines whether the operation information of the selection operation is stored in a preconfigured 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, wherein the target operations include operations that can trigger the display of interface elements in a local area of the user interface. Table 1 shows a schematic diagram of 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 to make After receiving the blacklist acquisition request, the server sends the blacklist database or the 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 the usage of each user interface in the application program, or the server can configure the configuration after taking 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 that are 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 can 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 referred to as 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, and the server can store the target operation information in the blacklist database stored by the server after receiving the target operation information, and then the server can send it to other terminals. A blacklist database containing the target operation information, so that other terminals can also synchronize the target operation information.
当然,在实际应用中,终端中可以不存储该黑名单数据库,而仅由服务器存储该黑名单数据库,在这种情况下,终端可以将该选择操作的操作信息发送至服务器中,由服务器判断该选择操作的操作信息是否存储于黑名单数据库中。Of course, in practical applications, the blacklist database may not be stored in the terminal, but only by the server. In this case, the terminal may send the operation information of the selection operation to the server, and the server will judge 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 an interface element in a partial area of the user interface.
如上所述,由于黑名单数据库中存储有目标操作的操作信息,因此,若选择操作的操作信息存储于黑名单数据库中时,终端可以确定选择操作为目标操作,也即是可以确定选择操作为在用户界面的局部区域中显示界面元素的操作。As described 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, the selection operation can be determined as Displays the action of an interface element in a local 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 “Little Pear Soup” in Figure 1-1 is to display interface elements in a local area of the user interface operation.
此外,本公开实施例还提供了终端判断选择操作是否为在用户界面的局部区域中显示界面元素的操作以外的其他操作的技术过程,需要注意的是,下述对该技术过程的说明仅仅是示例性的,其并不能限制本公开。In addition, the embodiments of the present disclosure also provide a technical process for the terminal to determine whether the selection operation is an operation other than the operation of displaying interface elements in a partial area of the user interface. It should be noted that the following description of the technical process is only for By way of example, it does not limit 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 that of the above-mentioned A1, and details are not described herein again in this embodiment of the present disclosure.
B2、终端判断该选择操作的操作信息是否存储于预先配置的白名单数据库中。B2. The terminal determines whether the operation information of the selection operation is stored in the preconfigured whitelist database.
在实际应用中,终端中可以预先配置存储有白名单数据库,该白名单数据库中存储有不会触发终端在用户界面的局部区域中显示界面元素的操作的操作信息,其存储的操作信息的内容与表1所示同理,包括应用程序的标识、用户界面的标识和选择操作在用户界面中的位置中的一个或多个。In practical applications, a whitelist database may be pre-configured and stored in the terminal. The whitelist database stores operation information that will not trigger the terminal to display an operation of interface elements in a partial area of the user interface. The content of the stored operation information is stored in the whitelist database. Similar to that shown in Table 1, it includes one or more of the identification of the application program, the identification 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 can also store the operation information of the operation in the whitelist database, and the storage process is the same as the above-mentioned process of the user storing the target operation information in the blacklist database, which is not repeated in this embodiment of the present disclosure. Of course, in practical applications, similar to the above-mentioned blacklist database, the terminal may not store the whitelist database, but only the server may store the whitelist database. In this case, the terminal may The operation information is sent to the server, and the server determines whether the operation information of the selection operation is stored in the whitelist database.
C2、当选择操作的操作信息存储于白名单数据库时,终端确定选择操作为在用户界面的局部区域中显示界面元素的操作以外的其他操作。C2. When the operation information of the selection operation is stored in the whitelist database, the terminal determines that the selection operation is an operation other than the operation of displaying an interface element in a partial area of the user interface.
如上所述,由于白名单数据库中存储有不会触发终端在用户界面的局部区域中显示界面元素的操作的操作信息,因此,若选择操作的操作信息存储于白名单数据库中时,终端可以确定选择操作为在用户界面的局部区域中显示界面元素的操作以外的其他操作。As described above, since the whitelist database stores operation information that will not trigger the operation of the terminal to display interface elements in a partial area of the user interface, if the operation information of the selection operation is stored in the whitelist database, the terminal can determine Selection actions are actions other than those that display interface elements in a local area of the user interface.
当然,在实际应用中,终端也可以通过判断选择操作的操作信息是否存储于黑名单数据库中来判断选择操作是否为在用户界面的局部区域中显示界面元素的操作以外的其他操作,当该选择操作的操作信息不存储于黑名单数据库中时,终端可以确定选择操作为在用户界面的局部区域中显示界面元素的操作以外的其他操作,其技术过程与上文所述A1至C1的技术过程同理,本公开实施例在此不再赘述。Of course, in practical applications, the terminal can also judge whether the selection operation is an operation other than the operation of displaying interface elements in a partial area of the user interface by judging 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 the interface element in the partial area of the user interface, and the technical process thereof is the same as the technical process of A1 to C1 described 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 conditions, the terminal superimposes and displays search result information on a local area of the user interface, where the search result information is the search result information corresponding to the target interface element.
在上述步骤203中,当终端确定用户界面处于预设模式以外的模式,并确定选择操作为在用户界面的该局部区域中显示界面元素的操作以外的其他操作时,也即是,终端确定用户界面和选择操作均满足预设条件时,终端可以在用户界面的局部区域上叠加显示搜索结果信息。In the
根据上述分析,在用户界面和选择操作满足预设条件时,终端对用户界面中的目标界面元素进行搜索,并在用户界面的局部区域中显示搜索结果信息并不会给用户对终端的正常使用带来影响。According to the above analysis, when the user interface and the selection operation meet the preset conditions, the terminal searches for the target interface element in the user interface, and displays the search result information in the partial area of the user interface, which will not give the user the 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 can use the target interface element as a keyword to search and 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 to display the search result information in the partial area. Displays search result information.
例如,如图2-5所示,当终端接收到在用户界面上触发的对“小吊梨汤”的长按操作后,且终端确定该用户界面和长按操作均满足预设条件,此时,终端可以将“小吊梨汤”作为搜索关键字发送至服务器,由服务器对该“小吊梨汤”进行搜索,终端接收到服务器对“小吊梨汤”的搜索结果信息后可以在用户界面的底部显示展示框Z,并在该展示框Z中显示服务器对“小吊梨汤”的搜索结果信息。For example, as shown in Figure 2-5, when the terminal receives the long-press operation on "Little Pear Soup" triggered on the user interface, and the terminal determines that both the user interface and the long-press operation meet the preset conditions, this The terminal can send "Xiao Diao Pear Soup" as a search keyword to the server, and the server will search for the "Xiao Diao Pear Soup". A display box Z is displayed at the bottom of the user interface, and in the display box Z, the search result information of the server for "little pear soup" is displayed.
需要说明的是,终端可以通过自身的操作系统执行上述在用户界面的局部区域上叠加显示搜索结果信息的技术过程,本公开实施例对此不再赘述。It should be noted that the terminal may perform the above-mentioned technical process of superimposing and displaying search result information on a partial area of the user interface through its own operating system, which is not repeated in this embodiment 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 of 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 At this time, the terminal may prohibit superimposing and displaying the search result information on the partial area of the user interface. In this case, the terminal needs to perform the technical process of
步骤205、当用户界面处于预设模式时,终端禁止在用户界面的局部区域上叠加显示搜索结果信息。Step 205: When the user interface is in the preset mode, the terminal prohibits superimposing and displaying the 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 users 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 acquiring 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 displaying the search result information superimposed on the local area.
步骤206、当选择操作不满足预设条件时,终端判断选择操作所选择的目标界面元素是否包含用户需要搜索的内容。Step 206: When the selection operation does not satisfy the preset condition, the terminal determines 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 of displaying 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 wish to display the interface when the selection operation is performed on the user interface. element, and do not want to search for the target interface element. In other cases, when the selection operation is an operation of displaying 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 wish to display the selection operation on the user interface. interface element, and want to search for the target interface element. In order to meet different needs of users, when the terminal selection operation is an operation of displaying an interface element in a local 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, the blacklist database preconfigured in the terminal stores not only the operation information of the target operation, but also 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 a schematic diagram of the content 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, and obtain Search indication information corresponding to the operation information of the selection operation.
B3、终端基于查询到的搜索指示信息判断目标界面元素是否包含用户需要搜索的内容。B3. The terminal determines whether the target interface element contains the content that the user needs to search based on the search indication information obtained by the query.
当终端获取的搜索指示信息是“包含”时,终端确定选择操作所选择的目标界面元素包含用户需要搜索的内容,而当终端获取的搜索指示信息是“不包含”时,终端确定选择操作所选择的目标界面元素不包含用户需要搜索的内容。When the search indication information acquired 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 for, and when the search indication information acquired by the terminal is "does not contain", the terminal determines that the selection operation is The selected target UI element does not contain what the user needs to search for.
在实际应用中,黑名单数据库中还可以直接存储搜索指示信息对应的终端需要执行的操作,本公开实施例对此不做具体限定。In practical applications, the blacklist database may also directly store operations that need to be performed by the terminal corresponding to the search instruction information, 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, 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 partial 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 the search result information from affecting the normal use of the terminal by the user, and also to ensure that the user can view the target interface element in the user interface. 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, where the floating window is used to provide an interface for superimposing and displaying search result information on a partial area of the user interface. In practical applications, the area of the floating window is small, and the floating window can be located at the edge of the above-mentioned local area. Therefore, the method of displaying the floating window can avoid the display of the search result information from obscuring the displayed interface elements, thereby giving The user has an impact on the normal use of the terminal. In addition, after the terminal detects the triggering operation on the floating window, it can superimpose and display the search result information of the target interface element in the partial area of the user interface. Therefore, the user can trigger the floating window by The search result information of the target interface element can be conveniently viewed 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 a 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 It is determined that the target interface element selected by the long-press operation contains the content that the user needs to search. At this time, the terminal can display the floating window F. The floating window F is located at the bottom edge 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 box at the bottom of the user interface, and display the search result information in the display box, wherein the shape of the display box is the same as that of the display box 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 superimposing and displaying the 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 the target interface element in the user interface. In this case, in order to avoid the terminal providing The search result information that is of no value to the user, and in order to avoid affecting the normal use of the terminal by the user, 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 the 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 partial 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, the search result information of the content of interest can be obtained in the user interface only by making a selection operation, thus greatly simplifying The search process is improved and the search efficiency is improved.
进一步地,终端在接收到用户界面上触发的选择操作后,可以不立即对该选择操作所选择的目标界面元素进行搜索,而是判断用户界面和选择操作是否满足预设条件,并在该用户界面和选择操作满足预设条件时才在用户界面的局部区域中显示目标界面元素的搜索结果信息,从而防止了搜索结果信息的显示给用户对终端的正常使用带来影响。Further, 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 perform a search on the user interface. The search result information of the target interface element is displayed in a partial 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
该界面显示模块301,用于显示应用程序的用户界面,该用户界面包括至少一个界面元素。The
该操作接收模块302,用于接收在该用户界面上触发的选择操作,该选择操作用于选择该至少一个界面元素中的目标界面元素。The
该信息显示模块303,用于在该用户界面的局部区域上叠加显示搜索结果信息,该搜索结果信息是与该目标界面元素对应的搜索结果信息。The
在本公开的一个实施例中,该信息显示模块303,用于:当该用户界面和该选择操作满足预设条件时,在该用户界面的局部区域上叠加显示该搜索结果信息;当该用户界面或该选择操作不满足预设条件时,禁止在该用户界面的局部区域上叠加显示该搜索结果信息。In an embodiment of the present disclosure, the
如图3-2所示,在本公开的一个实施例中,该信息显示模块303,包括:As shown in FIG. 3-2, in an embodiment of the present disclosure, the
获取子模块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
如图3-3所示,在本公开的一个实施例中,该信息显示模块303,包括:As shown in Figures 3-3, in an embodiment of the present disclosure, the
悬浮窗显示子模块3033,用于在该选择操作不满足预设条件,且,该目标界面元素包含用户需要搜索的内容时,在该用户界面的指定位置处展示悬浮窗,该悬浮窗用于提供在该用户界面的局部区域上叠加显示该搜索结果信息的接口。The floating
在本公开的一个实施例中,该悬浮窗显示子模块3033,用于在该用户界面的局部区域的边缘处展示该悬浮窗。In an embodiment of the present disclosure, the floating
在本公开的一个实施例中,该信息显示模块303,还用于当检测到对该悬浮窗的触发操作后,在该用户界面的局部区域上叠加显示该搜索结果信息。In an embodiment of the present disclosure, the
禁止子模块3034,用于在该选择操作不满足预设条件,且,该目标界面元素不包含用户需要搜索的内容时,禁止在该用户界面的局部区域上叠加显示该搜索结果信息。The prohibiting sub-module 3034 is configured to prohibit superimposing and displaying 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 Figures 3-4, in an embodiment of the present disclosure, the
第二确定子模块3035,用于在该用户界面处于全屏模式、系统多选编辑模式或已经呼出输入界面的输入模式时,确定该用户界面不满足预设条件。The
如图3-5所示,在本公开的一个实施例中,该信息显示模块303除了包括悬浮窗显示子模块3033和禁止子模块3034外,还可以包括获取子模块3031、查询子模块3036和第三确定子模块3037。As shown in FIGS. 3-5 , in an embodiment of the present disclosure, the
其中,获取子模块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.
查询子模块3036,用于基于该操作信息查询预先配置的黑名单数据库,该黑名单数据库存储有目标操作的操作信息和该目标操作的搜索指示信息,该目标操作包括能够触发终端在用户界面的该局部区域中展示界面元素的操作,该搜索指示信息用于指示该目标操作选择的界面元素是否包含用户需要搜索的内容。The query sub-module 3036 is used to query a 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. 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 determining sub-module 3037 is configured to determine whether the target interface element contains the content that the user needs to search based on the search indication information queried.
图4是根据一示例性实施例示出的另一种信息显示装置400的框图,该信息显示装置400除了包括信息显示装置300包括的各个模块外,还包括数据库接收模块304和指令接收模块305。FIG. 4 is a block diagram of another
该数据库接收模块304,用于接收服务器发送的该黑名单数据库。The
该指令接收模块305,用于接收针对目标操作信息的黑名单存储指令,该黑名单存储指令用于指示终端将该目标操作信息存储于该黑名单数据库中,该目标操作信息包括应用的标识、界面的标识和选择操作在该界面上的位置。The
综上所述,本公开实施例提供的信息显示装置,通过接收到在用户界面上触发的选择操作后,在用户界面的局部区域中叠加显示该选择操作选择的目标界面元素对应的搜索结果信息,使得用户在用户界面上看到了某些自己感兴趣的内容并产生了搜索需求时,仅需要进行选择操作就可以在用户界面中得到该感兴趣的内容的搜索结果信息,从而极大简化了搜索流程,提高了搜索效率。To sum up, the information display device provided by the embodiments of the present disclosure, after receiving the 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 partial area of the user interface , so that when the user sees some content of interest on the user interface and generates a search requirement, the search result information of the content of interest can be obtained in the user interface only by performing a selection operation, which greatly simplifies the The search process improves the search efficiency.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the above-mentioned embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be described in detail here.
图5是根据一示例性实施例示出的一种信息显示装置500的框图。例如,装置500可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。FIG. 5 is a block diagram of an
参照图5,装置500可以包括以下一个或多个组件:处理组件502,存储器504,电源组件506,多媒体组件508,音频组件510,输入/输出(I/O)的接口512,传感器组件514,以及通信组件516。5, the
处理组件502通常控制装置500的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件502可以包括一个或多个处理器520来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件502可以包括一个或多个模块,便于处理组件502和其他组件之间的交互。例如,处理组件502可以包括多媒体模块,以方便多媒体组件508和处理组件502之间的交互。The
存储器504被配置为存储各种类型的数据以支持在装置500的操作。这些数据的示例包括用于在装置500上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器504可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。
电源组件506为装置500的各种组件提供电力。电源组件506可以包括电源管理系统,一个或多个电源,及其他与为装置500生成、管理和分配电力相关联的组件。
多媒体组件508包括在所述装置500和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件508包括一个前置摄像头和/或后置摄像头。当装置500处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。
音频组件510被配置为输出和/或输入音频信号。例如,音频组件510包括一个麦克风(MIC),当装置500处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器504或经由通信组件516发送。在一些实施例中,音频组件510还包括一个扬声器,用于输出音频信号。
I/O接口512为处理组件502和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/
传感器组件514包括一个或多个传感器,用于为装置500提供各个方面的状态评估。例如,传感器组件514可以检测到装置500的打开/关闭状态,组件的相对定位,例如所述组件为装置500的显示器和小键盘,传感器组件514还可以检测装置500或装置500一个组件的位置改变,用户与装置500接触的存在或不存在,装置500方位或加速/减速和装置500的温度变化。传感器组件514可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件514还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件514还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件516被配置为便于装置500和其他设备之间有线或无线方式的通信。装置500可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信部件516经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信部件516还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。
在示例性实施例中,装置500可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment,
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器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 a
在示例性实施例中,还提供了一种非临时性计算机可读存储介质,该计算机可读存储介质中存储有计算机程序,当该计算机可读存储介质中的计算机程序由处理器执行时,能够执行一种信息显示方法,例如,该方法可以为:显示应用程序的用户界面,该用户界面包括至少一个界面元素;接收在该用户界面上触发的选择操作,该选择操作用于选择该至少一个界面元素中的目标界面元素;在该用户界面的局部区域上叠加显示搜索结果信息,该搜索结果信息是与该目标界面元素对应的搜索结果信息。In an exemplary embodiment, a non-transitory computer-readable storage medium is also provided, 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 performed, for example, the method may be: displaying a user interface of an application, the user interface including at least one interface element; receiving a selection operation triggered on the user interface, the selection operation being used to select the at least one interface element. A target interface element in an interface element; the search result information is superimposed and displayed on the partial area of the user interface, and the search result information is the search result information corresponding to the target interface element.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the present disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or techniques in the technical field not disclosed by the present disclosure . The specification and examples are to be regarded as exemplary only, with the true scope and spirit of the disclosure being indicated by the following claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It is to be understood that the present disclosure is not limited to the precise structures described above and illustrated in the accompanying drawings, and that 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.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710392956.4ACN107273448B (en) | 2017-05-27 | 2017-05-27 | Information display method, device and computer readable storage medium |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710392956.4ACN107273448B (en) | 2017-05-27 | 2017-05-27 | Information display method, device and computer readable storage medium |
| Publication Number | Publication Date |
|---|---|
| CN107273448A CN107273448A (en) | 2017-10-20 |
| CN107273448Btrue CN107273448B (en) | 2021-03-23 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710392956.4AActiveCN107273448B (en) | 2017-05-27 | 2017-05-27 | Information display method, device and computer readable storage medium |
| Country | Link |
|---|---|
| CN (1) | CN107273448B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107819939B (en)* | 2017-10-24 | 2020-09-04 | 西安万德奥星信息科技有限公司 | Information acquisition method, terminal and computer-readable storage medium |
| CN107832036B (en)* | 2017-11-22 | 2022-01-18 | 北京小米移动软件有限公司 | Voice control method, device and computer-readable storage medium |
| CN108829686B (en)* | 2018-05-30 | 2022-04-15 | 北京小米移动软件有限公司 | Translation information display method, device, equipment and storage medium |
| CN108920515B (en)* | 2018-05-31 | 2023-07-28 | 腾讯科技(深圳)有限公司 | Information recommendation method, device, equipment and storage medium for webpage display process |
| CN108958634A (en)* | 2018-07-23 | 2018-12-07 | Oppo广东移动通信有限公司 | Express delivery information acquisition method, device, mobile terminal and storage medium |
| CN113360064A (en)* | 2021-06-09 | 2021-09-07 | 深圳集智数字科技有限公司 | Method and device for searching local area of picture, medium and electronic equipment |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102651032A (en)* | 2012-03-31 | 2012-08-29 | 百度在线网络技术(北京)有限公司 | Method and equipment for providing searching result |
| CN102945130A (en)* | 2012-11-21 | 2013-02-27 | 广东欧珀移动通信有限公司 | Information search method and system |
| CN103955473A (en)* | 2014-03-31 | 2014-07-30 | 北京奇虎科技有限公司 | Method and device for searching |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20140136518A1 (en)* | 2012-11-12 | 2014-05-15 | Microsoft Corporation | Multi-pane presentation of multidimensional search results |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102651032A (en)* | 2012-03-31 | 2012-08-29 | 百度在线网络技术(北京)有限公司 | Method and equipment for providing searching result |
| CN102945130A (en)* | 2012-11-21 | 2013-02-27 | 广东欧珀移动通信有限公司 | Information search method and system |
| CN103955473A (en)* | 2014-03-31 | 2014-07-30 | 北京奇虎科技有限公司 | Method and device for searching |
| Publication number | Publication date |
|---|---|
| CN107273448A (en) | 2017-10-20 |
| Publication | Publication Date | Title |
|---|---|---|
| CN107273448B (en) | Information display method, device and computer readable storage medium | |
| CN105159640B (en) | Display interface rotating method and device and mobile terminal | |
| CN109582207B (en) | Display method, device, terminal and storage medium for multitasking management interface | |
| CN108509232A (en) | Screen recording method, device and computer readable storage medium | |
| CN109600303B (en) | Content sharing method, device and storage medium | |
| WO2018058728A1 (en) | Content sharing method and apparatus | |
| CN106528617B (en) | A kind of method and device that Web page picture is shown | |
| JP6345238B2 (en) | Interface display method and apparatus | |
| CN105808050B (en) | Information search method and device | |
| WO2017016164A1 (en) | Colour gamut mode switching method and device | |
| WO2017035994A1 (en) | Method and apparatus for connecting external device | |
| WO2017016148A1 (en) | Image-based communication method and device | |
| WO2016023339A1 (en) | Photographing delay method and device | |
| WO2017088247A1 (en) | Input processing method, device and apparatus | |
| CN107402767B (en) | Method and apparatus for displaying push messages | |
| CN111510556A (en) | Method, device and computer storage medium for processing call information | |
| CN107229403B (en) | Information content selection method and device | |
| WO2017054354A1 (en) | Information processing method and device | |
| WO2016090831A1 (en) | Page display method and device, and electronic equipment | |
| CN105956199B (en) | Information displaying method and device | |
| CN106331328A (en) | Method and device for information prompt | |
| CN105843486A (en) | Method and apparatus for interface display | |
| CN105721283B (en) | Method, device and equipment for sending screenshot message | |
| CN106294596A (en) | The method and device of information search | |
| WO2017219536A1 (en) | Application switching method and device |
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |