Service recommendation method and electronic equipment

By performing semantic analysis and intent recognition in electronic devices, and using a quick portal to prompt users to view recommendation services, the problem of inefficiency of users in cross-application operations is solved, and more efficient service recommendation and user experience is achieved.

CN120372072APending Publication Date: 2025-07-25HUAWEI TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410104702.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-24
Publication Date
2025-07-25

AI Technical Summary

Technical Problem

When using electronic devices, users need to switch applications frequently, resulting in low operation efficiency and inability to efficiently complete cross-application operation processes.

Method used

By obtaining reference information in the current interface, conducting semantic analysis and intent recognition, using the quick portal to prompt users to view recommended services, reduce operation steps and provide diversified service recommendations.

Benefits of technology

It improves user operation efficiency, reduces the steps of cross-application switching, improves user experience and convenience, and recommends services more in line with user habits and needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120372072A_ABST
    Figure CN120372072A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of terminals, and discloses a service recommendation method and electronic equipment. According to the method, based on information included in a current display interface of the electronic equipment, when the electronic equipment detects operation on first information included in the current display interface, the first information can serve as reference information, and service recommendation can be carried out on a user. Then, when the electronic equipment determines that the recommended service exists, the user can be prompted to check through the shortcut entry, for example, through a flickering prompt strip and the like. Therefore, the user can conveniently and directly view the recommendation service through the shortcut entry, and the user does not need to manually open other applications or other display interfaces based on the first information, so that the operation steps of the user can be saved, the operation efficiency can be improved, and the use convenience and experience of the user can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] With the development and progress of technology, the functions of electronic devices have been gradually improved and enriched, the number of applications has gradually increased, and the frequency of users' daily use of electronic devices has also increased accordingly, and the resulting operation efficiency problems have become increasingly prominent.

[0003] For example, when using a mobile phone, users often need to leave the currently used application, open other applications, and perform operations such as the next search and view; then after completion, return to continue using the previous application. The entire process has a long operation step, interrupts the operation of the currently used application, and has the problem of low operation efficiency, thus causing inconvenience to users. Summary of the Invention

[0004] The embodiments of the present application provide a service recommendation method and an electronic device, which are used to perform service recommendation according to reference information, and prompt the user that there is a recommended service through a quick entry to remind the user to view; and further, an entry for service recommendation can be provided on the current interface, thereby shortening the interaction path and improving the operation efficiency.

[0005] In a first aspect, the embodiments of the present application provide a service recommendation method. The 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, where the quick entry is used to indicate that there is 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.

[0006] In this method, based on an operation on partial information included in the currently displayed interface, using this partial information as reference information, service recommendation is performed. When it is determined that there is a recommended service, the user can be prompted to view it through a quick entry. In this way, the user can view the recommended service obtained based on the reference information through the quick entry, thereby reducing the user's operation steps, without interrupting the currently running application or process, providing convenience for the user, and improving the user experience.

[0007] In a possible design, the second interface includes a first display area for displaying a plurality of 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, switching 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 applications. In another possible design, the second interface may also display the N recommended services simultaneously, or display the N recommended services simultaneously through a scrollable display area.

[0008] In this design, the recommended services may include a plurality of recommended services belonging to the same user intention. For example, they may be from multiple applications, providing the user with multiple options and enabling the recommended services to better suit the user's habits.

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

[0010] In this design, by setting a preset display effect for the quick access entry, it is convenient to better prompt the user to view it. In this way, on the basis of reducing the impact on the current display interface, the user's attention to the quick access entry can also be enhanced.

[0011] In a possible design, the second interface is a non-full-screen interface based on the first interface. Optionally, the non-full-screen interface may be a semi-modal interface based on the first interface; where the semi-modal interface may also be referred to as a semi-modal window, etc. Another option is that the non-full-screen interface may also be a floating window, a pop-up window, etc.

[0012] In this design, by displaying the recommended services through a non-full-screen interface such as a semi-modal interface, the display impact on the current display interface can be reduced, and the recommended services can also be displayed to the user, so that more content can be displayed to the user.

[0013] In a possible design, before updating the first interface in response to a first operation on the first information included in the first interface, the method further includes: obtaining the services that can be provided by the applications installed on the electronic device; wherein, the services that can be provided are used to determine the recommended services based on the first information.

[0014] In this design, by collecting the services that can be provided by the applications installed on the electronic device, it is possible to provide more accurate recommended services to the user based on the collected services that can be provided.

[0015] In a possible design, before updating the first interface in response to a first operation on first information included in 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 for service recommendation. Optionally, the recommended services included in the second interface are determined based on the target user behavior information; where the target user account is a user account logged in on the electronic device.

[0016] In this design, by collecting the historical behavior information of the user, service recommendation can be combined with the user's usage habits, so that the recommended services can be more in line with the user's habits, and thus the user experience can be improved.

[0017] In a possible design, the recommended services included in the second interface are obtained after filtering alternative recommended services based on the target user behavior information; where 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 that the user has not used. It can also be understood that according to the target user behavior information, when it is determined that the user has used the service to be recommended within a preset historical duration, the service to be recommended can be filtered.

[0018] In this design, by collecting the historical behavior information of the user, the alternative recommended services can also be filtered in combination with the user's historical behavior, so that the accuracy of the recommended services displayed on the interface can be improved, and the viewing efficiency of the user for the recommended services can be improved.

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

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

[0021] In a possible design, 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.

[0022] In this design, the electronic device can perform different analysis and processing according to different types of the first information, so as to ensure the accuracy of service recommendation.

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

[0024] In this design, the electronic device can recommend corresponding services according to different types of the first information, so as to ensure the accuracy of service recommendation.

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

[0026] In this design, the electronic device can recommend corresponding services according to different types of the first information, so as to ensure the accuracy of service recommendation.

[0027] In a second aspect, an embodiment of the present application provides a service recommendation method. This method can be applied to an electronic device. In this method, a first operation on the first information included in the first interface is detected; in response to the first operation, a second interface is displayed, and the second interface is used to display multiple recommended services of a first user intention obtained based on the first information.

[0028] In a possible design, the method further includes: in response to a second operation on the second interface, switching from displaying a first recommended service to displaying a second recommended service; wherein the first recommended service and the second recommended service belong to multiple recommended services of the first user intent. In another possible design, the second interface may also display the multiple recommended services simultaneously, or display the multiple recommended services simultaneously through a scrollable display area.

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

[0030] In a possible design, in response to the first operation, displaying the second interface further includes: in response to the first operation, updating the first interface, and the updated first interface includes a quick entry for indicating the existence of a recommended service for the first information; in response to a second operation on the quick entry, displaying the second interface. It should be understood that the second interface can be directly displayed in response to the first operation, or first a quick entry can be used to prompt the user that there is a recommended service, and after detecting the user's operation of confirming to view the recommended service, the second interface is then displayed.

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

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

[0033] In a 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. Another option is that the non-full-screen interface can also be a floating window, a pop-up window, etc.

[0034] In a possible design, before updating the first interface in response to a first operation on the first information included in the first interface, the method further includes: obtaining the services that can be provided by the applications installed on the electronic device; wherein the services that can be provided are used to determine the recommended services based on the first information.

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

[0036] In a possible design, the recommended service included in the second interface is determined based on the target user behavior information.

[0037] In a possible design, the recommended service included in the second interface is obtained after filtering alternative recommended services based on the target user behavior information; where the alternative recommended services are based on the first user intention; the recommended service included in the second interface is a service that the user has not used as determined based on the target user behavior information.

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

[0039] In a possible design, 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 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.

[0040] In a possible design, when the first information is text information of the protocol type, the recommended service includes: a commodity viewing service, or a video viewing service, or a merchant viewing service; or, when the first information includes a named entity, the recommended 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; when the first information includes text information, the recommended 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; when the first information includes picture information, the recommended 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.

[0041] In a possible design, when the text information of the protocol class is a commodity protocol password, the recommended service is a commodity 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: a navigation recommendation service, a taxi-hailing recommendation service.

[0042] In a third aspect, the present application provides an electronic device, which includes a plurality of functional modules; the plurality of functional modules interact with each other to implement the methods executed by the electronic device in any of the above aspects and their respective embodiments. The plurality of functional modules can be implemented based on software, hardware, or a combination of software and hardware, and the plurality of functional modules can be arbitrarily combined or divided based on specific implementations.

[0043] In a fourth aspect, the present application provides an electronic device, including at least one processor and at least one memory, and computer program instructions are stored in the at least one memory. When the electronic device runs, the at least one processor executes the methods executed by the electronic device in any of the above aspects and their respective embodiments.

[0044] In a fifth aspect, 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 is caused to execute the methods executed by the electronic device in any of the above aspects and their respective possible designs.

[0045] In a sixth aspect, the present application provides a computer program product, which includes: a computer program (which can also be referred to as code, or instructions). When the computer program is run, the computer is caused to execute the methods of the electronic device in any of the above aspects and their respective possible designs.

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

[0047] In an eighth aspect, the present application further provides a chip, which is used to read the computer program stored in the memory and execute the methods executed by the electronic device in any of the above aspects and their respective possible designs.

[0048] In a ninth aspect, the present application further provides a chip system, which includes a processor for supporting a computer device to implement the methods performed by any of the above aspects and their various possible designs of electronic devices. In a possible design, the chip system further includes a memory for storing necessary programs and data of the computer device. The chip system may be composed of chips or may include chips and other discrete devices.

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

[0050] Figure 1 FIG. [ID] is a schematic hardware structure diagram of a possible electronic device provided by an embodiment of the present application;

[0051] Figure 2 FIG. [ID] is a block diagram of a software architecture of an electronic device provided by an embodiment of the present application;

[0052] Figure 3A FIG. [ID] is one of the schematic interface diagrams of a service recommendation method provided by an embodiment of the present application;

[0053] Figure 3B FIG. [ID] is another schematic interface diagram of a service recommendation method provided by an embodiment of the present application;

[0054] Figure 3C FIG. [ID] is a third schematic interface diagram of a service recommendation method provided by an embodiment of the present application;

[0055] Figure 3D FIG. [ID] is a fourth schematic interface diagram of a service recommendation method provided by an embodiment of the present application;

[0056] Figure 4 FIG. [ID] is a fifth schematic interface diagram of a service recommendation method provided by an embodiment of the present application;

[0057] Figure 5A FIG. [ID] is a sixth schematic interface diagram of a service recommendation method provided by an embodiment of the present application;

[0058] Figure 5B FIG. [ID] is a seventh schematic interface diagram of a service recommendation method provided by an embodiment of the present application;

[0059] Figure 5C FIG. [ID] is an eighth schematic interface diagram of a service recommendation method provided by an embodiment of the present application;

[0060] Figure 6 FIG. [ID] is a ninth schematic interface diagram of a service recommendation method provided by an embodiment of the present application;

[0061] Figure 7A Figure 10 of the interface schematic diagram of a service recommendation method provided by an embodiment of the present application;

[0062] Figure 7B Figure 11 of the interface schematic diagram of a service recommendation method provided by an embodiment of the present application;

[0063] Figure 7C Figure 12 of the interface schematic diagram of a service recommendation method provided by an embodiment of the present application;

[0064] Figure 8 Figure 13 of the interface schematic diagram of a service recommendation method provided by an embodiment of the present application;

[0065] Figure 9 A flowchart of a service recommendation method provided by an embodiment of the present application;

[0066] Figure 10 Another flowchart of a service recommendation method provided by an embodiment of the present application. Detailed implementation manners

[0067] The embodiments of the present application will be described in detail below in conjunction with the accompanying drawings.

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

[0069] In view of this, the embodiments of the present application provide a service recommendation method. In this method, reference information is obtained in the current interface, and semantic analysis, semantic understanding, image recognition, content recognition, etc. are performed based on the reference information for service recommendation; and, a quick entry is displayed to prompt the user to view the recommended service. Moreover, the method provided by the embodiments of the present application can perform intent recognition based on the reference information, and further can implement multi-service recommendation from multiple applications under the same intent based on the recognized intent. In this way, based on the multi-service recommendation from multiple applications, the diversity and accuracy of service recommendation can be improved, and the user's selectivity can be enhanced.

[0070] The technical solutions in the embodiments of the present application can be applied to an electronic device, and the electronic device can be any device capable of displaying an interface. For example, the electronic device can be an electronic device capable of displaying an interface such as a mobile phone, a tablet computer, a wearable device (such as 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 (such as a smart TV, etc.). It can be understood that the specific type of the electronic device in the embodiments of the present application is not limited in any way.

[0071] The electronic device to which the embodiments of the present application can be applied, exemplary embodiments include but are not limited to those equipped with or other operating systems. The electronic device can be, for example, the electronic device introduced in the foregoing embodiments.

[0072] Figure 1 FIG. shows a schematic diagram of the hardware structure of a possible electronic device. Among them, the electronic device 100 includes: 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 and other components. Those skilled in the art can understand that Figure 1 the hardware structure of the electronic device 100 shown in does not constitute a limitation on the electronic device 100. The electronic device 100 provided by the embodiments of the present application may include more or fewer components than those shown in the figure, may combine two or more components, or may have different component configurations. Figure 1 The various components shown in 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.

[0073] The following will be combined with Figure 1 to specifically introduce each component of the electronic device 100:

[0074] The RF circuit 210 can be used for receiving and sending data during communication or a call. In particular, after receiving downlink data from a base station, the RF circuit 210 sends it to the processor 230 for processing; in addition, it sends uplink data to be sent to the base station. Generally, the RF circuit 210 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, etc.

[0075] In addition, the RF circuit 210 can also communicate with other devices through a wireless communication network. The wireless communication can use any communication standard or protocol, including but not limited to global system of mobile communication (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.

[0076] Wi-Fi technology belongs to short-distance wireless transmission technology. The electronic device 100 can connect to and access an access point (AP) through the Wi-Fi module 290, thereby enabling access to a data network. The Wi-Fi module 290 can be used for receiving and sending data during communication.

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

[0078] 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 inside. Although Figure 1 the RF circuit 210, the Wi-Fi module 290, and the communication interface 280 and other communication modules are shown, it can be understood that there is at least one of the above components or other communication modules (such as a Bluetooth module) in the electronic device 100 for data transmission.

[0079] For example, when the electronic device 100 is a mobile phone, the electronic device 100 may include the RF circuit 210, may also include the Wi-Fi module 290, or may include a Bluetooth module ( Figure 1 not shown in the figure); 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 ( Figure 1 not shown in the figure); 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 ( Figure 1 not shown in the figure).

[0080] 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 software programs or modules corresponding to the kernel layer, system layer, application framework layer, application layer, etc. respectively).

[0081] 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 magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage devices.

[0082] The input unit 250 can be used to receive editing operations of various different types of data objects such as digital or character information input by the user, and generate key signal inputs related to the 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.

[0083] Among them, the touch panel 251, also known as a touch screen, can collect touch operations of the user on or near it (such as operations of the user using a finger, a stylus, or any suitable object or accessory on or near the touch panel 251), and drive corresponding connection devices according to a pre-set program. In the embodiments 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. on text information, can also be a long press operation on picture information, or can also be a switching and viewing operation on multiple recommended services provided by the embodiments of the present application.

[0084] Optionally, the other input device 252 may include, but is not limited to, one or more of a physical keyboard, function keys (such as volume control keys, power on / off keys, etc.), trackballs, mice, joysticks, etc.

[0085] The display unit 260 can be used to display information input by the user or information provided to the user, as well as various menus of the electronic device 100. The display unit 260 is the display system of the electronic device 100, 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 the embodiments 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 based on the method provided in the embodiments of the present application, and one or more recommended services may be included in this service recommendation interface.

[0086] The processor 230 is the control center of the electronic device 100, connecting various components through various interfaces and lines. By running or executing software programs and / or modules stored in the memory 240, and by calling data stored in the memory 240, it executes various functions of the electronic device 100 and processes data, thereby enabling multiple services based on the electronic device 100. In the embodiments of the present application, the processor 230 can be used to implement a service recommendation method provided in the embodiments of the present application.

[0087] The electronic device 100 further includes a power supply 220 (such as a battery) for powering each component. Optionally, the power supply 220 may be logically connected to the processor 230 through a power management system, so as to realize functions such as management of charging, discharging, and power consumption through the power management system.

[0088] Such as Figure 1As shown, the electronic device 100 further 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 the speaker 272 can recognize, and transmit the signal to the speaker 272, which converts it into a sound signal for output. 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 a signal that the audio circuit 270 can recognize, and send it 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 be sent to, for example, another electronic device, or output the audio data to the memory 240 for further processing later.

[0089] Although not shown, the electronic device 100 may further include a camera, at least one sensor, etc., which will not be elaborated here. The at least one sensor may include, but is not limited to, a pressure sensor, a barometric pressure sensor, an acceleration sensor, a distance sensor, a fingerprint sensor, a touch sensor, a temperature sensor, etc.

[0090] 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 microservices architecture, or a cloud architecture. In the embodiments of the present application, taking the operating system with a layered architecture as an example, the software architecture of the electronic device 100 will be exemplarily described.

[0091] Figure 2 It is a software architecture block diagram of an electronic device provided in the embodiments of the present application. As Figure 2 shown, the software architecture of the electronic device can be a layered architecture. For example, the software can be divided into several layers, and each layer has 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 (FWK), the runtime and system libraries, the kernel layer, and the hardware layer.

[0092] The application layer may include a series of application packages. As Figure 2As shown, the application layer may include a user interface (UI), a camera, settings, a skin module, third-party applications, etc. Among them, the third-party applications may include, for example, a wireless local area network (WLAN), music, calls, Bluetooth, video, etc. Among them, in the application layer, the attributes of the elements included in the UI and the shadows of the elements may also be defined according to the system interface.

[0093] In a possible implementation, the application can be developed using the Java language and completed by calling the application programming interface (API) provided by the application framework layer. Developers can interact with the underlying layers of the operating system (such as the hardware layer, the kernel layer, etc.) through the application framework layer to develop their own applications. The application framework layer is mainly a series of services and management systems of the operating system.

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

[0095] The activity manager is used to manage the life cycles of various applications and provide common navigation back functions, and provides an interactive interface for the windows of all programs.

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

[0097] The view system includes visible controls (also known as "visible elements") and invisible controls (also known as "invisible elements"), such as controls for displaying text, controls for displaying pictures, etc. The view system can be used to build applications. The display interface can be composed of one or more views. For example, a display interface including a text message notification icon may include a view for displaying text and a view for displaying pictures.

[0098] The phone manager is used to provide the communication function of the electronic device. For example, the management of call status (including answering, hanging up, etc.).

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

[0100] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages, which can automatically disappear after a short stay without user interaction. For example, the notification manager is used to inform that the download is complete, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as the notification of a background-running application, or a notification that appears on the screen in the form of a dialogue window. For example, it can prompt text information in the status bar, emit a prompt sound, vibrate the electronic device, and blink the indicator light, etc.

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

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

[0103] The system library can include multiple functional modules. For example: surface manager, media framework, 3D graphics processing library (such as: OpenGL ES), 2D graphics engine (such as: SGL), etc.

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

[0105] The media framework supports the playback and recording of multiple common audio and video formats, as well as static image files, etc. The media framework can support multiple audio and video coding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0106] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis, and layer processing, etc.

[0107] The 2D graphics engine is the drawing engine for 2D drawing. The 2D graphics engine can perform drawing operations to draw the elements included in the UI and the shadows of the elements on the screen.

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

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

[0110] The hardware layer may include various sensors, such as an acceleration sensor, a gravity sensor, a touch sensor, etc.

[0111] Generally, the electronic device 100 can run multiple applications simultaneously. More simply, one application can correspond to one process, and more complexly, one application can correspond to multiple processes. Each process has a process ID (process identifier).

[0112] It should be understood that in the embodiments of the present application, "at least one (item) of the following" or its similar expressions refer to any combination of these items, including any combination of single (item) or plural items (items). For example, at least one (item) 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" means two or more. "And / or" is used to describe the association relationship of associated objects and indicates that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone, where A and B can be singular or plural. The character " / " generally represents an "or" relationship between the associated objects before and after.

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

[0114] It should be understood that the hardware structure of the electronic device can be as Figure 1 shown, and the software system architecture can be as Figure 2 shown. Among them, 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 by the embodiments of the present application.

[0115] To facilitate understanding of a service recommendation method provided by the present application, the following combines Figures 3A to 8The content shown in introduces the implementation process of the method provided in this application. For ease of understanding, several possible application scenarios that may be involved in the method provided in this application are first introduced below. It should be noted that in the following embodiments, the electronic device is taken as a mobile phone as an example, and the implementation of other types of electronic devices can refer to the implementation of the mobile phone, and this application will not repeat the introduction.

[0116] Scenario A: Service recommendation based on a single intent

[0117] Figure 3A It is a schematic diagram of the interface of a service recommendation method provided in an embodiment of this application. Figure 3A It is shown that the interface 300A includes a chat interface. When the mobile phone detects a selection operation on the chat text information sent by user A, in response to this selection operation, a pop-up window 301 can be displayed. Among them, the chat text information sent by user A is, for example, "I watched a war movie a few years ago and it was very good. I forgot the name. It's about a father who, in order to protect his son, lied to his son that this was a game, and it was both funny and touching throughout the process." The pop-up window 301 can include, but is not limited to, the following controls: select all, cut, copy, forward, search, etc. controls. Exemplarily, when the electronic device responds to a click operation on the copy control included in the pop-up window 301, the interface 300B can be displayed. It should be noted that the electronic device can also respond to operations on the select all control, cut control, forward control, search control, etc. included in the pop-up window 301. It should be understood that any operation that can obtain reference information can trigger the display of the interface 300B. Among them, the reference information can be understood as sample information for service recommendation. The reference information in the interface 300A is, for example, the chat text information sent by user A. In addition, in order to improve the accuracy of service recommendation, multiple chat text information can also be combined for service recommendation. For example, not only the chat text information sent by user A can be used as reference information, but also the chat text information "Okay, I'll take a look" replied by user B can be combined for semantic context analysis, so as to determine that user B hopes to view the content mentioned in user A's chat text information.

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

[0119] In Figure 3A the included interface 300C, 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 a brief introduction to the movie "XXXX". For example, the brief introduction can include, but is not limited to, relevant service information such as the release year, movie type, director, and running time. Another example is that it can also include the APP icon, APP name, and a control for jumping to the APP that provides the relevant service information. It should be noted that in the embodiments of the present application, the form and content of the service recommendation interface are not limited; for example, in addition to being in the form of the pop-up window 303, it can also be displayed full screen, or it can be jumped to a new interface for display, etc.; another example is that the content can also be relevant service information provided by other APPs. Among them, the relevant service information displayed in the pop-up window 303 can be triggered when determining that APP 1 can provide the service function of movie brief introduction based on the service types that can be provided by the pre-collected APP 1.

[0120] It should be noted that in the embodiments of the present application, there is no limitation on using a non-full-screen interface in the semi-modal form to display recommended services. It can be displayed through any non-full-screen interface, such as a floating window, a pop-up window, etc. Thus, on the basis of reducing the impact on the current display interface, recommended services can also be displayed to users. In the following embodiments, a semi-modal interface (also referred to as a "semi-modal window") is used as an example, and the introduction content of other forms of non-full-screen interfaces will not be elaborated.

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

[0122] In another possible scenario, Figure 3B is another schematic diagram of an interface for a service recommendation method provided by an embodiment of the present application. Compared with Figure 3A , in Figure 3B including interface 300A', interface 300B' and interface 300C', the reference information can be "I watched a war movie 《XXXX》 a few years ago and it was very good. It tells the story of a father who lied to his son that it was a game in order to protect him, and it was both funny and touching throughout the process." It can be seen that the reference information includes the movie name, so a clear intention can be obtained based on this reference information.

[0123] Figure 3C is another schematic diagram of an interface for a service recommendation method provided by an embodiment of the present application. Figure 3C The interfaces 300D, 300E and 300F shown in Figure 3A and Figure 3B are different service recommendation interfaces. Among them, the interfaces 300D to 300F can be obtained by referring to the methods introduced in Figure 3A and Figure 3B . The process of how to display the service recommendation interface will not be repeated in this scenario. Different from Figure 3A and Figure 3B , based on the user intention obtained from the reference information, recommended services from multiple different APPs can be provided. The recommended services can be, for example, the introduction of the movie 《XXXX》 provided by video APP 1 shown in interface 300D, or the introduction of the movie 《XXXX》 provided by video APP 2 shown in interface 300E, or the introduction of the movie 《XXXX》 provided by video APP 3 shown in interface 300D. As Figure 3C shows, different service recommendation interfaces can be switched by swiping left and right or by clicking on the navigation points included in the navigation bar 304. In addition, the number of service recommendations included in the pop-up window 303 and the currently displayed service recommendation interface can also be viewed through the navigation bar 304.

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

[0125] It can be understood that when the reference information includes other types of description content such as music and TV dramas, the implementation process described in Figures 3A to 3D can also be referred to, and the present application will not elaborate.

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

[0127] For example, Figure 4 is an interface schematic diagram of a service recommendation method provided by the embodiments of the present application. Figure 4 The included interface 400A is text information including a merchant name, and the recommended service can be navigation preview information provided by the map APP 1. Figure 4 The included interface 400B is text information including a time event, and the recommended service can be used for a service to quickly create a schedule. Figure 4 The included interface 400C is picture information including English, and the recommended service can be a translation service.

[0128] Scenario B, Service Recommendation Based on Multiple Intents

[0129] Figure 5A is an interface schematic diagram of a service recommendation method provided by the embodiments of the present application.Figure 5A Interfaces 500A, 500B, and 500C are shown as different service recommendation interfaces. Among them, refer to the Figure 3A introduced method to obtain Interfaces 500A to 500C. This scenario will not repeat the introduction of the process of how to display the service recommendation interface.

[0130] Based on the chat text information "I heard that the environment and taste of Li Ji Steak (XX store) are both good. Let's go there when we have time" sent by User C, multiple related services can be recommended. For example, in Interface 500A, the recommended service can be the navigation preview information provided by Map APP 1. Another example is that in Interface 500B, the recommended service can be the taxi preview information provided by Taxi APP 1. Or for example, in Interface 500C, the recommended service can be the review preview information provided by Review APP 1. From Figure 5A the Interfaces 500A to 500C shown in it, it can be seen that based on the reference information, multiple user intents can be recognized, and multiple recommended services can be obtained based on the multiple user intents.

[0131] In Interface 500A, a navigation bar 501 can be included. Among them, the number of navigation points included in the navigation bar 501 can be determined according to the number of recommended services. And the navigation point corresponding to the current interface displayed in the navigation bar 501 can have a different style from the navigation points corresponding to other interfaces. For example, the navigation point corresponding to the current interface can be a black navigation point, and the navigation points corresponding to other interfaces can be white navigation points. Exemplarily, when the electronic device detects and responds to a click operation on other navigation points, or a left - right swipe operation on the interface, etc., the interface including different recommended services can be switched for display. For example, switch from Interface 500A to Interface 500B, or switch from Interface 500B to Interface 500C.

[0132] It should be noted that the display method of the interfaces including multiple recommended service interfaces is not limited in the embodiments of the present application. For example, Figure 5B is another interface schematic diagram of a service recommendation method provided by the embodiments of the present application. In Figure 5B the Interface 500D included in it, multiple recommended services can be sequentially displayed in a vertical manner. In addition, when multiple recommended services cannot be all displayed, the up - down swipe method can also be used to view more recommended services. For example, a scroll 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. Or, when multiple recommended services cannot be all displayed, the pop - up window can also be dragged upward to expand the display range of the pop - up window, so as to display more recommended services.

[0133] In Figure 5BAmong the interfaces 500F1, 500F2, and 500F3 included, multiple recommended services can also be displayed in the form of stacked cards. For example, on the right side of the pop-up window included in the interface 500F1, a navigation bar 502 can be included. By clicking on different navigation points or performing an up-and-down sliding operation on the stacked cards, the interfaces including different recommended services can be switched for display. For example, 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 forms such as interfaces or cards, and the present application does not limit the display manner of the recommended services.

[0134] For example, Figure 5C is another interface schematic diagram of a service recommendation method provided by an embodiment of the present application. In Figure 5C the interface 500G included, multiple recommended services can also be displayed in one or a combination form such as multiple columns and cards of multiple sizes. For example, in the interface 500G, the navigation preview information provided by the map APP 1 and the taxi-hailing preview information provided by the taxi-hailing APP 1 can be displayed together in one row. At this time, the cards or interfaces for displaying the recommended services are scaled down, and the review preview information provided by the review APP 1 can be displayed separately in one row.

[0135] It should be noted that the present application embodiment does not limit the type of reference information. Among them, the reference information can include, but is not limited to, at least one of the following information: text information, picture information, etc. For example, Figure 6 is another interface schematic diagram of a service recommendation method provided by an embodiment of the present application. Figure 6 The shown interface 600 can be a browsing interface of a review APP or a sharing APP. The browsing interface can include picture information and text information. The electronic device can, in response to a long-press operation on the picture 601, etc., use the picture 601 as reference information, so that service recommendation can be realized based on the picture 601. For example, information of multiple steak-included merchants can be recommended, etc. Another example is that in order to improve the accuracy of service recommendation, other information included in the interface where the picture information is located can also be combined. For example, the location information 602 included in the interface 600 can also be extracted, so as to determine more accurate merchant information. In this way, based on the picture information and text information, navigation preview information provided by the map APP 1 about the merchant can be provided, and taxi-hailing preview information provided by the taxi-hailing APP 1 as shown in Figure 5A and review preview information provided by the review APP 1, etc. can also be provided.

[0136] Among them, the text information can also be the text information extracted from a picture. For example, the text information can be extracted from a screenshot; the picture information can be an image frame intercepted from a video, or can be a partial picture segmented from a global picture, etc.

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

[0138] Similarly, as Figure 7A shown in the interfaces 700B1 and 700B2, the recognized user intention Figure 2 For example, it can be used to provide a taxi preview information from a taxi-hailing APP based on the merchant name. Considering that multiple taxi-hailing APPs are usually installed on a user's mobile phone, this intention Figure 2 The corresponding service can include the taxi preview information from taxi-hailing APP 1 as shown in interface 700B1, and can also include the taxi preview information from taxi-hailing APP 2 as shown in interface 700B2, or can also include Figure 7A the taxi preview information from other taxi-hailing APPs not shown in the figure. Optionally, taxi-hailing APP 1 can be the one that the user usually uses, or can be the one that the user used last time, or can be the built-in taxi-hailing APP in the mobile phone. It can be understood that through multiple services, it is convenient for the user to quickly compare information such as prices and taxi-taking durations. For example, by combining interfaces 700B1 and 700B2, it can be seen that the estimated taxi price through taxi-hailing APP 1 is lower.

[0139] Similarly, as Figure 7AAs shown in interface 700C1 and interface 700C2, the recognized user intent 3 can be used, for example, to provide review preview information from a review APP based on the merchant name. Considering that multiple review APPs are usually installed on the user's mobile phone, the service corresponding to this intent 3 can include review preview information from review APP 1 as shown in interface 700C1, and can also include review preview information from review APP 2 as shown in interface 700C2, or can also include Figure 7A Review preview information from other review APPs not shown in the figure. Optionally, review APP 1 can be the one the user usually uses, or the one the user used last time, or the built-in review APP in the mobile phone. It can be understood that through multiple services, it is convenient for the user to quickly view the review preview information of this merchant on different review APPs. As shown in interface 700C1, the review of this merchant on review APP1 is 4.0 points; as shown in interface 700C2, the review of this merchant on review APP 2 is 5.0 points.

[0140] It should be noted that the embodiments of the present application can display the recommended services from multiple applications included in multiple intents in various display manners. For example, it can include but is not limited to:

[0141] Method 1: As Figure 7A The included interface 700A1, interface 700B1, and interface 700C1 can switch the display to correspond to different user intents through left and right sliding operations. Moreover, in interface 700A1, different services corresponding to the intent can be switched through up and down sliding operations. Figure 1 Similarly, in interface 700B1, different services corresponding to the intent can be switched through up and down sliding operations. Figure 2 Similarly, in interface 700C1, different services corresponding to intent 3 can be switched through up and down sliding operations. This method can switch between different recommended services belonging to the same intent or recommended services belonging to different intents through different operations, so as to display various possible recommended services.

[0142] Method 2: Figure 7B This is a schematic diagram of the interface of a service recommendation method provided by an embodiment of the present application. As Figure 7B The included interface 700D1 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 the intent Figure 1 And display area 702 is used to display the service corresponding to the intent Figure 2 And on each display area, different services corresponding to the same intent can also be switched through left and right sliding operations. As Figure 7AThe included interface 700D2 can, through left - right sliding operations in the display area 701, switch the display from the Figure 1 corresponding service 1 to Figure 1 the corresponding service 2; through left - right sliding operations in the display area 702, switch the display from the Figure 2 corresponding service 1 to Figure 2 the corresponding service 2.

[0143] It should be noted that, similar to the interface 500D included in Figure 5B , the interface 700D1 can also display the display area corresponding to some intents. For example, the display area corresponding to intent 3 can be displayed by sliding up and down in a pop - up window. In addition, the embodiments of the present application do not limit the switching display method of the content in the display area. Besides left - right sliding operations, for example, it can also be achieved through up - down sliding operations inside the display area.

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

[0145] In addition, the embodiments of the present application do not limit the switching display method of the display content in the display area. Inside each display area, switching display can be achieved through left - right sliding operations, or through up - down sliding operations, or through other operation methods, which are not limited in the present application.

[0146] It should be noted that the above - mentioned scenarios are only possible examples provided by the embodiments of the present application and are not used to limit the specific scenarios of the present application. It should be understood that various scenarios can also be combined. For example Figure 6For the scenario where the reference information shown is picture information, it can be combined with Figures 7A to 7C the multi-intent and multi-application scenario introduced in Figure 8 Another interface schematic diagram of a service recommendation method provided by an embodiment of the present application. Figure 8 The interface 800A in Figure 8 is, for example, a chat interface. When the mobile phone detects a long-press operation on the chat picture information 801 sent by user F, in response to this long-press operation, a quick entry 802 can be displayed. In

[0147] Based on the content described above regarding the interface processing effect that can be achieved by using the method provided by the embodiment of the present application in combination with multiple scenarios, the implementation process of the service recommendation method provided by the present application is introduced below to illustrate how to achieve the Figures 3A to 8 interface processing effect shown above by using the method provided by the present application, so as to realize the service recommendation function in some scenarios, reduce the user's operation process, and improve the operation efficiency.

[0148] Figure 9 A flowchart of a service recommendation method provided by an embodiment of the present application. This process may include the following steps:

[0149] Step 901, collect the service information that each APP can provide. Exemplarily, pre-collect the service information that each APP can provide to obtain the data source of the recommended service function, so that more accurate service recommendation can be realized based on the reference information and the data source of the recommended service function. For example, examples of some information included in the data source of the recommended service function can be as shown in Table 1 below:

[0150] Table 1

[0151] APP Name Service Name Available Map APP 1 Location Information, Navigation Information, Taxi Booking Information Map APP 2 Location Information, Navigation Information Taxi Booking APP 1 Taxi Booking Information Taxi Booking APP2 Taxi Booking Information

[0152] It should be understood that based on the data sources of the recommended service functions obtained by collection, the corresponding relationships between each service and the APPs that can provide it can also be obtained. For example, based on the example in Table 1, the corresponding relationship can be as shown in Table 2 below:

[0153] Table 2

[0154] Service Name APPs Providing Services Location Information Map APP 1, Map APP 2 Navigation Information Map APP 1, Map APP 2 Taxi Booking Information Map APP 1, Taxi Booking APP 1, Taxi Booking APP 2

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

[0156] It should be noted that the information collected by the electronic device can be obtained from the APPs currently installed on the electronic device or the APPs that have been installed historically. For example, when a user newly installs an APP, the services that the APP can provide can be obtained, so as to update the data sources of the recommended service functions.

[0157] Alternatively, the information collected by the electronic device can also be an information library obtained from the network.

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

[0159] 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 logged in to the target user account. For example, the current electronic device can be a mobile phone, and other electronic devices can be tablet computers. Optionally, the current electronic device and other electronic devices can communicate through distributed networking or a cloud server, etc. For example, the target user behavior information on other electronic devices can be sent to the current electronic device through distributed networking, or for another example, the target user behavior information on other electronic devices can also be sent to the cloud server first, and then sent to the current electronic device by the cloud server.

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

[0161] In another possible scenario, the target user account can also be the user account logged in to the APP included in the electronic device. In this scenario, service recommendation can be implemented by the APP.

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

[0163] Exemplarily, the user behavior information within a specified time range can be collected. For example, the user behavior information of the user within one month or one week can be collected. In this way, it can be convenient for the recommended service to more accurately reflect the recent habits of the user.

[0164] It should be noted that steps 901 and 902 are the preparatory information for implementing the service recommendation method provided by the embodiments of the present application. During each service recommendation process, it is not necessary to process them each time. Moreover, the embodiments of the present application do not limit the execution order of steps 901 and 902. For example, they can be executed in parallel, etc.

[0165] Step 903: Obtain reference information. Among them, the reference information may include, but is not limited to, at least one of text information, picture information, etc.

[0166] Exemplarily, the electronic device can obtain reference information in response to a first operation on the first interface. Among them, the first interface can, for example, include a chat interface, an APP browsing interface, a video browsing interface, an album browsing interface, etc.; optionally, the first interface can be the current display interface of the electronic device, or it can also be an application interface displayed by the electronic device. The first operation may include, but is not limited to, operations for selecting text information such as a copy operation, a cut operation, a search operation, a selection operation, a drag operation, etc. on the text information, and operations for selecting picture information such as a copy operation, a cut operation, a search operation, a long press operation, a selection operation, a drag operation, etc. on the picture information. In addition, the picture information can also be obtained by intercepting image frames from a video, and the text information can also be obtained by performing text recognition on a picture.

[0167] Optionally, the reference information can be obtained through the system's clipboard or file transfer station. For example, when the user obtains text information and / or picture information, etc. on the clipboard or file transfer station through the first operation, the electronic device can read the reference information from the clipboard or file transfer station.

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

[0169] Step 904: Based on the reference information, display a service recommendation interface.

[0170] Exemplarily, different processing can be performed according to different information types of the reference information. For example, it may include one or more of the following processing methods:

[0171] (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 according to the format of the text information. It should be understood that the text information of the protocol type generally has a specified format.

[0172] (2) When the reference information includes named entities with specific meanings such as telephone numbers, emails, times, locations, personal names, and proper nouns, named entity recognition (NER) processing can be performed.

[0173] (3) When the reference information includes text information, semantic understanding and intent recognition natural language processing (NLP) can be performed. For example, coreference resolution can be performed on the reference information, so that multiple coreferential entities in the reference information can be identified, and then the user's intent can be determined.

[0174] Exemplarily, the text information generally may include text of named entities and text of non-named entities. By performing NER processing on the named entities and semantic understanding and NLP and other processing on the text information, more accurate recognition of the text information can be achieved.

[0175] (4) When the reference information includes picture information, processing such as picture recognition and picture segmentation can be performed, and thus the user intention can be determined. Optionally, after text information is recognized from the picture information, the processing method for the text information described above can be referred to for processing. For example, when the recognized text information is text information of a protocol type, the processing method for the text information of the protocol type described above can be referred to for continued processing. Another option is that the electronic device can extract the region of interest (ROI) in the picture information, thereby determining the user intention.

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

[0177] In another alternative example, based on the reference information, the data sources of the recommendation service function, and the target user behavior information, Q recommendation services corresponding to P intentions are determined.

[0178] Optionally, the electronic device can determine the priority of the recommendation service based on the target user behavior information. Exemplarily, the priority of the recommendation service can be determined according to the user's usage frequency, the previous usage record, etc. For example, the user has the highest usage frequency of Map APP 1, so it can be determined that the priority of the service from Map APP 1 is higher. Another example is that the user last used Map APP 2, so it can be determined that the priority of the service from Map APP 2 is higher.

[0179] Alternatively, the electronic device may screen alternative recommendation services based on the target user behavior information, where the alternative recommendation services may be obtained based on the user intent. Exemplarily, if the user has used an alternative recommendation service within a preset time range, the alternative recommendation service may be filtered out, or the priority of the alternative recommendation service may be set to a lower level. For example, the alternative recommendation service includes providing review information from Review APP 1, and the user has viewed the review information provided by Review APP 1 today. Then, the recommendation of the review information provided by Review APP 1 may no longer be made, or the recommendation of the review information may be displayed at the back of multiple recommendation services. In this way, the accuracy of service recommendation can be further improved, and it can better suit the user's preferences. Optionally, the preset time range may be, for example, a preset duration, such as one hour, half an hour, one day, etc. Alternatively, the preset time range may also be, for example, a time range starting from a first event. The first event may be, for example, the opening event of a chat APP. For example, within a preset range starting from the user opening the chat APP, the present application does not limit the setting method of the preset time range.

[0180] In an alternative example, the electronic device displays Q recommendation services corresponding to P intents. Exemplarily, the Q recommendation services may 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 may also have priorities, so the P display areas may be set according to the priorities. Among them, the P display areas may be arranged and displayed in one or a combination of a horizontal manner, a vertical manner, a single-column manner, a multi-column manner, etc.

[0181] Another exemplarily, the Q recommendation services may be displayed in sequence. Among them, the Q recommendation services may be arranged and displayed in one or a combination of a horizontal manner, a vertical manner, a single-column manner, a multi-column manner, etc.

[0182] Among them, for various display methods of the service recommendation interface, reference may be made to the content introduced in FIGS. 3A to Figure 8 as introduced above, and details will not be repeated here.

[0183] Figure 10 FIG. is another schematic flowchart of a service recommendation method provided by an embodiment of the present application. The process may include the following steps:

[0184] Step 1001, in response to a first operation on first information included in a first interface, update the first interface, and the updated first interface includes a quick entry, where the quick entry is used to indicate that there is a recommendation service for the first information.

[0185] Step 1002: In response to a second operation on the quick access entry, display a second interface for displaying recommended services.

[0186] For the specific implementation processes of Step 1001 and Step 1002, reference may be made to the foregoing embodiments, and the present application will not repeat the introduction.

[0187] Based on the above embodiments, the present application further provides an electronic device, which includes a plurality of functional modules; the plurality of functional modules interact with each other to implement the functions performed by the electronic device in the various methods described in the embodiments of the present application. The plurality of functional modules may be implemented based on software, hardware, or a combination of software and hardware, and the plurality of functional modules may be arbitrarily combined or divided based on the specific implementation. For example, execute Figure 9 Steps 901 to 904 executed by the electronic device in the illustrated embodiment. Or, execute Figure 10 Steps 1001 to 1002 executed by the electronic device in the illustrated embodiment.

[0188] Based on the above embodiments, the present application further provides an electronic device, which includes at least one processor and at least one memory. Computer program instructions are stored in the at least one memory. When the electronic device runs, the at least one processor executes the functions performed by the electronic device in the various methods described in the embodiments of the present application. For example, execute Figure 9 Steps 901 to 904 executed by the electronic device in the illustrated embodiment. Or, execute Figure 10 Steps 1001 to 1002 executed by the electronic device in the illustrated embodiment.

[0189] Based on the above embodiments, the present application further provides a computer program product, which includes: a computer program (which may also be referred to as code or instructions). When the computer program is run, the computer is enabled to execute the various methods described in the embodiments of the present application.

[0190] 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 is enabled to execute the various methods described in the embodiments of the present application.

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

[0192] 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 a possible design, the chip system further includes a memory for storing the necessary programs and data of the computer device. The chip system can be composed of chips or can include chips and other discrete devices. Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk memories, CD-ROMs, optical memories, etc.) containing computer-usable program codes.

[0193] The present application is described with reference to the flowcharts and / or block diagrams of methods, apparatus (systems), and computer program products according to the present application. It should be understood that each flow and / or block in the flowchart and / or block diagram, and the combination of flows and / or blocks in the flowchart and / or block diagram, can be realized by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, such that the instructions executed by the processor of the computer or other programmable data processing devices generate means for implementing the functions specified in Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.

[0194] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, such that the instructions stored in the computer-readable memory generate a manufactured article including instruction means that implement the functions specified in Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.

[0195] These computer program instructions can also be loaded onto a computer or other programmable data processing device, such that a series of operation steps are executed on the computer or other programmable device to generate a computer-implemented process, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.

[0196] Obviously, those skilled in the art can make various changes and modifications 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 equivalent technologies, this application is also 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 the recommended service 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 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, characterized in that, 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 the user has not used within a preset time range determined based on the target user behavior information.

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, wherein 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. The method according to any one of claims 10, wherein When the first information is the text information of the protocol type, the recommended services include: a commodity 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: navigation recommendation service, taxi-hailing recommendation service, merchant viewing service, schedule creation service; and / or, When the first information includes text information, the recommendation service includes at least one of the following types: schedule creation service, audio recommendation service, video recommendation service, translation service, navigation recommendation service, taxi-hailing recommendation service, merchant viewing service; and / or, When the first information includes picture information, the recommendation service includes at least one of the following types: schedule creation service, audio recommendation service, video recommendation service, translation service, navigation recommendation service, taxi-hailing recommendation service, merchant viewing service.

12. The method according to claim 11, wherein when the text information of the protocol type is a commodity protocol password, the recommendation service is a commodity 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: navigation recommendation service, taxi-hailing recommendation service.

13. An electronic device, characterized in that, Comprising at least one processor, the at least one processor being coupled to at least one memory, the at least one processor being configured to read computer programs 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, which when run on a computer, cause the computer 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

Cited By

  • Service recommendation method and electronic device

    EP4730158A1