Search method, device and electronic device
By receiving user input and displaying the interface of multiple applications, multiple applications are searched simultaneously, solving the problem of cumbersome switching operations and improving search efficiency.
Patent Information
- Application Number
- CN202110801560.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-15
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2041-07-15
AI Technical Summary
When shopping or other operations are performed on multiple platforms, users need to frequently switch different applications in electronic devices to search for content, resulting in cumbersome and inefficient operations.
By receiving user input, displaying the interface of multiple applications, and displaying the relevant contents found by each application in the search box, the function of searching multiple applications at the same time is realized, reducing user switching operations.
Simplifies the operation of searching content and improves search efficiency. Users can view the search results of multiple applications at one time without frequent switching.
Smart Images

Figure CN113641886B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of communication technology, and specifically relates to a search method, device and electronic equipment. Background Art
[0002] With the development of communication technology, the functions of electronic devices have become more abundant. For example, users can shop and buy tickets through electronic devices.
[0003] However, in shopping, ticket purchase and other scenarios, users may need to compare products, product prices, etc. on different platforms. For example, when a user wants to buy a pair of headphones, the user can check the price, configuration, etc. of the headphones through a shopping application on an electronic device, and then trigger the electronic device to switch to another shopping application, and check the price and configuration of the headphones in the other shopping application, so that the user can compare the prices and configurations of the headphones in different shopping applications to buy something that better suits their wishes.
[0004] Based on the above method, when shopping, buying tickets or other operations on multiple platforms, if the user wants to search for certain content, the user needs to frequently trigger the electronic device to repeatedly switch between multiple applications to search for content, making the operation of searching for content through the electronic device cumbersome and the search efficiency low. Summary of the invention
[0005] The purpose of the embodiments of the present application is to provide a search method, device and electronic device, which can solve the problem that searching for content through an electronic device is cumbersome and has a poor user experience.
[0006] In order to solve the above technical problems, this application is implemented as follows:
[0007] In a first aspect, an embodiment of the present application provides a search method, the method comprising: receiving a first input from a user; in response to the first input, displaying M first interfaces corresponding to M applications, the M applications being determined by the first input, and M being a positive integer greater than 1; when a first search box is displayed and the first search box includes first information, displaying N second interfaces corresponding to N applications, N being a positive integer less than or equal to M; wherein one of the N second interfaces comprises: content related to the first information obtained by searching for one of the N applications corresponding to the one second interface, the N applications being applications among the M applications.
[0008] In a second aspect, an embodiment of the present application provides a search device, which includes: a receiving module and a display module. The receiving module is used to receive a first input from a user. The display module is used to display M first interfaces corresponding to M applications in response to the first input received by the receiving module, where the M applications are determined by the first input, and M is a positive integer greater than 1; and when a first search box is displayed and the first search box includes first information, N second interfaces corresponding to N applications are displayed, where N is a positive integer less than or equal to M; wherein one of the N second interfaces includes: content related to the first information obtained by searching one of the N applications corresponding to the one second interface, where the N applications are applications among the M applications.
[0009] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, and when the program or instruction is executed by the processor, the steps of the method in the first aspect are implemented.
[0010] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method in the first aspect are implemented.
[0011] In a fifth aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface, wherein the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the method in the first aspect above.
[0012] In an embodiment of the present application, a user's first input can be received; and in response to the first input, M first interfaces corresponding to M applications are displayed, the M applications are determined by the first input, and M is a positive integer greater than 1; when a first search box is displayed and the first search box includes the first information, N second interfaces corresponding to N applications are displayed, and N is a positive integer less than or equal to M; wherein one of the N second interfaces includes: content related to the first information obtained by searching one of the N applications corresponding to the one second interface, and the N applications are applications in the M applications. Through this scheme, since the display of M first interfaces corresponding to M applications running simultaneously can be triggered by the user's input, when the first search box is displayed and the first information is included in the first search box, N second interfaces including content related to the first information obtained by searching through N applications can be displayed respectively, so that the user can view all the results after N applications search for the first information at one time through each of the N second interfaces, without the user frequently triggering the electronic device to switch to different applications to search for content, that is, the function of searching multiple applications simultaneously is realized. In this way, the operation of searching for content through the electronic device is simplified and the search efficiency is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 A schematic diagram of a search method provided in an embodiment of the present application;
[0014] Figure 2 A schematic diagram of a content search interface provided in an embodiment of the present application;
[0015] Figure 3 A schematic diagram of the structure of a search device provided in an embodiment of the present application;
[0016] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0017] Figure 5 A hardware schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0018] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0019] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here. In addition, the "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally represents that the objects associated with each other are in an "or" relationship.
[0020] In the embodiments of the present application, the words "exemplarily" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplarily" or "for example" in the embodiments of the present application should not be interpreted as having advantages over other embodiments or designs. Specifically, the use of words such as "exemplarily" or "for example" is intended to present related concepts in a specific way.
[0021] In the description of the embodiments of the present application, unless otherwise specified, “plurality” means two or more than two. For example, a plurality of elements means two or more than two elements.
[0022] The embodiment of the present application provides a search method, device and electronic device, which can receive a first input from a user; and in response to the first input, display M first interfaces corresponding to M applications, the M applications are determined by the first input, and M is a positive integer greater than 1; when a first search box is displayed and the first search box includes first information, display N second interfaces corresponding to N applications, N is a positive integer less than or equal to M; wherein one of the N second interfaces includes: content related to the first information obtained by searching one of the N applications corresponding to the one second interface, and the N applications are applications in the M applications. Through this scheme, since the display of M first interfaces corresponding to M applications running simultaneously can be triggered by the user's input, when the first search box is displayed and the first search box includes first information, N second interfaces including content related to the first information obtained by searching through N applications can be displayed respectively, so that the user can view all the results after N applications search for the first information at one time through each of the N second interfaces, without the user frequently triggering the electronic device to switch to different applications to search for content, that is, the function of searching multiple applications simultaneously is realized. In this way, the operation of searching for content through the electronic device is simplified and the search efficiency is improved.
[0023] The following describes in detail the search method, device and electronic device provided in the embodiments of the present application through specific embodiments and their application scenarios in conjunction with the accompanying drawings.
[0024] like Figure 1 As shown, an embodiment of the present application provides a search method, which includes the following S101 to S103.
[0025] S101: A search device receives a first input from a user.
[0026] Optionally, the first input may be a touch input, a voice input, or a gesture input. For example, the touch input is a click input of the icons of the M applications. Of course, the first input may also be other possible inputs, which are not limited in the present embodiment of the application.
[0027] S102: In response to the first input, the search device displays M first interfaces corresponding to the M application programs.
[0028] The M applications are determined by a first input, and M is a positive integer greater than 1.
[0029] Optionally, the M applications may be search applications or other applications with search functions. In addition, the M applications may be system applications or third-party applications. The specific number is determined according to actual usage, and the present application embodiment does not limit this.
[0030] Furthermore, the M applications may be applications of the same type, or applications of different types.
[0031] In addition, each first interface may be a homepage interface, a main interface, or other interface including a search function of one of the M applications.
[0032] Optionally, the “displaying M first interfaces corresponding to M applications” in the above S102 means that the electronic device runs M applications simultaneously in the foreground and displays the first interface of each of the M applications in a windowed form.
[0033] Optionally, the first input can be used to select P applications, and the M applications are applications of the same type among the P applications. In this way, when P applications are selected through the first input, it can be triggered to first obtain M applications of the same type among the P applications, and then display M first interfaces corresponding to the M applications, that is, the electronic device can be triggered to run the M applications of the same type at the same time through the first input.
[0034] S103: When the first search box is displayed and the first search box includes the first information, the search device displays N second interfaces corresponding to the N application programs.
[0035] Among them, one of the N second interfaces includes: content related to the first information obtained by searching through one of the N applications corresponding to the one second interface, and the N applications are applications among the M applications. N is a positive integer less than or equal to M.
[0036] Optionally, in an embodiment of the present application, the first search box is a fusion search entry for the electronic device to search based on the first information through each of M applications.
[0037] Optionally, the first search box may include a search control. Specifically, when the user triggers the search control, the first search box monitors whether the first search box includes the first information. If the first search box includes the first information, a search is triggered according to the first information; if the first search box does not include any information, no operation is performed.
[0038] Optionally, in this embodiment of the present application, the first information may include at least one of the following: text information, picture information, identification information or other possible information, which is not limited in this embodiment of the present application.
[0039] Specifically, when the first information is text information, the first information may be keyword information or a name, for example, the first information is "headphones"; when the first information is picture information, the first information may be a real picture, for example, the first information is "a picture of headphones"; when the first information may be identification information, the first information may be an icon or a trademark, for example, the first information is "a brand logo".
[0040] Optionally, the first information may be any one of the following: information entered in the first search box, or content displayed in the M first interfaces.
[0041] Further, when the first information is content displayed in M first interfaces, the first information may be one content or multiple contents displayed in one first interface, or may be content displayed in multiple first interfaces. The specific content may be determined according to actual usage, and the embodiment of the present application does not limit this.
[0042] Specifically, a possible situation is: when the first information is information input in the first search box, when the first search box is displayed, the search method provided by the embodiment of the present application may also include: receiving input of the first information entered by the user in the first search box.
[0043] Another possible situation: when the first information is the content displayed in M first interfaces, after the above S102 and before the above S103, the search method provided in the embodiment of the present application may also include: the search device receives a second input for the first interface among the M first interfaces; the search device responds to the second input and displays the first information in the first search box. The first information is the content in the first interface. In this way, there is no need for the user to enter information in the first search box by clicking the keyboard, and the information can be directly displayed in the first search box as the content in a first interface, which provides another way to enter the first information in the first search box.
[0044] Optionally, the second input may be a touch input, a voice input, or a gesture input to the first interface. For example, the touch input is an input in which the user drags the content in the first interface to the first search box. Of course, the second input may also be other possible inputs, which are not limited in the embodiments of the present application.
[0045] Optionally, in the embodiment of the present application, the content related to the first information included in one of the N second interfaces may include at least one of the following: text content, picture content, and file content.
[0046] Furthermore, when the content related to the first information included in a second interface is file content, the format of the file content may be txt text format, word document format or powerpoint presentation format.
[0047] For example, assuming that the first information is "Phalaenopsis", one of the N applications is a browser. The contents obtained by the browser according to the first information search include a brief introduction to Phalaenopsis and real-life pictures of Phalaenopsis.
[0048] For example, assuming that the first information is "xx earphones", one of the N applications is a shopping application. The shopping application searches for the content including earphone configuration information, price, etc. according to the first information.
[0049] For example, assuming that the first information is "graduation thesis", one of the N applications is a cloud disk application. The cloud disk application searches for a word document named "graduation thesis" based on the first information.
[0050] Optionally, the N applications are selected applications from the M applications. That is, before displaying the N second interfaces corresponding to the N applications, the search method provided in the embodiment of the present application may further include: the search device receives user input on N first interfaces among the M first interfaces; in response to the input, selects the N applications corresponding to the N first interfaces. In this way, the user can select the application he wants to search for the first information from the provided M applications according to his own wishes.
[0051] Optionally, the above S103 may specifically include the following S103A to S103C.
[0052] S103A: When the first search box is displayed and includes first information, the search device sends the first information to each of the N applications.
[0053] S103B: The search device searches for the first information through each application program.
[0054] Optionally, after S102A and before S102B, the search method provided in the embodiment of the present application may further include: the search device receives the first information through each application.
[0055] S103C: The search device displays N second interfaces.
[0056] It should be noted that, since the search logic of each of the N applications may be the same or different, each application can search for the first information according to its own search logic and display its own search results respectively, that is, display N second interfaces.
[0057] For example, the search device is a mobile phone, and N=3. If the user wants to use multiple applications to search for the desired content, the user can select icon 1, icon 2, and icon 3 displayed on the mobile phone. After receiving the input of selecting icon 1, icon 2, and icon 3, in response to the input, such as Figure 2As shown in (a), the mobile phone displays interface 01, interface 02, and interface 03. Among them, interface 01 is the interface of shopping application 1 indicated by icon 1, interface 02 is the interface of shopping application 2 indicated by icon 2, and interface 03 is the interface of shopping application 3 indicated by icon 3. The mobile phone also displays a search box 04. If the user wants to buy headphones, the user can enter "headphones" (i.e., the first information) in the search box 04 (i.e., the first search box). The mobile phone can obtain the first information "headphones" in the search box 04, and send the first information to shopping application 1, shopping application 2, and shopping application 3, so that the mobile phone can receive the first information through each application. Then, the mobile phone can search for "headphones" through shopping application 1, shopping application 2, and shopping application 3, respectively, and display the following. Figure 2 The interface 06, interface 07 and interface 08 shown in (b) of the figure. The interface 06 includes "brand A earphones, brand B earphones and brand C earphones" and prices obtained by searching the first information; the interface 07 includes "brand A earphones, brand B earphones and brand C earphones" and prices obtained by searching the first information; the interface 08 includes "brand A earphones, brand B earphones and brand D earphones" and prices obtained by searching the first information.
[0058] The embodiment of the present application provides a search method. Since the display of M first interfaces corresponding to M applications running simultaneously can be triggered by the user's input, when the first search box is displayed and the first information is included in the first search box, N second interfaces including the content related to the first information obtained by searching through N applications can be displayed respectively, so that the user can view all the results after N applications search for the first information at one time through each of the N second interfaces, without the user frequently triggering the electronic device to switch to different applications to search for content, that is, the function of searching multiple applications simultaneously is realized. In this way, the operation of searching for content through the electronic device is simplified and the search efficiency is improved.
[0059] Optionally, the first input is used to select P applications. Before the above S101, the search method provided in the embodiment of the present application further includes the following S104. Accordingly, the above S102 can be implemented by the following S102A.
[0060] S104, searching for device display icons.
[0061] Among them, the applications corresponding to the above icons include M applications.
[0062] Optionally, a plurality of icons are displayed on the electronic device, and the above icon is an icon among the plurality of icons. Further, the icon may include icons of different types of applications, or icons of the same type of applications. The specific determination is based on actual usage, and the embodiments of the present application do not limit this.
[0063] Optionally, when the first input is used to select P applications, if there are other applications of the target type and not selected in the applications corresponding to the icons displayed on the electronic device, after the above S101, the search method provided by the embodiment of the present application may also include: the search device displays a first prompt message in response to the first input, and the first prompt message is used to prompt the user whether to choose to add an application of the target type. In this way, the user may need to trigger the addition of an application of the same type as the M applications, thereby starting the function of searching for content in more applications at the same time.
[0064] S102A: The search device obtains a target type in response to the first input, and displays M first interfaces corresponding to M applications.
[0065] Among them, the number of M applications belonging to the target type is the largest among the P applications. In the case that the applications corresponding to the icons other than the P icons in the icons belong to the target type, the M applications include the applications belonging to the target type among the P applications and the applications belonging to the target type among the applications corresponding to the icons other than the P icons in the icons, and each of the P icons is used to indicate one of the P applications.
[0066] Optionally, when the P applications include other applications that do not belong to the target type, the search method provided in the embodiment of the present application may further include: the search device displays a second prompt message, the second prompt message is used to prompt the user whether to cancel the selection or remove the application that does not belong to the target type. In this way, the user can trigger the removal of other applications in the P applications that do not belong to the same type as the M applications as needed.
[0067] The search method provided in the embodiment of the present application can obtain the largest number of applications of the target type among the P applications when P applications are selected through the first input, so that as many applications as possible can be selected to run simultaneously to facilitate simultaneous content search; further, if the applications corresponding to the icons displayed on the electronic device also include applications of the target type other than the P applications, then the M applications include applications of the target type among the P applications and applications of the target type among the applications corresponding to the icons in the icon other than the P icons, that is, other applications that are not selected can be automatically added.
[0068] Optionally, after the above S102, the search method provided in the embodiment of the present application also includes the following S105 to S107.
[0069] S105. The search device receives a third input for a third interface among the M first interfaces.
[0070] Optionally, the third interface is any one of the M first interfaces.
[0071] Optionally, the third input may be a touch input, a voice input, or a gesture input. For example, the touch input is an input in which the user drags the content in the third interface to the fourth interface in the M first interfaces. Of course, the third input may also be other possible inputs, which are not limited in the embodiments of the present application.
[0072] S106: In response to the third input, the search device displays a target identifier and updates a display position of the target identifier.
[0073] The target identifier is used to indicate the second information in the third interface.
[0074] Optionally, the target identifier may include at least one of the following: text, symbol, icon, thumbnail, etc.
[0075] Optionally, for the description of the second information, reference may be made to the specific description of the first information in the above embodiment, which will not be repeated in the embodiments of the present application.
[0076] S107: When the display position of the target identifier at least partially overlaps with a fourth interface among the M first interfaces, the search device updates the display content of the fourth interface.
[0077] Among them, the displayed content of the updated fourth interface is related to the second information.
[0078] Optionally, the fourth interface and the third interface are two different interfaces. For the description of the fourth interface and the third interface, reference may be made to the detailed description of the first interface in the above embodiment. In addition, for the description of the display content of the updated fourth interface, reference may also be made to the detailed description of the display content of the N second interfaces in the above embodiment, which will not be repeated in the present embodiment.
[0079] It can be understood that the third interface among the M first interfaces corresponds to one of the M applications, and the fourth interface among the M first interfaces corresponds to another application among the M applications that is different from the one application. In this way, when the user triggers the update of the display position in the third interface through input and at least partially overlaps with the fourth interface, the application corresponding to the fourth interface can search for information in the M applications.
[0080] The search method provided in the embodiment of the present application, when M first interfaces are displayed, since the user can trigger the update of the display content of the fourth interface by inputting into the third interface among the M first interfaces, when the display position of the target identifier for indicating the second information in the third interface at least partially overlaps with the fourth interface among the M first interfaces, and the display content of the updated fourth interface is related to the second information, it is possible to search for the desired content in the information in another application through one application, that is, another method for implementing content search is provided.
[0081] Optionally, before the above S102, the search method provided in the embodiment of the present application further includes the following S108. Accordingly, the "displaying N second interfaces corresponding to N applications" in S103 can be specifically implemented by the following S103a or S103b.
[0082] S103a: When the types of the N application programs belong to the first preset type, the search device displays the first content in each second interface according to the first preset sorting method.
[0083] The first preset sorting method corresponds to the first preset type, and the first preset type corresponds to the first content.
[0084] Optionally, in the electronic device provided in the embodiment of the present application, at least one preset type including a first preset type and a second preset type, and at least one sorting method including a first preset sorting method and a second preset method are pre-stored, and one preset sorting method corresponds to one preset type.
[0085] Furthermore, each of the N second interfaces may include multiple contents, including first content and second content. Each preset sorting method can sort the target content in the multiple contents. That is, one preset type corresponds to a specific content in the multiple contents.
[0086] Optionally, in the embodiment of the present application, the first content and the second content may respectively include at least one of the following: text content, picture content, and logo content.
[0087] Exemplarily, at least one preset type may include ticket purchase type, shopping type, communication type, etc. At least one sorting method may include sorting by time and price, sorting by brand and price, sorting by name and time, etc. Among them, the ticket purchase type corresponds to the sorting method of sorting by time and price, that is, sorting by time and price; the shopping type corresponds to the sorting method of sorting by brand and price, that is, sorting by brand and price; the communication type corresponds to the sorting method of sorting by name and time, that is, sorting by name and time.
[0088] For example, the search device is a mobile phone, and N=3. Assume that the mobile phone has three preset types of ticket purchase type, shopping type, and communication type stored in advance. If the mobile phone determines that the types of these three applications are ticket purchase types, then the time and price in the search results included in the second interface of each ticket purchase application can be displayed in a sorting manner of time and price.
[0089] S103b: When the types of the N application programs belong to the second preset type, the search device displays the second content in each second interface according to the second preset sorting method.
[0090] The second preset sorting method corresponds to a second preset type, and the second preset type corresponds to the second content.
[0091] For example, the search device is a mobile phone, and N=3. Assume that the mobile phone has three preset types of ticket purchase type, shopping type, and communication type stored in advance. If the mobile phone determines that the types of these three applications are shopping types, then the brands and prices in the search results included in the second interface of each shopping application can be displayed in a sorting manner of time and price.
[0092] The search method provided in the embodiment of the present application, after determining the types of N applications, can display the first content in each second interface in a first preset sorting manner when the types of the N applications belong to the first preset type, or can display the second content in each second interface in a second preset sorting manner when the types of the N applications belong to the second preset type. Therefore, according to the types of the N applications, the content in each second interface can be automatically displayed in different sorting manners, thereby facilitating users to better view the search results obtained after searching for the first information.
[0093] Optionally, when the user is not satisfied with the sorting of the content in the second interface, the user can trigger the adjustment of the sorting of the content in each second interface as desired. Exemplarily, after the above S103a or S103b, the search method provided in the embodiment of the present application may also include the following S108 to S110.
[0094] S108: The search device receives a fourth input from the user to the target control.
[0095] The target control is used to indicate the target sorting method.
[0096] Optionally, the fourth input may be a touch input, a voice input, or a gesture input. For example, the touch input is a click input of a target control by a user. Of course, the first input may also be an input to a physical key or other possible input, which is not limited in the present embodiment of the application.
[0097] Optionally, the above-mentioned target sorting method may include at least one of the following: sorting from high to low, sorting from low to high, sorting from far to near, sorting from near to far, etc.
[0098] S109: The search device sends the target sorting method to each application in response to the fourth input.
[0099] S110. The search device adjusts the sorting method of the content in each second interface through each application program based on the target sorting method.
[0100] Exemplarily, take the search device as a mobile phone, and N=3 as an example. Assume that the mobile phone displays the brands and prices in the search results included in the second interface of each shopping application according to the sorting method of time and price. Since the user is not satisfied with the sorting method, the user can click on the target control, which is used to indicate the sorting from high to low. After the mobile phone receives the click input, in response to the click input, the sorting method of sorting from high to low is sent to each application. When each application receives the sorting method of sorting from high to low, the mobile phone adjusts the sorting method of the prices in each second interface through each application based on the sorting method of sorting from high to low, that is, the prices in each second interface are sorted according to the sorting method of sorting from high to low.
[0101] The search method provided in the embodiment of the present application allows the user to trigger the adjustment of the sorting mode of the content in each second interface by inputting the target control according to his / her own will. In this way, the user's autonomous selectivity is improved, and the sorting mode of the content in each second interface can be adjusted more finely.
[0102] Optionally, before the above S103, the search method provided in the embodiment of the present application further includes the following S111 and S112, or includes the following S111 and S113. That is, either S112 or S113 is performed.
[0103] S111. The search device receives a fifth input to a target control.
[0104] Optionally, in the embodiment of the present application, the fifth input may be a touch input, a voice input, or a gesture input. For example, the touch input is a user dragging input to a target control, and the target control is a slider for triggering the sliding of the interface. Of course, the fifth input may also be other possible inputs, for example, the touch input is an input in which the user slides his finger upward on a second interface and moves to the right.
[0105] Furthermore, the fifth input may also include an input direction. It is understandable that different input directions of the fifth input control different directions of sliding each second interface.
[0106] S112: The search device controls each second interface to slide in response to the fifth input.
[0107] It can be understood that “controlling each second interface to slide” means that the interfaces of M applications can be controlled to slide (or scroll) simultaneously to view all the contents included in each second interface.
[0108] For example, the search device is a mobile phone, and N=3. After the mobile phone updates and displays each of the three first interfaces as a second interface, if the user slides down the slide bar displayed on the screen of the mobile phone, then after the mobile phone receives the slide input, each second interface can be controlled to slide down in response to the slide input; if the user slides up the slide bar displayed on the screen of the mobile phone, then after the mobile phone receives the slide input, each second interface can be controlled to slide up in response to the slide input.
[0109] In the search method provided in the embodiment of the present application, after N second interfaces are displayed, if the user wants to view all search results, the user can trigger the search device to control the sliding of each second interface by inputting. In this way, during the sliding of each second interface, the user can browse the search results of different applications for the first information at one time and compare the differences between different results.
[0110] S113: In response to the second input, the search device controls display of content associated with the parameter corresponding to the input position included in each second interface according to the input position of the second input on the target control.
[0111] It should be noted that a second interface may include multiple contents including the first content, and each content corresponds to an input position on the target control. Furthermore, since different input positions on the target control correspond to different parameters, different contents in the second interface may be determined according to different parameters.
[0112] For example, the search device is a mobile phone, and N=3 is used as an example. After the mobile phone updates and displays each of the three first interfaces as the second interface, the user clicks the index letter "z" in the slider displayed on the screen of the mobile phone. Then, after the mobile phone receives the click input, it can respond to the click input and control the display of "Zhang Xiaohong" related to the index letter "z" corresponding to the input position in the second interface 01 according to the input position of the click input on the slider, and control the display of "Zhang Shan" related to the index letter "z" corresponding to the input position in the second interface 02, and control the display of "Zhang San" related to the index letter "z" corresponding to the input position in the second interface 03.
[0113] The search method provided in the embodiment of the present application, after each first interface among N first interfaces is updated and displayed as a second interface, the user can trigger the search device through input to display the content associated with the parameters corresponding to the input position in each second interface according to the input position of the input on the target control, that is, it supports simultaneous positioning of specific content in multiple interfaces, so that the user can view the specific content in each second interface at the same time.
[0114] It should be noted that the search method provided in the embodiment of the present application can be executed by a search device (for example, the search device is an electronic device or an external device on the electronic device), or a control module in the search device for executing the search method. In the embodiment of the present application, the search device provided in the embodiment of the present application is described by taking the execution of the search method by the search device as an example.
[0115] like Figure 3 As shown, an embodiment of the present application provides a search device 200, which includes a receiving module 201 and a display module 202. The receiving module 201 is used to receive a first input from a user. The display module 202 is used to display M first interfaces corresponding to M applications in response to the first input received by the receiving module 201, and the M applications are determined by the first input, and M is a positive integer greater than 1; and when a first search box is displayed and the first search box includes the first information, N second interfaces corresponding to N applications are displayed, and N is a positive integer less than or equal to M; wherein one of the N second interfaces includes: content related to the first information obtained by searching one of the N applications corresponding to the one second interface, and the N applications are applications among the M applications.
[0116] Optionally, the receiving module is further configured to receive a second input for a first interface among the M first interfaces. The display module is further configured to display first information in the first search box in response to the second input received by the receiving module, where the first information is the content in the first interface.
[0117] Optionally, the first input is used to select P applications, and the M applications are applications of the same type among the P applications.
[0118] Optionally, the first input is used to select P applications. The search device also includes an acquisition module. The display module is further used to display icons, and the applications corresponding to the icons include M applications. The acquisition module is used to acquire a target type, and the number of the M applications belonging to the target type among the P applications is the largest; wherein, the number of the M applications belonging to the target type among the P applications is the largest. In the case that there are applications belonging to the target type corresponding to icons other than the P icons in the icons, the M applications include applications belonging to the target type among the P applications, and applications belonging to the target type among applications corresponding to icons other than the P icons in the icons, and each of the P icons is used to indicate one application among the P applications.
[0119] Optionally, the receiving module is further used to receive a third input for a third interface among the M first interfaces. The display module is further used to display a target identifier and update a display position of the target identifier in response to the third input received by the receiving module, the target identifier being used to indicate the second information in the third interface; and when the display position of the target identifier at least partially overlaps with a fourth interface among the M first interfaces, the display content of the updated fourth interface is related to the second information.
[0120] Optionally, the display module is specifically used to display the first content in each second interface according to a first preset sorting method when the types of the N applications belong to a first preset type; or, when the types of the N applications determined by the determination module belong to a second preset type, display the second content in each second interface according to a second preset sorting method; wherein the first preset sorting method corresponds to the first preset type, and the first preset type corresponds to the first content; and the second preset sorting method corresponds to the second preset type, and the first preset type corresponds to the second content.
[0121] Optionally, the search device may further include a receiving module and a processing module. The receiving module is used to receive a fourth input from a user to a target control, where the target control is used to indicate a target sorting method. The processing module is used to send the target sorting method to each application in response to the fourth input received by the receiving module; and based on the target sorting method, adjust the sorting method of the content in each second interface through each application.
[0122] The embodiment of the present application provides a search device, which can trigger the display of M first interfaces corresponding to M applications running simultaneously through user input. Therefore, when the first search box is displayed and the first search box includes the first information, N second interfaces including the content related to the first information obtained through the search of N applications can be displayed respectively, so that the user can view all the results after N applications search for the first information at one time through each of the N second interfaces, without the user frequently triggering the electronic device to switch to different applications to search for content, that is, the function of searching multiple applications simultaneously is realized. In this way, the operation of searching for content through the search device is simplified and the search efficiency is improved.
[0123] The search device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. For example, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. The non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0124] The search device in the embodiment of the present application may be a device having 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 application.
[0125] The search device provided in the embodiment of the present application can achieve Figure 1 and Figure 2 To avoid repetition, the various processes implemented by the method embodiment are not described here.
[0126] Alternatively, if Figure 4 As shown, an embodiment of the present application also provides an electronic device 300, including a processor 301, a memory 302, and a program or instruction stored in the memory 302 and executable on the processor 301. When the program or instruction is executed by the processor 301, each process of the above-mentioned search method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0127] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
[0128] Figure 5 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0129] The electronic device 400 includes but is not limited to components such as a radio frequency unit 401 , a network module 402 , an audio output unit 403 , an input unit 404 , a sensor 405 , a display unit 406 , a user input unit 407 , an interface unit 408 , a memory 409 , and a processor 410 .
[0130] Those skilled in the art will appreciate that the electronic device 410 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 410 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 5 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0131] The user input unit 407 is used to receive a first input from a user. The display unit 406 is used to display M first interfaces corresponding to M applications in response to the first input received by the user input unit 407, where the M applications are determined by the first input, and M is a positive integer greater than 1; and when the first search box is displayed and the first search box includes the first information, N second interfaces corresponding to N applications are displayed, where N is a positive integer less than or equal to M; wherein one of the N second interfaces includes: content related to the first information obtained by searching one of the N applications corresponding to the one second interface, where the N applications are applications among the M applications.
[0132] Optionally, the user input unit 407 is further configured to receive a second input for a first interface among the M first interfaces. The display unit 406 is further configured to display first information in the first search box in response to the second input received by the user input unit 407, where the first information is the content in the first interface.
[0133] Optionally, the display unit 406 is further used to display an icon, and the application corresponding to the icon includes M applications. The processor 410 is used to obtain a target type, and the number of the M applications belonging to the target type among the P applications is the largest; wherein the number of the M applications belonging to the target type among the P applications is the largest. In the case where there are applications belonging to the target type corresponding to icons other than the P icons in the icons, the M applications include applications belonging to the target type among the P applications, and applications belonging to the target type among applications corresponding to icons other than the P icons in the icons, and each of the P icons is used to indicate one of the P applications.
[0134] Optionally, the user input unit 407 is used to receive a third input for a third interface among the M first interfaces. The display unit 406 is also used to display a target identifier and update a display position of the target identifier in response to the third input received by the user input unit 407, wherein the target identifier is used to indicate the second information in the third interface; and when the display position of the target identifier at least partially overlaps with the fourth interface among the M first interfaces, the display content of the updated fourth interface is related to the second information.
[0135] Optionally, the display unit 406 is specifically used to display the first content in each second interface according to a first preset sorting method when the types of the N applications belong to a first preset type; or, when the types of the N applications determined by the determination module belong to a second preset type, display the second content in each second interface according to a second preset sorting method; wherein the first preset sorting method corresponds to the first preset type, and the first preset type corresponds to the first content; and the second preset sorting method corresponds to the second preset type, and the first preset type corresponds to the second content.
[0136] Optionally, the user input unit 407 is used to receive a fourth input from the user to the target control, where the target control is used to indicate a target sorting method. The processor 410 is used to send the target sorting method to each application in response to the fourth input received by the user input unit 407; and adjust the sorting method of the content in each second interface through each application based on the target sorting method.
[0137] The embodiment of the present application provides an electronic device, which can trigger the display of M first interfaces corresponding to M applications running simultaneously through user input. Therefore, when the first search box is displayed and the first search box includes the first information, N second interfaces including the content related to the first information obtained through the search of N applications can be displayed respectively, so that the user can view all the results after N applications search for the first information at one time through each of the N second interfaces, without the user frequently triggering the electronic device to switch to different applications to search for content, that is, the function of searching multiple applications simultaneously is realized. In this way, the operation of searching for content through the electronic device is simplified and the search efficiency is improved.
[0138] It should be understood that in the embodiment of the present application, the input unit 404 may include a graphics processing unit (GPU) 4041 and a microphone 4042, and the graphics processor 4041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 406 may include a display panel 4061, and the display panel 4061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 407 includes a touch panel 4071 and other input devices 4072. The touch panel 4071 is also called a touch screen. The touch panel 4071 may include two parts: a touch detection device and a touch controller. Other input devices 4072 may include but are not limited to a physical keyboard, a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here. The memory 409 can be used to store software programs and various data, including but not limited to applications and operating systems. The processor 410 can integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, the user interface, and the application program, etc., and the modem processor mainly processes wireless communication. It is understandable that the above-mentioned modem processor may not be integrated into the processor 410.
[0139] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned search method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0140] The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0141] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned search method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0142] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0143] It should be noted that, in this article, the term "comprises", "includes" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the method and device in the embodiment of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0144] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods in each embodiment of the present application.
[0145] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A search method, It is characterized in that The method comprises: receiving a first input from a user; In response to the first input, displaying M first interfaces corresponding to M applications, where the M applications are determined by the first input, and M is a positive integer greater than 1; When the first search box is displayed and the first search box includes the first information, N second interfaces corresponding to the N applications are displayed, where N is a positive integer less than or equal to M; Wherein, one of the N second interfaces includes: content related to the first information obtained by searching one of the N applications corresponding to the one second interface, and the N applications are applications in the M applications; After displaying the M first interfaces corresponding to the M applications, the method further includes: Receiving a third input for a third interface among the M first interfaces; In response to the third input, display a target identifier and update a display position of the target identifier, wherein the target identifier is used to indicate the second information in the third interface; When the display position of the target identifier at least partially overlaps with a fourth interface among the M first interfaces, updating the display content of the fourth interface, wherein the display content of the updated fourth interface is related to the second information; The method further comprises: Receiving a fifth input to a target control; wherein the fifth input is a user dragging input to the target control, and the target control is a sliding bar for triggering interface sliding; In response to the fifth input, each of the second interfaces is controlled to slide.
2. The method according to claim 1, It is characterized in that After displaying the M first interfaces corresponding to the M applications and before displaying the N second interfaces corresponding to the N applications, the method further includes: Receiving a second input for a first interface among the M first interfaces; In response to the second input, the first information is displayed in the first search box, and the first information is the content in the first interface.
3. The method according to claim 1, It is characterized in that The first input is used to select P applications, and the M applications are applications of the same type among the P applications.
4. The method according to claim 1, It is characterized in that The first input is used to select P applications; Before receiving the first input from the user, the method further includes: Displaying icons, where the applications corresponding to the icons include the M applications; After receiving the first input and before displaying the M first interfaces corresponding to the M applications, the method further includes: Acquire a target type, wherein the number of the M applications belonging to the target type is the largest among the P applications; Among them, in the case that there are applications belonging to the target type among the applications corresponding to icons other than the P icons among the icons, the M applications include applications belonging to the target type among the P applications and applications belonging to the target type among the applications corresponding to icons other than the P icons among the icons, and each of the P icons is used to indicate one of the P applications.
5. The method according to claim 1, It is characterized in that The displaying of N second interfaces corresponding to the N application programs includes: In the case where the types of the N application programs belong to the first preset type, displaying the first content in each second interface according to the first preset sorting method; or, When the types of the N application programs belong to a second preset type, displaying the second content in each second interface according to a second preset sorting method; The first preset sorting method corresponds to the first preset type, and the first preset type corresponds to the first content; the second preset sorting method corresponds to the second preset type, and the second preset type corresponds to the second content.
6. A search device, It is characterized in that The search device includes a receiving module and a display module; The receiving module is used to receive a first input from a user; The display module is configured to display, in response to the first input received by the receiving module, M first interfaces corresponding to M applications, where the M applications are determined by the first input, and M is a positive integer greater than 1; and to display N second interfaces corresponding to N applications, where N is a positive integer less than or equal to M, when the first search box is displayed and the first search box includes the first information; Wherein, one of the N second interfaces includes: content related to the first information obtained by searching one of the N applications corresponding to the one second interface, and the N applications are applications in the M applications; The receiving module is further configured to receive a third input for a third interface among the M first interfaces; The display module is further configured to, in response to the third input received by the receiving module, display a target identifier and update a display position of the target identifier, wherein the target identifier is used to indicate the second information in the third interface; and when the display position of the target identifier at least partially overlaps with a fourth interface among the M first interfaces, update display content of the fourth interface, wherein the display content of the updated fourth interface is related to the second information; The device also includes: A sliding module, used to receive a fifth input to a target control; wherein the fifth input is a user's dragging input to the target control, and the target control is a sliding bar used to trigger interface sliding; In response to the fifth input, each of the second interfaces is controlled to slide.
7. The device according to claim 6, It is characterized in that The receiving module is further used to receive a second input for a first interface among the M first interfaces; The display module is further used to display the first information in the first search box in response to the second input received by the receiving module, where the first information is the content in the first interface.
8. The device according to claim 6, It is characterized in that The first input is used to select P applications, and the M applications are applications of the same type among the P applications.
9. The device according to claim 6, It is characterized in that The first input is used to select P applications; the search device also includes an acquisition module; The display module is further used to display icons, and the applications corresponding to the icons include the M applications; The acquisition module is used to acquire a target type, wherein the number of the M applications belonging to the target type among the P applications is the largest; Among them, in the case that there are applications belonging to the target type among the applications corresponding to icons other than the P icons among the icons, the M applications include applications belonging to the target type among the P applications and applications belonging to the target type among the applications corresponding to icons other than the P icons among the icons, and each of the P icons is used to indicate one of the P applications.
10. The device according to claim 6, It is characterized in that The display module is specifically configured to display the first content in each second interface according to a first preset sorting method when the types of the N application programs belong to a first preset type; or, when the types of the N application programs belong to a second preset type, display the second content in each second interface according to a second preset sorting method; The first preset sorting method corresponds to the first preset type, and the first preset type corresponds to the first content; the second preset sorting method corresponds to the second preset type, and the second preset type corresponds to the second content.
11. An electronic device, It is characterized in that The method comprises a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the search method as described in any one of claims 1 to 5.
12. A readable storage medium, It is characterized in that The readable storage medium stores a program or instruction, and when the program or instruction is executed by a processor, the steps of the search method according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
A search method and a mobile terminal
CN109917979A
Quick search method, terminal and readable storage medium
CN111538874A
Search display method and device and electronic equipment
CN112099684A
Method, user terminal and computer program for unified searching information
KR1020160104981A
Method and system for collaborative searching
US20080222108A1
