










技术领域technical field
本申请涉及通信技术领域,尤其涉及一种搜索展示方法、装置及电子设备。The present application relates to the field of communication technologies, and in particular, to a search and display method, apparatus, and electronic device.
背景技术Background technique
目前,当需要在两个或者多个应用中执行搜索操作时,一般是先通过运行两个或者多个应用中的第一应用执行对应的搜索操作,然后在切换运行两个或者多个应用中的第二运用执行对应的搜索操作,直到完成对应两个或者多个应用中的每个应用的搜索操作。At present, when a search operation needs to be performed in two or more applications, the corresponding search operation is generally performed by running the first application of the two or more applications, and then switching between the two or more applications is performed. The second application executes the corresponding search operation until the search operation corresponding to each of the two or more applications is completed.
可见,现有技术中,当需要在两个或者多个应用中执行搜索操作时,搜索过程存在操作繁琐的问题。It can be seen that, in the prior art, when a search operation needs to be performed in two or more applications, the search process has the problem of complicated operation.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供一种搜索展示方法、装置及电子设备,能够解决现有技术中,当需要在两个或者多个应用中执行搜索操作时,搜索过程存在操作繁琐的问题。The embodiments of the present application provide a search display method, apparatus, and electronic device, which can solve the problem of complicated operation in the search process when a search operation needs to be performed in two or more applications in the prior art.
为解决上述技术问题,本申请是这样实现的:In order to solve the above-mentioned technical problems, the present application is implemented as follows:
第一方面,本申请实施例提供了一种搜索展示方法,包括:In a first aspect, an embodiment of the present application provides a search and display method, including:
显示包括搜索框和M个应用的图标的搜索界面;Display a search interface including a search box and icons of M applications;
在接收到针对所述M个应用的图标中的N个图标的第一输入的情况下,确定与所述搜索框关联的N个应用,所述N个应用为所述N个图标对应的应用;In the case of receiving a first input for N icons among the icons of the M applications, determine N applications associated with the search box, where the N applications are applications corresponding to the N icons ;
在所述搜索框内输入有关键词的情况下,获取所述在关键词在N个应用中的搜索结果;In the case where a keyword is input in the search box, obtain the search results of the keyword in N applications;
展示所述搜索结果;display the search results;
其中,M、N为正整数。Among them, M and N are positive integers.
第二方面,本申请实施例还提供一种搜索展示装置,包括:In a second aspect, an embodiment of the present application further provides a search and display device, including:
显示模块,用于显示包括搜索框和M个应用的图标的搜索界面;a display module for displaying a search interface including a search box and icons of M applications;
确定模块,用于在接收到针对所述M个应用的图标中的N个图标的第一输入的情况下,确定与所述搜索框关联的N个应用,所述N个应用为所述N个图标对应的应用;A determination module, configured to determine N applications associated with the search box in the case of receiving a first input for N icons among the M applications, where the N applications are the N The application corresponding to each icon;
获取模块,用于在所述搜索框内输入有关键词的情况下,获取所述在关键词在N个应用中的搜索结果;an acquisition module, configured to acquire the search results of the keywords in N applications when a keyword is input in the search box;
展示模块,用于展示所述搜索结果;a display module for displaying the search results;
其中,M、N为正整数。Among them, M and N are positive integers.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, embodiments of the present application provide an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being The processor implements the steps of the method according to the first aspect when executed.
第四方面,本申请实施例提供了一种计算机可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the method according to the first aspect is implemented. step.
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In a fifth aspect, an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction, and implement the first aspect the method described.
在本申请实施例中,在执行搜索框内显示的关键词的搜索任务时,可以通过同时调用N个应用中每一应用执行关键词的搜索任务,并获取对应的搜索结果,从而实现在多个应用中执行搜索任务的搜索操作,相较于需要来回切换搜索应用,执行关键词在不同应用中的搜索任务,可以有效简化搜索操作。In the embodiment of the present application, when performing the search task for the keywords displayed in the search box, each application in the N applications can be called simultaneously to perform the keyword search task, and the corresponding search results are obtained, so as to achieve multiple search results. For a search operation that performs a search task in one application, compared with the need to switch back and forth between search applications, performing a search task for keywords in different applications can effectively simplify the search operation.
附图说明Description of drawings
图1是本申请实施例提供的搜索展示方法的流程图;1 is a flowchart of a search and display method provided by an embodiment of the present application;
图2是本申请实施例提供的搜索展示方法的操作示意图之一;FIG. 2 is one of the operation schematic diagrams of the search display method provided by the embodiment of the present application;
图3a是本申请实施例提供的搜索展示方法的操作示意图之二;Fig. 3a is the second schematic diagram of the operation of the search display method provided by the embodiment of the present application;
图3b是本申请实施例提供的搜索展示方法的操作示意图之三;Fig. 3b is the third operation schematic diagram of the search display method provided by the embodiment of the present application;
图3c是本申请实施例提供的搜索展示方法的操作示意图之四;Fig. 3c is the fourth operation schematic diagram of the search display method provided by the embodiment of the present application;
图4a是本申请实施例提供的搜索展示方法的操作示意图之五;Fig. 4a is the fifth operation schematic diagram of the search display method provided by the embodiment of the present application;
图4b是本申请实施例提供的搜索展示方法的操作示意图之六;FIG. 4b is a sixth schematic diagram of the operation of the search display method provided by the embodiment of the present application;
图5是本申请实施例提供的搜索展示方法的操作示意图之七;FIG. 5 is a seventh operation schematic diagram of the search display method provided by the embodiment of the present application;
图6是本申请实施例提供的搜索展示装置的结构图;FIG. 6 is a structural diagram of a search display device provided by an embodiment of the present application;
图7是本申请实施例提供的电子设备的结构图之一;7 is one of the structural diagrams of an electronic device provided by an embodiment of the present application;
图8是本申请实施例提供的电子设备的结构图之二。FIG. 8 is a second structural diagram of an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and distinguish between "first", "second", etc. The objects are usually of one type, and the number of objects is not limited. For example, the first object may be one or more than one. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the associated objects are in an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的搜索展示方法进行详细地说明。The search display method provided by the embodiments of the present application will be described in detail below through specific embodiments and application scenarios with reference to the accompanying drawings.
参见图1,图1是本申请一实施例提供的搜索展示方法的流程图,本申请实施例提供的搜索展示方法可以应用于手机、平板电脑等电子设备,如图1所示,包括以下步骤:Referring to FIG. 1, FIG. 1 is a flowchart of a search and display method provided by an embodiment of the present application. The search and display method provided by an embodiment of the present application can be applied to electronic devices such as mobile phones and tablet computers. As shown in FIG. 1, the following steps are included :
步骤101、显示包括搜索框和M个应用的图标的搜索界面。Step 101: Display a search interface including a search box and icons of M applications.
该步骤中,M个应用的图标可以是显示在桌面上的图标,也可以是用户选中的与搜索框关联的图标。In this step, the icons of the M applications may be icons displayed on the desktop or icons selected by the user and associated with the search box.
比如,首先,可以通过接收用户针对挂件添加界面的触发操作,响应于该触发操作,显示挂件添加界面;其次,可以在挂件添加界面接收针对搜索框的选取操作,响应于该选取操作,在桌面的预设区域,比如桌面显示的时间图标的下方显示搜索框,以实现搜索框的添加显示;最后,可以通过接收针对桌面显示的图标的拖动操作,通过响应于该拖动操作,将拖动操作的关联的图标拖动至搜索框的位置,以实现与搜索框关联的图标的设置操作,即实现搜索界面的显示。For example, firstly, a user's trigger operation on the widget adding interface can be received, and the widget adding interface can be displayed in response to the triggering operation; secondly, a selection operation for the search box can be received on the widget adding interface, and in response to the selection operation, the widget adding interface can be displayed on the desktop. For example, a search box is displayed below the time icon displayed on the desktop to realize the addition and display of the search box; finally, by receiving a drag operation for the icon displayed on the desktop, in response to the drag operation, the drag The icon associated with the manual operation is dragged to the position of the search box, so as to realize the setting operation of the icon associated with the search box, that is, to realize the display of the search interface.
可选的,当有图标拖动至搜索框,并与搜索框产生了关联关系,比如图标与搜索框的重合度大于30%的情况下,则确定图标与搜索框产生了关联关系,并生成包括图标和搜索框的搜索界面,且搜索界面中的搜索框和图标可以分区显示。Optionally, when an icon is dragged to the search box and associated with the search box, for example, if the overlap between the icon and the search box is greater than 30%, it is determined that the icon is associated with the search box, and the The search interface includes icons and search boxes, and the search boxes and icons in the search interface can be displayed in partitions.
其中,在生成搜索界面后,还可以采用同样的方式,向搜索界面添加其他应用的图标,以满足用户的搜索需求。Wherein, after the search interface is generated, icons of other applications may be added to the search interface in the same manner to meet the user's search requirements.
应当理解的是,在建立图标与搜索框的关联关系的时候,还可以是其他关联方式,比如通过长按图标,并在按压时长超过预设时长时,则建立该图标与搜索框的关联关系。It should be understood that when establishing the association relationship between the icon and the search box, other association methods can also be used, such as long-pressing the icon, and when the pressing time exceeds the preset time period, the icon and the search box are established. Association relationship .
步骤102、在接收到针对所述M个应用的图标中的N个图标的第一输入的情况下,确定与所述搜索框关联的N个应用,所述N个应用为所述N个图标对应的应用。Step 102: In the case of receiving the first input for N icons among the icons of the M applications, determine N applications associated with the search box, where the N applications are the N icons corresponding application.
该步骤中,第一输入可以是选取操作,用于从M个应用的图标中选取N个图标,以便确定与搜索框关联的N个图标。In this step, the first input may be a selection operation for selecting N icons from icons of M applications, so as to determine N icons associated with the search box.
步骤103、在所述搜索框内输入有关键词的情况下,获取所述在关键词在N个应用中的搜索结果。Step 103: In the case where a keyword is input in the search box, obtain the search result of the keyword in N applications.
该步骤中,在执行搜索框内显示的关键词的搜索任务时,可以同时调用N个应用中每一应用执行关键词的搜索任务,并获取对应的搜索结果,从而实现在多个应用中执行搜索任务的搜索操作,相较于需要来回切换搜索应用,执行关键词在不同应用中的搜索任务,可以有效简化搜索操作。In this step, when performing the search task for the keywords displayed in the search box, each application in the N applications can be called to perform the keyword search task at the same time, and obtain the corresponding search results, so as to realize the execution in multiple applications. For the search operation of the search task, compared with the need to switch search applications back and forth, performing the search task of keywords in different applications can effectively simplify the search operation.
比如,通过建立将应用A的图标、应用B的图标及应用D的图标与搜索框的关联关系,以生成包括搜索框、应用A的图标、应用B的图标及应用D的图标的搜索界面;在搜索框中输入有关键词的情况下,则同时调用应用A、应用B及应用D,执行与关键词对应的搜索任务,并获取关键词在应用A、应用B及应用D中的搜索结果。For example, by establishing an association relationship between the icon of application A, the icon of application B, and the icon of application D and the search box, to generate a search interface including the search box, the icon of application A, the icon of application B and the icon of application D; When a keyword is entered in the search box, application A, application B, and application D are called at the same time to execute the search task corresponding to the keyword, and obtain the search results of the keyword in application A, application B, and application D .
而且通过这样设置,可以仅需输入一次关键词,就能够实现关键词在多个与搜索框关联的应用中的搜索,有效的减少了关键词的输入次数。Moreover, by setting in this way, the keyword can be searched in multiple applications associated with the search box only by inputting the keyword once, which effectively reduces the number of times of inputting the keyword.
其中,关键词可以通过手动输入的方式输入至搜索框,也可以通过复杂粘贴的方式输入至搜索框。The keywords may be entered into the search box by manual input, or may be entered into the search box by complex pasting.
步骤104、展示所述搜索结果。
该步骤中、通过将搜索到的搜索结果进行展示,以便用户查看。In this step, the searched search results are displayed for the user to view.
其中,当搜索结果显示为两个或者多个时,还可以将搜索结果进行分区显示,以便用户进行查看比对,提高了搜索结果的获取效率。Wherein, when there are two or more search results displayed, the search results can also be displayed in partitions, so that the user can check and compare, which improves the obtaining efficiency of the search results.
比如,搜索结果为两个的情况时,则可以将两个搜索结果进行分区显示,如图2所示,将对应第一应用的搜索结果显示在第一分区21,将对应第二应用的搜索结果显示在第二分区22。For example, when there are two search results, the two search results can be displayed in partitions. As shown in FIG. 2, the search results corresponding to the first application are displayed in the
在上述实施方式中,M、N为正整数。In the above-described embodiments, M and N are positive integers.
本实施方式中,在执行搜索框内显示的关键词的搜索任务时,可以通过同时调用N个应用中每一应用执行关键词的搜索任务,并获取对应的搜索结果,从而实现在多个应用中执行搜索任务的搜索操作,相较于需要来回切换搜索应用,执行关键词在不同应用中的搜索任务,可以有效简化搜索操作。In this embodiment, when performing the search task for the keywords displayed in the search box, each application in the N applications can be called simultaneously to perform the keyword search task and obtain the corresponding search results, so as to realize the search results in multiple applications. Compared with the need to switch search applications back and forth, performing search tasks for keywords in different applications can effectively simplify the search operation.
可选的,所述获取所述关键词在所述N个应用中的搜索结果,包括:调用所述N个应用中的每一应用同时执行所述关键词对应的搜索任务,并获取对应的搜索结果。Optionally, the acquiring the search results of the keyword in the N applications includes: calling each application in the N applications to simultaneously perform a search task corresponding to the keyword, and acquiring the corresponding search task. search results.
本实施方式中,可以先从M个应用中确定N个应用,比如通过选取的方式进行确定。在确定N个应用后,并在搜索框内输入有关键词的情况下,则执行关键词在N个应用中的搜索任务;在搜索任务的执行过程中,可以通过调用N个应用中的每一应用同时执行关键词对应的搜索任务,从而获取关键词对应的搜索结果;进而实现在多个应用中执行搜索任务的搜索操作,相较于需要来回切换搜索应用,执行关键词在不同应用中的搜索任务,可以有效简化搜索操作。In this implementation manner, N applications may be firstly determined from the M applications, for example, by selecting. After N applications are determined, and a keyword is entered in the search box, the search task of the keyword in the N applications is executed; during the execution of the search task, each of the N applications can be called by calling An application executes the search task corresponding to the keyword at the same time, thereby obtaining the search result corresponding to the keyword; and further realizes the search operation of executing the search task in multiple applications. , which can effectively simplify the search operation.
可选的,所述显示包括搜索框和M个应用的图标的搜索界面,包括:接收针对桌面显示的图标中的M个图标的第二输入;响应于所述第二输入,显示搜索界面,将所述M个图标添加至所述搜索界面的第一区域,所述搜索界面还包括显示有搜索框的第二区域。Optionally, the displaying a search interface including a search box and icons of M applications includes: receiving a second input for M icons in the icons displayed on the desktop; displaying the search interface in response to the second input, The M icons are added to a first area of the search interface, and the search interface further includes a second area where a search box is displayed.
本实施方式中,可以通过响应于第二输入建立搜索框和M个应用的图标的关联关系,并在建立关联关系的情况下,生成对应的搜索界面,以便在执行搜索框内显示的关键词的搜索任务时,可以同时调用搜索界面显示的一个或者多个应用执行该关键词的搜索任务,并获取对应的搜索结果。而且,采用这种方式可以快速实现搜索源的设置,即可以快速建立与搜索框关联的应用,进而在执行与多个应用中的搜索任务时,可以简化用户的搜索操作。In this embodiment, an association relationship between the search box and the icons of the M applications can be established in response to the second input, and when the association relationship is established, a corresponding search interface is generated, so as to execute the keywords displayed in the search box. When the search task is selected, one or more applications displayed on the search interface can be simultaneously invoked to perform the search task of the keyword, and obtain the corresponding search result. Moreover, in this way, the setting of the search source can be quickly realized, that is, the application associated with the search box can be quickly established, and the user's search operation can be simplified when performing search tasks in multiple applications.
其中,第二输入可以是针对M个应用的图标的拖动操作,该拖动操作用于建立M个应用的图标与搜索框的关联关系。The second input may be a drag operation for the icons of the M applications, where the drag operation is used to establish the association relationship between the icons of the M applications and the search box.
在设置搜索源的过程中,首先,可以通过接收用户针对挂件添加界面的触发操作,响应于该触发操作,显示挂件添加界面;其次,可以在挂件添加界面接收针对搜索框的选取操作,响应于该选取操作,在桌面30的预设区域,比如桌面30显示的时间图标的下方显示搜索框31,以实现搜索框31的添加显示,具体如图3a所示;最后,可以通过接收针对桌面30显示的图标D的拖动操作,通过响应于该拖动操作,将拖动操作的关联的图标D拖动至搜索框31的位置,以实现与搜索框关联的图标的设置操作,即实现搜索界面的显示,搜索界面包括分区显示的搜索框31和图标显示区域32,该图标显示区域用于显示与搜索框31建立有关联关系的图标,具体如图3b所示。In the process of setting the search source, firstly, the user's trigger operation on the widget adding interface can be received, and the widget adding interface can be displayed in response to the triggering operation; In this selection operation, a
如图3c所示,在执行与搜索框31输入的关键词对应的搜索任务之前,可以从图标显示区域32中选取一个或者多个应用,作为执行搜索任务的应用。比如,可以通过接收用户的选取操作,确定为执行搜索任务的应用。As shown in FIG. 3c, before executing the search task corresponding to the keyword input in the
需要说明的是,在没有接收到用户选取操作的情况下,可以默认将图标显示区域32中的所有应用作为搜索任务的应用。其中,用户也可以根据实际情况进行设动,本申请对此不做具体限定。It should be noted that, in the case where the user selection operation is not received, all applications in the
可选的,所述显示包括搜索框和M个应用的图标的搜索界面,包括:分区显示搜索框和M个应用的图标,所述M个应用的图标基于其对应的应用类别进行分类显示。Optionally, the displaying a search interface including a search box and icons of M applications includes: displaying the search box and icons of M applications in partitions, and the icons of the M applications are classified and displayed based on their corresponding application categories.
本实施方式中,针对桌面上显示的图标,可以根据图标对应的应用类型,进行分类,比如将音乐类应用,设置在音乐标签下;将购物类应用设置在购物标签下;这样当用户需要对某一类应用执行搜索任务时,可以直接勾选该类应用的标签,从而建立该类应用与搜索框的关联关系,便在执行搜索框内显示的关键词的搜索任务时,可以同时调用与搜索框建立有关联关系的应用执行该关键词的搜索任务,并获取对应的搜索结果。这样可以通过勾选标签的形式,快手建立起搜索框与某一类应用的关联关系。In this embodiment, the icons displayed on the desktop can be classified according to the application types corresponding to the icons, for example, music applications are set under the music label; shopping applications are set under the shopping label; When a certain type of application performs a search task, you can directly check the label of this type of application to establish the association between this type of application and the search box. The application with the associated relationship established in the search box executes the search task of the keyword, and obtains the corresponding search result. In this way, Kuaishou can establish an association between the search box and a certain type of application by checking the label.
进一步的,通过对应用进行分类,当需要建立该类应用中的某一个或者某几个应用于搜索框的关联关系时,可以直接在该类应用标签下,执行选取操作,相较于需要切换桌面查找关联应用,可以简化用户操作。Further, by classifying applications, when it is necessary to establish an association relationship between one or several applications of this type applied to the search box, the selection operation can be performed directly under the application label of this type, compared with the need to switch The desktop finds associated applications, which can simplify user operations.
在具体操作过程中,可以通过选中应用标签,建立该应用标签对应的所有应用与搜索框的关联关系,具体如图4a;也可以仅选中该应用标签下的某一个或者某几个应用,以建立该应用标签下的某一个或者某几个应用与搜索框的关联关系,具体图4b所示。In the specific operation process, you can select the application label to establish the association relationship between all the applications corresponding to the application label and the search box, as shown in Figure 4a; you can also select only one or several applications under the application label to An association relationship between one or several applications under the application label and the search box is established, as shown in Fig. 4b.
可选的,所述响应于所述第二输入,显示搜索界面,包括:响应于所述第二输入,生成应用文件夹,并在所述应用文件夹的内容界面显示所述M个图标和搜索框。Optionally, the displaying the search interface in response to the second input includes: generating an application folder in response to the second input, and displaying the M icons and search bar.
本实施方式中,可以生成包括M个应用的图标的应用文件夹,并在该应用文件夹中生成搜索框,以便在执行搜索框内显示的关键词的搜索任务时,可以同时调用应用文件夹的内容界面显示的一个或者多个应用执行该关键词的搜索任务,并获取对应的搜索结果。而且,采用这种方式可以快速实现搜索源的设置,即可以快速建立与搜索框关联的应用,进而在执行与多个应用中的搜索任务时,可以简化用户的搜索操作。In this embodiment, an application folder including icons of M applications can be generated, and a search box can be generated in the application folder, so that when a search task for keywords displayed in the search box is performed, the application folder can be called at the same time One or more applications displayed on the content interface of the APP perform the search task for the keyword and obtain the corresponding search result. Moreover, in this way, the setting of the search source can be quickly realized, that is, the application associated with the search box can be quickly established, and the user's search operation can be simplified when performing search tasks in multiple applications.
如图5所示,应用文件夹的内容界面包括分区显示的搜索框51和图标显示区域52,该图标显示区域52用于显示与搜索框510建立有关联关系的图标。As shown in FIG. 5 , the content interface of the application folder includes a
本申请实施例的搜索展示方法,通过显示包括搜索框和M个应用的图标的搜索界面;在接收到针对所述M个应用的图标中的N个图标的第一输入的情况下,确定与所述搜索框关联的N个应用,所述N个应用为所述N个图标对应的应用;在所述搜索框内输入有关键词的情况下,获取所述在关键词在N个应用中的搜索结果;展示所述搜索结果;其中,M、N为正整数。这样可以有效简化搜索操作。In the search display method of the embodiment of the present application, a search interface including a search box and icons of M applications is displayed; in the case of receiving a first input for N icons among the icons of the M applications, it is determined that the N applications associated with the search box, the N applications are applications corresponding to the N icons; in the case where a keyword is input in the search box, obtain the keyword in the N applications The search results of ; display the search results; wherein, M and N are positive integers. This effectively simplifies the search operation.
需要说明的是,本申请实施例提供的搜索展示方法,执行主体可以为《虚拟装置》,或者该《虚拟装置》中的用于执行加载搜索展示方法的控制模块。本申请实施例中以《虚拟装置》执行加载搜索展示方法为例,说明本申请实施例提供的搜索展示装置。It should be noted that, in the search and display method provided by the embodiments of the present application, the execution subject may be a "virtual device", or a control module in the "virtual device" for executing the method for loading search and display. In this embodiment of the present application, the method for performing a loading search and display of a "Virtual Device" is used as an example to describe the search and display device provided by the embodiment of the present application.
参见图6,图6是本申请一实施例提供的搜索展示装置的结构图,该装置600包括显示模块601、确定模块602、获取模块603和展示模块604,其中:Referring to FIG. 6, FIG. 6 is a structural diagram of a search display device provided by an embodiment of the present application. The
显示模块601,用于显示包括搜索框和M个应用的图标的搜索界面;A
确定模块602,用于在接收到针对所述M个应用的图标中的N个图标的第一输入的情况下,确定与所述搜索框关联的N个应用,所述N个应用为所述N个图标对应的应用;A
获取模块603,用于在所述搜索框内输入有关键词的情况下,获取所述在关键词在N个应用中的搜索结果;Obtaining
展示模块604,用于展示所述搜索结果;A
其中,M、N为正整数。Among them, M and N are positive integers.
可选的,所述显示模块601包括:Optionally, the
接收单元,用于接收针对桌面显示的图标中的M个图标的第二输入;a receiving unit, configured to receive a second input for M icons in the icons displayed on the desktop;
显示单元,用于响应于所述第二输入,显示搜索界面,将所述M个图标添加至所述搜索界面的第一区域,所述搜索界面还包括显示有搜索框的第二区域。A display unit, configured to display a search interface in response to the second input, add the M icons to a first area of the search interface, and the search interface further includes a second area where a search box is displayed.
可选的,所述接收单元,具体用于接收针对桌面显示的图标中的M个图标与搜索框关联的第二输入。Optionally, the receiving unit is specifically configured to receive a second input associated with the search box for M icons among the icons displayed on the desktop.
可选的,所述显示单元,具体用于响应于所述第二输入,生成应用文件夹,并在所述应用文件夹的内容界面显示所述M个图标和搜索框。Optionally, the display unit is specifically configured to generate an application folder in response to the second input, and display the M icons and the search box on a content interface of the application folder.
可选的,所述显示模块601,具体用于分区显示搜索框和M个应用的图标,所述M个应用的图标基于每一应用的应用类别进行分类显示。Optionally, the
可选的,所述展示模块604,具体用于在所述搜索结果关联的应用数量为至少两个的情况下,分区显示所述搜索结果。Optionally, the
本申请实施例中的《虚拟装置》可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personaldigital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(NetworkAttached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The "virtual device" in this embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The apparatus may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). , PDA), etc., the non-mobile electronic device may be a server, a network attached storage (NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc. The embodiments of the present application There is no specific limitation.
本申请实施例中的《虚拟装置》可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The "virtual device" in this embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
本申请实施例提供的《虚拟装置》能够实现图1至图5的方法实施例实现的各个过程,为避免重复,这里不再赘述。The "Virtual Device" provided in this embodiment of the present application can implement each process implemented by the method embodiments in FIG. 1 to FIG. 5 , and to avoid repetition, details are not described here.
可选的,如图7所示,本申请实施例还提供一种电子设备700,包括处理器701,存储器702,存储在存储器702上并可在所述处理器701上运行的程序或指令,该程序或指令被处理器701执行时实现上述搜索展示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG. 7 , an embodiment of the present application further provides an
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
图8为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 8 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备800包括但不限于:射频单元801、网络模块802、音频输出单元803、输入单元804、传感器805、显示单元806、用户输入单元807、接口单元808、存储器809、以及处理器810等部件。The
本领域技术人员可以理解,电子设备800还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器810逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图8中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the
其中,显示单元806,用于显示包括搜索框和M个应用的图标的搜索界面;处理器810,用于在接收到针对所述M个应用的图标中的N个图标的第一输入的情况下,确定与所述搜索框关联的N个应用,所述N个应用为所述N个图标对应的应用;处理器810,用于在所述搜索框内输入有关键词的情况下,获取所述在关键词在N个应用中的搜索结果;显示单元806,用于展示所述搜索结果;其中,M、N为正整数。The
可选的,用户输入单元807,用于接收针对桌面显示的图标中的M个图标的第二输入;显示单元806,用于响应于所述第二输入,显示搜索界面,将所述M个图标添加至所述搜索界面的第一区域,所述搜索界面还包括显示有搜索框的第二区域。Optionally, the
可选的,用户输入单元807,用于接收针对桌面显示的图标中的M个图标与搜索框关联的第二输入。Optionally, the
可选的,显示单元806,用于响应于所述第二输入,生成应用文件夹,并在所述应用文件夹的内容界面显示所述M个图标和搜索框。Optionally, the
可选的,显示单元806,用于分区显示搜索框和M个应用的图标,所述M个应用的图标基于每一应用的应用类别进行分类显示。Optionally, the
可选的,显示单元806,用于在所述搜索结果关联的应用数量为至少两个的情况下,分区显示所述搜索结果。Optionally, the
应理解的是,本申请实施例中,输入单元804可以包括图形处理器(GraphicsProcessing Unit,GPU)8041和麦克风8042,图形处理器8041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元806可包括显示面板8061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板8061。用户输入单元807包括触控面板8071以及其他输入设备8072。触控面板8071,也称为触摸屏。触控面板8071可包括触摸检测装置和触摸控制器两个部分。其他输入设备8072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器809可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器810可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器810中。It should be understood that, in this embodiment of the present application, the
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述搜索展示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, each process of the foregoing search and display method embodiment can be achieved, and the same can be achieved. In order to avoid repetition, the technical effect will not be repeated here.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the foregoing embodiments. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述搜索展示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement the above search and display method embodiments Each process can achieve the same technical effect. In order to avoid repetition, it will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element. In addition, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in the reverse order depending on the functions involved. To perform functions, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to some examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solutions of the present application can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of this application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of this application, without departing from the scope of protection of the purpose of this application and the claims, many forms can be made, which all fall within the protection of this application.
| Application Number | Priority Date | Filing Date | Title | 
|---|---|---|---|
| CN202010921666.6ACN112099684A (en) | 2020-09-04 | 2020-09-04 | Search display method and device and electronic equipment | 
| PCT/CN2021/115322WO2022048513A1 (en) | 2020-09-04 | 2021-08-30 | Search display method and apparatus, and electronic device | 
| Application Number | Priority Date | Filing Date | Title | 
|---|---|---|---|
| CN202010921666.6ACN112099684A (en) | 2020-09-04 | 2020-09-04 | Search display method and device and electronic equipment | 
| Publication Number | Publication Date | 
|---|---|
| CN112099684Atrue CN112099684A (en) | 2020-12-18 | 
| Application Number | Title | Priority Date | Filing Date | 
|---|---|---|---|
| CN202010921666.6APendingCN112099684A (en) | 2020-09-04 | 2020-09-04 | Search display method and device and electronic equipment | 
| Country | Link | 
|---|---|
| CN (1) | CN112099684A (en) | 
| WO (1) | WO2022048513A1 (en) | 
| Publication number | Priority date | Publication date | Assignee | Title | 
|---|---|---|---|---|
| CN112818094A (en)* | 2021-01-22 | 2021-05-18 | 维沃移动通信(杭州)有限公司 | Chat content processing method and device and electronic equipment | 
| CN113190741A (en)* | 2021-05-08 | 2021-07-30 | 维沃移动通信(杭州)有限公司 | Searching method, searching device, electronic equipment and storage medium | 
| CN113641886A (en)* | 2021-07-15 | 2021-11-12 | 维沃移动通信有限公司 | Search method, device and electronic device | 
| CN113805996A (en)* | 2021-09-10 | 2021-12-17 | 维沃移动通信有限公司 | Information display method and device | 
| CN113836427A (en)* | 2021-09-29 | 2021-12-24 | 维沃移动通信有限公司 | Information search method and device | 
| WO2022048513A1 (en)* | 2020-09-04 | 2022-03-10 | 维沃移动通信有限公司 | Search display method and apparatus, and electronic device | 
| CN114547395A (en)* | 2022-02-24 | 2022-05-27 | 维沃移动通信有限公司 | Searching method and device | 
| WO2025044176A1 (en)* | 2023-08-25 | 2025-03-06 | 荣耀终端股份有限公司 | Distributed data search method and electronic device | 
| CN119883444A (en)* | 2023-10-23 | 2025-04-25 | 北京小米移动软件有限公司 | Interface display method and device, electronic equipment and storage medium | 
| Publication number | Priority date | Publication date | Assignee | Title | 
|---|---|---|---|---|
| CN101689192A (en)* | 2007-06-26 | 2010-03-31 | 索尼爱立信移动通讯有限公司 | Methods, devices, and computer program products for limiting search scope based on navigation of menu screen | 
| CN104898927A (en)* | 2015-05-29 | 2015-09-09 | 努比亚技术有限公司 | Information searching method and apparatus | 
| CN106716413A (en)* | 2014-09-26 | 2017-05-24 | 微软技术许可有限责任公司 | Unified search on a personal computing device | 
| CN107015797A (en)* | 2017-02-28 | 2017-08-04 | 宇龙计算机通信科技(深圳)有限公司 | Application integrating display methods and application integrating display device | 
| US20200226832A1 (en)* | 2012-06-05 | 2020-07-16 | Apple Inc. | Problem reporting in maps | 
| Publication number | Priority date | Publication date | Assignee | Title | 
|---|---|---|---|---|
| CA2298437A1 (en)* | 1999-03-31 | 2000-09-30 | International Business Machines Corporation | Iconic groups | 
| CN105912586B (en)* | 2016-03-31 | 2022-03-25 | 联想(北京)有限公司 | Information searching method and electronic equipment | 
| CN107729160B (en)* | 2017-09-29 | 2021-08-03 | 努比亚技术有限公司 | Application control method, mobile terminal and computer-readable storage medium | 
| CN111538874B (en)* | 2020-04-22 | 2022-08-19 | 深圳传音控股股份有限公司 | Quick search method, terminal and readable storage medium | 
| CN111638834A (en)* | 2020-04-27 | 2020-09-08 | 维沃移动通信有限公司 | Content searching method and electronic equipment | 
| CN112099684A (en)* | 2020-09-04 | 2020-12-18 | 维沃移动通信有限公司 | Search display method and device and electronic equipment | 
| Publication number | Priority date | Publication date | Assignee | Title | 
|---|---|---|---|---|
| CN101689192A (en)* | 2007-06-26 | 2010-03-31 | 索尼爱立信移动通讯有限公司 | Methods, devices, and computer program products for limiting search scope based on navigation of menu screen | 
| US20200226832A1 (en)* | 2012-06-05 | 2020-07-16 | Apple Inc. | Problem reporting in maps | 
| CN106716413A (en)* | 2014-09-26 | 2017-05-24 | 微软技术许可有限责任公司 | Unified search on a personal computing device | 
| CN104898927A (en)* | 2015-05-29 | 2015-09-09 | 努比亚技术有限公司 | Information searching method and apparatus | 
| CN107015797A (en)* | 2017-02-28 | 2017-08-04 | 宇龙计算机通信科技(深圳)有限公司 | Application integrating display methods and application integrating display device | 
| Publication number | Priority date | Publication date | Assignee | Title | 
|---|---|---|---|---|
| WO2022048513A1 (en)* | 2020-09-04 | 2022-03-10 | 维沃移动通信有限公司 | Search display method and apparatus, and electronic device | 
| CN112818094A (en)* | 2021-01-22 | 2021-05-18 | 维沃移动通信(杭州)有限公司 | Chat content processing method and device and electronic equipment | 
| CN113190741A (en)* | 2021-05-08 | 2021-07-30 | 维沃移动通信(杭州)有限公司 | Searching method, searching device, electronic equipment and storage medium | 
| CN113641886A (en)* | 2021-07-15 | 2021-11-12 | 维沃移动通信有限公司 | Search method, device and electronic device | 
| WO2023284799A1 (en)* | 2021-07-15 | 2023-01-19 | 维沃移动通信有限公司 | Search method and apparatus, and electronic device | 
| CN113641886B (en)* | 2021-07-15 | 2024-11-26 | 维沃移动通信有限公司 | Search method, device and electronic device | 
| CN113805996A (en)* | 2021-09-10 | 2021-12-17 | 维沃移动通信有限公司 | Information display method and device | 
| CN113836427A (en)* | 2021-09-29 | 2021-12-24 | 维沃移动通信有限公司 | Information search method and device | 
| CN114547395A (en)* | 2022-02-24 | 2022-05-27 | 维沃移动通信有限公司 | Searching method and device | 
| WO2025044176A1 (en)* | 2023-08-25 | 2025-03-06 | 荣耀终端股份有限公司 | Distributed data search method and electronic device | 
| CN119883444A (en)* | 2023-10-23 | 2025-04-25 | 北京小米移动软件有限公司 | Interface display method and device, electronic equipment and storage medium | 
| Publication number | Publication date | 
|---|---|
| WO2022048513A1 (en) | 2022-03-10 | 
| Publication | Publication Date | Title | 
|---|---|---|
| CN112099684A (en) | Search display method and device and electronic equipment | |
| WO2022194004A1 (en) | Application icon arrangement method and apparatus, and electronic device | |
| CN111917628B (en) | Message processing method, device and electronic device | |
| CN112486444A (en) | Screen projection method, device, equipment and readable storage medium | |
| WO2022233276A1 (en) | Display method and apparatus, and electronic device | |
| CN111813305A (en) | Application startup method and device | |
| CN113141295B (en) | Message display method and device and electronic equipment | |
| CN113010248A (en) | Operation guiding method and device and electronic equipment | |
| CN113835577A (en) | Display method, display device, electronic equipment and storage medium | |
| CN113485600A (en) | Singing list sharing method and device and electronic equipment | |
| CN112286615A (en) | Application information display method and device | |
| CN112181570A (en) | Background task display method and device and electronic equipment | |
| CN112148406A (en) | Page switching method and device, electronic equipment and readable storage medium | |
| CN112099714A (en) | Screenshot method, device, electronic device and readable storage medium | |
| CN114489414A (en) | File processing method and device | |
| CN111857465B (en) | Application icon sorting method and device and electronic equipment | |
| CN114089885A (en) | Application icon management method, device, electronic device and readable storage medium | |
| CN112230817B (en) | Link page display method and device and electronic equipment | |
| CN111766987B (en) | Application management method, device and electronic device | |
| CN113836089A (en) | Application program display method and device, electronic equipment and readable storage medium | |
| CN112732392A (en) | Operation control method and device for application program | |
| CN113010059B (en) | Application icon management method and device and electronic equipment | |
| CN115328355A (en) | Application function activation method and device | |
| WO2022222785A1 (en) | Image display method and device | |
| CN112416204B (en) | Application management method and device, electronic equipment and readable storage medium | 
| 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 | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication | Application publication date:20201218 |