Searching method, system and related device

By simplifying the search process, users can directly select search terms and obtain search results through sliding operations, solving the problem of cumbersome operations in the existing technology and improving search efficiency.

CN120066325APending Publication Date: 2025-05-30PETAL CLOUD TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311644306.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-30
Publication Date
2025-05-30

AI Technical Summary

Technical Problem

The existing search methods have complicated steps, and users need to trigger the display of search boxes, enter keywords and initiate searches many times, resulting in inefficient operation.

Method used

Provided a search method, simplifying the search process by displaying the first interface, receiving the user's sliding operation, and displaying search results after selecting the option of the search term.

Benefits of technology

Simplify the search process, improve search efficiency, and reduce the steps and time of user operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120066325A_ABST
    Figure CN120066325A_ABST
Patent Text Reader

Abstract

The invention discloses a search method and system and a related device, the search method and system are applied to electronic equipment, the electronic equipment comprises a display screen, and the method comprises the steps that a first interface is displayed, and the first interface comprises one or more application icons; receiving a first operation of a user for the first interface, wherein the contact position of the first operation and the display screen is a first position; in response to the first operation, a second interface is displayed, the second interface comprises one or more search term options, and the one or more search term options comprise the option of the first search term; receiving a sliding operation of a user starting from a first position of the display screen; when the sliding operation slides to the position where the option of the first search term is located, a selected identifier is displayed on the option of the first search term, and the selected identifier is used for prompting a user that the option of the first search term is selected; after the option of the first search term is selected, a third interface is displayed, and the third interface comprises the search result of the first search term. Therefore, the search process can be simplified, and the search efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technologies, and in particular, to a search method, system, and related devices. Background Art

[0002] With the continuous development of communication technologies, the interaction between electronic devices and servers or other electronic devices has become increasingly close. Users can initiate a search on an electronic device to the server and obtain search results.

[0003] During the process of searching for target information, the user needs to first trigger the electronic device to display a search box, then enter keywords in the search box, and after the keywords are entered, the user also needs to trigger the electronic device to initiate a search to the server. After the electronic device obtains the search results returned by the server, it can display the search results.

[0004] Using the above method, although the search can be completed, the user's operation steps are too many and the operation is cumbersome. Summary of the Invention

[0005] This application provides a search method, system, and related devices, which simplifies the search process and improves the search efficiency.

[0006] In a first aspect, this application provides a search method applied to an electronic device, where the electronic device includes a display screen. The method includes: displaying a first interface, where the first interface includes one or more application icons; receiving a first operation by the user on the first interface, where the contact position of the first operation with the display screen is a first position; in response to the first operation, displaying a second interface, where the second interface includes options for one or more search terms, and the options for one or more search terms include an option for a first search term; receiving a sliding operation starting from the first position on the display screen by the user; when the sliding operation slides to the position where the option for the first search term is located, displaying a selection mark on the option for the first search term, where the selection mark is used to prompt the user that the option for the first search term is selected; after the option for the first search term is selected, displaying a third interface, where the third interface includes search results for the first search term.

[0007] In this way, the search process can be simplified and the search efficiency can be improved.

[0008] In a possible implementation, before displaying the third interface, the method further includes:

[0009] After the option for the first search term is selected, searching for the option for the first search term through a search application.

[0010] In a possible implementation, searching for the option for the first search term through a search application specifically includes: obtaining search results for the first search term through a search application.

[0011] In a possible implementation, before displaying the second interface, the method further includes: in response to a first operation, obtaining first data stored in the clipboard; determining options for a first search term based on the first data.

[0012] In this way, options for the first search term can be determined based on the data in the clipboard.

[0013] In a possible implementation, before displaying the second interface, the method further includes: in response to a first operation, sending first information to a cloud server, the first information including event records of one or more applications on the electronic device; receiving a first solution sent by the cloud server; determining options for a first search term based on the first solution.

[0014] In this way, options for one or more search terms in the second interface can be determined based on one or more solutions sent by the cloud server.

[0015] In a possible implementation, before sending the first information to the cloud server, the method further includes: deleting sensitive information in the event records of one or more applications in the first information, the sensitive information being related to the user identity.

[0016] In this way, sending sensitive information to the cloud server can be avoided, protecting the user's privacy.

[0017] In a possible implementation, before displaying the second interface, the method further includes: in response to a first operation, determining a first solution based on the first information, the first information including event records of one or more applications on the electronic device; determining options for a first search term based on the first solution.

[0018] In this way, a first solution can be determined based on the event records of one or more applications, and then options for the first search term can be determined based on the first solution.

[0019] In a possible implementation, the event records of one or more applications include event records of a search application.

[0020] In a possible implementation, the first solution includes a first search term, or the first solution includes a second operation instruction for instructing the electronic device to perform a second operation through a second application.

[0021] Exemplarily, the second operation performed by the electronic device through the second application may include the electronic device obtaining any one or more of data such as search records, browsing records, product lists, and leaderboards of the second application.

[0022] In a possible implementation, when the first solution includes a second operation instruction, determining an option for the first search term based on the first solution specifically includes: determining that the second application has permissions related to the first solution based on the first solution; determining an option for the first search term based on the first solution.

[0023] In this way, based on the permissions of the application involved in the operation instruction, it can be determined whether the operation instruction can be executed, so as to retain the executable solutions and determine options for the search term based on the executable solutions.

[0024] In a possible implementation, the method further includes: receiving a second solution sent by a cloud server, or determining a second solution based on first information; the second solution includes a third operation instruction, and the third operation instruction is used to instruct the electronic device to perform a third operation through a third application; determining that the third application does not have permissions related to the second solution, and not displaying an option for the third operation instruction on a third interface.

[0025] Exemplarily, the third operation performed by the electronic device through the third application may include the electronic device obtaining any one or more pieces of data such as a search record, a browsing record, a product list, a leaderboard, etc. of the third application.

[0026] In this way, based on the permissions of the application involved in the operation instruction, it can be determined whether the operation instruction can be executed, so as to filter out the non-executable solutions.

[0027] In a possible implementation, the third interface is an interface in a search application, or the option for the first search term includes an application identifier of a first application, the first application is related to the first search term, and the third interface is an interface in the first application.

[0028] In this way, the electronic device can obtain search results related to the search term through the search application, or can also obtain search results of the search term within the application through other applications (such as a shopping application, etc.).

[0029] In a possible implementation, searching for an option for the first search term through the search application specifically includes: opening the first application through the search application based on the application identifier of the first application in the search options for the first search term.

[0030] In a possible implementation, displaying the second interface specifically includes: displaying the second interface based on a first position, and the display positions of one or more search term options in the second interface are different from the first position.

[0031] In this way, it is possible to prevent the user's finger from blocking the search term options displayed in the second interface, and it is also possible to prevent the user from accidentally touching the search term options.

[0032] In a possible implementation, during the sliding operation, the display positions of the options of one or more search terms in the second interface remain unchanged.

[0033] In this way, after the second interface is displayed, the display positions of the options of the search terms no longer change, facilitating user selection.

[0034] In a possible implementation, the first operation is a long - press operation.

[0035] In another possible implementation, the first operation can also be a long - press and slide - down operation, or a long - press and slide - up operation, etc.

[0036] In this way, the electronic device can display the second interface in response to the user's long - press operation (or long - press and slide - down operation, long - press and slide - up operation, etc.).

[0037] In a possible implementation, the starting position of the first operation is the blank area of the first interface.

[0038] In a second aspect, the present application provides an electronic device, including one or more processors and one or more memories. The one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program code. The computer program code includes computer instructions. When the one or more processors execute the computer instructions, the electronic device executes the search method in any possible implementation of any aspect above.

[0039] In a third aspect, an embodiment of the present application provides a computer storage medium, including computer instructions. When the computer instructions run on an electronic device, the electronic device executes the search method in any possible implementation of any aspect above.

[0040] In a fourth aspect, an embodiment of the present application provides a computer program product. When the computer program product runs on an electronic device, the electronic device executes the search method in any possible implementation of any aspect above.

[0041] The beneficial effects of the second aspect to the fourth aspect can refer to the beneficial effects of the first aspect above. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 It is a schematic diagram of the system architecture of the search system 10 provided by an embodiment of the present application;

[0043] Figure 2 It is a schematic diagram of the hardware structure of an electronic device 100 provided by an embodiment of the present application;

[0044] Figure 3 It is a schematic diagram of the hardware structure of a cloud server 200 provided by an embodiment of the present application;

[0045] Figures 4A to 4D This is a schematic diagram of the interface for a set of electronic devices 100 provided by an embodiment of the present application to execute a search method;

[0046] Figures 5A to 5F This is a schematic diagram of the interface for another set of electronic devices 100 provided by an embodiment of the present application to execute a search method;

[0047] Figures 6A to 6B This is a schematic diagram of the positional relationship between the position of a user's finger and recommended options provided by an embodiment of the present application;

[0048] Figures 7A to 7G This is a schematic diagram of the interface for another set of electronic devices 100 provided by an embodiment of the present application to execute a search method;

[0049] Figures 8A to 8C This is a schematic flowchart of a search method provided by an embodiment of the present application;

[0050] Figure 9 This is a schematic flowchart of a process for filtering unavailable solutions based on application permissions provided by an embodiment of the present application;

[0051] Figure 10A This is a search recommendation interface 1000 displayed by an electronic device 100 provided by an embodiment of the present application;

[0052] Figure 10B This is a search recommendation interface 1010 displayed by an electronic device 100 provided by an embodiment of the present application;

[0053] Figure 11 This is a schematic diagram of the functional modules of a search system 10 provided by an embodiment of the present application;

[0054] Figure 12 This is a schematic flowchart of a search method provided by an embodiment of the present application. Detailed implementation manners

[0055] Next, the technical solutions in the embodiments of the present application will be clearly and elaborately described with reference to the accompanying drawings. Among them, in the description of the embodiments of the present application, unless otherwise specified, " / " means "or". For example, A / B may represent A or B; "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B may represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the embodiments of the present application, "a plurality of" means two or more than two.

[0056] Hereinafter, the terms "first" and "second" are for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the quantity of the indicated technical features. Thus, features defined with "first" and "second" may explicitly or implicitly include one or more of such features. In the description of the embodiments of the present application, unless otherwise specified, the meaning of "a plurality" is two or more.

[0057] The term "user interface (UI)" in the following embodiments of the present application is a media interface for interaction and information exchange between an application or an operating system and a user, which realizes the conversion between the internal form of information and the form acceptable to the user. The user interface is source code written in a specific computer language such as Java, Extensible Markup Language (XML), etc. The interface source code is parsed and rendered on an electronic device and finally presented as content recognizable by the user. The common manifestation form of the user interface is the graphical user interface (GUI), which refers to the user interface related to computer operations displayed in a graphical manner. It can be visible interface elements such as text, icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, Widgets, etc. displayed on the display screen of an electronic device.

[0058] Figure 1 Fig. shows a schematic diagram of the system architecture of a search system 10 provided by an embodiment of the present application.

[0059] As Figure 1 shown, the search system 10 may include an electronic device 100 and a cloud server 200. In some embodiments, the cloud server 200 may include a plurality of different server modules, and each server module may implement different functions, such as a search function, a solution recommendation function, etc. In some other embodiments, the cloud server 200 may also be a server cluster composed of multiple servers, and in this server cluster, each server may implement different functions.

[0060] The electronic device 100 may be installed with a search application. The electronic device 100 may receive and respond to an operation by the user to enable the search application (e.g., a downward or upward swipe operation on the desktop, etc.), obtain the content stored in the clipboard, and obtain the event records of the search application within the time period 1. Optionally, the event records of other applications within the time period 1 may also be obtained. The electronic device 100 may determine one or more recommended options based on the content stored in the clipboard. The recommended options can be used to trigger the electronic device 100 to execute the operations specified by the recommended options (e.g., search for a specified word in a specified application, etc.). The electronic device 100 may establish a communication connection with the cloud server 200. The electronic device 100 may send a solution acquisition request to the cloud server 200, and the solution acquisition request may include the event records of the search application within the time period 1 and / or the event records of other applications within the time period 1. The solution acquisition request can be used to request the cloud server 200 to send one or more solutions to the electronic device 100.

[0061] The cloud server 200 may receive and respond to the solution acquisition request sent by the electronic device 100, determine one or more solutions for obtaining recommended options through the algorithm model stored in the cloud server 200, and each solution can obtain one or more recommended options after being executed. After determining one or more solutions, the cloud server 200 may send the one or more solutions to the electronic device 100.

[0062] After receiving the one or more solutions, the electronic device 100 may execute any one or more of the one or more solutions to determine one or more recommended options. Thereafter, the electronic device 100 may display the one or more recommended options, and the recommended options displayed by the electronic device 100 may include the recommended options determined by the electronic device 100 based on the content stored in the clipboard and / or the recommended options determined by the electronic device 100 after executing the solutions sent by the cloud server 200. The recommended options displayed by the electronic device 100 can be selected by the user, and the user's selection of different recommended options will trigger the electronic device 100 to execute different operations, such as searching for a specified word in the search application, installing a specified application in the application market, or searching for a specified word within a specified application, etc.

[0063] In some embodiments, a single word (also referred to as a search recommendation word) is displayed in the recommended option selected by the user. At this time, the electronic device 100 can receive and respond to the user's operation of selecting this recommended option, determine the word in this recommended option as the search term, and send a search request to the cloud server 200. The search request may include this search term, and the search request can be used to request the cloud server 200 to send the search results obtained based on this search term to the electronic device 100. The cloud server 200 can respond to the search request, obtain the search results related to the search term, and send the search results to the electronic device 100 through the communication connection with the electronic device 100. After receiving the search results, the electronic device 100 can display the search results.

[0064] In other embodiments, an application identifier and an operation instruction are displayed in the recommended option selected by the user. The electronic device 100 can also receive and respond to the user's operation of selecting this recommended option, and execute the operation indicated by this operation instruction (such as searching for a specified word in the application indicated by the application identifier, or installing a specified application in the application market, etc.).

[0065] It can be understood that Figure 1 The shown search system 10 is only an example. In the embodiments of the present application, the search system 10 may further include Figure 1 more, fewer, or different devices, which are not limited herein in the present application.

[0066] Figure 2 The structural schematic diagram of the electronic device 100 is shown.

[0067] The electronic device 100 can be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, as well as a cellular phone, a personal digital assistant (PDA), an augmented reality (AR) device, a virtual reality (VR) device, an artificial intelligence (AI) device, a wearable device, a vehicle-mounted device, a smart home device, and / or a smart city device. The specific type of this electronic device is not particularly limited in the embodiments of the present application.

[0068] The electronic device 100 may include a processor 110, 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, a sensor module 180, a button 190, a motor 191, an indicator 192, and a display screen 194, etc. Among them, the sensor module 180 may include a touch sensor 180K. Optionally, the sensor module 180 may further include any one or more of the following: a pressure sensor, a gyroscope sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, an ambient light sensor, a bone conduction sensor, etc.

[0069] It can be understood that the structure illustrated in the embodiments of the present invention 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 those illustrated, or combine certain components, or split certain components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0070] 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 processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units may be independent devices or integrated in one or more processors.

[0071] 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.

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

[0073] In some embodiments, the processor 110 may include one or more interfaces. The interfaces 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.

[0074] The USB interface 130 is an interface that complies with the USB standard specification. Specifically, it may be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transfer data between the electronic device 100 and peripheral devices. It can also be used to connect headphones to play audio. This interface can also be used to connect other electronic devices, such as AR devices, etc.

[0075] It can be understood that the interface connection relationship between the modules illustrated in the embodiments of the present invention is only for illustrative purposes and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0076] The charging management module 140 is used to receive a charging input from a charger. Among them, the charger can be a wireless charger or a wired charger. In some embodiments of wired charging, the charging management module 140 can receive the charging input from a wired charger through the USB interface 130. In some embodiments of wireless charging, the charging management module 140 can receive the wireless charging input through the wireless charging coil of the electronic device 100. While charging the battery 142, the charging management module 140 can also supply power to the electronic device through the power management module 141.

[0077] The power management module 141 is used to connect the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives the inputs from the battery 142 and / or the charging management module 140 and supplies power to the processor 110, the internal memory 121, the display screen 194, the wireless communication module 160, etc. The power management module 141 can also be used to monitor parameters such as the battery capacity, the number of battery cycles, and the battery health status (leakage, impedance). In some other embodiments, the power management module 141 can also be disposed in the processor 110. In some other embodiments, the power management module 141 and the charging management module 140 can also be disposed in the same device.

[0078] The wireless communication function of the electronic device 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, and the baseband processor, etc.

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

[0080] 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 can include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves by the antenna 1, filter, amplify, etc. 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 through the antenna 1 for radiation. In some embodiments, at least some functional modules of the mobile communication module 150 can be disposed in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 can be disposed in the same device.

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

[0082] The wireless communication module 160 may provide solutions for wireless communications applied to the electronic device 100, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite systems (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (IR), etc. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, demodulates and filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive the signal to be transmitted from the processor 110, frequency-modulate and amplify it, and convert it into electromagnetic waves through the antenna 2 for radiation.

[0083] In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, such that electronic device 100 can communicate with a network and other devices through wireless communication technologies. The wireless communication technologies 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-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology, etc. The GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), beidou navigation satellite system (BDS), quasi-zenith satellite system (QZSS), and / or satellite based augmentation systems (SBAS).

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

[0085] 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), and the display panel can also be an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLED, a Micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include one or N display screens 194, where N is a positive integer greater than 1.

[0086] The internal memory 121 may include one or more random access memories (RAM) and one or more non-volatile memories (NVM). The random access memory can be directly read and written by the processor 110, can be used to store the operating system or executable programs (such as machine instructions) of other running programs, and can also be used to store data of users and application programs, etc. The non-volatile memory can also store executable programs and store data of users and application programs, etc., and can be pre-loaded into the random access memory for the processor 110 to directly read and write.

[0087] In some embodiments, the electronic device 100 may further include an audio module 170, and the audio module 170 may include any one or more of the following: a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, etc. The electronic device 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor, etc. Such as voice input, music playback, etc.

[0088] The audio module 170 is used to convert digital audio information into an analog audio signal for 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 may be disposed in the processor 110, or some functional modules of the audio module 170 may be disposed in the processor 110.

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

[0090] The receiver 170B, also known as the "earpiece", is used to convert an audio electrical signal into a sound signal. When the electronic device 100 answers a call or a voice message, the user can listen to the voice by holding the receiver 170B close to the ear.

[0091] The microphone 170C, also known as the "microphone" or "transmitter", is used to convert a sound signal into an electrical signal. When making a call or sending a voice message, the user can speak close to the microphone 170C to input the sound signal into the microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In some other embodiments, the electronic device 100 can be provided with two microphones 170C, which can not only collect sound signals but also implement a noise reduction function. In some other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C, which can collect sound signals, reduce noise, identify the sound source, and implement functions such as directional recording.

[0092] The headphone jack 170D is used to connect a wired headphone. The headphone jack 170D can be a USB interface 130, or a 3.5 mm open mobile terminal platform (OMTP) standard interface, or a cellular telecommunications industry association of the USA (CTIA) standard interface.

[0093] The touch sensor 180K, also known as the "touch control device". The touch sensor 180K can be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 together form a touch screen, also known as the "touch control screen". The touch sensor 180K is used to detect a touch operation acting thereon or nearby. The touch sensor can transmit 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 some other embodiments, the touch sensor 180K can also be disposed on the surface of the electronic device 100, at a different position from that of the display screen 194.

[0094] The keys 190 include a power-on key, volume keys, etc. The keys 190 can be mechanical keys or touch keys. The electronic device 100 can receive key inputs and generate key signal inputs related to the user settings and function controls of the electronic device 100.

[0095] The motor 191 can generate vibration prompts. The motor 191 can be used for incoming call vibration prompts and also for touch vibration feedback. For example, touch operations applied to different applications (such as taking pictures, playing audio, etc.) can correspond to different vibration feedback effects. For touch operations applied to different areas of the display screen 194, the motor 191 can also correspond to different vibration feedback effects. Different application scenarios (such as: time reminder, receiving messages, alarm clock, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.

[0096] The indicator 192 can be an indicator light and can be used to indicate the charging status, power change, and can also be used to indicate messages, missed calls, notifications, etc.

[0097] Figure 3 The figure shows a schematic hardware structure diagram of a cloud server 200 provided by an embodiment of the present application.

[0098] As Figure 3 shown, the cloud server 200 may include: one or more network device processors 201, a memory 202, a communication interface 203, a transmitter 205, a receiver 206, a coupler 207, and an antenna 208. These components can be connected through a bus 204 or other means. Figure 3 Taking the connection through the bus as an example. Among them:

[0099] The communication interface 203 can be used for the cloud server 200 to communicate with other communication devices, such as communicating with electronic devices used by consumers of the project. Specifically, the communication interface 203 can be a 3G communication interface, a Long-Term Evolution (LTE) (4G) communication interface, a 5G communication interface, a WLAN communication interface, a WAN communication interface, and so on. Not limited to wireless communication interfaces, the cloud server 200 can also be configured with a wired communication interface 203 to support wired communication.

[0100] In some embodiments of the present application, the transmitter 205 and the receiver 206 can be regarded as a wireless modem. The transmitter 205 can be used to perform transmission processing on the signals output by the network device processor 201. The receiver 206 can be used to receive signals. In the cloud server 200, the number of the transmitter 205 and the receiver 206 can both be one or more. The antenna 208 can be used to convert the electromagnetic energy in the transmission line into electromagnetic waves in free space, or convert the electromagnetic waves in free space into electromagnetic energy in the transmission line. The coupler 207 can be used to divide the mobile communication signal into multiple paths and distribute them to multiple receivers 206. It can be understood that the antenna 208 of the network device can be implemented as a large-scale antenna array.

[0101] The memory 202 is coupled to the network device processor 201 and is used to store various software programs and / or multiple sets of instructions. Specifically, the memory 202 may include high-speed random access memory, and may also include non-volatile memory, such as one or more disk storage devices, flash memory devices, or other non-volatile solid-state storage devices.

[0102] The memory 202 may store an operating system (hereinafter referred to as the system), such as embedded operating systems like uCOS, VxWorks, RTLinux, etc. The memory 202 may also store a network communication program, which can be used to communicate with other communication devices.

[0103] In the embodiments of the present application, the network device processor 201 may be used to read and execute computer-readable instructions. Specifically, the network device processor 201 may be used to call a program stored in the memory 202, such as an implementation program of the search method provided by one or more embodiments of the present application, and execute the instructions included in the program.

[0104] It should be noted that Figure 3 The shown cloud server 200 is only one implementation manner of the embodiments of the present application. In practical applications, the cloud server 200 may further include more or fewer components, which are not limited herein.

[0105] Next, an interface schematic diagram of a set of electronic devices 100 executing the search method provided by the embodiments of the present application will be introduced.

[0106] Exemplarily, as Figure 4A shown, the electronic device 100 may display a desktop 400. A page with application icons is displayed on this desktop 400, and this page includes multiple application icons (for example, weather application icon, settings application icon, browser application icon, etc.). Below the page with application icons, a page indicator 402 is also displayed to indicate the total number of pages on the desktop and the positional relationship between the currently displayed page and other pages. For example, the desktop 400 may include three pages, and the black dot in the page indicator is located at the first position from the left, which may indicate that the currently displayed page is the first page from the left among the three pages. Optionally, above the page with application icons, a status bar 401 is also displayed, and this status bar 401 may include information such as a signal strength indicator, battery level, time, etc. Further optionally, there may be a dock area 403 below the page indicator, and one or more dock icons (for example, dial application icon, message application icon, contact application icon, camera application icon, etc.) may be included in this dock area 403, and one or more dock icons in this dock area may remain displayed during page switching.

[0107] The electronic device 100 can receive and respond to a user's downward sliding operation on the desktop 400, and display a search interface 410 as shown in Figure 4B shown.

[0108] As Figure 4B shown, the search interface 410 can include a search box 411, a search control 412, and one or more display bars, such as an application display bar 413, a search history bar 414, and a real-time hot search bar 415, etc. Among them, the search box 411 can be used to display the search term input by the user. The search control 412 can be used to trigger the electronic device 100 to obtain and display search results related to the search term. The application display bar 413 can display one or more application icons (such as a chat application icon, a video application icon, etc.), and the applications corresponding to the one or more application icons are the most recently used applications, and each application icon can be used to trigger the electronic device 100 to open the application corresponding to the application icon. One or more words (such as memo, sports meeting, etc.) can be displayed in the search history bar 414, and the one or more words are the words recently searched by the user. The words in the search history bar 414 can be used to trigger the electronic device 100 to re-obtain and display the search results of the word. The real-time hot search bar 415 can display one or more hot search entries, and the hot search entries can be used to trigger the electronic device 100 to display the search results corresponding to the hot search entry.

[0109] The electronic device 100 can receive and respond to a user's click operation on the search box 411, and as shown in Figure 4C shown, display a keyboard 416 on the search interface 410.

[0110] As Figure 4C shown, the keyboard 416 is overlaid and displayed on the search interface 410. The keyboard 416 can be used to receive and respond to the user's input, and display the word input by the user in the search box 411. For example, if the user's input is the word "dog", the word "dog" can be displayed in the search box 411.

[0111] The electronic device 100 can receive and respond to a user's click operation on the search control 412, determine that the word "dog" displayed in the search box 411 is the search term, obtain search results related to the search term, and display a search result interface 420 as shown in Figure 4D shown.

[0112] As Figure 4D shown, the search result interface 420 can include search results related to the search term "dog", such as pictures, videos, news, etc. related to "dog". The search result interface 420 can also display a search box 421 and a search control 422, and the current search term "dog" can also be displayed in the search box 421.

[0113] According toFigures 4A to 4D As can be seen from the illustrated embodiments, if the electronic device 100 adopts Figures 4A to 4D the illustrated search method, the user needs to perform multiple operations to complete the search, and the operations are complex. Moreover, the user is prone to accidental touches during the input process, which affects the search efficiency.

[0114] An embodiment of the present application provides a search method. The electronic device 100 may be installed with a search application and one or more other applications. The electronic device 100 may receive and respond to an operation of the user enabling the search application (for example, a downward sliding operation or an upward sliding operation on the desktop, etc.), obtain the content stored in the clipboard, and may also obtain an event record 1 of the search application and / or an event record 2 of one or more other applications. Among them, the event record 1 includes records of all search events that occurred in the time period 1 of the search application, and the event record 2 includes records of all events that occurred in the time period 1 of one or more other applications. The electronic device 100 may send a solution acquisition request to the cloud server 200. The solution acquisition request includes the event record 1 and / or the event record 2. The solution acquisition request may be used to request the cloud server 200 to send one or more solutions for obtaining recommended options to the electronic device 100. After the electronic device 100 receives one or more solutions sent by the cloud server 200, it may execute any one or more of the one or more solutions to obtain one or more recommended options. The electronic device 100 may also determine one or more recommended options based on the content in the clipboard. Thereafter, the electronic device 100 may display the one or more obtained recommended options. The electronic device 100 may receive and respond to an operation of the user selecting one of the recommended options, and obtain and display the search result of the selected recommended option.

[0115] The following introduces a search method provided in the embodiment of the present application in combination with an application scenario.

[0116] In some application scenarios, the electronic device 100 receives and responds to an operation of the user enabling the search application (for example, a long press operation on the blank area of the desktop, a long press downward sliding operation, a long press upward sliding operation, or other preset operations, etc.), and displays one or more recommended options, such as recommended option 1, etc. Words may be displayed on the recommended option 1. The electronic device 100 may receive and respond to an operation of the user sliding to the position where the recommended option 1 is located, and display a selection mark on (or near) the recommended option 1. The selection mark is used to prompt the user of the currently selected recommended option. The electronic device 100 may receive and respond to the user's release operation, obtain the search result related to the recommended option 1, and display the search result. Among them, the search result related to the recommended option 1 refers to the content obtained by the electronic device 100 that is related to the words displayed in the recommended option 1.

[0117] In this way, the operation steps are simplified and the search efficiency is improved.

[0118] Exemplarily, as Figure 5A shown, the electronic device 100 may display a desktop 400. For the specific content of the desktop 400, reference may be made to the relevant descriptions in the above Figure 4A illustrated embodiments, which will not be elaborated herein

[0119] The electronic device 100 may receive and respond to a long - press operation or a long - press and slide - down operation by the user on the blank area of the desktop 400, and display a search recommendation interface 510 as Figure 5B shown. It should be noted that after the user performs the long - press operation (or the long - press and slide - down operation), the user's finger (or other parts in contact with the display screen) may remain in contact with the display screen and stay on the display screen without leaving it

[0120] As Figure 5B shown, the search recommendation interface 510 may include one or more recommendation options, such as recommendation option 511, recommendation option 512, etc. Each recommendation option may include a word (also referred to as a search recommendation word), and the search recommendation words in each recommendation option are different. For example, the word "dog" may be displayed in recommendation option 511, and the word "color TV" may be displayed in recommendation option 512, etc. Each recommendation option may trigger the electronic device 100 to obtain and display the search results of the search recommendation word in that recommendation option. In some embodiments, the search recommendation interface 510 may further include a voice control 513, which can be used to trigger the electronic device 100 to collect the user's voice, convert the collected voice into text input, and obtain and display the search results of the text input

[0121] As Figure 5C shown, the electronic device 100 may detect an operation in which the user slides from the position where the long - press operation (or the long - press and slide - down operation) acts on the display screen to any one of the recommendation options

[0122] When the electronic device 100 detects that the user slides to the recommendation option 511, as Figure 5D shown, the electronic device 100 may change the display color of the recommendation option 511 and the text color in the recommendation option 511, and use different display colors to prompt the user that the currently selected recommendation option is the recommendation option 511. In the embodiments of the present application, the above - mentioned display colors, text colors, etc. different from other recommendation options can all be referred to as selection marks. The selection marks can be displayed on (or near) the recommendation options to prompt the user of the currently selected recommendation option. In some embodiments, the selection mark may also be a specific pattern, symbol, etc. The selection mark may also be a different text font, text thickness, text size, etc. of the text displayed in other recommendation options. The present application does not limit the specific form of the selection mark

[0123] When the user selects the recommendation option 511, the electronic device 100 can receive and respond to the user's release operation, and display the search result interface 520 as shown Figure 5E below.

[0124] As shown Figure 5E in Figure 5E , the search result interface 520 can display a page switching bar 521, and the page switching bar 521 can include one or more page switching controls, such as a local control, a comprehensive control 522, a web page control 523, an application control, etc. Each page switching control can be used to switch the page displayed in the search result interface 520. A mark 524 can also be displayed in the page switching bar 521. The mark 524 is displayed below (or above or other positions) the comprehensive control 522, and the mark 524 can be used to prompt the user that the page displayed in the current search result interface 520 is the comprehensive search page 530. The comprehensive search page 530 can include one or more search results. The one or more search results can include the best match result 531 of the local device, such as the content including "dog" in the memo. The one or more search results can also include the search results in one or more application markets, such as the C dog live application 532, the A dog input method application 533, etc. The one or more search results can also include the search results in the settings application 534, etc.

[0125] The electronic device 100 can receive and respond to the user's click operation on the web page control 523, and switch the comprehensive search page 530 in the search result interface 520 to Figure 5F the web page search page 540 as shown below.

[0126] As shown Figure 5F in Figure 5F , one or more search results related to "dog" searched on the web page can be displayed in the web page search page 540. The specific content of the web page search page 540 can also refer to the relevant description of the search result interface 420 shown in Figure 4D above, which will not be elaborated here. In addition, in the search result interface 520 shown in Figure 5F , the mark 524 in the page switching bar 521 is displayed below the web page control 523, and is used to prompt the user that the page displayed in the current search result interface 520 is the web page search page 540. Figure 4D below. Figure 5F below.

[0127] It can be understood that Figures 5A to 5F the embodiment shown in Figures 5A to 5F is only an example. In the embodiments of the present application, the recommendation options displayed by the electronic device 100 can also include more, fewer or different recommendation options from those in the above embodiments, and the present application does not make any limitations here.

[0128] In some embodiments, after the electronic device 100 receives an operation enabling the search application (for example, a downward swipe operation on the desktop, an upward swipe operation on the desktop, or other preset operations, etc.), when the user's finger stays on the display screen of the electronic device 100, one or more recommended options displayed by the electronic device 100 can avoid the contact position between the user's finger and the display screen and be displayed at other positions on the display screen. It should be noted that after the electronic device 100 displays the recommended options, the display positions of the recommended options in the display screen will no longer change. In this way, not only can the recommended options be prevented from being blocked by the user, but also the recommended options can be prevented from being accidentally touched by the user before the user makes a selection.

[0129] Exemplarily, the electronic device 100 receives and responds to the user's downward swipe operation, as Figure 6A shown, a search recommendation interface 600 is displayed. The search recommendation interface 600 can include one or more recommended options. For the specific content of the search recommendation interface 600, reference can be made to the relevant description in the search recommendation interface 510 shown above Figure 5B shown. After the user's downward swipe operation, the user's finger still stays at position a on the display screen. In this case, one or more recommended options in the search recommendation interface 600 can avoid position a and be scattered and displayed at other positions on the display screen. In some embodiments, if the search recommendation interface 600 further includes a voice control (or other controls), the display position of the voice control (or other controls) can also avoid the contact position between the user's finger and the display screen.

[0130] Another exemplarily, as Figure 6B shown, the electronic device 100 receives and responds to the user's downward swipe operation, and a search recommendation interface 610 is displayed. The search recommendation interface 610 can include one or more recommended options. For the specific content of the search recommendation interface 610, reference can be made to the relevant description in the search recommendation interface 510 shown above Figure 5B shown. After the user's downward swipe operation, the user's finger still stays at position b on the display screen. The position b on the display screen is different from the position a shown above Figure 6A shown. In this case, one or more recommended options in the search recommendation interface 610 can avoid position b and be scattered and displayed at other positions on the display screen. In some embodiments, if the search recommendation interface 610 further includes a voice control (or other controls), the display position of the voice control (or other controls) can also avoid the contact position between the user's finger and the display screen.

[0131] It can be understood that Figures 6A to 6B this is only an exemplary illustration. Multiple recommended options in the search recommendation interface can be displayed avoiding the contact position between the user's finger and the display screen to prevent the recommended options from being blocked or accidentally touched by the user. In the embodiments of the present application, the search recommendation interface can also include more than the aboveFigure 6A , Figure 6B There are more, fewer, or different recommended options than those in the above embodiments, and the distribution positions of the recommended options can also be different from those in the above embodiments. The present application does not make any limitations here.

[0132] In some application scenarios, the electronic device 100 can receive and respond to an operation by the user to enable a search application (for example, a downward swipe operation on the desktop, an upward swipe operation on the desktop, or other preset operations, etc.), and display one or more recommended options, such as recommended option 1, etc. The operation description (including application identifier 1 and operation instruction 1) can be displayed in recommended option 1. The electronic device 100 can receive and respond to an operation by the user to slide to the position where recommended option 1 is located, and display a selection identifier on (or near) recommended option 1, and the selection identifier is used to prompt the user of the currently selected recommended option. The electronic device 100 can receive and respond to the user's release operation, execute the operation indicated by operation instruction 1 through application 1, and display the interface after application 1 executes this operation, where application 1 is the application indicated by application identifier 1.

[0133] In this way, the electronic device 100 can obtain search results not only through the search application, but also through other applications.

[0134] Exemplarily, the electronic device 100 receives and responds to the user's downward swipe operation, as Figure 7A shown, and displays a search recommendation interface 700. The search recommendation interface 700 can include one or more recommended options, such as recommended option 701, recommended option 702, recommended option 703, etc. Optionally, the search recommendation interface 700 can further include a voice control 704. The display arrangement of the recommended options and the voice control 704 in the search recommendation interface 700 can refer to the relevant descriptions in the above Figures 6A to 6B shown embodiments, and will not be elaborated here. Among them, each recommended option can display a search recommendation word or an operation description (including an application identifier and an operation instruction). For example, the operation description "Search for <TV> in <Shopping App A>" can be displayed in recommended option 701, the application identifier can be "Shopping App A", and the operation instruction can be "Search for TV"; the operation description "Install <Shopping App B> in <App Market>" can be displayed in recommended option 702, the application identifier can be "App Market", and the operation instruction can be "Install Shopping App B". In some embodiments, if the application for executing the operation corresponding to the recommended option is a search application, the application identifier may not be displayed in the operation description of the recommended option. For example, the operation description "Search for products: <TV>" can be displayed in recommended option 703, the operation instruction can be "Search for product TV", and the application for executing this operation instruction is a search application.

[0135] When the electronic device 100 detects that the user swipes and pauses on the recommended option 701, as Figure 7B shown, the electronic device 100 can change the display color of the recommended option 701 and the text color in the recommended option 701, and prompt the user through different display colors that the currently selected recommended option is the recommended option 701. In the embodiments of the present application, the electronic device 100 can also use other types of selection identifiers to prompt the user of the currently selected recommended option. For specific descriptions, reference can be made to the relevant descriptions in the embodiments shown in Figure 5C above, and the present application will not elaborate here.

[0136] When the user selects the recommended option 701, the electronic device 100 can receive and respond to the user's release operation, open the shopping application A, search for "TV set" in the shopping application A, and display a shopping interface 710 as shown in Figure 7C shown. The shopping interface 710 is an interface in the shopping application A, and this interface is the search result page displayed after searching for "TV set" in the shopping application A.

[0137] As Figure 7C shown, the shopping interface 710 may include one or more product information related to TV sets, such as product information 711, product information 712, etc. Each product information may include the name, price, store, picture, etc. of the product, and the product information can be used to trigger the electronic device 100 to display the detailed interface of the product and display more detailed information of the product in the detailed interface. The shopping interface 710 may also include a search box, and the currently searched term "TV set" may also be displayed in the search box, etc.

[0138] Again exemplarily, when the electronic device 100 displays the above-mentioned Figure 7A shown search recommendation interface 700, when the electronic device 100 detects that the user swipes and pauses on the recommended option 702, as Figure 7D shown, the electronic device 100 can change the display color of the recommended option 702 and the text color in the recommended option 702, and prompt the user through different display colors that the currently selected recommended option is the recommended option 702. In the embodiments of the present application, the electronic device 100 can also use other types of selection identifiers to prompt the user of the currently selected recommended option. For specific descriptions, reference can be made to the relevant descriptions in the embodiments shown in Figure 5C above, and the present application will not elaborate here.

[0139] When the user selects the recommended option 702, the electronic device 100 can receive and respond to the user's release operation, open the app market, search for "shopping application B" in the app market, and display as shown in Figure 7EThe application market interface 720 shown. The application market interface 720 is an interface in the application market, and this interface is the search result page displayed after searching for "Shopping App B" in the application market.

[0140] As Figure 7E shown, the application market interface 720 may include one or more application options, such as application option 721, application option 722, etc. Each application option may include an application name, an application icon, the installation package size, the number of installations, and an installation control, etc. For example, application option 721 is the application option corresponding to Shopping App B. Application option 721 may include an installation control 723, and the installation control 723 can be used to trigger the electronic device 100 to download and install Shopping App B. The application option 721 may also include information such as the name of Shopping App B, the application icon, and the installation package size.

[0141] The electronic device 100 can receive and respond to a click operation by the user on the installation control 723, as Figure 7F shown, and display an installation progress bar 724. The installation progress bar 724 can be represented by the area occupied by different colors in the installation control 723. In some embodiments, the installation progress bar 724 can also adopt numbers or other forms to prompt the user of the installation progress of Shopping App B.

[0142] In some embodiments, when the electronic device 100 detects that Shopping App B is installed, it can open Shopping App B, search for "TV set" in Shopping App B, and display a shopping interface 730 as Figure 7G shown. The shopping interface 730 is an interface in Shopping App B, and this interface is the search result page displayed after searching for "TV set" in Shopping App B.

[0143] As Figure 7G shown, the shopping interface 730 may include one or more commodity information related to TV sets. The specific content of the one or more commodity information can refer to the relevant descriptions in the above Figure 7C shown embodiments. It should be noted that since the shopping interface 730 is the search result page displayed after searching for "TV set" in Shopping App B, Figure 7C the shopping interface 710 shown is the search result page displayed after searching for "TV set" in Shopping App A, and the shopping interface 730 may be different from the above Figure 7C shown shopping interface 710.

[0144] It can be understood that the above Figures 7A to 7GThe illustrated embodiments are merely examples. In the embodiments of the present application, the recommended options displayed in the search recommendation interface may also include more, fewer, or different recommended options than those in the above embodiments, and some recommended options may also display words (such as the recommended options in the above Figure 5B illustrated embodiments, etc.), and the present application does not make any limitations here.

[0145] The following introduces the specific process of a search method provided by the embodiments of the present application.

[0146] Figure 8A Illustrates the internal module interaction process of obtaining and displaying one or more recommended options during the execution of the search method by the electronic device 100.

[0147] As Figure 8A shown, the electronic device 100 may include an interface interaction module 11, a search application 12, and an operating system 13. During the process of obtaining and displaying one or more recommended options, the interaction process between each module inside the electronic device 100 and the cloud server 200 may include the following steps:

[0148] S801, the interface interaction module 11 receives and responds to the operation 1 of the user, and sends instruction 1 to the search application 12. Instruction 1 is used to instruct the search application to send recommended options.

[0149] The operation 1 of the user may be the operation of the user enabling the search application in the above Figures 5A to 7G illustrated embodiments (for example, a long-press operation on the blank area of the desktop, a long-press and slide-down operation, a long-press and slide-up operation, or other preset operations, etc.).

[0150] S802, the search application 12 sends request 1 to the operating system 13. Request 1 is used to obtain the content of the clipboard.

[0151] The search application 12 may receive and respond to instruction 1, and send request 1 to the operating system 13, requesting the operating system 13 to send the content of the clipboard to the search application 12.

[0152] It should be noted that step S802 and the following steps S805 and S806 are three steps that can be executed in parallel, and the embodiments of the present application do not limit the execution order of these three steps.

[0153] S803, the operating system 13 sends the content of the clipboard to the search application 12.

[0154] The operating system 13 may store the content cut by the user (such as text, pictures, hyperlinks, etc.) in the clipboard when detecting that the user uses the clipboard function.

[0155] After the operating system 13 receives the request 1 sent by the search application 12, the operating system 13 can obtain the content of the clipboard and send the content of the clipboard to the search application 12. In some embodiments, the content of the clipboard refers to the text content stored in the clipboard. In other embodiments, the content of the clipboard may include any one or more of the following: text, pictures, hyperlinks, etc. stored in the clipboard.

[0156] S804, the search application 12 determines one or more recommended options based on the content of the clipboard.

[0157] In the embodiments of the present application, the recommended options may include type A recommended options and type B recommended options. Different recommended options may correspond to different operations. Among them, each type A recommended option may include a word (which may also be referred to as a search recommendation word), and the operation corresponding to the type A recommended option may be a search operation performed by the search application 12 for the search recommendation word. Each type B recommended option may include an application identifier (such as an application name) and an operation instruction, and the operation corresponding to the type B recommended option may be an operation indicated by the operation instruction performed by another application (the application indicated by the application identifier in the recommended option) other than the search application 12. Exemplarily, the recommended options in the above Figure 5B and Figure 6A shown embodiments all belong to type A recommended options; the recommended option 701 and the recommended option 702 in the above Figure 7A shown embodiments belong to type B recommended options.

[0158] One or more recommended options determined by the search application 12 based on the content of the clipboard may include type A recommended options.

[0159] In some embodiments, the search application 12 may determine one or more recommended options based on the text content in the clipboard. For example, high-frequency nouns with a frequency of occurrence greater than a preset frequency (such as 1 time or 3 times, etc.) are determined from the text content as recommended options. In some embodiments, the search application 12 may also use the related words of the high-frequency nouns in the above text content as recommended options.

[0160] Exemplarily, Table 1 shows a correspondence relationship between the content of the clipboard and the recommended options provided by the embodiments of the present application.

[0161] Table 1

[0162]

[0163] As shown in Table 1, the electronic device 100 may determine one or more recommended options based on the content of the clipboard. For example, when the clipboard content includes "headphones, noise-canceling headphones, bone conduction headphones, XX model headphone review, received, getting ready right away!", the recommended options determined by the electronic device 100 may include "headphones, noise-canceling headphones, bone conduction headphones, XX model headphones". Among them, the recommended options may include words selected from the clipboard or words related to the words in the clipboard.

[0164] It can be understood that the embodiments shown in Table 1 are only exemplary illustrations that one or more recommended options can be determined based on the content of the clipboard. In the embodiments of the present application, the content of the clipboard may also include more, less, or different content from that in Table 1, and the recommended options may also include content different from the above embodiments. The present application does not make any limitations here.

[0165] In some embodiments, when the received clipboard content includes a picture, the search application 12 may also perform picture recognition, determine the object in the picture, and use the name of the object and related words as recommended options. For example, if the clipboard content includes a picture of a camera, the recommended options may include "camera, high-definition camera, mini camera, Leica camera", etc.

[0166] In some embodiments, when the received clipboard content includes a hyperlink, the search application 12 may also obtain the content in the page corresponding to the hyperlink, determine the theme of the page, and use the theme and related words as recommended options. For example, if the clipboard content includes a hyperlink to a camera purchase page, the recommended options may include "camera, high-definition camera, mini camera, Leica camera", etc.

[0167] In some embodiments, one or more recommended options determined by the search application 12 based on the content of the clipboard may also include type-B recommended options. The following is an exemplary introduction to the specific process of a search application 12 provided by the embodiments of the present application for determining one or more type-B recommended options based on the content of the clipboard:

[0168] 1. The search application 12 obtains one or more keywords from the content of the clipboard, and the keywords include keyword 1.

[0169] The search application 12 may obtain words with a frequency of occurrence higher than a preset frequency (such as 3 times, etc.) from the text content in the clipboard as keywords. In some embodiments, the search application 12 may also identify the picture content in the clipboard, the content in the page corresponding to the hyperlink, etc. to determine keywords. In some embodiments, the search application 12 may also determine keywords based on the already determined keywords and words associated with the keywords.

[0170] It can be understood that if the keyword includes multiple words, for keywords other than keyword 1, the search application 12 can also adopt the method described in the following steps to determine the recommended option corresponding to each keyword in turn.

[0171] 2. The search application 12 determines the word type of keyword 1.

[0172] In the embodiments of the present application, the word type may include any one or more of the following: electronic products, food, sports, health, home, travel, tourism, etc. For example, the types of words such as "headphone", "mobile phone", "TV set" are all electronic products; the types of words such as "running", "yoga" are all sports; the types of words such as "tea table", "wardrobe" are all home, etc.

[0173] The search application 12 can determine the word type corresponding to keyword 1 based on keyword 1.

[0174] 3. The search application 12 determines application 1 based on the word type of keyword 1.

[0175] The search application 12 can store the corresponding relationship between the word type and the application.

[0176] Exemplarily, Table 2 shows a corresponding relationship between the word type and the application provided in the embodiments of the present application.

[0177] Table 2

[0178] Word type Application Electronic product Shopping Application A, Shopping Application B Food Food review application, Food delivery application Sports Sports application Travel Map Application A, Map Application B

[0179] As shown in Table 2, the search application 12 can store the corresponding relationship between the word type and the application, and each word type can correspond to one or more applications. For example, electronic products can correspond to shopping application A and shopping application B; food can correspond to food review application and takeaway application; sports can correspond to sports application; travel can correspond to map application A and map application B, etc.

[0180] It can be understood that the embodiment shown in Table 2 is only an exemplary illustration that different word types can correspond to different applications. In the embodiments of the present application, the corresponding relationship between the word type and the application stored in the search application 12 may also include more, less or different contents than the above embodiments, and the present application does not make any limitations here.

[0181] After determining the word type of keyword 1, the search application 12 can determine application 1 corresponding to keyword 1 based on the corresponding relationship between the word type and the application.

[0182] It can be understood that, in some embodiments, keyword 1 may correspond to multiple applications, and these multiple applications may include Application 1. For these multiple applications, when searching for Application 12, the following steps 4 to 6 may be referred to, to sequentially determine whether each application has been installed and determine the recommended options.

[0183] 4. When searching for Application 12, determine whether Application 1 has been installed on electronic device 100.

[0184] If Application 1 has been installed on electronic device 100, when searching for Application 12, the following step 5 may be executed.

[0185] If Application 1 has not been installed on electronic device 100, when searching for Application 12, the following step 6 may be executed.

[0186] 5. When searching for Application 12, determine that the operation corresponding to the recommended option is "search for keyword 1 in Application 1".

[0187] 6. When searching for Application 12, determine that the operation corresponding to the recommended option is "install Application 1 in the application market".

[0188] It can be understood that the above embodiments are only examples. In the embodiments of the present application, when searching for Application 12, other methods may also be used to determine one or more Class B recommended options based on the content of the clipboard, and the present application does not make any limitations here.

[0189] S805, when searching for Application 12, obtain Event Record 1, where Event Record 1 includes the records of each search event executed by Application 12 within Time Period 1.

[0190] Application 12 may receive and respond to Instruction 1 sent by Interface Interaction Module 11 to execute step S805.

[0191] After Application 12 executes a search event, it may store the record of this search event. The record of each search event may include the search term and search time of this search event. Optionally, the record of the search event may further include the search frequency of the same search term, etc.

[0192] Exemplarily, Table 3 shows the records of one or more search events stored by Application 12 provided in the embodiments of the present application.

[0193] Table 3

[0194] Search time Search term October 10, 2023, 08:45 Full-screen TV October 10, 2023, 18:27 Noise-canceling headphones October 12, 2023, 12:34 Food recommendation October 13, 2023, 06:25 Fitness

[0195] As shown in Table 3, the search application 12 can store records of one or more search events. Each record of a search event can include the search time and search term of the search event. Among them, the search time can be used to represent the occurrence time of the search event, and the search term is used to represent the content searched in the search application 12. For example, at 08:45 on October 10, 2023, the user searched for the term "full-screen TV" in the search application 12. Then the search application 12 can store a record of the search event: the search time is 08:45 on October 10, 2023, and the search term is full-screen TV; at 18:27 on October 10, 2023, the user searched for the term "noise-canceling headphones" in the search application 12. Then the search application 12 can store a record of the search event: the search time is 18:27 on October 10, 2023, and the search term is noise-canceling headphones; at 12:34 on October 12, 2023, the user searched for the term "food recommendations" in the search application 12. Then the search application 12 can store a record of the search event: the search time is 12:34 on October 12, 2023, and the search term is food recommendations; at 06:25 on October 13, 2023, the user searched for the term "fitness" in the search application 12. Then the search application 12 can store a record of the search event: the search time is 06:25 on October 13, 2023, and the search term is fitness.

[0196] It can be understood that the embodiment shown in Table 3 is only an example. In the embodiments of the present application, the search application 12 can store more, less, or different content than that in Table 3, and the present application does not make any limitations here.

[0197] After the search application 12 receives the instruction 1 in step S801, in response to the instruction 1, the search application 12 can obtain the event record 1 from the stored records of one or more search events based on the relationship between the search time and the time period 1. The event record 1 includes the records of each search event executed by the search application 12 within the time period 1. The time period 1 can be a preset time period with the current time as the cut-off time, such as within three days with the current time as the cut-off time, within five days with the current time as the cut-off time, etc. The present application does not limit the specific duration of the time period 1. If the search time belongs to the time period 1, the search event corresponding to the search time belongs to the event record 1; if the search time does not belong to the time period 1, the search event corresponding to the search time does not belong to the event record 1.

[0198] Exemplarily, if the records of the search events stored in the search application 12 are as shown in Table 3 above, the time period 1 is within three days with the current time as the cut-off time, and the current time is 10:30 on October 13, 2023, the content of the event record 1 can refer to the content shown in Table 4 below.

[0199] Table 4

[0200] Search time Search term October 12, 2023, 12:34 Food recommendation October 13, 2023, 06:25 Fitness

[0201] As shown in Table 4, the records of the search events stored in the search application 12 are as shown in Table 3 above. When the time period 1 is within three days with the current time as the cut-off time, and the current time is 10:30 on October 13, 2023, the event record 1 may include the search terms "food recommendation" and "fitness", and may also include the search time of "food recommendation" at 12:34 on October 12, 2023, and the search time of "fitness" at 06:25 on October 13, 2023.

[0202] It can be understood that the embodiment shown in Table 4 above only exemplarily illustrates the relationship between the event record 1 and the records of the search events stored in the search application 12. In the embodiments of the present application, the event record 1 may also have content different from that shown in Table 4 above, and the present application does not make any limitations here.

[0203] S806. The search application 12 sends a request 2 to the operating system 13. The request 2 is used to obtain the event record 2, and the event record 2 includes the event records of other applications within the time period 1.

[0204] The search application 12 can receive and respond to the instruction 1 in step S801 and send a request 2 to the operating system.

[0205] In addition to the search application 12 in the electronic device 100, other applications (such as chat applications, shopping applications, social applications, video applications, etc.) may also be installed. In the embodiments of the present application, other applications may refer to one or more applications in the electronic device 100 other than the search application 12.

[0206] S807. The operating system 13 sends the event record 2 to the search application 12.

[0207] After other applications in the electronic device 100 execute an event, the operating system 13 may also store a record of the event in the memory of the electronic device 100. The record of each event stored by the operating system 13 may include the occurrence time of the event, the application name, and the event content, etc. Optionally, the record of each event may also include the occurrence frequency of the same event, etc.

[0208] Exemplarily, Table 5 shows an event record of other applications (applications other than the search application 12) stored by the operating system 13 provided in the embodiments of the present application.

[0209] Table 5

[0210] Occurrence time Application name Event content October 12, 2023, 11:34 Shopping Application A Search for noise-canceling headphones October 12, 2023, 17:25 Electronic product recommendation application C Browse the article "Headphone recommendation" October 13, 2023, 06:25 Video application D Watch the video "Headphone review"

[0211] As shown in Table 5, the operating system 13 can store event records of other applications in the memory of the electronic device 100. The record of each event can include the occurrence time of the event, the application name, and the event content. For example, at 11:34 on October 12, 2023, the user searches for noise-canceling headphones in shopping application A. Then the record of this event can include: the occurrence time is 11:34 on October 12, 2023, the application name is shopping application A, and the event content is searching for noise-canceling headphones; at 17:25 on October 12, 2023, the user browses the article "Headphone Recommendations" in the electronic product recommendation application C. Then the record of this event can include: the occurrence time is 17:25 on October 12, 2023, the application name is the electronic product recommendation application C, and the event content is browsing the article "Headphone Recommendations"; at 06:25 on October 13, 2023, the user watches the video "Headphone Review" in the video application D. Then the record of this event can include: the occurrence time is 06:25 on October 13, 2023, the application name is the video application D, and the event content is watching the video "Headphone Review".

[0212] It can be understood that the embodiment shown in Table 5 is only an example. In the embodiments of the present application, the event records of other applications stored by the operating system 13 may also include more, less, or different content than the embodiment shown in Table 5. The present application does not make any limitations here.

[0213] After the operating system 13 receives the request 2 sent by the search application 12, in response to the request 2, it can determine the event record 2 based on the relationship between the occurrence time of the event and the time period 1, and send the event record 2 to the search application 12.

[0214] In some embodiments, the applications installed in the electronic device 100 can be set with application permissions, and the operating system 13 can store the application permissions of multiple applications. Among these multiple applications, there may be one or more applications that do not allow other applications to obtain the information of this application (such as the event records of this application, the lists in the application, etc.). In this case, the event record 2 determined by the operating system 13 may not include the event records of the above one or more applications, avoiding the leakage of user privacy.

[0215] S808, the search application 12 anonymizes the event record 1 and the event record 2.

[0216] Step S808 is an optional step.

[0217] In some embodiments, the event record 1 and the event record 2 may also include sensitive information. For example, the account information (including the account number and username) of the user in the search application 12 or other applications, or the financial text messages in the text message application, etc. In this case, the search application 12 may anonymize the event record 1 and the event record 2, and delete the sensitive information in the event record 1 and the event record 2.

[0218] In this way, in subsequent steps, the anonymized event record 1 and event record 2 can be sent to the cloud server 200, avoiding the leakage of user privacy and better protecting the user's privacy security.

[0219] S809. The search application 12 sends a request 3 to the cloud server 200. The request 3 includes the event record 1 and / or the event record 2. The request 3 is used to request the cloud server 200 to send one or more solutions.

[0220] In some embodiments, the request 3 may include the event record 1 and the event record 2.

[0221] In other embodiments, the request 3 may also include only the event record 2 or only the event record 1. For example, in the case where the user uses the search application 12 for the first time and the search application 12 has no search event record, the request 3 may include only the event record 2, etc.

[0222] It should be noted that if the search application 12 executes the above step S808, the event record (such as the event record 1 and / or the event record 2) in the request 3 refers to the anonymized event record.

[0223] S810. The cloud server 200 determines one or more solutions based on the event record 1 and / or the event record 2. Each solution can be used to instruct the electronic device 100 to obtain one or more recommended options.

[0224] The relevant content of the recommended options can refer to the relevant description in the above step S803 and will not be elaborated here.

[0225] The cloud server 200 can determine one or more solutions for obtaining recommended options based on the event record (including the event record 1 and / or the event record 2) in the request 3 by using the algorithm model stored in the cloud server 200.

[0226] Exemplarily, in one scenario, the cloud server 200 can determine, based on the event record 1 of the search application 12, high-frequency search terms whose search frequency is greater than a preset frequency, such as high-frequency search term 1. Subsequently, the cloud server 200 can determine the word type of the high-frequency search term 1 and determine the application corresponding to the high-frequency search term 1 based on the word type of the high-frequency search term 1. When it is determined that the application corresponding to the high-frequency search term 1 includes Application 1, the cloud server 200 can determine a solution related to Application 1. For example, if the electronic device 100 installs Application 1, the recommended option for this solution can be "Search for high-frequency search term 1 in Application 1"; if the electronic device does not install Application 1, the recommended option for this solution can be "Go to the app market to install Application 1".

[0227] Also exemplarily, in another scenario, the cloud server 200 can determine, based on the event record 2, applications whose usage frequency is greater than a preset frequency, such as the electronic product recommendation application C. The cloud server 200 can also determine, based on the event record 2, that the electronic device 100 has already installed the shopping application A. Subsequently, the cloud server 200 can determine a solution related to the electronic product recommendation application C and the shopping application A. For example, if there is an electronic product a in the electronic product recommendation application C whose browsing frequency is greater than a preset frequency, the recommended option for this solution is "Search for electronic product a in the shopping application A".

[0228] It can be understood that the embodiments herein only exemplarily introduce two scenarios for determining solutions based on the event record in Request 3. In the embodiments of the present application, the cloud server 200 can also combine algorithm models such as large language models and determine solutions in a manner different from the above embodiments. The present application does not make any limitations here.

[0229] Exemplarily, Table 6 shows the event records received by three cloud servers 200 provided in the embodiments of the present application and the solutions determined based on the event records.

[0230] Table 6

[0231]

[0232] As shown in Table 6, if the cloud server 200 determines based on the event records in Request 3 that the usage frequency of the electronic product recommendation application C is higher than the preset frequency, the solution determined by the cloud server 200 may include the following steps: 1. Obtain the high-frequency search terms on the electronic product recommendation application C; 2. Determine whether the shopping application B is installed; 3. If the shopping application B is already installed, provide the recommendation option "Search for the word a in the shopping application B", where the word a belongs to the high-frequency search terms in step 1; 4. If the shopping application B is not installed, provide the recommendation option "Go to the app market to install the shopping application B". If the cloud server 200 determines based on the event records in Request 3 that the frequency of the user browsing the shopping list of the shopping application A is higher than the preset frequency, the solution determined by the cloud server 200 may include the following steps: 1. Obtain one or more product names in the shopping list of the shopping application A; 2. Provide the recommendation option "Search for the product b in the shopping application A", where the product b belongs to the product names in step 1; 3. Use the product names in step 1 as the search recommendation option "Search for the popular product b". If the cloud server 200 determines based on the event records in Request 3 that the high-frequency search terms in the search application 12 include headphones, the solution determined by the cloud server 200 may include the following steps: 1. Provide the recommendation option "Search for headphones in the shopping application A"; 2. Determine whether the shopping application B is installed; 3. If the shopping application B is already installed, provide the recommendation option "Search for headphones in the shopping application B"; 4. If the shopping application B is not installed, provide the recommendation option "Go to the app market to install the shopping application B".

[0233] It can be understood that Table 6 is only an example. In the embodiments of the present application, the solutions determined by the cloud server 200 may include more, fewer, or different solutions than those in Table 6, and the present application does not make any limitations here.

[0234] S811. The cloud server 200 sends one or more solutions to the search application 12 in the electronic device 100.

[0235] After determining one or more solutions, the cloud server 200 may send the one or more solutions to the search application 12.

[0236] S812. The search application 12 filters out unavailable solutions based on application permissions.

[0237] Step S812 is an optional step.

[0238] In some embodiments, the electronic device 100 may set permissions for applications based on the user's operation of setting application permissions (for example, prohibiting access by other applications, prohibiting obtaining event records of the application, etc.). Therefore, for some applications with relevant permissions set, the operating system 13 cannot send the information of these applications (such as event records such as search history and viewing history, and list information, etc.) to the search application 12.

[0239] After the search application 12 receives the solutions sent by the cloud server 200, it can sequentially determine whether each solution is available.

[0240] For the specific process of the search application 12 filtering out unavailable solutions based on application permissions, reference can be made to Figure 9 the relevant descriptions in the illustrated embodiments, which will not be elaborated here for the time being.

[0241] S813. The search application 12 executes one or more solutions to obtain one or more recommended options.

[0242] In some embodiments, if the search application 12 executes the above step S812, then the one or more solutions in step S813 refer to the one or more solutions remaining after being filtered by step S812.

[0243] In some embodiments, if all solutions are filtered out after executing step S812, the search application 12 may also not execute step S813.

[0244] S814. The search application 12 sends one or more recommended options to the interface interaction module 11.

[0245] In some embodiments, the recommended options in step S814 may include the recommended options obtained in the above step S804 and the recommended options obtained in the above step S813.

[0246] In other embodiments, the recommended options in step S814 may also only include the recommended options obtained in the above step S804, or only include the recommended options obtained in the above step S813. For example, in the case where there is no content in the clipboard, the recommended options sent by the search application 12 to the interface interaction module 11 may be the recommended options obtained in step S813. Another example is that in the case where all solutions are filtered out in step S812, the recommended options sent by the search application 12 to the interface interaction module 11 may be the recommended options obtained in step S804.

[0247] S815. The interface interaction module 11 displays one or more recommended options, and the one or more recommended options include recommended option 1.

[0248] The interface interaction module 11 may display one or more recommended options sent by the search application 12. The one or more recommended options may include type-A recommended options and / or type-B recommended options. Among them, search recommendation words may be displayed in the type-A recommended options, and operation descriptions may be displayed in the type-B recommended options. The operation description may include the application identifier of the application to execute the operation and the operation content. The type-A recommended options can be used to trigger the search application 12 to search for the search recommendation words, and the type-B recommended options can be used to trigger the application in the operation description to execute the operation in the operation description.

[0249] Exemplarily, the type-A recommended options displayed by the interface interaction module 11 may be one or more recommended options in the above Figure 5B shown embodiments; the type-B recommended options may be one or more recommended options in the above Figure 7A shown embodiments.

[0250] In some embodiments, when the interface interaction module 11 displays the recommended options, it may also detect the contact position of the user's finger with the display screen, avoid this contact position, and display the recommended options at other positions on the display screen. Exemplarily, the interface for the interface interaction module 11 to display the recommended options may refer to the above Figure 6A or Figure 6B shown embodiments.

[0251] If the recommended option 1 is a type-A recommended option, the specific process for the electronic device 100 to receive and respond to the user's operation on the recommended option 1 and execute the operation corresponding to the recommended option 1 may refer to the relevant content in the following Figure 8B shown embodiments.

[0252] If the recommended option 1 is a type-B recommended option, the specific process for the electronic device 100 to receive and respond to the user's operation on the recommended option 1 and execute the operation corresponding to the recommended option 1 may refer to the relevant content in the following Figure 8C shown embodiments.

[0253] It should be noted that in a possible implementation manner, the electronic device 100 or the cloud server 200 may not execute the above Figure 8A shown steps S809 to step S811. In this case, the electronic device 100 may also determine one or more solutions based on the event record 1 of the search application 12 and the event record 2 of other applications. The determination method of the one or more solutions may refer to the relevant description in the above step S810, and will not be elaborated here.

[0254] Figure 8B Shows a schematic diagram of the module interaction process for the electronic device 100 provided by the embodiment of the present application to execute the operation corresponding to the type-A recommended option.

[0255] AsFigure 8B As shown, the electronic device 100 may include an interface interaction module 11, a search application 12, and an operating system 13. When the recommended option 1 is a type-A recommended option, if the electronic device 100 receives an operation from the user for the recommended option 1, the interaction process among the modules inside the electronic device 100 and the cloud server 200 may include the following steps:

[0256] S821. When the recommended option 1 includes a search recommendation term 1, the interface interaction module 11 receives and responds to the operation of the user for the recommended option 1, and sends a search instruction to the search application 12. The search instruction includes the search recommendation term 1.

[0257] If the selected recommended option 1 by the user is a type-A recommended option and the recommended option 1 includes a search recommendation term 1, the search instruction sent by the interface interaction module 11 to the search application 12 may include the search recommendation term 1. The search instruction 1 can be used to instruct the search application 12 to obtain the search results for the search recommendation term 1.

[0258] In some embodiments, the operation of the user for the recommended option 1 may be an operation where the user slides a finger and pauses at the position where the recommended option 1 is located. For example, in the above Figures 5B to 5C shown embodiment, the operation where the user slides a finger and pauses on the recommended option 511, etc.

[0259] In other embodiments, if the user's finger leaves the display screen of the electronic device 100 after the electronic device 100 is triggered to display the recommended options, the operation of the user for the recommended option 1 may also be a click operation of the user for the recommended option 1, etc.

[0260] S822. The search application 12 sends a search request to the operating system 13. The search request includes the recommended option 1.

[0261] The search application 12 may receive and respond to the search instruction sent by the interface interaction module 11, and send a search request to the operating system 13. The search request is used to request the operating system 13 to search for search results 1 related to the recommended option 1 in the data of the electronic device 100 itself, and send the search results 1 to the search application 12. The search request may include the search recommendation term 1.

[0262] It should be noted that step S822 and the following step S823 may be executed simultaneously, or step S822 may be executed first and then step S823, or step S823 may be executed first and then step S822. This application does not limit the order of execution of these two steps.

[0263] S823. The search application 12 sends a search request to the cloud server 200. The search request includes the recommended option 1.

[0264] The search application 12 can receive and respond to the search instruction sent by the interface interaction module 11, send a search request to the cloud server 200. The search request is used to request the cloud server 200 to search for search results 2 related to the recommendation option 1, and send the search results 2 to the search application 12. The search request may include a search recommendation term 1.

[0265] S824, the operating system 13 sends the search results 1 of the recommendation option 1 to the search application 12.

[0266] The operating system 13 can receive and respond to the search request sent by the search application 12, obtain the search results 1. The search results 1 are the content related to the search recommendation term 1 searched by the operating system 13 in the data of the electronic device 100 itself. The search results 1 may include any one or more of text, pictures, applications, setting options, etc.

[0267] Exemplarily, the search results 1 may be the best matching result 531 in the above Figure 5E shown embodiment, or may be the search results 534 in the settings application, etc.

[0268] It should be noted that the execution order between step S824 and step S825 is related to the time when the operating system 13 obtains the search results 1 and the cloud server 200 obtains the search results 2. This application does not limit the execution order of step S824 and step S825.

[0269] S825, the cloud server 200 sends the search results 2 of the recommendation option 1 to the search application 12.

[0270] The cloud server 200 can receive and respond to the search request sent by the search application 12, obtain the search results 2. The search results 2 are the content related to the search recommendation term 1 searched by the cloud server 200. The search results 2 may include any one or more of text, pictures, videos, web links, etc.

[0271] Exemplarily, the search results 2 may be one or more of the search results in the above Figure 5F shown embodiment.

[0272] S826, the search application 12 sends the search results to the interface interaction module 11. The search results include the search results 1 and / or the search results 2.

[0273] In some embodiments, the search application 12 may send the search results 1 and the search results 2 to the interface interaction module 11.

[0274] In other embodiments, the search application 12 may also send the search results 1 or the search results 2 to the interface interaction module 11.

[0275] In other embodiments, the search application 12 may first send search result 1 to the interface interaction module 11, and after receiving the instruction from the interface interaction module 11 to obtain search result 2, send search result 2 to the interface interaction module 11. Alternatively, the search application 12 may first send search result 2 to the interface interaction module 11, and after receiving the instruction from the interface interaction module 11 to obtain search result 1, send search result 1 to the interface interaction module 11.

[0276] S827, the interface interaction module 11 displays the search results.

[0277] In some embodiments, the interface interaction module 11 may display search result 1 and search result 2. Figure 5E In the search result interface 520 shown, the best matching result 531, the search result in the setting application 534, etc. all belong to search result 1, and the search results in the application market, namely Cdog live broadcast application 532, Adog input method application 533, etc. all belong to search result 2.

[0278] In other embodiments, the interface interaction module 11 may only display search result 1, or only display search result 2. Figure 5F The search results displayed in the search result interface 520 all belong to search result 2.

[0279] It is understandable that the above Figure 8B The illustrated embodiment is merely an example. In an embodiment of the present application, when the recommended option selected by the user belongs to a Class A recommended option, the electronic device 100 may also execute a process different from that of the above embodiment, and the present application does not make any limitation thereto.

[0280] Figure 8C A schematic diagram of the module interaction flow of an electronic device 100 performing operations corresponding to a category A recommendation option provided by an embodiment of the present application is shown.

[0281] like Figure 8C As shown, the electronic device 100 may include an interface interaction module 11 and an application 14. In the case where the recommended option 1 is a Class B recommended option, if the electronic device 100 receives a user operation on the recommended option 1, the interaction process between the modules inside the electronic device 100 may include the following steps:

[0282] S831, when the recommended option 1 includes the application identifier 1 and the operation instruction 1, the interface interaction module 11 receives and responds to the user's operation on the recommended option 1, and the interface interaction module 11 sends the operation instruction 1 to the application 14, and the application 14 is the application indicated by the application identifier 1.

[0283] If the recommended option 1 selected by the user is a type B recommended option, and the recommended option 1 includes the application identifier 1 and the operation instruction 1, the interface interaction module 11 may send the operation instruction 1 to the application 14 indicated by the application identifier 1, and the operation instruction 1 is used to instruct the application 14 to perform the corresponding operation.

[0284] Exemplarily, the recommended option 1 may be the recommended option 701 in the above Figure 7B shown embodiment. At this time, the application identifier 1 may be the shopping application A, and the operation instruction 1 may be "search for a TV set".

[0285] Again exemplarily, the recommended option 1 may be the recommended option 702 in the above Figure 7D shown embodiment. At this time, the application identifier 1 may be the application market, and the operation instruction 1 may be "install the shopping application B".

[0286] S832, the application 14 performs the operation indicated by the operation instruction 1 and obtains the search result 2.

[0287] The operation indicated by the operation instruction 1 may be an operation with a single step.

[0288] Exemplarily, if the recommended option 1 is the recommended option 701 in the above Figure 7B shown embodiment, the application 14 may be the shopping application A, and the operation performed by the application 14 may be to search for a TV set in the shopping application A, and use the search result of the TV set in the shopping application A as the search result 2.

[0289] Again exemplarily, if the recommended option 1 is the recommended option 702 in the above Figure 7D shown embodiment, the application 14 may be the application market, and the operation performed by the application 14 may be to search for the shopping application B in the application market, and use the search result of the shopping application B in the application market as the search result 2.

[0290] In some embodiments, the operation indicated by the operation instruction 1 may also include multiple steps.

[0291] Exemplarily, if the recommended option 1 is the recommended option 702 in the above Figure 7D shown embodiment, the application 14 may be the application market, and the operation performed by the application 14 may also include the following steps: 1. Search for the shopping application B in the application market; 2. Install the shopping application B; 3. Start the shopping application B; 4. Search for a TV set in the shopping application B, and use the search result of the TV set in the shopping application B as the search result 2.

[0292] It can be understood that in the above embodiments, the operation indicated by operation instruction 1 may include a single step or multiple steps. In the embodiments of the present application, operation instruction 1 may also be an operation instruction different from the above embodiments, and the operation executed by application 14 may also be an operation different from the above embodiments. The present application does not make any limitations here.

[0293] In some embodiments, when application 14 executes the operation indicated by operation instruction 1, it may also interact with the server (or server module) corresponding to application 14 in cloud server 200 to obtain search result 2 sent by cloud server 200. In other embodiments, application 14 may also obtain search result 2 based on the information of application 14 stored locally. The present application does not make any limitations here.

[0294] S833. Application 14 sends search result 2 to interface interaction module 11.

[0295] S834. Interface interaction module 11 displays search result 2.

[0296] Exemplarily, if recommended option 1 is recommended option 701 in the above Figure 7B shown embodiment, the interface for interface interaction module 11 to display search result 2 may be shopping interface 710 shown above Figure 7C shown.

[0297] Another exemplarily, if recommended option 1 is recommended option 702 in the above Figure 7D shown embodiment, the interface for interface interaction module 11 to display search result 2 may be market application interface 720 shown above Figure 7E shown, or may also be shopping interface 730 shown above Figure 7G shown.

[0298] It can be understood that the above Figure 8C shown embodiment is only an example. In the embodiments of the present application, when the recommended option selected by the user belongs to category B recommended options, electronic device 100 may also execute a process different from the above embodiments. The present application does not make any limitations here.

[0299] By using the search method provided by the present application, not only can the search operation be carried out quickly and conveniently, but also personalized options can be recommended for the user based on the user's behavior information in different applications. Moreover, since cloud server 200 only provides solutions and the entity executing the solutions and determining the recommended options is electronic device 100, the user privacy and security can be better protected.

[0300] The following introduces the specific process of filtering unavailable solutions by search application 12 provided in the embodiments of the present application.

[0301] As Figure 9As shown, the electronic device 100 includes a search application 12 and an operating system 13. The specific process for the electronic device 100 to determine whether to filter Scheme 1 may include the following steps:

[0302] S901, the search application 12 determines an information source application based on the scheme steps of Scheme 1, where the information source application is the application that provides information in Scheme 1.

[0303] Scheme 1 is any one of one or more of the above Figure 8A shown in step S811.

[0304] During the execution of Scheme 1, it is necessary to obtain information (such as event records, list content in the application, etc.) in one or more applications. The one or more applications may be referred to as information source applications in the embodiments of the present application.

[0305] Taking Scheme a shown in Table 6 as an example, Scheme a needs to obtain the high-frequency search terms of the electronic product recommendation application C. Therefore, for Scheme a, the information source application may be the electronic product recommendation application C; taking Scheme b shown in Table 6 as an example, Scheme b needs to obtain one or more product names in the shopping list of the shopping application A. Therefore, for Scheme b, the information source application may be the shopping application A; taking Scheme c shown in Table 6 as an example, Scheme c does not need to obtain information from any application. Therefore, Scheme c does not have a corresponding information source application. It can be understood that the above embodiments are only exemplary illustrations of how to determine the information source application in the scheme. In the embodiments of the present application, Scheme 1 may correspond to more, fewer, or different information source applications from the above embodiments, and the present application does not make any limitations here.

[0306] In some embodiments, if Scheme 1 does not have a corresponding information source application, the search application 12 may determine that Scheme 1 is available. In this case, the search application 12 may execute the following step S904.

[0307] S902, the search application 12 sends an application permission acquisition request to the operating system 13, and the application permission acquisition request is used to request to obtain the application permission of the information source application.

[0308] In some embodiments, the application permission acquisition request may include the identifier of the information source application (such as the name of the information source application, etc.).

[0309] S903, the operating system 13 sends the application permission of the information source application to the search application 12.

[0310] The operating system 13 may store the application permissions of multiple applications in the electronic device 100. The operating system 13 may also receive and respond to an operation by the user to change the permission of any application, and update the stored application permissions.

[0311] Exemplarily, Table 7 shows the application permissions of multiple applications stored in the operating system 13 provided by an embodiment of the present application.

[0312] Table 7

[0313]

[0314] As shown in Table 7, the operating system 13 may store the application permissions of multiple applications of the electronic device 100. The application identifier of each application may correspond to one or more permissions and the status of the permission. For example, the permissions corresponding to the application identifier "Shopping Application A" may include "Other applications obtain information of this application" and "Open this application through other applications", and the status of both permissions is allowed. The permissions corresponding to the application identifier "Electronic Product Recommendation Application C" may include "Other applications obtain information of this application" and "Open this application through other applications", and the status of the former permission is prohibited and the status of the latter permission is allowed.

[0315] It can be understood that the embodiment shown in Table 7 is only an example. In the embodiment of the present application, the application permissions of multiple applications stored in the operating system 13 may include more, less or different content from that in Table 7, and the present application does not make any limitations here.

[0316] After receiving the application permission acquisition request sent by the search application 12, the operating system 13 may determine the application permissions of the information source application from the application permissions of the multiple stored applications based on the identifier of the information source application in the application permission acquisition request, and send the application permissions of the information source application to the search application 12.

[0317] S904. The search application 12 determines whether Solution 1 is available based on the application permissions of the information source application.

[0318] In some embodiments, if the information source application allows other applications to obtain information of this application, the search application 12 may determine that Solution 1 is available; if the information source application prohibits other applications from obtaining information of this application, the search application 12 may determine that Solution 1 is unavailable.

[0319] Exemplarily, when the information source application in Solution 1 is the Electronic Product Recommendation Application C and the Electronic Product Recommendation Application C prohibits other applications from obtaining information of this application, the search application 12 may determine that Solution 1 is unavailable. When the information source application in Solution 1 is the Shopping Application A and the Shopping Application A allows other applications to obtain information of this application, the search application 12 may determine that Solution 1 is available.

[0320] It can be understood that the above two embodiments are only exemplary illustrations of how to determine whether Solution 1 is available. In the embodiments of the present application, Solution 1 can also be a solution different from the above embodiments, and the application permissions of the information source application can also be different from the above embodiments. The present application does not make any limitations here.

[0321] In some other embodiments, the search application 12 can also determine whether Solution 1 is available based on whether the data indicated by Solution 1 for the search application 12 to obtain complies with the data acquisition permission of the electronic device 100. The electronic device 100 can store one or more types of data that are prohibited from being obtained, such as financial data, user privacy data, etc. When the search application 12 determines that the data indicated by Solution 1 for the search application 12 to obtain belongs to the data prohibited from being obtained, the search application 12 can determine that Solution 1 is unavailable; when the search application 12 determines that the data indicated by Solution 1 for the search application 12 to obtain does not belong to the data prohibited from being obtained, the search application 12 can determine that Solution 1 is available.

[0322] Exemplarily, when Solution 1 indicates that the search application 12 obtains financial data in the messaging application, and the financial data belongs to the data prohibited from being obtained set by the operating system of the electronic device 100, the search application 12 can determine that Solution 1 is unavailable. It can be understood that the embodiments here are only exemplary. In the embodiments of the present application, Solution 1 can also be a solution different from the above embodiments, and the data prohibited from being obtained can also be different from the above embodiments. The present application does not make any limitations here.

[0323] If it is determined that Solution 1 is available, the search application 12 can perform the following step S904.

[0324] If it is determined that Solution 1 is unavailable, the search application 12 can perform the following step S905.

[0325] S905, the search application 12 retains Solution 1.

[0326] S906, the search application 12 deletes Solution 1 from the one or more solutions received.

[0327] It can be understood that the search application 12 can use the Figure 9 shown method to sequentially determine whether each received solution is available. The present application will not elaborate here.

[0328] By using the search method provided in the embodiments of the present application, unavailable solutions can be filtered out, and the remaining available solutions can be executed, avoiding the time loss caused by executing unavailable solutions and improving efficiency.

[0329] In some embodiments, after determining the information source application, the search application 12 may also send the identifier of the information source application to the operating system 13. The operating system 13 may determine whether the application permission judgment scheme 1 of the information source application is feasible and send the judgment result to the search application 12. The search application 12 may determine whether to retain scheme 1 based on the judgment result sent by the operating system 13.

[0330] In some other embodiments, the search application 12 may also Figure 8A after the steps shown in S801, obtain the application permissions of all applications stored in the operating system 13 from the operating system 13. After receiving one or more schemes sent by the cloud server 200 in step S811, the search application 12 may determine whether each scheme is available based on the obtained application permissions of multiple applications and the schemes.

[0331] It can be understood that the above embodiments are only examples. In the embodiments of the present application, the search application 12 may also determine whether each scheme is available in a manner different from the above embodiments, and the present application does not limit this here.

[0332] In some embodiments, when the electronic device 100 receives scheme 1 sent by the cloud server 200 and determines that scheme 1 is available according to the above Figure 9 shown process, the electronic device 100 may execute scheme 1 to determine one or more recommended options. After determining the recommended options, the electronic device 100 may further determine whether the application corresponding to the application identifier in the recommended options allows other applications (such as the search application) to open based on the application identifier. When the application allows other applications to open, the electronic device 100 may display the recommended options; when the application prohibits other applications from opening, the electronic device 100 may not display the recommended options. In some embodiments, the electronic device 100 may obtain the application permissions corresponding to the application identifier based on the application identifier through the operating system and determine whether the application allows other applications to open based on the application permissions.

[0333] In some other embodiments, if scheme 1 includes an application identifier to be displayed in the recommended options, the electronic device 100 may also, when receiving scheme 1 sent by the cloud server 200, determine whether the application corresponding to the application identifier allows other applications to open based on the application identifier. If the application corresponding to the application identifier allows other applications to open, the electronic device 100 may retain scheme 1; if the application corresponding to the application identifier prohibits other applications from opening, the electronic device 100 may delete scheme 1.

[0334] The following describes the relationship between the recommended options displayed by the electronic device 100 and the application permissions in combination with specific scenarios.

[0335] Exemplarily, the electronic device 100 may be installed with a shopping application A, an evaluation application A, and an evaluation application B. Table 8 shows the application permission settings of the evaluation application A and the evaluation application B stored in the operating system 13 in the electronic device 100.

[0336] Table 8

[0337] Application identifier Permissions Status Evaluation application A Other applications obtain information about this application Allow Evaluation application B Other applications obtain information about this application Prohibit

[0338] As shown in Table 8, the operating system 13 may store the application permissions of the evaluation application A and the evaluation application B. According to Table 8, the evaluation application A allows other applications to obtain the information of this application, and the evaluation application B does not allow other applications to obtain the information of this application.

[0339] In some scenarios, the search application 12 receives multiple solutions sent by the cloud server 200, including solution a and solution b shown in Table 9 below.

[0340] Table 9

[0341]

[0342] As shown in Table 9, solution a may include the following steps: 1. Obtain the high-frequency search terms on the evaluation application A; 2. Provide a recommended option "Search for the word c in the shopping application A", where the word c is the high-frequency search term in step 1. Solution b may include the following steps: 1. Obtain one or more product names in the product recommendation list of the evaluation application B; 2. Provide a recommended option "Search for the product d in the shopping application A", where the product d belongs to the product names in step 1.

[0343] According to Table 9 above, the information source application of solution a is the evaluation application A. At the same time, according to Table 8 above, the evaluation application A allows other applications to obtain the information of this application. Therefore, in combination with Figure 9 the embodiments shown, solution a is an available solution. Similarly, according to Table 9 above, the information source application of solution b is the evaluation application B. At the same time, according to Table 8 above, the evaluation application B prohibits other applications from obtaining the information of this application. Therefore, in combination with Figure 9 the embodiments shown, solution b is an unavailable solution.

[0344] In summary, after determining that solution a is available and solution b is unavailable, the electronic device 100 may execute solution a and not execute solution b. After executing solution a, the electronic device 100 may obtain the recommended option "Search for the word c in the shopping application A".

[0345] Exemplarily, Figure 10A shows the interface of the electronic device 100 displaying the recommended option in the above situation, that is, the search recommendation interface 1000.

[0346] As Figure 10A shown, the search recommendation interface 1000 may display one or more recommendation options, such as recommendation option 1001, recommendation option 1002, recommendation option 1003, etc. The recommendation option 1001 may display an operation description "Search for <Word c> in <Shopping App A>". The recommendation option 1002 may display a search recommendation word "TV set", and the recommendation option 1003 may display a search recommendation word "Headphones", etc. Among them, the recommendation option 1001 is the recommendation option obtained after the electronic device 100 executes solution d.

[0347] It can be understood that Figure 10A the embodiments shown are only exemplary. When the applications involved in the solutions provided by the cloud server 200 are restricted by permissions and cannot be executed, the electronic device 100 may not execute the solutions and does not need to display the corresponding recommendation options. In the embodiments of the present application, the solutions provided by the cloud server 200, the applications installed on the electronic device 100, and the application permission settings of each application may all be different from the above embodiments, and the recommendation options displayed by the electronic device 100 may also be changed accordingly. The present application does not make any limitations here.

[0348] Next, the relationship between the recommendation options displayed by the electronic device 100 and the applications installed on the electronic device 100 will be described in combination with specific scenarios.

[0349] Exemplarily, the electronic device 100 may be installed with a shopping application A and an evaluation application A, and the shopping application B is not installed. The application permission settings of the evaluation application A may refer to the relevant content in the embodiment shown in Table 8 above, which will not be elaborated here.

[0350] In some scenarios, the search application 12 receives multiple solutions sent by the cloud server 200, including solution c shown in Table 10 below.

[0351] Table 10

[0352]

[0353] As shown in Table 10, solution c may include the following steps: 1. Obtain the high-frequency search terms on the evaluation application A; 2. Provide a recommendation option "Search for Word e in the shopping application A", where Word e is the high-frequency search term in step 1; 3. Determine whether the shopping application B is installed; 4. If the shopping application B is installed, provide a recommendation option "Search for Word e in the shopping application B"; 5. If the shopping application B is not installed, provide a recommendation option "Go to the app market to install the shopping application B".

[0354] It should be noted that in the embodiment shown in Table 10, since the event records received by the cloud server 200 include the event records of shopping application A, the cloud server 200 can determine that the electronic device 100 has installed shopping application A, but cannot determine whether the electronic device 100 has installed shopping application B. In some embodiments, if the event records received by the cloud server 200 do not include the event records of shopping application A, the solution f provided by the cloud server 200 may also include steps such as "judging whether to install shopping application A", which is not limited in this application.

[0355] According to Table 9 above, the information source application of solution c is evaluation application A. At the same time, according to Table 8 above, evaluation application A allows other applications to obtain the information of this application. Therefore, combining Figure 9 with the embodiments shown, solution c is an available solution. In addition, solution c also instructs the electronic device 100 to determine the options related to shopping application A and shopping application B. During the execution of solution c, since shopping application A is an application already installed on the electronic device 100, the option related to shopping application A, "search for the word e in shopping application A", can be determined; since shopping application B is an application not installed on the electronic device 100, the electronic device 100 can determine that the option related to shopping application B is "go to the application market to install shopping application B".

[0356] Exemplarily, Figure 10B it shows the interface of the electronic device 100 displaying recommended options in the above situation, that is, the search recommendation interface 1010.

[0357] As Figure 10B shown, the search recommendation interface 1010 can display one or more recommended options, such as recommended option 1011, recommended option 1012, recommended option 1013, etc. The recommended option 1011 can display the operation description "search for <word e> in <shopping application A>". The recommended option 1012 can display the operation description "go to <application market> to install <shopping application B>", and the recommended option 1013 can display the search recommendation word "headphone", etc. Among them, the recommended option 1011 and the recommended option 1012 are the recommended options obtained after the electronic device 100 executes solution f.

[0358] It can be understood that Figure 10BThe illustrated embodiments are merely exemplary. When the applications involved in the solutions provided by the cloud server 200 are not installed on the electronic device 100, the electronic device 100 may provide a recommended option for installing the application. In the embodiments of the present application, the solutions provided by the cloud server 200, the applications installed on the electronic device 100, and the application permission settings of each application may all be different from those in the above embodiments, and the recommended options displayed on the electronic device 100 may also be changed accordingly. The present application does not make any limitations here.

[0359] The following introduces a schematic diagram of the functional modules of a search system 10 provided by an embodiment of the present application.

[0360] As Figure 11 shown, the search system 10 may include an electronic device 100 and a cloud server 200. Among them, the electronic device 100 may include an interface interaction module 11, a search application 12, an operating system 13, and one or more other applications (including application 14).

[0361] The interface interaction module 11 may receive user operations, such as operation 1, operations of the user on the recommended options, etc. The interface interaction module 11 may also display interface elements, such as displaying recommended options, displaying search results, etc.

[0362] The search application 12 is an application with a search function installed on the electronic device 100. The search application 12 may obtain recommended options based on the content of the clipboard, or may obtain recommended options by executing the solutions provided by the cloud server 200.

[0363] The operating system 13 is the operating system of the electronic device 100. The operating system 13 may control the permissions of the applications running on the electronic device 100. For example, it may allow the search application to obtain information about an application, or may not allow the search application to obtain information about another application, etc.

[0364] Other applications (including application 14) other than the search application 12 installed on the electronic device 100 may provide application information such as event records. These application information may be used as the basis for the cloud server 200 to determine solutions, and may also be used as the information source for determining recommended options when executing solutions.

[0365] The cloud server 200 may communicate with the search application 12 and provide one or more solutions for the search application 12 based on the event records provided by the search application 12. These solutions may be used to obtain recommended options.

[0366] It should be noted that Figure 11 in the illustrated embodiments, the specific functions of the interface interaction module 11, the search application 12, the operating system 13, other applications such as application 14, and the cloud server 200 may all refer to the above Figures 8A to 9Regarding the relevant descriptions in the illustrated embodiments, they will not be elaborated herein in this application.

[0367] It can be understood that Figure 11 the illustrated embodiment is just an example. In the embodiments of this application, the search system 10 may also include more, fewer, or different functional modules than those in the above embodiments, and this application does not make any limitations here. Figure 11 Regarding the relevant descriptions in the illustrated embodiments, they will not be elaborated herein in this application.

[0368] In some other embodiments, the electronic device 100 may further include a solution determination module. The solution determination module can obtain the event records of the search application 12 and / or other applications, and determine one or more solutions based on the event records. In this case, the electronic device 100 may no longer send the event records to the cloud server 200. It should be noted that in some embodiments, the solution determination module may also be set in the search application 12, and this application does not make any limitations here.

[0369] Figure 12 FIG. shows a schematic flowchart of a search method provided by an embodiment of this application.

[0370] As Figure 12 shown, the specific process for the electronic device to execute the search method may include the following steps:

[0371] S1201. The electronic device displays a first interface, and the first interface includes one or more application icons.

[0372] The electronic device may include a display screen. The electronic device may be the electronic device 100 in the above embodiments.

[0373] Exemplarily, the first interface may be the desktop 400 shown above. Figure 5A shown.

[0374] S1202. The electronic device receives a first operation by the user on the first interface, and the contact position of the first operation with the display screen is a first position.

[0375] In one possible implementation, the first operation is a long - press operation.

[0376] In another possible implementation, the first operation may also be a long - press and slide - down operation, or a long - press and slide - up operation, etc.

[0377] In this way, the electronic device can respond to the long - press operation (or long - press and slide - down operation, long - press and slide - up operation, etc.) of the user and display a second interface.

[0378] In one possible implementation, the starting position of the first operation is a blank area of the first interface.

[0379] The first operation may be the above Figure 8AThe operation 1 in step S801 shown above.

[0380] S1203. In response to the first operation, the electronic device displays a second interface, which includes options for one or more search terms, and the options for one or more search terms include an option for a first search term.

[0381] Exemplarily, the second interface may be the search recommendation interface 510 shown above. Figure 5B Or it may be the search recommendation interface 600 shown above. Figure 6A Or it may be the search recommendation interface 700 shown above. Figure 7A

[0382] The options for one or more search terms may be one or more recommended options in step S815 shown above. Figure 8A

[0383] In one possible implementation, displaying the second interface specifically includes: displaying the second interface based on a first position, and the display positions of the options for one or more search terms in the second interface are different from the first position.

[0384]

[0385] In this way, it can avoid the user's finger from blocking the options for search terms displayed in the second interface and can also avoid the user accidentally touching the options for search terms.

[0385] S1204. The electronic device receives a sliding operation starting from a first position on the display screen by the user.

[0386] In the embodiments of the present application, the sliding operation refers to an operation in which the user slides on the display screen and then leaves the display screen. Among them, the operation of the user leaving the display screen (also referred to as the release operation) can be regarded as the end of the sliding operation.

[0387] Exemplarily, the first position may be the position where the user's long - press operation acts on the display screen as described above. Figure 5A

[0388] Figure 5B

[0389] Or, the first position may be the contact position between the user and the display screen in the embodiments shown above.

[0389] In one possible implementation, during the sliding process of the sliding operation, the display positions of the options for one or more search terms in the second interface remain unchanged.

[0390] In this way, after the second interface is displayed, the display positions of the options for search terms no longer change, which is convenient for the user to make a selection.

[0391] S1205. When the sliding operation slides to the position where the option of the first search term is located, the electronic device displays a selection mark on the option of the first search term, and the selection mark is used to prompt the user that the option of the first search term is selected.

[0392] Exemplarily, the option of the first search term may be the recommended option 511 shown above. Figure 5D The selection mark may refer to the relevant description in the above Figure 5D shown embodiment and will not be elaborated here.

[0393] S1206. After the option of the first search term is selected, the electronic device displays a third interface, and the third interface includes the search results of the first search term.

[0394] In a possible implementation manner, the third interface is an interface in the search application, or the option of the first search term includes the application identifier of the first application, the first application is related to the first search term, and the third interface is an interface in the first application.

[0395] In this way, the electronic device can obtain the search results related to the search term through the search application, or can also obtain the search results of the search term within the application through other applications (such as shopping applications, etc.).

[0396] Exemplarily, the third interface may be Figure 5E the search result interface 520 shown above, or may be Figure 7C the shopping interface 710 shown above, or may also be Figure 7E the application market interface 720 shown above.

[0397] By using the search method provided in the embodiments of the present application, the search process can be simplified and the search efficiency can be improved.

[0398] In a possible implementation manner, before displaying the third interface, the method further includes:

[0399] After the option of the first search term is selected, search for the option of the first search term through the search application.

[0400] In some embodiments, searching for the option of the first search term through the search application specifically includes: obtaining the search results of the first search term through the search application.

[0401] In some embodiments, the option of the first search term may further include the identifier of the first application. In this case, searching for the option of the first search term through the search application may also mean opening the first application by the option of the first search term displayed through the search application. At this time, the third interface may be an interface in the first application.

[0402] In a possible implementation, before displaying the second interface, the method further includes: in response to a first operation, obtaining first data stored in the clipboard; determining options for a first search term based on the first data.

[0403] The specific manner of determining options for the first search term based on the first data may refer to the relevant content in step S804 shown above. Figure 8A The relevant content in step S804 shown above.

[0404] In this way, options for the first search term can be determined based on the data in the clipboard.

[0405] In a possible implementation, before displaying the second interface, the method further includes: in response to a first operation, sending first information to a cloud server, the first information including event records of one or more applications on the electronic device; receiving a first solution sent by the cloud server; determining options for a first search term based on the first solution.

[0406] The cloud server may be the cloud server 200 in the above embodiment. The specific content of the first information may refer to the relevant description of request 3 in step S801 shown above. The first solution may be one of the solutions in step S811 shown above. The specific manner of determining options for the first search term based on the first solution may refer to the relevant content in step S813 shown above. Figure 8A The relevant description of request 3 in step S801 shown above. The first solution may be one of the solutions in step S811 shown above. The specific manner of determining options for the first search term based on the first solution may refer to the relevant content in step S813 shown above. Figure 8A The relevant content in step S813 shown above. Figure 8A The relevant content in step S813 shown above.

[0407] In this way, options for one or more search terms in the second interface can be determined based on one or more solutions sent by the cloud server.

[0408] In a possible implementation, before sending the first information to the cloud server, the method further includes: deleting sensitive information in the event records of one or more applications in the first information, the sensitive information being related to the user identity.

[0409] In the embodiments of the present application, the sensitive information may include information such as the user's account number that can identify the user identity, may also include information that can determine the user's financial status, and may also include information that can determine the user's health status (such as whether suffering from a disease, etc.). It can be understood that the embodiments here only exemplarily illustrate the specific content of several types of sensitive information. In the embodiments of the present application, the sensitive information may also include more, less, or different content from the above embodiments, and the present application does not make a limitation here.

[0410] In this way, it is possible to avoid sending sensitive information to the cloud server and protect the user's privacy.

[0411] In a possible implementation, before displaying the second interface, the method further includes: in response to a first operation, determining a first solution based on first information, where the first information includes event records of one or more applications on the electronic device; determining options for a first search term based on the first solution.

[0412] In this way, the electronic device can determine the first solution based on the event records of one or more applications, and then determine the options for the first search term based on the first solution.

[0413] In a possible implementation, the event records of one or more applications include event records of a search application.

[0414] In a possible implementation, the first solution includes a first search term, or the first solution includes a second operation instruction for instructing the electronic device to perform a second operation through a second application.

[0415] Exemplarily, the second operation performed by the electronic device through the second application may include the electronic device obtaining any one or more pieces of data such as search records, browsing records, product lists, leaderboards, etc. of the second application. It can be understood that in some embodiments, the second operation may further include other operations.

[0416] Exemplarily, the second operation instruction may refer to the solution steps of any one of the solutions shown in Table 6 above.

[0417] In a possible implementation, when the first solution includes a second operation instruction, determining the options for the first search term based on the first solution specifically includes: determining that the second application has permissions related to the first solution based on the first solution; determining the options for the first search term based on the first solution.

[0418] The specific process of determining that the second application has permissions related to the first solution based on the first solution may refer to the relevant content in the embodiments shown above Figure 9 and will not be elaborated here.

[0419] In this way, based on the permissions of the applications involved in the operation instruction, it can be determined whether the operation instruction can be executed, so as to retain the executable solutions and determine the options for the search term based on the executable solutions.

[0420] In a possible implementation, the method further includes: receiving a second solution sent by a cloud server, or determining a second solution based on the first information; the second solution includes a third operation instruction for instructing the electronic device to perform a third operation through a third application; determining that the third application does not have permissions related to the second solution, and not displaying options for the third operation instruction on the third interface.

[0421] Exemplarily, the third operation performed by the electronic device through the third application may include the electronic device obtaining any one or more pieces of data such as the search record, browsing record, product list, leaderboard, etc. of the third application. It can be understood that, in some embodiments, the third operation may further include other operations.

[0422] In this way, based on the permissions of the applications involved in the operation instruction, it can be determined whether the operation instruction can be executed, thereby filtering out the infeasible solutions.

[0423] The various embodiments of the present application can be combined arbitrarily to achieve different technical effects.

[0424] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions described in the present application are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (such as coaxial cable, optical fiber, digital subscriber line) or wirelessly (such as infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that the computer can access or a data storage device such as a server or data center that includes one or more integrated available media. The available medium can be a magnetic medium (for example, floppy disk, hard disk, magnetic tape), an optical medium (for example, DVD), or a semiconductor medium (for example, solid-state disk (SSD)), etc.

[0425] Those of ordinary skill in the art can understand all or part of the processes in the above-described method embodiments. These processes can be completed by relevant hardware instructed by a computer program. The program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the above-described method embodiments. The foregoing storage medium includes: ROM or random access memory RAM, magnetic disk, or optical disk and other media that can store program codes.

[0426] In summary, the above descriptions are only embodiments of the technical solutions of the present invention and are not intended to limit the protection scope of the present invention. Any modifications, equivalent replacements, improvements, etc. made based on the disclosure of the present invention shall be included within the protection scope of the present invention.

Claims

1. A search method, characterized in that, it is applied to an electronic device, the electronic device includes a display screen, and the method includes: displaying a first interface, the first interface includes one or more application icons; receiving a first operation of the user on the first interface, and the contact position of the first operation with the display screen is a first position; in response to the first operation, displaying a second interface, the second interface includes options of one or more search terms, and the options of the one or more search terms include an option of a first search term; receiving a sliding operation starting from the first position of the display screen by the user; when the sliding operation slides to the position where the option of the first search term is located, displaying a selection mark on the option of the first search term, and the selection mark is used to prompt the user that the option of the first search term is selected; after the option of the first search term is selected, displaying a third interface, and the third interface includes search results of the first search term.

2. The method according to claim 1, characterized in that, before displaying the third interface, the method further includes: after the option of the first search term is selected, searching for the option of the first search term through a search application.

3. The method according to claim 1 or 2, characterized in that, before displaying the second interface, the method further includes: in response to the first operation, obtaining first data stored in the clipboard; determining the option of the first search term based on the first data.

4. The method according to claim 1 or 2, characterized in that, before displaying the second interface, the method further includes: in response to the first operation, sending first information to a cloud server, and the first information includes event records of one or more applications on the electronic device; receiving a first solution sent by the cloud server; determining the option of the first search term based on the first solution.

5. The method according to claim 4, characterized in that, before sending the first information to the cloud server, the method further includes: deleting sensitive information in the event records of the one or more applications in the first information, and the sensitive information is related to the user identity.

6. The method according to claim 1 or 2, characterized in that, before displaying the second interface, the method further includes: in response to the first operation, determining a first solution based on first information, and the first information includes event records of one or more applications on the electronic device; determining the option of the first search term based on the first solution.

7. The method according to any one of claims 4-6, characterized in that, the event records of the one or more applications include event records of a search application.

8. The method according to any one of claims 4-7, characterized in that, the first solution includes the first search term, or the first solution includes a second operation instruction, and the second operation instruction is used to instruct the electronic device to perform a second operation through a second application.

9. The method according to claim 8, characterized in that, When the first solution includes the second operation instruction, the option of determining the first search term based on the first solution specifically includes: Determining, based on the first solution, that the second application has permissions related to the first solution; Determining the option of the first search term based on the first solution.

10. The method according to claim 9, wherein, The method further includes: Receiving a second solution sent by the cloud server, or determining the second solution based on the first information; the second solution includes a third operation instruction for instructing the electronic device to perform a third operation through a third application; Determining, based on the second solution, that the third application does not have permissions related to the second solution; Not displaying an option for the third operation instruction on the third interface.

11. The method according to any one of claims 1-10, wherein, The third interface is an interface in a search application, or the option of the first search term includes an application identifier of a first application, the first application is related to the first search term, and the third interface is an interface in the first application.

12. The method according to any one of claims 1-11, wherein, The displaying of the second interface specifically includes: Displaying the second interface based on the first position, and the display positions of the options of one or more search terms in the second interface are different from the first position.

13. The method according to claim 12, wherein, During the sliding process of the sliding operation, the display positions of the options of the one or more search terms in the second interface remain unchanged.

14. The method according to any one of claims 1-13, wherein, The first operation is a long-press operation.

15. An electronic device, wherein, It includes: One or more processors and one or more memories; the one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program code, the computer program code includes computer instructions, and when the one or more processors execute the computer instructions, the electronic device executes the method according to any one of claims 1-14 above.

16. A computer-readable storage medium including computer instructions, wherein, When the computer instructions run on an electronic device, the electronic device executes the method according to any one of claims 1-14 above.