Service recommendation method and electronic device

By performing semantic analysis and image recognition in electronic devices, combined with user behavior information, providing fast entrances and non-full-screen interface display, the problem of inefficient operation when switching applications is solved, and convenient service recommendations and user experience improvements are achieved.

WO2025156631A1PCT designated stage Publication Date: 2025-07-31HUAWEI TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/115270
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-01-24
Filing Date
2024-08-28
Publication Date
2025-07-31

AI Technical Summary

Technical Problem

When using electronic devices, users need to frequently switch applications to perform multiple steps, resulting in low operation efficiency and inability to easily obtain relevant service information.

Method used

By obtaining reference information in the current interface, performing semantic analysis and image recognition, a quick entry prompts users to view recommendation services, and displays recommendation services in a non-full-screen interface, and accurately recommends them in combination with user behavior information.

Benefits of technology

It reduces user operation steps, improves operation efficiency, provides convenient service recommendation paths, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024115270_31072025_PF_FP_ABST
    Figure CN2024115270_31072025_PF_FP_ABST
Patent Text Reader

Abstract

A service recommendation method and an electronic device. In the method, on the basis of information comprised in a current display interface of an electronic device, when the electronic device detects an operation with respect to first information comprised in the current display interface, the electronic device may use the first information as reference information to recommend a service to a user. Then, when the electronic device determines that there is a recommended service, the electronic device may, by means of a shortcut, prompt the user to check the recommended service, for example, prompting by means of a flashing prompt bar or the like. Thus, by means of the shortcut, the user can conveniently and directly view the recommended service, and the user does not need to manually open other applications or other display interfaces on the basis of the first information, so that operation steps of the user can be reduced, the operation efficiency can be improved, and the convenience of use and use experience of the user can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Service recommendation method and electronic device

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of the People's Republic of China on January 24, 2024, with application number 202410104702.8 and invention name "A service recommendation method and electronic device", the entire contents of which are incorporated by reference into this application. Technical Field

[0003] The embodiments of the present application relate to the field of terminal technology, and in particular to a service recommendation method and an electronic device. Background Art

[0004] With the development and progress of technology, the functions of electronic devices have gradually become more complete and richer, the number of applications has gradually increased, and the frequency of users' daily use of electronic devices has also increased, and the resulting operational efficiency issues have become increasingly prominent.

[0005] For example, when using their phones, users often need to leave the current app, open another app, perform a search, browse, or other action, then return to the previous app after completing the action. This entire process is lengthy, interrupts the current app, and results in low efficiency, causing inconvenience to the user.

[0006] Summary of the Invention

[0007] The embodiments of the present application provide a service recommendation method and an electronic device for recommending services based on reference information, and prompting users to check the existence of recommended services through a quick entrance; and further, providing an entrance to the service recommendation on the current interface, thereby shortening the interaction path and improving operational efficiency.

[0008] In a first aspect, embodiments of the present application provide a service recommendation method. This method can be applied to an electronic device. In this method, in response to a first operation on first information included in a first interface, the first interface is updated, and the updated first interface includes a quick entry, and the quick entry is used to indicate the existence of a recommended service for the first information; in response to a second operation on the quick entry, a second interface is displayed, and the second interface is used to display the recommended service for the first information.

[0009] In this method, based on operations on a portion of the information included in the current display interface, this portion of information is used as reference information to make service recommendations. When a recommended service is determined to exist, a quick entry is provided to prompt the user to view it. In this way, the user can view the recommended service based on the reference information through the quick entry, thus reducing the number of user operations and eliminating the need to interrupt currently running applications or processes, providing convenience for users and improving their user experience.

[0010] In one possible design, the second interface includes a first display area, the first display area being used to display multiple recommended services based on the first user intent obtained from the first information, and the method further includes: in response to a third operation on the first display area, switching from displaying the first recommended service to displaying the second recommended service on the first display area; wherein the first recommended service and the second recommended service are from different applications. In another possible design, the second interface may also display the N recommended services simultaneously, or display the N recommended services simultaneously via a scrollable display area.

[0011] In this design, the recommended services may include multiple recommended services belonging to the same user intention, for example, they may come from multiple applications, providing users with multiple options and enabling the recommended services to be more in line with user habits.

[0012] In a possible design, the quick entry has a preset display effect. Exemplarily, the preset display effect includes at least one of the following: a preset color, a preset animation.

[0013] In this design, by setting a preset display effect for the quick entry, it is easier to prompt the user to check it. In this way, while reducing the impact on the current display interface, it can also increase the user's attention to the quick entry.

[0014] In one possible design, the second interface is a non-full-screen interface based on the first interface. Optionally, the non-full-screen interface can be a semi-modal interface based on the first interface; the semi-modal interface can also be called a semi-modal window, etc. Alternatively, the non-full-screen interface can be a floating window, a pop-up window, etc.

[0015] In this design, displaying recommended services through non-full-screen interfaces such as semi-modal interfaces can reduce the display impact on the current display interface, and can also display recommended services to users, thereby displaying more content to users.

[0016] In one possible design, in response to the first operation on the first information included in the first interface, before updating the first interface, the method also includes: obtaining services available for the application installed on the electronic device; wherein the services available are used to determine recommended services based on the first information.

[0017] In this design, by collecting the services that can be provided by applications installed on electronic devices, it is possible to provide services based on the collection and provide recommended services to users more accurately.

[0018] In one possible design, in response to a first operation on first information included in the first interface, before updating the first interface, the method further includes: obtaining target user behavior information of a target user account, where the target user behavior information is used to make service recommendations. Optionally, the recommended services included in the second interface are determined based on the target user behavior information; wherein the target user account is a user account logged in on the electronic device.

[0019] In this design, by collecting the user's historical behavior information, service recommendations can be made based on the user's usage habits, so that the recommended services can be more in line with the user's habits, thereby improving the user experience.

[0020] In one possible design, the recommended services included in the second interface are obtained by filtering candidate recommended services based on the target user's behavior information; wherein the candidate recommended services are obtained based on the first user's intent; and the recommended services included in the second interface are services that the user has not used based on the target user's behavior information. It can also be understood that, based on the target user's behavior information, if it is determined that the user has used the recommended service within a preset historical period, the recommended service can be filtered.

[0021] In this design, by collecting the user's historical behavior information, the alternative recommended services can be screened in combination with the user's historical behavior, thereby improving the accuracy of the recommended services displayed on the interface and improving the user's viewing efficiency of the recommended services.

[0022] In one possible design, the first information includes at least one of the following types: text, picture.

[0023] In this design, by using text and / or pictures as reference information, service recommendations in more scenarios can be met, and by using text and pictures as reference information, the accuracy of service recommendations can be improved.

[0024] In one possible design, when the first information includes text information of a protocol type, the first user intention is obtained by performing protocol identification on the first information; and / or, when the first information includes a named entity, the first user intention is obtained by performing named entity recognition (NER) processing on the first information; and / or, when the first information includes text information, the first user intention is obtained by performing semantic understanding on the first information; and / or, when the first information includes picture information, the first user intention is obtained by performing image recognition on the first information.

[0025] In this design, the electronic device can perform different analysis and processing according to different types of the first information, thereby ensuring the accuracy of service recommendations.

[0026] In one possible design, when the first information is text information of the protocol class, the recommended service includes: product viewing service, or video viewing service, or merchant viewing service; or, when the first information includes named entities, the recommended service includes at least one of the following types: navigation recommendation service, taxi recommendation service, merchant viewing service, and schedule creation service; when the first information includes text information, the recommended service includes at least one of the following types: schedule creation service, audio recommendation service, video recommendation service, translation service, navigation recommendation service, taxi recommendation service, and merchant viewing service; when the first information includes picture information, the recommended service includes at least one of the following types: schedule creation service, audio recommendation service, video recommendation service, translation service, navigation recommendation service, taxi recommendation service, and merchant viewing service.

[0027] In this design, the electronic device can recommend corresponding services according to different types of the first information, thereby ensuring the accuracy of service recommendations.

[0028] In one possible design, when the text information of the protocol class is a product protocol password, the recommended service is a product viewing service; when the text information of the protocol class is a video protocol password, the recommended service is a video viewing service; when the text information of the protocol class is a merchant protocol password, the recommended service is a merchant viewing service; when the named entity includes a location, the recommended service includes at least one of the following types: navigation recommendation service, taxi recommendation service.

[0029] In this design, the electronic device can recommend corresponding services according to different types of the first information, thereby ensuring the accuracy of service recommendations.

[0030] In a second aspect, embodiments of the present application provide a service recommendation method. This method can be applied to an electronic device. In this method, a first operation on first information included in a first interface is detected; in response to the first operation, a second interface is displayed, wherein the second interface is used to display multiple recommended services based on a first user's intent obtained from the first information.

[0031] In one possible design, the method further includes: in response to a second operation on the second interface, switching from displaying the first recommended service to displaying a second recommended service; wherein the first recommended service and the second recommended service are multiple recommended services intended by the first user. In another possible design, the second interface may also display the multiple recommended services simultaneously, or display the multiple recommended services simultaneously via a scrollable display area.

[0032] In one possible design, the second interface includes a first display area for displaying the multiple recommended services; the second interface also includes a second display area for displaying at least one recommended service for a second user intent derived based on the first information. It should be understood that the number of display areas included in the second interface can be determined based on the number of user intents derived based on the first information.

[0033] In one possible design, displaying the second interface in response to the first operation further includes: updating the first interface in response to the first operation, wherein the updated first interface includes a quick entry, wherein the quick entry is used to indicate the existence of a recommended service for the first information; and displaying the second interface in response to a second operation on the quick entry. It should be understood that the second interface can be displayed directly in response to the first operation, or the user can be prompted with a quick entry to indicate the existence of a recommended service, and then the second interface is displayed after the user confirms the operation to view the recommended service.

[0034] In a possible design, the quick entry has a preset display effect.

[0035] In one possible design, the preset display effect includes at least one of the following: a preset color, a preset animation.

[0036] In one possible design, the second interface is a non-full-screen interface based on the first interface. Optionally, the non-full-screen interface can be a semi-modal interface based on the first interface. Alternatively, the non-full-screen interface can also be a floating window, a pop-up window, etc.

[0037] In one possible design, in response to the first operation on the first information included in the first interface, before updating the first interface, the method also includes: obtaining services available for the application installed on the electronic device; wherein the services available are used to determine recommended services based on the first information.

[0038] In one possible design, in response to the first operation on the first information included in the first interface, before updating the first interface, the method also includes: collecting target user behavior information on the electronic device, and the target user behavior information is used for service recommendation.

[0039] In one possible design, the recommended services included in the second interface are determined based on the target user behavior information.

[0040] In one possible design, the recommended services included in the second interface are obtained after screening the alternative recommended services based on the target user behavior information; wherein, the alternative recommended services are obtained based on the first user intention; the recommended services included in the second interface are services that the user has not used based on the target user behavior information.

[0041] In one possible design, the first information includes at least one of the following types: text, picture.

[0042] In one possible design, when the first information includes text information of a protocol type, the first user intention is obtained by performing protocol identification on the first information; and / or, when the first information includes named entities, the first user intention is obtained by performing NER processing on the first information; and / or, when the first information includes text information, the first user intention is obtained by performing semantic understanding on the first information; and / or, when the first information includes picture information, the first user intention is obtained by performing image recognition on the first information.

[0043] In one possible design, when the first information is text information of the protocol class, the recommended service includes: product viewing service, or video viewing service, or merchant viewing service; or, when the first information includes named entities, the recommended service includes at least one of the following types: navigation recommendation service, taxi recommendation service, merchant viewing service, and schedule creation service; when the first information includes text information, the recommended service includes at least one of the following types: schedule creation service, audio recommendation service, video recommendation service, translation service, navigation recommendation service, taxi recommendation service, and merchant viewing service; when the first information includes picture information, the recommended service includes at least one of the following types: schedule creation service, audio recommendation service, video recommendation service, translation service, navigation recommendation service, taxi recommendation service, and merchant viewing service.

[0044] In one possible design, when the text information of the protocol class is a product protocol password, the recommended service is a product viewing service; when the text information of the protocol class is a video protocol password, the recommended service is a video viewing service; when the text information of the protocol class is a merchant protocol password, the recommended service is a merchant viewing service; when the named entity includes a location, the recommended service includes at least one of the following types: navigation recommendation service, taxi recommendation service.

[0045] In a third aspect, the present application provides an electronic device comprising multiple functional modules; the multiple functional modules interact with each other to implement the method performed by the electronic device in any of the above aspects and its respective embodiments. 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 the specific implementation.

[0046] In a fourth aspect, the present application provides an electronic device comprising 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 method executed by the electronic device in any of the above aspects and its various embodiments.

[0047] In a fifth aspect, the present application also provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a computer, the computer executes any one of the above aspects and its possible methods for designing electronic devices to execute.

[0048] In a sixth aspect, the present application provides a computer program product, which includes: a computer program (also referred to as code, or instructions), which, when executed, enables a computer to execute any of the above aspects and possible methods of designing electronic devices.

[0049] In the seventh aspect, an embodiment of the present application also provides a graphical user interface on an electronic device, which electronic device has a display screen, one or more memories, and one or more processors, wherein the one or more processors are used to execute one or more computer programs stored in the one or more memories, and the graphical user interface includes a graphical user interface displayed when the electronic device executes any of the above aspects and its possible designs.

[0050] In an eighth aspect, the present application also provides a chip, which is used to read a computer program stored in a memory and execute any of the above aspects and their possible methods of designing electronic devices to execute.

[0051] In a ninth aspect, the present application further provides a chip system, comprising a processor for supporting a computer device in implementing any of the above aspects and possible methods for designing electronic devices for execution. In one possible design, the chip system further comprises a memory for storing programs and data necessary for the computer device. The chip system may be composed of a chip alone, or may include a chip and other discrete components.

[0052] For the beneficial effects of any of the second to ninth aspects and their possible designs, please refer to the beneficial effects of the various possible designs in the first aspect, which will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] FIG1 is a schematic diagram of the hardware structure of a possible electronic device provided in an embodiment of the present application;

[0054] FIG2 is a block diagram of a software architecture of an electronic device provided in an embodiment of the present application;

[0055] FIG3A is a schematic diagram of one interface of a service recommendation method provided in an embodiment of the present application;

[0056] FIG3B is a second schematic diagram of an interface of a service recommendation method provided in an embodiment of the present application;

[0057] FIG3C is a third interface diagram of a service recommendation method provided in an embodiment of the present application;

[0058] FIG3D is a fourth schematic diagram of an interface of a service recommendation method provided in an embodiment of the present application;

[0059] FIG4 is a fifth interface diagram of a service recommendation method provided in an embodiment of the present application;

[0060] FIG5A is a sixth schematic diagram of an interface of a service recommendation method provided in an embodiment of the present application;

[0061] FIG5B is a seventh schematic diagram of an interface of a service recommendation method provided in an embodiment of the present application;

[0062] FIG5C is an eighth interface diagram of a service recommendation method provided in an embodiment of the present application;

[0063] FIG6 is a ninth interface diagram of a service recommendation method provided in an embodiment of the present application;

[0064] FIG7A is a tenth schematic diagram of an interface of a service recommendation method provided in an embodiment of the present application;

[0065] FIG7B is an eleventh schematic diagram of an interface of a service recommendation method provided in an embodiment of the present application;

[0066] FIG7C is a twelfth interface diagram of a service recommendation method provided in an embodiment of the present application;

[0067] FIG8 is a thirteenth schematic diagram of an interface of a service recommendation method provided in an embodiment of the present application;

[0068] FIG9 is a flowchart of a service recommendation method provided in an embodiment of the present application;

[0069] FIG10 is another flowchart of a service recommendation method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0070] The embodiments of the present application will be described in detail below with reference to the accompanying drawings.

[0071] The embodiments of the present application can be applied to the field of terminal technology, and can be specifically applicable to scenarios that require cross-application processing, or scenarios that require jumping from one interface to another. In one possible scenario, in the chat interface between user A and user B, user B sends a chat message that mentions a movie "XX". When the user wants to know more about the movie "XX", the usual operation process includes: exiting the chat application (application, APP), searching for video APPs or review APPs or movie ticket purchase APPs on the desktop, opening the video APP, entering keywords (such as movie names) on the video APP, and viewing the content displayed based on the keyword search. In this scenario, since cross-application processing is required, there are problems such as many user operation steps and low operation efficiency.

[0072] In view of this, an embodiment of the present application provides a service recommendation method. In this method, reference information is obtained in the current interface, and semantic analysis, semantic understanding, image recognition, content recognition and other processing are performed based on the reference information to make service recommendations; and a quick entry is displayed to prompt the user to view the recommended services. In addition, the method provided in the embodiment of the present application can perform intent recognition based on reference information, and then can realize the recommendation of multiple services from multiple applications under the same intention based on the recognized intent. In this way, multi-service recommendations based on multiple applications can improve the diversity and accuracy of service recommendations and improve user selectivity.

[0073] The technical solutions in the embodiments of the present application can be applied to electronic devices, and the electronic devices can be any devices that can display an interface. For example, the electronic device can be an electronic device such as a mobile phone, a tablet computer, a wearable device (e.g., a watch, a bracelet, etc.), a vehicle-mounted device, an augmented reality (AR) / virtual reality (VR) device, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), a smart home device (e.g., a smart TV, etc.), etc. that can display an interface. It will be understood that the embodiments of the present application do not impose any restrictions on the specific type of electronic device.

[0074] The electronic devices to which the embodiments of the present application can be applied include but are not limited to electronic devices equipped with Or electronic devices with other operating systems. The electronic device may be, for example, the electronic device introduced in the above embodiments.

[0075] FIG1 shows a schematic diagram of the hardware structure of a possible electronic device. Wherein, the electronic device 100 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 Wi-Fi module 290. Those skilled in the art will appreciate that the hardware structure of the electronic device 100 shown in FIG1 does not constitute a limitation on the electronic device 100. The electronic device 100 provided in the embodiment of the present application may include more or fewer components than shown, may combine two or more components, or may have different component configurations. The various components shown in FIG1 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.

[0076] The following is a detailed introduction to the various components of the electronic device 100 with reference to FIG1 :

[0077] The RF circuit 210 can be used to receive and transmit data during communications or calls. Specifically, after receiving downlink data from the base station, the RF circuit 210 sends it to the processor 230 for processing. Furthermore, it sends uplink data 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, and the like.

[0078] In addition, 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 of Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), etc.

[0079] Wi-Fi technology is a short-range wireless transmission technology. The electronic device 100 can connect to an access point (AP) via the Wi-Fi module 290 to access a data network. The Wi-Fi module 290 can be used to receive and send data during the communication process.

[0080] The electronic device 100 can be physically connected to other devices via the communication interface 280. Optionally, the communication interface 280 is connected to the communication interface of the other device via a cable to achieve data transmission between the electronic device 100 and the other device.

[0081] The electronic device 100 can also implement communication services and interact with other electronic devices. Therefore, the electronic device 100 needs to have a data transmission function, that is, the electronic device 100 needs to include a communication module. Although Figure 1 shows communication modules such as the RF circuit 210, the Wi-Fi module 290, and the communication interface 280, it is understandable that the electronic device 100 contains at least one of the above components or other communication modules (such as a Bluetooth module) for implementing communication to perform data transmission.

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

[0083] 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 100 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. Among them, the program storage area can store an operating system (mainly including the corresponding software programs or modules of the kernel layer, system layer, application framework layer and application layer).

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

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

[0086] Among them, the touch panel 251, also known as a touch screen, can collect user touch operations on or near it (such as operations performed by the user using a finger, stylus, or any other suitable object or accessory on or near the touch panel 251), and drive the corresponding connection device according to a pre-set program. In an embodiment of the present application, the touch panel 251 can collect user operations on or near it. For example, when the electronic device 100 is a mobile phone, the user operation can be a selection operation, a copy operation, a cut operation, etc. of a text message, and can also be a long press operation on a picture message, etc., or can also be a switching viewing operation for providing multiple recommended services in the embodiment of the present application.

[0087] Optionally, the other input devices 252 may include, but are not limited to, one or more of a physical keyboard, function keys (such as a volume control button, a switch button, etc.), a trackball, a mouse, a joystick, etc.

[0088] The display unit 260 can be used to display information input by the user or information provided to the user and various menus of the electronic device 100. The display unit 260 is the display system of the electronic device 100, which is used to present an interface and realize human-computer interaction. The display unit 260 may include a display panel 261. Optionally, the display panel 261 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. In an embodiment of the present application, the display unit 260 can be used to display a user interface, for example, it can display a service recommendation interface provided by the method provided in an embodiment of the present application, and the service recommendation interface may include one or more recommended services.

[0089] The processor 230 is the control center of the electronic device 100. It connects various components using various interfaces and lines, executes or runs software programs and / or modules stored in the memory 240, and calls data stored in the memory 240 to perform various functions of the electronic device 100 and process data, thereby enabling various services based on the electronic device 100. In the embodiment of the present application, the processor 230 can be used to implement a service recommendation method provided in the embodiment of the present application.

[0090] The electronic device 100 further includes a power supply 220 (e.g., a battery) for supplying power to various components. Optionally, the power supply 220 may be logically connected to the processor 230 via a power management system, thereby managing charging, discharging, and power consumption through the power management system.

[0091] As shown in Figure 1, the electronic device 100 also includes an audio circuit 270, a microphone 271 and a speaker 272, which can provide an audio interface between the user and the electronic device 100. The audio circuit 270 can be used to convert audio data into a signal that can be recognized by the speaker 272, and transmit the signal to the speaker 272, which is converted into a sound signal for output by the speaker 272. The microphone 271 is used to collect external sound signals (such as the sound of a person speaking, or other sounds, etc.), and convert the collected external sound signals into signals that can be recognized by the audio circuit 270 and send them to the audio circuit 270. The audio circuit 270 can also be used to convert the signal sent by the microphone 271 into audio data, and then output the audio data to the RF circuit 210 to send it to, for example, another electronic device, or output the audio data to the memory 240 for subsequent further processing.

[0092] Although not shown, the electronic device 100 may further include a camera, at least one sensor, etc., which will not be described in detail herein. The at least one sensor may include but is not limited to a pressure sensor, an air pressure sensor, an acceleration sensor, a distance sensor, a fingerprint sensor, a touch sensor, a temperature sensor, etc.

[0093] The operating system (OS) involved in the embodiments of the present application is the most basic system software running on the electronic device 100. The software system of the electronic device 100 can adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. The embodiments of the present application use an operating system adopting a layered architecture as an example to illustrate the software architecture of the electronic device 100.

[0094] Figure 2 is a block diagram of the software architecture of an electronic device provided in an embodiment of the present application. As shown in Figure 2, the software architecture of the 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. The layers communicate with each other through software interfaces. In some embodiments, the operating system is divided into five layers, from top to bottom, namely, the application layer, the application framework layer (framework, FWK), the runtime and system library, the kernel layer, and the hardware layer.

[0095] The application layer can include a series of application packages. As shown in Figure 2, the application layer can include the user interface (UI), camera, settings, skin modules, third-party applications, etc. Among them, third-party applications may include wireless local area network (WLAN), music, calls, Bluetooth, video, etc. In the application layer, the UI elements and their shadow properties can also be defined according to the system interface.

[0096] In one possible implementation, applications can be developed using Java by calling the application programming interface (API) provided by the application framework layer. Developers can use the application framework layer to interact with the underlying operating system layers (e.g., the hardware layer, kernel layer, etc.) to develop their own applications. The application framework layer primarily provides a series of services and management systems for the operating system.

[0097] The application framework layer provides an application programming interface and programming framework for applications in the application layer. The application framework layer includes some predefined functions. As shown in Figure 2, the application framework layer can include a view system, activity manager, window manager, content provider, telephony manager, resource manager, notification manager, etc.

[0098] The activity manager is used to manage the life cycle of each application and provide common navigation back functions, providing an interactive interface for all program windows.

[0099] The window manager manages windowed applications. It can determine the display size, determine whether a status bar is present, lock the screen, and take screenshots. Content providers store and retrieve data and make it accessible to applications. This data can include video, images, audio, incoming and outgoing calls, browsing history and bookmarks, and phone books.

[0100] The view system includes visible controls (also called "visual elements") and invisible controls (also called "invisible elements"), such as controls that display text and images. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface that includes a text notification icon can include a view that displays text and a view that displays an image.

[0101] The phone manager is used to provide communication functions for electronic devices, such as call status management (including answering, hanging up, etc.).

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

[0103] The Notification Manager allows applications to display notifications in the status bar. These messages can be displayed briefly and then disappear automatically without user interaction. For example, the Notification Manager is used to notify users of completed downloads and message reminders. The Notification Manager can also display notifications in the top status bar of the system as icons or scrolling text, such as notifications from background applications, or as dialog windows on the screen. Examples include text messages in the status bar, beeps, vibrations on electronic devices, and flashing indicator lights.

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

[0105] The core library consists of two parts: one containing the Java language's callable functions and the other containing the operating system's core libraries. The application layer and application framework layer run in a virtual machine. The virtual machine executes the Java files in the application layer and application framework layer as binary files. The virtual machine manages object lifecycles, stack management, thread management, security and exception management, and garbage collection.

[0106] The system library can include multiple functional modules, such as a surface manager, a media framework, a 3D graphics processing library (such as OpenGL ES), and a 2D graphics engine (such as SGL).

[0107] The surface manager is used to manage the display subsystem and provide the fusion of two-dimensional and 3D layers for multiple applications.

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

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

[0110] The 2D graphics engine is a drawing engine for 2D drawings. The 2D graphics engine can perform drawing operations and draw UI elements and their shadows on the screen.

[0111] In some embodiments, a three-dimensional graphics processing library may be used to draw a three-dimensional motion trajectory image, and a two-dimensional graphics engine may be used to draw a two-dimensional motion trajectory image.

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

[0113] The hardware layer can include various sensors, such as accelerometers, gravity sensors, touch sensors, etc.

[0114] Typically, the electronic device 100 can run multiple applications simultaneously. In simpler cases, one application corresponds to one process, while in more complex cases, one application corresponds to multiple processes. Each process has a process ID.

[0115] It should be understood that in the embodiments of the present application, "at least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural 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, c can be single or multiple. "Multiple" refers to two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship.

[0116] In addition, it should be understood that, in the description of this application, words such as "first" and "second" are only used for the purpose of distinguishing the description, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying order.

[0117] It should be understood that the hardware structure of the electronic device can be as shown in Figure 1, and the software system architecture can be as shown in Figure 2, wherein 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 process of a service recommendation method provided in an embodiment of the present application.

[0118] In order to facilitate understanding of a service recommendation method provided by this application, the following describes the implementation process of the method provided by this application in conjunction with the contents shown in Figures 3A to 8. For ease of understanding, the following first introduces several possible application scenarios that may be involved in the method provided by this application. It should be noted that in the following embodiments, the electronic device is a mobile phone as an example. The implementation of other types of electronic devices can refer to the implementation of mobile phones, and this application will not repeat the introduction.

[0119] Scenario A: Service recommendation based on single intent

[0120] Figure 3A is a schematic diagram of an interface for a service recommendation method provided in an embodiment of the present application. Figure 3A shows that interface 300A includes a chat interface. When a mobile phone detects a selection operation on a chat text message sent by user A, a pop-up window 301 may be displayed in response to the selection operation. For example, the chat text message sent by user A may read, "A few years ago, I saw a very good war movie. I've forgotten the name. It's about a father who, in order to protect his son, tricks him into believing it's a game. It's hilarious and touching." Pop-up window 301 may include, but is not limited to, the following controls: select all, cut, copy, forward, and search. For example, in response to a click on the copy control included in pop-up window 301, the electronic device may display interface 300B. It should be noted that the electronic device may also respond to operations on the select all, cut, forward, and search controls included in pop-up window 301. It should be understood that any operation that can obtain reference information may trigger the display of interface 300B. Reference information may be understood as sample information used for service recommendation. For example, the reference information in interface 300A may be the chat text message sent by user A. In addition, in order to improve the accuracy of service recommendations, service recommendations can be made in combination with multiple chat text messages. For example, not only can the chat text message sent by user A be used as reference information, but the chat text message in which user B replies "OK, I'll take a look" can also be combined for semantic context analysis, so as to determine that user B wants to view the content mentioned in user A's chat text message.

[0121] In the interface 300B included in Figure 3A, the bottom may include a quick entry 302, which can be used to jump to the service recommendation interface. Exemplarily, the electronic device can display interface 300C in response to a click operation or a pull-up operation on the quick entry 302. It should be noted that the present application does not limit the display style of the quick entry 302, and the quick entry 302 can also be displayed in other possible styles; for example, a floating icon, a floating window, a pop-up window, etc. In addition, the quick entry 302 can also be displayed in combination with various colors and effects to prompt the user; for example, it can be combined with color and flashing (or flashing) effects to prompt the user that there are recommended services for user operations, etc. It should be understood that the display position of the quick entry 302 is not limited in the embodiment of the present application. For example, it can be displayed at any possible position such as the bottom, side, top, or middle of the interface. It should also be understood that quick entry 302 can be displayed in an overlay manner, or it can be understood that quick entry 302 is displayed overlayed on interface 300A in Figure 3A. In this case, quick entry 302 can be provided by the system or by an application. Alternatively, quick entry 302 can be a part of interface 300B, such as a control or display area. In this case, quick entry 302 can be provided by an application. In addition, it should be understood that when the electronic device determines that there is no recommended service for the reference information, quick entry 302 may not be displayed.

[0122] In the interface 300C included in FIG3A , the recommended service can be displayed through a semi-modal pop-up window 303. As shown in the pop-up window 303, the recommended service can be an introduction to the movie "XXXX". For example, the introduction can include but is not limited to the release year, movie type, director, length and other related service information. For example, it can also include an APP icon that provides the related service information, an APP name, and a control for jumping to the APP. It should be noted that the form and content of the service recommendation interface are not limited in the embodiment of the present application; for example, in addition to the form of the pop-up window 303, it can also be displayed in full screen, and can also jump to a new interface display, etc.; for example, the content can also be related service information that other APPs can provide. Among them, the related service information displayed in the pop-up window 303 can be triggered when it is determined that APP 1 can provide a service function for movie introduction based on the pre-collected service types that APP 1 can provide.

[0123] It should be noted that in the embodiments of this application, the recommended services are not limited to being displayed in a semi-modal, non-full-screen interface. They can be displayed through any non-full-screen interface, such as a floating window or pop-up window, thereby reducing the impact on the current display interface while still displaying the recommended services to the user. The following embodiments use a semi-modal interface (also referred to as a "semi-modal window") as an example, and the introduction of other forms of non-full-screen interfaces will not be repeated.

[0124] In addition, it can be understood that in interface 300A, the reference information selected by the user does not include a clear movie name, so the recommendation service displayed in interface 300C can be a fuzzy intention obtained by performing semantic understanding and other processing based on the reference information obtained in interface 300A.

[0125] In another possible scenario, Figure 3B is another schematic interface diagram of a service recommendation method provided by an embodiment of the present application. Compared to Figure 3A, in interfaces 300A', 300B', and 300C' included in Figure 3B, the reference information can be "I saw a great war movie called 'XXXX' a few years ago. It tells the story of a father who, in order to protect his son, tricks him into believing it's all a game. It's hilarious and touching throughout." As can be seen, this reference information includes the movie title, so a clear intent can be derived based on this reference information.

[0126] Figure 3C is another schematic diagram of an interface for a service recommendation method provided in an embodiment of the present application. Interfaces 300D, 300E, and 300F shown in Figure 3C are different service recommendation interfaces. Interfaces 300D through 300F can be obtained by referring to the methods described in Figures 3A and 3B . The process for displaying the service recommendation interfaces in this scenario will not be repeated. Unlike Figures 3A and 3B , based on the user intent derived from reference information, recommended services from multiple different apps can be provided. For example, a recommended service could be an introduction to the movie "XXXX" provided by Video App 1 shown in interface 300D, an introduction to the movie "XXXX" provided by Video App 2 shown in interface 300E, or an introduction to the movie "XXXX" provided by Video App 3 shown in interface 300D. As shown in Figure 3C , the different service recommendation interfaces can be switched by swiping left or right or clicking on the navigation points included in the navigation bar 304. Additionally, the number of service recommendations included in pop-up window 303 and the currently displayed service recommendation interface can be viewed through the navigation bar 304.

[0127] It should be noted that the embodiment of the present application does not limit the switching display method of multiple service recommendation interfaces. For example, switching can be achieved by sliding left and right as shown in Figure 3C, or by sliding up and down, or by multiple service cards, or by combining cards, etc. For another example, Figure 3D is another interface schematic diagram of a service recommendation method provided by an embodiment of the present application. As shown in interface 300G in Figure 3D, multiple recommended services can also be switched in the form of multiple service cards, and different service cards can be switched by sliding up and down. Alternatively, different service recommendation interfaces can also be displayed simultaneously in the service recommendation interface; for example, recommended services of multiple different APPs can be displayed through a slidable window, and the user can view the displayed multiple service recommendation interfaces through sliding operations; for another example, the display size of multiple recommended services can be adaptively adjusted according to the size of the semi-modal service recommendation interface so that they can be displayed simultaneously in the semi-modal service recommendation interface.

[0128] It is understandable that when the reference information includes other types of descriptive content such as music, TV series, etc., you can also refer to the implementation process introduced in Figures 3A to 3D, and this application will not go into details.

[0129] In other possible scenarios, reference information may also include, but is limited to, the following information types: text content and / or image content including merchant names, text content and / or image content including item names, text content and / or image content including time events, text content including protocol content such as APP passwords, and text content and / or image content in other languages ​​such as English. Among them, text content including protocol content can be understood as text content with a specified format.

[0130] For example, Figure 4 is a schematic diagram of an interface for a service recommendation method provided in an embodiment of the present application. Figure 4 includes interface 400A, which is text information including a merchant name. The recommended service may be navigation preview information provided by Map APP 1. Figure 4 includes interface 400B, which is text information including a time event. The recommended service may be a service for quickly creating a schedule. Figure 4 includes interface 400C, which is picture information including English. The recommended service may be a translation service.

[0131] Scenario B: Service recommendation based on multiple intents

[0132] Figure 5A is a schematic diagram of an interface for a service recommendation method provided in an embodiment of the present application. Figure 5A shows that interfaces 500A, 500B, and 500C are different service recommendation interfaces. Interfaces 500A through 500C can be obtained by referring to the method described in Figure 3A. The process for displaying the service recommendation interface will not be repeated in this scenario.

[0133] Based on the chat text message sent by user C, "I heard that Li Ji Steak (XX store) has a good environment and good food. Let's go there sometime," multiple related services can be recommended. For example, in interface 500A, the recommended service can be navigation preview information provided by Map App 1. For another example, in interface 500B, the recommended service can be taxi preview information provided by Taxi App 1. Or, for another example, in interface 500C, the recommended service can be review preview information provided by Review App 1. As can be seen from interfaces 500A to 500C shown in Figure 5A, multiple user intentions can be identified based on reference information, and multiple recommended services can be obtained based on multiple user intentions.

[0134] Interface 500A may include a navigation bar 501. The number of navigation points included in navigation bar 501 may be determined based on the number of recommended services. Furthermore, the navigation point corresponding to the current interface displayed in navigation bar 501 may have a different style from the navigation points corresponding to other interfaces. For example, the navigation point corresponding to the current interface may be a black navigation point, and the navigation point corresponding to other interfaces may be a white navigation point. Exemplarily, the electronic device detects and responds to click operations on other navigation points, or left and right sliding operations on the interface, and may switch to display interfaces including different recommended services, for example, switching from interface 500A to interface 500B, or from interface 500B to interface 500C.

[0135] It should be noted that the embodiment of the present application does not limit the display method of the interface including multiple recommended services. For example, Figure 5B is another interface schematic diagram of a service recommendation method provided by an embodiment of the present application. In the interface 500D included in Figure 5B, multiple recommended services can be displayed sequentially in a vertical manner. In addition, when multiple recommended services cannot be displayed in full, you can also slide up and down to view more recommended services. For example, a sliding bar can also be included on the right side of the pop-up window to prompt the user that there are more recommended services to view. Alternatively, when multiple recommended services cannot be displayed in full, you can also drag the pop-up window upwards to expand the display range of the pop-up window so that more recommended services can be displayed.

[0136] In the interfaces 500F1, 500F2, and 500F3 included in FIG5B , multiple recommended services can also be displayed in the form of stacked cards. For example, the right side of the pop-up window included in the interface 500F1 may include a navigation bar 502. By clicking different navigation points or sliding up and down on the stacked cards, the interfaces including different recommended services can be switched, such as switching from the interface 500F1 to the interface 500F2, or from the interface 500F2 to the interface 500F3. It should be understood that in the pop-up window for service recommendation, various recommended services can be displayed in the form of interfaces or cards, and this application does not limit the display method of the recommended services.

[0137] For example, Figure 5C is another interface diagram of a service recommendation method provided in an embodiment of the present application. In interface 500G included in Figure 5C, multiple recommended services can also be displayed in one or a combination of multiple columns, multiple-sized cards, etc. For example, in interface 500G, the navigation preview information provided by Map APP 1 and the taxi preview information provided by Taxi APP 1 can be displayed together in a row. In this case, the cards or interfaces displaying the recommended services are scaled down, while the review preview information provided by Review APP 1 can be displayed in a separate row.

[0138] It should be noted that the embodiments of this application do not limit the type of reference information. Reference information may include, but is not limited to, at least one of the following: text information, image information, etc. For example, Figure 6 illustrates another interface diagram of a service recommendation method provided by an embodiment of this application. The interface 600 shown in Figure 6 may be a browsing interface for a review app or a sharing app, which may include both image information and text information. In response to a long press on image 601, for example, the electronic device may use image 601 as reference information, thereby enabling service recommendations based on image 601. For example, it may recommend information about multiple businesses that offer steaks. In another exemplary embodiment, to improve the accuracy of service recommendations, other information included in the interface containing the image information may be combined, such as location information 602 included in interface 600, to determine more accurate business information. In this way, based on the image information and text information, navigation preview information provided by the map app 1 for the business can be provided, as well as taxi preview information provided by the taxi app 1 as shown in Figure 5A and review preview information provided by the review app 1.

[0139] The text information may be text information extracted from a picture, for example, text information may be extracted from a screenshot; the picture information may be an image frame captured from a video, or a local picture segmented from a global picture, etc.

[0140] In conjunction with the content introduced in Figure 3C, each user intent can also provide services from multiple different APPs. Based on this, each intent can also obtain multiple recommended services. Figure 7A is a schematic interface diagram of a service recommendation method provided in an embodiment of the present application. As shown in interfaces 700A1 and 700A2 in Figure 7A, the identified user intent 1 can be used, for example, to provide navigation preview information from a map APP based on a merchant name. Considering that multiple map APPs are usually installed on the user's mobile phone, the service corresponding to the intent 1 can include navigation preview information from map APP 1 as shown in interface 700A1, and can also include navigation preview information from map APP 2 as shown in interface 700A2, or can also include navigation preview information from other map APPs not shown in Figure 7A. Optionally, map APP 1 can be the one that the user usually uses, or the one that the user used last time, or it can be the built-in map APP in the mobile phone. It should be understood that different services included in the same intent can also be displayed in order of priority, so that the user can prioritize and view recommended services with higher priority to reduce user operations.

[0141] Similarly, as shown in interfaces 700B1 and 700B2 in Figure 7A , the identified user intent 2 can be used, for example, to provide taxi preview information from a taxi app based on the merchant name. Considering that users often have multiple taxi apps installed on their phones, the services corresponding to intent 2 may include taxi preview information from taxi app 1, as shown in interface 700B1, taxi preview information from taxi app 2, as shown in interface 700B2, or even taxi preview information from other taxi apps not shown in Figure 7A . Alternatively, taxi app 1 can be the user's commonly used app, the one they last used, or the default taxi app installed on their phone. It will be appreciated that using multiple services allows users to quickly compare information such as prices and ride durations. For example, combining interfaces 700B1 and 700B2 reveals that the estimated taxi fare from taxi app 1 is lower.

[0142] Similarly, as shown in interfaces 700C1 and 700C2 in Figure 7A, the identified user intent 3 can be used, for example, to provide review preview information from review apps based on the merchant name. Considering that users often have multiple review apps installed on their phones, the service corresponding to intent 3 can include review preview information from review app 1, as shown in interface 700C1, review preview information from review app 2, as shown in interface 700C2, or review preview information from other review apps not shown in Figure 7A. Optionally, review app 1 can be the user's commonly used app, the one they last used, or the default review app on their phone. It will be appreciated that using multiple services allows users to quickly view review preview information for the merchant from different review apps. As shown in interface 700C1, the merchant's review score on review app 1 is 4.0; as shown in interface 700C2, the merchant's review score on review app 2 is 5.0.

[0143] It should be noted that the embodiment of the present application can display recommended services from multiple applications in multiple intents through a variety of display methods. For example, it may include but is not limited to:

[0144] Method 1, as shown in FIG7A , including interfaces 700A1, 700B1, and 700C1, can be switched to display corresponding to different user intentions by sliding left and right. Also, in interface 700A1, different services corresponding to intention 1 can be switched to display by sliding up and down. Similarly, in interface 700B1, different services corresponding to intention 2 can be switched to display by sliding up and down. Similarly, in interface 700C1, different services corresponding to intention 3 can be switched to display by sliding up and down. This method can realize switching between different recommended services belonging to the same intention, or recommended services belonging to different intentions, through different operations, so that a variety of possible recommended services can be displayed.

[0145] Method 2, Figure 7B is a schematic diagram of the interface of a service recommendation method provided in an embodiment of the present application. As shown in the interface 700D1 included in Figure 7B, it can include multiple display areas arranged in sequence in the vertical direction, such as display area 701 and display area 702. Among them, display area 701 is used to display the service corresponding to intent 1, and display area 702 is used to display the service corresponding to intent 2. In addition, on each display area, you can also switch to displaying different services corresponding to the same intent by sliding left and right. As shown in the interface 700D2 included in Figure 7A, you can slide left and right in the display area 701 to switch from service 1 corresponding to intent 1 to display service 2 corresponding to intent 1; and slide left and right in the display area 702 to switch from service 1 corresponding to intent 2 to display service 2 corresponding to intent 2.

[0146] It should be noted that, similar to interface 500D in FIG5B , interface 700D1 can also display a portion of the display area corresponding to the intent. For example, the display area corresponding to intent 3 can be displayed by sliding up and down in the pop-up window. In addition, the embodiment of the present application does not limit the switching display method of the display area content. In addition to the left and right sliding operation, it can also be achieved by, for example, sliding up and down within the display area.

[0147] Method 3, Figure 7C is a schematic diagram of the interface of a service recommendation method provided in an embodiment of the present application. As shown in the interface 700E1 included in Figure 7C, it can include multiple display areas arranged in combination, such as display area 703, display area 704 and display area 705. Among them, display area 703 is used to display the service corresponding to intent 1, display area 704 is used to display the service corresponding to intent 2, and display area 705 is used to display the service corresponding to intent 3. In addition, on each display area, it is also possible to switch the display of different services corresponding to the same intent by sliding up and down or sliding left and right. As shown in the interface 700E2 included in Figure 7A, by sliding up and down in the display area 703, the service 1 corresponding to intent 1 can be switched to display the service 2 corresponding to intent 1; by sliding up and down in the display area 704, the service 1 corresponding to intent 2 can be switched to display the service 2 corresponding to intent 2; by sliding left and right in the display area 705, the service 1 corresponding to intent 3 can be switched to display the service 2 corresponding to intent 3.

[0148] In addition, the embodiments of the present application do not limit the switching display method of the display content of the display area. In each display area, the display can be switched by sliding left and right, or by sliding up and down, or by other operation methods. This application does not limit this.

[0149] It should be noted that the above-mentioned scenarios are only possible examples provided by the embodiments of the present application, and are not intended to limit the specific scenarios of the present application. It should be understood that various scenarios can also be combined. For example, the scenario in which the reference information shown in FIG6 is picture information can be combined with the multi-intention and multi-application scenarios introduced in FIG7A to FIG7C. For example, FIG8 is another interface schematic diagram of a service recommendation method provided by an embodiment of the present application. Interface 800A in FIG8 is, for example, a chat interface. When the mobile phone detects a long press operation on the chat picture information 801 sent to user F, a quick entry 802 can be displayed in response to the long press operation. In interface 800B shown in FIG8, the mobile phone detects and responds to a click operation, an upward drag operation, or a long press operation on the quick entry 802, and displays interface 800C. Interface 800C may include a semi-modal interface, comprising display areas 803, 804, and 805. Display area 803 includes navigation preview information provided by Map App 1, display area 804 includes taxi preview information provided by Taxi App 1, and display area 805 includes recommended services for quickly creating schedules. As can be seen from interface 800A, the reference information is text information extracted from the chat image. The reference information may also include more conversations between user F and user G, such as a chat text message from user F asking, "Want to go see it?" and a chat text message from user G asking, "Sure, I'll take a look." In this way, based on the reference information, multiple services corresponding to multiple intents can be provided, with each intent corresponding to at least one service.

[0150] Based on the above description of the interface processing effects that can be achieved by adopting the method provided in the embodiments of the present application in combination with multiple scenarios, the following introduces the implementation process of the service recommendation method provided in the present application, so as to illustrate how to adopt the method provided in the present application to achieve the interface processing effects shown in Figures 3A to 8 introduced above, thereby realizing the service recommendation function in some scenarios, reducing the user's operation process, and improving operation efficiency.

[0151] FIG9 is a flow chart of a service recommendation method provided in an embodiment of the present application. The flow may include the following steps:

[0152] Step 901: Collect service information that each APP can provide. For example, the service information that each APP can provide is collected in advance to obtain the data source of the recommended service function, so that more accurate service recommendations can be made based on the reference information and the data source of the recommended service function. For example, an example of some information included in the data source of the recommended service function can be shown in Table 1 below:

[0153] Table 1

[0154] It should be understood that based on the data source of the recommended service functions collected, the corresponding relationship between each service and the APPs it can provide can also be obtained. For example, based on the example in Table 1, the corresponding relationship can be shown in the following Table 2:

[0155] Table 2

[0156] It can be understood that based on the correspondence shown in Table 2, when the electronic device detects the user intention, it can determine the APP that can provide services based on the user intention, and then recommend services from different APPs for the same user intention.

[0157] It should be noted that the information collected by the electronic device can be obtained from the currently installed APP or the previously installed APP of the electronic device. For example, when a user installs a new APP, the services that the APP can provide can be obtained and updated to the data source of the recommended service function.

[0158] Alternatively, the information collected by the electronic device may also be an information database obtained from the network.

[0159] Step 902: Obtain target user behavior information of the target user account.

[0160] Among them, the target user account can be understood as the user account logged in on the electronic device. Exemplarily, obtaining the target behavior information of the target user account may include but is not limited to: collecting the target user behavior information on the current electronic device; collecting the target user behavior information of other electronic devices that have logged in to the target user account. For example, the current electronic device may be a mobile phone, and the other electronic devices may be tablet computers. Optionally, the current electronic device and the other electronic devices may communicate through a distributed network or a cloud server, for example, the target user behavior information on other electronic devices may be sent to the current electronic device through a distributed network, or the target user behavior information on other electronic devices may be first sent to the cloud server, and then sent to the current electronic device by the cloud server.

[0161] In one possible scenario, the target user account may be a user account logged in to the operating system on the electronic device, such as a Huawei account. In this scenario, service recommendations may be implemented by the operating system.

[0162] In another possible scenario, the target user account may also be a user account logged in to an APP included on the electronic device. In this scenario, service recommendation may be implemented by the APP.

[0163] Among them, the target user behavior information is used to indicate user behavior information related to the recommendation service provided by the embodiment of the present application. For example, the target user behavior information may include but is not limited to: user usage information of the APP, user search behavior information on the APP. User browsing behavior information on the APP, user order information on the APP, user video playback information on the APP, user tag information on the APP, etc. It can be understood that different user behavior information can be collected for different APPs according to the functions and services that can be provided by different APPs. For example, the user's video playback information on the video APP, order information on the shopping APP, search behavior information on the navigation APP, etc. can be collected, and this application does not limit this. It should be understood that the types of information collected in different APPs can be pre-configured.

[0164] For example, user behavior information within a specified time range can be collected, for example, user behavior information within a month or a week. In this way, the recommended services can more accurately reflect the user's recent habits.

[0165] It should be noted that steps 901 and 902 are preparatory information for implementing the service recommendation method provided in the embodiment of the present application. These steps do not need to be processed each time a service recommendation is performed. Furthermore, the embodiment of the present application does not limit the order in which steps 901 and 902 are performed; for example, they may be performed in parallel.

[0166] Step 903: Acquire reference information, wherein the reference information may include but is not limited to at least one of text information, image information, and the like.

[0167] Exemplarily, the electronic device may obtain reference information in response to a first operation on a first interface. The first interface may include, for example, a chat interface, an APP browsing interface, a video browsing interface, an album browsing interface, etc.; optionally, the first interface may be the current display interface of the electronic device, or it may be an application interface displayed by the electronic device. The first operation may include, for example, but is not limited to: operations such as copying, cutting, searching, selecting, and dragging text information for selecting text information, and operations such as copying, cutting, searching, long pressing, selecting, and dragging picture information for selecting picture information. In addition, the picture information may also be obtained by capturing image frames from a video, and the text information may also be obtained by performing text recognition from a picture.

[0168] Optionally, the reference information may be obtained through a clipboard or file transfer station of the system. For example, when the user obtains text information and / or image information to the clipboard or file transfer station through a first operation, the electronic device may read the reference information from the clipboard or file transfer station.

[0169] Alternatively, the reference information may be provided by a preset interface provided by the APP. For example, when the APP provides a preset interface for obtaining reference information, the electronic device may directly obtain the text information and / or picture information selected by the first operation from the preset interface.

[0170] Step 904: Display a service recommendation interface based on the reference information.

[0171] For example, different processing may be performed based on different information types of the reference information, including but not limited to one or more of the following processing methods:

[0172] (1) When the information type includes text information of the protocol type, such as an APP password, etc. Based on the characteristics of the text information of the protocol type, the corresponding APP can be directly identified, so that the corresponding content of the corresponding APP indicated by the reference information can be directly linked. Exemplarily, when it is detected that the information type is text information, it can be determined whether it is text information of the protocol type based on the format of the text information. It should be understood that text information of the protocol type generally has a specified format.

[0173] (2) When the reference information includes named entities with specific meanings such as phone numbers, emails, time, places, names, proper nouns, etc., named entity recognition (NER) processing can be performed.

[0174] (3) When the reference information includes textual information, semantic understanding and intent recognition natural language processing (NLP) can be performed. For example, the reference information can be subjected to reference resolution, thereby identifying multiple referent entities in the reference information and further determining the user's intent.

[0175] For example, text information may generally include text of named entities and text of unnamed entities. By performing NER processing on named entities and performing semantic understanding and NLP processing on text information, more accurate recognition of text information can be achieved.

[0176] (4) When the reference information includes image information, image recognition, image segmentation and other processing can be performed to determine the user's intention. Optionally, after identifying text information from the image information, the above-mentioned processing method for the text information can be referred to. For example, when the text information is identified as protocol-type text information, the above-mentioned processing method for protocol-type text information can be referred to to continue processing. Another option is that the electronic device can extract the region of interest (ROI) in the image information to determine the user's intention.

[0177] In an optional example, based on the data source of the reference information and the recommended service function, Q recommended services corresponding to P intentions are determined. P and Q are positive integers, Q is greater than or equal to P, and it can also be understood that one intention can correspond to at least one recommended service. For example, when the electronic device recognizes that the user intends to view navigation information, it can make a service recommendation of navigation preview information based on the corresponding relationship in Table 2 and the APP that can provide navigation information. For example, when the electronic device recognizes that the user intends to view taxi information, it can make a service recommendation of taxi preview information based on the corresponding relationship in Table 2 and the APP that can provide taxi navigation information.

[0178] In another optional example, Q recommended services corresponding to P intentions are determined based on reference information, data sources of recommended service functions, and target user behavior information.

[0179] Optionally, the electronic device may determine the priority of the recommended services based on the target user's behavior information. For example, the priority of the recommended services may be determined based on the user's usage frequency, last usage history, etc. For example, if the user uses Map App 1 most frequently, the service from Map App 1 may be prioritized. For another example, if the user last used Map App 2, the service from Map App 2 may be prioritized.

[0180] Alternatively, the electronic device can filter alternative recommended services based on target user behavior information; the alternative recommended services can be derived based on user intent. For example, if a user has used an alternative recommended service within a preset time range, the alternative recommended service can be filtered out or given a lower priority. For example, if an alternative recommended service includes review information from Review App 1, and the user has viewed the review information provided by Review App 1 today, the review information provided by Review App 1 may not be recommended, or the review information recommendation may be displayed at the back of the multiple recommended services. This can further improve the accuracy of service recommendations and better suit user preferences. Optionally, the preset time range can be, for example, a preset duration, such as one hour, half an hour, or one day. Alternatively, the preset time range can be, for example, a time range starting from a first event, such as opening a chat app, such as within the preset range starting from the user opening the chat app. This application does not limit the method for setting the preset time range.

[0181] In an optional example, the electronic device displays Q recommended services corresponding to P intents. For example, the Q recommended services can be divided into P groups according to the intent, P display areas are determined, and the P groups are displayed in the P display areas. In addition, the P intents can also have priorities, so the P display areas can be set according to the priorities. Among them, the P display areas can be arranged and displayed in one or a combination of horizontal, vertical, single column or multi-column modes.

[0182] In another exemplary embodiment, the Q recommended services may be displayed sequentially, wherein the Q recommended services may be displayed in a horizontal manner, a vertical manner, a single column manner, a multi-column manner, or a combination thereof.

[0183] Among them, the various display modes of the service recommendation interface can be found in the contents introduced in Figures 3A to 8 above, and will not be repeated here.

[0184] FIG10 is another flow chart of a service recommendation method provided in an embodiment of the present application. The flow may include the following steps:

[0185] Step 1001: In response to a first operation on first information included in a first interface, the first interface is updated, and the updated first interface includes a quick entry, and the quick entry is used to indicate the existence of a recommended service for the first information.

[0186] Step 1002: In response to a second operation on the quick entry, a second interface is displayed, where the second interface is used to display recommended services.

[0187] The specific implementation process of step 1001 and step 1002 can be found in the aforementioned embodiment, and will not be repeated in this application.

[0188] Based on the above embodiments, the present application also provides an electronic device, which includes multiple functional modules; the multiple functional modules interact with each other to implement the functions performed by the electronic device in each method described in the embodiments of the present 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 the specific implementation. For example, execute steps 901 to 904 executed by the electronic device in the embodiment shown in Figure 9. Alternatively, execute steps 1001 to 1002 executed by the electronic device in the embodiment shown in Figure 10.

[0189] Based on the above embodiments, the present application further 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, and when the electronic device is running, the at least one processor performs the functions performed by the electronic device in each method described in the embodiments of the present application. For example, steps 901 to 904 performed by the electronic device in the embodiment shown in Figure 9 are performed. Alternatively, steps 1001 to 1002 performed by the electronic device in the embodiment shown in Figure 10 are performed.

[0190] Based on the above embodiments, the present application also provides a computer program product, which includes: a computer program (also called code, or instructions), which, when executed, enables a computer to execute the methods described in the embodiments of the present application.

[0191] Based on the above embodiments, the present application further provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a computer, the computer executes the methods described in the embodiments of the present application.

[0192] Based on the above embodiments, the present application further provides a chip, which is used to read a computer program stored in a memory to implement the various methods described in the embodiments of the present application.

[0193] Based on the above embodiments, the present application provides a chip system, which includes a processor for supporting a computer device to implement the various methods described in the embodiments of the present application. In one possible design, the chip system also includes a memory, which is used to store the necessary programs and data for the computer device. The chip system can be composed of a chip, or it can include a chip and other discrete devices. It should be understood by those skilled in the art that the embodiments of the present application can be provided as a method, system, or computer program product. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present 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.

[0194] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each flow and / or box in the flow chart and / or block diagram, as well as the combination of the flow chart and / or box in the flow chart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the functions specified in one or more flow charts and / or one or more boxes in the block diagram.

[0195] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0196] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0197] Obviously, those skilled in the art may make various modifications and variations to this application without departing from the scope of protection of this application. Thus, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalents, this application is intended to include these modifications and variations.

Claims

1. A service recommendation method, characterized in that, Applied to an electronic device, including: In response to a first operation on first information included in a first interface, update the first interface. After the update, the first interface includes a quick access entry, and the quick access entry is used to indicate that there is a recommended service for the first information; In response to a second operation on the quick access entry, display a second interface, and the second interface is used to display the recommended service for the first information.

2. The method according to claim 1, wherein The second interface includes a first display area, and the first display area is used to display multiple recommended services of a first user intention obtained based on the first information. The method further includes: In response to a third operation on the first display area, on the first display area, switch from displaying a first recommended service to displaying a second recommended service; wherein, the first recommended service and the second recommended service are from different application programs.

3. The method according to claim 1 or 2, characterized in that, The quick access entry has a preset display effect.

4. The method according to claim 3, wherein The preset display effect includes at least one of the following: a preset color, a preset animation.

5. The method according to any one of claims 1 to 4, characterized in that Before updating the first interface in response to a first operation on first information included in the first interface, the method further includes: Obtain the services that can be provided by the application programs installed on the electronic device; wherein, the services that can be provided are used to determine recommended services based on the first information.

6. The method according to any one of claims 1 to 5, characterized in that Before updating the first interface in response to a first operation on first information included in the first interface, the method further includes: Obtain the target user behavior information of a target user account, and the target user behavior information is used for service recommendation; wherein, the target user account is the user account logged in on the electronic device.

7. The method according to claim 6, wherein The recommended services included in the second interface are determined based on the target user behavior information.

8. The method according to claim 6 or 7, characterized in that, The recommended services included in the second interface are obtained after filtering alternative recommended services based on the target user behavior information; Wherein, the alternative recommended services are obtained based on the first user intention; the recommended services included in the second interface are services that are determined based on the target user behavior information and have not been used by the user within a preset time range.

9. The method according to any one of claims 1 to 8, characterized in that, The first information includes at least one of the following types: text, picture.

10. The method according to any one of claims 1 to 9, characterized in that When the first information includes text information of a protocol type, the first user intention is obtained by performing protocol recognition on the first information; and / or, When the first information includes a named entity, the first user intention is obtained by performing named entity recognition (NER) processing on the first information; and / or, When the first information includes text information, the first user intention is obtained by performing semantic understanding on the first information; and / or, When the first information includes picture information, the first user intention is obtained by performing image recognition on the first information.

11. [Corrected according to Rule 91 on 21.10.2024] The method according to claim 10, characterized in that When the first information is text information of the protocol type, the recommendation service includes: a product viewing service, or a video viewing service, or a merchant viewing service; and / or, When the first information includes a named entity, the recommendation service includes at least one of the following types: a navigation recommendation service, a taxi-hailing recommendation service, a merchant viewing service, a schedule creation service; and / or, When the first information includes text information, the recommendation service includes at least one of the following types: a schedule creation service, an audio recommendation service, a video recommendation service, a translation service, a navigation recommendation service, a taxi-hailing recommendation service, a merchant viewing service; and / or, When the first information includes picture information, the recommendation service includes at least one of the following types: a schedule creation service, an audio recommendation service, a video recommendation service, a translation service, a navigation recommendation service, a taxi-hailing recommendation service, a merchant viewing service.

12. The method according to claim 11, wherein When the text information of the protocol type is a product protocol password, the recommendation service is a product viewing service; when the text information of the protocol type is a video protocol password, the recommendation service is a video viewing service; When the text information of the protocol type is a merchant protocol password, the recommendation service is a merchant viewing service; and / or, When the named entity includes a location, the recommendation service includes at least one of the following types: a navigation recommendation service, a taxi-hailing recommendation service.

13. An electronic device, characterized in that, Comprising at least one processor, the at least one processor is coupled to at least one memory, and the at least one processor is configured to read a computer program stored in the at least one memory to execute the method according to any one of claims 1 to 12.

14. A computer-readable storage medium, characterized in that, Instructions are stored in the computer-readable storage medium, and when it runs on a computer, the computer is caused to execute the method according to any one of claims 1 to 12.

15. A computer program product comprising instructions, characterized in that, When the computer program product runs on a computer, the computer is caused to execute the method according to any one of claims 1 to 12.

Citation Information

Patent Citations

  • Defense strategy determination method and device

    CN109428871A

  • Application program recommendation method and device, electronic device and medium

    CN110061908A

  • Application program recommendation method and electronic equipment

    CN115033153A

  • Service recommendation method, electronic equipment and medium

    CN116049241A

  • Scenario-Based Application Recommendation Method and Apparatus

    US20210035244A1