Searching method and electronic equipment

By obtaining user search requests in electronic devices, determining related applications and obtaining related information, displaying search results directly in global search, solving the problem that the search results in existing technology do not meet the user's expectations, improve the search efficiency and User experience.

CN119357488APending Publication Date: 2025-01-24HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310917091.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-24
Publication Date
2025-01-24

AI Technical Summary

Technical Problem

When the user's search request is not a service of the application, existing electronic devices enter the search website to search, resulting in the search results that do not meet user expectations, increasing the user's search time and reducing the user experience.

Method used

Provide a search method to determine the relevant application by obtaining the user's search request, and obtain the information associated with the search request in the application to determine the search results and directly display the search results in the global search.

Benefits of technology

It improves search efficiency and accuracy, improves user experience, and reduces user waiting time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119357488A_ABST
    Figure CN119357488A_ABST
Patent Text Reader

Abstract

The invention provides a search method and electronic equipment, and the method comprises the steps: obtaining a first search request which is used for carrying out global search on terminal equipment; according to the first search request, a search keyword is obtained, a first application program and a first search result in the first application program are determined according to the search keyword, the first application program comprises N interfaces, the N interfaces have a hierarchical relationship, the N interfaces comprise a first interface, the first interface comprises first information, and the first information comprises first information; the first information is related to the search keyword; a search result interface is displayed, the search result interface comprises the first search result, and the first search result comprises the first information. According to the application, the application program can be determined according to the search request of the user in the global search, and then the information associated with the search request in the application program is acquired to determine the search result, so that the search efficiency and accuracy can be improved, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of electronic devices, and more specifically, to a search method and an electronic device. Background Art

[0002] With the continuous advancement of technology, applications, mini-programs, quick applications, etc. (hereinafter collectively referred to as applications) can display services and information in a multi-level form. In other words, different services and information are displayed on different interfaces. Taking shopping applications as an example, shopping applications can display brief information (e.g., price, name, picture, etc.) of multiple products on interface #1. When a user needs to view detailed information of a product (e.g., user reviews, product size, product origin, etc.), he needs to click on the link of the product, and then the shopping application can display the detailed information of the product on interface #2. At present, in order to quickly find the services in the application, the electronic device provides a global search. If the user's search request is for the service of the application, the electronic device can quickly search for the corresponding service. If the user's search request is not for the service of the application, the electronic device will enter the search website and search according to the user's search request. However, the search method of the electronic device entering the search website and searching according to the user's search request may not meet the user's search expectations, thereby increasing the user's search time and reducing the user's experience. Based on this, how to quickly find the content that the user needs has become a technical problem that needs to be solved urgently. Summary of the invention

[0003] The present application provides a search method and an electronic device, which can determine an application according to a user's search request in a global search, and then obtain information associated with the search request in the application to determine the search results, which can improve the efficiency and accuracy of the search and enhance the user experience.

[0004] In a first aspect, a search method is provided, characterized in that the method includes: obtaining a first search request, the first search request being used to perform a global search on a terminal device; obtaining a search keyword based on the first search request, and determining a first application and a first search result in the first application based on the search keyword, wherein the first application includes N interfaces, wherein the N interfaces have a hierarchical relationship, the N interfaces include a first interface, the first interface includes first information, and the first information is related to the search keyword; displaying a search result interface, the search result interface including the first search result, wherein the first search result includes the first information.

[0005] In an embodiment of the present application, when performing a global search, an application can be determined based on the user's search request, and then information associated with the search request in the application can be obtained to determine the search results. Compared with the search method of searching on a search website, the search efficiency and accuracy can be improved, thereby enhancing the user experience.

[0006] In combination with the first aspect, in certain implementations of the first aspect, the N interfaces include a main interface of the first application, and at least one of the following interfaces: a product preview interface of the first application, a product details interface of the first application, and a user evaluation interface of the first application.

[0007] In combination with the first aspect, in some implementations of the first aspect, the first information is product information or evaluation information.

[0008] In combination with the first aspect, in some implementations of the first aspect, the N interfaces also include a second interface, the second interface includes second information, the second information is related to the search keyword, and the first search result also includes the second information.

[0009] In an embodiment of the present application, when conducting a global search, an application can be determined based on the user's search request, and then information associated with the search request in multiple interfaces of the application can be obtained, and search results can be displayed based on the associated information. Compared with the search method of searching only through search websites, the search method is increased, the efficiency and accuracy of the search can be improved, and the user experience is enhanced.

[0010] In combination with the first aspect, in certain implementations of the first aspect, the first interface is a product details interface, the second interface is a user evaluation interface, the first information is product information, and the second information is evaluation information. The method also includes: in response to the user selecting the second information, jumping to the second interface and displaying the second information.

[0011] In combination with the first aspect, in some implementations of the first aspect, the method further includes:

[0012] At least one operation of returning to a previous level page is received, and the second interface is returned to the first interface.

[0013] Exemplarily, the operation of returning to the previous level page may be clicking a return control.

[0014] Exemplarily, the operation of returning to the previous level page may be sliding from the edge of the screen to the middle of the screen.

[0015] In combination with the first aspect, in certain implementations of the first aspect, the method also includes: determining a second application and a second search result in the second application based on the search keyword, wherein the second application includes M interfaces, wherein the M interfaces have a hierarchical relationship, and the M interfaces include a third interface, wherein the third interface includes third information, and the third information is related to the search keyword; and displaying the second search result, wherein the second search result includes the third information.

[0016] In an embodiment of the present application, when performing a global search, information associated with the search request of multiple applications can be obtained. Compared with the search method of searching only through a search website, the search method is increased, the search efficiency and accuracy can be improved, and the user experience is enhanced.

[0017] In combination with the first aspect, in some implementations of the first aspect, the first application and the second application are different types of applications.

[0018] In an embodiment of the present application, when performing a global search, information associated with the search request of multiple applications can be obtained, and the multiple applications can be different types of applications. Compared with the search method of searching only through search websites, the search methods are increased, the search efficiency and accuracy can be improved, and the user experience is enhanced.

[0019] In combination with the first aspect, in some implementations of the first aspect, the search result interface displays the first search result and the second search result.

[0020] In combination with the first aspect, in some implementations of the first aspect, displaying the second search result includes:

[0021] In response to the user's operation of switching the search results, the search result interface switches from the first search result to the second search result.

[0022] In combination with the first aspect, in certain implementations of the first aspect, when displaying the first search result and the second search result, the method also includes: displaying a first prompt message, the first prompt message being used to indicate the first application and the second application; determining the first search result and the second search result includes: displaying the first search result in response to a user selecting the first application; and displaying the second search result in response to a user selecting the second application.

[0023] In combination with the first aspect, in certain implementations of the first aspect, the search result interface includes a third search result, and the method further includes: searching the first search request on a search website to obtain a third search result; and displaying the third search result.

[0024] The second aspect is an electronic device of an embodiment of the present application, which includes modules / units for executing the above aspects or any possible design method of the above aspects; these modules / units can be implemented by hardware, or the corresponding software can be implemented by hardware.

[0025] The third aspect is a chip of an embodiment of the present application, which is coupled to a memory in an electronic device and is used to call a computer program stored in the memory and execute the above-mentioned aspects of the embodiment of the present application and any possible design of the above-mentioned aspects of the embodiment of the present application; "coupling" in the embodiment of the present application refers to the direct or indirect combination of two components with each other.

[0026] The fourth aspect is a graphical user interface on an electronic device of an embodiment of the present application, the electronic device having a display screen, one or more memories, and one or more processors, the one or more processors being used to execute one or more computer programs stored in the one or more memories, the graphical user interface including a graphical user interface displayed when the electronic device executes the above aspect and any possible design technical solution of the above aspect.

[0027] The fifth aspect is an electronic device of an embodiment of the present application, which includes one or more processors; one or more memories; the one or more memories store one or more computer programs, and the one or more computer programs include instructions. When the instructions are executed by the one or more processors, the above aspects or any possible implementation method of the above aspects is executed.

[0028] In a sixth aspect, a computer-readable storage medium is provided, which includes a computer program or instructions. When the computer program or instructions are run on a computer, the first aspect and any possible implementation method of the first aspect are executed.

[0029] In a seventh aspect, a computer program product is provided, which includes a computer program or instructions. When the computer program or instructions are run on a computer, the first aspect and any possible implementation method of the first aspect are executed.

[0030] In an eighth aspect, a computer program is provided, which, when executed on a computer, enables the method in the first aspect and any possible implementation thereof to be executed.

[0031] Among them, for the beneficial effects of the second to eighth aspects, please refer to the beneficial effects of the first aspect and will not be repeated. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0033] Figure 2 It is a software structure block diagram of the electronic device according to an embodiment of the present application.

[0034] Figure 3 Is a set of GUIs for global search.

[0035] Figure 4 It is a set of GUIs provided by the embodiments of the present application.

[0036] Figure 5 This is another set of GUIs provided by an embodiment of the present application.

[0037] Figure 6 This is another set of GUIs provided by an embodiment of the present application.

[0038] Figure 7 This is another set of GUIs provided by an embodiment of the present application.

[0039] Figure 8 This is another set of GUIs provided by an embodiment of the present application.

[0040] Fig. 9 It is a schematic flow chart of the search method provided in the embodiment of the present application.

[0041] Fig.10 It is a schematic diagram of the interface level division provided in the embodiment of the present application.

[0042] Fig.11 It is a schematic flow chart of the search method provided in the embodiment of the present application.

[0043] Fig.12 It is a schematic flow chart of the search method provided in the embodiment of the present application.

[0044] Fig.13 It is a schematic diagram of the composition of an electronic device provided in an embodiment of the present application.

[0045] Fig.14 It is a schematic diagram of the server composition provided in an embodiment of the present application. DETAILED DESCRIPTION

[0046] The technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0047] The terms used in the following embodiments are only for the purpose of describing specific embodiments, and are not intended to be used as limitations on the present application. As used in the specification and the appended claims of the present application, the singular expressions "one", "a kind of", "said", "above", "the" and "this" are intended to also include expressions such as "one or more", unless there is a clear contrary indication in the context. It should also be understood that in the following embodiments of the present application, "at least one", "one or more" refer to one, two or more. The term "and / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist; for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship.

[0048] References to "one embodiment" or "some embodiments" etc. described in this specification mean that a particular feature, structure or characteristic described in conjunction with the embodiment is included in one or more embodiments of the present application. Thus, the phrases "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear at different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0049] The following describes an electronic device, a user interface for such an electronic device, and embodiments for using such an electronic device. In some embodiments, the electronic device may be a portable electronic device that also includes other functions such as a personal digital assistant and / or a music player function, such as a mobile phone, a tablet computer, a wearable electronic device with wireless communication function (such as a smart watch), etc. Exemplary embodiments of portable electronic devices include but are not limited to devices equipped with Or a portable electronic device with other operating systems. The portable electronic device may also be other portable electronic devices, such as a laptop computer, etc. It should also be understood that in some other embodiments, the electronic device may not be a portable electronic device, but a desktop computer.

[0050] For example, Figure 11 shows a schematic diagram of the structure of the electronic device 100. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0051] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0052] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0053] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.

[0054] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0055] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0056] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

[0057] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0058] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.

[0059] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.

[0060] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0061] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-CDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).

[0062] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

[0063] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.

[0064] The electronic device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.

[0065] ISP is used to process the data fed back by camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to ISP for processing and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, ISP can be set in camera 193.

[0066] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.

[0067] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

[0068] Video codecs are used to compress or decompress digital videos. The electronic device 100 may support one or more video codecs. Thus, the electronic device 100 may play or record videos in a variety of coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0069] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.

[0070] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.

[0071] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0072] The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0073] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.

[0074] The speaker 170A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The electronic device 100 can listen to music or listen to a hands-free call through the speaker 170A.

[0075] The receiver 170B, also called a "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or voice message, the voice can be received by placing the receiver 170B close to the human ear.

[0076] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to microphone 170C to input the sound signal into microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the sound source, realize directional recording function, etc.

[0077] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be set on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure based on the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the touch operation intensity according to the pressure sensor 180A. The electronic device 100 can also calculate the touch position based on the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example, when a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the alarm application icon, an instruction to create a new alarm is executed.

[0078] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, access application locks, fingerprint photography, fingerprint answering calls, etc. For example, when the mobile phone detects a user's touch operation on the lock screen interface, the mobile phone can collect the user's fingerprint information through the fingerprint sensor 180H, and match the collected fingerprint information with the fingerprint information preset in the mobile phone. If the match is successful, the mobile phone can enter the non-lock screen interface from the lock screen interface.

[0079] The touch sensor 180K is also called a "touch panel". The touch sensor 180K can be set on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the electronic device 100, which is different from the position of the display screen 194.

[0080] Figure 2 1 is a software structure diagram of the electronic device 100 of the embodiment of the present application. The layered architecture divides the software into several layers, each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom, namely, the application layer, the application framework layer, the Android runtime (Android runtime) and the system library, and the kernel layer. The application layer can include a series of application packages.

[0081] like Figure 2 As shown, the application layer may include camera, settings, skin module, user interface (UI), third-party applications, etc. Among them, the third-party applications may include gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.

[0082] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer may include some predefined functions.

[0083] like Figure 2 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.

[0084] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc. The content provider is used to store and obtain data and make the data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0085] The view system includes visual controls, such as controls for displaying text, controls for displaying pictures, etc., such as the indication information for prompting a virtual shutter key in the embodiment of the present application. The view system can be used to build applications. The display interface can be composed of one or more views. For example, a display interface including a text message notification icon can include a view for displaying text and a view for displaying pictures.

[0086] The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including connecting, hanging up, etc.).

[0087] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0088] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.

[0089] Android runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.

[0090] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.

[0091] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.

[0092] The system library may include multiple functional modules, such as surface manager, media libraries, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.

[0093] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.

[0094] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0095] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0096] A 2D graphics engine is a drawing engine for 2D drawings.

[0097] In addition, the system library may also include status monitoring service modules, such as a physical status recognition module for analyzing and identifying user gestures; a sensor service module for monitoring sensor data uploaded by various sensors at the hardware layer to determine the physical status of the electronic device 100.

[0098] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.

[0099] The hardware layer can include various types of sensors, such as Figure 1 The various types of sensors introduced in the present application include acceleration sensors, gyroscope sensors, touch sensors, etc.

[0100] Combined with the above Figure 1 and Figure 2 The electronic device introduced, in the embodiment of the present application, the physical devices involved in the electronic device 100 mainly include hardware components such as sensors, decision support systems (DSS) display chips, touch screens, fingerprint recognition modules, etc.; as well as kernel software layers such as screen management modules, display drivers, fingerprint drivers, and anti-mistouch; application framework layer functions such as anti-mistouch input, screen control, always on display (AOD) services, power management, etc.; as well as application layer services such as special adaptation applications (camera), third-party applications, system sleep, and AOD.

[0101] Before introducing the embodiments of the present application, concepts related to the embodiments of the present application are first introduced.

[0102] Service: The functions of applications, mini-programs, and quick apps that can be executed in electronic devices are called services. Taking the music application as an example, the music application includes executable functions such as playing music, downloading, and local music, and each function can be called a service. For the convenience of description below, the applications installed on electronic devices, as well as mini-programs and quick apps that do not need to be installed, are collectively referred to as applications.

[0103] Global search: It can be understood as a function to quickly search and find applications, contacts, files and other data on electronic devices.

[0104] With the continuous advancement of technology, applications, mini-programs, quick applications, etc. (hereinafter collectively referred to as applications) can display services and information in a multi-level form. In other words, different services and information are displayed on different interfaces. Taking shopping applications as an example, shopping applications can display brief information of multiple products (for example, price, name, picture, etc.) on interface #1. When the user needs to view the detailed information of a certain product (for example, user reviews, product size, product origin, etc.), he needs to click on the link of the product, and then the shopping application can display the detailed information of the product on interface #2. At present, in order to quickly find services in applications, electronic devices provide global search. If the user's search request is for the service or application of the application, the electronic device can quickly search for the corresponding service or application. If the user's search request is not for the service of the application, the electronic device will enter the search website and search according to the user's search request.

[0105] Figure 3 A set of graphical user interfaces (GUIs) are shown.

[0106] refer to Figure 3 In (a), the electronic device displays an interface 301, and the interface 301 includes a global search bar 302, and the global search bar 302 corresponds to a global search.

[0107] Continue to refer Figure 3 In (a), the user can enter the content they want to search in the search bar, for example, enter "Bluetooth" in the search bar 302. In response to the user triggering the global search function, the electronic device can search according to "Bluetooth" in the search bar 302, and display the following information: Figure 3 GUI shown in (b) in .

[0108] refer to Figure 3In (b), "Bluetooth" is a service in the settings. In response to the user triggering the global search function, the electronic device can display search results in interface 303, and the search results include Bluetooth, Bluetooth search, etc.

[0109] refer to Figure 3 In (c), the user enters "fresh lobster" in the search bar. In response to the user triggering the global search function, the electronic device can search for "fresh lobster" in the search bar 302 and display the following information: Figure 3 GUI shown in (d).

[0110] refer to Figure 3 In (d), since “fresh lobster” is not a service of the application, the electronic device responds to the user triggering the global search function by jumping to the browser to search for “fresh lobster” through the search website and displays the search results in interface 305.

[0111] Combination Figure 3 It can be seen that when the user's search request is not an application or an application's service, the electronic device will enter the search website to search, but this search method may not meet the user's search expectations. Figure 3 For example, the user's search expectation is to search for relevant information about "fresh lobster" in shopping applications, rather than searching for "fresh lobster" on search websites. This increases the user's search time and reduces the user experience. Based on this, how to quickly find the content that users need has become a technical problem that needs to be solved urgently.

[0112] Figure 4 A set of GUIs provided by an embodiment of the present application is shown.

[0113] refer to Figure 4 In (a), the electronic device displays an interface 401, which includes a global search bar 402. In response to the user's global search operation, the electronic device can determine application #1 according to "fresh lobster", and then obtain information associated with "fresh lobster" in interface #1 of application #1, and display the following information: Figure 4 GUI shown in (b) in .

[0114] refer to Figure 4 In (b), the electronic device can display search results in interface 403, which includes information associated with "fresh lobster" in interface #1 from application #1 and information associated with "fresh lobster" in the search website. Interface 403 can be called a search result interface.

[0115] It should be noted that the description of determining an application program according to a user's search request can be found below and will not be elaborated here.

[0116] In an embodiment of the present application, when performing a global search, an application can be determined based on the user's search request, and then information associated with the search request in the application can be obtained to determine the search results. Compared with the search method of searching on a search website, the search efficiency and accuracy can be improved, thereby enhancing the user experience.

[0117] Optionally, in some embodiments, the electronic device may determine to use a search website to search or display search results of an application program according to a user's selection.

[0118] refer to Figure 4 As shown in (a), (c) and (d) in FIG. 1 , the electronic device may display an option box 404 in response to the user performing a global search operation. The electronic device may display a selection box 404 in response to the user clicking a control 405. Figure 4 The electronic device can also display search results of the search website in response to the user clicking the control 406.

[0119] In an embodiment of the present application, when performing a global search, information of the search website can be obtained based on the user's operation, or information associated with the search request in the application can be obtained to determine the search results. Compared with the search method of searching only through the search website, the search method is increased, the efficiency and accuracy of the search can be improved, and the user experience is enhanced.

[0120] Optionally, in some embodiments, in response to a user's operation of performing a global search, the electronic device may search the search request through search websites and applications.

[0121] With respect to this embodiment, the electronic device may simultaneously display information from the search website and information from the application program.

[0122] refer to Figure 4 As shown in (a) and (d), the electronic device can display search results on interface 403, and the search results include information from interface #1 of application #1 and information from the search website.

[0123] With respect to this embodiment, the electronic device may also display information of the application program and the search website on different interfaces.

[0124] refer to Figure 4As shown in (e) and (f) in FIG. 1 , the electronic device can display information from interface #1 of application #1 on interface 403. In response to the user's right sliding operation, the electronic device can switch interface 403 to interface 407, and display information from the search website on interface 407.

[0125] In an embodiment of the present application, when performing a global search, information of the search website or information of the application can be automatically obtained. Compared with the search method of searching only through the search website, the search method is increased, the efficiency and accuracy of the search can be improved, and the user experience is enhanced.

[0126] Optionally, in some embodiments, the electronic device may obtain information associated with the search request for multiple applications.

[0127] For this embodiment, the electronic device can display information from different applications at the same time.

[0128] refer to Figure 4 As shown in (g) in FIG. 4 , the electronic device may display information from interface #1 of application #1 and interface #2 of application #2 on interface 408 .

[0129] With respect to this embodiment, the electronic device may also display information associated with the search request of different applications on different interfaces.

[0130] In an embodiment of the present application, when performing a global search, information associated with the search request of multiple applications can be obtained. Compared with the search method of searching only through a search website, the search method is increased, the search efficiency and accuracy can be improved, and the user experience is enhanced.

[0131] When the electronic device determines the search results, the search results may be determined based on information in one interface of the application, or based on information in multiple interfaces of the application. In some embodiments, the electronic device searches through the application, obtains information related to the search request from multiple interfaces of the application, determines the search results based on the search request, and then displays them in the interface.

[0132] Figure 5 Another set of GUIs provided by an embodiment of the present application is shown.

[0133] refer to Figure 5 In (a), the electronic device displays an interface 501, which includes a global search bar 502. The electronic device can determine application #1 based on "fresh lobster", and then obtain information associated with "fresh lobster" in multiple interfaces of application #1 to display the search results such as Figure 5 GUI shown in (b) in .

[0134] refer to Figure 5 In (b), the electronic device may display search results in interface 503, where the search results are determined based on information associated with "fresh lobster" in multiple interfaces of application #1, wherein the search results include information associated with "fresh lobster" in interfaces #1, #2, and #3 of application #1. Figure 5 (b) and Figure 4 As can be seen from (b), Figure 5 In the example shown, the electronic device obtains information associated with "fresh lobster" in multiple interfaces of the application, and then displays search results based on the information associated with "fresh lobster" in the multiple interfaces.

[0135] Optionally, in some embodiments, the interface 503 may be an interface corresponding to the result of the global search, that is, the interface 503 is not the interface of the application #1.

[0136] In an embodiment of the present application, when conducting a global search, an application can be determined based on the user's search request, and then information associated with the search request in multiple interfaces of the application can be obtained, and search results can be displayed based on the associated information. Compared with the search method of searching only through search websites, the search method is increased, the efficiency and accuracy of the search can be improved, and the user experience is enhanced.

[0137] When the search result displayed by the electronic device on the interface 503 is information from multiple interfaces, the electronic device can display one piece of information completely or partially.

[0138] Continue to refer Figure 5 In (b), when the electronic device displays the search results on interface 503, it can completely display the information from interface #1, or partially display the information from interface #2 and interface #3.

[0139] In an embodiment of the present application, when the search results displayed by the electronic device are information from multiple interfaces, the electronic device can fully or partially display the information from multiple interfaces, so that the electronic device can display as much information as possible on the same interface to enrich the search results and improve the user experience.

[0140] Optionally, in some embodiments, the electronic device may display the information in its entirety in response to a user's operation of selecting partially displayed information.

[0141] refer to Figure 5In (b) and (c) of the example, the search results displayed by the electronic device on interface 503 include the evaluation information "The lobsters at this restaurant are very fresh..." The evaluation information comes from interface #2, and the complete content of the evaluation information is: "The lobsters at this restaurant are very fresh, and the delivery is very timely. I received it the next day. Good review!". Since the only thing related to "fresh lobsters" in the evaluation information is "The lobsters at this restaurant are very fresh", the electronic device can display the evaluation information in a partial display mode, that is, only "The lobsters at this restaurant are very fresh..." is displayed.

[0142] In response to the user selecting part of the displayed information (for example, clicking on the text area of ​​"The lobsters here are very fresh"), the electronic device can display the complete information, i.e., "The lobsters here are very fresh, and the delivery is very timely. I received it the next day. Good review!".

[0143] Optionally, in some embodiments, in response to a user selecting a portion of displayed information, the electronic device may jump to an interface corresponding to the information to fully display the information.

[0144] refer to Figure 5 In (b) and (d), the electronic device can jump from interface 503 to interface 504 in response to the user's operation of selecting the information to be displayed. Interface 504 is an interface for evaluating information, and the electronic device can fully display the evaluation information on interface 504.

[0145] In an embodiment of the present application, the electronic device may first partially display information that is strongly related to the search request. When it is detected that the user selects the partially displayed information, the partially displayed information may be fully expanded, so that the user can obtain more information, thereby improving the user experience.

[0146] Figure 6 Another set of GUIs provided by an embodiment of the present application is shown.

[0147] refer to Figure 6 In (a), the electronic device displays interface 601, which is the interface of application #1. Interface 601 includes search bar 602. In response to the user inputting the search request "lobster" in search bar 602 and triggering the search, the electronic device may display the following information: Figure 6 GUI shown in (b) in .

[0148] refer to Figure 6In (b), the electronic device displays interface 603, which includes the search results for "lobster". For example, interface 603 includes lobsters from AA Fresh Food Store, lobsters from BB Fresh Food Store, and lobsters from CC Fresh Food Store, where the lobsters from AA Fresh Food Store correspond to picture #1, the lobsters from BB Fresh Food Store correspond to picture #2, and the lobsters from CC Fresh Food Store correspond to picture #3. In response to the user clicking on picture #1, the electronic device may display the following: Figure 6 GUI shown in (c) in FIG.

[0149] refer to Figure 6 In (c), the electronic device displays an interface 604, which includes detailed information about the lobsters in the AA Fresh Food Store. In response to the user clicking on the evaluation, the electronic device may display the following information: Figure 6 The GUI shown in (d).

[0150] refer to Figure 6 In (d), the electronic device displays an interface 605, which includes evaluation information of lobsters from the AA fresh food store. The evaluation information of the lobsters from the AA fresh food store includes "the lobsters from this store are big, fresh, and shipped quickly."

[0151] Based on similar operations, refer to Figure 6 In (e), the electronic device may display evaluation information of lobsters in BB Fresh Food Store on interface 606, where the evaluation information of lobsters in BB Fresh Food Store includes "the lobsters in this store are fresh and cheap". Figure 6 In (f), the electronic device can display the evaluation information of the lobsters in CC Fresh Food Store on interface 607, and the evaluation information of the lobsters in CC Fresh Food Store includes "the lobsters in this store are not fresh, and are not recommended for purchase."

[0152] Above Figure 6 Interfaces 603, 604, 605, 606, and 607 in (a) to (f) all include information associated with "lobster". However, the evaluation information in interface 607 indicates that the lobsters in CC Fresh Food Store are not fresh, so when the electronic device searches for "fresh lobster" through the global search function, the information in interfaces 603, 604, 605, and 606 can be obtained.

[0153] In summary, reference Figure 6 In (g), the electronic device may display a global search result for “fresh lobster” in interface 608, and the search result may not include information about lobsters from CC Fresh Food Store.

[0154] In an embodiment of the present application, when the electronic device obtains information of multiple interfaces of an application, different weighting values ​​may be assigned to information of different interfaces, and search results may be determined accordingly, so that the search results may be more accurate and the user experience may be improved.

[0155] It can be understood that if interface 605 includes both information indicating that the lobsters of AA fresh food store are not fresh and information indicating that the lobsters of AA fresh food store are fresh, it can be determined whether to include the information of AA fresh food store's lobsters in the search results based on the amount of information indicating that the lobsters of AA fresh food store are not fresh and the amount of information indicating that the lobsters of AA fresh food store are fresh.

[0156] For example, if there are 3 pieces of information indicating that the lobster is not fresh and 5 pieces of information indicating that the lobster is fresh in interface 605, the search results may include interface 603, interface 604 and the 5 pieces of information indicating that the lobster is fresh in interface 605.

[0157] It should be noted that the above Figures 4 to 6 The GUI shown only takes a shopping application as an example and should not be understood as a specific limitation on the embodiments of the present application. In other embodiments of the present application, when performing a global search, the electronic device can also determine other types of applications based on the search request to determine the search results.

[0158] Figure 7 Another set of GUIs provided by an embodiment of the present application is shown.

[0159] refer to Figure 7 In (a), the electronic device displays an interface 701, which includes a global search bar 702. The electronic device can determine application #2 based on the "quadratic equation course", and then obtain information associated with the "quadratic equation course" in multiple interfaces of application #2 to display the search results. Figure 7 GUI shown in (b) in .

[0160] refer to Figure 7 In (b), the electronic device may display search results in interface 703, where the search results are determined based on information associated with the "quadratic equation course" in multiple interfaces of application #2.

[0161] In an embodiment of the present application, when performing a global search, the application can be determined based on the user's search request, and then information associated with the application and the search request can be obtained, and search results can be displayed based on the associated information. Compared with the search method of searching only through search websites, the search method is increased, the efficiency and accuracy of the search can be improved, and the user experience is enhanced.

[0162] When the electronic device obtains information associated with the search request from multiple applications, the multiple applications may be applications of the same type or applications of different types. Figure 4In (g), the electronic device obtains information related to "fresh lobster" from application #1 and application #2, and then displays the search results in interface 408. Application #1 and application #2 are applications of the same type, that is, both are shopping applications. The following will introduce the GUI involved in the search results from different types of applications.

[0163] Figure 8 Another set of GUIs provided by an embodiment of the present application is shown.

[0164] refer to Figure 8 In (a), the electronic device displays an interface 801, which includes a search bar 802, and the search bar 802 corresponds to a global search. The user can enter the content they want to find in the search bar, for example, enter "fresh lobster" in the search bar 402. In response to the user's global search operation, the electronic device can determine application #1 and application #3 based on "fresh lobster", and then obtain information associated with "fresh lobster" in application #1 and information associated with "fresh lobster" in application #3, and display the following information: Figure 8 GUI shown in (b) in .

[0165] It should be noted that application #1 and application #3 are different types of applications. Application #1 may be a shopping application, and application #3 may be a recipe application.

[0166] refer to Figure 8 In (b), the electronic device may display search results in interface 803, where the search results include information related to "fresh lobster" from application #1.

[0167] refer to Figure 8 In (b) and (c), the electronic device can switch interface 803 to interface 804 in response to the user's sliding right operation, and display information from application #3 on interface 804.

[0168] Optionally, in some embodiments, the electronic device may determine to display the search results of application #1 or application #3 according to the user's selection.

[0169] refer to Figure 8 In (d), in response to the user's global search for "fresh lobster", the electronic device may display an option box 805, which includes a control 806 corresponding to application #1 and a control 807 corresponding to application #3. In response to the user clicking on control 806, the electronic device may display the search results of application #1. In response to the user clicking on control 807, the electronic device may display the search results of application #3.

[0170] It should be noted that application #1 and application #3 are different types of applications.

[0171] In an embodiment of the present application, when performing a global search, information associated with the search request of multiple applications can be obtained, and the multiple applications can be different types of applications. Compared with the search method of searching only through search websites, the search methods are increased, the search efficiency and accuracy can be improved, and the user experience is enhanced.

[0172] Combination of the above Figure 4-Figure 8 The GUI shown introduces the search method provided by the embodiment of the present application. Figure 9-12 The flowchart diagram shown introduces the search method provided in the embodiment of the present application.

[0173] Fig. 9 A schematic flow chart of the search method provided in the embodiment of the present application is shown. Fig. 9 As shown, the method includes:

[0174] S901, the electronic device obtains a first search request.

[0175] For example, refer to Figure 4 As shown in (a), in response to the user inputting "fresh lobster" and triggering a global search operation, the electronic device can obtain a first search request of "fresh lobster".

[0176] S902: The electronic device sends a first search request to the server.

[0177] Correspondingly, the server receives the search request sent by the electronic device.

[0178] In some embodiments, the server may be a server of a provider of the electronic device.

[0179] S903: The server obtains a search keyword according to the first search request, and determines a first application and a first search result in the first application according to the search keyword.

[0180] The server may be pre-set with preset rules. After receiving the first search request, the server may understand the search keywords in the search request through natural language understanding (NLU) technology, and then determine the first application corresponding to the first search request according to the preset rules.

[0181] For example, Table 1 shows a correspondence between search requests and applications. The first search request is "fresh lobster", and the search keywords may include "fresh" and "lobster". The server can understand from "lobster" that the user is searching for food. According to Table 1, the server can determine that the first search request corresponds to a shopping application and a recipe application.

[0182] Table 1 Correspondence between a search request and an application

[0183] Search Request app Ingredients Shopping apps, Recipe apps music Music apps, Video apps course Educational apps

[0184] After the server determines the first application, it can communicate with the server corresponding to the first application to determine the first search result, wherein the first application includes N interfaces, the N interfaces include a first interface, the N interfaces have a hierarchical relationship, the first interface includes first information, the first information is related to the search keyword, and the first search result includes the first information.

[0185] The server can divide the information of the application interface into multiple levels according to the hierarchical relationship between the application interfaces. In the embodiment of the present application, the interface of the application can be divided into multiple levels. Fig.10 Make an introduction.

[0186] Fig.10 A schematic diagram showing the division of interface levels provided by an embodiment of the present application is shown. Fig.10 In (a)-(f), the electronic device displays interface 1001, which is the main interface of application #1. In response to the user clicking on search 1002, the electronic device can jump from interface 1001 to interface 1003. In response to the user clicking on picture #1, the electronic device can jump from interface 1003 to interface 1004. In response to the user clicking on evaluation 1005, the electronic device can jump from interface 1004 to interface 1006. Similarly, in response to the user clicking on picture #2, the electronic device can jump from interface 1003 to interface 1007. In response to the user clicking on evaluation 1008, the electronic device can jump from interface 1007 to interface 1009. Based on the relationship between the above interfaces, the above interfaces can be divided into the following categories: Fig.10 The hierarchy shown in (g) in .

[0187] refer to Fig.10In (g), interface 1001 belongs to the first level, interface 1003 belongs to the second level, interface 1004 and interface 1007 belong to the third level, interface 1006 and interface 1009 belong to the fourth level, and interface 1001 includes a control for entering interface 1003, interface 1003 includes controls for entering interfaces 1004 and 1007, interface 1004 includes controls for entering interface 1006, and interface 1007 includes controls for entering interface 1009. Then interface 1001 is associated with interface 1003, interface 1003 is associated with interface 1004 and interface 1007, interface 1004 is associated with interface 1006, and interface 1007 is associated with interface 1009, but interface 1004 is not associated with interface 1007, interface 1004 is not associated with interface 1009, interface 1007 is not associated with interface 1006, and interface 1006 is not associated with interface 1009.

[0188] In summary, the server may divide the information in the above-mentioned interfaces into multiple levels according to the hierarchical relationship between the interfaces.

[0189] It should be noted that the above method of dividing the levels of the application interface is merely exemplary and should not be construed as a specific limitation on the embodiments of the present application.

[0190] In the embodiment of the present application, after dividing the information of the application interface into multiple levels, an inverted index for search can be established. The information of each interface is converted into a data structure, which includes an identifier, data information, level information, links and node information. The node information is used to indicate other data structures associated with it. Fig.10 Taking interface 1003 in as an example, the information of interface 1003 is converted into a data structure. The data information in the data structure is the information in interface 1003. The hierarchical information is used to indicate that the data structure is the second level. The node information is used to indicate that the parent node of the data structure is the data structure converted from interface 1001, and the child node is the data structure converted from interface 1004.

[0191] The server can search for information associated with the search keyword in the established inverted index based on the search keyword.

[0192] Combination Fig.10Taking the first search request of "fresh lobster" as an example, the server can perform word segmentation processing on "fresh lobster" to obtain "fresh" and "lobster", and then perform inverted indexing and semantic matching to obtain the second-level interface 1003, the third-level interface 1004, interface 1007 and the fourth-level interface 1006, interface 1009 all contain information associated with the search keyword. The server can obtain the information of the above interfaces and then obtain the first search result based on the information of the above interfaces.

[0193] It is understandable that, since the first search result includes a link to the entry interface, when the user selects information in the first search result, the electronic device may display the interface corresponding to the information. Figure 5 As shown in (c) and (d) in the figure, when the electronic device responds to the user selecting part of the displayed information, it can jump from the interface 503 to the interface 504 corresponding to the information to fully display the information.

[0194] S904: The server sends the first search result to the electronic device.

[0195] Correspondingly, the electronic device receives the first search result sent by the server.

[0196] S905. The electronic device displays a search result interface, where the search result interface includes the first search result.

[0197] For example, refer to Figure 4 In the GUI shown, the electronic device can display search results on interface 403, where the search results include information from interface #1 of application #1. Interface 403 can be called a search result interface.

[0198] Optionally, in some embodiments, the N interfaces include a second interface, the second interface includes second information, the second information is related to the search keyword, and the first search result also includes the second information.

[0199] For example, refer to Figure 5 In the GUI shown, the electronic device can display search results in interface 503, which includes information from interface #1 and interface #2 of application #1.

[0200] In an embodiment of the present application, an application can be determined based on the user's search request, and then information associated with the search request in the application can be obtained to determine the search results. Compared with the search method of searching on a search website, the search efficiency and accuracy can be improved, and the user experience is enhanced.

[0201] Optionally, in some embodiments, the N interfaces include a main interface of the first application (eg, Figure 6601) and also includes at least one of the following interfaces: a product preview interface of the first application (e.g., Figure 6 603 in the interface), the product details interface of the first application (for example, Figure 6 604), a user evaluation interface of the first application (eg, Figure 6 Interface 605).

[0202] Optionally, in some embodiments, the first information is product information (e.g. Figure 6 603 and information in interface 604) or evaluation information (e.g., Figure 6 information of interface 605 in the diagram).

[0203] Optionally, in some embodiments, the first interface is a product details interface, the second interface is a user evaluation interface, the first information is product information, and the second information is evaluation information, and the method further includes:

[0204] In response to the user selecting the second information, jump to the second interface.

[0205] For example, Figure 5 As shown in (b) and (d), the electronic device can jump from interface 503 to interface 504.

[0206] Optionally, in some embodiments, the method further comprises:

[0207] The electronic device receives at least one operation of returning to the upper-level page and returns from the second interface to the first interface.

[0208] For example, the second interface includes a return control. When the electronic device detects that the user clicks on the return control, it can return from the second interface to the first interface.

[0209] For another example, when the electronic device detects that the user slides from the edge of the screen to the middle of the screen, it can return from the second interface to the first interface.

[0210] Optionally, in some embodiments, the server may also send information related to the search keyword in the N interfaces to the electronic device, and the electronic device determines the first search result.

[0211] Optionally, in some embodiments, the method further comprises:

[0212] The server determines a second application and a second search result in the second application according to the search keyword, wherein the second application includes M interfaces, wherein the M interfaces have a hierarchical relationship, the M interfaces include a third interface, the third interface includes third information, and the third information is related to the search keyword;

[0213] The server sends a second search result to the electronic device, where the second search result includes third information;

[0214] The electronic device displays the second search result.

[0215] It should be understood that the description of determining the second search result can refer to the description of S903-S905, and for the sake of brevity, it will not be repeated here.

[0216] The electronic device may display the first search result and the second search result on the search result interface, and may also switch the first search result on the search result interface to the second search result in response to a user switching operation.

[0217] Optionally, in some embodiments, the method further comprises:

[0218] The server searches the first search request on the search website to obtain a third search result;

[0219] The server sends the third search result to the electronic device;

[0220] The electronic device displays the third search result.

[0221] Optionally, in some embodiments, the search result interface further includes a third search result, and the method further includes:

[0222] The electronic device searches the first search request on the search website to obtain a third search result;

[0223] The electronic device displays the third search result.

[0224] The electronic device may display the first search result and the third search result on the search result interface, and may also switch the first search result on the search result interface to the third search result in response to a user switching operation.

[0225] exist Fig. 9 In the illustrated embodiment, the server is a server of a provider of the electronic device. In other embodiments of the present application, the server may be a server of a provider of an application.

[0226] Fig.11 A schematic flow chart of the search method provided in the embodiment of the present application is shown. Fig.11 As shown, the method includes:

[0227] S1101, the electronic device determines a user's first search request.

[0228] S1102: The electronic device determines a first application according to a first search request.

[0229] The electronic device may be pre-set with a preset rule. After the electronic device determines the first search request, it determines the first application corresponding to the first search request according to the preset rule.

[0230] S1103, the electronic device sends a first search request to the first server.

[0231] Correspondingly, the server receives the first search request sent by the electronic device, and the server is the server corresponding to the first application.

[0232] After the electronic device determines the first application, it can call an application programming interface (API) of the first application to communicate with a first server of the first application to send a first search request.

[0233] S1104: The first server obtains a search keyword according to the first search request, and determines a first search result in the first application according to the search keyword.

[0234] S1105: The first server sends the first search result to the electronic device.

[0235] S1106, the electronic device displays a search result interface, where the search result interface includes the first search result.

[0236] It should be understood that the description of S1104-S1106 can refer to the description of S903-S905, and for the sake of brevity, they are not repeated here.

[0237] In an embodiment of the present application, an application can be determined based on the user's search request, and then information associated with the search request in the application can be obtained to determine the search results. Compared with the search method of searching on a search website, the search efficiency and accuracy can be improved, and the user experience is enhanced.

[0238] Optionally, in some embodiments, the N interfaces include a main interface of the first application and at least one of the following interfaces: a product preview interface of the first application, a product details interface of the first application, and a user evaluation interface of the first application.

[0239] Optionally, in some embodiments, the first information is product information or evaluation information.

[0240] Optionally, in some embodiments, the first interface is a product details interface, the second interface is a user evaluation interface, the first information is product information, and the second information is evaluation information, and the method further includes:

[0241] In response to the user selecting the second information, jump to the second interface.

[0242] Optionally, in some embodiments, the first server may also send information related to the search keyword in the N interfaces to the electronic device, and the electronic device determines the first search result.

[0243] Optionally, in some embodiments, the method further comprises:

[0244] The electronic device determines the second application according to the first search request;

[0245] The electronic device sends a first search request to a second server, where the second server is a server corresponding to the second application program;

[0246] The second server obtains a search keyword according to the first search request, and determines a second search result in the second application according to the search keyword;

[0247] The second server sends the second search result to the electronic device;

[0248] The electronic device displays the second search result.

[0249] Optionally, in some embodiments, the search result interface further includes a third search result, and the method further includes:

[0250] The electronic device searches the first search request on the search website to obtain a third search result;

[0251] The electronic device displays the third search result.

[0252] exist Fig. 9 and Fig.11 In the illustrated embodiment, the server obtains information associated with the search request in each interface of the application, but the present application is not limited to this. In other implementations of the present application, the electronic device may cache the application information, so that the electronic device may obtain information associated with the search request in each interface of the application to determine the search results without the participation of the server.

[0253] Fig.12 A schematic flow chart of the search method provided in the embodiment of the present application is shown. Fig.12 As shown, the method includes:

[0254] S1201, the electronic device obtains a user's first search request.

[0255] S1202: The electronic device obtains a search keyword according to a first search request, and determines a first application and a first search result of the first application according to the search keyword.

[0256] After the electronic device determines the first application, it can call the API of the first application to obtain information related to the search keyword in N interfaces of the first application, where the N interfaces have a hierarchical relationship and include a first interface, the first interface includes first information, and the first information is related to the search keyword.

[0257] S1203, the electronic device displays a search result interface, where the search result interface includes the first search result.

[0258] The first search result includes the first information.

[0259] It should be understood that the description of S1201-S1203 is similar to the description above and will not be repeated here for the sake of brevity.

[0260] In an embodiment of the present application, an application can be determined based on the user's search request, and then information associated with the search request in the application can be obtained to determine the search results. Compared with the search method of searching on a search website, the search efficiency and accuracy can be improved, and the user experience is enhanced.

[0261] Optionally, in some embodiments, the N interfaces include a second interface, the second interface includes second information, the second information is related to the search keyword, and the first search result also includes the second information.

[0262] Optionally, in some embodiments, the N interfaces include a main interface of the first application and at least one of the following interfaces: a product preview interface of the first application, a product details interface of the first application, and a user evaluation interface of the first application.

[0263] Optionally, in some embodiments, the first information is product information

[0264] Optionally, in some embodiments, the first interface is a product details interface, the second interface is a user evaluation interface, the first information is product information, and the second information is evaluation information, and the method further includes:

[0265] In response to the user selecting the second information, jump to the second interface.

[0266] Optionally, in some embodiments, the method further comprises:

[0267] The electronic device determines a second application and a second search result in the second application according to the search keyword;

[0268] The electronic device displays the second search result.

[0269] Optionally, in some embodiments, the search result interface further includes a third search result, and the method further includes:

[0270] The electronic device searches the first search request on the search website to obtain a third search result;

[0271] The electronic device displays the third search result.

[0272] The above mainly introduces a search method provided by an embodiment of the present application from the perspective of an electronic device and a server. It is understandable that, in order to realize the above functions, the electronic device and the server include hardware structures and / or software modules corresponding to the execution of each function. It should be easily appreciated by those skilled in the art that, in combination with the algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present application.

[0273] The embodiment of the present application can divide the processor in the electronic device into functional modules (or units) according to the above method example. For example, each functional module (or unit) can be divided corresponding to each function, or two or more functions can be integrated into one processing module (or unit). The above-mentioned integrated module (or unit) can be implemented in the form of hardware or in the form of software functional modules (or units). It should be noted that the division of modules (or units) in the embodiment of the present application is schematic, which is only a logical function division, and there may be other division methods in actual implementation.

[0274] In the case where each functional module (or unit) is divided according to each function, Fig.13 FIG. 1 shows a schematic diagram of an electronic device 1300 provided in an embodiment of the present application. Fig.13 As shown, the electronic device 1300 includes: a processing module 1310 , a transceiver module 1320 and a display module 1330 .

[0275] In some embodiments, the processing module 1310 is used to obtain a first search request.

[0276] The transceiver module 1320 is used to send a first search request to the server.

[0277] The transceiver module 1320 is further configured to receive the first search result sent by the server.

[0278] The display module 1330 is further configured to display a search result interface, where the search result interface includes the first search result.

[0279] In some embodiments, the processing module 1310 is used to obtain a first search request.

[0280] The processing module 1310 is further configured to determine the first application program according to the first search request.

[0281] The transceiver module 1300 is used to send a first search request to the server.

[0282] The transceiver module 1320 is further configured to receive the first search result sent by the server.

[0283] The display module 1330 is further configured to display a search result interface, where the search result interface includes the first search result.

[0284] In some embodiments, the processing module 1310 is used to obtain a first search request.

[0285] The processing module 1310 is further configured to obtain a search keyword according to the first search request, and determine a first application and a first search result of the first application according to the search keyword.

[0286] The display module 1330 is further configured to display a search result interface, where the search result interface includes the first search result.

[0287] In the case where each functional module (or unit) is divided according to each function, Fig.14 A schematic diagram of the composition of a server 1400 provided in an embodiment of the present application is shown. Fig.14 As shown, the electronic device 1400 includes: a processing module 1410 and a transceiver module 1420 .

[0288] In some embodiments, the transceiver module 1420 is used to receive a first search request.

[0289] The processing module 1410 is configured to obtain a search keyword according to a first search request, and determine a first application and a first search result of the first application according to the search keyword.

[0290] The transceiver module 1420 is further configured to send the first search result to the electronic device.

[0291] The embodiment of the present application provides a computer program product, when the computer program product is run on an electronic device, the electronic device executes the technical solution in the above embodiment. Its implementation principle and technical effect are similar to those of the above method-related embodiments, and will not be repeated here.

[0292] The embodiment of the present application provides a readable storage medium, the readable storage medium contains instructions, when the instructions are executed in an electronic device, the electronic device executes the technical solution of the above embodiment. The implementation principle and technical effect are similar, and will not be repeated here.

[0293] The embodiment of the present application provides a chip, the chip is used to execute instructions, when the chip is running, the technical solution in the above embodiment is executed. The implementation principle and technical effect are similar, and will not be repeated here.

[0294] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the embodiments of the present application.

[0295] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0296] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0297] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0298] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0299] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.

[0300] The above is only a specific implementation of the embodiment of the present application, but the protection scope of the embodiment of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or replacements within the technical scope disclosed in the embodiment of the present application, which should be included in the protection scope of the embodiment of the present application. Therefore, the protection scope of the embodiment of the present application should be based on the protection scope of the claims.

Claims

1. A search method, characterized in that: The method comprises: Obtaining a first search request, where the first search request is used to perform a global search on a terminal device; According to the first search request, a search keyword is obtained, and a first application and a first search result in the first application are determined according to the search keyword, wherein the first application includes N interfaces, wherein the N interfaces have a hierarchical relationship, the N interfaces include a first interface, the first interface includes first information, and the first information is related to the search keyword; A search result interface is displayed, wherein the search result interface includes the first search result, wherein the first search result includes the first information.

2. The method according to claim 1, characterized in that The N interfaces include a main interface of the first application and at least one of the following interfaces: a product preview interface of the first application, a product details interface of the first application, and a user evaluation interface of the first application.

3. The method according to claim 1 or 2, characterized in that: The first information is product information or evaluation information.

4. The method according to claim 1 or 2, characterized in that: The N interfaces also include a second interface, the second interface includes second information, the second information is related to the search keyword, and the first search result also includes the second information.

5. The method according to claim 4, characterized in that The first interface is a product details interface, the second interface is a user evaluation interface, the first information is product information, and the second information is evaluation information, and the method further includes: In response to the user selecting the second information, the second interface is jumped to and the second information is displayed.

6. The method according to claim 5, characterized in that The method further comprises: Receive at least one operation of returning to the previous level page, and return from the second interface to the first interface.

7. The method according to any one of claims 1 to 6, characterized in that The method further comprises: Determine a second application and a second search result in the second application according to the search keyword, wherein the second application includes M interfaces, wherein the M interfaces have a hierarchical relationship, the M interfaces include a third interface, the third interface includes third information, and the third information is related to the search keyword; The second search result is displayed, wherein the second search result includes the third information.

8. The method according to claim 7, characterized in that The first application and the second application are different types of applications.

9. The method according to claim 7 or 8, characterized in that: The search result interface displays the first search result and the second search result.

10. The method according to claim 7 or 8, characterized in that: The displaying of the second search result includes: In response to a user's operation of switching search results, the search result interface switches from the first search result to the second search result.

11. The method according to any one of claims 7 to 10, characterized in that After displaying the first search result and the second search result, the method further includes: Displaying first prompt information, where the first prompt information is used to indicate the first application and the second application; The displaying the first search result and the second search result includes: In response to the user selecting the first application, displaying the first search result; In response to the user selecting the second application, the second search result is displayed.

12. The method according to any one of claims 1 to 11, characterized in that The search result interface includes a third search result, and the method further includes: Searching the first search request on a search website to obtain a third search result; The third search result is displayed.

13. An electronic device, characterized in that: The method comprises one or more processors; one or more memories; the one or more memories store one or more computer programs, the one or more computer programs include instructions, and when the instructions are executed by the one or more processors, the method according to any one of claims 1 to 12 is executed.

14. A chip, characterized in that: The chip includes a processor and a communication interface, wherein the communication interface is used to receive a signal and transmit the signal to the processor, and the processor processes the signal so that the method according to any one of claims 1 to 12 is executed.

15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and when the computer instructions are executed on a computer, the method according to any one of claims 1 to 12 is executed.