Search result recommendation method and device

By optimizing search results by obtaining usage information from electronic devices, the problem of insufficient user experience in existing technologies is solved, and search result recommendations that are more in line with user habits and device status are achieved, thereby improving the user experience.

CN120973995APending Publication Date: 2025-11-18HUAWEI TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410614669.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-17
Publication Date
2025-11-18

AI Technical Summary

Technical Problem

How to improve the user experience of search functions on electronic devices, especially in complex search environments where existing technologies struggle to effectively match user habits and device status.

Method used

By detecting user commands, the system obtains device usage information such as application usage, real-time operation information, folding mode, and circulation status of electronic devices, and optimizes the filtering and sorting of search results to match user habits and device status.

Benefits of technology

It improves the relevance of search results and user experience, reduces loading time, and enhances the adaptability and convenience of the search function.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120973995A_ABST
    Figure CN120973995A_ABST
Patent Text Reader

Abstract

The invention provides a search result recommendation method and equipment, which are used for improving the search performance of electronic equipment and improving the use experience of a user on a search function of the electronic equipment. According to the method, the electronic equipment detects and responds to a search instruction of a user, and a search word can be obtained; the electronic equipment can obtain at least one piece of equipment use information; based on the obtained search term and the equipment use information, the electronic equipment can provide a search result matched with the equipment use information of the electronic equipment, and the provided search result can be obtained after screening and / or sorting. Therefore, the search result provided by the electronic equipment can fit the use habit of the user or can be matched with the use state of the electronic equipment, so that the use experience of the user can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic equipment technology, and in particular to a method and device for recommending search results. Background Technology

[0002] As electronic devices become increasingly sophisticated and feature-rich, users often need to use search engines to retrieve information in various scenarios. For example, on a mobile phone's home screen, a pull-down gesture can trigger a global search. Alternatively, voice assistants can be used for searching. Furthermore, some search-based apps also offer search functionality.

[0003] Due to limitations such as the complexity of search sources, improving the user experience of search functions on electronic devices is of great importance. Summary of the Invention

[0004] This application provides a search result recommendation method and device to improve the search performance of electronic devices and enhance the user experience.

[0005] The first aspect provides a search result recommendation method, wherein the executing entity of the method is a first electronic device. In this method, a first instruction is detected, the first instruction including a search term; device usage information is obtained; wherein the device usage information includes at least one of the following: historical statistical information on the application usage of the first electronic device, real-time operating information of the first electronic device, folded form information of the first electronic device, and circulation status information of the first electronic device; in response to the first instruction, a filtered search result or multiple sorted search results are provided based on the search term and the device usage information.

[0006] In this method, the first electronic device can provide optimized search results based on the device usage information by sensing device usage information at the operating system level. This allows the search results to match the user's usage habits on the first electronic device or the user's usage status of the first electronic device, thereby improving the user's experience of the electronic device's search function.

[0007] In one possible design, the historical statistics of the application usage of the first electronic device include at least one of the following: application APP usage duration information, APP opening count information, and APP last opening time information.

[0008] In this design, by obtaining historical statistics on the user's application usage on the first electronic device, the search results provided can be matched with the user's application usage habits. Priority can be given to recommending search results from the apps that the user has used the longest, the apps that the user uses most often, and the apps that the user has recently opened, thereby improving the user experience.

[0009] In one possible design, the real-time operating information of the first electronic device includes at least one of the following: background running information of the APP, network status information, remaining battery power information, running memory information, and storage space information.

[0010] In this design, by obtaining real-time operating information of the first electronic device, the search results provided can be adapted to the current operating status. For example, search results from apps currently running in the background can be prioritized, thereby reducing loading time due to redirection. Alternatively, search results adapted to network status, remaining battery power, RAM, and storage space can be prioritized, thereby improving the viewing experience of search results.

[0011] In one possible design, the folding configuration information of the first electronic device includes: folded state and unfolded state.

[0012] In this design, by acquiring the folding form information of the first electronic device, when the first electronic device is in a folded state, search results matching the folded state can be recommended first, and when the first electronic device is in an unfolded state, search results matching the unfolded state can be recommended first, thereby improving the user experience of the search function for electronic devices with folding functions.

[0013] In one possible design, the circulation status information of the first electronic device includes: circulation status and non-circulation status.

[0014] In this design, by acquiring the circulation status information of the first electronic device, when the first electronic device is transferred to the second electronic device, search results that match the second electronic device can be recommended first, thereby improving the user experience of the search function when the electronic device is in circulation.

[0015] In one possible design, the filtered search result is a first search result from a first app; the sorted multiple search results include: a first search result from the first app and a second search result from a second app; wherein, when the sorted multiple search results are provided through the display interface, the first search result is displayed above the second search result, and / or, the display area of ​​the first search result is larger than the display area of ​​the second search result. Furthermore, within a specified historical time period, the first app and the second app satisfy at least one of the following, but not limited to:

[0016] (1) The usage time of the first APP is longer than that of the second APP;

[0017] (2) The number of times the first APP is opened is greater than the number of times the second APP is opened;

[0018] (3) The last time the first APP was opened was later than the last time the second APP was opened.

[0019] In this design, by displaying the prioritized search results at the top or in a large display area, users can be easily reminded to prioritize the search results recommended to them. This ensures that the search results displayed to users are more in line with their usage habits and improves their viewing experience.

[0020] In one possible design, the filtered search result is a first search result from a third app; the sorted search results include a third search result from a third app and a fourth search result from a fourth app; wherein, when the sorted search results are provided through a display interface, the third search result is displayed above the fourth search result, and / or, the display area of ​​the third search result is larger than the display area of ​​the fourth search result. The third app and the fourth app satisfy at least one of the following:

[0021] (1) The third APP is running in the background, while the fourth APP is not running in the background; or, both the third APP and the fourth APP are running in the background.

[0022] (2) When the network status information indicates a first network status, the third APP has higher requirements for the network status than the fourth APP; when the network status information indicates a second network status, the third APP has lower requirements for the network status than the fourth APP; wherein, the first network status is better than the network status threshold and the second network status is worse than the network status threshold.

[0023] (3) When the remaining power information indicates a first remaining power, the third APP has a higher requirement for the remaining power than the fourth APP; when the remaining power information indicates a second remaining power, the third APP has a lower requirement for the remaining power than the fourth APP; wherein, the first remaining power is higher than the remaining power threshold, and the second remaining power is less than the remaining power threshold;

[0024] (4) When the running memory information indicates the first remaining running memory, the third APP's requirement for remaining running memory is higher than that of the fourth APP; when the running memory information indicates the second remaining running memory, the third APP's requirement for remaining running memory is lower than that of the fourth APP; wherein, the first remaining running memory is more than the remaining running memory threshold, and the second remaining running memory is less than the remaining running memory threshold;

[0025] (5) When the storage space information indicates a first remaining storage space, the third APP's requirement for remaining storage space is higher than that of the fourth APP; when the storage space information indicates a second remaining storage space, the third APP's requirement for remaining storage space is lower than that of the fourth APP; wherein, the first remaining storage space is higher than the remaining storage space threshold, and the second remaining storage space is less than the remaining storage space threshold.

[0026] In this design, by displaying the prioritized search results at the top or in a large display area, users can be easily reminded to prioritize the search results recommended to them. This ensures that the search results viewed by the user are more in line with the current operating status of the electronic device, thus guaranteeing the user's viewing experience.

[0027] In one possible design, providing a filtered single search result or multiple sorted search results based on the search term and the device usage information includes the following two scenarios:

[0028] (1) When the folding state information of the first electronic device is the folded state, provide M search results from M APPs;

[0029] (2) When the folded state information of the first electronic device is the unfolded state, N search results from N apps are provided; the N search results belong to the M search results, where N is less than M and N is a positive integer. The N apps satisfy at least one of the following: they are HD versions and have in-app split-screen functionality.

[0030] In this design, by displaying the prioritized search results at the top or in a large display area, users can be easily reminded to prioritize the search results recommended to them. This ensures that the search results displayed to users are more in line with the folding form of electronic devices, thus guaranteeing the user's viewing experience.

[0031] In one possible design, providing a filtered single search result or multiple sorted search results based on the search term and the device usage information includes the following two scenarios:

[0032] (1) When the circulation status information of the first electronic device is the non-circulation state, provide P search results from P APPs;

[0033] (2) When the flow status information of the first electronic device is the flow state, Q search results from Q APPs are provided; the Q search results belong to the P search results, Q is less than P, and Q is a positive integer. The Q APPs satisfy at least one of the following:

[0034] 2-1) The second electronic device is equipped with the Q APPs; wherein the second electronic device is a transfer device for the first electronic device;

[0035] 2-2) The Q APPs of the second electronic device are the second version, and the APPs other than the Q APPs among the P APPs are the first version; wherein, the second version is the version adapted according to the device type of the second electronic device, and the first version is the ordinary version without distinguishing the device type.

[0036] In this design, by displaying the prioritized search results at the top or in a large display area, users can be easily reminded to prioritize the search results recommended to them. This ensures that the search results viewed by users are more in line with the status of electronic devices and guarantees the user's viewing experience.

[0037] In one possible design, providing a filtered search result or multiple sorted search results based on the search term and the device usage information includes: responding to the first instruction by sending a search request message to a server, the search request message including the search term; receiving a first set of search results from the server; and adjusting the first set of search results based on the device usage information to obtain a second set of search results; wherein the second set of search results is used to indicate the filtered search result or the multiple sorted search results.

[0038] In this design, electronic devices can adjust search results from the cloud based on device usage information obtained by the electronic device, thereby improving the relevance of the search results provided by the electronic device to user habits or the matching degree with the device status.

[0039] In one possible design, the first search result set and the second search result set satisfy at least one of the following:

[0040] (1) The display order of the L search results included in the second search results set is different from the display order of the L search results included in the first search results set;

[0041] (2) The number of search results included in the second search results set is less than the number of search results included in the first search results set.

[0042] In this design, electronic devices can optimize search results from the cloud through filtering or reordering, thereby improving the relevance of the search results to user habits or the matching degree with the device's status.

[0043] In one possible design, the APP includes, but is not limited to, at least one of the following:

[0044] (1) An APP installed on the first electronic device;

[0045] (2) A quick app that is not installed on the first electronic device;

[0046] (3) The applet that is not installed on the first electronic device.

[0047] This design allows for adjustments to search results by acquiring device usage information across various scenarios, thereby providing search results from multiple sources and enhancing the richness of the provided results.

[0048] A second aspect provides an apparatus comprising a plurality of functional modules; the plurality of functional modules interact to implement the methods performed by the first electronic device in the first aspect and its embodiments described above. The plurality of functional modules may be implemented based on software, hardware, or a combination of software and hardware, and the plurality of functional modules may be arbitrarily combined or divided based on specific implementations.

[0049] A third aspect provides an apparatus comprising at least one processor and at least one memory, wherein the at least one memory stores computer program instructions, and when the apparatus is in operation, the at least one processor performs the method performed by the first electronic device described in the first aspect and its embodiments.

[0050] The fourth aspect also provides a program product that, when run on a device, causes the device to perform the method executed by the first electronic device in any of the above aspects and embodiments.

[0051] The fifth aspect also provides a readable storage medium storing a program that, when executed by a device, causes the device to perform the method executed by the first electronic device in any of the above aspects and embodiments.

[0052] A sixth aspect also provides a chip for reading a program stored in a memory and executing the method performed by the first electronic device in any of the above aspects and embodiments.

[0053] A seventh aspect also provides a chip system including a processor for supporting a device in performing the methods executed by the first electronic device in any of the above aspects and embodiments. In one possible design, the chip system further includes a memory for storing the necessary programs and data. The chip system may be composed of chips or may include chips and other discrete devices.

[0054] It should be noted that the beneficial effects of the various designs of the electronic devices provided in the second to seventh aspects of the embodiments of this application can be referred to the beneficial effects of any possible design in the first aspect, and will not be repeated here. Attached Figure Description

[0055] Figure 1A A schematic diagram of the search scenario is shown;

[0056] Figure 1B A diagram illustrating another search scenario was provided;

[0057] Figure 1C This diagram illustrates yet another search scenario;

[0058] Figure 2A schematic diagram of the hardware structure of a possible electronic device is shown;

[0059] Figure 3 A software architecture block diagram of an electronic device provided in an embodiment of this application;

[0060] Figure 4 A schematic diagram of a system architecture that may be applicable to a search result recommendation method provided in this application embodiment;

[0061] Figure 5 This is a schematic diagram illustrating a possible scenario to which the search result recommendation method provided in this application embodiment may be applied;

[0062] Figure 6 This is a schematic diagram illustrating another scenario to which the search result recommendation method provided in this application embodiment may be applied;

[0063] Figure 7 This is a schematic diagram illustrating another possible scenario to which the search result recommendation method provided in this application embodiment may be applied;

[0064] Figure 8 One of the display interfaces for a search result recommendation method provided in this application embodiment;

[0065] Figure 9 A second display interface for a search result recommendation method provided in an embodiment of this application;

[0066] Figure 10 The third display interface for a search result recommendation method provided in this application embodiment;

[0067] Figure 11 The fourth display interface of a search result recommendation method provided in this application embodiment;

[0068] Figure 12 This is a schematic diagram of another system architecture that may be applicable to the search result recommendation method provided in the embodiments of this application;

[0069] Figure 13 The fifth of the display interfaces for a search result recommendation method provided in this application embodiment;

[0070] Figure 14 One of the flowcharts for a search result recommendation method provided in this application embodiment;

[0071] Figure 15 This is a second flowchart of a search result recommendation method provided in an embodiment of this application. Detailed Implementation

[0072] The embodiments of this application will now be described in detail with reference to the accompanying drawings and examples.

[0073] With the rapid development of society, electronic devices such as mobile phones are becoming increasingly common. These devices not only have communication functions but also powerful processing capabilities, storage capacity, and camera functions. Electronic devices operate through an operating system (e.g., The operating system executes corresponding applications, allowing users to make calls, send text messages, browse the web, and so on using electronic devices. To facilitate users' search for what they need from a vast amount of information, electronic devices offer various search scenarios.

[0074] For example, Figure 1A This diagram illustrates a search scenario. Electronic devices can provide search results to users through the search function within applications (APPs). For example... Figure 1A As shown, the electronic device detects and responds to the user's action of entering the search term "TV series XXX" in the search box, and can provide the user with search results as shown in interface 101.

[0075] For example, Figure 1B This illustrates another search scenario. Electronic devices can also provide search results to users via voice assistants. For example... Figure 1B As shown, the electronic device detects a voice command indicating "Play episode 4 of the TV series 'XXX'", and displays interface 102; interface 102 can be used to display the voice command recognized by the electronic device to the user. In response to successful recognition of the voice command, the electronic device displays interface 103; interface 103 indicates that the video resource is loading. On interface 103, in response to the completion of video resource loading, the electronic device displays interface 104; interface 104 is used to play the video resource of episode 4 of the TV series "XXX".

[0076] For example, Figure 1C This diagram illustrates another search scenario. On the search results interface as shown in interface 101, the electronic device can also detect and respond to user actions on control 100, displaying interface 105; wherein, the action on control 100 is used to instruct the user to play the TV series "XXX" via video app 1. Interface 105 is used to instruct the user to download video app 1. It is understood that video app 1 is not installed on the electronic device.

[0077] In view of this, embodiments of this application provide a search result recommendation method. In this method, an electronic device detects a user's search operation and, in response, determines and provides search results to the user by combining at least one of the following device usage information: historical statistical information on application usage, real-time operating information, folded form information, and circulation status information. This method provides search results by combining application usage information obtainable at the operating system level of the electronic device with information about the user's usage status, resulting in search results that better match the user's usage habits or device usage status, thereby improving the user experience of the search function.

[0078] The technical solutions in this application can be applied to electronic devices, which can be any device capable of displaying an interface. For example, electronic devices can be mobile phones, foldable phones, tablets, wearable devices (e.g., watches, bracelets), in-vehicle devices, augmented reality (AR) / virtual reality (VR) devices, laptops, ultra-mobile personal computers (UMPCs), netbooks, personal digital assistants (PDAs), smart home devices (e.g., smart TVs), and other electronic devices. It is understood that this application does not impose any limitations on the specific type of electronic device.

[0079] The electronic devices to which this application's embodiments can be applied include, but are not limited to, those equipped with... Alternatively, it can be an electronic device running another operating system. For example, the electronic device described in the foregoing embodiments can be used.

[0080] Figure 2 A schematic diagram of the hardware structure of a possible electronic device is shown. The electronic device 200 includes components such as: a radio frequency (RF) circuit 210, a power supply 220, a processor 230, a memory 240, an input unit 250, a display unit 260, an audio circuit 270, a communication interface 280, and a wireless fidelity (Wi-Fi) module 290. Those skilled in the art will understand that... Figure 2 The hardware structure of the electronic device 200 shown in the figure does not constitute a limitation on the electronic device 200. The electronic device 200 provided in the embodiments of this application may include more or fewer components than shown, may combine two or more components, or may have different component configurations. Figure 2The various components shown can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application-specific integrated circuits.

[0081] The following is combined with Figure 2 The various components of the electronic device 200 will be described in detail below:

[0082] The RF circuit 210 can be used for receiving and transmitting data during communication or a call. Specifically, after receiving downlink data from the base station, the RF circuit 210 sends it to the processor 230 for processing; additionally, it sends uplink data to be transmitted to the base station. Typically, the RF circuit 210 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low-noise amplifier (LNA), a duplexer, etc.

[0083] Furthermore, the RF circuit 210 can also communicate with other devices via a wireless communication network. The wireless communication can use any communication standard or protocol, including but not limited to Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, and Short Messaging Service (SMS).

[0084] Wi-Fi technology is a short-range wireless transmission technology. The electronic device 200 can connect to an access point (AP) via the Wi-Fi module 290, thereby enabling access to the data network. The Wi-Fi module 290 can be used for receiving and sending data during communication.

[0085] The electronic device 200 can physically connect to other devices through the communication interface 280. Optionally, the communication interface 280 can be connected to the communication interfaces of other devices via a cable to enable data transmission between the electronic device 200 and other devices.

[0086] The electronic device 200 can also perform communication services and interact with other electronic devices. Therefore, the electronic device 200 needs to have data transmission capabilities, meaning it needs to include a communication module. Although Figure 2 The RF circuit 210, the Wi-Fi module 290, and the communication interface 280 are shown, but it is understood that the electronic device 200 contains at least one of the above-mentioned components or other communication modules (such as a Bluetooth module) for data transmission.

[0087] For example, when the electronic device 200 is a mobile phone, the electronic device 200 may include the RF circuit 210, and may also include the Wi-Fi module 290, or may include a Bluetooth module. Figure 2 (Not shown in the image); when the electronic device 200 is a tablet computer, the electronic device 200 may include the Wi-Fi module, or may include a Bluetooth module (not shown in the image); Figure 2 (Not shown in the image); when the electronic device 200 is a smart home device, the electronic device 200 may include the Wi-Fi module 290, or may include a Bluetooth module (not shown in the image); Figure 2 (Not shown in the image).

[0088] The memory 240 can be used to store software programs and modules. The processor 230 executes various functional applications and data processing of the electronic device 200 by running the software programs and modules stored in the memory 240. Optionally, the memory 240 may mainly include a program storage area and a data storage area. The program storage area may store the operating system (mainly including the software programs or modules corresponding to the kernel layer, system layer, application framework layer, and application layer).

[0089] In addition, the memory 240 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.

[0090] The input unit 250 can be used to receive editing operations on various types of data objects, such as numbers or characters, input by the user, and to generate key signal inputs related to user settings and function control of the electronic device 200. Optionally, the input unit 250 may include a touch panel 251 and other input devices 252.

[0091] The touch panel 251, also known as a touchscreen, can collect user touch operations on or near it (such as operations performed by the user using a finger, stylus, or any suitable object or accessory on or near the touch panel 251), and drive corresponding connection devices according to a pre-set program. In this embodiment, the touch panel 251 can collect user operations on it. For example, the user operation could be entering a search term in the search box, or clicking on any search result included in the search results interface.

[0092] Optionally, the other input device 252 may include, but is not limited to, one or more of the following: a physical keyboard, an infrared sensor, function keys (such as volume control buttons, power buttons, etc.), a trackball, a mouse, a joystick, etc. For example, an infrared sensor can be used to acquire the user's air gesture operations.

[0093] The display unit 260 can be used to display information input by the user or information provided to the user, as well as various menus of the electronic device 200. The display unit 260 is the display system of the electronic device 200, used to present the interface and realize human-computer interaction. The display unit 260 may include a display panel 261. Optionally, the display panel 261 can be configured using a liquid crystal display (LCD), organic light-emitting diode (OLED), or other similar forms. In this embodiment, the display unit 260 can be used to display a user interface. For example, the user interface can display interfaces corresponding to various possible search scenarios, such as the homepage interface of a search app, a search interface displayed via a pull-down operation on the desktop interface of an electronic device, or a chat interface displayed by waking up a voice assistant. As another example, the user interface can also display search results obtained based on the method provided in this embodiment.

[0094] The processor 230 is the control center of the electronic device 200. It connects various components via various interfaces and lines, and executes software programs and / or modules stored in the memory 240, as well as calling data stored in the memory 240, to perform various functions and process data of the electronic device 200, thereby enabling various services based on the electronic device 200. In this embodiment, the processor 230 can be used to implement a search result recommendation method provided in this embodiment.

[0095] The electronic device 200 also includes a power supply 220 (such as a battery) for supplying power to various components. Optionally, the power supply 220 can be logically connected to the processor 230 through a power management system, thereby enabling the power management system to manage functions such as charging, discharging, and power consumption.

[0096] like Figure 2 As shown, the electronic device 200 also includes an audio circuit 270, a microphone 271, and a speaker 272, providing an audio interface between the user and the electronic device 200. The audio circuit 270 converts audio data into signals recognizable by the speaker 272 and transmits the signals to the speaker 272, where the speaker 272 converts them into sound signals for output. The microphone 271 collects external sound signals (such as human speech or other sounds) and converts the collected external sound signals into signals recognizable by the audio circuit 270, sending them to the audio circuit 270. The audio circuit 270 can also convert the signals transmitted by the microphone 271 into audio data, and then output the audio data to the RF circuit 210 for transmission to, for example, another electronic device, or output the audio data to the memory 240 for further processing.

[0097] although Figure 2 As not shown in the diagram, the electronic device 200 may also include a camera, at least one sensor, etc., which will not be described in detail here. The at least one sensor may include, but is not limited to, a pressure sensor, a barometric pressure sensor, an accelerometer, a distance sensor, a fingerprint sensor, a touch sensor, a temperature sensor, etc.

[0098] The operating system (OS) involved in this application embodiment is the most basic system software running on the electronic device 200. The software system of the electronic device 200 can adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. This application embodiment takes an operating system adopting a layered architecture as an example to illustrate the software architecture of the electronic device 200.

[0099] Figure 3 This is a software architecture block diagram of an electronic device provided as an embodiment of this application. For example... Figure 3 As shown, the software architecture of an electronic device can be a layered architecture. For example, the software can be divided into several layers, each with a clear role and division of labor. Layers communicate with each other through software interfaces. In some embodiments, the operating system is divided into five layers, from top to bottom: the application layer, the application framework layer (framework, FWK), the runtime and system libraries, the kernel layer, and the hardware layer.

[0100] The application layer can include a series of application packages. For example... Figure 3As shown, the application layer may include a user interface (UI), camera, settings, skin modules, third-party applications, etc. Third-party applications may include, for example, wireless local area network (WLAN) applications, music, call, Bluetooth, video, and search applications. In this embodiment, the application layer may also provide applications for implementing desktop-based search functionality and applications for implementing voice assistant-based search functionality.

[0101] In one possible implementation, the application can be developed using Java, by calling the application programming interface (API) provided by the application framework layer. Developers can then interact with the underlying operating system layers (such as the hardware layer and kernel layer) to develop their own applications. This application framework layer primarily consists of a series of services and management systems within the operating system.

[0102] The application framework layer provides application programming interfaces and a programming framework for applications within the application layer. The application framework layer includes some predefined functions. For example... Figure 3 As shown, the application framework layer may include a view system, activity manager, window manager, content provider, phone manager, resource manager, notification manager, etc.

[0103] The Activity Manager manages the lifecycle of each application and provides commonly used navigation and back functions, offering an interactive interface for all program windows.

[0104] The window manager is used to manage windowed applications. It can retrieve screen size, determine the presence of a status bar, lock the screen, and capture screenshots, among other things.

[0105] Content providers store and retrieve data, making that data accessible to applications. This data may include videos, images, audio, made and received phone calls, browsing history and bookmarks, phone books, etc.

[0106] A view system includes both visual and non-visual controls, such as controls that display text and controls that display images. View systems can be used to build applications. A display interface can consist of one or more views. For example, a display interface including a text message notification icon could include views that display text and views that display images.

[0107] A phone manager is used to provide communication functions for electronic devices. For example, it manages call status (including connection and disconnection).

[0108] The file explorer provides applications with various resources, such as localized strings, icons, images, layout files, video files, and more.

[0109] The notification manager allows applications to display notifications in the status bar. These notifications can be used to deliver informational messages and can disappear automatically after a short pause, requiring no user interaction. For example, the notification manager can be used to notify users of completed downloads or message alerts. The notification manager can also display notifications as icons or scrolling text in the top status bar, such as notifications from background applications, or as dialog boxes on the screen. Examples include displaying text messages in the status bar, emitting sounds, vibrating electronic devices, and flashing indicator lights.

[0110] The runtime includes the core libraries and the virtual machine. The runtime is responsible for the scheduling and management of the operating system.

[0111] The core library consists of two parts: one part contains the functionalities that the Java language needs to call, and the other part contains the core libraries of the operating system. The application layer and application framework layer run in the virtual machine. The virtual machine executes the Java files of the application layer and application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.

[0112] A system library can include multiple functional modules. For example: a surface manager, a media framework, a 3D graphics processing library (e.g., OpenGL ES), a 2D graphics engine (e.g., SGL), etc.

[0113] The Surface Manager is used to manage the display subsystem and provides the blending of 2D and 3D layers for multiple applications.

[0114] The media framework supports playback and recording of various commonly used audio and video formats, as well as still image files. It supports multiple audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, and PNG.

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

[0116] A 2D graphics engine is a drawing engine for 2D drawing. A 2D graphics engine can perform drawing operations, such as drawing search interfaces and search results interfaces on the screen.

[0117] In some embodiments, a 3D graphics processing library can be used to draw 3D motion trajectory images, and a 2D graphics engine can be used to draw 2D motion trajectory images.

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

[0119] The hardware layer can include various types of sensors, such as accelerometers, gravity sensors, and touch sensors.

[0120] Typically, an electronic device 200 can run multiple applications simultaneously. In a simpler scenario, one application corresponds to one process; in a more complex scenario, one application can correspond to multiple processes. Each process has a unique process ID.

[0121] It should be understood that in the embodiments of this application, "at least one of the following" or similar expressions refer to any combination of these items, including any combination of a single item or a plurality of items. For example, at least one of a, b, or c can represent: a, b, c, a and b, a and c, b and c, or a, b, and c, where a, b, and c can be single or multiple. "Multiple" refers to two or more. "And / or" is used to describe the association relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship.

[0122] Furthermore, it should be understood that in the description of this application, terms such as "first" and "second" are used only for distinguishing purposes and should not be construed as indicating or implying relative importance, nor as indicating or implying order. For example, in the following embodiments, "first search result set" and "second search result set" are only used to distinguish and describe different search result sets and are not used to limit specific content, etc.

[0123] It should be understood that the hardware structure of electronic devices can be as follows: Figure 2 As shown, the software system architecture can be as follows: Figure 3 As shown, the software programs and / or modules corresponding to the software system architecture in the electronic device can be stored in the memory 240, and the processor 230 can run the software programs and applications stored in the memory 240 to execute the flow of a search result recommendation method provided in the embodiments of this application.

[0124] See Figure 4 This is a schematic diagram of a system architecture that may be applicable to a search result recommendation method provided in this application embodiment.

[0125] Figure 4The diagram shows a possible system architecture A, which could include, for example, electronic device 200, user 41, and server 42.

[0126] The electronic device 200 can be used to obtain search terms according to the search instructions of the user 41; send a search request message to the server 42; and receive a first set of search results provided by the server 42. Furthermore, the electronic device 200 can also be used to obtain device usage information, adjust the first set of search results according to the device usage information, obtain a second set of search results, and provide it to the user. Optionally, the electronic device 200 may adjust the first set of search results in a manner including but not limited to at least one of the following: filtering, reordering.

[0127] The device usage information may include, but is not limited to, at least one of the following:

[0128] 1) Historical statistics on the use of electronic devices can be used to reflect user preferences and habits, so that the search results can better match user preferences and habits. For example, historical statistics on application usage may include, but are not limited to: app usage duration, number of times the app was opened, and the last time the app was opened.

[0129] 2) Real-time operating information of electronic devices can be used to reflect the current operating status of the electronic device, so that the determined search results can be better matched with the current operating status of the electronic device, thereby obtaining a better viewing experience, such as reducing loading time. For example, real-time operating information may include, but is not limited to: APP background running information, network status information, remaining battery information, running memory information, and storage space information.

[0130] 3) The folding state information of electronic devices can be used to sense the user's usage status of the electronic device, so that the determined search results can be better matched with the folding state, thereby obtaining different search results in different states and achieving a better viewing experience. Folding state information can include folded state and unfolded state.

[0131] 4) The workflow status information of electronic devices can be used to perceive the business processing status of electronic devices, so as to better match the determined search results with the business processing status, thereby obtaining different search results in different business processing statuses and achieving a better viewing experience. The business processing status can include single-device processing status and multi-device processing status. The multi-device processing status can include the workflow status in which the electronic device transfers the business to other electronic devices, and the other electronic devices assist the electronic device in performing operations such as information processing, storage, display, or playback. It can also be understood that the workflow status information includes the workflow status and the non-workflow status.

[0132] Server 42 can be used to receive search request messages from electronic device 200; determine a first set of search results based on the search terms carried in the search request message and send it to the electronic device.

[0133] Figure 4 The B shown in the diagram represents another possible system architecture B, which differs from system architecture A in that the method provided in this embodiment can also be implemented by the electronic device 200 itself.

[0134] The electronic device 200 can be used to obtain search terms according to the search instructions of the user 41, and to obtain device usage information. Then, the electronic device 200 determines a second set of search results based on the device usage information and the search terms and provides it to the user.

[0135] For example, electronic device 200 can first determine a first set of search results based on search terms, and then adjust the first set of search results based on device usage information to obtain a second set of search results.

[0136] In another example, electronic device 200 can also directly determine a second set of search results based on device usage information and search terms.

[0137] The device usage information may include, but is not limited to, at least one of the following: historical statistics on the application and usage of electronic devices, real-time operating information of electronic devices, folding form information of electronic devices, and circulation status information of electronic devices.

[0138] It is understood that the embodiments of this application do not limit the specific scenario of the system architecture. For example, the server 42 can also connect to more electronic devices, thereby combining feedback information from multiple electronic devices to generate a more accurate first search result set for the electronic device 200.

[0139] based on Figure 4 The system architecture diagram is illustrated below, using a mobile phone as an example of an electronic device. The following describes several possible search scenarios involved in the embodiments of this application:

[0140] Search Scenario A: See Figure 5 This is a schematic diagram of a scenario where a search result recommendation method provided in this application embodiment may be applicable. Figure 5 Interface 501 shows a schematic diagram of a mobile phone desktop. In interface 501, the electronic device can display interface 502 in response to a pull-down operation on the desktop. Interface 502 is a possible search interface, and it includes at least a search box 503, which can be used to provide the user with an entry point for inputting search terms. It should be noted that the specific content and display format of interface 502 are not limited in this embodiment; for example, the search box 503 may be located at the bottom of the search interface as shown in interface 502, or it may be located at the top of the search interface, etc.

[0141] Search Scenario B: See Figure 6 This is a schematic diagram illustrating another scenario where a search result recommendation method provided in this application embodiment may be applicable. Figure 6 As shown in interface 601, in a scenario where the electronic device displays a desktop interface, the electronic device can detect and respond to voice commands, displaying interface 601, which is a chat interface after waking up the voice assistant. It can be seen from interface 601 that the voice command can be "Search for TV series XXX". It should be noted that in this embodiment, voice commands are not limited to being detected only when the electronic device displays a desktop interface; they can be detected in any possible scenario where the electronic device displays any interface.

[0142] Search Scenario C: See Figure 7 This is a schematic diagram illustrating another possible scenario to which the search result recommendation method provided in this application embodiment may be applied. Figure 7 As shown in interface 701, in a scenario where the electronic device displays a desktop interface, the electronic device can detect and respond to a click operation on the browser app, displaying interface 702. Interface 702 is the homepage interface of the browser app, and is another possible search interface. Interface 702 includes at least a search box 703, which can be used to provide the user with an entry point for inputting search terms. It should be noted that the specific content and display format of interface 702 are not limited in this embodiment. For example, the search box 703 can be located at the top of the search interface as shown in interface 702, or it can also be located at the bottom of the search interface. Interface 702 may also include other recommended content. It can be understood that the browser app is a search-type app.

[0143] based on Figures 5 to 7 Several search scenarios have been introduced. The following uses search scenario B as an example, combined with... Figures 8 to 13The content shown describes the implementation process of the method provided in this application, so as to understand the interface display effect that can be achieved by using the method provided in this application. For the implementation process in other search scenarios, please refer to the implementation process in search scenario B, which will not be repeated in this application. It should be noted that, for ease of understanding, the following uses providing search results through interface display as an example. The embodiments of this application are not limited to providing search results through interface display, for example, it can also be in the form of voice broadcast, etc.

[0144] The following describes several possible interface display effects that may be involved in using the method provided in this application.

[0145] Scene 1:

[0146] See Figure 8 This is a display interface for a search result recommendation method provided in an embodiment of this application. It should be noted that this scenario uses a mobile phone as an example; the implementation process for other types of electronic devices can be found in the mobile phone implementation process, and will not be repeated here.

[0147] like Figure 8 As shown in interface 801, this is a possible interface for a mobile phone to detect and respond to a voice command; wherein the voice command is "Play TV series 'XXX'". Interface 801 can also be used to display the recognition result of the voice command to the user, so that the user can confirm or adjust the recognition result of the voice command. It should be noted that the specific form and content of interface 801 are not limited in this embodiment.

[0148] In one possible example, based on interface 801, the mobile phone can also display interface 802A in response to successful recognition of the voice command; wherein, interface 802A can be understood as the search results interface obtained before using the method provided in the embodiments of this application. Interface 802A provides three search results as an example, and the display order of the three search results is: search results from video APP 1, search results from video APP 2, and search results from video APP 3. It should be noted that the embodiments of this application do not limit the specific form and content of interface 802A. The search results displayed on interface 802A can generally be determined based on network information such as user CTR.

[0149] In another possible example, based on interface 801, the mobile phone can also display interface 802B in response to successful recognition of the voice command and in conjunction with historical statistical information on APP usage obtained by the electronic device. Interface 802B can be understood as the search results interface obtained after using the method provided in the embodiments of this application.

[0150] For example, historical statistics on app usage can be as follows: Figure 8 As shown in interface 800, the historical statistics of app usage are as follows: Video App 2 usage time is 3 hours (h), Video App 3 usage time is 2 hours, and Video App 1 usage time is 1 hour. It can be understood that the usage time of Video App 2 > the usage time of Video App 3 > the usage time of Video App 1. Furthermore, the historical statistics of app usage in interface 800 reflect the user's app usage preferences within a specified historical time period (e.g., within a day, today, etc.), meaning that the user has recently become more accustomed to using Video App 2 to watch videos.

[0151] Interface 802B still uses three search results as an example, but compared to interface 802A, the display order of the three search results is different. In interface 802B, the display order of the three search results is: search results from video APP 2, search results from video APP 3, and search results from video APP 1. Combining interfaces 800 and 802B, it can be seen that the mobile phone can obtain search results based on historical statistics of APP usage. Therefore, the method provided by the embodiments of this application can achieve search results that better match user preferences and usage habits, thereby improving the user experience.

[0152] It should be noted that the embodiments of this application do not limit the specific form and content of the interface 802B. For example, more or fewer search results may be displayed.

[0153] Additionally, it should be noted that besides historical statistics on app usage, search results can also be obtained based on historical statistics on the usage of other applications. Historical statistics on other applications may include, but are not limited to: app opening frequency (e.g., the more times an app is opened, the higher the ranking of search results from that app); and the last time an app was opened (e.g., the more recent the last time an app was opened, the higher the ranking of search results from that app).

[0154] It should be noted that the sources of search results in this application are not limited to apps already installed on the mobile phone, but can also be quick apps, mini programs, web pages, etc. that are not installed on the mobile phone.

[0155] In this scenario, by obtaining historical APP usage statistics at the operating system level, the mobile phone can apply this historical APP usage statistics to the process of determining search results. This allows the search results to better match user preferences and habits, thereby improving the user experience of the search function.

[0156] Scene 2:

[0157] See Figure 9 This is another display interface for a search result recommendation method provided in this application embodiment. It should be noted that this scenario uses a mobile phone as an example; the implementation process for other types of electronic devices can be found in the mobile phone implementation process, and will not be repeated here. Figure 9 Interfaces 801 and 802A shown in the figure can be referred to. Figure 8 The details of the introduction will not be repeated here.

[0158] In another possible example, based on interface 801, the mobile phone can also display interface 901 in response to successful recognition of the voice command and, in conjunction with the background resident information of the APP. Interface 901 can be understood as the search results interface obtained after using the method provided in the embodiments of this application.

[0159] For example, the background running information of an app can be as follows: Figure 9 As shown in interface 900, the phone detected that video app 2 is running in the background; this can also be interpreted as video app 1 and video app 3 not running in the background. Furthermore, the background running information of the apps in interface 900 reflects the current running status of the apps on the phone.

[0160] Optionally, the search results interface shown in interface 901 may include search results from video app 2. Combining interfaces 900 and 901, it can be seen that the mobile phone can obtain search results based on the background activity information of the app.

[0161] It should be noted that this application embodiment does not limit the specific form and content of interface 901. For example, if the mobile phone detects multiple apps running in the background, more search results can be displayed in the search results interface. Alternatively, the mobile phone can display search results from apps running in the background at the top of the search results interface, while displaying search results from apps not running in the background at the bottom. For instance, compared to the search results interface shown in interface 901, another search results interface could be: search results from video app 2 displayed at the top, search results from video app 1 displayed below the search results from video app 2, and search results from video app 3 displayed below the search results from video app 1.

[0162] In this scenario, the mobile phone obtains search results by acquiring real-time operating information of the app, and can then display the search results from the app residing in the background in a more prominent position.

[0163] In this way, the time required to navigate when viewing search results can be reduced, thereby improving the user experience. For example, when the phone displays interface 802A, it detects and responds to user actions related to search results from video app 1. Generally, an intermediate loading interface as shown in interface 902 is displayed first, and only after loading is complete is the playback interface shown in interface 903A displayed. In another example, when the phone displays interface 901, it detects and responds to user actions related to search results from video app 2. Since video app 2 is running in the background, a quick navigation to the playback interface shown in interface 903B can be achieved. Therefore, the method provided in this application embodiment can prioritize launching apps running in the background, shortening the reloading time required during app navigation and thus improving the user experience.

[0164] In addition to the app's background activity information, search results can also be obtained based on other real-time operational information. This other real-time operational information may include, but is not limited to, network status information, remaining battery power, RAM information, and storage space information. Network status information may include: network type (e.g., 2G, 3G, 4G, 5G, Wi-Fi); and network speed information.

[0165] Using network status information as an example of network type, please refer to [link / reference]. Figure 10 This is another display interface for a search result recommendation method provided in this application embodiment. Interfaces 801 and 802A, for example, represent the interface display effect in a search scenario with a 5G network type. For detailed implementation details, please refer to [link / reference needed]. Figure 8 The details described herein will not be repeated here.

[0166] like Figure 10 As shown in interface 1001, when the phone detects a 3G network type, the interface for recognizing voice commands is similar to that in interface 801. Figure 10Interface 1002 shows the search results interface displayed on the mobile phone. This interface still provides three search results as an example, but compared to interface 802A, the display order of the three search results is different. The display order of the three search results in interface 1002 is: search results from video APP 3, search results from video APP 2, and search results from video APP 1. It can be understood that the 3G network condition is worse than the 5G network condition. In addition, network condition thresholds can be set. Under different network conditions, video formats matching different network conditions can be pre-configured. For example, the video format matching the 3G network condition can be 320P (one video format), the video format matching the 4G network condition can be 1080P (one video format), and the video format matching the 5G network condition can be 4K (one video format).

[0167] Among them, the videos from video app 3 are 320P, which has lower requirements for network conditions; the videos from video app 2 are 480P, which has higher requirements for network conditions than 320P; and the videos from video app 1 are 4K, which has higher requirements for network conditions than 480P. It should be noted that this application embodiment does not limit the specific form and content of interface 1002. For example, interface 1002 may include more or fewer search results. For instance, when the electronic device detects that the network type is 2G, it may no longer display the videos from video app 1, but only display the videos from video app 2 and video app 3, for a total of two search results.

[0168] In this way, the phone can obtain search results based on network status information and the network requirements of the search results. Therefore, when the phone detects a low network connection, it can improve the user's viewing experience by prioritizing the display of search results for videos with lower network requirements, and reduce the probability of playback stuttering. Additionally, when the phone detects a good network connection, it can also improve the user's viewing experience by prioritizing the display of higher-resolution videos, thus ensuring smooth playback while maintaining a smooth viewing experience.

[0169] It should be noted that the sources of search results in this application are not limited to apps already installed on the mobile phone, but can also be quick apps, mini programs, web pages, etc. that are not installed on the mobile phone.

[0170] It should also be noted that in the above scenarios Figure 9 and Figure 10The described implementation process can also be integrated, or understood as the mobile phone obtaining search results based on both the background activity information of the app and network status information. For example, the electronic device can first filter videos originating from apps running in the background based on the app's background activity information, obtaining multiple search results; then, the electronic device can reorder these filtered search results based on network status information, resulting in a reordered set of search results, which are then presented to the user. In this way, when there are many search results, more device usage information obtained by the electronic device can be used to obtain search results, or the search results obtained based on network information such as user CTR can be adjusted.

[0171] Scene 3:

[0172] See Figure 11 This is another display interface for a search result recommendation method provided in this application embodiment. It should be noted that this scenario uses a foldable screen phone as an example. The implementation process of other types of electronic devices can be referred to the implementation process of foldable screen phones, and will not be repeated in this application.

[0173] Since foldable phones have two device forms—folded and unfolded—this scenario can include two types:

[0174] Scenario 3-1), as shown in interface 1101, is the search interface for a foldable phone in its folded state; as shown in interface 1102, it is the search results interface for a foldable phone in its folded state. For the specific implementation details of interfaces 1101 and 1102, please refer to [link to documentation / reference]. Figure 8 The implementation of interfaces 801 and 802A, as described in the previous section, will not be repeated here.

[0175] Scenario 3-2), as shown in interface 1103, is the search interface of the foldable screen phone in the unfolded state. When the foldable screen phone detects a voice command, the recognition result interface of the voice command is similar to that of interface 801, and will not be described again here.

[0176] In one possible example, as shown in interface 1104A, this is the search results interface obtained when the foldable screen phone is in the unfolded state before using the method provided in the embodiments of this application. Combining interfaces 1102 and 1104A, it can be seen that the search results displayed by the foldable screen phone are the same in both the folded and unfolded states.

[0177] In another possible example, as shown in interface 1104B, the search results interface of a foldable phone in its unfolded state includes two types of search results: search results from video app 2 and search results from video app 3. Video app 2 is a high-definition (HD) version and has in-app split-screen functionality, such as using parallel view. Combining interfaces 1102 and 1104B, it can be seen that by using the method provided in this application embodiment, the search results displayed on the foldable phone can differ between its folded and unfolded states. This allows the foldable phone to obtain search results based on the device form factor and the supported app version. Therefore, when the foldable phone detects that it is in the unfolded state, prioritizing the display of search results from apps that support HD versions or have in-app split-screen functionality can improve the user's search result viewing experience.

[0178] It should be noted that the specific form and content of the interface 1104B are not limited in the embodiments of this application. For example, the interface 1104B may include more or fewer search results, which can be determined according to the version supported by the APP.

[0179] It should also be noted that the sources of search results in this application are not limited to apps already installed on foldable screen phones, but can also be quick apps, mini programs, web pages, etc. that are not installed on foldable screen phones.

[0180] Scene 4:

[0181] based on Figure 4 Based on the system architecture shown, electronic device 200 can also collaborate with other devices, thereby enabling the transfer of some tasks to other devices for processing. For ease of understanding, Figure 12 This is a schematic diagram of another system architecture that may be applicable to a search result recommendation method provided in the embodiments of this application. Figure 12 The system architecture shown may include electronic device 200, user 41, server 42, and also electronic device 121. Electronic device 200 may be, for example, a mobile phone, and electronic device 121 may be, for example, a large screen. Multi-device collaboration may be a scenario where a mobile phone screen is projected onto a large screen. The large screen may act as a transfer device for the mobile phone, receiving media data transferred from the mobile phone and playing and / or displaying it.

[0182] See Figure 13This is another display interface for a search result recommendation method provided in this application embodiment. It should be noted that this scenario uses a mobile phone as the electronic device 200 and a large screen as the electronic device 121 as an example. The implementation process of other types of electronic device circulation scenarios can be referred to the implementation process of mobile phone and large screen circulation scenarios, and will not be repeated in this application.

[0183] In one possible example, before employing the method provided in this application embodiment, the mobile phone can display a search interface as shown in interface 801, and provide a search results interface as shown in interface 802. Implementations of interfaces 801 and 802A can be found in [reference needed]. Figure 8 The implementation details are omitted here. Optionally, in the scenario of casting a mobile phone screen to a large screen, the mobile phone detects and responds to user operations on search results from video app 1, and can display interface 1303A. Alternatively, in another optional scenario of casting a mobile phone screen to a large screen, the search results interface shown in interface 802 can also be cast to the large screen for display.

[0184] In another possible instance, after using the method provided in this application embodiment, the mobile phone can still display the search interface as shown in interface 801, but it differs from the search results interface shown in interface 802. Based on the current state and the APP information on the large screen, the mobile phone displays interface 1302; interface 1302 can be understood as the search results interface obtained without using the method provided in this application embodiment. As shown in interface 1302, it may include a search result, namely, a search result from video APP 2; wherein, combined with interface 1300, it is the homepage interface of the large screen, on which APP 2 is installed, and video APP 1 and video APP 3 are not installed.

[0185] Optionally, on interface 1302, the mobile phone can respond to user operations on search results from video app 2 and stream the video from video app 2 to the large screen for playback. Alternatively, on interface 1301, the mobile phone can also respond to successful voice command recognition and directly stream the video from video app 2 to the large screen for playback. Or, yet another option, the mobile phone can also project the search results interface onto the large screen for display.

[0186] It should be noted that the embodiments of this application are not limited to determining search results based on the installation of apps on the large screen. For example, search results can also be determined based on the versions of apps installed on the large screen. For instance, if video app 1, video app 2, and video app 3 are installed on the large screen, and video app 2 is a large screen version, while video app 1 and video app 3 are regular versions.

[0187] It should be noted that the sources of search results in this application are not limited to apps already installed on mobile phones or large screens, but can also be quick apps, mini programs, web pages, etc. that are not installed on mobile phones or large screens.

[0188] In addition, when the search results determined by the mobile phone include multiple results, a search result selection interface can be provided to the user through the mobile phone or a large screen; then, after detecting the user's selection of one of the search results, the video corresponding to the selected search result can be played on the large screen.

[0189] In this way, the phone determines which search results to display on the large screen based on the apps installed on the large screen or the large-screen-compatible versions of those apps. Therefore, in multi-device collaboration scenarios, by prioritizing search results from apps installed on the large screen or the large-screen-compatible versions, the phone can improve the compatibility of search results with the transferring device and enhance the user's viewing experience.

[0190] In addition, in the aforementioned scenarios 1 to 4, if the electronic device adjusts the search results determined by network information such as user CTR based on device usage information, and no search results matching the device usage information are found, then the search results determined by network information such as user CTR can be kept displayed.

[0191] Based on the various interface display effects described above, the following describes the implementation process of the search result recommendation method provided in this application, in order to illustrate how the method provided in this application can achieve the interface processing effects described above, thereby improving the user's search experience.

[0192] In one alternative embodiment, Figure 14 A flowchart illustrating a search result recommendation method provided in an embodiment of this application. This method can be executed by an electronic device. (Reference) Figure 14 The method includes the following steps:

[0193] S1401, The electronic device responds to the first instruction and obtains the search term. The first instruction may include, but is not limited to: the user entering a search term in a search box on any search interface, or a voice command used for searching.

[0194] S1402. The electronic device acquires device usage information. The device usage information may include, but is not limited to, at least one of the following:

[0195] 1) Historical statistics on the use of electronic devices may include, but are not limited to: historical statistics on APP usage, APP opening times, such as the more times an APP is opened, the higher the search results from that APP will appear in the order of display; and the last time the APP was opened.

[0196] 2) Real-time operating information of electronic devices may include, but is not limited to: background running information of APP, network status information, remaining battery information, running memory information, and storage space information.

[0197] 3) Information on the folding form of electronic devices, including folded and unfolded states.

[0198] 4) Information on the circulation status of electronic devices, including circulation status and non-circulation status.

[0199] It should be noted that the execution order of steps 1401 and 1402 is not limited in the embodiments of this application; for example, they can be executed simultaneously.

[0200] S1403. The electronic device provides search results based on search terms and device usage information. Optionally, search results can be provided by displaying a search results interface. Alternatively, search results can be provided via a voice assistant playback method. It should be noted that this application embodiment does not limit the method of providing search results; it can be any possible method, or multiple methods can be used together. The provided search results can be a single search result obtained after the electronic device filters based on device usage information, or multiple search results obtained after the electronic device sorts them, or multiple search results obtained after the electronic device filters and sorts them.

[0201] For example, when the device usage information is historical statistics of the electronic device's application usage, the electronic device can display search results that better meet the user's preferences at the top and / or in a larger display area, based on this historical statistics. Conversely, search results that less favored by the user can be displayed later, not shown, or in a smaller display area. This allows users to prioritize viewing search results in their preferred manner.

[0202] Another example is when the device usage information is the real-time operating information of the electronic device. Based on this information, the electronic device will display search results that better match its operating status at the top of the list and / or in a larger display area; conversely, search results that are less relevant will be displayed at the bottom of the list, not shown at all, and / or in a smaller display area. This improves the efficiency and user experience of viewing search results.

[0203] Another example is when the device usage information is in a folded state, the electronic device, depending on the folded state, will display search results that offer better viewing in the unfolded state at the forefront and / or in a larger display area; conversely, search results that offer worse viewing in the unfolded state will be displayed at the back, not displayed, and / or in a smaller display area. This improves the display effect when the device is unfolded.

[0204] Another example is when the device usage information is the device's circulation status. Based on this status, if the device is being circulated, the electronic device will display search results that offer a better viewing experience on the circulating device at a higher position and / or in a larger display area; conversely, search results that offer a worse viewing experience on the circulating device will be displayed later, not shown at all, and / or in a smaller display area. This improves the display effect in device circulation scenarios.

[0205] Additionally, it should be noted that device usage information can include multiple types of device usage information, and electronic devices can also provide search results based on multiple types of device usage information.

[0206] Optionally, priorities for various device usage information can be set. For example, the folding form information and circulation status information of the electronic device can be set as the first priority, the real-time operation information of the electronic device as the second priority, and the historical statistics of the application usage of the electronic device as the third priority. In this way, the electronic device can filter or reorder search results according to priority. For example, when the device information acquired by the electronic device includes historical statistics of the application usage of the electronic device and real-time operation information, the electronic device can, based on the real-time operation information and the historical statistics of application usage, display search results that meet the requirements of better real-time operation (e.g., running in the background, better matching network conditions) and higher user preference in a higher position and / or in a larger display area; correspondingly, search results that have poor real-time operation and lower user preference are displayed in a lower position, not displayed, and / or in a smaller display area. This allows users to prioritize the search results in a way that meets their real-time operation requirements and is familiar with.

[0207] Alternatively, weights can be set for various device usage information to determine the weight value corresponding to the search results. This allows electronic devices to provide search results based on their weight values. For example, search results with higher weight values ​​can be displayed more prominently and / or in a larger display area; conversely, search results with lower weight values ​​can be displayed less prominently, not at all, and / or in a smaller display area.

[0208] In one optional implementation, the electronic device can determine a first set of search results based on search terms; then, it can adjust the first set of search results based on device usage information to determine a second set of search results. In this implementation, the search results interface displayed in S1403 can be understood as being rendered based on the second set of search results. The electronic device can determine the first set of search results from information sources such as the network and local storage based on search terms. It can be understood that if the electronic device adjusts the first set of search results based on device usage information and does not find any search results that match the device usage information, it can maintain the display of the search results interface based on the first set of search results.

[0209] In another alternative implementation, the electronic device can also directly determine the set of search results that meet the device usage information based on the search terms and device usage information, and then render the search results interface based on the set of search results.

[0210] In another alternative embodiment, Figure 15 Another flowchart illustrating a search result recommendation method provided in this application embodiment. This method can be executed jointly by an electronic device and a server. (See reference...) Figure 15 The method includes the following steps:

[0211] S1501: The electronic device responds to the first instruction and obtains the search term. The implementation of S1501 can be found in S1401, and will not be described in detail here.

[0212] S1502, The electronic device sends a search request message to the server, the search request message including the search terms. Additionally, the search request message may also include information such as a timestamp.

[0213] S1503: The electronic device obtains device usage information. The implementation of S1503 can be found in S1403, and will not be described in detail here.

[0214] It should be noted that the execution order of S1503 and S1501 or S1502 is not limited in the embodiments of this application.

[0215] S1504. The server determines the first set of search results based on the search terms.

[0216] In one possible embodiment, the server sends a search request message to multiple databases, such as inverted index engines or vector engines; then, it receives multiple recall results returned from these databases; the server then merges these multiple recall results to determine a first set of search results. For example, the server can combine information such as the relevance, popularity, and timeliness of each video to perform a mixed sorting of the multiple recall results, thereby achieving fusion processing. Specifically, the server can aggregate video results by app dimension, and based on the video content under each app, it can comprehensively evaluate and score the apps, rearrange the apps in descending order of score, thereby determining the order of the apps included in the first set of search results.

[0217] S1505, The server sends the first set of search results to the electronic device.

[0218] S1506. The electronic device determines the second search result set based on the device usage information and the first search result set.

[0219] It is understandable that electronic devices can dynamically adjust the first set of search results from the server based on device usage information, thereby obtaining a second set of search results that is more suitable for the electronic device, which can improve the user's search experience.

[0220] Alternatively, it can be understood that when the electronic device adjusts the first search result set based on the device usage information, and no search result matching the device usage information is found, the first search result set can be kept displayed, that is, the second search result set in S1506 is the first search result set.

[0221] S1507. The electronic device provides search results based on the second set of search results.

[0222] Optionally, when the electronic device does not have a distribution device, the search results can be displayed on the electronic device; when the electronic device has a distribution device, the search results can be displayed on the distribution device.

[0223] It should be noted that this application Figure 14 and Figure 15 The search result recommendation method shown can be referred to in the above embodiments of this application for specific implementation, and repeated parts will not be described again.

[0224] Based on the above embodiments, this application also provides an electronic device, which includes multiple functional modules; the multiple functional modules interact to realize the functions performed by the electronic device in the methods described in the embodiments of this application. The multiple functional modules can be implemented based on software, hardware, or a combination of software and hardware, and the multiple functional modules can be arbitrarily combined or divided based on specific implementations. For example, [the following is an example of implementation details]. Figure 14 Steps 1401 to 1403 performed by the electronic device in the illustrated embodiment; or, for example, performing... Figure 15 In the illustrated embodiment, the electronic device performs steps 1501-1503 and steps 1505-1507.

[0225] Based on the above embodiments, this application also provides an electronic device, which includes at least one processor and at least one memory, wherein the at least one memory stores computer program instructions. When the electronic device is running, the at least one processor executes the functions performed by the electronic device in the various methods described in the embodiments of this application. For example, when executing... Figure 14 Steps 1401 to 1403 performed by the electronic device in the illustrated embodiment; or, for example, performing... Figure 15 In the illustrated embodiment, the electronic device performs steps 1501-1503 and steps 1505-1507.

[0226] Based on the above embodiments, this application also provides a search result recommendation system, which may include the electronic devices and servers as described in the foregoing embodiments. In one possible scenario, the system may also include a transfer device for the electronic devices.

[0227] Based on the above embodiments, this application also provides a computer program product, which includes a computer program (also referred to as code or instructions) that, when run, causes a computer to perform the methods described in the embodiments of this application.

[0228] Based on the above embodiments, this application also provides a computer-readable storage medium storing a computer program, which, when executed by a computer, causes the computer to perform the methods described in the embodiments of this application.

[0229] Based on the above embodiments, this application also provides a chip for reading computer programs stored in a memory to implement the methods described in the embodiments of this application.

[0230] Based on the above embodiments, this application provides a chip system including a processor for supporting a computer device in implementing the methods described in the embodiments of this application. In one possible design, the chip system further includes a memory for storing necessary programs and data of the computer device. This chip system may be composed of chips or may include chips and other discrete devices. Those skilled in the art will understand that the embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0231] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in one or more blocks of the flowchart illustrations and / or one or more blocks of the block diagrams.

[0232] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means that implement the functions specified in one or more flowcharts and / or one or more block diagrams.

[0233] These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process, such that the instructions, which execute on the computer or other programmable apparatus, provide steps for implementing the functions specified in one or more flowcharts and / or one or more block diagrams.

[0234] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the scope of protection of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.

Claims

1. A search result recommendation method, characterized in that, Applied to a first electronic device, the method includes: A first instruction was detected, the first instruction including a search term; Obtain device usage information; wherein the device usage information includes at least one of the following: historical statistical information on the application usage of the first electronic device, real-time operating information of the first electronic device, folding form information of the first electronic device, and circulation status information of the first electronic device; In response to the first instruction, a filtered search result or multiple sorted search results are provided based on the search term and the device usage information.

2. The method according to claim 1, characterized in that, The historical statistics of the application usage of the first electronic device include at least one of the following: application APP usage duration information, APP opening count information, and APP last opening time information.

3. The method according to claim 1 or 2, characterized in that, The real-time operating information of the first electronic device includes at least one of the following: APP background running information, network status information, remaining battery power information, running memory information, and storage space information.

4. The method according to any one of claims 1 to 3, characterized in that, The folding configuration information of the first electronic device includes: folded state and unfolded state.

5. The method according to any one of claims 1 to 4, characterized in that, The circulation status information of the first electronic device includes: circulation status and non-circulation status.

6. The method according to claim 2, characterized in that, The filtered search result is the first search result from the first APP; The sorted multiple search results include: a first search result from a first APP and a second search result from a second APP; wherein, when the sorted multiple search results are provided through the display interface, the first search result is displayed above the second search result, and / or, the display area of ​​the first search result is larger than the display area of ​​the second search result; Within a specified historical time period, the first APP and the second APP satisfy at least one of the following: The first app was used for a longer period of time than the second app. The first app was opened more times than the second app; The first app was last opened later than the second app.

7. The method according to claim 3, characterized in that, The filtered search result is the first search result from the third-party APP; The sorted search results include: a third search result from a third app and a fourth search result from a fourth app; wherein, when the sorted search results are provided through the display interface, the third search result is displayed above the fourth search result, and / or, the display area of ​​the third search result is larger than the display area of ​​the fourth search result; Wherein, the third APP and the fourth APP satisfy at least one of the following: The third app runs in the background, while the fourth app does not; or, both the third app and the fourth app run in the background. When the network status information indicates a first network status, the third APP has higher requirements for the network status than the fourth APP; when the network status information indicates a second network status, the third APP has lower requirements for the network status than the fourth APP; wherein, the first network status is better than the network status threshold, and the second network status is worse than the network status threshold. When the remaining power information indicates a first remaining power level, the third app has a higher requirement for remaining power than the fourth app; when the remaining power information indicates a second remaining power level, the third app has a lower requirement for remaining power than the fourth app; wherein, the first remaining power level is higher than a remaining power threshold, and the second remaining power level is less than the remaining power threshold. When the running memory information indicates a first remaining running memory, the third APP's requirement for remaining running memory is higher than that of the fourth APP; when the running memory information indicates a second remaining running memory, the third APP's requirement for remaining running memory is lower than that of the fourth APP; wherein, the first remaining running memory is more than the remaining running memory threshold, and the second remaining running memory is less than the remaining running memory threshold; When the storage space information indicates a first remaining storage space, the third APP's requirement for remaining storage space is higher than that of the fourth APP; when the storage space information indicates a second remaining storage space, the third APP's requirement for remaining storage space is lower than that of the fourth APP; wherein, the first remaining storage space is higher than the remaining storage space threshold, and the second remaining storage space is less than the remaining storage space threshold.

8. The method according to claim 4, characterized in that, The step of providing a filtered single search result or multiple sorted search results based on the search term and the device usage information includes: When the folding state information of the first electronic device is the folded state, M search results from M apps are provided; When the folded state information of the first electronic device is the unfolded state, N search results from N apps are provided; the N search results belong to the M search results, where N is less than M and N is a positive integer; Among them, the N apps meet at least one of the following conditions: the version is high-definition (HD) and has in-app split-screen functionality.

9. The method according to claim 5, characterized in that, The step of providing a filtered single search result or multiple sorted search results based on the search term and the device usage information includes: When the circulation status information of the first electronic device is in the non-circulation state, P search results from P apps are provided; When the flow status information of the first electronic device is the flow state, Q search results from Q APPs are provided; the Q search results belong to the P search results, Q is less than P, and Q is a positive integer; Among them, the Q APPs satisfy at least one of the following: The second electronic device is equipped with the Q apps; wherein the second electronic device is a transfer device for the first electronic device; The Q apps of the second electronic device are in the second version, and the apps other than the Q apps among the P apps are in the first version; wherein, the second version is a version adapted according to the device type of the second electronic device, and the first version is a normal version that does not distinguish between device types.

10. The method according to any one of claims 1 to 9, characterized in that, The step of providing a filtered single search result or multiple sorted search results based on the search term and the device usage information includes: In response to the first instruction, a search request message is sent to the server, the search request message including the search terms; Receive the first set of search results from the server; Based on the device usage information, the first search result set is adjusted to obtain a second search result set; wherein, the second search result set is used to indicate a single filtered search result or multiple sorted search results.

11. The method according to claim 10, characterized in that, The first search result set and the second search result set satisfy at least one of the following: The display order of the L search results included in the second search results set is different from the display order of the L search results included in the first search results set; The second set of search results contains fewer search results than the first set of search results.

12. The method according to any one of claims 2 to 11, characterized in that, The APP includes at least one of the following: The app installed on the first electronic device; Quick apps that are not installed on the first electronic device; The app is not installed on the first electronic device.

13. A device, characterized in that, It includes at least one processor coupled to at least one memory, the at least one processor being configured to read a program stored in the at least one memory to perform the method as described in any one of claims 1-12.

14. A readable storage medium, characterized in that, The readable storage medium stores instructions that, when executed on the device, cause the device to perform the method as described in any one of claims 1-12.

Citation Information

Cited By

  • Search result recommendation method and device

    EP4749480A1