Song menu recommendation method, electronic equipment and storage medium

By directly sending recommended playlists on the display interface of electronic devices, using scene recognition and user listening habits to learn, the problem of users' cumbersome selection of playlists in different scenarios is solved, and the user experience of fast playback and simplified operation is achieved.

CN120277233AActive Publication Date: 2025-07-08HONOR DEVICE CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202311865067.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-29
Publication Date
2025-07-08
Estimated Expiration
2043-12-29

AI Technical Summary

Technical Problem

In the prior art, users need cumbersome operating procedures when playing music using electronic devices, such as unlocking the mobile phone, finding playlists and clicking to play, resulting in poor user experience, especially when choosing a suitable playlist in different scenarios.

Method used

By directly contacting and playing recommended playlists on the display interface of the electronic device, using scene recognition and user listening habits to learn, push playlists related to the current scene, and simplifying the operation process.

Benefits of technology

In different scenarios, users can quickly trigger the playback of recommended playlists, simplify the operation process, and improve the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120277233A_ABST
    Figure CN120277233A_ABST
Patent Text Reader

Abstract

The invention provides a song list recommendation method, electronic equipment and a storage medium, and relates to the technical field of terminals, the method can be applied to first electronic equipment, and a first media application and a second media application are installed on the first electronic equipment. The method comprises the following steps: when first electronic equipment is in a first scene and a first media application and a second media application are both in a non-running state, the first electronic equipment can push a first song list related to the first scene on a card of a first interface, for example, the first song list is a scene song list provided by the first media application, and the second song list is a scene song list provided by the second media application. The user can directly trigger and play the songs in the first song list on the first interface conveniently, the user operation is simplified, and the user experience is improved. Besides, a control for viewing more recommended song lists can be displayed on the card, and if the user is not satisfied with the recommended first song list, the user can click the control to view more recommended song lists, so that the user can select the song lists conveniently.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of terminals, and in particular to a playlist recommendation method, an electronic device, and a storage medium. Background Art

[0002] With the popularization of mobile electronic devices, electronic devices support media playback. For example, users use mobile phones to play music, audiobooks, etc. When a user has the intention to listen to music, usually the user needs to unlock the mobile phone, click to enter the media application, search for the favorite playlist or historical playlist in the media application, and click to play the songs in the playlist. The above operations are cumbersome and the user experience is poor. Summary of the Invention

[0003] Embodiments of this application provide a playlist recommendation method, an electronic device, and a storage medium, which facilitate the user to directly trigger the playback of the recommended playlist on the display interface of the electronic device, can simplify the user operation process, and improve the user experience.

[0004] In a first aspect, embodiments of this application provide a playlist recommendation method, which can be applied to a first electronic device. The first electronic device is installed with a first media application and a second media application. The method includes:

[0005] When the first electronic device is in a first scenario and both the first media application and the second media application are in an unrun state, the first electronic device displays a first interface. The first interface includes a first card in a first form, and a first control and a first playlist of the first media application are displayed on the first card. The first playlist is a playlist related to the first scenario.

[0006] In response to an operation on the first control, the first electronic device displays a second interface. The second interface includes a second card and a first card in a second form; multiple second playlists are displayed on the second card. The multiple second playlists include playlists of the second media application. The multiple second playlists are displayed from near to far according to the playlist playback order, or from largest to smallest according to the cumulative playback duration of the playlist within a preset period, or from largest to smallest according to the playback frequency of the playlist within a preset period; a playback progress bar and / or a volume slider are displayed on the first card in the second form.

[0007] Exemplarily, the first electronic device may be a mobile phone, the first media application may be media application A, and the second media application may be media application B. Both media application A and media application B are applications capable of playing audio. The first scenario includes but is not limited to a subway scenario, a bedtime scenario, a driving scenario, etc. The first interface may be the lock screen interface of the mobile phone (such as Figure 2 interface 201 shown in a), the control center interface (such as Figure 3 interface 302 shown in b), the main interface (such as Figure 3The interface 301 shown in d) or any interface. The first card in the first form can be Figure 2 The card 2011 shown in a), the first control can be the control 2016 on the card 2011, and the first playlist can be the playlist 1 provided by the media application A, and the playlist 1 is a scene playlist.

[0008] Exemplarily, as Figure 2 Shown in b), the second interface can be the interface 202, the second card can be the card 2022, the first card in the second form can be the card 2021, and the multiple second playlists can be the multiple playlists on the card 2021. The multiple second playlists can come from the media application A and / or the media application B, and the multiple second playlists can be historical playlists.

[0009] In this embodiment, when the first electronic device is in the first scene and none of the media applications installed on the first electronic device is running, the first electronic device can push the first playlist related to the first scene on the first interface, facilitating the user to quickly trigger the playback of the songs in the first playlist when entering the first scene, which can simplify the user operation and improve the user experience. If the user is not satisfied with the recommended first playlist, the user can touch the first control on the first card of the first interface to view more recommended playlists, facilitating the user to select a playlist and trigger the playback of the songs in one of the playlists, which can simplify the user operation and improve the user experience.

[0010] In an optional embodiment of the first aspect, the first electronic device is installed with a first media application and a second media application. When the first electronic device is in the first scene, the first media application is in a running state, and the second media application is in a non-running state, the first electronic device displays the first interface, and the first interface includes the first card in the first form, and a fourth playlist is displayed on the first card. The fourth playlist is a playlist related to the first scene provided by the second media application.

[0011] In this embodiment, the first electronic device has started the first media application in the first scene. The first electronic device can push the playlist related to the first scene provided by the second media application on the first interface, facilitating the user to switch to the second media application to play the songs in the scene playlist, which can simplify the user operation and improve the user experience.

[0012] In an optional embodiment of the first aspect, before the first electronic device displays the first interface when the first electronic device is in the first scenario and both the first media application and the second media application are in an unoperated state, the method further includes: the first electronic device receives a connection event of a second electronic device; in response to the connection event, the first electronic device determines that the first electronic device is in the first scenario; in response to determining that the first electronic device is in the first scenario, the first electronic device determines that both the first media application and the second media application are in an unoperated state.

[0013] Exemplarily, the second electronic device may be a headset or a car stereo, and the connection event of the second electronic device may be a connection event of the headset or a connection event of the car stereo.

[0014] In this embodiment, when the first electronic device is in the first scenario and detects a connection event of the second electronic device, it can be considered that the user has the intention of listening to audio. Further, when the first electronic device determines that all installed media applications are in an unoperated state, the first electronic device may push a first playlist on the first interface. The above method facilitates the user to quickly trigger the playback of the songs in the first playlist on the first interface when entering the first scenario and wearing the headset or connecting the car stereo, which can simplify the user operation and improve the user experience.

[0015] In an optional embodiment of the first aspect, in response to determining that the first electronic device is in the first scenario, the first electronic device determines that both the first media application and the second media application are in an unoperated state, including: in response to determining that the first electronic device is in the first scenario, the first electronic device determines that the identification information corresponding to the first scenario is the first identifier; the first identifier is used to indicate that the number of times the user listens to audio in the first scenario within a preset period is greater than or equal to a preset number of times; in response to determining that the identification information corresponding to the first scenario is the first identifier, the first electronic device determines that both the first media application and the second media application are in an unoperated state.

[0016] Exemplarily, the first identifier may be 1, which is used to indicate that the number of times the user listens to audio in the first scenario within a preset period is greater than or equal to a preset number of times. The preset period may be one month, and the preset number of times may be 5 times. That is, the first identifier is used to indicate that the user has the habit of listening to audio in the first scenario.

[0017] In this embodiment, after the first electronic device detects a connection event with the second electronic device, the first electronic device identifies that the first electronic device is in the first scenario, and by querying the identification information corresponding to the first scenario, determines that the user has the habit of listening to audio in the first scenario. If the first electronic device further determines that all the installed media applications are in an unrun state, the first electronic device can push the first playlist on the first interface. The above method is convenient for users who have the habit of listening to audio in the first scenario. When entering the first scenario and wearing headphones or connecting to a car stereo, they can quickly trigger the playback of the songs in the first playlist on the first interface, which can simplify the user operation and improve the user experience.

[0018] In some embodiments, the identification information corresponding to the first scenario is the second identifier, and the second identifier is used to indicate that the number of times the user listens to audio in the first scenario within a preset period is less than a preset number. For example, the second identifier can be 0, that is, the second identifier is used to indicate that the user has no habit of listening to audio in the first scenario.

[0019] In an alternative embodiment of the first aspect, the first electronic device receiving the connection event of the second electronic device includes: the intelligent service of the first electronic device receiving the connection event of the second electronic device; in response to the connection event, the first electronic device determining that the first electronic device is in the first scenario includes: in response to the connection event, the intelligent service determining that the first electronic device is in the first scenario; in response to determining that the first electronic device is in the first scenario, the first electronic device determining that both the first media application and the second media application are in an unrun state includes: in response to determining that the first electronic device is in the first scenario, the intelligent service sending a first message to the audio recommendation management module of the first electronic device, where the first message includes the identifier of the first scenario; the audio recommendation management module querying from the media session service of the first electronic device that both the first media application and the second media application are in an unrun state.

[0020] Exemplarily, the first message can be Figure 15 the notification message in S1502c. The audio recommendation management module querying from the media session service of the first electronic device that both the first media application and the second media application are in an unrun state can correspond to Figure 15 S1503 and S1504 in. Combining this embodiment, the unregistered registration state of the media session in S1504 means that the media sessions corresponding to the first media application and the second media application are both unregistered, that is, both the first media application and the second media application are in an unrun state.

[0021] In an optional embodiment of the first aspect, the first electronic device displays a first interface, including: the first electronic device queries playlist information corresponding to a first scenario, and the playlist information corresponding to the first scenario includes playlist information of a first playlist. The playlist information of the first playlist includes the playlist title, playlist identifier, playlist cover, and identifier of the first scenario of the first playlist. After the first electronic device queries the playlist information corresponding to the first scenario, the first electronic device displays the first interface, and the first playlist is displayed on the first interface.

[0022] In this embodiment, the first electronic device pre-stores playlist information of the first playlist corresponding to the first scenario. The first electronic device first obtains the playlist information of the first playlist, and then based on the playlist information of the first playlist, displays the first playlist on the first interface.

[0023] In an optional embodiment of the first aspect, the first electronic device queries playlist information corresponding to a first scenario, including: the first electronic device obtains playlist information corresponding to the identifier of the first scenario according to the identifier of the first scenario, and the playlist information corresponding to the identifier of the first scenario includes playlist information of the first playlist.

[0024] In this embodiment, the first electronic device can obtain playlist information corresponding to the first scenario based on the identifier of the first scenario, such as playlist information of the first playlist.

[0025] In an optional embodiment of the first aspect, the first electronic device queries playlist information corresponding to a first scenario, including: the audio recommendation management module of the first electronic device sends a first query request to the media content providing module of the first electronic device, and the first query request includes the identifier of the first scenario; in response to receiving the first query request, the media content providing module sends a first query response to the audio recommendation management module, and the first query response includes playlist information corresponding to the first scenario; the first electronic device displays the first interface, including: the audio recommendation management module sends playlist information corresponding to the first scenario to the system user interface UI of the first electronic device; in response to receiving the playlist information corresponding to the first scenario, the system UI displays the playlist corresponding to the first scenario on the first interface.

[0026] Exemplarily, the first query request may correspond to Figure 15 the request for querying the scenario playlist in S1507, and the first query response may correspond to Figure 15 the return of the scenario playlist information in S1508. The audio recommendation management module sending playlist information corresponding to the first scenario to the system UI of the first electronic device may correspond to: Figure 15 the notification of displaying the scenario playlist in S1509. The system UI displaying the playlist corresponding to the first scenario on the first interface may correspond to: Figure 15 displaying scenario playlist 1 in S1510.

[0027] In this embodiment, the audio recommendation management module of the first electronic device obtains the playlist information of the scenario playlist from the media content providing module, and sends a notification for displaying the scenario playlist to the system UI of the first electronic device, so that the system UI can display the scenario playlist on the first interface, facilitating the user to quickly trigger the playback of the songs in the pushed scenario playlist on the first interface.

[0028] In an optional embodiment of the first aspect, the playlist information corresponding to the first scenario further includes the playlist information corresponding to the first scenario provided by the second media application. The method further includes: the first electronic device determines to push the first playlist of the first media application with the longest cumulative playback duration according to the cumulative playback duration of the media application within a preset period.

[0029] Exemplarily, the preset period is one month. The cumulative playback duration of the user using the first media application to play songs within one month is 3 hours, and the cumulative playback duration of the user using the second media application to play songs within one month is 1 hour. The playlist corresponding to the first scenario provided by the first media application is Playlist 1, and the playlist corresponding to the first scenario provided by the second media application is Playlist 2. Since the cumulative playback duration of the first media application within one month is greater than that of the second media application, when the first electronic device enters the first scenario, the first electronic device pushes Playlist 1 provided by the first media application.

[0030] This embodiment shows a rule for recommending scenario playlists. When the playlist information corresponding to the first scenario obtained by the first electronic device includes the scenario playlist provided by the first media application and the scenario playlist provided by the second media application, the first electronic device can push the scenario playlist provided by the first media application with the longest cumulative playback duration of the media application within a preset period to the first interface for display.

[0031] In an optional embodiment of the first aspect, the first electronic device determines to push the first playlist of the first media application with the longest cumulative playback duration according to the cumulative playback duration of the media application within a preset period, including: the audio recommendation management module of the first electronic device determines to push the first playlist of the first media application with the longest cumulative playback duration according to the cumulative playback duration of the media application within a preset period.

[0032] In an optional embodiment of the first aspect, before the first electronic device queries the playlist information corresponding to the first scenario, the method includes: the first electronic device queries the screen state of the display, and the screen state of the display is the on-screen or locked-screen state.

[0033] In an optional embodiment of the first aspect, the first electronic device queries the screen state of the display, including: the audio recommendation management module of the first electronic device obtains the screen state of the display screen from the screen management module of the first electronic device.

[0034] Exemplarily, the audio recommendation management module of the first electronic device can obtain the screen state of the display screen from the screen management module of the first electronic device, corresponding to: Figure 15 S1505 and S1506 in

[0035] In an optional embodiment of the first aspect, before the first electronic device queries the playlist information corresponding to the first scenario, the method further includes: after the first electronic device detects a playback event of the first media application, the first electronic device receives the playlist information of the first media application, and the playlist information of the first media application includes the playlist title, playlist cover, time point when the playlist starts playing, and scenario identifier corresponding to the song being played; in response to receiving the playlist information of the first media application, the first electronic device stores the playlist information of the first media application.

[0036] Exemplarily, the first electronic device detecting a playback event of the first media application means that the first media application of the first electronic device detects an operation by the user to play a song in a certain playlist of the first media application.

[0037] This embodiment shows the process of the first electronic device writing the playlist information of the first media application. Based on this process, the first electronic device stores the playlist information of the first media application, providing data support for subsequent playlist recommendations.

[0038] In an optional embodiment of the first aspect, the first electronic device receiving the playlist information of the first media application includes: the audio recommendation management module of the first electronic device receives the playlist information of the first media application; the first electronic device storing the playlist information of the first media application includes: the audio recommendation management module writing the playlist information of the first media application to the media content providing module of the first electronic device.

[0039] This embodiment shows that the first electronic device writes the playlist information of the first media application to the media content providing module, and the first electronic device can obtain the playlist information of, for example, the first playlist of the first media application from the media content providing module.

[0040] In an optional embodiment of the first aspect, after the first electronic device displays the first interface, the method further includes: in response to an operation on the first playlist, the first electronic device starts the first media application and controls the first media application to play the song in the first playlist.

[0041] Exemplarily, as Figure 2 shown in a of , the operation in response to the operation on the first playlist can be the operation in response to the operation on the control 2014, that is, in response to the operation of playing playlist 1 of media application A, the mobile phone starts media application A and controls media application A to play the first song or any song in playlist 1.

[0042] In this embodiment, in response to an operation of playing the first playlist, the first electronic device can quickly start the first media application corresponding to the first playlist and control the first media application to play the songs in the first playlist, so that the user can quickly trigger the playing of the songs in the first playlist on the first interface, simplifying the user operation process and improving the user experience.

[0043] In an optional embodiment of the first aspect, after the first electronic device displays the second interface, the method further includes: in response to an operation on the third playlist, the first electronic device starts the second media application and controls the second media application to play the songs in the third playlist; the third playlist is the playlist of the second media application among multiple second playlists.

[0044] Exemplarily, as Figure 2 shown in d, the operation in response to the third playlist can be an operation in response to the playlist 2024 of media application B on the card 2022, that is, in response to an operation of playing the playlist 2 of media application B, the mobile phone starts media application B and controls media application B to play the first song or any song in playlist 2. The third playlist can be a historical playlist.

[0045] In this embodiment, in response to an operation of playing the third playlist, the first electronic device can quickly start the second media application corresponding to the third playlist and control the second media application to play the songs in the third playlist, so that the user can quickly trigger the playing of the songs in the third playlist on the second interface, simplifying the user operation process and improving the user experience.

[0046] In an optional embodiment of the first aspect, in response to an operation on the first playlist, the first electronic device starts the first media application and controls the first media application to play the songs in the first playlist, including: in response to an operation on the first playlist, the system UI of the first electronic device sends a first play request to the media session service of the first electronic device, and the first play request includes the identifier of the first playlist; the media session service sends a first play request to the first media application; in response to receiving the first play request, the first media application starts and plays the songs in the first playlist.

[0047] Exemplarily, the system UI sending the first play request to the media session service can correspond to: Figure 15 the play request in S1511, and the media session service sending the first play request to the first media application can correspond to: Figure 15 the play request in S1514.

[0048] In an optional embodiment of the first aspect, in response to an operation on the first playlist, the first electronic device starts the first media application, including: in response to an operation on the first playlist, the first electronic device determines, according to the corresponding relationship between the playlist identifier and the media application identifier pre-stored in the first electronic device, that the identifier of the first playlist corresponds to the first media application; the first electronic device starts the first media application.

[0049] In this embodiment, in response to an operation of playing the first playlist, the first electronic device can obtain the first media application corresponding to the first playlist by querying the pre-stored corresponding relationship between the playlist identifier and the media application identifier, and then start the first media application.

[0050] In an optional embodiment of the first aspect, in response to an operation on the third playlist, the first electronic device starts the second media application, including: in response to an operation on the third playlist, the first electronic device determines, according to the corresponding relationship between the playlist identifier and the media application identifier, that the identifier of the third playlist corresponds to the second media application; the first electronic device starts the second media application.

[0051] In this embodiment, in response to an operation of playing the third playlist, the first electronic device can obtain the second media application corresponding to the third playlist by querying the pre-stored corresponding relationship between the playlist identifier and the media application identifier, and then start the second media application.

[0052] In an optional embodiment of the first aspect, in response to an operation on the first playlist, the first electronic device determines, according to the corresponding relationship between the playlist identifier and the media application identifier pre-stored in the first electronic device, that the identifier of the first playlist corresponds to the first media application, including: in response to an operation on the first playlist, the media session service of the first electronic device sends a second query request to the media content providing module of the first electronic device, and the second query request includes the identifier of the first playlist; the media content providing module determines, according to the pre-stored corresponding relationship between the playlist identifier and the media application identifier, that the identifier of the first playlist corresponds to the first media application; the media content providing module sends a second query response to the media session service, and the second query response includes the identifier of the first media application corresponding to the identifier of the first playlist.

[0053] Exemplarily, the second query request may correspond to Figure 15 the query request of S1512, and the second query response may be Figure 15 the query response of S1513.

[0054] In this embodiment, the first electronic device learns from the media content providing module through the media session service that the media application corresponding to the first playlist is the first media application.

[0055] In an optional embodiment of the first aspect, after the first electronic device displays the first interface, the method further includes: in response to an operation on the first playlist, the first electronic device displays a third interface, the third interface includes a third card, and the third card displays information about the song being played in the first playlist.

[0056] Exemplarily, as Figure 2 shown in f, the third interface may be interface 204, and the third card may be card 2041.

[0057] In this embodiment, in response to an operation of playing the first playlist on the first card, the first electronic device displays the third card so that the user can view information about the song being played in the first playlist.

[0058] In an optional embodiment of the first aspect, after the first electronic device displays the second interface, the method further includes: in response to an operation on the third playlist, the first electronic device displays a fourth interface, the fourth interface includes a fourth card, and the fourth card displays information about the song being played in the third playlist.

[0059] Exemplarily, as Figure 2 shown in e, the fourth interface may be interface 203, and the fourth card may be card 2031.

[0060] In this embodiment, in response to an operation of playing the third playlist on the second card, the first electronic device displays the fourth card so that the user can view information about the song being played in the third playlist.

[0061] In an optional embodiment of the first aspect, after the first electronic device starts the first media application and controls the first media application to play the song in the first playlist, the method further includes: the first electronic device records the registration status of the media session corresponding to the first media application as registered, and updates the playback status of the media player to playing.

[0062] In an optional embodiment of the first aspect, the first electronic device records the registration status of the media session corresponding to the first media application as registered, including: the first media application sends a first registration request to the media session service of the first electronic device, and the first registration request is used to request to register the media session corresponding to the first media application; in response to receiving the first registration request, the media session service records the registration status of the media session corresponding to the first media application as registered. Exemplarily, the first media application is media application A. Referring to Figure 15 , after media application A is started in S1515, it includes: media application A sends a first registration request to the media session service, and the media session service records the registration status of the media session corresponding to media application A as registered ( Figure 15(not shown). The registration status of the media session corresponding to media application A is registered, which may indicate that media application A is in a running state.

[0063] In an optional embodiment of the first aspect, after the first electronic device starts a second media application and controls the second media application to play a song in a third playlist, the method further includes: the first electronic device records the registration status of the media session corresponding to the second media application as registered, and updates the playing state of the media player to playing.

[0064] In an optional embodiment of the first aspect, the first electronic device updates the playing state of the media player to playing, including: the first media application sends a first notification message to the media session service of the first electronic device, and the first notification message is used to indicate that the playing state of the media player is playing; in response to receiving the first notification message, the media session service updates the playing state of the media player to playing. Exemplarily, the first media application is media application A, and the first notification message may be Figure 15 the playing state update notification in S1516.

[0065] In an optional embodiment of the first aspect, in response to an operation on a first control, the first electronic device displays a second interface, including: in response to an operation on the first control, the system UI of the first electronic device sends a third query request to the media content providing module of the first electronic device; in response to receiving the third query request, the media content providing module sends a third query response to the system UI, and the third query response includes playlist information of a plurality of second playlists; in response to receiving the third query response, the system UI displays the second interface, and the second interface displays a plurality of second playlists.

[0066] Exemplarily, the third query request may correspond to Figure 14 S1401, and the third query response may correspond to Figure 14 S1402. In this embodiment, the third query request is used to request to obtain playlist information of a plurality of second playlists, and the plurality of second playlists may be a plurality of historical playlists.

[0067] In this embodiment, in response to an operation on the first control, that is, in response to an operation of querying for more playlists, the system UI of the first electronic device may obtain a plurality of second playlists from the media content providing module and display the plurality of second playlists to provide more playlist recommendations for the user.

[0068] In an optional embodiment of the first aspect, after the first electronic device displays the first interface, the method further includes: the audio recommendation management module of the first electronic device starts a timer; after the timer times out, the audio recommendation management module sends a second notification message to the system UI of the first electronic device, and the second notification message is used to instruct the system UI to cancel the display of the first card in the first form. Exemplarily, the duration of the timer can be set to, for example, 30s.

[0069] This embodiment shows that the first electronic device displays the first card in the first form within the duration of the timer, allowing the user to view the first playlist and quickly trigger the playback of the songs in the first playlist. If the user does not respond to this display, the first electronic device can stop displaying the first card in the first form after the timer times out.

[0070] In an optional embodiment of the first aspect, after the first electronic device displays the first interface, the method further includes: the audio recommendation management module of the first electronic device receives a disconnection event of the second electronic device; in response to receiving the disconnection event of the second electronic device, the audio recommendation management module sends a third notification message to the system UI of the first electronic device, and the third notification message is used to instruct the system UI to cancel the display of the first card in the first form.

[0071] Exemplarily, the disconnection event of the second electronic device can be a disconnection event of the earphone or a disconnection event of the car head unit.

[0072] In this embodiment, the first electronic device displays the first card in the first form on the first interface, allowing the user to view the first playlist and quickly trigger the playback of the songs in the first playlist. If the user has not yet responded to this display and the first electronic device detects a disconnection event of the second electronic device, the first electronic device can stop displaying the first card in the first form.

[0073] In an optional embodiment of the first aspect, the method further includes: when the first electronic device is connected to the second electronic device, the first electronic device sends a second message to the second electronic device, and the second message includes the playlist information of the first playlist, and the second message is used to instruct the second electronic device to display the first playlist.

[0074] Exemplarily, the first electronic device can be a mobile phone and the second electronic device can be a car head unit.

[0075] In this embodiment, when the first electronic device is in the first scenario and none of the media applications installed on the first electronic device are running, if the first electronic device is already connected to the second electronic device, the first electronic device can push the first playlist related to the first scenario to the second electronic device, facilitating the user to view the first playlist on the second electronic device.

[0076] In an alternative embodiment of the first aspect, the method further includes: the first electronic device receives a second playback request from the second electronic device, where the second playback request includes an identifier of a first playlist; in response to receiving the second playback request, the first electronic device launches a first media application and controls the first media application to play the songs in the first playlist.

[0077] Exemplarily, in response to an operation on the second electronic device to play the first playlist, the second electronic device sends a second playback request to the first electronic device to trigger the first electronic device to launch the first media application corresponding to the first playlist and control the first media application to play the songs in the first playlist.

[0078] In an alternative embodiment of the first aspect, the method further includes: when the first electronic device is connected to a third electronic device, the first electronic device sends a third message to the third electronic device, where the third message is used to instruct the third electronic device to display a notification for playlist recommendation.

[0079] Exemplarily, the first electronic device may be a mobile phone, and the third electronic device may be a watch. The notification for playlist recommendation displayed on the third electronic device may correspond to: Figure 5 the notification card 5011 shown in a of the figure. In response to an operation on the notification card 5011, the third electronic device may display playlists related to, for example, a first scenario, such as the first playlist.

[0080] In this embodiment, when the first electronic device is in a first scenario and none of the media applications installed on the first electronic device are running, if the first electronic device has established a connection with the third electronic device, the first electronic device may push a notification for playlist recommendation to the third electronic device to prompt the user to view playlists related to the first scenario on the third electronic device.

[0081] In an alternative embodiment of the first aspect, the method further includes: the first electronic device receives a fourth query request from the third electronic device; in response to receiving the fourth query request, the first electronic device sends a fourth query response to the third electronic device, where the fourth query response includes playlist information of a first playlist and playlist information of a plurality of second playlists; the first electronic device receives a third playback request from the third electronic device, where the third playback request includes an identifier of the first playlist; in response to receiving the third playback request, the first electronic device launches the first media application and controls the first media application to play the songs in the first playlist.

[0082] Exemplarily, in response to an operation on the third electronic device to query for recommended playlists, the third electronic device obtains information about recommended playlists from the first electronic device, such as playlist information of a first playlist and a plurality of second playlists.

[0083] Exemplarily, in response to an operation of playing a first playlist on a third electronic device, the third electronic device sends a third play request to the first electronic device to trigger the first electronic device to start a first media application corresponding to the first playlist and control the first media application to play the songs in the first playlist.

[0084] In an optional embodiment of the first aspect, the first electronic device displays a first interface, including: when the first electronic device is in the screen-on and locked screen state, the first electronic device displays a lock screen interface. Exemplarily, as Figure 2 the lock screen interface shown in a of the figure, and a recommended first playlist is displayed on the lock screen interface.

[0085] In an optional embodiment of the first aspect, the first electronic device displays a first interface, including: when the first electronic device is in the screen-off and locked screen state, in response to an operation on the first electronic device, the first electronic device displays a lock screen interface. Exemplarily, the operation on the first electronic device can be an operation of picking up the mobile phone, or an operation of double-tapping the display screen of the first electronic device.

[0086] In an optional embodiment of the first aspect, the first electronic device displays a first interface, including: when the first electronic device is in the unlocked state, in response to an operation on the display screen of the first electronic device, the first electronic device displays a control center interface. Exemplarily, the operation on the display screen of the first electronic device can be an operation of swiping down from the top of the screen, or an operation of swiping up from the bottom of the screen, or an operation of swiping right from the left side of the screen, or an operation of swiping left from the right side of the screen.

[0087] In an optional embodiment of the first aspect, the first electronic device displays a first interface, including: when the first electronic device is in the unlocked state, the first electronic device displays a first interface, and the first interface includes a first window, and a first playlist is displayed on the first window. Exemplarily, the first interface can be a main interface, or any interface (such as the interface of any application installed on the first electronic device). Taking the first interface as the main interface as an example, the first window can be Figure 3 the notification bar 3011 shown in d or e of the figure, and a scene playlist provided by the media application A is displayed on the notification bar 3011.

[0088] The above several embodiments show that when the first electronic device is in the first scenario and both the first media application and the second media application are in the unrun state, the first electronic device can display a recommended first playlist on the lock screen interface, or the control center interface, or the notification bar popped up on any interface, facilitating the user to quickly trigger the playback of the songs in the pushed scene playlist.

[0089] Second aspect, an embodiment of the present application provides an electronic device, which includes: one or more processors and a memory; the memory is coupled to the one or more processors, and the memory is used to store computer program code, the computer program code includes computer instructions, and the one or more processors call the computer instructions to enable the electronic device to execute the method according to any one of the first aspect.

[0090] Third aspect, an embodiment of the present application provides a chip system, which is applied to an electronic device. The chip system includes one or more processors, and the one or more processors are used to call computer instructions to enable the electronic device to execute the method according to any one of the first aspect.

[0091] Fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which includes computer instructions. When the computer instructions run on an electronic device, the electronic device is enabled to execute the method according to any one of the first aspect.

[0092] Fifth aspect, an embodiment of the present application provides a computer program product, which includes computer program code. When the computer program code runs on an electronic device, the electronic device is enabled to execute the method according to any one of the first aspect.

[0093] It should be understood that the second aspect to the fifth aspect of the present application correspond to the technical solutions of the first aspect of the present application, and the beneficial effects obtained by each aspect and the corresponding optional embodiments are similar, and will not be elaborated herein. Description of the Drawings

[0094] Figure 1 Schematic diagram of the scenario of the playlist recommendation method provided by the embodiment of the present application Figure 1 ;

[0095] Figure 2 Schematic diagram of the change of the mobile phone interface provided by the embodiment of the present application Figure 1 ;

[0096] Figure 3 Schematic diagram of the change of the mobile phone interface provided by the embodiment of the present application Figure 2 ;

[0097] Figure 4 Schematic diagram of the scenario of the playlist recommendation method provided by the embodiment of the present application Figure 2 ;

[0098] Figure 5 Schematic diagram of the change of the watch interface provided by the embodiment of the present application;

[0099] Figure 6 Schematic diagram of the scenario of the playlist recommendation method provided by the embodiment of the present application Figure 3 ;

[0100] Figure 7 Schematic diagram of the change of the in-vehicle machine interface provided by the embodiment of the present application;

[0101] Figure 8 Schematic diagram of the playlist recommendation rule provided by the embodiment of the present application;

[0102] Figure 9 Schematic diagram of the hardware structure of the electronic device provided by the embodiment of the present application;

[0103] Figure 10a Schematic diagram of the software architecture of the electronic device provided by the embodiment of the present application;

[0104] Figure 10b is based on Figure 10a Schematic diagram of the playlist recommendation method of the software architecture shown;

[0105] Figure 11 Schematic diagram of the playlist adding process provided by the embodiment of the present application;

[0106] Figure 12 Schematic diagram of the playlist recommendation method provided by the embodiment of the present application Figure 1 ;

[0107] Figure 13 Schematic diagram of the playlist recommendation method provided by the embodiment of the present application Figure 2 ;

[0108] Figure 14 Schematic diagram of the playlist recommendation method provided by the embodiment of the present application Figure 3 ;

[0109] Figure 15 Schematic diagram of the playlist recommendation method provided by the embodiment of the present application Figure 4 ;

[0110] Figure 16 Schematic diagram of the change of the mobile phone interface provided by the embodiment of the present application Figure 3 ;

[0111] Figure 17 Schematic diagram of the playlist recommendation method provided by the embodiment of the present application Figure 5 ;

[0112] Figure 18 Schematic diagram of the playlist recommendation method provided by the embodiment of the present application Figure 6 ;

[0113] Figure 19 Schematic diagram of the playlist recommendation method provided by the embodiment of the present application Figure 7 ;

[0114] Figure 20 Schematic diagram of the playlist recommendation method provided by the embodiment of the present applicationFigure 8 。 Detailed implementation manners

[0115] For the convenience of clearly describing the technical solutions of the embodiments of the present application, in the embodiments of the present application, terms such as "first" and "second" are used to distinguish identical or similar items with basically the same functions and effects. Those skilled in the art can understand that terms such as "first" and "second" do not limit the quantity and execution order, and "first", "second", etc. do not necessarily mean different.

[0116] It should be noted that in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design solution described as "exemplary" or "for example" in the present application should not be construed as being more preferred or having more advantages than other embodiments or design solutions. Rather, the use of words such as "exemplary" or "for example" is intended to present relevant concepts in a specific manner.

[0117] In the embodiments of the present application, "at least one" means one or more, and "a plurality" means two or more. "And / or" describes the association relationship of associated objects and indicates that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist simultaneously, and B exists alone, where A and B may be singular or plural. The character " / " generally represents an "or" relationship between the associated objects before and after. "At least one (kind / individual) of the following" or its similar expressions refer to any combination of these items, including any combination of single item (kind / individual) or plural items (kinds / individuals). For example, at least one (kind / individual) of a, b, or c may represent: a, b, c, a - b, a - c, b - c, or a - b - c, where a, b, c may be single or multiple.

[0118] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present application are all information and data authorized by the user or fully authorized by all parties. And the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions, and corresponding operation entrances are provided for users to choose to authorize or refuse.

[0119] When a user has the intention of listening to music and wants to listen to the songs in a certain playlist, they usually need to unlock the mobile phone first, start the media application, then select the corresponding playlist in the media application, and then click on any song in the playlist to play. Or, after unlocking the mobile phone, the user can call up the control center through a swipe gesture operation. The control center displays a quick control for opening the media application. By clicking on this quick control, the media application can be quickly started and the songs in the playlist played in the media application last time can be played. The existing audio playback process is rather cumbersome, and the user needs to perform multiple steps of operation, resulting in a poor user experience.

[0120] In the embodiments of the present application, the media application refers to an application that can play audio. The playlist provided by the media application may include at least one song.

[0121] In addition, users have different habits of listening to audio in different scenarios. For example, users often listen to pop music when taking the subway, or users often listen to soothing classical music before going to bed, or users often listen to jazz music when driving, etc. Therefore, when the user has the intention of listening to music in the target scenario, the user needs to search for a playlist suitable for the current scenario in the media application and select to play the songs in the playlist. The process of searching for the playlist is both cumbersome and laborious, resulting in a poor user experience.

[0122] In view of the above problems, the embodiments of the present application disclose a playlist recommendation method. This method can be applied to any electronic device with an audio playback function. With the help of the scene recognition ability of the electronic device and the learning ability of the user's audio listening habits, when the electronic device recognizes the target scene and the user has the habit of listening to audio in this target scene, the electronic device can display one or more playlists related to this target scene on the interface, facilitating the user to play the songs in the playlist, simplifying the operation process of the user listening to audio, liberating the user from the cumbersome operations of finding and listening to songs, and improving the user experience.

[0123] The above electronic device may also be referred to as a terminal, user equipment (UE), mobile station (MS), mobile terminal (MT), etc. The electronic device may be a mobile phone with a touch screen, smart TV, wearable device, tablet computer (Pad), computer with wireless transceiver function, virtual reality (VR) terminal device, augmented reality (AR) terminal device, wireless terminal in industrial control, wireless terminal in self-driving, wireless terminal in remote medical surgery, wireless terminal in smart grid, wireless terminal in transportation safety, wireless terminal in smart city, wireless terminal in smart home, etc. The embodiments of the present application do not limit the specific technologies and specific device forms adopted by the electronic device.

[0124] To facilitate understanding of the solution, the scenarios applicable to the technical solution of the present application will be described first below. Taking the electronic device as a mobile phone as an example for illustration, this example does not limit the electronic device in the embodiments of the present application.

[0125] Scenario 1: Mobile phone connected to headphones

[0126] Figure 1 Schematic diagram of the scenario for the playlist recommendation method provided by the embodiments of the present application Figure 1 . As Figure 1 shown, in this scenario, the mobile phone 101 is communicatively connected to the headphones 102, and the user controls audio playback by operating on the mobile phone 101. The headphones 102 are used to play the audio data sent by the mobile phone 101.

[0127] In one example, the headphones are Bluetooth headphones, and the headphones are connected to the mobile phone via Bluetooth. The mobile phone sends audio data to the headphones via Bluetooth. In another example, the headphones are wired headphones, and the headphones are connected to the mobile phone via a connecting line. The mobile phone controls audio playback of the headphones via the connecting line and sends audio data to the headphones via the connecting line.

[0128] It should be noted that in the embodiments of the present application, the operations performed by the user on the mobile phone include, but are not limited to, operations where the user touches the mobile phone display screen (such as clicking, double-clicking, swiping, etc.), air gesture operations within the range captured by the mobile phone camera (such as air pressing, air swiping the screen, etc.), and the user's voice input. The user can perform one or more of the above operations according to the specific scenario to trigger the mobile phone to perform corresponding actions.

[0129] Under normal circumstances, when the user wears a Bluetooth headset, or when the user inserts a wired headset into the mobile phone, it can be considered that the user has the intention to listen to audio. That is to say, if the mobile phone detects that the headset is connected to the mobile phone, it can be considered that the user has the intention to listen to audio. Among them, the connection between the headset and the mobile phone includes the headset being connected to the mobile phone via Bluetooth, or the headset being connected to the mobile phone via a connecting line.

[0130] In some embodiments, when the media application of the mobile phone is in an unrun state, and the mobile phone detects a headset connection event, after the mobile phone successfully connects to the headset, a recommended song list is displayed on the lock screen interface of the mobile phone.

[0131] The media application being in an unrun state means that there is no process of the media application in the electronic device. Correspondingly, the media application being in a run state means that there is a process of the media application in the electronic device, and this process can run in the foreground or in the background. Exemplarily, if the mobile phone is installed with media application A and media application B, the media application of the mobile phone being in an unrun state means that both media application A and media application B are in an unrun state. The lock screen state refers to the state where the screen of the electronic device is turned off or the electronic device is locked. In the lock screen state, the user cannot directly operate the electronic device and needs to unlock the screen to use it. When the electronic device is in the lock screen state, a lock screen interface can be displayed. The mobile phone detecting a headset connection event means that the mobile phone receives a Bluetooth connection request sent by the headset, or the mobile phone detects that the headset is connected to the mobile phone via a connecting line.

[0132] In some embodiments, when the media application of the mobile phone is in an unrun state and the mobile phone is in the screen-off and lock screen state, and the mobile phone detects a headset connection event, after the mobile phone successfully connects to the headset, the mobile phone will not light up. In response to the user's operation of picking up the mobile phone, the mobile phone lights up and displays the lock screen interface, and one or more recommended song lists are displayed on the lock screen interface. Screen-off means that the screen of the electronic device is powered off and the screen of the electronic device is in a closed state. The screen-off and lock screen state means that the screen of the electronic device is in a closed state and the electronic device is locked.

[0133] In some embodiments, when the media application of the mobile phone is in an unrunning state and the mobile phone is in the screen-off and locked state, and the mobile phone detects a connection event of the earphone, after the mobile phone successfully connects to the earphone, the mobile phone will not turn on the screen. In response to the operation of the user's finger touching the screen of the mobile phone, the mobile phone turns on the screen and displays the lock screen interface, and one or more recommended playlists are displayed on the lock screen interface.

[0134] In some embodiments, when the media application of the mobile phone is in an unrunning state and the mobile phone is in the screen-on and locked state, and the mobile phone detects a connection event of the earphone, after the mobile phone successfully connects to the earphone, the mobile phone can display one or more recommended playlists on the lock screen interface. Turning on the screen means that the screen of the electronic device is powered on and the screen brightness of the electronic device is higher than a preset brightness. The screen-on and locked state means that the screen brightness of the electronic device is higher than the preset brightness and the electronic device is locked.

[0135] In some embodiments, when the media application of the mobile phone is in an unrunning state and the mobile phone is in the screen-off and locked state, and the mobile phone detects a connection event of the earphone, after the mobile phone successfully connects to the earphone, the mobile phone will not turn on the screen. In response to the operation of the user picking up the mobile phone, the mobile phone displays the screen-off display. No recommended playlists are displayed during the screen-off display. Alternatively, in response to the operation of the user on the screen-off display interface, such as double-clicking, clicking, etc., the mobile phone turns on the screen and displays the lock screen interface, and one or more recommended playlists are displayed on the lock screen interface. The screen-off display is a function in which when the electronic device is in the locked state, a partial area of the screen remains on and displays partial information. For example, information such as time, battery power, and date can be displayed on the screen-off display interface.

[0136] In some embodiments, when the media application of the mobile phone is in an unrunning state and the mobile phone is in the screen-off and locked state, and the mobile phone detects a connection event of the earphone, after the mobile phone successfully connects to the earphone, the mobile phone can directly wake up the display screen, that is, the mobile phone turns on the screen and displays one or more recommended playlists on the lock screen interface.

[0137] The following combines Figure 2 to introduce the playlist recommendation method when the mobile phone is in the screen-on and locked state.

[0138] Exemplarily, Figure 2 is a schematic diagram of the change of the mobile phone interface provided by the embodiment of the present application Figure 1 . As Figure 2As shown in a of , when the media application of the mobile phone is in the non-running state and the mobile phone is in the unlocked screen-on state, and the mobile phone detects the connection event of the earphone, after the mobile phone successfully connects to the earphone, the mobile phone displays the card 2011 on the interface 201. The interface 201 is the lock screen interface of the mobile phone. The card 2011 displays the relevant information of the recommended playlist, and the relevant information of the recommended playlist includes, for example, the playlist cover, the playlist title, and the playlist source. The playlist source includes the scenario playlists recommended by the mobile phone, such as the scenario playlists recommended by YoYo, or the historical playlists recommended by the media application.

[0139] In the embodiments of the present application, the recommended playlists include two types, one is the scenario playlist and the other is the historical playlist.

[0140] The scenario playlist refers to the playlist that the mobile phone has played in a preset time period under the target scenario (such as subway, before going to bed, driving, etc.). The preset time period can be one month or one week, etc., and the embodiments of the present application do not limit this. For example, if the user clicks to play the song a in the playlist 1 in the media application A within one month in the subway scenario, the scenario playlist in the subway scenario may include the playlist 1. Another example is that if the user clicks to play the song b in the playlist 2 in the media application B within one month in the before-going-to-bed scenario, the scenario playlist in the before-going-to-bed scenario may include the playlist 2.

[0141] The historical playlist refers to the playlist that the mobile phone has played in a preset time period. For example, if the user clicks to play the song c in the playlist 1 in the media application A and the song d in the playlist 2 in the media application B within one month, the historical playlist may include the playlist 1 and the playlist 2.

[0142] The card 2011 also displays a plurality of controls, and the plurality of controls include a favorite control 2012, a previous control 2013, a play control 2014, a next control 2015, and a playlist list control 2016. Among them, the playlist list control 2016 is used to trigger viewing more recommended playlists. The card 2011 is the first-level card of the recommended playlist, and the first-level card can display only one recommended playlist, and this recommended playlist can be a historical playlist or a scenario playlist, and the present embodiment does not make any limitation on this.

[0143] In the embodiments of the present application, the recommended playlist displayed on the first-level card can be the playlist provided by any media application. For example, Figure 2 As shown in a of , the recommended playlist displayed on the card 2011 comes from the media application A.

[0144] In some embodiments, if the user wants to view more recommended playlists, they can click the playlist list control 2016 on the card 2011 to retrieve the second-level card of the recommended playlist.

[0145] Exemplarily, such as Figure 2As shown in b of [description], in response to the user's operation on the playlist control 2016 on the card 2011, the mobile phone display interface 202 is displayed, and the cards 2021 and 2022 are shown on the interface 202. The card 2021 is a first-level card in the second form. In addition to displaying the favorite control, previous control, play control, next control, and related information of the recommended playlist as on the card 2011, the card 2021 can also display a play progress bar 2025, a volume slider 2026, a play order selection control 2027 (such as single loop, list loop, etc.). The card 2022 is a second-level card, and the card 2022 can display more recommended playlists other than the recommended playlists on the first-level card. The second-level card can display a preset number of recommended playlists, for example, the preset number is 12. Limited by the spatial area of the card 2022, as Figure 2 shown in b of [description], the card 2022 only shows 3 recommended playlists. The user can view more recommended playlists by swiping within the area of the card 2022.

[0146] Such as Figure 2 shown in c of [description], in response to the user's upward swipe operation on the card 2022, the mobile phone displays the hidden more recommended playlists on the card 2022, and at the same time, a slider 2023 can be displayed on the right edge of the card 2022. The slider 2023 is used to indicate the position of the currently displayed card recommended playlist of the card 2022 in the recommended list. The recommended playlists displayed on the second-level card can include playlists provided by multiple media applications. For example, the recommended playlists displayed on the card 2022 can be playlists from media application A, playlists from media application B, playlists from media application C, etc.

[0147] In some embodiments, the card 2022 can also display the playlist control 2016 (not shown) as on the card 2011. Exemplarily, in response to an operation on the playlist control 2016 on the card 2022, the mobile phone can display a new card (not shown) on the interface 202, and this new card is used to display more playlists other than the Figure 2 3 playlists of the card 2022 shown in b of [description].

[0148] In some embodiments, if the user wants to play the recommended playlist on the second-level card, the user can click on the cover of a certain playlist in the playlist list on the second-level card to trigger the playback of the songs in the playlist.

[0149] Exemplarily, such as Figure 2As shown in d and e, in response to the user's operation on the cover of the recommended playlist 2024 on the card 2022, the mobile phone launches the media application B corresponding to the recommended playlist 2024 and plays the first song or any song in the recommended playlist 2024. Meanwhile, the mobile phone displays the interface 203, and the interface 203 displays the card 2031, and the song information in the recommended playlist 2024 is displayed on the card 2031. The song information includes the song name, singer information, song cover, etc. of the first song or any song in the recommended playlist 2024.

[0150] In some embodiments, as Figure 2 shown in a, in response to the user's operation on the play control 2014 on the card 2011, the mobile phone launches the media application A and plays the first song or any song in the playlist 1 of the media application A. At the same time, as Figure 2 shown in f, the mobile phone can display the card 2041 and no longer display the card 2011. The card 2041 displays the song information being played in the playlist 1 of the media application A, such as the song name being played, singer information, and song cover. The card 2041 can also display multiple controls, such as a favorite control, a previous song control, a play / pause control, a next song control, a play progress bar, a volume slider, and a play order selection control.

[0151] In some embodiments, in response to the user's operation on the cover of the recommended playlist 2024 on the card 2022, the mobile phone can no longer display the card 2021 and the card 2022.

[0152] The above Figure 2 has described the interface of the mobile phone in the screen-on and locked state. Next, in combination with Figure 3 the interface of the mobile phone in the unlocked state will be described. The unlocked state refers to the state in which the display screen of the electronic device is unlocked. After entering the unlock password, fingerprint, or face recognition, the electronic device enters the unlocked state.

[0153] In some embodiments, when the media application of the mobile phone is in the unrun state and the mobile phone is in the unlocked state, the mobile phone detects the connection event of the earphone. After the mobile phone is successfully connected to the earphone, the recommended playlist is displayed in the control center of the mobile phone.

[0154] Exemplarily, Figure 3 is a schematic diagram of the change of the mobile phone interface provided by the embodiment of the present application Figure 2 . As Figure 3As shown in a of [reference], the mobile phone is in an unlocked state. For example, when the current display interface of the mobile phone is 301, the interface 301 is the main interface and the media application of the mobile phone is in an unrunning state, the mobile phone detects a headphone connection event. In response to the user's operation of swiping down from the top of the interface 301, the mobile phone displays the interface 302. The interface 302 is the control center interface of the mobile phone, and the interface 302 displays the card 3021 and the card 2011. The card 3021 includes controls such as whether to turn on WLAN, Bluetooth, mobile data, mute, auto-rotate, etc., and a brightness adjustment slider, etc. The card 2011 displays the playlist information of the recommended playlist.

[0155] In some embodiments, if the user wants to view more recommended playlists, they can click on the playlist list control 2016 on the card 2011. Exemplarily, as Figure 3 shown in b of [reference], in response to the user's operation on the control 2016, the mobile phone can display the interface 303. The interface 303 displays the card 2021 and the card 2022. For the display and changes of the card 2022 on the interface 303, reference can be made to Figure 2 , which will not be elaborated here.

[0156] In some embodiments, when the media application of the mobile phone is in an unrunning state and the mobile phone is in an unlocked state, the mobile phone detects a headphone connection event. After the mobile phone successfully connects to the headphone, a notification bar pops up on the current display interface of the mobile phone, and the notification bar displays the recommended playlist.

[0157] Exemplarily, continuing to refer to Figure 3 , the current display interface of the mobile phone is 301. As Figure 3 shown in a of [reference], and when the media application of the mobile phone is in an unrunning state, the mobile phone detects a headphone connection event. After the mobile phone successfully connects to the headphone, the mobile phone can pop up a notification bar 3011 at the top of the interface 301. As Figure 3 shown in d of [reference], the notification bar 3011 displays the playlist information of the recommended playlist and multiple controls. The content displayed on the notification bar 3011 can be similar to the Figure 2 card 2011 in [reference], which will not be elaborated here. In response to the user's operation on the play control 3012 on the notification bar 3011, the mobile phone starts the media application corresponding to the recommended playlist and plays the songs in the recommended playlist.

[0158] In some embodiments, the notification bar 3011 can be located in the middle of the interface 301, as Figure 3 shown in e of [reference].

[0159] In some embodiments, as Figure 3 shown in d of [reference], the notification bar 3011 can include a close control 3013. In response to the user's operation on the close control 3013, the mobile phone closes the notification bar 3011 and no longer displays the recommended playlist.

[0160] In some embodiments, after the mobile phone closes the notification bar 3011, in response to the user's operation of swiping down from the top of the interface 301, the mobile phone determines whether the timer has timed out. If the timer has not timed out, the mobile phone displays the interface 302. The timer is a timer configured for the push playlist. Within the timer duration, the user can, on any interface, swipe down from the top of the interface to call up the interface 302 to view the card 2011 on the interface 302.

[0161] Scenario 2: The watch and headphones are connected to the mobile phone

[0162] Figure 4 Schematic diagram of the scenario of the playlist recommendation method provided by the embodiments of the present application Figure 2 As Figure 4 shown, in this scenario, the mobile phone 101 is communicatively connected to the headphones 102 and the watch 103 respectively. The user controls the audio playback of the headphones 102 through operations on the mobile phone 101, or the user controls the audio playback of the headphones 102 through operations on the watch 103. The headphones 102 are used to play the audio data sent by the mobile phone 101. Generally, the mobile phone 101 and the watch 103 are connected via Bluetooth.

[0163] In some embodiments, when the media application of the mobile phone is in an unrun state and the mobile phone is connected to the watch, and the mobile phone detects a connection event of the headphones, after the mobile phone successfully connects to the headphones, the mobile phone can send a recommended playlist to the watch. After receiving the recommended playlist sent by the mobile phone, the watch displays the recommended playlist or a notification of the recommended playlist.

[0164] In some embodiments, when the media application of the mobile phone is in an unrun state and the mobile phone is connected to the headphones, and the mobile phone detects a connection event of the watch, the mobile phone can send a recommended playlist to the watch. After receiving the recommended playlist sent by the mobile phone, the watch displays the recommended playlist or a notification of the recommended playlist.

[0165] It should be noted that the function of the mobile phone sending a recommended playlist to the watch is an optional function. If the user does not enable this function, the mobile phone will not send a recommended playlist to the watch.

[0166] Next, the playlist recommendation method for the mobile phone connected to the watch and headphones will be introduced in combination with Figure 5 Exemplarily,

[0167] Figure 5 Figure 5 Schematic diagram of the change of the watch interface provided by the embodiments of the present application. As Figure 5As shown in a of , when the media application of the mobile phone is in an unoperated state and the mobile phone is connected to the watch, and the mobile phone detects a connection event of the earphone, after the mobile phone successfully connects to the earphone, the mobile phone can send a recommended playlist to the watch. After receiving the recommended playlist sent by the mobile phone, the watch can display interface 501, and display notification card 5011 at the bottom of interface 501. The notification card 5011 can display a mobile phone icon and text information (such as, "Playlist Recommendation") to indicate that this notification comes from the mobile phone.

[0168] In some embodiments, in response to an operation by the user on the notification card 5011, the watch can display interface 502. The interface 502 displays a list of recommended playlists, and the list of recommended playlists includes multiple playlists sent from the mobile phone to the watch, such as Figure 5 As shown in b of , the interface 502 displays recommended playlist 1, playlist 2, and playlist 3.

[0169] In some embodiments, in response to an operation by the user on playlist 1 in interface 502, this operation can be clicking on the control 5021 corresponding to playlist 1 in interface 502. The watch sends a playback control instruction to the mobile phone. The playback control instruction is used to control the mobile phone to start the media application corresponding to playlist 1 and play the first song or any song in playlist 1. At the same time, the watch can display the interface 503 of the watch player as shown in c of . Figure 5 As shown in c of .

[0170] In some embodiments, after the mobile phone sends a recommended playlist to the watch, if the user does not view the notification of the recommended playlist within a preset time period, the notification card 5011 is no longer displayed at the bottom of interface 501, as shown in d of . Figure 5 As shown in d of .

[0171] In some embodiments, the user can retrieve the notification of the recommended playlist by operating the watch face. The watch face refers to the panel part on the watch for displaying information. Various information such as time, date, and notifications can be displayed on the watch face of the watch. For example, the user swipes down from the top of interface 501 to view historical notifications. As shown in d of , in response to the user's operation on interface 501, the watch can display interface 504 as shown in e of . The interface 504 includes multiple historical notifications, and the multiple historical notifications include the notification 5041 of the recommended playlist and other notifications, etc. In response to an operation by the user on the notification 5041, the watch can display interface 502, and subsequent operations are similar and will not be elaborated here. Figure 5 As shown in d of , in response to the user's operation on interface 501, the watch can display Figure 5 As shown in e of . The interface 504 includes multiple historical notifications, and the multiple historical notifications include the notification 5041 of the recommended playlist and other notifications, etc. In response to an operation by the user on the notification 5041, the watch can display interface 502, and subsequent operations are similar and will not be elaborated here.

[0172] Scenario Three: Mobile Phone Connected to In-Vehicle Infotainment System

[0173] Figure 6 This is a schematic diagram of the scenario of the playlist recommendation method provided by the embodiments of this application Figure 3 As Figure 6As shown, in this scenario, the mobile phone 101 is communicatively connected to the in-vehicle infotainment system (IVI) 104, and the IVI 104 is communicatively connected to the in-vehicle speaker. The user can control audio playback by operating on the mobile phone 101, or the user can control audio playback by operating on the IVI 104. The in-vehicle speaker can be used to play audio data, and the audio data can be sent from the mobile phone 101 to the IVI 104 and then from the IVI 104 to the in-vehicle speaker. Usually, when the mobile phone detects a connection to the IVI, it can be considered that the user has the intention to listen to audio.

[0174] In this embodiment, the connection method between the mobile phone and the IVI is not limited, and the connection method between the IVI and the in-vehicle speaker is not limited. For example, the mobile phone and the IVI can establish a connection through wireless methods such as Bluetooth, Wireless Fidelity (Wi-Fi), connecting to the same cloud account, or a trust ring, or the mobile phone and the IVI can establish a connection through a wired method such as a universal serial bus (USB). The IVI and the in-vehicle speaker can establish a connection through wireless methods such as Bluetooth or Wi-Fi, or the IVI and the in-vehicle speaker can establish a connection through a wired method such as an audio cable or USB.

[0175] Among them, the trust ring is a technical solution based on an identity authentication system that realizes trusted interconnection of multiple devices across systems and enables services to flow and be shared among devices. In a scenario where a device connection is established based on the trust ring, an electronic device that logs in to the device account can perform device authentication between devices with the IVI through a personal identification number (PIN) (or PIN code). For example, taking the authentication of the trust ring based on the PIN code as an example for illustration. The mobile phone can send the PIN code to the IVI through broadcasting or other means, and the mobile phone displays a prompt box for entering the PIN code for verification. When the IVI receives the PIN code, it displays the PIN code and returns a response message indicating that the PIN code has been received to the mobile phone. In response to the user's operation of entering the PIN code in the prompt box, the mobile phone and the IVI can complete device authentication. After the device authentication is successful, the IVI and the mobile phone can be within the same trust ring. When the mobile phone that logs in to the device account approaches the IVI again, the mobile phone and the IVI can automatically establish a networking connection based on the trust ring and achieve communication under the trust ring.

[0176] In some embodiments, when the media application of the mobile phone is in an unrun state and the mobile phone detects a connection event of the IVI, after the mobile phone and the IVI are successfully connected, the mobile phone can display a recommended playlist on the lock screen. The mobile phone detecting a connection event of the IVI means that after the mobile phone sends a connection request to the IVI, the mobile phone receives a connection success message sent by the IVI, or the mobile phone detects that the mobile phone is connected to the IVI through a connection cable.

[0177] In some embodiments, when the media application of the mobile phone is in an unrun state and the mobile phone is in an unlocked state, the mobile phone detects a connection event of the vehicle head unit. After the mobile phone successfully connects to the vehicle head unit, the mobile phone can display a recommended playlist in the control center.

[0178] In some embodiments, when the media application of the mobile phone is in an unrun state and the mobile phone is in an unlocked state, the mobile phone detects a connection event of the vehicle head unit. After the mobile phone successfully connects to the vehicle head unit, the mobile phone can pop up a notification bar on the current display interface, and the notification bar displays a recommended playlist.

[0179] In some embodiments, when the media application of the mobile phone is in an unrun state, the mobile phone detects a connection event of the vehicle head unit. After the mobile phone successfully connects to the vehicle head unit, the mobile phone can send a recommended playlist to the vehicle head unit. After the vehicle head unit receives the recommended playlist sent by the mobile phone, the vehicle head unit displays the recommended playlist.

[0180] The following combines Figure 7 to introduce the playlist recommendation method in the case where the vehicle head unit is connected to the mobile phone.

[0181] Exemplarily, Figure 7 is a schematic diagram of the change of the vehicle head unit interface provided by the embodiment of the present application. One or more media applications are installed in the mobile phone. The one media application can be Media Application A, or the multiple media applications include Media Application A. When all of the one or more media applications are in an unrun state, the mobile phone detects a connection event of the vehicle head unit. After the mobile phone successfully connects to the vehicle head unit, the mobile phone can send Playlist 1 of Media Application A to the vehicle head unit. Playlist 1 can be a scenario playlist provided by Media Application A in the driving scenario.

[0182] In some embodiments, in response to receiving Playlist 1 of Media Application A sent by the mobile phone, the vehicle head unit can display Interface 701. Interface 701 can display Card 7011, and the playlist information of Playlist 1 of Media Application A is displayed on Card 7011, such as Figure 7 shown in a of. Card 7011 is similar to Card 2011, and the specific description can be referred to the previous text.

[0183] In some embodiments, in response to an operation of the user on the playlist list control 7012 on Card 7011, such as Figure 7 shown in b of, the vehicle head unit can display Interface 702. Interface 702 can display Card 7021, and more recommended playlists are displayed on Card 7021, such as Playlist 2 of Media Application A, Playlist 1 and Playlist 2 of Media Application B, etc.

[0184] In some embodiments, limited by the spatial area of Card 7022, such as Figure 7 shown in b of, Card 7022 only displays 3 recommended playlists. The user can slide up and down or left and right in Card 7021 to view more hidden playlists.

[0185] Exemplarily, in response to the user's up - swipe or left - swipe operation on the card 7021, the in - vehicle computer displays the hidden more recommended playlists on the card 7021, not shown. Optionally, in response to the user's up - swipe or left - swipe operation on the card 7021, the in - vehicle computer may display a slider on the left edge or bottom edge of the card 7021. The slider is used to indicate the position of the currently displayed recommended playlist in the card recommendation list on the card 7021, not shown.

[0186] In some embodiments, in response to the user's operation on the play control 7013 on the card 7011, or in response to the user's operation on the playlist cover of the card 7011, the in - vehicle computer sends a play control instruction to the mobile phone. The play control instruction is used to control the mobile phone to start the media application A and play the first song or any song in the playlist 1 of the media application A.

[0187] In some embodiments, after receiving the play control instruction sent by the in - vehicle computer, the mobile phone may send the audio data of the first song or any song in the playlist 1 to the in - vehicle computer. After receiving the audio data of the first song or any song in the playlist 1 sent by the mobile phone, the in - vehicle computer sends the audio data to the in - vehicle speaker, and the in - vehicle speaker plays the audio data. Meanwhile, the in - vehicle computer may display the interface 703, and the interface 703 displays the card 7031. The card 7031 displays the song information of the playlist 1 of the media application A, as Figure 7 shown in c.

[0188] In some embodiments, when the media application on the mobile phone is in an un - running state, the mobile phone detects the connection event of the in - vehicle computer. After the mobile phone and the in - vehicle computer are successfully connected, the mobile phone may send multiple recommended playlists to the in - vehicle computer. The recommended playlists may be playlists for the driving scenario, and the playlists may come from one or more media applications. After receiving the multiple recommended playlists sent by the mobile phone, the in - vehicle computer may display the interface 702. The interface 702 displays the card 7021, and the card 7021 displays the multiple recommended playlists, as Figure 7 shown in b.

[0189] In some embodiments, in response to the user's operation on the playlist list control 7012 on the card 7011, the in - vehicle computer may simultaneously display the card 7021 and the expanded card 7011, not shown. The expanded card 7011 may refer to the card 2021.

[0190] The foregoing several embodiments describe the playlist recommendation methods and interface operation processes in different scenarios. The mobile phone can push recommended playlists on the mobile phone interface, or push recommended playlists to a watch or an in - vehicle computer connected to the mobile phone. The recommended playlists include scenario playlists and / or historical playlists. The playlist recommendation rules are introduced below in combination with the following several specific embodiments.

[0191] In some embodiments, when the media application of the mobile phone is in an unrun state and the mobile phone detects a headphone connection event, after the mobile phone successfully connects to the headphone, the mobile phone can display one or more historical playlists on the lock screen interface, control center or notification bar, enabling the user to conveniently select historical playlists.

[0192] In some embodiments, when the media application of the mobile phone is in an unrun state and the mobile phone detects a headphone connection event, after the mobile phone successfully connects to the headphone and obtains multiple historical playlists, the mobile phone can first push a historical playlist on the lock screen interface, control center or notification bar. In response to an operation by the user to view more historical playlists, for example Figure 2 the operation shown in a of the playlist list control 2016 of the user acting on the card 2011, the mobile phone displays multiple historical playlists other than the previously pushed historical playlist. The multiple historical playlists can come from one or more media applications.

[0193] Exemplarily, as Figure 8 shown in a, the recommendation rule for the historical playlist can be any one of the following rules:

[0194] 1) The mobile phone first pushes the historical playlist that was played most recently. In response to an operation by the user to view more historical playlists, the mobile phone can display the subsequently pushed multiple historical playlists in the order from the most recent time point to the oldest time point according to the time point of starting to play the playlist in the playlist information.

[0195] Exemplarily, the user uses the mobile phone to play songs from playlist 1 in media application A, songs from playlist 2 in media application B, and songs from playlist 3 in media application B at 8:00 am, 12:00 noon, and 16:00 respectively. The mobile phone records the playlist information of playlist 1, playlist 2, and playlist 3 respectively. The song information of playlist 1 includes the time point of starting to play playlist 1 as 8:00 am, the playlist information of playlist 2 includes the time point of starting to play playlist 2 as 12:00 noon, and the playlist information of playlist 3 includes the time point of starting to play playlist 3. Subsequently, the user uses the mobile phone to play songs from playlist 1 in media application A again at 17:00 pm, and the mobile phone updates the song information of playlist 1. The updated song information of playlist 1 includes the time point of starting to play playlist 1 as 17:00 pm.

[0196] Based on the foregoing historical play records, at 19:00 pm when the media applications of the mobile phone are all in an unrun state and the mobile phone detects a headphone connection event, after the mobile phone successfully connects to the headphone, the mobile phone can first push playlist 1 on the lock screen interface, control center or notification bar. In response to an operation by the user to view more historical playlists, the mobile phone displays playlist 3 and playlist 2, with playlist 3 ranked in front of playlist 2.

[0197] 2) The mobile phone first pushes the historical playlist with the longest cumulative play duration. In response to the user's operation of triggering to view more historical playlists, the mobile phone can display multiple subsequent pushed historical playlists in descending order of the cumulative playlist play duration according to the cumulative playlist play duration within a preset time period.

[0198] The cumulative playlist play duration refers to the total play duration of all songs in the playlist within a preset time period. Exemplarily, taking Playlist 1 of media application A and a preset time period of one month as an example, Playlist 1 includes 3 songs, denoted as Song 1 to Song 3. Within one month, the play duration of Song 1 played by the user using the mobile phone is 10 minutes, the play duration of Song 2 is 5 minutes, and the play duration of Song 3 is 15 minutes. The cumulative play duration of the songs in Playlist 1 is the sum of the play durations of the three songs, that is, 30 minutes.

[0199] 3) The mobile phone first pushes the historical playlist with the highest play frequency. In response to the user's operation of triggering to view more historical playlists, the mobile phone can display multiple subsequent pushed historical playlists in descending order of the playlist play frequency according to the playlist play frequency.

[0200] The playlist play frequency refers to the total number of times the playlist is played within a preset time period. Exemplarily, after the start moment of the preset time period, the user uses the mobile phone to play the songs in Playlist 1 of media application A, and the play count of Playlist 1 is recorded as 1 time. Subsequently, the user uses the mobile phone to play the songs in Playlist 2 of media application A, and the play count of Playlist 2 is recorded as 1 time. Subsequently, the user uses the mobile phone to play the songs in Playlist 1 again, and the play count of Playlist 1 is incremented by one. The media application can count the play times of each playlist in media application A within the preset time period based on this counting rule. It should be understood that at the start of the next preset time period, the play count of the playlist is cleared.

[0201] In some embodiments, when the media application of the mobile phone is in an unrun state, the mobile phone detects a headphone connection event. After the mobile phone successfully connects to the headphone, the mobile phone first identifies the scene. If the mobile phone identifies that the user is in a target scene (such as, subway, bedtime, or driving, etc.), and the user has the habit of listening to audio in this target scene, the mobile phone can display one or more scene playlists on the lock screen interface, control center, or notification bar, enabling the user to conveniently select the scene playlists.

[0202] In other embodiments, when the media application of the mobile phone is in an unrun state, the mobile phone detects a headphone connection event. After the mobile phone successfully connects to the headphone, the mobile phone first identifies the scene. If the mobile phone identifies that the user is in a target scene (such as, subway, bedtime, or driving, etc.), and the user has the habit of listening to audio in this target scene, the mobile phone can display one or more scene songs on the lock screen interface, control center, or notification bar.

[0203] A scene song refers to a song related to a scene. For example, in this embodiment, if the mobile phone recognizes the subway scene and the user has the habit of listening to audio in the subway scene, the mobile phone can display one or more songs related to the subway scene on the lock screen interface, the control center or the notification bar. The song can be the song with the highest playback frequency, the longest playback duration, or the most recently played song by the user in the subway scene during a preset period.

[0204] It should be understood that since different users have different habits of using the mobile phone in different scenes, when the mobile phone recognizes the target scene, the mobile phone can further determine whether the user has the habit of listening to audio in the target scene. When the mobile phone determines that the user has the habit of listening to audio in the target scene, the mobile phone can display one or more scene playlists on the lock screen interface, the control center or the notification bar.

[0205] Exemplarily, scene recognition can be determined in combination with the current location information, time information, connection status between the mobile phone and external devices (such as a car stereo), etc. of the mobile phone. For example, a certain user is located along the subway line during the period from 8:00 to 9:00 in the morning and from 17:00 to 18:00 in the afternoon on weekdays. The mobile phone can determine that the mobile phone is currently in the subway scene based on these two time periods and the location information. Another example is that a certain user is in the bedroom at 22:00 to 23:00 at night. The mobile phone can determine that the mobile phone is currently in the bedtime scene based on this time period and the location information. Another example is that when the mobile phone detects a car stereo connection event, it can determine that the mobile phone is currently in the driving scene. Whether the user has the habit of listening to audio in the target scene can be achieved through algorithm learning preset in the mobile phone. For example, a learning algorithm can be preset in the intelligent service of the mobile phone.

[0206] In some embodiments, when the media application of the mobile phone is in an unrun state and the mobile phone detects a headphone connection event, after the mobile phone successfully connects to the headphone, the mobile phone can first push a scene playlist on the lock screen interface, the control center or the notification bar. In response to the operation of the user triggering to view more recommended playlists, for example, Figure 2 the operation of the user acting on the playlist list control 2016 of the card 2011 as shown in a, the mobile phone displays multiple historical playlists other than the one scene playlist pushed first, or the mobile phone displays multiple songs in the one scene playlist pushed first.

[0207] In this embodiment, as Figure 8 shown in b, the recommendation rule of the scene playlist can be that the mobile phone pushes a scene playlist provided by the media application with the longest cumulative playback duration according to the cumulative playback duration of the media application within a preset period.

[0208] The cumulative play duration of a media application refers to the total play duration of the songs provided by the media application on the mobile phone when the media application is turned on within a preset period. Exemplarily, taking the subway scenario as an example, the mobile phone is installed with media application A and media application B. Within one month, the total play duration of the songs in media application A played by the user on the mobile phone is 3 hours, and the total play duration of the songs in media application B played by the user on the mobile phone is 1 hour. Then, a subway scenario song list pushed first by the mobile phone can be a subway scenario song list provided by media application A.

[0209] In some embodiments, media application A provides multiple song lists for subway scenarios. The mobile phone can determine whether the song list is a song list for subway scenarios provided by media application A by reading the song list identifier in the song list information. For example, the song lists for subway scenarios provided by media application A include song list 1, song list 2, and song list 3. The cumulative play durations of song list 1, song list 2, and song list 3 within this one month are 30 minutes, 10 minutes, and 8 minutes respectively. Further, the mobile phone can first push song list 1, which has the longest cumulative play duration among the subway scenario song lists provided by media application A, according to the cumulative play durations of the subway scenario song lists provided by media application A.

[0210] In some other embodiments, media application A provides a song list for a subway scenario, and this song list can be the most popular song list for the subway scenario.

[0211] In this embodiment, the recommendation rules for multiple historical song lists pushed later can refer to the foregoing, and will not be elaborated here.

[0212] In some embodiments, when the media application of the mobile phone is in an unoperated state and the mobile phone detects a headphone connection event, after the mobile phone successfully connects to the headphone, the mobile phone can first push a scenario song list on the lock screen, control center, or notification bar. In response to the user's operation of triggering to view more recommended song lists, for example, Figure 2 the operation of the user acting on the song list control 2016 of the card 2011 as shown in a of the figure, the mobile phone displays multiple scenario song lists other than the one scenario song list pushed first. The multiple scenario song lists can come from one or more media applications.

[0213] In this embodiment, the recommendation rules for the scenario song list can be any one of the following rules:

[0214] 1) The mobile phone first pushes the scenario song list with the longest cumulative play duration. In response to the user's operation of triggering to view more scenario song lists, the mobile phone can display multiple scenario song lists pushed later in descending order of the cumulative play durations of the song lists according to the cumulative play durations of the song lists within a preset period.

[0215] 2) The mobile phone first pushes the scene playlist with the highest playback frequency. In response to the operation of the user triggering to view more scene playlists, the mobile phone can display multiple subsequent scene playlists pushed according to the playlist playback frequency in descending order of the playlist playback frequency.

[0216] In order to better understand the embodiments of the present application, the software and hardware structures of the electronic device of the present application will be introduced below.

[0217] Figure 9 It is a schematic diagram of the hardware structure of the electronic device provided in the embodiments of the present application. As Figure 9 shown, the electronic device 100 may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, a sensor 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.

[0218] The structure illustrated in this embodiment does not constitute a specific limitation on the electronic device 100. In some embodiments, the electronic device 100 may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0219] The processor 110 may include one or more processing units. Among them, different processing units may be independent devices or integrated in one or more processors. In some embodiments, the electronic device 100 may also include one or more processors 110. A memory may also be provided in the processor 110 for storing instructions and data.

[0220] In some embodiments, the processor 110 may include one or more interfaces. It can be understood that the interface connection relationships among the modules illustrated in the embodiments of the present invention are only illustrative and do not constitute a structural limitation on the electronic device 100. In some embodiments, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0221] The charging management module 140 is used to receive a charging input from a charger. While charging the battery 142, the charging management module 140 can also supply power to the electronic device 100 through the power management module 141.

[0222] The power management module 141 is used to connect the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives inputs from the battery 142 and / or the charging management module 140 and supplies power to the processor 110, the internal memory 121, the display screen 194, the camera 193, the wireless communication module 160, etc.

[0223] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, and the baseband processor, etc. In the embodiments of the present application, the wireless communication module 160 may include a Bluetooth communication module, a Wi-Fi communication module, etc. The electronic device can establish a communication connection with an external device through the Bluetooth communication module, and the electronic device can also establish a communication connection with an external device through the Wi-Fi communication module. For example, a mobile phone can establish a connection with a headset or a car stereo through the Bluetooth communication module, and the mobile phone can also establish a connection with the car stereo through the Wi-Fi communication module.

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

[0225] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.

[0226] The electronic device 100 can implement a shooting function through the ISP, one or more cameras 193, a video codec, the GPU, one or more display screens 194, and the application processor, etc.

[0227] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to implement the storage capacity expansion of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement the data storage function. For example, data files such as music, photos, and videos are saved in the external memory card.

[0228] The internal memory 121 can be used to store one or more computer programs, and the one or more computer programs include instructions. The internal memory 121 can include a program storage area and a data storage area.

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

[0230] The sensor module 180 may include one or more of the following, for example: pressure sensor, gyroscope sensor, barometric pressure sensor, magnetic sensor, acceleration sensor, distance sensor, proximity light sensor, fingerprint sensor, temperature sensor, touch sensor, ambient light sensor, or bone conduction sensor, etc.

[0231] The keys 190 include a power-on key, volume keys, etc. The SIM card interface 195 is used to connect the SIM card.

[0232] In addition, on top of the above components, an operating system also runs on the electronic device. Such as the iOS operating system, the Android operating system, or the Windows operating system, etc. Application programs can be installed and run on the operating system.

[0233] The software system of the electronic device can adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservices architecture, or a cloud architecture. In the embodiments of this application, taking the software system with a layered architecture as the Android system as an example, the software structure of the electronic device is exemplarily described. Figure 10a This is a schematic diagram of the software architecture of the electronic device provided by the embodiments of this application. The layered architecture divides the software system of the electronic device into several layers, and each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. Refer to Figure 10a , the electronic device includes: an application layer, a system service layer, and a kernel layer.

[0234] The application layer includes media applications, in-vehicle applications, audio control modules, system user interfaces (UIs), and screen management modules. The media application can be an application that can play audio provided by the system or a third party. For example, the media application can be used to play audio content such as music and audiobooks. The in-vehicle application is responsible for communicating and interacting with the in-vehicle system. The in-vehicle application can also be called a mobile-vehicle interconnection application or a smart travel application. The audio control module is responsible for storing the playlist information written by the media application. When the system UI, in-vehicle system, or watch triggers the display of a recommended playlist, the audio control module provides the information of the recommended playlist. The system UI is responsible for displaying the recommended playlist and can control the media application to play the songs in the recommended playlist selected by the user through the media session service. The screen management module is responsible for recording the screen status of the display of the electronic device. The screen status includes the lit screen locked state, the turned-off screen locked state, and the unlocked state. The screen management module can notify the audio control module when the screen status changes, such as when the screen status changes from the lit screen locked state to the unlocked state, so that the audio control module cancels the display of the recommended playlist on the locked screen interface.

[0235] In some embodiments, the audio control module includes a media content providing module, a device sensing module, an audio recommendation management module, a device access management module, etc. The media content providing module is responsible for storing the playlist information of the media application and can write the playlist information into the playlist database of the media content providing module. The device sensing module is responsible for monitoring the connection status of external devices such as headphones or in-vehicle systems to the electronic device. The audio recommendation management module is responsible for receiving the playlist recommendation notification from the smart service and deciding whether to trigger the display of the recommended playlist. For example, when the audio recommendation management module learns that none of the media applications on the electronic device have been started and the electronic device is in the lit screen locked state, the audio recommendation management module can obtain the recommended playlist from the media content providing module and send the recommended playlist to the system UI so that the system UI can display the recommended playlist. The device access management module is responsible for the access management of devices such as watches. The device access management module integrates WearKit and can communicate with the watch through WearKit to send the recommended playlist to the watch. After receiving the playback control instruction from the watch, the device access management module can send the playback control instruction to the media session service so that the media session service can control the media application to play the songs in the recommended playlist.

[0236] In some embodiments, the audio control module may further include a notification card management module, not shown in the figure. After determining to trigger the display of the recommended playlist, the audio recommendation management module can send a notification message to the notification card management module so that the notification card management module can obtain the recommended playlist from the media content providing module and send the recommended playlist to the system UI.

[0237] The system service layer includes audio engine services, intelligent services, media session services, etc. The audio engine service includes an audio recommendation service. After the media application is launched, it can subscribe to the audio recommendation service from the audio engine service so that when the media application plays the songs in the playlist, the audio engine service writes the playlist information into the media content providing module, providing data support for subsequent playlist recommendations. The audio engine service is mainly responsible for sending the playlist information of the media application to the audio control module. For example, when the media application is launched and plays the songs in the playlist, the audio service receives the playlist information from the media application and sends the playlist information to the media content providing module in the audio control module so that the media content providing module can write the playlist information. The intelligent service is mainly responsible for scene recognition, whether the user has the habit of listening to audio in the scene, etc., to trigger playlist recommendations. The media session service is mainly responsible for sending the playback control instructions of the system UI, in-vehicle infotainment system or watch, and controlling the media application to play the songs in the recommended playlist selected by the user.

[0238] The kernel layer is the layer between the hardware and the software. The kernel layer includes, for example, display drivers, camera drivers, audio drivers, sensor drivers, Bluetooth drivers, WiFi drivers, etc., and the embodiments of the present application do not make any restrictions on this.

[0239] It can be understood that Figure 10a The modules included in each layer shown are the modules involved in the embodiments of the present application, and the modules included in each layer do not constitute a limitation on the structure and module deployment hierarchy of the electronic device. In some embodiments, the electronic device may include more or fewer layers than shown, and each layer may include more or fewer components, which are not limited in the present application.

[0240] Based on Figure 10a the software architecture of the electronic device shown, the playlist recommendation method provided by the embodiments of the present application will be introduced below in combination with Figure 10b Referring to Figure 10b , the electronic device can be connected to an in-vehicle infotainment system or a watch. The interaction processes of the modules in the electronic device mainly include: the playlist adding process, the playlist recommendation display process, and the playlist playback process. Each process will be described separately below.

[0241] In some embodiments, the playlist adding process mainly includes the following steps:

[0242] Step 1-1: After the media application is launched, it plays the playlist, and the media application sends the playlist information to the audio engine service. The media application integrates AudioKit and can send the playlist information to the audio engine service through AudioKit.

[0243] Step 1-2: The audio engine service writes the playlist information to the audio control module. The audio engine service sets a playlist writing interface. The audio engine service receives the playlist information sent by the media application through this interface and writes the playlist information to the audio control module.

[0244] In some embodiments, the playlist recommendation display process mainly includes the following steps:

[0245] Step 2-1: When the intelligent service recognizes the target scenario and obtains the identifier indicating that the user has the habit of listening to audio in this target scenario, the intelligent service sends a playlist recommendation notification to the audio control module. The playlist recommendation notification can be used to trigger the audio control module to decide whether to trigger the display of the recommended playlist.

[0246] The intelligent service is responsible for recognizing the scenario and learning whether the user has the habit of listening to audio in the target scenario (such as on the subway, before going to bed, driving, etc.). Exemplarily, the intelligent service can set an identifier for the target scenario according to the number of times the user listens to audio in the target scenario to indicate whether the user has the habit of listening to audio in the target scenario.

[0247] For example, when the number of times the user listens to audio in the target scenario within the preset time period is greater than or equal to the preset number of times (e.g., 5 times), the intelligent service can set a first identifier for the target scenario. The first identifier is used to indicate that the user has the habit of listening to audio in the target scenario, and the first identifier can be 1. Also for example, when the number of times the user listens to audio in the target scenario within the preset time period is less than the preset number of times (e.g., 5 times), the intelligent service can set a second identifier for the target scenario. The second identifier is used to indicate that the user does not have the habit of listening to audio in the target scenario, and the second identifier can be 0.

[0248] Exemplarily, in the subway scenario, when it is detected that the number of times the user listens to audio within the preset time period is greater than 5 times, the intelligent service sets a first identifier for the subway scenario, and the corresponding relationship between the subway scenario and the first identifier is stored in the intelligent service. In the before-going-to-bed scenario, when it is detected that the number of times the user listens to audio within the preset time period is less than 5 times, the intelligent service sets a second identifier for the before-going-to-bed scenario, and the corresponding relationship between the before-going-to-bed scenario and the second identifier is stored in the intelligent service.

[0249] Step 2-2: The audio control module decides whether to trigger the display of the recommended playlist.

[0250] In some embodiments, the audio control module can combine the screen state of the display, whether the media application is turned on, etc. to decide whether to trigger the display of the recommended playlist. For example, the electronic device is installed with media application A and media application B. When both media application A and media application B are not turned on and the electronic device is in the screen-on or screen-locked state, the audio control module triggers the display of the recommended playlist.

[0251] In one example, if the audio control module determines to trigger the display of a recommended playlist and the electronic device is connected to the car stereo, the following operations can be performed:

[0252] Step 2-3a: The audio control module sends the recommended playlist to the car stereo.

[0253] Step 2-3b: The car stereo displays the recommended playlist.

[0254] In one example, if the audio control module determines to trigger the display of a recommended playlist and the electronic device is connected to a watch, the following operations can be performed:

[0255] Step 2-4a: The audio control module sends the recommended playlist to the watch.

[0256] Step 2-4b: The watch displays the recommended playlist.

[0257] In one example, if the audio control module determines to trigger the display of a recommended playlist, the following operations can be performed:

[0258] Step 2-5a: The audio control module sends the recommended playlist to the system UI.

[0259] Step 2-5b: The system UI displays the recommended playlist.

[0260] In some embodiments, the playlist playback process mainly includes the following steps:

[0261] Step 3-1: The car stereo sends a playback control instruction to the media session service. In response to the user's operation of clicking to play the recommended playlist on the car stereo interface, the car stereo sends a playback control instruction to the media session service.

[0262] Step 3-2: The watch sends a playback control instruction to the media session service. In response to the user's operation of clicking to play the recommended playlist on the watch interface, the watch sends a playback control instruction to the media session service.

[0263] Step 3-3: The system UI sends a playback control instruction to the media session service. In response to the user's operation of clicking to play the recommended playlist on the electronic device system UI, the system UI sends a playback control instruction to the media session service.

[0264] In this embodiment, the execution order of steps 3-1, 3-2, and 3-3 is not limited. In response to the playback control instruction in step 3-1, step 3-2, or step 3-3, the following operations can be performed:

[0265] Step 3-4: The media session service controls the media application to play the songs in the recommended playlist.

[0266] The above embodiments illustrate the overall process of the electronic device for adding a playlist, recommending a playlist, and playing a playlist.

[0267] The following combines Figures 11 to 20The various processes of the above embodiments are described in detail. The following several embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.

[0268] (1) Adding playlist information to an electronic device

[0269] Before the electronic device makes playlist recommendations, playlist information provided by a media application is pre-stored in the electronic device, such as historical playlist and / or playlist information of a scenario playlist that the user has played using the media application within a preset period. The following combines Figure 11 to illustrate the process of adding playlist information to the electronic device.

[0270] Exemplarily, Figure 11 is a schematic diagram of the playlist addition process provided by an embodiment of the present application. As Figure 11 shown, this process includes:

[0271] S1101. After the media application is started, the media application subscribes to the audio recommendation service from the audio engine service.

[0272] S1102. The audio engine service returns a subscription success message to the media application.

[0273] Exemplarily, taking the media application as a music application as an example, as Figure 3 shown in a of, in response to an operation by the user on the icon 3014 of the music application, the electronic device starts the music application, and the music application subscribes to the audio recommendation service from the audio engine service. It should be understood that after subscribing to the audio recommendation service, the audio engine service can write playlist information into the media content providing module when the media application plays songs in a playlist, providing data support for subsequent playlist recommendations.

[0274] S1103. The media application plays a song in a playlist, and the media application sends playlist information to the audio engine service.

[0275] After the media application is started, in response to an operation by the user to play a song in a playlist provided by the media application, the media application sends playlist information to the audio engine service.

[0276] The playlist information includes but is not limited to the playlist title, playlist cover, playlist identifier, time point when the playlist starts to play, etc. The time point when the playlist starts to play is used to sort the playback order of playlists. For example, the user clicks to play a song in playlist 1 at 13:01, clicks to play a song in playlist 2 at 13:20, and clicks to play a song in playlist 3 at 14:00. The playlist playback order from near to far is: playlist 3, playlist 2, playlist 1. When making subsequent playlist recommendations, the most recently played playlist, such as playlist 3, can be recommended according to the playlist playback order.

[0277] Optionally, the playlist information may further include an application identifier for indicating the media application corresponding to the playlist.

[0278] Optionally, the playlist information may further include a scene identifier for marking the scenes where the playlist is suitable for playing, such as on the subway, before going to bed, while driving, etc.

[0279] In one example, after the media application plays a song in a certain playlist and switches to another song in the playlist, the media application may not send the playlist information to the audio engine service.

[0280] Exemplarily, at time t, after the media application is started, the media application plays song 1 in playlist 1, and the media application sends the information of playlist 1 to the audio engine service. At time t+1, when the media application plays song 2 in playlist 1, the media application does not send the information of playlist 1 to the audio engine service. At time t+2, when the media application plays song 3 in playlist 2, the media application sends the information of playlist 3 to the audio engine service.

[0281] In one example, after the media application plays a song in playlist 1, switches to playlist 2, and then switches back to playlist 1, the audio engine service may send the updated information of playlist 1 to the media content providing module to update the time point when playing the song in playlist 1 starts.

[0282] Exemplarily, at time t, in response to the user's operation of playing song 1 in playlist 1 in media application A, media application A sends the information of playlist 1 to the audio engine service, such as information about the title, cover, playlist identifier, and the time point when song 1 starts playing in playlist 1. At time t+1, in response to the user's operation of switching to song 2 in playlist 2 in media application A, media application A may send the information of playlist 2 to the audio engine service, such as information about the title, cover, playlist identifier, and the time point when song 2 starts playing in playlist 2. At time t+2, in response to the user's operation of switching to song 3 in playlist 1 in media application A, media application A may send the updated information of playlist 1 to the audio service. The updated information may include the time point when playlist 1 starts playing song 3, and the updated time point is the time point when media application A last played a song in playlist 1, which can be used for sorting the playlist playing order.

[0283] S1104. The audio engine service writes the playlist information to the media content providing module.

[0284] S1105. The media content providing module stores the playlist information.

[0285] After receiving the playlist information sent by the media application, the audio engine service writes the playlist information to the media content providing module.

[0286] In one example, the audio engine service writes information such as the playlist title, playlist ID, and the time point for starting to play the playlist into the playlist database of the media content providing module.

[0287] In one example, since the amount of data of the playlist cover is large, the audio engine service can send a request to the media content provider module to obtain the path for writing the playlist cover. After receiving the path information sent by the media content provider module, the audio engine service can write the playlist cover to the path indicated by the media content provider module, and the path caches the playlist cover.

[0288] The media content providing module can record and cache the playlist information of one or more media applications of the electronic device to provide data support for subsequent playlist recommendations. It should be understood that if the user only opens one media application within the preset time period, the media content providing module only records the playlist information of the media application within the preset time period. If the user opens multiple media applications within the preset time period, the media content providing module records the playlist information of multiple media applications within the preset time period.

[0289] The above S1101 to S1104 are the process of adding a playlist, through which the electronic device records the relevant information of the playlist played by the user in the media application, based on which the electronic device can execute the following playlist recommendation process. The following is a detailed description of the electronic device executing the playlist recommendation process from several specific scenarios.

[0290] (II) Pushing historical playlists on electronic devices

[0291] In some embodiments, the electronic device is installed with media application A and media application B, both of which are not running, and when the electronic device is in the bright screen or locked screen state, the electronic device detects a connection event with the headset or the car computer. After the electronic device is successfully connected to the headset or the car computer, the electronic device can display one or more historical playlists on the lock screen interface, making it convenient for the user to select historical playlists for song play on the lock screen interface, which can simplify user operations and improve user experience.

[0292] Combine the following Figures 12 to 14 The internal execution process of the electronic device recommending the historical playlist is described in detail. Figure 12 Schematic diagram of the song list recommendation method provided in the embodiment of the present application Figure 1 .like Figure 12 As shown, the process includes:

[0293] S1201: After receiving a connection event of an earphone or a vehicle computer, the audio recommendation management module queries a media session service for a registration status of a media session.

[0294] Exemplarily, taking the establishment of a Bluetooth connection between an electronic device and a headset as an example, when the Bluetooth communication module of the electronic device receives a Bluetooth connection request sent by the headset, the Bluetooth communication module may send a connection event of the headset to the audio recommendation management module. After receiving the connection event of the headset, the audio recommendation management module queries the registration status of the media session from the media session service.

[0295] Exemplarily, taking the establishment of a Bluetooth connection between an electronic device and a car head unit as an example, in response to an operation of connecting to the car head unit triggered by the user, the Bluetooth communication module of the electronic device sends a Bluetooth connection request to the car head unit. When the Bluetooth communication module receives a Bluetooth connection success message sent by the car head unit, it may send a connection event of the car head unit to the audio recommendation management module. After receiving the connection event of the car head unit, the audio recommendation management module queries the registration status of the media session from the media session service.

[0296] Exemplarily, taking the connection between an electronic device and a headset or a car head unit through a connecting line as an example, when the device sensing module of the electronic device detects that the headset or the car head unit is connected to the electronic device through the connecting line, the device sensing module may send a connection event of the headset or the car head unit to the audio recommendation management module. After receiving the connection event of the headset or the car head unit, the audio recommendation management module queries the registration status of the media session from the media session service.

[0297] After receiving the connection event of the headset or the car head unit, the audio recommendation management module obtains the registration status of the media session from the media session service. The registration status of the media session includes two states: registered and unregistered. Exemplarily, taking media application A of the electronic device as an example, after media application A is started, media application A will send a registration request to the media session service, and the media session service records the registration status of the media session corresponding to media application A as registered. If the audio recommendation management module obtains from the media session service that the registration status of the media session corresponding to media application A is unregistered, it means that media application A is in an unrun state.

[0298] In this embodiment, the electronic device is installed with media application A and media application B. The audio recommendation management module queries the registration status of the media session from the media session service, including: querying the registration status of the media session corresponding to media application A and the registration status of the media session corresponding to media application B.

[0299] S1202. The media session service sends the registration status of the media session to the audio recommendation management module, and the registration status is unregistered.

[0300] When the audio recommendation management module receives that the registration status of the media session is unregistered, it executes S1203.

[0301] The registration status of the media session being unregistered means that none of the media sessions in the electronic device are registered. In this embodiment, the electronic device is installed with media application A and media application B. The registration status of the media session being unregistered means that the registration statuses of the media sessions corresponding to media application A and media application B are both unregistered.

[0302] S1203. The audio recommendation management module queries the screen status of the display from the screen management module.

[0303] If it is queried that the registration status of the media session is unregistered, the audio recommendation management module queries the screen status of the display. The screen status of the display includes the screen-on locked screen status, the screen-off locked screen status, and the unlocked status. The definitions of each status can be seen in the previous text.

[0304] S1204. The screen management module returns the screen status to the audio recommendation management module, and the screen status is the screen-on locked screen status.

[0305] S1205. The audio recommendation management module sends a request to query the historical playlist to the media content providing module.

[0306] S1206. The media content providing module returns the historical playlist information to the audio recommendation management module. The historical playlist information includes the playlist information of at least one historical playlist, such as information like the title of the playlist, the playlist identifier, and the cover.

[0307] It should be understood that the media content providing module prestores the historical playlist information, and the historical playlist information includes the playlist information of one or more media applications played by the electronic device within a preset period.

[0308] Exemplarily, taking the preset period as one month as an example, the electronic device has played playlist 1 and playlist 2 of media application A, and playlist 3 and playlist 4 of media application B within this one month. The media content providing module of the electronic device stores the playlist information of playlist 1 and playlist 2 provided by media application A, and also stores the playlist information of playlist 3 and playlist 4 provided by media application B. That is, the historical playlists include playlist 1 to playlist 4, and the historical playlist information may include the playlist information of playlist 1, playlist 2, playlist 3, and playlist 4. The playlist information includes, for example, information such as the playlist title, the playlist identifier, the playlist cover, and the time point when the playlist starts playing. The electronic device can sort the above four historical playlists according to the time point when the playlist is played. For example, the playing order from near to far is: playlist 1, playlist 2, playlist 3, playlist 4.

[0309] S1207. The audio recommendation management module sends a notification to display the historical playlist to the system UI, and the notification includes the historical playlist information.

[0310] In some embodiments, the historical playlist information includes the information of one historical playlist, and this one historical playlist can be the most recently played playlist among multiple historical playlists, or the playlist with the longest cumulative play duration, or the playlist with the highest play frequency. Exemplarily, based on the example of S1206, this one historical playlist can be Playlist 1 provided by Media Application A, and Playlist 1 is the most recently played playlist among multiple historical playlists.

[0311] In some embodiments, the historical playlist information includes the information of multiple historical playlists and the playlist recommendation order. The playlist recommendation order is determined by the audio recommendation management module based on the playlist recommendation rules of the foregoing historical playlists. Exemplarily, based on the example of S1206, the multiple historical playlists include Playlist 1 and Playlist 2 provided by Media Application A, and Playlist 3 and Playlist 4 provided by Media Application B. The playlist recommendation order is Playlist 1, Playlist 2, Playlist 3, Playlist 4.

[0312] S1208. The system UI displays Historical Playlist 1.

[0313] In some embodiments, the notification received by the system UI to display the historical playlist includes the information of one historical playlist, such as Historical Playlist 1 provided by Media Application A, and the system UI can display this Historical Playlist 1 on the lock screen interface. Exemplarily, referring to Figure 2 a in, the electronic device displays Playlist 1 of Media Application A on the primary card 2011 of the lock screen interface 201.

[0314] In some embodiments, the notification received by the system UI to display the historical playlist includes the information of multiple historical playlists and the playlist recommendation order. The system UI can, according to the playlist recommendation order, display the first playlist in the playlist recommendation order on the lock screen interface, such as Playlist 1 provided by Media Application A.

[0315] The above S1201 to S1208 are the recommendation processes for historical playlists. All media applications of the electronic device are in an unrun state, and the electronic device is in the screen-on and lock-screen state. When the electronic device detects a connection event of a headset or a car stereo, the electronic device can push a historical playlist on the lock screen interface, facilitating the user to select a historical playlist for playback on the lock screen interface, which can simplify the user operation and improve the user experience.

[0316] In some embodiments, the notification received by the system UI to display the historical playlist includes the information of multiple historical playlists and the playlist recommendation order. The system UI can display the multiple historical playlists on the lock screen interface in the playlist recommendation order (not shown). Exemplarily, based on the example of S1206, the system UI can simultaneously display Playlists 1 to 4 on the lock screen interface in the playlist recommendation order.

[0317] In some embodiments, if the screen status returned by the screen management module in S1204 is the unlocked state, S1205 to S1208 may also be executed. In S1208, the system UI may pop up a notification bar on the current display interface, and the notification bar displays the historical playlist 1, which may be the playlist with the longest cumulative play duration, or the highest play frequency, or the most recently played playlist among multiple historical playlists. Exemplarily, referring to Figure 3 as shown in d or e in

[0318] In some embodiments, after S1208, it may include:

[0319] S1209. In response to the user's operation of playing the historical playlist 1, the system UI sends a play request to the media session service, and the play request carries the identifier of the historical playlist 1.

[0320] Referring to Figure 2 a in

[0321] In response to the user's operation on the play control 2014 of the first-level card 2011, the system UI sends a play request to the media session service to request playing the songs of the recommended playlist on the first-level card 2011, and the play request carries the identifier of the playlist 1 in the media application A.

[0322] In some embodiments, the media content providing module pre-stores the correspondence between the playlist identifier and the identifier of the media application. After receiving the query request sent by the media session service, the media session service can obtain the identifier of the media application A corresponding to the identifier of the historical playlist 1 according to the identifier of the historical playlist 1 in the query request, and then execute S1211.

[0323] S1211. The media content providing module sends a query response to the media session service, and the query response carries the identifier of the media application A corresponding to the identifier of the historical playlist 1.

[0324] S1210 and S1211 are optional steps. In some embodiments, the playlist identifier may include a first field and a second field. The first field is used to indicate the media application corresponding to the playlist, and the second field is used to indicate the playlist in the media application. After receiving the play request carrying the identifier of the historical playlist 1, the system UI can learn that the media application corresponding to the historical playlist 1 is the media application A according to the first field in the identifier of the historical playlist 1, and then execute S1212.

[0325] S1212. The media session service sends a play request to media application A, and the identifier of historical playlist 1 is carried in the play request.

[0326] Based on the identifier of media application A in the query response, the media session service sends a play request to media application A.

[0327] S1213. Media application A starts and plays the songs in historical playlist 1.

[0328] After media application A starts, media application A can send a registration request to the media session service to register the media session corresponding to media application A. Based on the identifier of historical playlist 1 in the play request, media application A plays the first song or any song in historical playlist 1, and then executes S1214.

[0329] S1214. Media application A sends a play status update notification to the media session service, and this notification is used to indicate that the play status of the media player is playing.

[0330] S1215. The media session service updates the play status of the media player to playing.

[0331] S1216. The media session service sends a play status update notification to the system UI, and this notification is used to indicate that the play status of the media player is playing.

[0332] S1217. The system UI refreshes the play status of the interface to playing and displays the song information of the song in historical playlist 1 that is currently playing.

[0333] Exemplarily, referring to Figure 2 a and f in, in response to the operation of the user clicking the play control 2014 of the primary card 2011 on the lock screen interface 201, the system UI displays interface 204, and interface 204 displays a song in the playlist title 1 of media application A that is currently playing, and at the same time displays the song name, song cover, singer information, etc. of this song.

[0334] In some embodiments, after S1215, it may further include:

[0335] S1218. The media session service sends a play status update notification to the audio recommendation management module, and this notification is used to indicate that the play status of the media player is playing.

[0336] S1219. The audio recommendation management module sends a notification to the system UI to cancel the display of historical playlist 1.

[0337] S1220. The system UI records the cancellation of the display of historical playlist 1.

[0338] After the system UI receives the notification sent by the audio recommendation management module to cancel the display of the historical playlist 1, the system UI records based on this notification that the historical playlist 1 will no longer be displayed. For example, after the electronic device plays the historical playlist 1 and the user removes and then reinserts the earphones, the system UI will not push the historical playlist 1 again based on this record.

[0339] The above S1209 to S1220 are the playing processes of the historical playlist. In response to the user's operation of playing the historical playlist 1 on the lock screen interface, the electronic device starts playing the songs in the historical playlist 1 and displays the information of the song being played in the historical playlist 1, and no longer displays the card of the recommended historical playlist 1.

[0340] In some embodiments, based on Figure 12 the embodiments shown, after the electronic device displays the historical playlist 1 on the lock screen interface, if the electronic device does not detect the user's operation of playing the historical playlist 1, the electronic device can stop displaying the pushed historical playlist 1 after the timer times out, or after the earphones are disconnected from the electronic device, or after the car stereo is disconnected from the electronic device, or after the screen state of the electronic device's display changes from the lit screen lock screen state to the unlocked state.

[0341] Next, in conjunction with Figure 13 the internal execution process of the electronic device canceling the display of the historical playlist 1 will be described. Exemplarily, Figure 13 This is a schematic Figure 2 . As Figure 13 shown, after the electronic device executes the above S1201 to S1208, the electronic device can execute Solution 1, or Solution 2, or Solution 3.

[0342] Solution 1: After the system UI displays the historical playlist 1 (S1208), it may include:

[0343] S1301. The audio recommendation management module starts a timer.

[0344] In this embodiment, the timer is a timer configured for the electronic device to push playlists. For example, the timer duration is 30s. Within the timer duration, such as within 30s, the system UI can display the historical playlist 1 on the lock screen interface.

[0345] S1302. After the timer times out, the audio recommendation management module sends a notification to the system UI to cancel the display of the historical playlist 1.

[0346] After the system UI receives the notification to cancel the display of the historical playlist 1, the system UI no longer displays the recommended historical playlist 1 on the lock screen interface. Exemplarily, referring to Figure 2 as shown in a, the system UI no longer displays the card 2011 on the lock screen interface.

[0347] In this embodiment, mainly for the situation where the user does not respond to the historical song list recommended on the lock screen within a certain period of time (such as 30 s) after wearing the earphone or connecting to the car stereo, the electronic device can cancel the push of the historical song list after a certain period of time.

[0348] Solution 2: After the system UI displays the historical song list 1 (S1208), it may include:

[0349] S1303. After the audio recommendation management module receives the disconnection event of the earphone or the car stereo, the audio recommendation management module sends a notification to cancel the display of the historical song list 1 to the system UI.

[0350] The disconnection event of the earphone refers to that the Bluetooth communication module of the electronic device detects that the Bluetooth connection between the earphone and the electronic device is disconnected, or the device sensing module of the electronic device detects that the connection line with the earphone is disconnected.

[0351] In one example, when the Bluetooth communication module detects that the Bluetooth connection between the earphone and the electronic device is disconnected, it sends the disconnection event of the earphone to the audio recommendation management module. In another example, when the device sensing module detects that the connection line with the earphone is disconnected, it sends the disconnection event of the earphone to the audio recommendation management module.

[0352] The disconnection event of the car stereo refers to that the Bluetooth communication module of the electronic device detects that the Bluetooth connection with the car stereo is disconnected, or the device sensing module of the electronic device detects that the connection line with the car stereo is disconnected.

[0353] In one example, when the Bluetooth communication module detects that the Bluetooth connection between the car stereo and the electronic device is disconnected, it sends the disconnection event of the car stereo to the audio recommendation management module. In another example, when the device sensing module detects that the connection line with the car stereo is disconnected, it sends the disconnection event of the car stereo to the audio recommendation management module.

[0354] After the system UI receives the notification to cancel the display of the historical song list 1, the system UI no longer displays the historical song list 1 on the lock screen. Exemplarily, as shown in a of Figure 2 , the system UI no longer displays the card 2011 on the lock screen.

[0355] In this embodiment, after the electronic device displays a recommended historical song list on the lock screen, and in the case that the electronic device does not detect the operation of the user playing the songs in the historical song list, when the electronic device detects the disconnection event of the earphone or the car stereo, the electronic device does not display the recommended historical song list on the lock screen.

[0356] Solution 3: After the system UI displays the historical song list 1 (S1208), it may include:

[0357] After the screen management module receives the unlocking event, it sends an unlocking broadcast to the audio recommendation management module.

[0358] The unlocking event refers to: when the touch screen of the electronic device detects that the user inputs an unlocking password or fingerprint, and when the unlocking password is correct or the fingerprint matching is successful, the electronic device is triggered to unlock the display; or, when the camera of the electronic device captures the user's facial data and the facial data matching is successful, the electronic device is triggered to unlock the display.

[0359] After the screen management module receives the unlocking event, it sends an unlocking broadcast to the audio recommendation management module, and the unlocking broadcast is used to indicate that the screen state of the electronic device switches from the lit screen and locked screen state to the unlocked state.

[0360] S1305. The audio recommendation management module sends a notification to cancel the display of the historical playlist 1 to the system UI.

[0361] After the system UI receives the notification to cancel the display of the historical playlist 1, the system UI no longer displays the recommended historical playlist 1. Exemplarily, as shown in Figure 2 a, the system UI no longer displays the card 2011 on the lock screen interface.

[0362] In this embodiment, after the electronic device displays a recommended historical playlist on the lock screen interface and the electronic device does not detect an operation of the user to play the songs in the historical playlist, when the electronic device detects an operation of the user to unlock the electronic device, the electronic device can no longer display the recommended historical playlist.

[0363] In some embodiments, based on Figure 12 the embodiment shown, after the electronic device displays the historical playlist 1 on the lock screen interface, the electronic device detects an operation of the user to view more historical playlists, and the electronic device displays a playlist list. The playlist list includes multiple historical playlists other than the historical playlist 1, such as historical playlist 2 to historical playlist 5, and the multiple historical playlists can come from one or more media applications. If the electronic device detects an operation of the user to play the historical playlist 2 in the playlist list, the electronic device starts the media application B corresponding to the historical playlist 2 and plays the songs in the historical playlist 2.

[0364] Next, the internal execution process of the electronic device playing the historical playlist 2 in the playlist list will be described in conjunction with Figure 14 . Exemplarily, Figure 14 is a schematic Figure 3 of the playlist recommendation method provided by the embodiment of the present application. As Figure 14 shown, after the electronic device executes S1201 to S1208, the following processes may further be included:

[0365] S1401. In response to the user's operation of viewing more historical playlists, the system UI queries the media content providing module for more historical playlists. Exemplarily, referring to Figure 2 a in Figure 2 , in response to the user clicking on the playlist list control 2016 on the first-level card 2011 of the lock screen interface 201, the system UI queries the media content providing module for more historical playlists.

[0366] S1402. The media content providing module returns information about more historical playlists to the system UI.

[0367] In some embodiments, based on the foregoing S1207, if the historical playlist information in the notification of S1207 includes the information of one historical playlist, such as playlist 1 provided by media application A, in response to the user's operation of viewing more historical playlists, the system UI queries the media content providing module for more historical playlists. The media content providing module returns information about more historical playlists, and the information about more historical playlists includes the information of multiple historical playlists and the playlist recommendation order, such as the playlist information of historical playlists 2 to 5.

[0368] In some embodiments, based on the foregoing S1207, if the historical playlist information in the notification of S1207 includes the information of multiple historical playlists and the playlist recommendation order, in response to the user's operation of viewing more historical playlists, the system UI executes S1403. Therefore, S1401 and S1402 are optional steps.

[0369] S1403. The system UI displays a playlist list, and the playlist list includes, for example, historical playlists 2 to 5.

[0370] Exemplarily, referring to Figure 2 b in Figure 2 , the system UI displays interface 202, and multiple historical playlists are displayed in the secondary card 2022 on the interface 202.

[0371] In some embodiments, after receiving the information about more historical playlists returned by the media content providing module, the system UI displays a playlist list according to the information about more historical playlists and in the playlist recommendation order. The playlist list includes multiple historical playlists, such as displaying historical playlists 2 to 5 in the order from the most recent to the oldest in terms of the play order.

[0372] In some embodiments, the system UI displays a playlist list according to the historical playlist information in the notification of S1207 and in the playlist recommendation order. The playlist list includes multiple historical playlists, such as displaying historical playlists 2 to 5 in the order from the most recent to the oldest in terms of the play order.

[0373] S1404. In response to the user's operation of playing the historical playlist 2 in the playlist list, the system UI sends a play request to the media session service, and the play request carries the identifier of the historical playlist 2.

[0374] S1405. The media session service sends a query request to the media content providing module. The query request is used to query the identifier of the media application, and the identifier of the historical playlist 2 is carried in the query request.

[0375] In some embodiments, the media content providing module prestores the corresponding relationship between the playlist identifier and the identifier of the media application. After receiving the query request sent by the media content providing module, the media session service can obtain the identifier of media application B corresponding to the identifier of the historical playlist 2 according to the identifier of the historical playlist 2 in the query request, and then execute S1406.

[0376] S1406. The media content providing module sends a query response to the media session service. The identifier of media application B corresponding to the identifier of the historical playlist 2 is carried in the query response.

[0377] S1405 and S1406 are optional steps. Referring to the foregoing S1211, after receiving the play request carrying the identifier of the historical playlist 2, the system UI can learn that the media application corresponding to the historical playlist 2 is media application B according to the first field in the identifier of the historical playlist 2, and then execute S1407.

[0378] S1407. The media session service sends a play request to media application B. The identifier of the historical playlist 2 is carried in the play request.

[0379] S1408. Media application B starts and plays the songs in the historical playlist 2.

[0380] After media application B starts, media application B can send a registration request to the media session service to register the media session corresponding to media application B. Based on the identifier of the historical playlist 2 in the play request, media application B plays the first song or any song in the historical playlist 2, and then executes S1409.

[0381] S1409. Media application B sends a play status update notification to the media session service. The notification is used to indicate that the play status of the media player is playing.

[0382] S1410. The media session service updates the play status of the media player to playing.

[0383] S1411. The media session service sends a play status update notification to the system UI. The notification is used to indicate that the play status of the media player is playing.

[0384] S1412. The system UI refreshes the play status of the interface to playing and displays the song information of the historical playlist 2 that is being played.

[0385] Exemplarily, referring toFigure 2 Among d and e in Figure 2 , in response to an operation by the user on the cover of the historical playlist 2024 of media application B in the secondary card 2022 of the interface 202, the system UI displays the interface 203. The interface 203 shows a song in the playlist title 2 of media application B that is currently playing, and at the same time shows the song name, song cover, singer information, etc. of this song.

[0386] In some embodiments, after S1410, it may further include:

[0387] S1413. The media session service sends a playback status update notification to the audio recommendation management module, and this notification is used to indicate that the playback status of the media player is playing.

[0388] S1414. The audio recommendation management module sends a notification to the system UI to cancel the display of historical playlist 1 and the playlist list.

[0389] S1415. The system UI records canceling the display of historical playlist 1 and the playlist list.

[0390] After the system UI receives the notification sent by the audio recommendation management module to cancel the display of historical playlist 1 and the playlist list, the system UI records based on this notification not to display historical playlist 1 and the playlist list again. For example, after the electronic device plays historical playlist 2 in the playlist list and the user removes and then reinserts the headphones, the system UI will not push historical playlist 1 and the playlist list again based on this record.

[0391] In this embodiment, after pushing a historical playlist on the lock screen interface of the electronic device, if the electronic device detects an operation by the user to view more historical playlists on the lock screen interface, the electronic device can display a playlist list, and more historical playlists are displayed in the playlist list, which is convenient for the user to select historical playlists, simplifies the user operation, and improves the user experience.

[0392] (III) The electronic device pushes scene playlists

[0393] In some embodiments, the electronic device installs media application A and media application B. Both media application A and media application B are in an unrun state, and when the electronic device is in the screen-on and locked state, the electronic device detects a connection event of the headphones or the car stereo. After the electronic device successfully connects to the headphones or the car stereo, the electronic device first identifies the scene. If it identifies that the user is in a target scene (such as, subway, bedtime, or driving, etc.) and the user has the habit of listening to audio in this target scene, the electronic device can display one or more scene playlists on the lock screen interface, which is convenient for the user to select scene playlists for playback on the lock screen interface, can simplify the user operation, and improve the user experience.

[0394] The following combines Figure 15 and Figure 16The internal execution process of recommending a scenario playlist for an electronic device is described in detail. Exemplarily, Figure 15 Schematic diagram of the playlist recommendation method provided by an embodiment of this application Figure 4 . As Figure 15 shown, this process includes:

[0395] S1501. In response to an operation to enable the scenario playlist recommendation function, the audio recommendation management module registers a listener with the intelligent service.

[0396] In some embodiments, the user can turn on the switch of the scenario playlist recommendation function in the settings application. Exemplarily, Figure 16 Schematic diagram of the change of the mobile phone interface provided by an embodiment of this application Figure 3 , as Figure 16 shown, in response to the user's operation on the settings application on the main interface, the mobile phone display interface 1601 is displayed. In response to the user's operation on the intelligent assistant control 1602 on the interface 1601, the mobile phone display interface 1603 is displayed. The interface 1603 is an intelligent assistant interface, and the interface 1603 includes a playlist recommendation control 1604. In response to the user's operation on the playlist recommendation control 1604, the mobile phone display interface 1605 is displayed. The interface 1605 includes a switch 1606 for enabling the scenario playlist recommendation function. In response to the user's operation of turning on the switch 1606 on the interface 1605, the audio recommendation management module registers a listener with the intelligent service.

[0397] In some embodiments, when the user first powers on and activates the mobile phone, the user can turn on the switch of the scenario playlist recommendation function in the boot guidance interface. In response to the user's operation of turning on the scenario playlist recommendation function on the boot guidance interface, the audio recommendation management module registers a listener with the intelligent service, not shown.

[0398] In some embodiments, after the audio recommendation management module registers a listener with the intelligent service, the intelligent service can identify the scenario. After the intelligent service identifies the target scenario, such as identifying scenarios such as subway, bedtime, driving, etc., it queries the identification information corresponding to the target scenario. The identification information corresponding to the target scenario includes a first identifier and a second identifier. The first identifier is used to indicate that the user has the habit of listening to audio in the target scenario, and the second identifier is used to indicate that the user does not have the habit of listening to audio in the target scenario. The intelligent service prestores the identification information corresponding to the target scenario. The process of the intelligent service setting the identification information for the target scenario can be referred to the foregoing Figure 10b embodiment.

[0399] In one example, if the intelligent service obtains the identification information corresponding to the target scenario as the first identification, the intelligent service can send a notification to the audio recommendation management module, and the notification can be used to instruct the audio recommendation management module to decide whether to perform scenario playlist recommendation. In another example, if the intelligent service obtains the identification information corresponding to the target scenario as the second identification, the intelligent service will not send the above notification to the audio recommendation management module.

[0400] S1502a. The intelligent service performs scenario recognition and recognizes that the scenario is the target scenario.

[0401] In some embodiments, when the audio recommendation management module registers a listener with the intelligent service, and the intelligent service receives a connection event of the earphone or the in-vehicle device, after the intelligent service performs scenario recognition and recognizes that the scenario is the target scenario, S1502b can be executed. The target scenario can be scenarios such as subway, bedtime, driving, etc., and this embodiment does not limit the target scenario.

[0402] In some embodiments, when the audio recommendation management module registers a listener with the intelligent service, and the intelligent service receives a connection event of the earphone or the in-vehicle device, if the intelligent service does not recognize the target scenario during scenario recognition, S1502c can also be executed. Considering that there is a connection event of the earphone or the in-vehicle device, the electronic device can consider that the user has the intention to listen to audio, and the intelligent service can also send a notification message to the audio recommendation management module to enable the audio recommendation management module to decide whether to perform playlist recommendation.

[0403] S1502b. The intelligent service queries the identification information corresponding to the target scenario, and the identification information is the first identification, and the first identification is used to indicate that the user has the habit of listening to audio in the target scenario.

[0404] If the intelligent service queries that the identification corresponding to the target scenario is the first identification, S1502c can be executed;

[0405] If the intelligent service queries that the identification corresponding to the target scenario is the second identification, this process can be ended.

[0406] S1502c. The intelligent service sends a notification message to the audio recommendation management module.

[0407] In some embodiments, if the intelligent service recognizes the target scenario and the identification corresponding to the target scenario is the first identification, the notification message may include the identification of the target scenario, and the identification of the target scenario is used to indicate the scenario recognized by the intelligent service, and the identification of the target scenario is different from the aforementioned first identification and second identification. After the audio recommendation management module receives the notification message sent by the intelligent service, S1503 to S1506 shown in Figure 15 can be executed, and S1503 to S1506 can refer to the aforementioned S1201 to S1204.

[0408] After S1506, the following can be executed:

[0409] S1507. The audio recommendation management module queries the media content providing module for a request of a scenario playlist, and the request carries the identifier of the target scenario.

[0410] S1508. The media content providing module returns the scenario playlist information to the audio recommendation management module.

[0411] It should be understood that the media content providing module pre-stores the scenario playlist information, and the scenario playlist information includes the playlist information of one or more media applications played by the electronic device in the target scenario within a preset time period.

[0412] S1509. The audio recommendation management module sends a notification to the system UI to display the scenario playlist.

[0413] S1510. The system UI displays the scenario playlist 1.

[0414] The notification for displaying the scenario playlist includes the scenario playlist information, and the scenario playlist information includes the playlist information of at least one scenario playlist. The playlist information includes, for example, the title of the playlist, the playlist identifier, the scenario identifier, and the playlist cover, etc.

[0415] In some embodiments, the scenario playlist information includes the information of one scenario playlist, such as the information of the scenario playlist 1 of media application A, and the system UI displays the scenario playlist 1.

[0416] In some embodiments, the scenario playlist information includes the information of multiple scenario playlists and the playlist recommendation order. The multiple scenario playlists include the scenario playlist 1 provided by media application A and the scenario playlist 2 provided by media application B, etc. The system UI displays one scenario playlist according to the playlist recommendation order, such as the scenario playlist 1 of media application A. The one scenario playlist displayed by the system UI can be a scenario playlist provided by the media application with the longest cumulative play duration within a preset time period pushed by the audio recommendation management module according to the cumulative play duration of the media application. The one scenario playlist can also be the scenario playlist with the longest cumulative play duration or the scenario playlist with the highest play frequency among the multiple scenario playlists.

[0417] Figure 15 S1501 to S1510 in it are the recommendation processes of the scenario playlist. When all the media applications of the electronic device are in the unrun state and the electronic device is in the screen-on and locked state, the electronic device detects the connection event of the earphone or the car stereo. If the electronic device identifies that the current scenario is the target scenario and the user has the habit of listening to audio in the target scenario, the electronic device can push a scenario playlist on the lock screen, which is convenient for the user to select the scenario playlist for playback on the lock screen, can simplify the user operation, and improve the user experience.

[0418] In some embodiments, if the intelligent service fails to recognize the target scenario, the notification message does not include a scenario identifier. After receiving the notification message sent by the intelligent service, the audio recommendation management module can obtain one or more historical playlists from the media content providing module, and notify the system UI to display one or more historical playlists on the lock screen. For details, refer to S1205 to S1208.

[0419] In some embodiments, after S1510, S1511 to S1520 can be executed. S1511 to S1522 are the playing processes of the scenario playlists, which are similar to the playing processes of the aforementioned historical playlists S1209 to S1220. For the sake of brevity, they will not be elaborated here.

[0420] In this embodiment, in response to the user's operation of playing the scenario playlist 1 on the lock screen, the electronic device starts playing the songs in the scenario playlist 1, and displays the information of the song being played in the scenario playlist 1, and no longer displays the card of the recommended scenario playlist 1.

[0421] In some embodiments, after S1501 to S1510, S1401 to S1412 can be executed. After S1401 to S1412, the following can be executed (not shown):

[0422] S1523. The media session service sends a play status update notification to the audio recommendation management module, and this notification is used to indicate that the play status of the media player is playing.

[0423] S1524. The audio recommendation management module sends a notification to the system UI to cancel the display of the scenario playlist 1 and the playlist list.

[0424] S1525. The system UI records the cancellation of the display of the scenario playlist 1 and the playlist list.

[0425] In some embodiments, after S1501 to S1510, the electronic device may no longer display the pushed scenario playlist 1 after the timer times out, or after the headset is disconnected from the electronic device, or after the in-vehicle unit is disconnected from the electronic device, or after the screen state of the electronic device display changes from the locked screen state to the unlocked state.

[0426] (IV) The electronic device pushes the recommended playlist to the watch

[0427] In some embodiments, when all media applications of the electronic device are in an unrun state and the electronic device is connected to the watch, and the electronic device detects a connection event of the earphone, after the electronic device successfully connects to the earphone, the electronic device can send a recommended playlist to the watch. After receiving the recommended playlist sent by the electronic device, the watch can display a notification of the playlist recommendation, which facilitates the user to select the recommended playlist through the watch for song playback, simplifies the user operation, and improves the user experience. In this embodiment, the recommended playlist sent by the electronic device to the watch may include a historical playlist and / or a scenario playlist.

[0428] The following combines Figure 17 and Figure 18 to detail the execution process of the electronic device pushing the recommended playlist to the watch. Exemplarily, Figure 17 is a schematic Figure 5 of the playlist recommendation method provided by the embodiment of the present application. As Figure 17 shown, this process involves the interaction between the electronic device and the watch, including:

[0429] S1701. After the audio recommendation management module of the electronic device receives the connection event of the earphone, it queries the registration status of the media session from the media session service of the electronic device.

[0430] S1702. The media session service sends the registration status of the media session to the audio recommendation management module, and the registration status is unregistered.

[0431] S1703. The audio recommendation management module queries the connection status of the watch from the device access management module of the electronic device.

[0432] S1704. The device access management module returns the connection status of the watch to the audio recommendation management module, and the connection status of the watch is connected.

[0433] S1705. The audio recommendation management module sends a request to query the recommended playlist to the media content providing module of the electronic device.

[0434] S1706. The media content providing module returns the recommended playlist information to the audio recommendation management module. The recommended playlist information includes the playlist information of at least one recommended playlist, such as information about the title, playlist identifier, and cover of the playlist.

[0435] S1707. The audio recommendation management module of the electronic device sends a notification to display the recommended playlist to the watch through the device access management module, and the notification includes the recommended playlist information.

[0436] The audio recommendation management module sends a notification to display the recommended playlist to the media session service. After receiving the notification, the media session service sends the notification to the device access management module. After receiving the notification, the device access management module sends the notification to the watch.

[0437] S1708. The watch displays a playlist recommendation notification.

[0438] Exemplarily, referring to Figure 5 as shown in a, the watch displays a notification card 5011, on which a mobile phone icon and text information (such as "Playlist Recommendation") can be displayed to indicate that the notification comes from the mobile phone.

[0439] S1701 to S1708 are the processes for the electronic device to push recommended playlists to the watch. Users can view the playlist recommendation notifications on the watch, which facilitates users to select playlists through the watch for song playback, simplifies user operations, and improves the user experience.

[0440] In some embodiments, after S1708, it further includes:

[0441] S1709. In response to the user's operation of viewing the notification on the watch face, the watch sends a query request to the media session service of the electronic device through the device access management module of the electronic device. The query request is used to request to obtain recommended playlist information.

[0442] S1710. The media session service of the electronic device sends a query response to the watch through the device access management module, and the query response carries the recommended playlist information.

[0443] S1711. The watch displays multiple recommended playlists.

[0444] The watch can display multiple recommended playlists according to the recommended playlist information carried in the query response. Exemplarily, referring to Figure 5 a and b, in response to the user's operation on the notification card 5011, the watch displays an interface 502, and the interface 502 displays multiple playlists, such as Playlist 1 to Playlist 3. The multiple playlists can come from one media application or multiple media applications.

[0445] S1710 and S1711 are optional steps. It should be understood that in the case where the recommended playlist information is included in the notification of S1707, in response to the user's operation of viewing the notification on the watch face, the watch can display multiple recommended playlists according to the recommended playlist information in the notification of S1707.

[0446] S1712. In response to the user's operation of playing Playlist 1, the watch sends a play request to the media session service of the electronic device through the device access management module of the electronic device, and the play request carries the identifier of Playlist 1.

[0447] After S1712, S1713 to S1718 can be executed, and S1713 to S1718 can refer to the foregoing S1210 to S1215.

[0448] After S1718, the following can be executed:

[0449] S1719. The media session service of the electronic device sends a playback status update notification to the audio recommendation management module, and this notification is used to indicate that the playback status of the media player is playing.

[0450] S1720. The audio recommendation management module of the electronic device sends a notification to cancel the display of the recommended playlist to the watch through the device access management module of the electronic device.

[0451] S1721. The watch displays the song being played in Playlist 1.

[0452] Exemplarily, referring to Figure 5 b and c in, in response to the user's operation on Playlist 1 in the interface 502, the watch displays the interface 503, and the interface 503 displays the song information of the song being played in Playlist 1.

[0453] S1709 to S1721 are the playback control processes of the watch. The electronic device can play the songs in the recommended playlist based on the playback control operations of the user on the watch. After the electronic device plays the songs in the recommended playlist, the watch interface can display the song information of the song being played in the recommended playlist, and the watch can stop displaying multiple recommended playlists.

[0454] Exemplarily, Figure 18 is a schematic of the playlist recommendation method provided by the embodiments of the present application Figure 6 . As Figure 18 shown, after S1701 to S1708, it can include:

[0455] S1801. The audio recommendation management module of the electronic device activates a timer.

[0456] S1802. After the timer times out, the audio recommendation management module of the electronic device sends a message to cancel the display of the playlist recommendation notification to the watch through the device access management module of the electronic device.

[0457] After the watch receives this message, the watch stops displaying the playlist recommendation notification. For example, referring to Figure 5 a in, the watch stops displaying the notification card 5011.

[0458] This embodiment mainly aims at the situation where the user wears headphones and does not respond to the playlist recommendation notification on the watch interface for a period of time. The watch can stop displaying the playlist recommendation notification after a period of time.

[0459] In some embodiments, after S1701 to S1708, it can include:

[0460] After the audio recommendation management module of the electronic device receives the disconnection event of the headset, the audio recommendation management module of the electronic device sends a message to cancel the display of the playlist recommendation notification to the watch through the device access management module of the electronic device.

[0461] In this embodiment, after the playlist recommendation notification is displayed on the watch interface and the watch does not detect an operation by the user to view the notification, if the electronic device detects a disconnection event of the headset, the electronic device can control the watch interface to no longer display the playlist recommendation notification.

[0462] (5) The electronic device pushes a recommended playlist to the car stereo

[0463] In some embodiments, when all media applications of the electronic device are in an unrun state and the electronic device detects a connection event of the car stereo, after the electronic device successfully connects to the car stereo, the electronic device can send a recommended playlist to the car stereo. After receiving the recommended playlist sent by the electronic device, the car stereo displays the recommended playlist, which facilitates the user to select the recommended playlist through the car stereo for song playback, simplifies the user operation, and improves the user experience. In this embodiment, the recommended playlist sent by the electronic device to the car stereo may include a historical playlist and / or a scenario playlist.

[0464] The following combines Figure 19 and Figure 20 to elaborate in detail on the execution process of the electronic device pushing a recommended playlist to the car stereo. Exemplarily, Figure 19 is a schematic Figure 7 of the playlist recommendation method provided by the embodiment of the present application. Figure 19 As shown, this process involves the interaction between the electronic device and the car stereo, including:

[0465] S1901. After the audio recommendation management module of the electronic device receives the connection event of the car stereo, it queries the registration status of the media session from the media session service of the electronic device.

[0466] S1902. The media session service sends the registration status of the media session to the audio recommendation management module, and the registration status is unregistered.

[0467] S1903. The audio recommendation management module queries a request for a recommended playlist from the media content providing module of the electronic device, and the request may carry an identifier of the driving scenario.

[0468] S1904. The media content providing module returns recommended playlist information to the audio recommendation management module.

[0469] The recommended playlist information includes the playlist information of at least one driving scenario playlist, such as information such as the title, playlist identifier, and cover of playlist 1 in the driving scenario provided by media application A.

[0470] In some embodiments, the recommended playlist information further includes a plurality of historical playlists or a plurality of driving scenario playlists.

[0471] S1905. The audio recommendation management module of the electronic device sends a notification for displaying the recommended playlist to the in-vehicle unit through the in-vehicle application of the electronic device, and the notification includes the recommended playlist information.

[0472] S1906. The in-vehicle unit displays Playlist 1 in the driving scenario.

[0473] Exemplarily, as shown in Figure 7 a of, the in-vehicle unit displays the notification card 7011, and the playlist information of Playlist 1 of media application A is displayed on the card 7011.

[0474] In some embodiments, the in-vehicle unit can display a plurality of recommended playlists according to the recommended playlist information in the notification.

[0475] S1901 to S1906 are the processes for the electronic device to push the recommended playlist to the in-vehicle unit. Users can view the recommended playlists in the driving scenario on the in-vehicle unit, which facilitates users to select playlists through the in-vehicle unit for playing songs, simplifies user operations, and improves the user experience.

[0476] In some embodiments, after S1906, it further includes:

[0477] S1907. In response to the user's operation of playing Playlist 1 on the in-vehicle unit interface, the in-vehicle unit sends a play request to the media session service of the electronic device through the in-vehicle application of the electronic device, and the play request carries the identifier of Playlist 1.

[0478] After S1907, S1908 to S1913 can be executed. S1908 to S1913 can refer to the foregoing S1210 to S1215.

[0479] After S1913, the following can be executed:

[0480] S1914. The media session service of the electronic device sends a play status update notification to the audio recommendation management module, and this notification is used to indicate that the play status of the media player is playing.

[0481] S1915. The audio recommendation management module of the electronic device sends a notification for canceling the display of Playlist 1 to the in-vehicle unit through the in-vehicle application of the electronic device.

[0482] S1916. The in-vehicle unit displays the song being played in Playlist 1.

[0483] Exemplarily, refer to Figure 7Among a and c, in response to the user's operation on the playback control 7013 on the card 7011 of the interface 701, the in-vehicle device displays the interface 703, and the interface 703 displays the song being played in the playlist 1 provided by the media application A.

[0484] S1907 to S1916 are the playback control processes of the in-vehicle device. The electronic device can play the songs in the recommended playlist based on the user's playback control operation on the in-vehicle device. After the electronic device plays the songs in the recommended playlist, the in-vehicle device interface displays the information of the song being played in the recommended playlist. The in-vehicle device can stop displaying the recommended playlist. For example, the in-vehicle device interface no longer displays the card 7011.

[0485] Exemplarily, Figure 20 is a schematic diagram of the playlist recommendation method provided by the embodiments of the present application. Figure 8 . As Figure 20 shown, after S1901 to S1906, it may include:

[0486] S2001. The audio recommendation management module of the electronic device activates a timer.

[0487] S2002. After the timer times out, the audio recommendation management module of the electronic device sends a notification to cancel the display of the playlist 1 to the in-vehicle device through the in-vehicle application of the electronic device.

[0488] After receiving this notification, the in-vehicle device can stop displaying the recommended playlist 1. For example, referring to Figure 7 a in, the in-vehicle device no longer displays the notification card 7011.

[0489] This embodiment mainly aims at the situation where the user does not respond to the recommended playlist on the in-vehicle device interface for a period of time after the electronic device is connected to the in-vehicle device. The in-vehicle device can stop displaying the recommended playlist after a period of time.

[0490] In some embodiments, after S1901 to S1906, it may include:

[0491] S2003. After the audio recommendation management module of the electronic device receives the disconnection event of the in-vehicle device, the audio recommendation management module of the electronic device sends a notification to cancel the display of the playlist 1 to the in-vehicle device through the in-vehicle application of the electronic device.

[0492] In this embodiment, after the in-vehicle device interface displays the recommendation, when the in-vehicle device does not detect the user's operation of playing the playlist on the in-vehicle device interface, and the electronic device detects the disconnection event of the in-vehicle device, the electronic device can control the in-vehicle device interface to stop displaying the recommended playlist.

[0493] Based on the foregoing several embodiments, the embodiments of the present application provide a playlist recommendation method. This method can be applied to a first electronic device, and the first electronic device is installed with a first media application and a second media application. This method includes:

[0494] When the first electronic device is in the first scenario and both the first media application and the second media application are in an unrun state, the first electronic device displays a first interface. The first interface includes a first card in a first form, and a first control and a first playlist of the first media application are displayed on the first card. The first playlist is a playlist related to the first scenario.

[0495] In response to an operation on the first control, the first electronic device displays a second interface. The second interface includes a second card and a first card in a second form. Multiple second playlists are displayed on the second card. The multiple second playlists include playlists of the second media application. The multiple second playlists are displayed from near to far according to the playlist playback order, or from largest to smallest according to the cumulative playback duration of the playlist within a preset period, or from largest to smallest according to the playback frequency of the playlist within a preset period. A playback progress bar and / or a volume slider are displayed on the first card in the second form.

[0496] Exemplarily, the first electronic device can be a mobile phone, the first media application can be media application A, and the second media application can be media application B. Both media application A and media application B are applications capable of playing audio. The first scenario includes but is not limited to a subway scenario, a bedtime scenario, a driving scenario, etc. The first interface can be the lock screen interface of the mobile phone (such as Figure 2 interface 201 shown in a of Figure 3 ), the control center interface (such as Figure 3 interface 302 shown in b of Figure 2 ), the main interface (such as

[0497] interface 301 shown in d of Figure 2 ), or any interface. The first card in the first form can be

[0498] In this embodiment, when the first electronic device is in the first scenario and none of the media applications installed on the first electronic device are running, the first electronic device can push a first playlist related to the first scenario on the first interface, facilitating the user to quickly trigger the playback of the songs in the first playlist when entering the first scenario, which can simplify the user operation and enhance the user experience. If the user is not satisfied with the recommended first playlist, the user can touch the first control of the first card on the first interface to view more recommended playlists, facilitating the user to select a playlist and trigger the playback of the songs in one of the playlists, which can simplify the user operation and enhance the user experience.

[0499] In an alternative embodiment, the first electronic device is installed with a first media application and a second media application. When the first electronic device is in the first scenario, the first media application is in a running state, and the second media application is in a non-running state, the first electronic device displays a first interface. The first interface includes a first card in a first form, and a fourth playlist is displayed on the first card. The fourth playlist is a playlist related to the first scenario provided by the second media application.

[0500] In this embodiment, the first electronic device has enabled the first media application in the first scenario. The first electronic device can push a playlist related to the first scenario provided by the second media application on the first interface, facilitating the user to switch to the second media application to play the songs in the scenario playlist, which can simplify the user operation and enhance the user experience.

[0501] In an alternative embodiment, when the first electronic device is in the first scenario and both the first media application and the second media application are in a non-running state, before the first electronic device displays the first interface, the method further includes: the first electronic device receives a connection event from the second electronic device; in response to the connection event, the first electronic device determines that the first electronic device is in the first scenario; in response to determining that the first electronic device is in the first scenario, the first electronic device determines that both the first media application and the second media application are in a non-running state.

[0502] Exemplarily, the second electronic device can be a headset or a car stereo, and the connection event of the second electronic device can be a connection event of the headset or a connection event of the car stereo.

[0503] In this embodiment, when the first electronic device is in the first scenario, if the first electronic device detects a connection event with the second electronic device, it can be considered that the user has the intention of listening to audio. Further, when the first electronic device determines that all the installed media applications are in a non-running state, the first electronic device can push the first playlist on the first interface. The above method facilitates the user to quickly trigger the playback of the songs in the first playlist on the first interface when entering the first scenario and wearing a headset or connecting to a car stereo, which can simplify the user operation and enhance the user experience.

[0504] In an alternative embodiment, in response to determining that the first electronic device is in the first scenario, the first electronic device determines that both the first media application and the second media application are in an unrun state, including: in response to determining that the first electronic device is in the first scenario, the first electronic device determines that the identification information corresponding to the first scenario is the first identifier; the first identifier is used to indicate that the number of times the user listens to audio in the first scenario within a preset period is greater than or equal to a preset number of times; in response to determining that the identification information corresponding to the first scenario is the first identifier, the first electronic device determines that both the first media application and the second media application are in an unrun state.

[0505] Exemplarily, the first identifier may be 1, which is used to indicate that the number of times the user listens to audio in the first scenario within a preset period is greater than or equal to a preset number of times. The preset period may be one month, and the preset number of times may be 5 times. That is, the first identifier is used to indicate that the user has a habit of listening to audio in the first scenario.

[0506] In this embodiment, after the first electronic device detects a connection event with the second electronic device, the first electronic device identifies that the first electronic device is in the first scenario, and by querying the identification information corresponding to the first scenario, determines that the user has a habit of listening to audio in the first scenario. If the first electronic device further determines that all installed media applications are in an unrun state, the first electronic device may push a first playlist on the first interface. The above method is convenient for users who have a habit of listening to audio in the first scenario. When entering the first scenario and wearing headphones or connecting to a car stereo, they can quickly trigger the playback of the songs in the first playlist on the first interface, which can simplify the user operation and improve the user experience.

[0507] In some embodiments, the identification information corresponding to the first scenario is the second identifier, and the second identifier is used to indicate that the number of times the user listens to audio in the first scenario within a preset period is less than the preset number of times. For example, the second identifier may be 0. That is, the second identifier is used to indicate that the user has no habit of listening to audio in the first scenario.

[0508] In an alternative embodiment, the first electronic device receives a connection event from the second electronic device, including: the intelligent service of the first electronic device receives the connection event from the second electronic device; in response to the connection event, the first electronic device determines that the first electronic device is in the first scenario, including: in response to the connection event, the intelligent service determines that the first electronic device is in the first scenario; in response to determining that the first electronic device is in the first scenario, the first electronic device determines that both the first media application and the second media application are in an unrun state, including: in response to determining that the first electronic device is in the first scenario, the intelligent service sends a first message to the audio recommendation management module of the first electronic device, and the first message includes the identifier of the first scenario; the audio recommendation management module queries from the media session service of the first electronic device that both the first media application and the second media application are in an unrun state.

[0509] Exemplarily, the first message may be Figure 15 the notification message of S1502c in. The audio recommendation management module queries from the media session service of the first electronic device that both the first media application and the second media application are in an unrun state, which may correspond to Figure 15 S1503 and S1504 in. In combination with this embodiment, the unregistered registration status of the media session in S1504 means that: the media sessions corresponding to the first media application and the second media application are both unregistered, that is, both the first media application and the second media application are in an unrun state.

[0510] In an alternative embodiment, the first electronic device displays a first interface, including: the first electronic device queries the playlist information corresponding to the first scenario, and the playlist information corresponding to the first scenario includes the playlist information of the first playlist. The playlist information of the first playlist includes the playlist title, playlist identifier, playlist cover, and the identifier of the first scenario of the first playlist; after the first electronic device queries the playlist information corresponding to the first scenario, the first electronic device displays the first interface, and the first interface displays the first playlist.

[0511] In this embodiment, the first electronic device pre-stores the playlist information of the first playlist corresponding to the first scenario. The first electronic device first obtains the playlist information of the first playlist, and then based on the playlist information of the first playlist, displays the first playlist on the first interface.

[0512] In an alternative embodiment, the first electronic device queries the playlist information corresponding to the first scenario, including: the first electronic device obtains the playlist information corresponding to the identifier of the first scenario according to the identifier of the first scenario, and the playlist information corresponding to the identifier of the first scenario includes the playlist information of the first playlist.

[0513] In this embodiment, the first electronic device can obtain the playlist information corresponding to the first scenario based on the identifier of the first scenario, such as the playlist information of the first playlist.

[0514] In an alternative embodiment, the first electronic device queries the playlist information corresponding to the first scenario, including: the audio recommendation management module of the first electronic device sends a first query request to the media content providing module of the first electronic device, and the first query request includes the identifier of the first scenario; in response to receiving the first query request, the media content providing module sends a first query response to the audio recommendation management module, and the first query response includes the playlist information corresponding to the first scenario; the first electronic device displays the first interface, including: the audio recommendation management module sends the playlist information corresponding to the first scenario to the system user interface UI of the first electronic device; in response to receiving the playlist information corresponding to the first scenario, the system UI displays the playlist corresponding to the first scenario on the first interface.

[0515] Exemplarily, the first query request may correspond to Figure 15 the request for the query scenario playlist of S1507 in Figure 15 . The first query response may correspond to Figure 15 the returned scenario playlist information of S1508 in Figure 15 . The audio recommendation management module sending the playlist information corresponding to the first scenario to the system UI of the first electronic device may correspond to: Figure 15 the notification of displaying the scenario playlist of S1509 in Figure 15 . The system UI displaying the playlist corresponding to the first scenario on the first interface may correspond to: Figure 15 displaying scenario playlist 1 of S1510 in Figure 15 .

[0516] In this embodiment, the audio recommendation management module of the first electronic device obtains the playlist information of the scenario playlist from the media content providing module and sends a notification of the display of the scenario playlist to the system UI of the first electronic device, so that the system UI can display the scenario playlist on the first interface, facilitating the user to quickly trigger the playback of the songs in the pushed scenario playlist on the first interface.

[0517] In an alternative embodiment, the playlist information corresponding to the first scenario further includes the playlist information corresponding to the first scenario provided by the second media application. The method further includes: the first electronic device determining to push the first playlist of the first media application with the longest cumulative playback duration according to the cumulative playback duration of the media application within a preset period.

[0518] Exemplarily, the preset period is one month. The cumulative playback duration of the user using the first media application to play songs within one month is 3 hours, and the cumulative playback duration of the user using the second media application to play songs within one month is 1 hour. The playlist corresponding to the first scenario provided by the first media application is playlist 1, and the playlist corresponding to the first scenario provided by the second media application is playlist 2. Since the cumulative playback duration of the first media application within one month is greater than that of the second media application, when the first electronic device enters the first scenario, the first electronic device pushes playlist 1 provided by the first media application.

[0519] This embodiment shows a rule for scenario playlist recommendation. When the playlist information corresponding to the first scenario obtained by the first electronic device includes the scenario playlist provided by the first media application and the scenario playlist provided by the second media application, the first electronic device may push the scenario playlist provided by the first media application with the longest cumulative playback duration of the media application within the preset period to the first interface for display.

[0520] In an alternative embodiment, the first electronic device determining to push the first playlist of the first media application with the longest cumulative playback duration according to the cumulative playback duration of the media application within a preset period includes: the audio recommendation management module of the first electronic device determining to push the first playlist of the first media application with the longest cumulative playback duration according to the cumulative playback duration of the media application within a preset period.

[0521] In an alternative embodiment, before the first electronic device queries the playlist information corresponding to the first scenario, the method includes: the first electronic device queries the screen state of the display, and the screen state of the display is the on-screen lock screen state.

[0522] In an alternative embodiment, the first electronic device queries the screen state of the display, including: the audio recommendation management module of the first electronic device obtains the screen state of the display screen from the screen management module of the first electronic device.

[0523] Exemplarily, the audio recommendation management module of the first electronic device obtaining the screen state of the display screen from the screen management module of the first electronic device may correspond to: Figure 15 S1505 and S1506 in.

[0524] In an alternative embodiment, before the first electronic device queries the playlist information corresponding to the first scenario, the method further includes: after the first electronic device detects a playback event of the first media application, the first electronic device receives the playlist information of the first media application, and the playlist information of the first media application includes the playlist title, playlist cover, start time point of playing the playlist, and scenario identifier corresponding to the song being played; in response to receiving the playlist information of the first media application, the first electronic device stores the playlist information of the first media application.

[0525] Exemplarily, the first electronic device detecting a playback event of the first media application means that the first media application of the first electronic device detects an operation by the user to play a song in a certain playlist of the first media application.

[0526] This embodiment shows the process of the first electronic device writing the playlist information of the first media application. Based on this process, the first electronic device stores the playlist information of the first media application, providing data support for subsequent playlist recommendations.

[0527] In an alternative embodiment, the first electronic device receiving the playlist information of the first media application includes: the audio recommendation management module of the first electronic device receives the playlist information of the first media application; the first electronic device storing the playlist information of the first media application includes: the audio recommendation management module writing the playlist information of the first media application to the media content providing module of the first electronic device.

[0528] This embodiment shows that the first electronic device writes the playlist information of the first media application to the media content providing module, and the first electronic device can obtain, for example, the playlist information of the first playlist of the first media application from the media content providing module.

[0529] In an alternative embodiment, after the first electronic device displays the first interface, the method further includes: in response to an operation on the first playlist, the first electronic device starts the first media application and controls the first media application to play the songs in the first playlist.

[0530] Exemplarily, as Figure 2 shown in a of , the operation in response to the first playlist may be an operation in response to the control 2014, that is, in response to the operation of playing the playlist 1 of the media application A, the mobile phone starts the media application A and controls the media application A to play the first song or any song in the playlist 1.

[0531] In this embodiment, in response to the operation of playing the first playlist, the first electronic device can quickly start the first media application corresponding to the first playlist and control the first media application to play the songs in the first playlist, so that the user can quickly trigger the playing of the songs in the first playlist on the first interface, simplifying the user operation process and improving the user experience.

[0532] In an alternative embodiment, after the first electronic device displays the second interface, the method further includes: in response to an operation on the third playlist, the first electronic device starts the second media application and controls the second media application to play the songs in the third playlist; the third playlist is the playlist of the second media application among multiple second playlists.

[0533] Exemplarily, as Figure 2 shown in d of , the operation in response to the third playlist may be an operation in response to the playlist 2024 of the media application B on the card 2022, that is, in response to the operation of playing the playlist 2 of the media application B, the mobile phone starts the media application B and controls the media application B to play the first song or any song in the playlist 2. The third playlist may be a historical playlist.

[0534] In this embodiment, in response to the operation of playing the third playlist, the first electronic device can quickly start the second media application corresponding to the third playlist and control the second media application to play the songs in the third playlist, so that the user can quickly trigger the playing of the songs in the third playlist on the second interface, simplifying the user operation process and improving the user experience.

[0535] In an alternative embodiment, in response to an operation on the first playlist, the first electronic device starts the first media application and controls the first media application to play the songs in the first playlist, including: in response to an operation on the first playlist, the system UI of the first electronic device sends a first play request to the media session service of the first electronic device, the first play request includes the identifier of the first playlist; the media session service sends the first play request to the first media application; in response to receiving the first play request, the first media application starts and plays the songs in the first playlist.

[0536] Exemplarily, the system UI sending a first play request to the media session service may correspond to: Figure 15 The play request in S1511, and the media session service sending a first play request to the first media application may correspond to: Figure 15 The play request in S1514.

[0537] In an alternative embodiment, in response to an operation on the first playlist, the first electronic device starts the first media application, including: in response to an operation on the first playlist, the first electronic device determines, according to the correspondence between the playlist identifier and the media application identifier pre-stored in the first electronic device, that the identifier of the first playlist corresponds to the first media application; the first electronic device starts the first media application.

[0538] In this embodiment, in response to an operation of playing the first playlist, the first electronic device can query the pre-stored correspondence between the playlist identifier and the media application identifier to obtain the first media application corresponding to the first playlist, and then start the first media application.

[0539] In an alternative embodiment, in response to an operation on the third playlist, the first electronic device starts the second media application, including: in response to an operation on the third playlist, the first electronic device determines, according to the correspondence between the playlist identifier and the media application identifier, that the identifier of the third playlist corresponds to the second media application; the first electronic device starts the second media application.

[0540] In this embodiment, in response to an operation of playing the third playlist, the first electronic device can query the pre-stored correspondence between the playlist identifier and the media application identifier to obtain the second media application corresponding to the third playlist, and then start the second media application.

[0541] In an alternative embodiment, in response to an operation on the first playlist, the first electronic device determines, according to the correspondence between the playlist identifier and the media application identifier pre-stored in the first electronic device, that the identifier of the first playlist corresponds to the first media application, including: in response to an operation on the first playlist, the media session service of the first electronic device sends a second query request to the media content providing module of the first electronic device, and the second query request includes the identifier of the first playlist; the media content providing module determines, according to the pre-stored correspondence between the playlist identifier and the media application identifier, that the identifier of the first playlist corresponds to the first media application; the media content providing module sends a second query response to the media session service, and the second query response includes the identifier of the first media application corresponding to the identifier of the first playlist.

[0542] Exemplarily, the second query request may correspond to Figure 15 The query request in S1512, and the second query response may be Figure 15 The query response in S1513.

[0543] In this embodiment, the first electronic device learns from the media content providing module through the media session service that the media application corresponding to the first playlist is the first media application.

[0544] In an alternative embodiment, after the first electronic device displays the first interface, the method further includes: in response to an operation on the first playlist, the first electronic device displays a third interface, the third interface includes a third card, and the third card displays the song information of the song being played in the first playlist.

[0545] Exemplarily, as Figure 2 shown in f, the third interface may be interface 204, and the third card may be card 2041.

[0546] In this embodiment, in response to an operation of playing the first playlist on the first card, the first electronic device displays the third card, so as to facilitate the user to view the song information of the song being played in the first playlist.

[0547] In an alternative embodiment, after the first electronic device displays the second interface, the method further includes: in response to an operation on the third playlist, the first electronic device displays a fourth interface, the fourth interface includes a fourth card, and the fourth card displays the song information of the song being played in the third playlist.

[0548] Exemplarily, as Figure 2 shown in e, the fourth interface may be interface 203, and the fourth card may be card 2031.

[0549] In this embodiment, in response to an operation of playing the third playlist on the second card, the first electronic device displays the fourth card, so as to facilitate the user to view the song information of the song being played in the third playlist.

[0550] In an alternative embodiment, after the first electronic device starts the first media application and controls the first media application to play the songs in the first playlist, the method further includes: the first electronic device records the registration status of the media session corresponding to the first media application as registered, and updates the playback status of the media player to playing.

[0551] In an alternative embodiment, the first electronic device records the registration status of the media session corresponding to the first media application as registered, including: the first media application sends a first registration request to the media session service of the first electronic device, and the first registration request is used to request to register the media session corresponding to the first media application; in response to receiving the first registration request, the media session service records the registration status of the media session corresponding to the first media application as registered. Exemplarily, the first media application is media application A, refer to Figure 15, after media application A is launched in S1515, it includes: media application A sends a first registration request to the media session service, and the media session service records the registration status of the media session corresponding to media application A as registered ( Figure 15 not shown). The registered status of the media session corresponding to media application A can indicate that media application A is in a running state.

[0552] In an optional embodiment, after the first electronic device launches the second media application and controls the second media application to play the songs in the third playlist, the method further includes: the first electronic device records the registration status of the media session corresponding to the second media application as registered, and updates the playback status of the media player to playing.

[0553] In an optional embodiment, when the first electronic device updates the playback status of the media player to playing, it includes: the first media application sends a first notification message to the media session service of the first electronic device, and the first notification message is used to indicate that the playback status of the media player is playing; in response to receiving the first notification message, the media session service updates the playback status of the media player to playing. Exemplarily, the first media application is media application A, and the first notification message can be Figure 15 the playback status update notification in S1516.

[0554] In an optional embodiment, in response to an operation on the first control, the first electronic device displays a second interface, including: in response to an operation on the first control, the system UI of the first electronic device sends a third query request to the media content providing module of the first electronic device; in response to receiving the third query request, the media content providing module sends a third query response to the system UI, and the third query response includes the playlist information of multiple second playlists; in response to receiving the third query response, the system UI displays the second interface, and the second interface displays multiple second playlists.

[0555] Exemplarily, the third query request can correspond to Figure 14 S1401, and the third query response can correspond to Figure 14 S1402. In this embodiment, the third query request is used to request to obtain the playlist information of multiple second playlists, and the multiple second playlists can be multiple historical playlists.

[0556] In this embodiment, in response to an operation on the first control, that is, in response to an operation of querying for more playlists, the system UI of the first electronic device can obtain multiple second playlists from the media content providing module and display the multiple second playlists to provide more playlist recommendations for the user.

[0557] In an alternative embodiment, after the first electronic device displays the first interface, the method further includes: the audio recommendation management module of the first electronic device starts a timer; after the timer times out, the audio recommendation management module sends a second notification message to the system UI of the first electronic device, and the second notification message is used to instruct the system UI to cancel the display of the first card in the first form.

[0558] Exemplarily, the duration of the timer can be set to, for example, 30s.

[0559] This embodiment shows that the first electronic device displays the first card in the first form within the duration of the timer, allowing the user to view the first playlist and quickly trigger the playback of the songs in the first playlist. If the user does not respond to the display, the first electronic device can stop displaying the first card in the first form after the timer times out.

[0560] In an alternative embodiment, after the first electronic device displays the first interface, the method further includes: the audio recommendation management module of the first electronic device receives a disconnection event of the second electronic device; in response to receiving the disconnection event of the second electronic device, the audio recommendation management module sends a third notification message to the system UI of the first electronic device, and the third notification message is used to instruct the system UI to cancel the display of the first card in the first form.

[0561] Exemplarily, the disconnection event of the second electronic device can be a disconnection event of the earphone or a disconnection event of the car stereo.

[0562] In this embodiment, the first electronic device displays the first card in the first form on the first interface, allowing the user to view the first playlist and quickly trigger the playback of the songs in the first playlist. If the user has not responded to the display yet and the first electronic device detects a disconnection event of the second electronic device, the first electronic device can stop displaying the first card in the first form.

[0563] In an alternative embodiment, the method further includes: when the first electronic device is connected to the second electronic device, the first electronic device sends a second message to the second electronic device, and the second message includes the playlist information of the first playlist, and the second message is used to instruct the second electronic device to display the first playlist.

[0564] Exemplarily, the first electronic device can be a mobile phone, and the second electronic device can be a car stereo.

[0565] In this embodiment, when the first electronic device is in the first scenario and none of the media applications installed on the first electronic device are running, if the first electronic device is already connected to the second electronic device, the first electronic device can push the first playlist related to the first scenario to the second electronic device, facilitating the user to view the first playlist on the second electronic device.

[0566] In an alternative embodiment, the method further includes: the first electronic device receives a second play request from the second electronic device, where the second play request includes an identifier of a first playlist; in response to receiving the second play request, the first electronic device launches a first media application and controls the first media application to play the songs in the first playlist.

[0567] Exemplarily, in response to an operation of playing the first playlist on the second electronic device, the second electronic device sends a second play request to the first electronic device to trigger the first electronic device to launch the first media application corresponding to the first playlist and control the first media application to play the songs in the first playlist.

[0568] In an alternative embodiment, the method further includes: when the first electronic device is connected to a third electronic device, the first electronic device sends a third message to the third electronic device, where the third message is used to instruct the third electronic device to display a notification for playlist recommendation.

[0569] Exemplarily, the first electronic device may be a mobile phone, and the third electronic device may be a watch. The notification for playlist recommendation displayed on the third electronic device may correspond to: Figure 5 the notification card 5011 shown in a of FIG. In response to an operation on the notification card 5011, the third electronic device may display playlists related to, for example, a first scenario, such as the first playlist.

[0570] In this embodiment, when the first electronic device is in a first scenario and none of the media applications installed on the first electronic device are running, if the first electronic device has established a connection with the third electronic device, the first electronic device may push a notification for playlist recommendation to the third electronic device to prompt the user to view playlists related to the first scenario on the third electronic device.

[0571] In an alternative embodiment, the method further includes: the first electronic device receives a fourth query request from the third electronic device; in response to receiving the fourth query request, the first electronic device sends a fourth query response to the third electronic device, where the fourth query response includes playlist information of the first playlist and playlist information of multiple second playlists; the first electronic device receives a third play request from the third electronic device, where the third play request includes an identifier of the first playlist; in response to receiving the third play request, the first electronic device launches the first media application and controls the first media application to play the songs in the first playlist.

[0572] Exemplarily, in response to an operation of querying for recommended playlists on the third electronic device, the third electronic device obtains information about recommended playlists from the first electronic device, such as playlist information of the first playlist and multiple second playlists.

[0573] Exemplarily, in response to an operation of playing a first playlist on a third electronic device, the third electronic device sends a third play request to the first electronic device to trigger the first electronic device to start a first media application corresponding to the first playlist and control the first media application to play the songs in the first playlist.

[0574] In an alternative embodiment, the first electronic device displays a first interface, including: when the first electronic device is in the lit screen lock screen state, the first electronic device displays a lock screen interface. Exemplarily, as Figure 2 the lock screen interface shown in a of the figure, and a recommended first playlist is displayed on the lock screen interface.

[0575] In an alternative embodiment, the first electronic device displays a first interface, including: when the first electronic device is in the dim screen lock screen state, in response to an operation on the first electronic device, the first electronic device displays a lock screen interface. Exemplarily, the operation on the first electronic device may be an operation of picking up the mobile phone or an operation of double-tapping the display screen of the first electronic device.

[0576] In an alternative embodiment, the first electronic device displays a first interface, including: when the first electronic device is in the unlocked state, in response to an operation on the display screen of the first electronic device, the first electronic device displays a control center interface. Exemplarily, the operation on the display screen of the first electronic device may be an operation of swiping down from the top of the screen, or an operation of swiping up from the bottom of the screen, or an operation of swiping right from the left side of the screen, or an operation of swiping left from the right side of the screen.

[0577] In an alternative embodiment, the first electronic device displays a first interface, including: when the first electronic device is in the unlocked state, the first electronic device displays a first interface, and the first interface includes a first window, and a first playlist is displayed on the first window. Exemplarily, the first interface may be a main interface or any interface (such as the interface of any application installed on the first electronic device). Taking the first interface as the main interface as an example, the first window may be Figure 3 the notification bar 3011 shown in d or e of the figure, and a scene playlist provided by media application A is displayed on the notification bar 3011.

[0578] The above several embodiments show that when the first electronic device is in the first scenario and both the first media application and the second media application are in the unrunning state, the first electronic device can display a recommended first playlist on the lock screen interface, or the control center interface, or the notification bar popped up on any interface, facilitating the user to quickly trigger the playback of the songs in the pushed scene playlist.

[0579] An embodiment of the present application further provides an electronic device, which includes: one or more processors and a memory. The memory is coupled to the one or more processors. The memory is used to store computer program code, and the computer program code includes computer instructions. The one or more processors call the computer instructions to cause the electronic device to execute the steps of the mobile phone or the first electronic device in the foregoing method embodiment. The implementation principle and technical effect are similar to those of the foregoing related embodiments, and will not be elaborated herein.

[0580] An embodiment of the present application further provides a chip system, which is applied to an electronic device. The chip system includes one or more processors, and the one or more processors are used to call computer instructions to cause the electronic device to execute the steps of the mobile phone or the first electronic device in the foregoing method embodiment. The implementation principle and technical effect are similar to those of the foregoing related embodiments, and will not be elaborated herein.

[0581] An embodiment of the present application further provides a computer-readable storage medium, which includes computer instructions. When the computer instructions run on an electronic device, the electronic device is caused to execute the steps of the mobile phone or the first electronic device in the foregoing method embodiment. The implementation principle and technical effect are similar to those of the foregoing related embodiments, and will not be elaborated herein.

[0582] An embodiment of the present application further provides a computer program product, which includes computer program code. When the computer program code runs on an electronic device, the electronic device is caused to execute the steps of the mobile phone or the first electronic device in the foregoing method embodiment. The implementation principle and technical effect are similar to those of the foregoing related embodiments, and will not be elaborated herein.

[0583] The method described in the foregoing embodiments can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. If implemented in software, the functions can be stored as one or more instructions or code on a computer-readable medium or transmitted on a computer-readable medium. The computer-readable medium can include a computer storage medium and a communication medium, and can also include any medium that can transfer a computer program from one place to another. The storage medium can be any target medium accessible by a computer.

[0584] In some embodiments, a computer-readable medium may include RAM, ROM, a compact disc read-only memory (CD-ROM), or other optical disc storage, magnetic disk storage, or other magnetic storage devices, or any other medium that is targeted to carry or store the program code required in the form of instructions or data structures and that can be accessed by a computer. Moreover, any connection is properly termed a computer-readable medium. For example, if software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of the medium. As used herein, disk and disc include optical disc, laser disc, optical disc, digital versatile disc (DVD), floppy disk, and Blu-ray disc, where disks typically reproduce data magnetically, while discs reproduce data optically using lasers. Combinations of the above should also be included within the scope of computer-readable media.

[0585] Embodiments of the present application are described with reference to the flowcharts and / or block diagrams of methods, apparatuses (systems), and computer program products according to embodiments of 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 implemented by computer program instructions. These computer program instructions can be provided to the processing unit of a general-purpose computer, special-purpose computer, embedded processor, or other programmable device to generate a machine, such that the instructions executed by the processing unit of the computer or other programmable data processing device generate a means for implementing the specified functions in Figure 1 one or more of the flows or Figure 1 blocks or the combination of one or more blocks.

[0586] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present application are all information and data that have been authorized by the user or fully authorized by all parties, and the collection, use, and processing of the relevant data need to comply with relevant laws, regulations, and standards, and corresponding operation entrances are provided for the user to select authorization or rejection.

[0587] The above specific embodiments have further elaborated in detail the objectives, technical solutions and beneficial effects of the present invention. It should be understood that the above are only specific embodiments of the present invention and are not used to limit the protection scope of the present invention. Any modifications, equivalent substitutions, improvements, etc. made on the basis of the technical solutions of the present invention shall be included within the protection scope of the present invention.

Claims

1. A playlist recommendation method, characterized in that, Applied to a first electronic device, where the first electronic device is installed with a first media application and a second media application, the method includes: When the first electronic device is in a first scenario and both the first media application and the second media application are in an unrun state, the first electronic device displays a first interface, and the first interface includes a first card in a first form. A first control and a first playlist of the first media application are displayed on the first card, and the first playlist is a playlist related to the first scenario; In response to an operation on the first control, the first electronic device displays a second interface, and the second interface includes a second card and the first card in a second form; Multiple second playlists are displayed on the second card, and the multiple second playlists include playlists of the second media application. The multiple second playlists are displayed from near to far according to the playlist playback order, or from large to small according to the cumulative playback duration of the playlist within a preset period, or from large to small according to the playback frequency of the playlist within the preset period; A playback progress bar and / or a volume slider are displayed on the first card in the second form.

2. The method according to claim 1, wherein Before the first electronic device displays the first interface when the first electronic device is in a first scenario and both the first media application and the second media application are in an unrun state, the method further includes: The first electronic device receives a connection event from a second electronic device; In response to the connection event, the first electronic device determines that the first electronic device is in the first scenario; In response to determining that the first electronic device is in the first scenario, the first electronic device determines that both the first media application and the second media application are in an unrun state.

3. The method according to claim 2, wherein In response to determining that the first electronic device is in the first scenario, the first electronic device determines that both the first media application and the second media application are in an unrun state, including: In response to determining that the first electronic device is in the first scenario, the first electronic device determines that the identification information corresponding to the first scenario is a first identifier; The first identifier is used to indicate that the number of times the user listens to audio in the first scenario within the preset period is greater than or equal to a preset number of times; In response to determining that the identification information corresponding to the first scenario is the first identifier, the first electronic device determines that both the first media application and the second media application are in an unrun state.

4. The method according to claim 2 or 3, characterized in that The first electronic device receiving a connection event from a second electronic device includes: The intelligent service of the first electronic device receives the connection event from the second electronic device; In response to the connection event, the first electronic device determining that the first electronic device is in the first scenario includes: In response to the connection event, the intelligent service determines that the first electronic device is in the first scenario; In response to determining that the first electronic device is in the first scenario, the first electronic device determines that both the first media application and the second media application are in an unrun state, including: In response to determining that the first electronic device is in the first scenario, the intelligent service sends a first message to the audio recommendation management module of the first electronic device, and the first message includes an identifier of the first scenario; The audio recommendation management module queries from the media session service of the first electronic device that both the first media application and the second media application are in an unrun state.

5. The method according to any one of claims 1 to 4, wherein The first electronic device displays a first interface, including: The first electronic device queries playlist information corresponding to the first scenario, and the playlist information corresponding to the first scenario includes playlist information of the first playlist. The playlist information of the first playlist includes a playlist title, a playlist identifier, a playlist cover, and an identifier of the first scenario of the first playlist; After the first electronic device queries the playlist information corresponding to the first scenario, the first electronic device displays the first interface, and the first playlist is displayed on the first interface.

6. The method according to claim 5, wherein The first electronic device queries the playlist information corresponding to the first scenario, including: The first electronic device obtains playlist information corresponding to the identifier of the first scenario according to the identifier of the first scenario, and the playlist information corresponding to the identifier of the first scenario includes playlist information of the first playlist.

7. The method according to claim 5 or 6, characterized in that, The first electronic device queries the playlist information corresponding to the first scenario, including: The audio recommendation management module of the first electronic device sends a first query request to the media content providing module of the first electronic device, and the first query request includes an identifier of the first scenario; In response to receiving the first query request, the media content providing module sends a first query response to the audio recommendation management module, and the first query response includes playlist information corresponding to the first scenario; The first electronic device displays the first interface, including: The audio recommendation management module sends the playlist information corresponding to the first scenario to the system user interface UI of the first electronic device; In response to receiving the playlist information corresponding to the first scenario, the system UI displays the playlist corresponding to the first scenario on the first interface.

8. The method according to any one of claims 5 to 7, characterized in that The playlist information corresponding to the first scenario further includes playlist information corresponding to the first scenario provided by the second media application, and the method further includes: The first electronic device determines to push the first playlist of the first media application with the longest cumulative playback duration according to the cumulative playback duration of the media application within the preset period.

9. The method according to claim 8, wherein The first electronic device determines to push the first playlist of the first media application with the longest cumulative playback duration according to the cumulative playback duration of the media application within the preset period, including: The audio recommendation management module of the first electronic device determines to push the first playlist of the first media application with the longest cumulative playback duration according to the cumulative playback duration of the media application within the preset period.

10. The method according to any one of claims 5 to 9, characterized in that, Before the first electronic device queries the playlist information corresponding to the first scenario, the method includes: The first electronic device queries the screen status of the display, and the screen status of the display is the on-screen or locked-screen status.

11. The method according to claim 10, wherein the first electronic device querying the screen status of the display includes: the audio recommendation management module of the first electronic device obtains the screen status of the display screen from the screen management module of the first electronic device.

12. The method according to any one of claims 5 to 11, characterized in that, Before the first electronic device queries the playlist information corresponding to the first scenario, the method further includes: After the first electronic device detects a playback event of the first media application, the first electronic device receives the playlist information of the first media application, and the playlist information of the first media application includes the playlist title, playlist cover, time point when the playlist starts playing, and scenario identifier corresponding to the song being played; In response to receiving the playlist information of the first media application, the first electronic device stores the playlist information of the first media application.

13. The method according to claim 12, wherein The first electronic device receiving the playlist information of the first media application includes: the audio recommendation management module of the first electronic device receives the playlist information of the first media application; The first electronic device storing the playlist information of the first media application includes: the audio recommendation management module writes the playlist information of the first media application to the media content providing module of the first electronic device.

14. The method according to any one of claims 1 to 13, characterized in that, After the first electronic device displays the first interface, the method further includes: In response to an operation on the first playlist, the first electronic device starts the first media application and controls the first media application to play the songs in the first playlist; After the first electronic device displays the second interface, the method further includes: In response to an operation on the third playlist, the first electronic device starts the second media application and controls the second media application to play the songs in the third playlist; the third playlist is the playlist of the second media application among the multiple second playlists.

15. The method according to claim 14, wherein In response to an operation on the first playlist, the first electronic device starting the first media application and controlling the first media application to play the songs in the first playlist includes: In response to an operation on the first playlist, the system UI of the first electronic device sends a first playback request to the media session service of the first electronic device, and the first playback request includes the identifier of the first playlist; The media session service sends the first playback request to the first media application; In response to receiving the first playback request, the first media application starts and plays the songs in the first playlist.

16. The method according to claim 14 or 15, characterized in that In response to an operation on the first playlist, the first electronic device starting the first media application includes: In response to an operation on the first playlist, the first electronic device determines, according to the correspondence between the playlist identifier and the media application identifier pre-stored in the first electronic device, that the identifier of the first playlist corresponds to the first media application; The first electronic device starts the first media application; In response to an operation on the third playlist, the first electronic device launches the second media application, including: In response to an operation on the third playlist, the first electronic device determines, according to the correspondence between the playlist identifier and the media application identifier, that the identifier of the third playlist corresponds to the second media application; The first electronic device launches the second media application.

17. The method according to claim 16, wherein In response to an operation on the first playlist, the first electronic device determines, according to the correspondence between the playlist identifier and the media application identifier pre-stored in the first electronic device, that the identifier of the first playlist corresponds to the first media application, including: In response to an operation on the first playlist, the media session service of the first electronic device sends a second query request to the media content providing module of the first electronic device, where the second query request includes the identifier of the first playlist; The media content providing module determines, according to the pre-stored correspondence between the playlist identifier and the media application identifier, that the identifier of the first playlist corresponds to the first media application; The media content providing module sends a second query response to the media session service, where the second query response includes the identifier of the first media application corresponding to the identifier of the first playlist.

18. The method according to any one of claims 1 to 17, characterized in that, After the first electronic device displays the first interface, the method further includes: In response to an operation on the first playlist, the first electronic device displays a third interface, where the third interface includes a third card, and the third card displays information about the song being played in the first playlist; After the first electronic device displays the second interface, the method further includes: In response to an operation on the third playlist, the first electronic device displays a fourth interface, where the fourth interface includes a fourth card, and the fourth card displays information about the song being played in the third playlist.

19. The method according to any one of claims 14 to 18, characterized in that After the first electronic device launches the first media application and controls the first media application to play the songs in the first playlist, the method further includes: The first electronic device records the registration status of the media session corresponding to the first media application as registered, and updates the playback status of the media player to playing; After the first electronic device launches the second media application and controls the second media application to play the songs in the third playlist, the method further includes: The first electronic device records the registration status of the media session corresponding to the second media application as registered, and updates the playback status of the media player to playing.

20. The method according to any one of claims 1 to 19, characterized in that, In response to an operation on the first control, the first electronic device displays a second interface, including: In response to an operation on the first control, the system UI of the first electronic device sends a third query request to the media content providing module of the first electronic device; In response to receiving the third query request, the media content providing module sends a third query response to the system UI, where the third query response includes the playlist information of the multiple second playlists; In response to receiving the third query response, the system UI displays the second interface, and the multiple second playlists are displayed on the second interface.

21. The method according to any one of claims 1 to 20, characterized in that, After the first electronic device displays the first interface, the method further includes: The audio recommendation management module of the first electronic device starts a timer. After the timer times out, the audio recommendation management module sends a second notification message to the system UI of the first electronic device, and the second notification message is used to instruct the system UI to cancel the display of the first card in the first form.

22. The method according to any one of claims 2 to 21, characterized in that, After the first electronic device displays the first interface, the method further includes: The audio recommendation management module of the first electronic device receives a disconnection event of the second electronic device. In response to receiving the disconnection event of the second electronic device, the audio recommendation management module sends a third notification message to the system UI of the first electronic device, and the third notification message is used to instruct the system UI to cancel the display of the first card in the first form.

23. The method according to any one of claims 1 to 22, characterized in that, The method further includes: When the first electronic device is connected to the second electronic device, the first electronic device sends a second message to the second electronic device, and the second message includes the playlist information of the first playlist, and the second message is used to instruct the second electronic device to display the first playlist.

24. The method according to any one of claims 1 to 23, characterized in that, The method further includes: When the first electronic device is connected to the third electronic device, the first electronic device sends a third message to the third electronic device, and the third message is used to instruct the third electronic device to display a notification of playlist recommendation.

25. The method according to any one of claims 1 to 24, characterized in that The first electronic device displays the first interface, including any one of the following: When the first electronic device is in the screen-on and locked state, the first electronic device displays the lock screen interface. Or When the first electronic device is in the screen-off and locked state, in response to an operation on the first electronic device, the first electronic device displays the lock screen interface. Or When the first electronic device is in the unlocked state, in response to an operation on the display screen of the first electronic device, the first electronic device displays the control center interface. Or When the first electronic device is in the unlocked state, the first electronic device displays the first interface, and the first interface includes a first window, and the first playlist is displayed on the first window.

26. An electronic device, characterized in that, The electronic device includes: one or more processors and a memory. The memory is coupled to the one or more processors, and the memory is used to store computer program code, and the computer program code includes computer instructions, and the one or more processors call the computer instructions to cause the electronic device to execute the method according to any one of claims 1 to 25.

27. A chip system, characterized in that, The chip system is applied to an electronic device, and the chip system includes one or more processors, and the one or more processors are used to call computer instructions to cause the electronic device to execute the method according to any one of claims 1 to 25.

28. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes computer instructions that, when run on an electronic device, cause the electronic device to execute the method according to any one of claims 1 to 25.

29. A computer program product, characterized in that, The computer program product includes computer program code that, when run on an electronic device, causes the electronic device to execute the method according to any one of claims 1 to 25.

Citation Information

Patent Citations

  • Song display method and device, equipment and storage medium

    CN110245255A

  • Song recommendation method and system

    CN111694982A

  • Method, device and apparatus for recommending media data

    CN112269896A

  • Information display method and device, computer readable storage medium and electronic equipment

    CN112989104A