CN110083737A - A kind of searching method and terminal device - Google Patents
A kind of searching method and terminal device Download PDFInfo
- Publication number
- CN110083737A CN110083737A CN201910214054.0A CN201910214054A CN110083737A CN 110083737 A CN110083737 A CN 110083737A CN 201910214054 A CN201910214054 A CN 201910214054A CN 110083737 A CN110083737 A CN 110083737A
- Authority
- CN
- China
- Prior art keywords
- terminal device
- sub
- target
- application program
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/60—Information retrieval; Database structures therefor; File system structures therefor of audio data
- G06F16/63—Querying
- G06F16/632—Query formulation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/60—Information retrieval; Database structures therefor; File system structures therefor of audio data
- G06F16/63—Querying
- G06F16/638—Presentation of query results
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Multimedia (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本发明实施例提供一种搜索方法及终端设备,涉及通信技术领域,以解决目前终端设备仅在一个应用程序中搜索内容,导致终端设备搜索到的内容不够丰富的问题。该方法包括:获取用户输入的第一信息,该第一信息用于在至少两个目标应用程序中搜索目标内容,该目标应用程序为支持目标内容类型的应用程序;并基于该第一信息,在该至少两个目标应用程序中搜索该目标内容,得到N个搜索结果,该N个搜索结果中的至少两个搜索结果来自不同的应用程序,N为大于1的整数;以及显示该N个搜索结果。该方法应用于终端设备在应用程序中搜索内容的场景中。
Embodiments of the present invention provide a search method and a terminal device, which relate to the field of communication technology, and solve the problem that the current terminal device only searches content in one application program, resulting in insufficient content searched by the terminal device. The method includes: acquiring first information input by a user, the first information is used to search for target content in at least two target application programs, the target application programs are application programs supporting the type of target content; and based on the first information, Search for the target content in the at least two target application programs to obtain N search results, at least two of the N search results are from different application programs, and N is an integer greater than 1; and displaying the N search results search results. This method is applied to a scenario where a terminal device searches for content in an application program.
Description
技术领域technical field
本发明实施例涉及通信技术领域,尤其涉及一种搜索方法及终端设备。The embodiments of the present invention relate to the technical field of communication, and in particular, to a search method and a terminal device.
背景技术Background technique
随着通信技术的高速发展,终端设备的应用越来越广泛,用户对终端设备的性能要求也越来越高。With the rapid development of communication technology, terminal equipment is more and more widely used, and users have higher and higher performance requirements for terminal equipment.
目前,用户可以根据自己的喜好在终端设备中自定义歌单。通常,一个歌单中可以包括至少一首歌曲。当用户在终端设备中的某个音乐应用程序中自定义歌单时,用户可以触发终端设备将该音乐应用程序提供的歌曲(包括已下载的和/或未下载的)添加到该歌单中。Currently, users can customize song lists in terminal devices according to their preferences. Usually, a song list can include at least one song. When the user customizes the song list in a music application in the terminal device, the user can trigger the terminal device to add songs (including downloaded and/or undownloaded) provided by the music application to the song list .
然而,由于每首歌曲均受其版权保护,即只有具有歌曲版权的开发商授权的音乐应用程序才可以播放该歌曲,因此使得不同音乐应用程序可以搜索到的歌曲可能不同。如此,当用户在某个音乐应用程序中自定义歌单时,终端设备只能将该音乐应用程序提供的歌曲(即通过该音乐应用程序可以搜索到的歌曲)添加到该歌单中,如此导致终端设备生成的歌单中的歌曲比较局限,进而导致终端设备生成的歌单的内容不够丰富。However, because each song is protected by its copyright, that is, only the music application program authorized by the developer with the copyright of the song can play the song, so the songs that can be searched by different music application programs may be different. In this way, when the user customizes the song list in a music application, the terminal device can only add the songs provided by the music application (that is, the songs that can be searched through the music application) to the song list, so As a result, the songs in the song list generated by the terminal device are relatively limited, and the content of the song list generated by the terminal device is not rich enough.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供一种搜索方法及终端设备,以解决终端设备仅在一个应用程序中搜索内容,导致终端设备搜索到的内容不够丰富的问题。Embodiments of the present invention provide a search method and a terminal device to solve the problem that the terminal device only searches for content in one application program, resulting in insufficient content searched by the terminal device.
为了解决上述技术问题,本发明实施例是这样实现的:In order to solve the above-mentioned technical problems, the embodiment of the present invention is implemented as follows:
第一方面,本发明实施例提供了一种搜索方法,该方法包括:获取用户输入的第一信息;并基于该第一信息,在至少两个目标应用程序中搜索目标内容,得到N个搜索结果;以及显示该N个搜索结果。其中,该第一信息用于在该至少两个目标应用程序中搜索该目标内容,该目标应用程序为支持目标内容类型的应用程序,该N个搜索结果中的至少两个搜索结果来自不同的应用程序,N为大于1的整数。In the first aspect, the embodiment of the present invention provides a search method, the method includes: obtaining the first information input by the user; and based on the first information, searching for the target content in at least two target application programs to obtain N search results results; and displaying the N search results. Wherein, the first information is used to search for the target content in the at least two target application programs, the target application program is an application program supporting the target content type, and at least two of the N search results come from different Application program, N is an integer greater than 1.
第二方面,本发明实施例提供了一种终端设备,该终端设备包括获取模块、搜索模块和显示模块。获取模块,用于获取用户输入的第一信息;搜索模块,用于基于获取模块获取的第一信息,在至少两个目标应用程序中搜索目标内容,得到N个搜索结果;显示模块,用于显示搜索模块搜索到的该N个搜索结果。其中,该第一信息用于在该至少两个目标应用程序中搜索该目标内容,该目标应用程序为支持目标内容类型的应用程序,该N个搜索结果中的至少两个搜索结果来自不同的应用程序,N为大于1的整数。In a second aspect, an embodiment of the present invention provides a terminal device, where the terminal device includes an acquisition module, a search module, and a display module. The obtaining module is used to obtain the first information input by the user; the search module is used to search the target content in at least two target application programs based on the first information obtained by the obtaining module, and obtain N search results; the display module is used to Display the N search results searched by the search module. Wherein, the first information is used to search for the target content in the at least two target application programs, the target application program is an application program supporting the target content type, and at least two of the N search results come from different Application program, N is an integer greater than 1.
第三方面,本发明实施例提供了一种终端设备,该终端设备包括处理器、存储器及存储在该存储器上并可在该处理器上运行的计算机程序,该计算机程序被该处理器执行时实现如上述第一方面中的搜索方法的步骤。In the third aspect, the embodiment of the present invention provides a terminal device, the terminal device includes a processor, a memory, and a computer program stored on the memory and operable on the processor, when the computer program is executed by the processor The steps of the search method in the above-mentioned first aspect are realized.
第四方面,本发明实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现如上述第一方面中的搜索方法的步骤。In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the search method in the above-mentioned first aspect are implemented.
在本发明实施例中,可以获取用户输入的第一信息(用于在至少两个目标应用程序中搜索目标内容),并基于该第一信息,在至少两个目标应用程序(支持目标内容类型的应用程序)中搜索目标内容,得到N个搜索结果(该N个搜索结果中的至少两个搜索结果来自不同的应用程序,N为大于1的整数);以及显示该N个搜索结果。通过该方案,由于支持同种内容类型的不同应用程序提供的内容可能不同,因此终端设备采用用户输入的信息,在终端设备中支持同种内容类型的多个应用程序中搜索与该信息相关的内容,可以增大终端设备搜索到与该信息相关的内容的概率。如此,当用户在终端设备中输入某一信息时,终端设备可以采用该信息,从不同的应用程序中搜索得到不同的搜索结果,以得到不同的内容,从而可以使得终端设备搜索到的内容比较丰富。In this embodiment of the present invention, the first information input by the user (used to search for target content in at least two target application programs) can be acquired, and based on the first information, search for at least two target application programs (supporting target content type) Search the target content in the application program) to obtain N search results (at least two of the N search results are from different application programs, and N is an integer greater than 1); and display the N search results. Through this solution, since different applications supporting the same content type may provide different content, the terminal device uses the information input by the user to search for information related to the information among multiple application programs supporting the same content type in the terminal device. content, which can increase the probability that the terminal device will search for content related to the information. In this way, when the user inputs certain information in the terminal device, the terminal device can use this information to search different search results from different application programs to obtain different content, so that the content searched by the terminal device can be compared Rich.
附图说明Description of drawings
图1为本发明实施例提供的安卓操作系统的架构示意图;Fig. 1 is a schematic diagram of the architecture of the Android operating system provided by the embodiment of the present invention;
图2为本发明实施例提供的搜索方法的示意图之一;Fig. 2 is one of the schematic diagrams of the search method provided by the embodiment of the present invention;
图3为本发明实施例提供的搜索方法应用的界面示意图之一;Fig. 3 is one of the interface schematic diagrams of the search method application provided by the embodiment of the present invention;
图4为本发明实施例提供的搜索方法的示意图之二;Fig. 4 is the second schematic diagram of the search method provided by the embodiment of the present invention;
图5为本发明实施例提供的搜索方法的示意图之三;Fig. 5 is the third schematic diagram of the search method provided by the embodiment of the present invention;
图6为本发明实施例提供的搜索方法的示意图之四;FIG. 6 is the fourth schematic diagram of the search method provided by the embodiment of the present invention;
图7为本发明实施例提供的搜索方法的示意图之五;Fig. 7 is the fifth schematic diagram of the search method provided by the embodiment of the present invention;
图8为本发明实施例提供的搜索方法应用的界面示意图之二;Fig. 8 is the second schematic diagram of the interface of the search method application provided by the embodiment of the present invention;
图9为本发明实施例提供的搜索方法的示意图之六;FIG. 9 is the sixth schematic diagram of the search method provided by the embodiment of the present invention;
图10为本发明实施例提供的搜索方法的示意图之七;Fig. 10 is the seventh schematic diagram of the search method provided by the embodiment of the present invention;
图11为本发明实施例提供的终端设备的结构示意图之一;FIG. 11 is one of the schematic structural diagrams of a terminal device provided by an embodiment of the present invention;
图12为本发明实施例提供的终端设备的结构示意图之二;FIG. 12 is a second structural schematic diagram of a terminal device provided by an embodiment of the present invention;
图13为本发明实施例提供的终端设备的结构示意图之三;FIG. 13 is a third structural schematic diagram of a terminal device provided by an embodiment of the present invention;
图14为本发明实施例提供的终端设备的硬件示意图。FIG. 14 is a schematic diagram of hardware of a terminal device provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
本文中术语“和/或”,是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。本文中符号“/”表示关联对象是或者的关系,例如A/B表示A或者B。The term "and/or" in this article is an association relationship describing associated objects, which means that there can be three relationships, for example, A and/or B can mean: A exists alone, A and B exist simultaneously, and B exists alone These three situations. The symbol "/" in this document indicates that the associated object is an or relationship, for example, A/B indicates A or B.
本发明的说明书和权利要求书中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一信息和第二信息等是用于区别不同的信息,而不是用于描述信息的特定顺序。The terms "first" and "second" in the specification and claims of the present invention are used to distinguish different objects, rather than to describe a specific order of objects. For example, the first information and the second information are used to distinguish different information, not to describe a specific sequence of information.
在本发明实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本发明实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。In the embodiments of the present invention, words such as "exemplary" or "for example" are used as examples, illustrations or illustrations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present invention shall not be construed as being more preferred or more advantageous than other embodiments or design solutions. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete manner.
在本发明实施例的描述中,除非另有说明,“多个”的含义是指两个或者两个以上,例如,多个处理单元是指两个或者两个以上的处理单元等。In the description of the embodiments of the present invention, unless otherwise specified, "multiple" means two or more, for example, a plurality of processing units refers to two or more processing units.
本发明实施例提供一种搜索方法及终端设备,可以获取用户输入的第一信息(用于在至少两个目标应用程序中搜索目标内容),并基于该第一信息,在至少两个目标应用程序(支持目标内容类型的应用程序)中搜索目标内容,得到N个搜索结果(该N个搜索结果中的至少两个搜索结果来自不同的应用程序,N为大于1的整数);以及显示该N个搜索结果。通过该方案,由于支持同种内容类型的不同应用程序提供的内容可能不同,因此终端设备采用用户输入的信息,在终端设备中支持同种内容类型的多个应用程序中搜索与该信息相关的内容,可以增大终端设备搜索到与该信息相关的内容的概率。如此,当用户在终端设备中输入某一信息时,终端设备可以采用该信息,从不同的应用程序中搜索得到不同的搜索结果,以得到不同的内容,从而可以使得终端设备搜索到的内容比较丰富。Embodiments of the present invention provide a search method and a terminal device, which can acquire the first information input by the user (used to search for target content in at least two target application programs), and based on the first information, search for target content in at least two target application programs. program (an application that supports the target content type) to search for the target content, and obtain N search results (at least two of the N search results are from different applications, and N is an integer greater than 1); and display the N search results. Through this solution, since different applications supporting the same content type may provide different content, the terminal device uses the information input by the user to search for information related to the information among multiple application programs supporting the same content type in the terminal device. content, which can increase the probability that the terminal device will search for content related to the information. In this way, when the user inputs certain information in the terminal device, the terminal device can use this information to search different search results from different application programs to obtain different content, so that the content searched by the terminal device can be compared Rich.
本发明实施例中的终端设备可以为具有操作系统的终端设备。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本发明实施例不作具体限定。The terminal device in this embodiment of the present invention may be a terminal device with an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present invention.
下面以安卓操作系统为例,介绍一下本发明实施例提供的搜索方法所应用的软件环境。The following uses the Android operating system as an example to introduce the software environment to which the search method provided by the embodiment of the present invention is applied.
如图1所示,为本发明实施例提供的一种可能的安卓操作系统的架构示意图。在图1中,安卓操作系统的架构包括4层,分别为:应用程序层、应用程序框架层、系统运行库层和内核层(具体可以为Linux内核层)。As shown in FIG. 1 , it is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present invention. In FIG. 1 , the architecture of the Android operating system includes four layers, namely: an application layer, an application framework layer, a system runtime layer and a kernel layer (specifically, the Linux kernel layer).
其中,应用程序层包括安卓操作系统中的各个应用程序(包括系统应用程序和第三方应用程序)。Wherein, the application program layer includes various application programs (including system application programs and third-party application programs) in the Android operating system.
应用程序框架层是应用程序的框架,开发人员可以在遵守应用程序的框架的开发原则的情况下,基于应用程序框架层开发一些应用程序。The application program framework layer is the application program framework, and developers can develop some applications based on the application program framework layer while complying with the development principles of the application program framework layer.
系统运行库层包括库(也称为系统库)和安卓操作系统运行环境。库主要为安卓操作系统提供其所需的各类资源。安卓操作系统运行环境用于为安卓操作系统提供软件环境。The system runtime layer includes libraries (also called system libraries) and the Android operating system runtime environment. The library mainly provides various resources required by the Android operating system. The Android operating system operating environment is used to provide a software environment for the Android operating system.
内核层是安卓操作系统的操作系统层,属于安卓操作系统软件层次的最底层。内核层基于Linux内核为安卓操作系统提供核心系统服务和与硬件相关的驱动程序。The kernel layer is the operating system layer of the Android operating system and belongs to the bottom layer of the Android operating system software layer. The kernel layer provides core system services and hardware-related drivers for the Android operating system based on the Linux kernel.
以安卓操作系统为例,本发明实施例中,开发人员可以基于上述如图1所示的安卓操作系统的系统架构,开发实现本发明实施例提供的搜索方法的软件程序,从而使得该搜索方法可以基于如图1所示的安卓操作系统运行。即处理器或者终端设备可以通过在安卓操作系统中运行该软件程序实现本发明实施例提供的搜索方法。Taking the Android operating system as an example, in the embodiment of the present invention, developers can develop a software program that implements the search method provided in the embodiment of the present invention based on the system architecture of the above-mentioned Android operating system shown in Figure 1, so that the search method It can run based on the Android operating system shown in Figure 1. That is, the processor or the terminal device can implement the search method provided by the embodiment of the present invention by running the software program in the Android operating system.
本发明实施例中的终端设备可以为移动终端,也可以为非移动终端。示例性的,移动终端可以为手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personaldigital assistant,PDA)等,非移动终端可以为个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本发明实施例不作具体限定。The terminal device in the embodiment of the present invention may be a mobile terminal or a non-mobile terminal. Exemplarily, the mobile terminal may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle terminal, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA) ), etc., the non-mobile terminal may be a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which are not specifically limited in this embodiment of the present invention.
本发明实施例提供的搜索方法的执行主体可以为上述的终端设备,也可以为该终端设备中能够实现该搜索方法的功能模块和/或功能实体,具体的可以根据实际使用需求确定,本发明实施例不作限定。下面以终端设备为例,对本发明实施例提供的搜索方法进行示例性的说明。The execution subject of the search method provided by the embodiment of the present invention may be the above-mentioned terminal device, or a functional module and/or a functional entity in the terminal device that can implement the search method, which may be specifically determined according to actual use requirements. The present invention Examples are not limited. The following uses a terminal device as an example to illustrate the search method provided by the embodiment of the present invention.
本发明实施例提供的搜索方法可以应用于以下列举的两种场景中的任意一种场景中。The search method provided by the embodiment of the present invention can be applied to any one of the two scenarios listed below.
场景一:终端设备搜索音乐类的内容。可以理解,在场景一中,属于音乐类的歌曲即为本发明实施例中的目标内容。Scenario 1: The terminal device searches for music content. It can be understood that in the first scenario, the songs belonging to the music category are the target content in the embodiment of the present invention.
场景二:终端设备搜索购物类的内容。可以理解,在场景二中,属于购物类的物品即为本发明实施例中的目标内容。Scenario 2: The terminal device searches for shopping content. It can be understood that in the second scenario, the items belonging to the shopping category are the target content in the embodiment of the present invention.
本发明实施例中,对于上述任意一种场景,如果用户需要从终端设备中获取某一内容时,用户可以在终端设备中输入该内容的相关信息(例如本发明实施例中的第一信息,可以为内容名称、内容所属者名称等),从而终端设备可以基于这些信息,在终端设备中可能包括该内容的至少两个应用程序(例如本发明实施例中的至少两个目标应用程序)中搜索该内容,以得到至少两个搜索结果,并显示该至少两个搜索结果,如此用户可以根据终端设备显示的这些搜索结果,获取其需要的内容。In the embodiment of the present invention, for any of the above scenarios, if the user needs to obtain a certain content from the terminal device, the user can input the relevant information of the content in the terminal device (such as the first information in the embodiment of the present invention, may be the name of the content, the name of the content owner, etc.), so that the terminal device can, based on these information, include at least two application programs (such as at least two target application programs in the embodiment of the present invention) that may include the content in the terminal device The content is searched to obtain at least two search results, and the at least two search results are displayed, so that the user can obtain the content he needs according to the search results displayed on the terminal device.
下面具体结合上述两种场景和各个附图对本发明实施例提供的搜索方法进行示例性的说明。The search method provided by the embodiment of the present invention will be exemplarily described below in combination with the above two scenarios and each accompanying drawing.
如图2所示,本发明实施例提供一种搜索方法,该方法可以包括下述的步骤201-步骤203。As shown in FIG. 2 , an embodiment of the present invention provides a search method, and the method may include the following steps 201 - 203 .
步骤201、终端设备获取用户输入的第一信息。Step 201, the terminal device acquires first information input by a user.
其中,上述第一信息可以用于在至少两个目标应用程序中搜索目标内容,该目标应用程序可以为支持目标内容类型的应用程序。Wherein, the above-mentioned first information may be used to search for the target content in at least two target application programs, and the target application programs may be applications supporting the target content type.
本发明实施例中,当用户在终端设备中搜索某种类型(即上述目标内容类型)的内容(即上述目标内容)时,用户可以在终端设备中输入该内容的相关信息(即上述第一信息),从而终端设备可以获取该第一信息。In the embodiment of the present invention, when a user searches for a certain type of content (ie, the above-mentioned target content type) in the terminal device (ie, the above-mentioned target content), the user can input relevant information of the content (ie, the above-mentioned first content type) in the terminal device. information), so that the terminal device can acquire the first information.
可以理解,本发明实施例中,上述目标内容类型可以用于指示上述目标内容对应的类型。It can be understood that, in the embodiment of the present invention, the above-mentioned target content type may be used to indicate the type corresponding to the above-mentioned target content.
本发明实施例中,对于上述场景一(即终端设备搜索音乐类的内容),上述目标内容类型可以为音乐类;对于上述场景二(即终端设备搜索购物类的内容),上述目标内容类型可以为购物类。In the embodiment of the present invention, for the above-mentioned scene one (that is, the terminal device searches for music content), the above-mentioned target content type can be music; for the above-mentioned scene two (that is, the terminal device searches for shopping content), the above-mentioned target content type can be for shopping.
本发明实施例中,上述至少两个目标应用程序为支持上述目标内容类型的应用程序可以理解为:上述至少两个目标应用程序可以提供该目标内容类型的内容。In the embodiment of the present invention, the aforementioned at least two target application programs are applications supporting the aforementioned target content type. It may be understood that: the aforementioned at least two target application programs can provide content of the target content type.
可以理解,对于上述场景一(终端设备搜索音乐类的内容),上述目标内容类型可以为音乐类,上述至少两个目标应用程序可以为支持音乐类的应用程序(即可以提供音乐类的内容)。如此,在场景一中,该至少两个目标应用程序可以包括音乐类应用程序和浏览器类应用程序(具有搜索歌曲的功能)等中的至少一种。It can be understood that, for the above scenario 1 (the terminal device searches for music-related content), the above-mentioned target content type may be music-related, and the above-mentioned at least two target applications may be music-supporting applications (that is, music-related content can be provided) . Thus, in the first scenario, the at least two target application programs may include at least one of a music application program and a browser application program (with a function of searching for songs).
相应的,对于上述场景二(终端设备搜索购物类的内容),上述目标内容类型可以为购物类,上述至少两个目标应用程序可以为支持购物类的应用程序(即可以提供购物类的内容)。如此,在场景二中,该至少两个目标应用程序可以包括购物类应用程序和浏览器类应用程序(具有搜索物品的功能)等中的至少一种。Correspondingly, for the above scenario two (the terminal device searches for shopping-related content), the above-mentioned target content type may be shopping-related, and the above-mentioned at least two target applications may be applications that support shopping (that is, can provide shopping-related content) . Thus, in the second scenario, the at least two target application programs may include at least one of a shopping application program and a browser application program (with a function of searching for items).
本发明实施例中,上述第一信息可以为上述目标内容的相关信息。In the embodiment of the present invention, the above-mentioned first information may be information related to the above-mentioned target content.
可选的,本发明实施例中,上述第一信息可以包括上述目标内容名称、上述目标内容所属者名称、上述目标内容中的部分内容(例如关键字等)、上述目标内容的链接,以及可能包括上述目标内容的应用程序名称等任意与该目标内容相关的信息中的至少一项。具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the above-mentioned first information may include the name of the above-mentioned target content, the name of the owner of the above-mentioned target content, some content in the above-mentioned target content (such as keywords, etc.), the link of the above-mentioned target content, and possibly Including at least one item of any information related to the target content, such as the name of the application program of the target content. Specifically, it may be determined according to actual usage requirements, and is not limited in this embodiment of the present invention.
示例性的,对于上述场景一(即终端设备搜索音乐类的内容),上述目标内容可以为一首歌曲,那么上述第一信息可以包括该歌曲名称、该歌曲演唱者名称、该歌曲中的部分歌词,以及可能包括该歌曲的应用程序名称等信息中的至少一项。具体可以根据实际使用需求确定,本发明实施例不作限定。Exemplarily, for the above-mentioned scene one (that is, the terminal device searches for music-type content), the above-mentioned target content may be a song, then the above-mentioned first information may include the name of the song, the name of the singer of the song, the part of the song Lyrics, and at least one item of information that may include the name of an application for the song. Specifically, it may be determined according to actual usage requirements, and is not limited in this embodiment of the present invention.
又示例性的,对于上述场景二(即终端设备搜索购物类的内容),上述目标内容可以为一件物品,那么上述第一信息可以包括该物品名称、该物品图片、售卖该物品商家名称、该物品的购买链接,以及可能包括该物品的应用程序名称等信息中的至少一项。具体可以根据实际使用需求确定,本发明实施例不作限定。As another example, for the above-mentioned scenario two (that is, the terminal device searches for shopping content), the above-mentioned target content may be an item, then the above-mentioned first information may include the name of the item, the picture of the item, the name of the merchant selling the item, A purchase link of the item, and at least one item of information such as a name of an application that may include the item. Specifically, it may be determined according to actual usage requirements, and is not limited in this embodiment of the present invention.
可选的,本发明实施例中,终端设备可以通过某一搜索接口(以下称为目标接口)获取上述第一信息。Optionally, in this embodiment of the present invention, the terminal device may obtain the foregoing first information through a certain search interface (hereinafter referred to as a target interface).
可选的,本发明实施例中,上述目标接口可以为一个应用程序或者一个具有搜索功能的控件、插件、网页等任意形式的搜索模块,具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the above-mentioned target interface may be an application program or a search module in any form such as a control, a plug-in, or a web page with a search function, which may be determined according to actual usage requirements, and is not limited in this embodiment of the present invention. .
可选的,本发明实施例中,上述目标接口对应的界面中可以包括目标输入框,终端设备可以通过该目标输入框获取用户输入的上述第一信息。Optionally, in this embodiment of the present invention, the interface corresponding to the above-mentioned target interface may include a target input box, and the terminal device may obtain the above-mentioned first information input by the user through the target input box.
可选的,本发明实施例中,上述目标输入框可以为一个输入框,也可以为多个输入框。Optionally, in this embodiment of the present invention, the above-mentioned target input box may be one input box, or may be multiple input boxes.
可选的,本发明实施例中,当上述目标输入框为多个输入框时,用户可以在该多个输入框中的至少一个输入框中输入信息,即上述第一信息可以包括至少一个子信息。Optionally, in this embodiment of the present invention, when the above-mentioned target input box is multiple input boxes, the user may input information in at least one of the multiple input boxes, that is, the above-mentioned first information may include at least one information.
示例性的,本发明实施例中,以上述场景一为例,假设上述目标接口包括三个输入框,这三个输入框分别为如图3所示的输入框31、输入框32、输入框33。其中,输入框31用于输入歌曲名称、输入框32用于输入歌曲演唱者名称(例如歌手名字或组合名称等)、输入框33用于输入可能包括歌曲的应用程序名称。Exemplarily, in the embodiment of the present invention, taking the above-mentioned scenario 1 as an example, it is assumed that the above-mentioned target interface includes three input boxes, and these three input boxes are input box 31, input box 32, and input box as shown in FIG. 33. Wherein, the input box 31 is used for inputting the name of the song, the input box 32 is used for inputting the name of the singer of the song (such as the name of the singer or the name of the group, etc.), and the input box 33 is used for inputting the name of the application which may include the song.
步骤202、终端设备基于该第一信息,在至少两个目标应用程序中搜索目标内容,得到至少N个搜索结果。Step 202: The terminal device searches for the target content in at least two target application programs based on the first information, and obtains at least N search results.
其中,上述N个搜索结果中的至少两个搜索结果可以来自不同的应用程序,N为大于1的整数。Wherein, at least two of the above N search results may come from different application programs, and N is an integer greater than 1.
本发明实施例中,在终端设备获取到上述第一信息之后,终端设备可以采用该第一信息,在终端设备中支持上述目标内容类型的应用程序(即上述至少两个目标应用程序)中搜索上述目标内容,并得到N个搜索结果。In the embodiment of the present invention, after the terminal device obtains the above-mentioned first information, the terminal device can use the first information to search for the application program (that is, the above-mentioned at least two target application programs) in the terminal device that supports the above-mentioned target content type. The above target content, and get N search results.
本发明实施例中,终端设备基于上述第一信息,可以从上述至少两个目标应用程序中搜索得到不同的搜索结果,以得到上述N个搜索结果。In the embodiment of the present invention, based on the above first information, the terminal device may search and obtain different search results from the above at least two target application programs, so as to obtain the above N search results.
可选的,本发明实施例中,上述N个搜索结果中可以包括终端设备搜索到的与上述第一信息相关的内容和不包括任何内容的搜索结果(即终端设备在应用程序中,未搜索到任何与该第一信息相关的内容)中的至少一种搜索结果。具体可以根据实际使用情况确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the above N search results may include the content related to the above first information searched by the terminal device and the search results that do not include any content (that is, the terminal device is in the application program and has not searched to any content related to the first information) at least one search result. Specifically, it may be determined according to actual usage conditions, and is not limited in this embodiment of the present invention.
可选的,本发明实施例中,对于上述场景一,上述N个搜索结果中的一个搜索结果可以用于指示终端设备从上述至少两个目标应用程序中的一个应用程序中搜索到的一首歌曲或者没有搜索到任何相关歌曲;对于上述场景二,上述N个搜索结果中的一个搜索结果可以用于指示终端设备从上述至少两个目标应用程序中的一个应用程序中搜索到的一件物品或者没有搜索到任何相关物品。Optionally, in this embodiment of the present invention, for the above-mentioned scenario one, one of the above-mentioned N search results may be used to indicate a song searched by the terminal device from one of the above-mentioned at least two target application programs. songs or no related songs have been searched; for the above scenario two, one of the above N search results may be used to indicate an item that the terminal device has searched for from one of the above at least two target applications Or no related items were found.
示例性的,本发明实施例中,以上述场景一为例,假设上述目标内容为一首歌曲,且终端设备采用上述第一信息在3个应用程序(即上述至少两个目标应用程序)中搜索该歌曲,这3个应用程序分别为:应用程序1、应用程序2和应用程序3,其中,终端设备在应用程序1中搜索到2首歌曲,在应用程序2中搜索到1首歌曲,在应用程序3中未搜索到任何歌曲。那么上述至少两个搜索结果可以包括3首歌曲和一条提示信息(用于向用户提示终端设备未在“应用程序3”中搜索到任何歌曲)。Exemplarily, in the embodiment of the present invention, taking the above-mentioned scenario 1 as an example, it is assumed that the above-mentioned target content is a song, and the terminal device uses the above-mentioned first information in three application programs (that is, the above-mentioned at least two target application programs) To search for the song, the 3 applications are: application 1, application 2 and application 3, wherein the terminal device searches 2 songs in application 1 and 1 song in application 2, No songs were searched in App 3. Then the above-mentioned at least two search results may include 3 songs and a piece of prompt information (for prompting the user that the terminal device has not found any song in the "application program 3").
可选的,本发明实施例中,终端设备可以采用上述第一信息在上述至少两个目标应用程序中的全部应用程序中搜索上述目标内容,也可以在该至少两个目标应用程序中的部分应用程序中搜索上述目标内容。具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the terminal device may use the above-mentioned first information to search for the above-mentioned target content in all of the above-mentioned at least two target application programs, or may search for the above-mentioned target content in some of the at least two target application programs. Search for the above-mentioned target content in the application. Specifically, it may be determined according to actual usage requirements, and is not limited in this embodiment of the present invention.
需要说明的是,本发明实施例中,终端设备可以基于上述第一信息,至少在上述至少两个目标应用程序中的两个应用程序中搜索上述目标内容,由于终端设备可以在不同的应用程序中搜索得到不同的搜索结果,因此上述N个搜索结果中的至少两个搜索结果来自不同的应用程序。It should be noted that, in the embodiment of the present invention, the terminal device can search for the above-mentioned target content in at least two of the above-mentioned at least two target application programs based on the above-mentioned first information, because the terminal device can be in different application programs Different search results are obtained by searching in the above N search results, so at least two of the above N search results are from different application programs.
步骤203、终端设备显示该至少N个搜索结果。Step 203, the terminal device displays the at least N search results.
本发明实施例中,在终端设备得到上述N个搜索结果之后,终端设备可以显示该N个搜索结果,以向用户展示终端设备基于上述第一信息,在上述至少两个目标应用程序中搜索得到的内容。In the embodiment of the present invention, after the terminal device obtains the above N search results, the terminal device may display the N search results to show the user that the terminal device searches in the above at least two target application programs based on the above first information. Content.
可选的,本发明实施例中,终端设备可以通过上述目标接口显示上述N个搜索结果,即在该目标接口对应的界面中显示上述N个搜索结果。Optionally, in this embodiment of the present invention, the terminal device may display the above N search results through the above target interface, that is, display the above N search results on an interface corresponding to the target interface.
可选的,本发明实施例中,上述N个搜索结果中的每个搜索结果(以下简称为每个搜索结果)可以包括一个内容的相关信息。Optionally, in this embodiment of the present invention, each of the above N search results (hereinafter referred to as each search result) may include information about one content.
可选的,本发明实施例中,上述每个搜索结果可以包括内容名称、内容所属者名称、内容中的部分内容(例如关键字等)、内容的链接,以及提供内容的应用程序名称等任意与该内容相关的信息中的至少一项。具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, each of the above search results may include content name, content owner name, part of the content in the content (such as keywords, etc.), links to the content, and the name of the application that provides the content, etc. At least one item of information related to the content. Specifically, it may be determined according to actual usage requirements, and is not limited in this embodiment of the present invention.
本发明实施例中,对于上述场景一(即终端设备搜索音乐类的内容),上述每个搜索结果中可以包括歌曲名称和提供该歌曲的应用程序名称等信息中的至少一项。In the embodiment of the present invention, for the above scenario 1 (that is, the terminal device searches for music content), each of the above search results may include at least one item of information such as the name of the song and the name of the application program that provides the song.
对于上述场景一,上述每个搜索结果中还可以包括歌曲演唱者名称。For the first scenario above, each of the above search results may also include the name of the song singer.
相应的,对于上述场景二(即终端设备搜索购物类的内容),上述每个搜索结果可以包括物品名称、物品图片、物品的购买链接,以及提供该物品的应用程序名称等信息中的至少一项。Correspondingly, for the above scenario two (that is, the terminal device searches for shopping content), each of the above search results may include at least one of the name of the item, the picture of the item, the purchase link of the item, and the name of the application program that provides the item. item.
对于上述场景二,上述每个搜索结果还可以包括售卖物品的商家名称。For the second scenario above, each of the above search results may also include the name of the merchant selling the item.
示例性的,以上述场景一为例,假设上述每个搜索结果包括歌曲名称、歌曲演唱者名称,以及提供该歌曲的应用程序名称,终端设备从上述至少两个目标应用程序中搜索得到2个搜索结果,这2个搜索结果分别为搜索结果1和搜索结果2,其中,搜索结果1用于指示终端设备从“应用程序1”中搜索到的歌曲,该搜索结果1包括歌曲名称“XXXX”,歌曲演唱者名称“歌手1”、提供歌曲的应用程序名称“应用程序1”;搜索结果2用于指示终端设备从“应用程序2”中搜索到的歌曲,该搜索结果2包括歌曲名称“YYYY”,歌曲演唱者名称“歌手2”、提供歌曲的应用程序名称“应用程序2”。那么,如图3所示,终端设备可以在图3中的区域34中显示搜索结果1,在图3中的区域35中显示搜索结果2。Exemplarily, taking the above scenario 1 as an example, assuming that each of the above search results includes the name of the song, the name of the singer, and the name of the application program that provides the song, the terminal device searches for 2 target applications from the above at least two target applications. Search results, these two search results are search result 1 and search result 2 respectively, wherein search result 1 is used to indicate the song searched by the terminal device from "application program 1", and the search result 1 includes the song name "XXXX" , the name of the song singer "Singer 1", the name of the application that provides the song "Application 1"; the search result 2 is used to indicate the song that the terminal device has searched from "Application 2", and the search result 2 includes the song name " YYYY", the name of the artist of the song "Singer 2", the name of the application that provides the song "App 2". Then, as shown in FIG. 3 , the terminal device may display search result 1 in area 34 in FIG. 3 , and display search result 2 in area 35 in FIG. 3 .
本发明实施例提供一种搜索方法,由于支持同种内容类型的不同应用程序提供的内容可能不同,因此终端设备采用用户输入的信息,在终端设备中支持同种内容类型的多个应用程序中搜索与该信息相关的内容,可以增大终端设备搜索到与该信息相关的内容的概率。如此,当用户在终端设备中输入某一信息时,终端设备可以采用该信息,从不同的应用程序中搜索得到不同的搜索结果,以得到不同的内容,进一步的,当用户输入的信息不同时,终端设备也可以搜索得到不同的内容,从而可以扩大终端设备搜索到的内容的范围,进而可以使得终端设备搜索到的内容比较丰富。An embodiment of the present invention provides a search method. Since the content provided by different applications supporting the same content type may be different, the terminal device uses the information input by the user to search among multiple application programs supporting the same content type in the terminal device. Searching for content related to the information can increase the probability that the terminal device will find the content related to the information. In this way, when the user inputs certain information in the terminal device, the terminal device can use the information to search for different search results from different applications to obtain different content. Further, when the information input by the user is different , the terminal device can also search for different content, so that the scope of the content searched by the terminal device can be expanded, and thus the content searched by the terminal device can be enriched.
可选的,本发明实施例中,由于终端设备中的应用程序的类型比较多,因此在终端设备获取用户输入的第一信息之后,首先终端设备可以根据该第一信息,确定终端设备中支持上述目标内容类型的应用程序的类型(例如本发明实施例中的目标类型),然后终端设备可以从终端设备中的应用程序中确定与该类型匹配的至少两个应用程序(例如本发明实施例中的至少两个目标应用程序),从而终端设备可以在该至少两个应用程序中搜索上述目标内容。Optionally, in this embodiment of the present invention, since there are many types of application programs in the terminal device, after the terminal device acquires the first information input by the user, first the terminal device can determine the supported application programs in the terminal device according to the first information. The type of the application program of the above-mentioned target content type (such as the target type in the embodiment of the present invention), and then the terminal device can determine at least two application programs that match this type (such as the target type in the embodiment of the present invention) from the applications in the terminal device at least two target application programs), so that the terminal device can search for the above target content in the at least two application programs.
示例性的,结合图2,如图4所示,在上述步骤201之后,本发明实施例提供的搜索方法还可以包括下述的步骤204和步骤205。Exemplarily, referring to FIG. 2 , as shown in FIG. 4 , after the above step 201 , the search method provided by the embodiment of the present invention may further include the following steps 204 and 205 .
步骤204、终端设备根据第一信息,确定目标类型。Step 204, the terminal device determines the target type according to the first information.
其中,上述目标类型可以用于指示支持上述目标内容类型的应用程序,即该目标类型可以为支持上述目标内容类型的应用程序的类型。Wherein, the above-mentioned target type may be used to indicate an application program supporting the above-mentioned target content type, that is, the target type may be a type of an application program supporting the above-mentioned target content type.
步骤205、终端设备确定与该目标类型匹配的至少两个目标应用程序。Step 205, the terminal device determines at least two target application programs matching the target type.
本发明实施例中,终端设备可以根据上述第一信息,确定用户可能想要搜索的内容(即上述目标内容),从而根据该内容确定上述目标类型,然后在终端设备确定该目标类型之后,终端设备可以从终端设备中的应用程序中确定与该目标类型匹配的至少两个应用程序(即上述至少两个目标应用程序)。In the embodiment of the present invention, the terminal device can determine the content that the user may want to search for (that is, the above-mentioned target content) according to the above-mentioned first information, so as to determine the above-mentioned target type according to the content, and then after the terminal device determines the target type, the terminal The device may determine at least two application programs matching the target type from the application programs in the terminal device (that is, the at least two target application programs mentioned above).
需要说明的是,本发明实施例中,上述与目标类型匹配的至少两个目标应用程序可以理解为:终端设备中可以提供上述目标内容类型的内容(即与上述目标内容的类型相同的内容)的至少两个应用程序。It should be noted that, in the embodiment of the present invention, the above-mentioned at least two target application programs matching the target type can be understood as: the terminal device can provide the content of the above-mentioned target content type (that is, the content of the same type as the above-mentioned target content) at least two applications.
示例性的,对于场景一(终端设备搜索音乐类的内容),上述目标内容可以为一首歌曲,上述目标应用程序可以为支持音乐类的应用程序,如此上述目标类型可以包括音乐类和浏览器类等;对于场景二(终端设备搜索购物类的内容),上述目标内容可以为一个购买的物品,上述目标应用程序可以为支持购物的应用程序,如此上述目标类型可以包括购物类和浏览器类等。Exemplarily, for Scenario 1 (the terminal device searches for music-related content), the above-mentioned target content may be a song, and the above-mentioned target application program may be an application program supporting music, so the above-mentioned target type may include music and browser categories, etc.; for scene two (the terminal device searches for shopping content), the above-mentioned target content can be a purchased item, and the above-mentioned target application program can be an application program that supports shopping, so the above-mentioned target type can include shopping categories and browser categories. Wait.
本发明实施例中,由于终端设备中的应用程序比较多,在终端设备获取到上述第一信息之后,终端设备可能无法确定该在哪些应用程序中搜索上述目标内容,从而可能会导致终端设备搜索的效率较低,因此终端设备可以根据该第一信息,先确定上述目标类型,然后再确定与该目标类型匹配的应用程序(即上述至少两个目标应用程序),从而可以提高终端设备根据该第一信息搜索到的内容的准确性。In the embodiment of the present invention, since there are many applications in the terminal device, after the terminal device acquires the above-mentioned first information, the terminal device may not be able to determine which application programs should search for the above-mentioned target content, which may cause the terminal device to search for the above-mentioned target content. The efficiency is low, so the terminal device can first determine the above-mentioned target type according to the first information, and then determine the application program (that is, the above-mentioned at least two target application programs) that matches the target type, so that the terminal device can be improved according to the target type. The accuracy of the content searched by the first information.
可选的,本发明实施例中,在终端设备在上述至少两个目标应用程序中搜索上述目标内容之前,终端设备可以先获取该至少两个目标应用程序的信息(例如应用程序的名称、应用程序的使用频率、应用程序的类型等信息),然后终端设备可以根据这些信息确定该至少两个目标应用程序的搜索优先级,从而终端设备可以根据该搜索优先级,依次在该至少两个目标应用程序中搜索目标内容。Optionally, in this embodiment of the present invention, before the terminal device searches for the above-mentioned target content in the above-mentioned at least two target application programs, the terminal device may first obtain the information of the at least two target application programs (such as the name of the application program, the application Program usage frequency, application type and other information), and then the terminal device can determine the search priority of the at least two target application programs according to these information, so that the terminal device can sequentially search the at least two target application programs according to the search priority Search the target content in the application.
示例性的,结合图2,如图5所示,在上述步骤202之前,本发明实施例提供的搜索方法,还可以包括下述的步骤206和步骤207。其中上述步骤202可以通过下述的步骤202a实现。Exemplarily, referring to FIG. 2 , as shown in FIG. 5 , before the above step 202 , the search method provided by the embodiment of the present invention may further include the following steps 206 and 207 . The above step 202 can be realized by the following step 202a.
步骤206、终端设备基于第一信息,获取至少两个目标应用程序的信息,得到第二信息。Step 206, the terminal device acquires information of at least two target application programs based on the first information, and obtains second information.
其中,上述第二信息可以为以下至少一项:应用程序名称、应用程序的使用频率、应用程序的类型。Wherein, the above-mentioned second information may be at least one of the following: application name, application frequency, and application type.
步骤207、终端设备根据该第二信息,确定该至少两个目标应用程序的搜索优先级。Step 207, the terminal device determines the search priorities of the at least two target application programs according to the second information.
步骤202a、终端设备按照该搜索优先级,依次在该至少两个目标应用程序中搜索目标内容。Step 202a, the terminal device sequentially searches for the target content in the at least two target application programs according to the search priority.
本发明实施例中,在终端设备获取上述第一信息之后,终端设备可以先获取上述至少两个目标应用程序的信息,以得到上述第二信息,然后终端设备可以根据该第二信息,确定该至少两个目标应用程序的搜索优先级。在终端设备确定该至少两个目标应用程序的搜索优先级之后,终端设备可以根据该搜索优先级,依次在该至少两个应用程序中搜索上述目标内容。In the embodiment of the present invention, after the terminal device obtains the above-mentioned first information, the terminal device may first obtain the information of the above-mentioned at least two target application programs to obtain the above-mentioned second information, and then the terminal device may determine the Search priorities for at least two target applications. After the terminal device determines the search priorities of the at least two target application programs, the terminal device may sequentially search for the above target content in the at least two application programs according to the search priorities.
本发明实施例中,由于应用程序名称、应用程序的使用频率、应用程序的类型中的至少一项(即上述第二信息)可以表示用户使用该至少两个目标应用程序的可能性,因此终端设备根据这些信息(即上述第二信息)可以确定用户使用该至少两个目标应用程序的优先级,然后终端设备可以将用户使用该至少两个目标应用程序的优先级作为该至少两个目标应用程序的搜索优先级。In the embodiment of the present invention, since at least one of the application program name, the application frequency, and the application program type (that is, the above-mentioned second information) can indicate the possibility of the user using the at least two target application programs, the terminal The device can determine the user's priority of using the at least two target application programs according to the information (ie, the above-mentioned second information), and then the terminal device can use the user's priority of using the at least two target application programs as the at least two target application programs. The search priority of the program.
可选的,本发明实施例中,终端设备按照上述搜索优先级在上述至少两个目标应用程序中搜索上述目标内容的方式可以包括两种方式,分别为方式一和方式二,下面具体对这两种方式(方式一和方式二)进行示例性的说明。Optionally, in this embodiment of the present invention, the method for the terminal device to search for the above-mentioned target content in the above-mentioned at least two target application programs according to the above-mentioned search priority may include two methods, which are respectively method 1 and method 2. The following specifically discusses these Two modes (mode 1 and mode 2) are used for exemplary description.
方式一:终端设备按照上述搜索优先级,依次在上述至少两个目标应用程序中搜索上述目标内容,直至搜索到该目标内容。Way 1: The terminal device searches for the above-mentioned target content in the above-mentioned at least two target application programs sequentially according to the above-mentioned search priority until the target content is found.
可选的,对于上述方式一,上述搜索优先级还可以根据上述第一信息中是否包括第一目标应用程序的名称确定。其中,该第一目标应用程序可以为上述至少两个目标应用程序中的应用程序。Optionally, for the above manner 1, the above search priority may also be determined according to whether the above first information includes the name of the first target application program. Wherein, the first target application program may be an application program in the above at least two target application programs.
可选的,本发明实施例中,在第一种可能的实现方式中,在上述第一信息中包括第一目标应用程序的名称的情况下,终端设备可以优先在该第一目标应用程序中搜索上述目标内容,然后再在其它应用程序中搜索上述目标内容。Optionally, in this embodiment of the present invention, in the first possible implementation manner, if the first information includes the name of the first target application program, the terminal device may preferentially select the first target application program Search for the above-mentioned target content, and then search for the above-mentioned target content in other applications.
可选的,本发明实施例中,在终端设备搜索目标内容的过程中,当终端设备在上述第一目标应用程序中未搜索到上述目标内容时,终端设备可以在终端设备中的浏览器应用程序中搜索包括该目标内容的应用程序,并检测终端设备中是否包括该应用程序,如果终端设备中包括该应用程序,那么终端设备可以显示该应用程序的名称,以提示用户修改上述第一信息中包括的应用程序的名称,并在修改后的应用程序中搜索上述目标内容;如果终端设备中不包括该应用程序,那么终端设备可以获取包括该目标内容的网页的地址信息。Optionally, in this embodiment of the present invention, when the terminal device does not find the above-mentioned target content in the above-mentioned first target application program during the process of the terminal device searching for the target content, the terminal device can use the browser application in the terminal device Search the application program that includes the target content in the program, and detect whether the application program is included in the terminal device. If the application program is included in the terminal device, the terminal device can display the name of the application program to prompt the user to modify the above-mentioned first information The name of the application program included in the modified application program, and search for the above target content in the modified application program; if the application program is not included in the terminal device, then the terminal device can obtain the address information of the web page that includes the target content.
可选的,本发明实施例中,当终端设备获取包括上述目标内容的网页的地址信息时,终端设备可以显示目标提示信息,以提醒用户:终端设备中的应用程序不包括该目标内容,且用户可以通过该网页的地址信息获取该目标内容。Optionally, in this embodiment of the present invention, when the terminal device obtains the address information of the webpage including the above target content, the terminal device may display target prompt information to remind the user: the application program in the terminal device does not include the target content, and The user can obtain the target content through the address information of the webpage.
可选的,本发明实施例中,在第二种可能的实现方式中,在上述第一信息中不包括上述第一目标应用程序的名称的情况下,终端设备可以根据上述M个应用程序的使用频率,按照使用频率从高到低的顺序,依次在上述M个应用程序中搜索上述目标内容,直至搜索到该目标内容。Optionally, in the embodiment of the present invention, in the second possible implementation manner, if the first information does not include the name of the first target application, the terminal device may The frequency of use is to search for the above target content in the above M application programs sequentially in descending order of the frequency of use until the target content is found.
可选的,本发明实施例中,在第三种可能的实现方式中,终端设备可以结合应用程序的应用类型和上述至少两个目标应用程序的使用频率,依次在上述至少两个目标应用程序中搜索上述目标内容,直至搜索到该目标内容。Optionally, in the embodiment of the present invention, in the third possible implementation manner, the terminal device may combine the application type of the application program and the frequency of use of the at least two target application programs, and sequentially select the above-mentioned at least two target application programs. Search for the above target content in , until the target content is found.
具体的,终端设备可以先按照使用频率从高到低的顺序,依次在仅支持上述目标内容类型的各个应用程序中搜索上述目标内容,然后再按照使用频率从高到低的顺序,依次在可以支持上述目标内容类型的其它各个应用程序中,搜索上述目标内容,直至搜索到该目标内容。Specifically, the terminal device may first search for the above-mentioned target content in each application that only supports the above-mentioned target content type in order of frequency of use from high to low, and then search for the above-mentioned target content in order of frequency of use from high to low. In other application programs that support the above-mentioned target content type, the above-mentioned target content is searched until the target content is found.
本发明实施例中,对于上述场景一,终端设备可以先按照使用频率从高到低的顺序,依次在终端设备中的各个音乐类应用程序(即仅支持上述音乐类的内容的应用程序)中搜索上述目标内容,然后再按照使用频率从高到低的顺序,依次在终端设备中的各个浏览器类应用程序(例如浏览器类应用程序等,即可以支持上述音乐类的内容的应用程序)中搜索上述目标内容,直至搜索到该目标内容。In the embodiment of the present invention, for the above-mentioned scenario 1, the terminal device can first follow the order of the frequency of use from high to low, and sequentially select each music application program (that is, the application program that only supports the above-mentioned music content) in the terminal device. Search for the above target content, and then, in order of frequency of use from high to low, in each browser application program in the terminal device (such as browser application program, etc., that is, an application program that can support the above music content) Search for the above target content in , until the target content is found.
相应的,对于上述场景二,终端设备可以先按照使用频率从高到低的顺序,依次在终端设备中的各个购物类应用程序(即仅支持上述购物类的内容的应用程序)中搜索上述目标内容,然后再按照使用频率从高到低的顺序,依次在终端设备中的各个浏览器类应用程序(例如浏览器类应用程序等,即可以支持上述购物类的内容的应用程序)中搜索上述目标内容,直至搜索到该目标内容。Correspondingly, for the above-mentioned scenario two, the terminal device can first search for the above-mentioned target in each shopping application program (that is, an application program that only supports the above-mentioned shopping content) in the terminal device in order of usage frequency from high to low. content, and then search for the above-mentioned content in each browser application program (such as a browser application program, etc., that is, an application program that can support the above-mentioned shopping content) in the terminal device in order of frequency of use from high to low. target content until the target content is found.
示例性的,以上述场景一为例,假设上述至少两个目标应用程序中包括两个音乐类应用程序和一个浏览器类应用程序,这两个音乐类应用程序分别为应用程序1和应用程序2,浏览器类应用程序为应用程序3,其中,应用程序2的使用频率高于应用程序1的使用频率。那么,当终端设备基于上述第一信息,在上述至少两个目标应用程序中搜索上述目标内容时,终端设备可以先在应用程序2中搜索该目标内容,若应用程序2中包括该目标内容,则终端设备搜索到该目标内容,且终端设备停止搜索;若应用程序2中不包括该目标内容,则终端设备继续在应用程序1中搜索该目标内容,若应用程序1中包括该目标内容,则终端设备搜索到该目标内容,且终端设备停止搜索;若应用程序1中不包括该目标内容,则终端设备继续在应用程序3中搜索该目标内容,直到在应用程序3中搜索到该目标内容或在这3个应用程序中均未搜索到该目标内容为止。Exemplarily, taking the above scenario 1 as an example, it is assumed that the above-mentioned at least two target applications include two music-type applications and one browser-type application, and the two music-type applications are application 1 and application 2. The browser application program is application program 3, wherein the usage frequency of application program 2 is higher than that of application program 1. Then, when the terminal device searches for the above-mentioned target content in the above-mentioned at least two target application programs based on the above-mentioned first information, the terminal device can first search for the target content in the application program 2, if the application program 2 includes the target content, Then the terminal device searches for the target content, and the terminal device stops searching; if the target content is not included in the application program 2, the terminal device continues to search for the target content in the application program 1, and if the target content is included in the application program 1, Then the terminal device searches for the target content, and the terminal device stops searching; if the target content is not included in the application program 1, the terminal device continues to search for the target content in the application program 3 until the target content is searched in the application program 3 content or the target content is not found in any of the 3 applications.
方式二:终端设备按照上述搜索优先级,依次在上述至少两个目标应用程序中搜索上述目标内容,直至搜索完该至少两个目标应用程序。Method 2: The terminal device searches for the above target content in the above at least two target application programs sequentially according to the above search priorities until the at least two target application programs are searched.
本发明实施例中,终端设备可以按照上述搜索优先级,依次在上述至少两个目标应用程序中搜索上述目标内容,如此终端设备可以从该至少两个目标应用程序中搜索得到不同的搜索结果(即上述N个搜索结果),用户可以根据终端设备搜索得到的不同搜索结果,选择其需要的内容。In this embodiment of the present invention, the terminal device may search for the above-mentioned target content in the above-mentioned at least two target application programs sequentially according to the above-mentioned search priorities, so that the terminal device may search for different search results from the at least two target application programs ( That is, the above N search results), the user can select the desired content according to the different search results obtained by the terminal device.
本发明实施例中,由于应用程序名称、应用程序的使用频率,以及应用程序的类型(即上述第二信息)可以表示用户使用上述至少两个目标应用程序的可能性,因此终端设备根据这些信息可以确定用户使用该至少两个目标应用程序的优先级。然后终端设备将用户使用该至少两个目标应用程序的优先级作为搜索优先级,按照该搜索优先级,依次在该至少两个目标应用程序中搜索上述目标内容,可以使得终端设备合理的利用终端设备中的搜索资源,避免浪费不必要的搜索资源。In the embodiment of the present invention, since the application program name, application frequency, and application program type (that is, the above-mentioned second information) can indicate the user's possibility of using the above-mentioned at least two target application programs, the terminal device Priorities for the user to use the at least two target application programs may be determined. Then the terminal device uses the priority of the at least two target application programs used by the user as the search priority, and according to the search priority, searches for the above-mentioned target content in the at least two target application programs in turn, which can make the terminal device reasonably use the terminal Search resources in the device to avoid wasting unnecessary search resources.
可选的,本发明实施例中,在终端设备显示上述N个搜索结果之后,如果用户需要将某个搜索结果(例如本发明实施例中的目标搜索结果)指示的内容(例如本发明实施例中的目标子对象)添加到某个信息集合(例如本发明实施例中的目标对象)中,那么用户可以通过对该搜索结果的输入(例如本发明实施例中的第一输入),触发终端设备将该搜索结果指示的内容添加到该信息集合中,从而用户可以通过该信息集合获取该搜索结果指示的内容。Optionally, in this embodiment of the present invention, after the terminal device displays the above N search results, if the user needs to display the content indicated by a certain search result (such as the target search result in the embodiment of the present invention) (such as the The target sub-object in ) is added to a certain information set (such as the target object in the embodiment of the present invention), then the user can trigger the terminal by inputting the search result (such as the first input in the embodiment of the present invention) The device adds the content indicated by the search result to the information set, so that the user can obtain the content indicated by the search result through the information set.
示例性的,结合图2,如图6所示,在上述步骤203之后,本发明实施例提供的搜索方法还可以包括下述的步骤208和步骤209。Exemplarily, referring to FIG. 2 , as shown in FIG. 6 , after the above step 203 , the search method provided by the embodiment of the present invention may further include the following steps 208 and 209 .
步骤208、终端设备接收用户对N个搜索结果中的目标搜索结果的第一输入。Step 208, the terminal device receives a user's first input on a target search result among the N search results.
步骤209、终端设备响应于该第一输入,将该目标搜索结果指示的子对象添加到目标对象中。In step 209, the terminal device adds the sub-object indicated by the target search result to the target object in response to the first input.
本发明实施例中,在终端设备显示上述N个搜索结果之后,如果用户需要将该N个搜索结果中的某一搜索结果(即上述目标搜索结果)指示的内容(即上述目标子对象)添加到上述目标对象中,那么用户可以通过对该目标搜索结果的输入(即上述第一输入),触发终端设备将该目标搜索结果指示的目标子对象添加到该目标对象中。In the embodiment of the present invention, after the terminal device displays the above N search results, if the user needs to add the content indicated by one of the N search results (ie the above target search result) (ie the above target sub-object) to the above target object, then the user can trigger the terminal device to add the target sub-object indicated by the target search result to the target object by inputting the target search result (that is, the above first input).
需要说明的是,本发明实施例中,一个子对象可以理解为终端设备基于上述第一信息,在上述至少两个目标应用程序中搜索到的一个搜索结果对应的内容。该子对象可以为与上述目标内容(用户搜索的内容)相同的内容,也可以为与上述目标内容相关的内容。It should be noted that, in this embodiment of the present invention, a sub-object may be understood as content corresponding to a search result that the terminal device searches in the at least two target application programs based on the first information. The sub-object may be the same content as the above-mentioned target content (the content searched by the user), or may be content related to the above-mentioned target content.
本发明实施例中,上述第一输入可以为用户对上述目标搜索结果的选择输入。In the embodiment of the present invention, the above-mentioned first input may be a user's selection input on the above-mentioned target search result.
可选的,本发明实施例中,上述第一输入可以为用户对该目标搜索结果的单击输入、双击输入,或者长按输入等任意可能的输入。具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the above-mentioned first input may be any possible input such as a user's single-click input, double-click input, or long-press input of the target search result. Specifically, it may be determined according to actual usage requirements, and is not limited in this embodiment of the present invention.
本发明实施例中,上述长按输入可以为用户在上述目标搜索结果上以大于或等于时间阈值的时长按下的输入。In the embodiment of the present invention, the long-press input may be an input that the user presses on the target search result for a duration greater than or equal to a time threshold.
本发明实施例中,上述时间阈值可以为终端设备中预置的数值,该时间阈值可以为终端设备的厂商在终端设备中预置的。具体可以根据实际使用需求确定,本发明实施例不作限定。In the embodiment of the present invention, the foregoing time threshold may be a value preset in the terminal device, and the time threshold may be preset in the terminal device by a manufacturer of the terminal device. Specifically, it may be determined according to actual usage requirements, and is not limited in this embodiment of the present invention.
可以理解,本发明实施例中,上述目标对象可以为同种类型的内容(例如本发明实施例中的歌曲,物品等)组成的集合。It can be understood that, in the embodiment of the present invention, the above-mentioned target object may be a collection of the same type of content (such as songs, items, etc. in the embodiment of the present invention).
可选的,本发明实施例中,上述目标对象的形式可以为队列形式或者列表形式等任意可能的形式。具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the form of the above-mentioned target object may be in any possible form such as a queue form or a list form. Specifically, it may be determined according to actual usage requirements, and is not limited in this embodiment of the present invention.
示例性的,在上述场景一中,上述目标对象可以为“歌单”、“我的收藏”、“下载”,以及“最近播放”等任意可以包括至少一首歌曲的对象。在上述场景二中,上述目标对象可以为“购物车”、“我的收藏”,以及“最近浏览”等任意可以包括至少一个物品(可以购买的物品)的对象。Exemplarily, in the first scenario above, the above-mentioned target object may be any object that may include at least one song, such as "song list", "my collection", "download", and "recently played". In the second scenario above, the above-mentioned target object can be any object that can include at least one item (item that can be purchased), such as "shopping cart", "my favorites", and "recently browsed".
需要说明的是,本发明实施例中,当终端设备将目标搜索结果指示的目标子对象添加到目标对象中时,终端设备可以在终端设备中与该目标对象对应的存储空间(以下称为目标存储空间)中存储该子对象的相关信息。It should be noted that, in the embodiment of the present invention, when the terminal device adds the target sub-object indicated by the target search result to the target object, the terminal device may save the storage space corresponding to the target object in the terminal device (hereinafter referred to as the target storage space) to store the relevant information of the sub-object.
本发明实施例中,对于上述场景一,终端设备可以将上述目标搜索结果指示的歌曲(即上述目标子对象)的歌曲名称和歌曲演唱者名称等信息存储到上述目标存储空间中。In the embodiment of the present invention, for the above-mentioned scenario 1, the terminal device may store information such as the song name and the name of the singer of the song indicated by the above-mentioned target search result (ie, the above-mentioned target sub-object) in the above-mentioned target storage space.
可选的,对于上述场景一,终端设备还可以将提供上述搜索结果指示的歌曲(即上述目标子对象)的应用程序名称,或者网页的地址信息存储到上述目标存储空间中。Optionally, for the above scenario 1, the terminal device may also store the name of the application that provides the song indicated by the above search result (that is, the above target sub-object), or the address information of the web page in the above target storage space.
相应的,对于上述场景二,终端设备可以将上述目标搜索结果指示物品(即上述目标子对象)的物品名称、物品的关键字、售卖该物品商家的名称,以及该物品的购买链接等信息存储到上述目标存储空间中。Correspondingly, for the above-mentioned scenario two, the terminal device may store information such as the name of the item indicated by the above-mentioned target search result (that is, the above-mentioned target sub-object), the keyword of the item, the name of the merchant selling the item, and the purchase link of the item. to the above target storage space.
可选的,对于上述场景二,终端设备还可以将提供上述搜索结果指示的物品(即上述目标子对象)的应用程序名称,或者网页的地址信息存储到上述目标存储空间中。Optionally, for the second scenario above, the terminal device may also store the name of the application that provides the item indicated by the search result (that is, the target sub-object) or the address information of the webpage in the target storage space.
本发明实施例中,用户可以通过上述第一输入,触发终端设备将上述目标搜索结果指示的目标子对象(例如歌曲、物品等)添加到上述目标对象中,如此用户可以通过该目标对象,触发终端设备输出该子对象,从而可以使得用户比较便捷地通过终端设备获取该子对象。In the embodiment of the present invention, the user can trigger the terminal device to add the target sub-object (such as song, item, etc.) indicated by the target search result to the target object through the above-mentioned first input, so that the user can trigger the The terminal device outputs the sub-object, so that the user can obtain the sub-object more conveniently through the terminal device.
可选的,本发明实施例中,上述目标对象中可以包括K个子对象(K为大于1的整数)。当终端设备显示该目标对象中的子对象时,终端设备可以先获取该K个子对象的相关信息,然后终端设备可以根据这些信息确定该K个子对象的显示优先级,从而终端设备可以按照该K个子对象的显示优先级,显示该K个子对象。如此,终端设备可以将用户最需要获取的内容显示在比较靠前的位置,从而便于用户选择这些内容。Optionally, in this embodiment of the present invention, the above target object may include K sub-objects (K is an integer greater than 1). When the terminal device displays the sub-objects in the target object, the terminal device can first obtain the relevant information of the K sub-objects, and then the terminal device can determine the display priority of the K sub-objects according to the information, so that the terminal device can follow the K The display priority of K sub-objects, display the K sub-objects. In this way, the terminal device can display the content that the user most needs to obtain at a relatively front position, so that the user can easily select the content.
示例性的,结合图6,如图7所示,在步骤209之后,本发明实施例提供的搜索方法,还可以包括下述的步骤210-步骤212。Exemplarily, referring to FIG. 6 , as shown in FIG. 7 , after step 209 , the search method provided by the embodiment of the present invention may further include the following steps 210 - 212 .
步骤210、终端设备获取K个子对象的信息,得到第三信息。Step 210, the terminal device acquires information of K sub-objects to obtain third information.
其中,上述第三信息可以包括以下至少一项:子对象名称、子对象所属者名称、提供子对象的应用程序名称、子对象的使用频率、子对象的编号。Wherein, the above-mentioned third information may include at least one of the following items: sub-object name, sub-object owner name, application program name providing sub-object, usage frequency of sub-object, and sub-object number.
步骤211、终端设备根据该第三信息,确定该K个子对象的显示优先级。Step 211, the terminal device determines the display priorities of the K sub-objects according to the third information.
步骤212、终端设备按照该显示优先级,显示该K个子对象。Step 212, the terminal device displays the K sub-objects according to the display priority.
本发明实施例中,当终端设备显示上述目标对象中的K个子对象时,终端设备可以先获取该K个子对象的相关信息,以得到上述第三信息,从而终端设备可以根据该第三信息确定该K个子对象的显示优先级,并按照该显示优先级显示该K个子对象。In the embodiment of the present invention, when the terminal device displays the K sub-objects in the above-mentioned target objects, the terminal device can first obtain the related information of the K sub-objects to obtain the above-mentioned third information, so that the terminal device can determine according to the third information display priority of the K sub-objects, and display the K sub-objects according to the display priority.
可选的,本发明实施例中,终端设备显示上述K个子对象的时机可以包括以下两种情况,这两种情况分别为情况一和情况二,下面具体对这两种情况(情况一和情况二)进行示例性的说明。Optionally, in this embodiment of the present invention, the timing at which the terminal device displays the above K sub-objects may include the following two situations, which are respectively Case 1 and Case 2. The following two cases (Case 1 and Case 2) are specifically described below. 2) Give an exemplary description.
情况一:用户触发终端设备将上述目标搜索结果指示的目标子对象添加到目标对象之后,终端设备可以直接显示上述目标对象,以向用户展示目标对象中包括的该K个子对象,即向用户展示该目标对象中包括的内容。Situation 1: After the user triggers the terminal device to add the target sub-object indicated by the above-mentioned target search result to the target object, the terminal device can directly display the above-mentioned target object to show the user the K sub-objects included in the target object, that is, to show the user The content included in this target object.
情况二:用户触发终端设备显示上述目标接口对应的界面,终端设备可以在该界面中显示上述目标对象,以向用户展示目标对象中包括的该K个子对象,即向用户展示该目标对象中包括的内容。Situation 2: The user triggers the terminal device to display the interface corresponding to the above-mentioned target interface, and the terminal device can display the above-mentioned target object on the interface to show the user the K sub-objects included in the target object, that is, to show the user that the target object includes Content.
可以理解,实际实现中,终端设备显示上述K个子对象的时机还可以包括其它任意可能的时机。具体可以根据实际使用需求确定,本发明实施例不作限定。It can be understood that, in actual implementation, the timing at which the terminal device displays the above K sub-objects may also include any other possible timing. Specifically, it may be determined according to actual usage requirements, and is not limited in this embodiment of the present invention.
可选的,本发明实施例中,终端设备显示上述K个子对象的显示方式可以包括:终端设备以横向排列的方式在上述目标接口对应的界面中显示上述K个子对象,或者,终端设备以纵向排列的方式在上述目标接口对应的界面中显示上述K个子对象等。具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the display method for the terminal device to display the above K sub-objects may include: the terminal device displays the above K sub-objects in an interface corresponding to the above-mentioned target interface in a horizontal arrangement, or the terminal device displays the above K sub-objects in a vertical The way of arrangement is to display the K sub-objects and so on in the interface corresponding to the target interface. Specifically, it may be determined according to actual usage requirements, and is not limited in this embodiment of the present invention.
需要说明的是,上述第三信息包括上述K个子对象中的每个子对象名称、每个子对象所属者名称、提供子对象的应用程序名称、每个子对象的使用频率、每个子对象的编号中的至少一项。It should be noted that the above third information includes the name of each sub-object in the above K sub-objects, the name of the owner of each sub-object, the name of the application program that provides the sub-object, the frequency of use of each sub-object, and the number of each sub-object. at least one.
具体的,上述第三信息包括上述K个子对象中的每个子对象的相同类型的信息。Specifically, the above-mentioned third information includes information of the same type of each sub-object in the above-mentioned K sub-objects.
示例性的,以上述第三信息包括子对象名称为例,假设K=3,即上述目标对象中包括3个子对象,分别为子对象1、子对象2和子对象3。那么该第三信息中可以包括子对象1名称、子对象2名称和子对象3名称。Exemplarily, taking the above-mentioned third information including sub-object names as an example, assuming K=3, that is, the above-mentioned target object includes three sub-objects, which are sub-object 1, sub-object 2, and sub-object 3 respectively. Then the third information may include the name of sub-object 1, the name of sub-object 2 and the name of sub-object 3.
本发明实施例中,由于上述目标存储空间中存储了上述K个子对象中的每个子对象的相关信息,例如子对象名称、子对象所属者名称、提供子对象的应用程序名称、子对象的使用频率,以及子对象的编号等,因此终端设备可以获取这些信息,以得到上述第三信息。In the embodiment of the present invention, since the above-mentioned target storage space stores the relevant information of each of the K sub-objects, such as the name of the sub-object, the name of the owner of the sub-object, the name of the application that provides the sub-object, and the use of the sub-object frequency, and the serial number of the sub-object, etc., so the terminal device can obtain these information to obtain the above-mentioned third information.
本发明实施例中,由于子对象名称、子对象所属者名称、提供子对象的应用程序名称、子对象的使用频率,以及子对象的编号中的至少一项(即上述第三信息)可以用于表示用户使用这些子对象的可能性,因此终端设备根据这些信息(即第三信息)可以确定可能的用户使用每个子对象的优先级,然后终端设备可以将可能的用户使用每个子对象的优先级作为每个子对象的显示优先级。In the embodiment of the present invention, because at least one of the name of the sub-object, the name of the owner of the sub-object, the name of the application that provides the sub-object, the frequency of use of the sub-object, and the serial number of the sub-object (that is, the third information above) can be used In order to represent the possibility of users using these sub-objects, the terminal device can determine the priority of possible users using each sub-object according to these information (ie, the third information), and then the terminal device can use the priority of each sub-object for possible users to use level as the display priority of each sub-object.
可选的,本发明实施例中,当上述第三信息至少包括子对象名称时,上述显示优先级可以根据子对象名称的首字母确定,子对象名称的首字母越靠前,子对象的显示优先级越高。当上述第三信息至少包括子对象所属者名称时,上述显示优先级可以根据子对象所属者名称的首字母确定,子对象所属者名称的首字母越靠前,子对象的显示优先级越高。当上述第三信息至少包括提供子对象的应用程序名称时,上述显示优先级可以根据提供子对象的应用程序名称的首字母确定,提供子对象的应用程序名称的首字母越靠前,子对象的显示优先级越高。当上述第三信息至少包括子对象的使用频率时,上述显示优先级可以根据子对象的使用频率的高低确定,子对象的使用频率越高,子对象的显示优先级越高。当上述第三信息至少包括子对象的编号时,上述显示优先级可以根据子对象的编号确定,子对象的编号越小,子对象的显示优先级越高。Optionally, in this embodiment of the present invention, when the above-mentioned third information includes at least the name of the sub-object, the above-mentioned display priority may be determined according to the first letter of the name of the sub-object. The higher the priority. When the third information includes at least the name of the owner of the sub-object, the display priority may be determined according to the first letter of the name of the owner of the sub-object, the higher the first letter of the name of the owner of the sub-object, the higher the display priority of the sub-object . When the above third information includes at least the name of the application program that provides the sub-object, the above-mentioned display priority can be determined according to the first letter of the name of the application program that provides the sub-object. The higher the display priority is. When the third information includes at least the frequency of use of the sub-object, the display priority may be determined according to the frequency of use of the sub-object. The higher the frequency of use of the sub-object, the higher the display priority of the sub-object. When the third information includes at least the number of the sub-object, the display priority may be determined according to the number of the sub-object, and the smaller the number of the sub-object, the higher the display priority of the sub-object.
当然,实际实现中,上述显示优先级还可以根据结合子对象名称、子对象所属者名称、提供子对象的应用程序名称、子对象的使用频率、子对象的编号中的多项信息确定,本发明实施例不作限定。Of course, in actual implementation, the above display priority can also be determined based on a combination of multiple items of information in the name of the sub-object, the name of the owner of the sub-object, the name of the application that provides the sub-object, the frequency of use of the sub-object, and the number of the sub-object. The embodiments of the invention are not limited.
可选的,本发明实施例中,上述子对象的编号可以根据终端设备存储子对象的先后顺序确定。具体的,终端设备越早在上述目标存储空间中存储的子对象,其编号越小。Optionally, in this embodiment of the present invention, the numbers of the foregoing sub-objects may be determined according to the sequence in which the terminal device stores the sub-objects. Specifically, the earlier the terminal device stores the sub-object in the target storage space, the smaller its number.
可选的,本发明实施例中,在终端设备显示上述K个子对象之后,用户可以根据自身使用需求,改变该K个子对象中的子对象的编号,以改变该K个子对象的显示顺序。Optionally, in this embodiment of the present invention, after the terminal device displays the above K sub-objects, the user can change the serial number of the K sub-objects according to his own usage requirements, so as to change the display order of the K sub-objects.
需要说明的是,本发明实施例中,当上述K个子对象中的某个子对象的编号发生变化时,其它子对象的编号也会随着该子对象的编号的变化而变化。It should be noted that, in the embodiment of the present invention, when the serial number of a certain sub-object among the K sub-objects changes, the serial numbers of other sub-objects will also change along with the change of the serial number of the sub-object.
示例性的,本发明实施例中,假设上述目标对象中包括4个子对象(即K=4),该4个子对象分别为:子对象1、子对象2、子对象3和子对象4。其中,子对象1的编号为1,子对象2的编号为2,子对象3的编号为3,子对象4的编号为4。那么,当用户根据自身使用需求,将子对象3的编号设置为1(例如在上述目标对象中将子对象3置顶)时,子对象1的编号相应的变为2,子对象2的编号相应的变为3,子对象4的编号仍然为4(即子对象4的编号保持不变)。Exemplarily, in this embodiment of the present invention, it is assumed that the above target object includes 4 sub-objects (that is, K=4), and the 4 sub-objects are respectively: sub-object 1, sub-object 2, sub-object 3 and sub-object 4. Among them, the number of sub-object 1 is 1, the number of sub-object 2 is 2, the number of sub-object 3 is 3, and the number of sub-object 4 is 4. Then, when the user sets the number of sub-object 3 to 1 according to his own needs (for example, put sub-object 3 on top in the above-mentioned target object), the number of sub-object 1 becomes 2 correspondingly, and the number of sub-object 2 corresponds to becomes 3, and the number of sub-object 4 is still 4 (that is, the number of sub-object 4 remains unchanged).
可选的,本发明实施例中,终端设备可以按照上述K个子对象显示优先级,以显示优先级从高到低的顺序显示上述K个子对象。Optionally, in this embodiment of the present invention, the terminal device may display the above K sub-objects in order of display priority from high to low according to the display priorities of the above K sub-objects.
示例性的,假设上述显示优先级根据子对象的编号确定,且上述K个子对象为5个子对象,这5个子对象分别为:子对象1、子对象2、子对象3、子对象4和子对象5。其中,子对象1的编号为5,子对象2的编号为4,子对象3的编号为3,子对象4的编号为2,子对象5的编号为1。当终端设备按照这5个子对象的显示优先级,以从高到低的顺序显示这5个子对象时,终端设备显示这5个子对象的顺序为:如图8所示的子对象5、子对象4、子对象3、子对象2和子对象1。Exemplarily, it is assumed that the above-mentioned display priority is determined according to the number of the sub-object, and the above-mentioned K sub-objects are 5 sub-objects, and these 5 sub-objects are respectively: sub-object 1, sub-object 2, sub-object 3, sub-object 4 and sub-object 5. Among them, the number of sub-object 1 is 5, the number of sub-object 2 is 4, the number of sub-object 3 is 3, the number of sub-object 4 is 2, and the number of sub-object 5 is 1. When the terminal device displays the five sub-objects in descending order according to the display priorities of the five sub-objects, the order in which the terminal device displays the five sub-objects is: sub-object 5, sub-object as shown in Figure 8 4. Subobject 3, Subobject 2, and Subobject 1.
可选的,本发明实施例中,当上述K个子对象中的至少两个子对象来自不同的应用程序,且终端设备获取上述第三信息包括提供子对象的应用程序名称(即上述显示优先级至少根据提供子对象的应用程序名称确定)时,终端设备可以按照显示优先级,依次显示上述K个子对象中来自不同应用程序的子对象,并将来自同一应用程序的子对象相邻显示,如此可以避免在终端设备输出这些子对象的过程中,终端设备频繁的调用不同的应用程序,从而可以节省终端设备的调用资源。Optionally, in this embodiment of the present invention, when at least two of the above K sub-objects come from different applications, and the terminal device obtains the above-mentioned third information, it includes providing the application name of the sub-object (that is, the above-mentioned display priority is at least When determined according to the name of the application program providing the sub-object), the terminal device can sequentially display the sub-objects from different application programs in the above K sub-objects according to the display priority, and display the sub-objects from the same application program adjacently, so that In the process of outputting these sub-objects by the terminal device, it is avoided that the terminal device calls different application programs frequently, so that the calling resources of the terminal device can be saved.
示例性的,本发明实施例中,上述步骤212具体可以通过下述的步骤212a实现。Exemplarily, in the embodiment of the present invention, the above step 212 may be specifically implemented through the following step 212a.
步骤212a、终端设备按照显示优先级,依次显示K个子对象中来自不同应用程序的子对象。Step 212a, the terminal device sequentially displays sub-objects from different application programs among the K sub-objects according to the display priority.
其中,上述K个子对象中来自同一应用程序的子对象可以相邻显示。Wherein, sub-objects from the same application among the aforementioned K sub-objects may be displayed adjacently.
本发明实施例中,当上述K个子对象中的至少两个子对象来自不同的应用程序,且上述第三信息中包括提供子对象的应用程序名称时,即终端设备可以按照提供子对象的应用程序名称确定上述显示优先级。当终端设备显示上述K个子对象时,终端设备可以按照该显示优先级,依次显示该K个子对象中来自不同的子对象,该K个子对象中来自同一应用程序的子对象相邻显示。In this embodiment of the present invention, when at least two of the K sub-objects come from different applications, and the third information includes the name of the application program that provides the sub-object, that is, the terminal device can follow the application program that provides the sub-object The name determines the display priority described above. When the terminal device displays the above K sub-objects, the terminal device may sequentially display different sub-objects among the K sub-objects according to the display priority, and sub-objects from the same application among the K sub-objects are displayed adjacently.
可选的,本发明实施例中,上述K个子对象中来自同一应用程序的子对象的显示优先级可以根据子对象名称、子对象所属者名称、子对象的使用频率,以及子对象的编号中的至少一项确定。Optionally, in this embodiment of the present invention, among the above K sub-objects, the display priority of sub-objects from the same application program may be based on sub-object name, sub-object owner name, sub-object usage frequency, and sub-object number. At least one determination of .
本发明实施例中,对于上述显示优先级的相关描述,具体可以参见上述步骤210-步骤212中对上述显示优先级的详细描述,此处不再赘述。In the embodiment of the present invention, for the relevant description of the above display priority, please refer to the detailed description of the above display priority in the above step 210-step 212, which will not be repeated here.
本发明实施例中,由于终端设备输出上述K个子对象需要调用提供该子对象的应用程序,因此在上述K个子对象中的至少两个子对象来自不同的应用程序的情况下,终端设备按照上述显示优先级,依次显示上述K个子对象中来自不同应用程序的子对象,并将来自同一应用程序的子对象相邻显示,可以避免在终端设备输出这些子对象的过程中,终端设备频繁的调用不同的应用程序,从而可以节省终端设备的调用资源。In the embodiment of the present invention, since the terminal device needs to call the application program that provides the sub-object to output the above-mentioned K sub-objects, when at least two of the above-mentioned K sub-objects come from different application programs, the terminal device displays Priority, sequentially display sub-objects from different applications among the above K sub-objects, and display sub-objects from the same application next to each other, which can avoid frequent calls of different sub-objects by terminal devices during the process of outputting these sub-objects. application program, which can save the calling resources of the terminal device.
本发明实施例中,由于上述第三信息可以用于表示用户使用这些子对象的可能性,因此终端设备根据该第三信息可以确定可能的用户使用每个子对象的优先级,如此终端设备按照可能的用户使用每个子对象的优先级确定子对象的显示优先级,并按照该显示优先级显示指示这些子对象,可以使得终端设备将用户可能需要获取的子对象显示在比较靠前的位置,从而便于用户选择这些对象。In the embodiment of the present invention, since the third information above can be used to indicate the possibility of users using these sub-objects, the terminal device can determine the priority of each sub-object for possible users based on the third information, so that the terminal device can use the sub-objects according to the possible The user uses the priority of each sub-object to determine the display priority of the sub-objects, and displays and indicates these sub-objects according to the display priority, which can make the terminal device display the sub-objects that the user may need to obtain at a relatively front position, thereby Make it easier for users to select these objects.
可选的,本发明实施例中,在终端设备显示上述K个子对象之后,用户可以通过终端设备查看或收听该K个子对象。Optionally, in this embodiment of the present invention, after the terminal device displays the above K sub-objects, the user may view or listen to the K sub-objects through the terminal device.
可选的,本发明实施例中,当终端设备连续输出上述K个子对象中的子对象时,如果终端设备连续输出的两个子对象来自不同的应用程序时,那么终端设备可以通过下述的“方法一”输出这两个子对象;如果终端设备连续输出的多个子对象来自相同的应用程序时,那么终端设备可以通过下述的“方法二”输出该多个子对象。Optionally, in this embodiment of the present invention, when the terminal device continuously outputs sub-objects among the above K sub-objects, if the two sub-objects continuously output by the terminal device come from different application programs, then the terminal device can pass the following " Method 1” to output these two sub-objects; if the multiple sub-objects continuously output by the terminal device come from the same application program, then the terminal device can output the multiple sub-objects through the following “Method 2”.
方法一:当终端设备输出该K个子对象中的某个子对象(例如本发明实施例中的第j个子对象)时,终端设备可以运行提供该子对象的应用程序(例如本发明实施例中的第一应用程序),并通过该应用程序输出该子对象。然后在终端设备输出该子对象的过程中,终端设备可以获取在该子对象之后顺序输出的子对象(例如本发明实施例中的第j+1个子对象),当这个子对象与终端设备当前输出的子对象来自不同的应用程序时,终端设备可以先在终端设备的后台运行提供这个子对象的应用程序(例如本发明实施例中的第二应用程序),并在终端设备当前输出的子对象输出结束之后,终端设备可以通过提供这个子对象的应用程序输出这个子对象。如此可以使得终端设备输出上述K个子对象的过程比较流畅、且连续性较好。Method 1: When the terminal device outputs a certain sub-object among the K sub-objects (such as the jth sub-object in the embodiment of the present invention), the terminal device can run the application program that provides the sub-object (such as the jth sub-object in the embodiment of the present invention). first application) and output the child object through that application. Then, in the process of the terminal device outputting the sub-object, the terminal device can obtain the sub-object (such as the j+1th sub-object in the embodiment of the present invention) that is sequentially output after the sub-object. When the output sub-object comes from different application programs, the terminal device can first run the application program (such as the second application program in the embodiment of the present invention) that provides this sub-object in the background of the terminal device, and the sub-object currently output by the terminal device After the output of the object is finished, the terminal device can output the sub-object through the application program that provides the sub-object. In this way, the process of outputting the aforementioned K sub-objects by the terminal device is smoother and more continuous.
示例性的,结合图7,如图9所示,在上述步骤212之后,本发明实施例提供的搜索方法还可以包括下述的步骤213-步骤215。Exemplarily, referring to FIG. 7 , as shown in FIG. 9 , after the above step 212 , the search method provided by the embodiment of the present invention may further include the following steps 213 - 215 .
步骤213、终端设备运行第一应用程序,并通过该第一应用程序输出第j个子对象。Step 213, the terminal device runs the first application program, and outputs the jth sub-object through the first application program.
步骤214、终端设备在通过该第一应用程序输出该第j个子对象的过程中,在后台运行第二应用程序。Step 214, the terminal device runs the second application program in the background during the process of outputting the j-th sub-object through the first application program.
步骤215、终端设备在该第j个子对象输出结束后,通过该第二应用程序输出该第j+1个子对象。In step 215, the terminal device outputs the j+1th sub-object through the second application program after outputting the j-th sub-object.
其中,上述第j个子对象和上述第j+1个子对象可以为上述K个子对象中的子对象,上述第一应用程序可以为提供该第j个子对象的应用程序,上述第二应用程序可以为提供该第j+1个子对象的应用程序,该第一应用程序和该第二应用程序为不同的应用程序,1≤j<K,j为整数。Wherein, the above-mentioned j-th sub-object and the above-mentioned j+1-th sub-object may be sub-objects among the above-mentioned K sub-objects, the above-mentioned first application program may be an application program that provides the j-th sub-object, and the above-mentioned second application program may be The application program that provides the j+1th sub-object, the first application program and the second application program are different application programs, 1≤j<K, and j is an integer.
可选的,本发明实施例中,上述K个子对象中的子对象(例如上述第j个子对象、上述第j+1个子对象等)可以为终端设备基于上述第一信息,在上述至少两个目标应用程序中搜索到的至少两个搜索结果中的搜索结果指示的子对象,也可以为终端设备在上述至少两个目标应用程序中的某个应用程序中触发终端设备添加到上述目标对象中的子对象。Optionally, in this embodiment of the present invention, the sub-objects among the above-mentioned K sub-objects (such as the above-mentioned j-th sub-object, the above-mentioned j+1-th sub-object, etc.) The sub-object indicated by the search result in at least two search results searched in the target application program may also be a terminal device. Triggering the terminal device to be added to the above-mentioned target object in one of the above-mentioned at least two target application programs child object of .
本发明实施例中,上述第一应用程序和上述第二应用程序可以为上述至少两个目标应用程序中的不同的应用程序。In the embodiment of the present invention, the above-mentioned first application program and the above-mentioned second application program may be different application programs among the above-mentioned at least two target application programs.
可选的,本发明实施例中,用户可以通过一个输入(以下称为第二输入)触发终端设备运行第一应用程序,并通过该第一应用程序输出第j个子对象。Optionally, in this embodiment of the present invention, the user may trigger the terminal device to run the first application program through an input (hereinafter referred to as the second input), and output the jth sub-object through the first application program.
可选的,本发明实施例中,上述第二输入可以为用户对上述第j个子对象的单击输入、双击输入,或者长按输入等任意可能的输入。具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the second input may be any possible input such as single-click input, double-click input, or long-press input by the user on the jth sub-object. Specifically, it may be determined according to actual usage requirements, and is not limited in this embodiment of the present invention.
本发明实施例中,对于上述场景一,上述K个子对象中的一个子对象(例如上述第j个子对象、上述第j+1个子对象等)可以为一首歌曲,那么上述终端设备通过应用程序(例如上述第一应用程序或第二应用程序)输出子对象可以为:终端设备通过该应用程序播放歌曲;对于上述第二场景,上述K个子对象中的一个子对象(例如上述第j个子对象、上述第j+1个子对象等)可以为一件物品,上述终端设备通过该应用程序(例如上述第一应用程序或第二应用程序)输出子对象可以为:终端设备通过该应用程序显示该物品(具体可以为该应用程序显示该物品的详细信息等)。In the embodiment of the present invention, for the above-mentioned scenario 1, one of the above-mentioned K sub-objects (such as the above-mentioned j-th sub-object, the above-mentioned j+1-th sub-object, etc.) can be a song, then the above-mentioned terminal device can (such as the above-mentioned first application program or the second application program) the output sub-object can be: the terminal device plays songs through the application program; , the above j+1th sub-object, etc.) can be an item, and the above-mentioned terminal device can output the sub-object through the application program (such as the above-mentioned first application program or the second application program), which can be: the terminal device displays the item through the application program Item (specifically, the detailed information of the item may be displayed for the application program, etc.).
本发明实施例中,当终端设备连续输出上述K个子对象中的对象时,若连续输出的两个子对象(即上述第j个子对象和上述第j+1个子对象)来自不同的应用程序,在终端设备输出前一个子对象的过程中,终端设备可以先在终端设备的后台运行提供后一个子对象的应用程序,如此在前一个子对象输出结束后,终端设备可以直接通过提供后一个子对象的应用程序输出后一个应用程序,如此可以使得终端设备输出上述K个子对象的过程比较流畅,减少卡顿现象,从而可以提高终端设备输出该K个子对象的连续性,进而可以提高用户的体验感。In the embodiment of the present invention, when the terminal device continuously outputs objects in the above K sub-objects, if the two consecutively output sub-objects (that is, the above-mentioned jth sub-object and the above-mentioned j+1th sub-object) come from different applications, the When the terminal device outputs the previous sub-object, the terminal device can first run the application program that provides the next sub-object in the background of the terminal device, so that after the output of the previous sub-object is completed, the terminal device can directly provide the next sub-object The application program outputs the latter application program, so that the process of outputting the above K sub-objects by the terminal device is relatively smooth, reducing the stuttering phenomenon, thereby improving the continuity of the output of the K sub-objects by the terminal device, thereby improving the user experience. .
方法二:当终端设备输出该K个子对象中的某个子对象(例如本发明实施例中的第i个子对象)时,终端设备可以运行提供该子对象的应用程序(例如本发明实施例中的第三应用程序),并在该应用程序的界面中显示两个窗口(例如本发明实施例中的第一窗口和第二窗口)。然后终端设备可以通过一个窗口(即第一窗口)输出一个子对象(即本发明实施例中的第i个子对象),并在另一个窗口(即第二窗口)中显示在该子对象输出之后顺序输出的子对象(即本发明实施例中的第i+1个子对象)的相关信息。当该第i个子对象输出结束之后,终端设备可以通过该第二窗口输出该第i+1个子对象,并通过该第一窗口输出在第i+1个子对象顺序输出的子对象(例如本发明实施例中的第i+2个子对象)。如此可以使得终端设备输出上述K个子对象的过程比较流畅、且连续性较好。Method 2: When the terminal device outputs a certain sub-object among the K sub-objects (such as the i-th sub-object in the embodiment of the present invention), the terminal device can run an application program that provides the sub-object (such as the i-th sub-object in the embodiment of the present invention). third application program), and display two windows (such as the first window and the second window in the embodiment of the present invention) in the interface of the application program. Then the terminal device can output a sub-object (i.e. the i-th sub-object in the embodiment of the present invention) through a window (i.e. the first window), and display it in another window (i.e. the second window) after the output of the sub-object Related information of the sequentially output sub-objects (that is, the i+1th sub-object in the embodiment of the present invention). After the output of the i-th sub-object is finished, the terminal device can output the i+1-th sub-object through the second window, and output the sub-objects sequentially output by the i+1-th sub-object through the first window (such as the present invention The i+2th child object in the example). In this way, the process of outputting the aforementioned K sub-objects by the terminal device is smoother and more continuous.
示例性的,结合图7,如图10所示,在上述步骤212之后,本发明实施例提供的搜索方法还可以包括下述的步骤216-步骤218。Exemplarily, referring to FIG. 7 , as shown in FIG. 10 , after the above step 212 , the search method provided by the embodiment of the present invention may further include the following steps 216 - 218 .
步骤216、终端设备运行第三应用程序,并在第三应用程序的界面中显示第一窗口和第二窗口。Step 216, the terminal device runs the third application program, and displays the first window and the second window in the interface of the third application program.
步骤217、终端设备通过该第一窗口输出第i个子对象,并通过该第二窗口输出第i+1个子对象的相关信息。Step 217, the terminal device outputs the i-th sub-object through the first window, and outputs the relevant information of the i+1-th sub-object through the second window.
步骤218、终端设备在该第i个子对象输出结束后,通过该第二窗口输出该第i+1个子对象,并通过该第一窗口输出第i+2个子对象的相关信息。Step 218: After the i-th sub-object is output, the terminal device outputs the i+1-th sub-object through the second window, and outputs related information of the i+2-th sub-object through the first window.
其中,上述第i个子对象、上述第i+1个子对象和上述第i+2个子对象均为上述K个子对象中的子对象,该第i个子对象、该第i+1个子对象和该第i+2个子对象均为上述第三应用程序提供的子对象,1≤i<K-1,i为整数。Wherein, the above-mentioned i-th sub-object, the above-mentioned i+1-th sub-object and the above-mentioned i+2-th sub-object are all sub-objects in the above-mentioned K sub-objects, the i-th sub-object, the i+1-th sub-object and the i-th sub-object The i+2 sub-objects are sub-objects provided by the above-mentioned third application program, 1≤i<K-1, and i is an integer.
可选的,本发明实施例中,上述K个子对象中的子对象(例如上述第i个子对象、上述第i+1个子对象、上述第i+2个子对象等)可以为终端设备基于上述第一信息,在上述至少两个目标应用程序中搜索到的至少两个搜索结果中的搜索结果指示的子对象,也可以为终端设备在上述至少两个目标应用程序中的某个应用程序中触发终端设备添加到上述目标对象中的子对象。Optionally, in this embodiment of the present invention, the sub-objects among the above-mentioned K sub-objects (for example, the above-mentioned i-th sub-object, the above-mentioned i+1-th sub-object, the above-mentioned i+2-th sub-object, etc.) may be A piece of information, the sub-object indicated by the search result in the at least two search results searched in the at least two target application programs, may also be triggered by the terminal device in one of the at least two target application programs End Device is added to the child object in the target object above.
本发明实施例中,上述第三应用程序可以为上述至少两个目标应用程序中的应用程序。In the embodiment of the present invention, the above-mentioned third application program may be an application program in the above-mentioned at least two target application programs.
可以理解,本发明实施例中,上述第i个子对象、上述第i+1个子对象、上述第i+2个子对象可以为同一个应用程序提供的子对象。It can be understood that, in the embodiment of the present invention, the i-th sub-object, the i+1-th sub-object, and the i+2-th sub-object may be sub-objects provided by the same application program.
可选的,本发明实施例中,用户可以通过一个输入(以下称为第三输入)触发终端设备运行上述第三应用程序。Optionally, in this embodiment of the present invention, the user may trigger the terminal device to run the third application program through an input (hereinafter referred to as the third input).
可选的,本发明实施例中,上述第三输入可以为用户对上述第i个子对象的单击输入、双击输入,或者长按输入等任意可能的输入。具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the third input may be any possible input such as single-click input, double-click input, or long-press input by the user on the i-th sub-object. Specifically, it may be determined according to actual usage requirements, and is not limited in this embodiment of the present invention.
需要说明的是,本发明实施例中,当终端设备连续输出的子对象中有两个连续输出的子对象来自同一个应用程序时,例如上述第i个子对象和上述第i+1个子对象,当终端设备在该第i个子对象输出结束后,通过该第二窗口输出该第i+1个子对象,终端设备可以取消显示该第一窗口,终端设备也可以在该第一窗口中不显示任何内容,终端设备还可以在该第一窗口中显示推荐内容。It should be noted that, in the embodiment of the present invention, when there are two continuously output sub-objects from the same application program among the sub-objects continuously output by the terminal device, for example, the i-th sub-object and the i+1-th sub-object above, When the terminal device outputs the i+1th sub-object through the second window after the output of the i-th sub-object, the terminal device can cancel the display of the first window, or the terminal device can not display any sub-objects in the first window. content, the terminal device may also display recommended content in the first window.
可选的,本发明实施例中,上述第一应用程序的类型与上述第二应用程序的类型可以相同,且上述第一应用程序的类型与上述第三应用程序的类型可以不同。Optionally, in this embodiment of the present invention, the type of the first application program may be the same as the type of the second application program, and the type of the first application program may be different from the type of the third application program.
可选的,本发明实施例中,上述第一应用程序和上述第二应用程序可以为仅支持上述目标内容类型的应用程序,上述第三应用程序可以为可以支持上述目标内容类型的应用程序。Optionally, in this embodiment of the present invention, the above-mentioned first application program and the above-mentioned second application program may be application programs that only support the above-mentioned target content type, and the above-mentioned third application program may be an application program that can support the above-mentioned target content type.
本发明实施例中,对于场景一(终端设备搜索音乐类的内容),上述第一应用程序和上述第二应用程序可以为仅支持音乐类的内容的应用程序,上述第三应用程序可以为可以支持音乐类的内容的应用程序。对于场景二(终端设备搜索购物类的内容),上述第一应用程序和上述第二应用程序可以为仅支持购物类的内容的应用程序,上述第三应用程序可以为可以支持购物类的内容的应用程序。In the embodiment of the present invention, for scenario 1 (the terminal device searches for music content), the above-mentioned first application program and the above-mentioned second application program may be applications that only support music-type content, and the above-mentioned third application program may be an application program that can An application that supports music-like content. For scenario two (the terminal device searches for shopping content), the above-mentioned first application program and the above-mentioned second application program may be applications that only support shopping content, and the above-mentioned third application program may be an application program that can support shopping content. application.
示例性的,以上述场景一为例,上述第一应用程序和上述第二应用程序可以为音乐类应用程序(例如音乐类应用程序1和音乐类应用程序2),上述第三应用程序可以为浏览器类应用程序。Exemplarily, taking the above scenario 1 as an example, the above-mentioned first application program and the above-mentioned second application program may be music application programs (for example, music application program 1 and music application program 2), and the above-mentioned third application program may be Browser-like applications.
可以理解,本发明实施例中,终端设备可以根据上述K个子对象中的子对象来自的应用程序的类型,选择不同的方式(例如上述“方式一”和“方式二”)输出上述K个子对象。It can be understood that in the embodiment of the present invention, the terminal device may select different methods (for example, the above-mentioned "mode 1" and "mode 2") to output the above-mentioned K sub-objects according to the type of the application program from which the sub-objects in the above-mentioned K sub-objects come from. .
本发明实施例中,终端设备可以根据上述K个子对象中的子对象来自的应用程序的类型,采用不同的方式时输出上述K个子对象,如此可以使得终端设备输出上述K个子对象的方式比较灵活,从而可以提高用户的体验感。In the embodiment of the present invention, the terminal device can output the above K sub-objects in different ways according to the type of the application program from which the sub-objects in the above K sub-objects come, so that the terminal device can output the above-mentioned K sub-objects more flexibly. , so as to improve the user experience.
本发明实施例中,当终端设备连续输出上述K个子对象中的对象时,若连续输出的多个子对象(即上述第i个子对象、上述第i+1个子对象和上述第i+2个子对象)来自同一个应用程序,终端设备可以显示两个窗口。当终端设备连续输出的子对象来自同一个应用程序时,终端设备可以在通过一个窗口输出在前的子对象,并通过另一个窗口输出在该子对象输出之后,顺序输出的子对象的相关信息,以使得终端设备可以在在这个子对象输出结束之后,直接通过另一个窗口输出下一个子对象。如此可以使得终端设备输出上述K个子对象的过程比较流畅,减少卡顿现象,从而可以提高终端设备输出该K个子对象的连续性,进而可以提高用户的体验感。In the embodiment of the present invention, when the terminal device continuously outputs the objects in the above K sub-objects, if the multiple sub-objects continuously output (that is, the above-mentioned i-th sub-object, the above-mentioned i+1-th sub-object and the above-mentioned i+2-th sub-object ) from the same application, the terminal device can display two windows. When the sub-objects continuously output by the terminal device come from the same application program, the terminal device can output the previous sub-object through one window, and output the relevant information of the sub-objects sequentially output after the output of the sub-object through another window , so that the terminal device can directly output the next sub-object through another window after the output of this sub-object is finished. In this way, the process of outputting the above K sub-objects by the terminal device is relatively smooth, and the stuttering phenomenon is reduced, thereby improving the continuity of the output of the K sub-objects by the terminal device, thereby improving user experience.
需要说明的是,本发明实施例中,上述各个附图所示的搜索方法均是以结合本发明实施例中的一个附图为例示例性的说明的。具体实现时,上述各个附图所示的搜索方法还可以结合上述实施例中示意的其它可以结合的任意附图实现,此处不再赘述。It should be noted that, in the embodiment of the present invention, the search methods shown in the above-mentioned drawings are all described in conjunction with one drawing in the embodiment of the present invention as an example. During specific implementation, the search methods shown in the above-mentioned figures can also be implemented in combination with any other figures shown in the above-mentioned embodiments that can be combined, and details will not be repeated here.
如图11所示,本发明实施例提供一种终端设备1100,终端设备1100包括获取模块1101、搜索模块1102和显示模块1103。获取模块1101,用于获取用户输入的第一信息;搜索模块1102,用于基于获取模块1101获取的第一信息,在该至少两个目标应用程序中搜索目标内容,得到N个搜索结果;显示模块1103,用于显示搜索模块1102搜索到的该N个搜索结果。其中,该第一信息用于在该至少两个目标应用程序中搜索该目标内容,该至少两个目标应用程序为支持目标内容类型的应用程序,该N个搜索结果中的至少两个搜索结果来自不同的应用程序,N为大于1的整数。As shown in FIG. 11 , an embodiment of the present invention provides a terminal device 1100 , and the terminal device 1100 includes an acquisition module 1101 , a search module 1102 and a display module 1103 . An acquisition module 1101, configured to acquire the first information input by the user; a search module 1102, configured to search for target content in the at least two target application programs based on the first information acquired by the acquisition module 1101, and obtain N search results; display Module 1103, configured to display the N search results searched by the search module 1102. Wherein, the first information is used to search for the target content in the at least two target application programs, the at least two target application programs are applications supporting the target content type, and at least two of the N search results are From different applications, N is an integer greater than 1.
可选的,结合图11,如图12所示,终端设备1100还可以包括处理模块1104。处理模块1104,用于在获取模块1101获取用户输入的第一信息之后,根据该第一信息,确定目标类型,并确定与该目标类型匹配的至少两个目标应用程序。其中,该目标类型用于指示支持该目标内容类型的应用程序。Optionally, referring to FIG. 11 , as shown in FIG. 12 , the terminal device 1100 may further include a processing module 1104 . The processing module 1104 is configured to determine the target type according to the first information after the obtaining module 1101 obtains the first information input by the user, and determine at least two target application programs matching the target type. Wherein, the target type is used to indicate an application supporting the target content type.
可选的,获取模块1101,还用于在搜索模块1102在至少两个目标应用程序中搜索目标内容之前,获取该至少两个目标应用程序的信息,得到第二信息;确定模块,还用于根据获取模块1101获取的第二信息,确定该至少两个目标应用程序的搜索优先级;搜索模块1102,具体用于按照该搜索优先级,依次在该至少两个目标应用程序中搜索目标内容。其中,该第二信息为以下至少一项:应用程序名称、应用程序的使用频率、应用程序的类型Optionally, the obtaining module 1101 is further configured to obtain information of the at least two target application programs to obtain second information before the search module 1102 searches for the target content in the at least two target application programs; the determining module is also configured to According to the second information obtained by the obtaining module 1101, determine the search priority of the at least two target application programs; the search module 1102 is specifically configured to sequentially search for target content in the at least two target application programs according to the search priority. Wherein, the second information is at least one of the following: application program name, application program usage frequency, application program type
可选的,结合图12,如图13所示,终端设备1100还包括接收模块1105。接收模块1105,用于在显示模块1103显示N个搜索结果之后,接收用户对该N个搜索结果中的目标搜索结果的第一输入;处理模块1104,用于响应于接收模块1105接收的第一输入,将该目标搜索结果指示的目标子对象添加到目标对象中。Optionally, referring to FIG. 12 , as shown in FIG. 13 , the terminal device 1100 further includes a receiving module 1105 . The receiving module 1105 is configured to receive the user's first input of the target search result among the N search results after the display module 1103 displays the N search results; the processing module 1104 is configured to respond to the first input received by the receiving module 1105 Input to add the target sub-object indicated by the target search result to the target object.
可选的,目标对象中包括K个子对象,K为大于1的整数;获取模块1101,还用于获取K个子对象的信息,得到第三信息;处理模块1104,还用于根据获取模块1101获取的第三信息,确定该K个子对象的显示优先级;显示模块1103,还用于按照处理模块1004确定的显示优先级,显示该K个子对象。其中,该第三信息包括以下至少一项:子对象名称、子对象所属者名称、提供子对象的应用程序名称、子对象的使用频率、子对象的编号。Optionally, the target object includes K sub-objects, and K is an integer greater than 1; the obtaining module 1101 is also used to obtain the information of the K sub-objects to obtain the third information; the processing module 1104 is also used to obtain according to the obtaining module 1101 The third information is to determine the display priority of the K sub-objects; the display module 1103 is further configured to display the K sub-objects according to the display priority determined by the processing module 1004 . Wherein, the third information includes at least one of the following items: name of the sub-object, name of the owner of the sub-object, name of an application providing the sub-object, frequency of use of the sub-object, and serial number of the sub-object.
可选的,K个子对象中的至少两个子对象来自不同的应用程序,第三信息包括:提供子对象的应用程序名称;显示模块1103,具体用于按照显示优先级,依次显示该K个子对象中来自不同应用程序的子对象;其中,来自同一应用程序的子对象相邻显示。Optionally, at least two of the K sub-objects come from different applications, and the third information includes: the name of the application providing the sub-objects; the display module 1103 is specifically configured to display the K sub-objects in order according to the display priority Child objects from different applications in ; where child objects from the same application appear next to each other.
可选的,处理模块1104,还用于在显示模块1103显示K个子对象之后,运行第一应用程序,并通过第一应用程序输出第j个子对象,且在通过该第一应用程序输出第j个子对象的过程中,在后台运行第二应用程序;以及在第j个子对象输出结束后,通过第二应用程序输出第j+1个子对象。其中,该第一应用程序为提供该第j个子对象的应用程序,该第二应用程序为提供第j+1个子对象的应用程序,该第j个子对象和该第j+1个子对象为该K个子对象中的子对象,该第一应用程序和该第二应用程序为不同的应用程序,1≤j<K,j为整数。Optionally, the processing module 1104 is further configured to run the first application program after the display module 1103 displays K sub-objects, and output the j-th sub-object through the first application program, and output the j-th sub-object through the first application program. During the process of the jth sub-object, the second application program is run in the background; and after the output of the jth sub-object is completed, the j+1th sub-object is output through the second application program. Wherein, the first application program is an application program that provides the jth sub-object, the second application program is an application program that provides the j+1th sub-object, and the j-th sub-object and the j+1th sub-object are the For the sub-objects in the K sub-objects, the first application program and the second application program are different application programs, 1≤j<K, j is an integer.
可选的,处理模块1104,还用于在显示模块1103显示K个子对象之后,运行第三应用程序,并在第三应用程序的界面中显示第一窗口和第二窗口;且通过该第一窗口输出第i个子对象,并通过该第二窗口输出第i+1个子对象的相关信息;以及在该第i个子对象输出结束后,通过该第二窗口输出该第i+1个子对象,并通过该第一窗口输出第i+2个子对象的相关信息。其中,该第i个子对象、该第i+1个子对象和该第i+2个子对象均为该K个子对象中的子对象,该第i个子对象、该第i+1个子对象和该第i+2个子对象均为该第三应用程序提供的子对象,1≤i<K-1,i为整数。Optionally, the processing module 1104 is further configured to run a third application program after the display module 1103 displays K sub-objects, and display the first window and the second window in the interface of the third application program; and through the first The window outputs the i-th sub-object, and outputs the relevant information of the i+1-th sub-object through the second window; and after the i-th sub-object is output, outputs the i+1-th sub-object through the second window, and The relevant information of the i+2th sub-object is output through the first window. Wherein, the i-th sub-object, the i+1-th sub-object and the i+2-th sub-object are all sub-objects in the K sub-objects, the i-th sub-object, the i+1-th sub-object and the i+1-th sub-object The i+2 sub-objects are sub-objects provided by the third application program, 1≤i<K-1, i is an integer.
可选的,第一应用程序的类型与第二应用程序的类型相同,且第一应用程序的类型与第三应用程序的类型不同。Optionally, the type of the first application program is the same as the type of the second application program, and the type of the first application program is different from the type of the third application program.
本发明实施例提供的终端设备能够实现上述搜索方法实施例中终端设备执行的各个过程,且能达到相同的技术效果,为避免重复,此处不再赘述。The terminal device provided by the embodiment of the present invention can realize the various processes performed by the terminal device in the above search method embodiment, and can achieve the same technical effect. To avoid repetition, details are not repeated here.
本发明实施例提供一种终端设备,由于支持同种内容类型的不同应用程序提供的内容可能不同,因此终端设备采用用户输入的信息,在终端设备中支持同种内容类型的多个应用程序中搜索与该信息相关的内容,可以增大终端设备搜索到与该信息相关的内容的概率。如此,当用户在终端设备中输入某一信息时,终端设备可以采用该信息,从不同的应用程序中搜索得到不同的搜索结果,以得到不同的内容,进一步的,当用户输入的信息不同时,终端设备也可以搜索得到不同的内容,从而可以扩大终端设备在应用程序中搜索到的内容的范围,进而可以使得终端设备在应用程序中搜索到的内容比较丰富。An embodiment of the present invention provides a terminal device. Since the content provided by different applications supporting the same content type may be different, the terminal device adopts the information input by the user to select among multiple application programs supporting the same content type in the terminal device. Searching for content related to the information can increase the probability that the terminal device will find the content related to the information. In this way, when the user inputs certain information in the terminal device, the terminal device can use the information to search for different search results from different applications to obtain different content. Further, when the information input by the user is different Therefore, the terminal device can also search for different contents, so that the scope of the content searched by the terminal device in the application program can be expanded, and the content searched by the terminal device in the application program can be enriched.
图14为实现本发明各个实施例的一种终端设备的硬件示意图。如图14所示,终端设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、处理器110、以及电源111等部件。本领域技术人员可以理解,图14中示出的终端设备结构并不构成对终端设备的限定,终端设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,终端设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。Fig. 14 is a schematic diagram of hardware of a terminal device implementing various embodiments of the present invention. As shown in Figure 14, the terminal device 100 includes but not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, Processor 110, power supply 111 and other components. Those skilled in the art can understand that the terminal device structure shown in Figure 14 does not constitute a limitation on the terminal device, and the terminal device may include more or less components than shown in the figure, or combine some components, or different components layout. In the embodiment of the present invention, the terminal devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers.
其中,用户输入单元107,用于获取用户输入的第一信息;处理器110,用于基于用户输入单元107获取的第一信息,在至少两个目标应用程序中搜索目标内容,得到N个搜索结果;显示单元106,用于显示该N个搜索结果。其中,该第一信息用于在该至少两个目标应用程序中搜索目标内容,该至少两个目标应用程序为支持目标内容类型的应用程序,该N个搜索结果中的至少两个搜索结果来自不同的应用程序,N为大于1的整数。Wherein, the user input unit 107 is configured to obtain the first information input by the user; the processor 110 is configured to search for the target content in at least two target application programs based on the first information obtained by the user input unit 107 to obtain N search Results; a display unit 106, configured to display the N search results. Wherein, the first information is used to search for the target content in the at least two target application programs, the at least two target application programs are applications supporting the target content type, and at least two of the N search results are from Different applications, N is an integer greater than 1.
本发明实施例提供一种终端设备,由于支持同种内容类型的不同应用程序提供的内容可能不同,因此终端设备采用用户输入的信息,在终端设备中支持同种内容类型的多个应用程序中搜索与该信息相关的内容,可以增大终端设备搜索到与该信息相关的内容的概率。如此,当用户在终端设备中输入某一信息时,终端设备可以采用该信息,从不同的应用程序中搜索得到不同的搜索结果,以得到不同的内容,进一步的,当用户输入的信息不同时,终端设备也可以搜索得到不同的内容,从而可以扩大终端设备在应用程序中搜索到的内容的范围,进而可以使得终端设备在应用程序中搜索到的内容比较丰富。An embodiment of the present invention provides a terminal device. Since the content provided by different applications supporting the same content type may be different, the terminal device adopts the information input by the user to select among multiple application programs supporting the same content type in the terminal device. Searching for content related to the information can increase the probability that the terminal device will find the content related to the information. In this way, when the user inputs certain information in the terminal device, the terminal device can use the information to search for different search results from different applications to obtain different content. Further, when the information input by the user is different Therefore, the terminal device can also search for different contents, so that the scope of the content searched by the terminal device in the application program can be expanded, and the content searched by the terminal device in the application program can be enriched.
应理解的是,本发明实施例中,射频单元101可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器110处理;另外,将上行的数据发送给基站。通常,射频单元101包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元101还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 can be used for receiving and sending signals during sending and receiving information or during a call. Specifically, after receiving the downlink data from the base station, the processor 110 processes it; Uplink data is sent to the base station. Generally, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with the network and other devices through a wireless communication system.
终端设备通过网络模块102为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The terminal device provides users with wireless broadband Internet access through the network module 102, such as helping users send and receive emails, browse web pages, and access streaming media.
音频输出单元103可以将射频单元101或网络模块102接收的或者在存储器109中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元103还可以提供与终端设备100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元103包括扬声器、蜂鸣器以及受话器等。The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the terminal device 100 (eg, call signal reception sound, message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
输入单元104用于接收音频或视频信号。输入单元104可以包括图形处理器(graphics processing unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元106上。经图形处理器1041处理后的图像帧可以存储在存储器109(或其它存储介质)中或者经由射频单元101或网络模块102进行发送。麦克风1042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元101发送到移动通信基站的格式输出。The input unit 104 is used to receive audio or video signals. The input unit 104 may include a graphics processing unit (graphics processing unit, GPU) 1041 and a microphone 1042, and the graphics processing unit 1041 is used for still pictures or video images obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The data is processed. The processed image frames may be displayed on the display unit 106 . The image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or sent via the radio frequency unit 101 or the network module 102 . The microphone 1042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 101 for output in the case of a phone call mode.
终端设备100还包括至少一种传感器105,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1061的亮度,接近传感器可在终端设备100移动到耳边时,关闭显示面板1061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器105还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The terminal device 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 1061 and the / or backlighting. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify the posture of terminal equipment (such as horizontal and vertical screen switching, related games) , magnetometer posture calibration), vibration recognition-related functions (such as pedometer, knocking), etc.; the sensor 105 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
显示单元106用于显示由用户输入的信息或提供给用户的信息。显示单元106可包括显示面板1061,可以采用液晶显示器(liquid crystal display,LCD)、有机发光二极管(organic light-emitting diode,OLED)等形式来配置显示面板1061。The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061 , and the display panel 1061 may be configured in the form of a liquid crystal display (liquid crystal display, LCD) or an organic light-emitting diode (organic light-emitting diode, OLED).
用户输入单元107可用于接收输入的数字或字符信息,以及产生与终端设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1071上或在触控面板1071附近的操作)。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器110,接收处理器110发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1071。除了触控面板1071,用户输入单元107还可以包括其他输入设备1072。具体地,其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 107 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the terminal device. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072 . The touch panel 1071, also referred to as a touch screen, can collect touch operations of the user on or near it (for example, the user uses any suitable object or accessory such as a finger or a stylus on the touch panel 1071 or near the touch panel 1071). operate). The touch panel 1071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to For the processor 110, receive the command sent by the processor 110 and execute it. In addition, the touch panel 1071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1071 , the user input unit 107 may also include other input devices 1072 . Specifically, other input devices 1072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
进一步的,触控面板1071可覆盖在显示面板1061上,当触控面板1071检测到在其上或附近的触摸操作后,传送给处理器110以确定触摸事件的类型,随后处理器110根据触摸事件的类型在显示面板1061上提供相应的视觉输出。虽然在图14中,触控面板1071与显示面板1061是作为两个独立的部件来实现终端设备的输入和输出功能,但是在某些实施例中,可以将触控面板1071与显示面板1061集成而实现终端设备的输入和输出功能,具体此处不做限定。Further, the touch panel 1071 can be covered on the display panel 1061, and when the touch panel 1071 detects a touch operation on or near it, it will be sent to the processor 110 to determine the type of the touch event, and then the processor 110 can The type of event provides a corresponding visual output on the display panel 1061 . Although in FIG. 14, the touch panel 1071 and the display panel 1061 are used as two independent components to realize the input and output functions of the terminal device, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated. The implementation of the input and output functions of the terminal device is not specifically limited here.
接口单元108为外部装置与终端设备100连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元108可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到终端设备100内的一个或多个元件或者可以用于在终端设备100和外部装置之间传输数据。The interface unit 108 is an interface for connecting an external device to the terminal device 100 . For example, an external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. The interface unit 108 can be used to receive input from an external device (for example, data information, power, etc.) transfer data between devices.
存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器109可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 109 can be used to store software programs as well as various data. The memory 109 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.) etc.; Data created by the use of mobile phones (such as audio data, phonebook, etc.), etc. In addition, the memory 109 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.
处理器110是终端设备的控制中心,利用各种接口和线路连接整个终端设备的各个部分,通过运行或执行存储在存储器109内的软件程序和/或模块,以及调用存储在存储器109内的数据,执行终端设备的各种功能和处理数据,从而对终端设备进行整体监控。处理器110可包括一个或多个处理单元;可选的,处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。The processor 110 is the control center of the terminal equipment, uses various interfaces and lines to connect various parts of the entire terminal equipment, runs or executes software programs and/or modules stored in the memory 109, and calls data stored in the memory 109 , execute various functions of the terminal equipment and process data, so as to monitor the terminal equipment as a whole. The processor 110 may include one or more processing units; optionally, the processor 110 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc., and the modem The tuner processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 110 .
终端设备100还可以包括给各个部件供电的电源111(比如电池),可选的,电源111可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The terminal device 100 may also include a power supply 111 (such as a battery) for supplying power to various components. Optionally, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
另外,终端设备100包括一些未示出的功能模块,在此不再赘述。In addition, the terminal device 100 includes some functional modules not shown, which will not be repeated here.
可选的,本发明实施例还提供一种终端设备,包括如图14所示的处理器110,存储器109,存储在存储器109上并可在处理器110上运行的计算机程序,该计算机程序被处理器110执行时实现上述搜索方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, this embodiment of the present invention also provides a terminal device, including a processor 110 as shown in FIG. When executed by the processor 110, various processes of the foregoing search method embodiments can be achieved, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述搜索方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,该计算机可读存储介质可以包括只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等。The embodiment of the present invention also provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned search method embodiment is realized, and the same technical effect can be achieved. , to avoid repetition, it will not be repeated here. Wherein, the computer-readable storage medium may include a 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.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products are stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to make a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in various embodiments of the present invention.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。Embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementations, and the above-mentioned specific implementations are only illustrative, rather than restrictive, and those of ordinary skill in the art will Under the enlightenment of the present invention, without departing from the gist of the present invention and the protection scope of the claims, many forms can also be made, all of which belong to the protection of the present invention.
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910214054.0A CN110083737A (en) | 2019-03-20 | 2019-03-20 | A kind of searching method and terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910214054.0A CN110083737A (en) | 2019-03-20 | 2019-03-20 | A kind of searching method and terminal device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110083737A true CN110083737A (en) | 2019-08-02 |
Family
ID=67413390
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910214054.0A Pending CN110083737A (en) | 2019-03-20 | 2019-03-20 | A kind of searching method and terminal device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110083737A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112035752A (en) * | 2020-10-21 | 2020-12-04 | 南京维沃软件技术有限公司 | Resource searching method, apparatus, electronic device and readable storage medium |
CN112165641A (en) * | 2020-09-22 | 2021-01-01 | Vidaa美国公司 | Display device |
CN112380420A (en) * | 2020-11-11 | 2021-02-19 | Vidaa美国公司 | Searching method and display device |
CN113836427A (en) * | 2021-09-29 | 2021-12-24 | 维沃移动通信有限公司 | Information search method and device |
WO2022253132A1 (en) * | 2021-06-02 | 2022-12-08 | 维沃移动通信(杭州)有限公司 | Information display method and apparatus, and electronic device |
US12056326B2 (en) | 2020-09-22 | 2024-08-06 | VIDAA USA, Inc. | Display apparatus |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1867987A (en) * | 2003-10-10 | 2006-11-22 | 松下电器产业株式会社 | Reproduction device, program, and reproduction method |
CN102426511A (en) * | 2010-11-16 | 2012-04-25 | 微软公司 | System level search user interface |
CN102971726A (en) * | 2010-06-28 | 2013-03-13 | 汤姆森特许公司 | System and method for content exclusion from a multi-domain search |
US20170118186A1 (en) * | 2015-10-27 | 2017-04-27 | Airwatch Llc | Searching content associated with multiple applications |
CN107203624A (en) * | 2017-05-26 | 2017-09-26 | 维沃移动通信有限公司 | The single generation method of one kind song and mobile terminal |
CN107291814A (en) * | 2017-05-19 | 2017-10-24 | 深圳市金立通信设备有限公司 | A kind of information processing method and terminal device |
CN108763316A (en) * | 2018-04-27 | 2018-11-06 | 维沃移动通信有限公司 | A kind of audio list management method and mobile terminal |
CN109085963A (en) * | 2018-08-08 | 2018-12-25 | 维沃移动通信有限公司 | A kind of interface display method and terminal device |
-
2019
- 2019-03-20 CN CN201910214054.0A patent/CN110083737A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1867987A (en) * | 2003-10-10 | 2006-11-22 | 松下电器产业株式会社 | Reproduction device, program, and reproduction method |
CN102971726A (en) * | 2010-06-28 | 2013-03-13 | 汤姆森特许公司 | System and method for content exclusion from a multi-domain search |
CN102426511A (en) * | 2010-11-16 | 2012-04-25 | 微软公司 | System level search user interface |
US20170118186A1 (en) * | 2015-10-27 | 2017-04-27 | Airwatch Llc | Searching content associated with multiple applications |
CN107291814A (en) * | 2017-05-19 | 2017-10-24 | 深圳市金立通信设备有限公司 | A kind of information processing method and terminal device |
CN107203624A (en) * | 2017-05-26 | 2017-09-26 | 维沃移动通信有限公司 | The single generation method of one kind song and mobile terminal |
CN108763316A (en) * | 2018-04-27 | 2018-11-06 | 维沃移动通信有限公司 | A kind of audio list management method and mobile terminal |
CN109085963A (en) * | 2018-08-08 | 2018-12-25 | 维沃移动通信有限公司 | A kind of interface display method and terminal device |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112165641A (en) * | 2020-09-22 | 2021-01-01 | Vidaa美国公司 | Display device |
US12056326B2 (en) | 2020-09-22 | 2024-08-06 | VIDAA USA, Inc. | Display apparatus |
CN112035752A (en) * | 2020-10-21 | 2020-12-04 | 南京维沃软件技术有限公司 | Resource searching method, apparatus, electronic device and readable storage medium |
CN112380420A (en) * | 2020-11-11 | 2021-02-19 | Vidaa美国公司 | Searching method and display device |
WO2022253132A1 (en) * | 2021-06-02 | 2022-12-08 | 维沃移动通信(杭州)有限公司 | Information display method and apparatus, and electronic device |
CN113836427A (en) * | 2021-09-29 | 2021-12-24 | 维沃移动通信有限公司 | Information search method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110083737A (en) | A kind of searching method and terminal device | |
CN110083413A (en) | A kind of small routine call method and terminal device | |
CN108470041A (en) | A kind of information search method and mobile terminal | |
CN109032719B (en) | Object recommendation method and terminal | |
CN110456953A (en) | Folder interface switching method and terminal equipment | |
CN108763541A (en) | A kind of page display method and terminal | |
CN111459349B (en) | Application recommended method and electronic device | |
CN108763316A (en) | A kind of audio list management method and mobile terminal | |
WO2021017738A1 (en) | Interface display method and electronic device | |
CN108469968A (en) | A kind of applied program processing method and mobile terminal | |
CN110099296A (en) | A kind of information display method and terminal device | |
CN110245246A (en) | Image display method and terminal device | |
CN108874906A (en) | A kind of information recommendation method and terminal | |
CN110795002A (en) | Screenshot method and terminal equipment | |
CN110688497A (en) | Resource information searching method and device, terminal equipment and storage medium | |
CN108920040B (en) | Application icon sorting method and mobile terminal | |
CN110990679A (en) | Information searching method and electronic equipment | |
CN107728920B (en) | A copying method and mobile terminal | |
CN108256108A (en) | A kind of processing method and terminal for showing content | |
CN108391253A (en) | A kind of recommendation method of application program, mobile terminal | |
CN111459361A (en) | Application icon display method, device and electronic device | |
CN110471711A (en) | Application program pre-add support method and terminal device | |
CN110162707A (en) | A kind of information recommendation method, terminal and computer readable storage medium | |
CN110166621B (en) | A word processing method and terminal device | |
CN110045892B (en) | Display method and terminal equipment |
Legal Events
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: 20190802 |