Song playing method and related equipment

By automatically skipping non-playable songs in wearable devices and ending playlists, the continuous listening problem caused by copyright or permission issues is solved, improving user experience and device efficiency.

CN119226544APending Publication Date: 2024-12-31HONOR DEVICE CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202310801003.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-30
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

When a wearable device plays a song, the song cannot be played due to copyright or permission issues, which affects the continuity of users' listening to the song, and the prior art is difficult to effectively solve the problem.

Method used

The wearable device automatically skips songs that are not allowed to play in the playlist, plays only songs that are allowed to play, and ends the playback when there is no song that is allowed to play in the playlist, avoiding manual operations by users.

Benefits of technology

It improves the user's continuity and experience of listening to songs, saves the energy consumption of the equipment, and avoids long-term waiting caused by songs that cannot be played.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119226544A_ABST
    Figure CN119226544A_ABST
Patent Text Reader

Abstract

The invention discloses a song playing method and related equipment. According to the song playing method, after the wearable device starts playing the songs in the playlist, in the process of playing the songs in the playlist in the first round of songs, the wearable device can prompt a user that the current song cannot be played when the songs which are not allowed to be played are played, and in the process of playing the songs in the next round of songs, the current song is not allowed to be played when the current song is not allowed to be played. The wearable device can automatically skip songs which are not allowed to be played and only play songs which are allowed to be played. In some embodiments of the application, if all songs in the playlist are not allowed to be played, the wearable device can stop playing after the first round of songs are played. According to the method, the user can obtain better song listening continuity and experience without performing corresponding operation on the wearable equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminal technology, and in particular to a song playing method and related equipment. Background Art

[0002] Compared with other types of electronic devices, the size and energy consumption of wearable devices (for example, smart watches, smart bracelets, etc.) are more limited, which will greatly affect the memory and performance of wearable devices, resulting in the memory and performance of wearable devices being far inferior to other types of electronic devices (for example, mobile phones, computers, etc.).

[0003] When a user uses a wearable device to play songs, there may be songs in the playlist that cannot be played due to copyright or user lack of permission (i.e. songs that are not allowed to be played). When playing the song that cannot be played, the wearable device can prompt that the current song cannot be played and switch to the next song after waiting for a period of time, or the user can trigger the switch to the next song. If multiple songs in the playlist cannot be played in a row, the wearable device will wait for a long time before switching to a playable song, which will cause the user to be unable to hear the song for a long time.

[0004] Therefore, how to more easily improve the continuity of users listening to songs is a problem that needs to be solved urgently. Summary of the invention

[0005] The present application provides a song playing method and related devices. According to the song playing method, after the wearable device starts playing songs in a playlist, during the first round of playing songs in the playlist, the wearable device can prompt the user that the current song cannot be played when playing a song that is not allowed to be played, and in each subsequent round of song playing, the wearable device can automatically skip the songs that are not allowed to be played and only play the songs that are allowed to be played. In some embodiments of the present application, if all songs in the playlist are not allowed to be played, the wearable device can stop playing after the first round of song playing is completed. This method allows users to obtain better continuity and experience in listening to songs without performing corresponding operations on the wearable device.

[0006] In a first aspect, the present application provides a song playing method. The method can be applied to wearable devices. The method may include: when the current round of song playing is completed for a playlist and the next round of song playing begins, and there are songs in the playlist that are authorized to play, if the default next song of the current song is a song that is authorized to play, the wearable device can switch to the default next song of the current song after the current song is played. If the default next song of the current song is a song that is not authorized to play, the wearable device can search for the next authorized song in the playlist in order, switch to the next authorized song after the current song is played, and play the next authorized song.

[0007] In the solution provided by the present application, when there are songs in the playlist that are authorized to be played, after the wearable device completes the current round of song playback and enters the next round of song playback, the songs in the playlist that are not authorized to be played can be skipped, and only the songs that are authorized to be played can be played. In other words, there may be songs in the playlist that are not authorized to be played, but the wearable device will not switch to the songs in the playlist that are not authorized to be played. With this method, the user does not need to manually skip the songs that are not authorized to be played, and this method can enable the user to obtain better listening continuity and experience without performing corresponding operations on the wearable device.

[0008] It can be understood that the specific meanings of "allowed to play" and "with permission to play" mentioned in this application are the same, and the specific meanings of "not allowed to play" and "without permission to play" mentioned in this application are the same.

[0009] In some embodiments of the present application, the wearable device can search for the next song with permission to play in the playlist in order, which can specifically include: the wearable device can search for the next song with permission to play in the playlist according to the play order of the current play mode. Specifically, if the default next song of the current song is a song that is not allowed to play, the wearable device can search for the default next song of the default next song of the current song in the playlist according to the play order of the current play mode. If the song is not allowed to play, the wearable device will search for the default next song of the song in the playlist according to the play order of the current play mode, and repeat this process until a song with permission to play is found.

[0010] In combination with the first aspect, in a possible implementation, the method may further include: when the first round of song playback for the playlist is completed and there are no songs in the playlist that are authorized to be played, the wearable device ends the playback of songs for the playlist; the first round of song playback refers to playing all the songs in the playlist in sequence once, starting from the starting song that triggers the playback of this round.

[0011] In the solution provided by the present application, if there are no songs in the playlist that are authorized to be played, the wearable device will not enter the next round of song playback after completing the first round of song playback, that is, it will not enter the second round of song playback. In this way, the wearable device can end the playback in time when there are no songs to play, instead of continuing to switch songs according to the current playback mode and prompting that the song cannot be played, which saves energy consumption of the wearable device and also brings a better listening experience to the user.

[0012] In combination with the first aspect, in a possible implementation, before the current round of song playback for the playlist is completed and the next round of song playback begins, the method may also include: the wearable device may switch to the first song during the first round of song playback for the playlist; the wearable device may determine whether the first song has permission to be played; if the first song has permission to be played, the wearable device may record the identifier corresponding to the first song. The wearable device searches for the next song with permission to be played in the playlist in order, which may specifically include: the wearable device may start from the default next song of the default next song of the current song, and search for the song with the corresponding identifier recorded according to the song playback order in the current playback mode, and set the earliest song with the corresponding identifier recorded as the next song with permission to be played.

[0013] It is understandable that the first song can be any song in the playlist. When the wearable device switches to the first song, the first song is the current song.

[0014] In the solution provided by the present application, the wearable device can record the identifier (i.e., song identifier) ​​corresponding to the song with permission to play during the first round of song playback, and determine whether the songs in the playlist have permission to play based on the recorded song identifier after completing the first round of song playback and entering the next round of song playback. Taking the example that the wearable device is ready to switch to the first song during the second round of song playback, the wearable device can determine whether the identifier corresponding to the first song is the song identifier recorded by the wearable device. If the identifier corresponding to the first song is the recorded song identifier, the wearable device can switch to the first song and play the first song. If the identifier corresponding to the first song is not the recorded song identifier, the wearable device can continue to determine in sequence whether the identifier corresponding to the default next song of the first song is the song identifier recorded by the wearable device, and repeat this process until a song with a corresponding identifier is found. The wearable device can set the song with the corresponding identifier recorded earliest when searching in sequence as the next song with permission to play, and switch to the next song with permission after the current song is played, and play the next song with permission.

[0015] It is understandable that the relevant description of the identifier corresponding to the song can be found in the following text and will not be elaborated here.

[0016] In combination with the first aspect, in a possible implementation, before the current round of song playback for the playlist is completed and the next round of song playback is entered, the method may also include: the wearable device may detect an operation that triggers the playback of the starting song of this playback, and in response to the operation that triggers the playback of the starting song of this playback, the wearable device may switch the playback mode to a single list playback mode; when the wearable device switches to the first song during the first round of song playback for the playlist, the wearable device may determine whether the first song has permission to play; when the first song has permission to play and the playback mode is a single list playback mode, the wearable device may switch the playback mode to a loop playback mode, and determine whether the default next song of the first song is the starting song of this playback; if the default next song of the first song is the starting song of this playback, the wearable device may complete the first round of song playback for the playlist and enter the next round of song playback. Among them, the single list playback mode refers to playing all the songs in the playlist once and then stopping. The loop playback mode refers to playing the songs in the playlist in sequence in a loop.

[0017] In the solution provided in the present application, after the wearable device triggers this playback, it can first switch the current playback mode to the single list playback mode, so that the playback can be ended in time when there are no songs with permission to play in the playlist. When the current playback mode is the single list playback mode, the wearable device can play songs in the order of the songs in the playlist. Once there are songs with permission to play in the playlist, the wearable device can switch the current playback mode to the loop playback mode, thereby indicating that there are songs with permission to play in the wearable device. After the wearable device completes the first round of song playback in the loop playback mode, it can enter the next round of song playback. In this way, the wearable device can keep the playback mode in the single list playback mode when there are no songs with permission to play in the playlist, so as to automatically end this playback after completing the first round of song playback, without the user manually pausing the playback, and the wearable device can automatically enter the next round of song playback when the current playback mode is the loop playback mode and the first round of song playback is completed, without judging whether there are songs with permission to play in the playlist. This method saves programs to a certain extent, and can implement playback solutions under different scenarios (for example, authorized playback exists in the playlist, and authorized playback does not exist in the playlist) based on the change of the playback mode.

[0018] It is understandable that the specific implementation of the above judgment logic can be found in the following text and will not be elaborated here.

[0019] In combination with the first aspect, in a possible implementation, after the wearable device determines whether the first song has permission to play, the method may also include: when the first song has permission to play and the playback mode is a loop playback mode, the wearable device determines whether the default next song of the first song is the starting song of this playback; if the default next song of the first song is the starting song of this playback, the wearable device completes the first round of song playback for the playlist and enters the next round of song playback.

[0020] In the solution provided in the present application, the playback mode being a loop playback mode can indicate that there are songs with permission to play among the songs that have been played. The wearable device can enter the next round of song playback after completing the first round of song playback in the loop playback mode. In this way, when the current playback mode of the wearable device is the loop playback mode and the first round of song playback is completed, it can automatically enter the next round of song playback without having to determine whether there are songs with permission to play in the playlist. This method saves programs to a certain extent, and playback solutions in different scenarios (for example, there are songs with permission to play in the playlist, and there are no songs with permission to play in the playlist) can be implemented based on changes in the playback mode.

[0021] In combination with the first aspect, in a possible implementation, after the wearable device determines whether the first song has permission to play, the method may also include: if the first song does not have permission to play, the wearable device determines whether the default next song of the first song is the starting song of this playback; if the default next song of the first song is the starting song of this playback, when the playback mode is the loop playback mode, the wearable device completes the first round of song playback for the playlist and enters the next round of song playback; when the playback mode is the single list playback mode, the wearable device ends the song playback for the playlist.

[0022] In the scheme provided by the present application, the play mode is a single list play mode, which can indicate that there are no songs with permission to play in the songs that have been played, and the play mode is a loop play mode, which can indicate that there are songs with permission to play in the songs that have been played. The wearable device ends the current play after completing the first round of song play in the single list play mode, however, the wearable device can enter the next round of song play after completing the first round of song play in the loop play mode. In this way, the wearable device can keep the play mode as a single list play mode when there are no songs with permission to play in the playlist, so as to automatically end the current play after completing the first round of song play, without the user manually pausing the play, and the wearable device can automatically enter the next round of song play when the current play mode is a loop play mode and the first round of song play is completed, without judging whether there are songs with permission to play in the playlist. This method saves programs to a certain extent, and can realize the play schemes under different scenarios (for example, there are songs with permission to play in the playlist, and there are no songs with permission to play in the playlist) based on the change of play mode.

[0023] In combination with the first aspect, in a possible implementation, the wearable device completes the first round of song playback for the playlist and enters the next round of song playback, which may specifically include: if the first preset condition is met, the wearable device may prompt that the first song is not authorized to be played, and switch to the default next song of the first song. The wearable device ends the playback of songs for the playlist, which may specifically include: if the second preset condition is met, the wearable device may prompt that the current playback is over, and after the prompt is completed, the first round of song playback is ended, and no longer switch to the default next song of the first song.

[0024] In the solution provided by the present application, if the first song is not allowed to be played, the wearable device can prompt the user that the first song cannot be played if the first preset condition is met. Similarly, the wearable device can prompt the user that the current playback is over if the second preset condition is met. In other words, only under certain conditions will the wearable device prompt the user that the song cannot be played or the current playback is over, which can meet the user's listening needs under certain conditions where they do not want to be disturbed.

[0025] In some embodiments of the present application, satisfying the first preset condition may specifically include: the wearable device is in a screen-on state. In some embodiments of the present application, satisfying the first preset condition may specifically include: the wearable device is in a screen-on state, and an application (e.g., a music application) that plays the first song in the wearable device is in a foreground running state.

[0026] In some embodiments of the present application, satisfying the second preset condition may specifically include: the wearable device is in a screen-on state. In some embodiments of the present application, satisfying the second preset condition may specifically include: the wearable device is in a screen-on state, and the application playing the first song in the wearable device is in a foreground running state.

[0027] In combination with the first aspect, in a possible implementation, satisfying the first preset condition may specifically include: the wearable device is in a screen-on state, and an application playing the first song in the wearable device is in a foreground running state.

[0028] In combination with the first aspect, in a possible implementation, satisfying the second preset condition may specifically include: the wearable device is in a screen-on state, and an application playing the first song in the wearable device is in a foreground running state.

[0029] In some embodiments of the present application, the first preset condition may be the same as the second preset condition. In some embodiments of the present application, the first preset condition may be different from the second preset condition.

[0030] In the solution provided by the present application, the wearable device can only give a corresponding prompt when the screen of the wearable device is on and the application playing the current song in the wearable device is in the foreground running state. This method can determine whether the user is paying attention to the playing of the current song by the screen on and off state of the wearable device and the running state of the current song. Once the wearable device meets the above conditions, the wearable device can determine that the user is paying attention to the playing of the current song and give a corresponding prompt to let the user obtain the playing of the current song. Under other conditions, the wearable device can determine that the user is not paying attention to the playing of the current song and does not give a corresponding prompt. This method can meet the user's listening needs who do not want to be disturbed under specific conditions.

[0031] In combination with the first aspect, in a possible implementation, the wearable device completes the first round of song playback for the playlist and enters the next round of song playback, which may specifically include: the wearable device completes the first round of song playback for the playlist, switches the playback mode to the filtering mode, and enters the next round of song playback. Wherein, when the playback mode of the wearable device is the filtering mode, the wearable device plays the authorized songs in the playlist in order.

[0032] In the scheme provided by the present application, the play mode is a loop play mode, which can indicate that there are songs with permission to play among the songs that have been played. After the wearable device completes the first round of song playback in the loop play mode, the play mode can be switched to the filter mode and enter the next round of song playback. The play mode is a filter mode, which can indicate that there are songs with permission to play in the playlist, and the wearable device can directly skip the songs without permission to play in the playlist in the filter mode, and only play the songs with permission to play. In this way, when the current play mode is a loop play mode and the first round of song playback is completed, the wearable device can switch the play mode to the filter mode, and automatically enter the next round of song playback without determining whether there are songs with permission to play in the playlist, and play based on the filter mode during the next round of song playback. This method saves programs to a certain extent, and can realize playback schemes under different scenarios (for example, there are songs with permission to play in the playlist, and there are no songs with permission to play in the playlist) and different song playback rounds (for example, the first round of song playback, the second round of song playback, etc.) based on the change of the play mode.

[0033] In a second aspect, the present application provides a wearable device, comprising: one or more memories, and one or more processors; the one or more memories are coupled to the one or more processors, 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 wearable device to perform the method described in the first aspect or any one of the implementations of the first aspect.

[0034] In a third aspect, the present application provides a computer storage medium, which includes computer instructions, and when the computer instructions are executed on a wearable device, the wearable device executes the method described in the first aspect or any one of the implementations of the first aspect.

[0035] In a fourth aspect, an embodiment of the present application provides a chip. The chip can be applied to a wearable device, and the chip includes one or more processors, and the processor is used to call computer instructions to enable the wearable device to execute the method described in the first aspect or any implementation of the first aspect.

[0036] In a fifth aspect, an embodiment of the present application provides a computer program product comprising instructions. When the computer program product is run on a wearable device, the wearable device executes the method described in the first aspect or any one of the implementations of the first aspect.

[0037] It is understandable that the wearable device provided in the second aspect, the computer storage medium provided in the third aspect, the chip provided in the fourth aspect, and the computer program product provided in the fifth aspect are all used to execute the method described in the first aspect or any one of the implementations of the first aspect. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects of any possible implementation in the first aspect, which will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 A flowchart of a song playing method provided in an embodiment of the present application;

[0039] Figure 2A-2J A set of user interface schematic diagrams provided for embodiments of the present application;

[0040] Figure 3 A flowchart of another song playing method provided in an embodiment of the present application;

[0041] Figure 4A A flowchart of another song playing method provided in an embodiment of the present application;

[0042] Figure 4B A flowchart of another song playing method provided in an embodiment of the present application;

[0043] Figure 5 A flowchart of another song playing method provided in an embodiment of the present application;

[0044] Figure 6 A schematic diagram of song playback provided in an embodiment of the present application;

[0045] Figure 7 A schematic diagram of another song playing method provided in an embodiment of the present application;

[0046] Figure 8 A schematic diagram of the hardware structure of a wearable device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0047] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in the text is only a description of the association relationship of the associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0048] It should be understood that the terms "first", "second", etc. in the specification, claims and drawings of the present application are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.

[0049] Reference to "embodiments" in this application means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described in this application may be combined with other embodiments.

[0050] According to the above, when a user uses a wearable device to play songs, there may be songs in the playlist that cannot be played due to lack of copyright or lack of user permission. When playing the song that cannot be played, the wearable device can prompt that the current song cannot be played and switch to the next song after waiting for a while, or the user can trigger the switch to the next song. If multiple songs in the playlist cannot be played in a row, the wearable device will wait for a long time before switching to a playable song, which will cause the user to be unable to hear the song for a long time.

[0051] For example, there are three songs in the current playlist of the wearable device, namely, song A, song B and song C. Among them, song B can be played, but song A and song C cannot be played. In this case, after the wearable device finishes playing song B and switches to song C, since song C cannot be played, the wearable device needs to give a prompt, that is, prompt that song C cannot be played. This prompt process takes 3 seconds (s). After the prompt is completed, the wearable device can switch to song A. Since song A cannot be played, the wearable device also needs to give a prompt, that is, prompt that song A cannot be played. This prompt process also takes 3s. After the prompt is completed, the wearable device can switch to play song B. This means that after the wearable device plays song B, there will be 6 seconds when the song cannot be played. During this process, the user cannot hear the music.

[0052] Based on the above content, the embodiment of the present application provides a song playing method and related equipment. According to the song playing method, the wearable device can detect the user operation that triggers the playing of the songs in the playlist. In response to the user operation, the wearable device starts to play the songs in the playlist. In the process of playing the songs in the playlist in the first round, the wearable device can prompt the user that the current song cannot be played when the song that is not allowed to be played is played. In each subsequent round of song playing, the wearable device can automatically skip the songs that are not allowed to be played and only play the songs that are allowed to be played. In some embodiments of the present application, if all the songs in the playlist are not allowed to be played, the wearable device can stop playing after the first round of song playing is completed. In some embodiments of the present application, when the wearable device plays a song that is not allowed to be played, if the wearable device is in the screen-on state and the foreground running state, the wearable device can display a corresponding prompt on the display screen. If the wearable device is in the screen-off state and / or the background running state, the wearable device can directly skip the song and switch to the next song. This method allows users to obtain better listening continuity and experience without performing corresponding operations on the wearable device.

[0053] A song playing method according to an embodiment of the present application is introduced below.

[0054] See also Figure 1 , Figure 1 This is a flowchart of a song playing method provided in an embodiment of the present application. The song playing method may include but is not limited to the following steps:

[0055] S1: The wearable device detects an operation of triggering song playback. In response to the operation of triggering song playback, the wearable device starts playing songs in the playlist.

[0056] The wearable device can detect an operation that triggers the playback of a song. In response to the operation that triggers the playback of a song, the wearable device can start playing songs in the playlist, that is, start playing the songs in the playlist. It can be understood that in this application, the first song that the wearable device is ready to play after starting to play songs in the playlist is recorded as the starting song for this playback.

[0057] In some embodiments of the present application, the operation of triggering song playback may specifically include: a user operation acting on a start playback control.

[0058] For example, the wearable device may display Figure 2A The user interface 10 shown in FIG. 1 may include a music application icon 10a. The wearable device may detect a user operation on the music application icon 10a. In response to the user operation, the wearable device may start the music application and display a music application. Figure 2B The user interface 20 shown. The user interface 20 can display a now playing control 20a, a local song control, and a favorite song control. Among them, the now playing control 20a is used to trigger the display of the playback interface corresponding to the song that was last switched in the music application when the music application was last exited. It can be understood that when the wearable device exits the music application, the last switched song may be in a playing state or in a paused state. The local song control is used to display local songs saved in the wearable device. The favorite song control is used to display favorite songs. The wearable device can detect the user operation acting on the now playing control 20a, and in response to the user operation, the wearable device can limit the following: Figure 2C The user interface 30 shown. The user interface 30 is the playback interface of song 1. It is understandable that song 1 is the song that the music application last switched to when the wearable device exited the music application for the last time. The user interface 30 may include a display area 30a, a control 30b for switching to the previous song, a control 30c for starting to play, a control 30d for switching to the next song, and a playlist control 30e. Among them, the display area 30a may display the name of the current song (i.e., song 1) and the name of the singer (i.e., singer1). The control 30b for switching to the previous song may be used to switch to playing the previous song. The control 30c for starting to play may be used to trigger playing the current song. The control 30d for switching to the next song may be used to switch to playing the next song. The playlist control 30e is used to trigger displaying a playlist. In some embodiments of the present application, the playlist control 30e may also be used to trigger displaying a playback mode. The wearable device may detect a control that acts on, for example, Figure 2C In response to the user operation on the start play control 30c, the wearable device may start preparing to play song 1 and display the following information: Figure 2D The user interface 40 shown. In this case, song 1 is the initial song played this time. It can be understood that the controls included in the user interface 30 are basically the same as the controls included in the user interface 40, except that the user interface 30 includes a start play control 30c, while the user interface 40 includes a pause play control 40a.

[0059] In some embodiments of the present application, the operation of triggering song playback may specifically include: a user operation acting on switching the previous song control or switching the next song control.

[0060] For example, the wearable device can detect the effect of Figure 2C In response to the user operation on the switch next song control 30d, the wearable device can switch and prepare to play the next song (i.e., song 2), and display the following: Figure 2EThe user interface 50 shown in FIG. 1 is a diagram showing a first song played in the current playback mode. The user interface 50 may include a display area 50a. The display area 50a may display the name of the current song (i.e., song 2) and the name of the singer (i.e., singer 2).

[0061] In some embodiments of the present application, the operation of triggering song playback may specifically include: user operations acting on corresponding positions in the playlist.

[0062] For example, the wearable device can detect the effect of Figure 2C In response to the user operation on the playlist control 30e shown in FIG. Figure 2F The user interface 60 shown in FIG. 60 may display icons corresponding to four play modes. The four play modes are loop play mode, single play list mode, single play loop mode, and filter mode. The loop play mode refers to loop play in the order of the songs in the play list. Figure 2F As shown, the current playback mode adopted by the wearable device is the loop playback mode. The single list playback mode refers to playing in the order of songs in the playlist, and stops playing after the entire playlist is played (that is, every song in the entire playlist is played). The single song loop playback mode refers to looping the current song. The filter mode refers to filtering out songs that are not allowed to be played in the playlist and then playing them in the order of songs in the playlist. It should be noted that the wearable device can also have other playback modes (for example, random playback mode, etc.), which is not limited in this application. The user interface 60 can also display the current song, that is, song 1. The user interface 60 can also display a playlist. As shown Figure 2F As shown, the first song in the playlist is song 5, and the second song is song 6. The wearable device can detect an upward sliding operation on the user interface 60, and in response to the upward sliding operation, the wearable device can display the following Figure 2G The user interface 70 is shown. It is understood that the wearable device can display more songs in the playlist. Figure 2G As shown in FIG. 1 , the third song in the playlist is song 1, the fourth song is song 2, and the fifth song is song 3. The user interface 70 may include a control 70a. The wearable device may detect a user operation on the control 70a, and in response to the user operation, the wearable device may switch and prepare to play song 6, and display the following information: Figure 2H The user interface 80 shown. In this case, song 6 is the initial song played this time.

[0063] It can be understood that the user operations involved in this application are not limited to operations such as clicking, voice control and gestures.

[0064] It can be understood that the "playing of a song" involved in this application has the same meaning as the "playing of a song" involved in this application.

[0065] In some embodiments of the present application, this playback refers to the playback process starting from the first time the song is triggered to play after the music application is started (for example, the first click on the start playback control after the music application is started) until the corresponding playback process is destroyed (for example, the music application is destroyed).

[0066] In some other embodiments of the present application, this playback refers to the playback process from the time when the music application is started to trigger the playback of the song (for example, clicking the start playback control when the music application is started) until the time when the song is triggered to stop playing (for example, clicking the pause playback control, opening other applications to pause the music playback, destroying the music application).

[0067] It is understood that the "music application" referred to in this application refers to an application used to play music in a wearable device. Figure 2A The music application icon 10a shown represents an application.

[0068] S2: After completing the current round of song playback for the playlist and entering the next round of song playback, and there are songs in the playlist that are allowed to be played, if the default next song of the current song is a song that is allowed to be played, the wearable device switches to the default next song of the current song after the current song is played. If the default next song of the current song is a song that is not allowed to be played, the wearable device searches for the next allowed song in the playlist in order, switches to the next allowed song after the current song is played, and plays the next allowed song.

[0069] It can be understood that completing the current round of song playback for the playlist and entering the next round of song playback can specifically mean: the wearable device completes the playback of the last song in the current round of song playback and prepares to enter the next round of song playback. In the case that the last song in the current round of song playback is allowed to play, the wearable device completes the playback of the song, which can specifically mean: the playback time of the song reaches the total playback time of the song. In the case that the last song in the current round of song playback is not allowed to play, the wearable device completes the playback of the song, which can specifically mean: the wearable device completes the corresponding prompt that the song is not allowed to play.

[0070] In a possible implementation, the wearable device completes the corresponding prompt that the song is not allowed to be played, which may specifically include: the wearable device prompts by displaying on its display screen that the song is not allowed to be played (for example, displaying "the song cannot be played") for a certain time (for example, 3 seconds). In a possible implementation, the wearable device completes the corresponding prompt that the song is not allowed to be played, which may specifically include: the wearable device prompts by broadcasting on a speaker that the song is not allowed to be played (for example, broadcasting "the song cannot be played") for a certain time (for example, 5 seconds).

[0071] In some embodiments of the present application, when the current round of song playback for the playlist is completed and the next round of song playback begins, the wearable device has not yet switched to the first song in the next round of song playback.

[0072] It is understandable that this round of song playing can be the Mth round of song playing. In this case, the next round of song playing is the M+1th round of song playing. Wherein, M is an integer not less than 1. For example, this round of song playing can be the 1st round of song playing (i.e., the first round of song playing). In this case, the next round of song playing is the 2nd round of song playing (i.e., the second round of song playing). It is understandable that the Mth round of song playing means: after the start of this play, the song starts to be played from the Mth time for the starting song of this play, and all the songs in the playlist are played once in sequence. For example, the first round of song playing means starting from the starting song that triggers the play of this play, and all the songs in the playlist are played once in sequence. It is understandable that the "in sequence" mentioned in this application refers to the play sequence according to the current play mode. The play sequence of songs in different play modes may be different. For example, the play sequence of the loop play mode is the arrangement order of the songs in the playlist. For example, the play sequence of the single list play mode is the arrangement order of the songs in the playlist. For example, the play sequence of the single song loop play mode is only for the songs currently played in a loop.

[0073] It is understood that the default next song of the current song specifically refers to: the default next song to be played after the current song is played (for example, the user manually clicks the switch next song control to switch songs, the automatic playback is completed, etc.). In other words, the next song of the current song obtained based on the play order of the current play mode is the default next song of the current song. It is understood that the "current song" involved in this application can be the song currently being prepared to be played, or it can be the song currently being played.

[0074] It can be understood that if the default next song of the current song is a song that is not allowed to be played, the wearable device searches for the next song that is allowed to be played in the play list in order, switches to the next song that is allowed to be played after the current song is played, and plays the next song that is allowed to be played. Specifically, it may include: if the default next song of the current song is a song that is not allowed to be played, the wearable device searches for the next song in the play order of the current play mode. If the next song is allowed to be played, the next song is the next song that is allowed to be played after the current song. If the next song is not allowed to be played, the wearable device continues to search for the next song of the next song in the play order of the current play mode, and repeats this process until a song that is allowed to be played is found, and the song that is allowed to be played is the next song that is allowed to be played after the current song.

[0075] In some embodiments of the present application, when entering the next round of song playback (at least the second round of song playback), the wearable device can obtain the identifiers (e.g., song IDs) corresponding to the songs that are allowed to be played recorded during the first round of song playback, and determine whether the identifier corresponding to the default next song of the current song has been recorded. If the identifier corresponding to the default next song of the current song has been recorded, the default next song of the current song is allowed to be played; if the identifier corresponding to the default next song of the current song has not been recorded, the default next song of the current song is not allowed to be played.

[0076] It is understandable that the identifier corresponding to the song can be a number, a character, a string, etc., and the present application does not limit its specific form. In some embodiments of the present application, the identifier corresponding to the song can be a song sequence number. In some other embodiments of the present application, the identifier corresponding to the song can be a song id.

[0077] In a possible implementation, the wearable device may record the identifiers corresponding to the songs allowed to be played during the first round of song playing in a list. The wearable device may save the storage path of the list so as to search the list based on the storage path of the list.

[0078] In some embodiments of the present application, when entering the next round of song playback (at least the second round of song playback), the wearable device can obtain relevant information about the default next song of the current song. For example, whether the default next song of the current song is copyright-free, whether membership permissions are required, whether payment is required, and whether the song file is damaged. The wearable device can determine whether the default next song of the current song is allowed to be played based on the relevant information of the default next song of the current song. For example, if the current song is copyright-free / the current song requires membership permissions and the user is not a member / the current song requires payment and the user has not paid / the current song file is damaged, the wearable device can determine that the current song is not allowed to be played.

[0079] In some embodiments of the present application, the wearable device can determine whether the current song is allowed to be played based on the song information corresponding to the current song.

[0080] In a possible implementation, the song information may include song permission information and song cache link information. The song permission information is used to indicate the play permission of the song. The song cache link information may be used to indicate the cache link of the song.

[0081] In some embodiments of the present application, the song information may also include a song serial number. It is understood that the song information may also include other information related to the song (e.g., song ID, total song file size, total song play time, song type, etc.), which is not limited in the present application.

[0082] In some embodiments of the present application, the song permission information may include the play permission category of the song.

[0083] In some embodiments of the present application, the song permission information may include an identifier corresponding to the playback permission category of the song.

[0084] In some embodiments of the present application, the play permission category may include no copyright, member play permission, paid play permission and play permission. In some other embodiments of the present application, no play permission and play permission.

[0085] In some embodiments of the present application, the song cache link information may include the cache link category of the song.

[0086] In some embodiments of the present application, the song cache link information may include an identifier corresponding to the cache link category of the song.

[0087] It is understandable that the song cache link information may also include a cache link corresponding to the song. The cache link corresponding to the song may be used to obtain the cache file corresponding to the song. In some embodiments of the present application, the cache link corresponding to the song may indicate the type of song, that is, whether the song is a complete song or a trial song. For example, if the cache link corresponding to the song contains shitng, it indicates that the song is a trial song, and if the cache link corresponding to the song contains wanzheng, it indicates that the song is a complete song.

[0088] In some embodiments of the present application, the cache link category may include a no-cache link, a complete song cache link, and a trial song cache link. It is understandable that the cache link category may indicate the type of song, that is, whether the song is a complete song or a trial song. It can also be understood that there is a corresponding relationship between the cache link category and the song type. Specifically, if the cache link category corresponding to the song is a complete song cache link, then the song is a complete song, that is, the song type corresponding to the complete song cache link is a complete song, however, if the cache link category corresponding to the song is a trial song cache link, then the song is a trial song, that is, the song type corresponding to the trial song cache link is a trial song.

[0089] It is understandable that the specific form of the identification involved in this application can be numbers, characters, etc., and this application does not impose any limitation on this.

[0090] In some embodiments of the present application, the wearable device can determine whether a song is allowed to be played based on the song permission information in the song information corresponding to the current song (ie, the song permission information corresponding to the current song).

[0091] Specifically, if the song permission information corresponding to the current song includes the play permission category of no copyright / member play permission / paid play permission / no play permission, the wearable device can determine that the current song is not allowed to be played. If the song permission information corresponding to the current song includes the play permission category of play permission, the wearable device can determine that the current song is allowed to be played.

[0092] In some embodiments of the present application, the wearable device can determine whether a song is allowed to be played based on the song cache link information in the song information corresponding to the current song (ie, the song cache link information corresponding to the current song).

[0093] Specifically, if the cache link category included in the song cache link information corresponding to the current song is a no-cache link, the wearable device can determine that the current song is not allowed to be played. If the cache link category included in the song cache link information corresponding to the current song is not a no-cache link, that is, the cache link category corresponding to the current song is a complete song cache link or a trial song cache link, the wearable device can determine that the current song is allowed to be played.

[0094] It is understandable that when entering the next round of song playback, the specific way in which the wearable device determines whether other songs are allowed to be played can refer to the specific implementation method in which it determines whether the default next song of the current song is allowed to be played, which will not be repeated here.

[0095] S3: When the first round of song playing for the playlist is completed and there are no songs in the playlist that are allowed to be played, the wearable device ends the song playing for the playlist.

[0096] It is understood that when the first round of song playback of the playlist is completed and there are no songs allowed to be played in the playback category, the wearable device can end the playback of songs for the playlist. In other words, the wearable device no longer enters the second round of song playback. Ending the playback of songs for the playlist can also be understood as ending this playback.

[0097] It is understandable that completing the first round of song playback for the playlist may specifically refer to: the wearable device completes the playback of the last song in the first round of song playback. In the case that the last song is allowed to play during the first round of song playback, the wearable device completes the playback of the song, which may specifically refer to: the playback time of the song reaches the total playback time of the song. In the case that the last song is not allowed to play during the first round of song playback, the wearable device completes the playback of the song, which may specifically refer to: the wearable device completes the corresponding prompt that the song is not allowed to play. It is understandable that the relevant description of the corresponding prompt can be referred to above and will not be repeated here.

[0098] It should be noted that, in some embodiments of the present application, the wearable device may only perform step S1 and step S2. In some other embodiments of the present application, the wearable device may only perform step S1 and step S3.

[0099] A specific implementation of the above embodiment is introduced below.

[0100] See also Figure 3 , Figure 3 This is a flowchart of a song playing method provided in an embodiment of the present application. The song playing method may include but is not limited to the following steps:

[0101] S101: The wearable device detects an operation that triggers song playback. In response to the operation that triggers song playback, the wearable device records the song number corresponding to the starting song of this playback, and switches the playback mode to a single list playback mode.

[0102] The wearable device can detect an operation that triggers song playback. In response to the operation that triggers song playback, the wearable device can record the song number corresponding to the starting song of this playback and switch the playback mode to a single list playback mode.

[0103] It is understood that the song number may refer to the arrangement number of the song in the playlist. The song number may be in the form of numbers, characters, etc., and this application does not limit this. It is understood that the single list play mode refers to playing in the order of the songs in the playlist, and stopping after the entire playlist is played.

[0104] In some embodiments of the present application, after the wearable device detects an operation to trigger the song to play, the play mode icon displayed on the display screen of the wearable device does not necessarily change. In a possible implementation, the original play mode of the wearable device is the loop play mode, and the play mode icon displayed on the display screen is the loop play mode icon (e.g. Figure 2C In this case, after executing step S102, the wearable device can determine whether to update the play mode icon displayed on the display screen according to the judgment result of step S102. Specifically, if the wearable device determines that the current song is allowed to be played, the play mode icon displayed on the display screen of the wearable device is a loop play mode icon (such as Figure 2C However, if the wearable device determines that the current song is not allowed to be played, the play mode icon displayed on the display screen of the wearable device can be changed to a single list play mode icon.

[0105] S102: The wearable device determines whether the current song is allowed to be played.

[0106] The wearable device may determine whether the current song is allowed to be played. If the wearable device determines that the current song is allowed to be played, the wearable device may execute steps S103, S106, and S107. If the wearable device determines that the current song is not allowed to be played, the wearable device may execute step S108. The current song may be a song currently being prepared for playing.

[0107] It can be understood that after the wearable device executes step S101, when step S102 is executed for the first time, the current song refers to the starting song of this playback.

[0108] It is worth noting that in some embodiments of the present application, after the wearable device executes step S107, the wearable device may execute step S102 again. In this case, the current song is not necessarily the starting song of this playback, and the current song may be any song in the playlist. Similarly, after the wearable device executes step S115, the wearable device may execute step S102 again. In this case, the current song is not necessarily the starting song of this playback, and the current song may be any song in the playlist.

[0109] It is understandable that the specific implementation method of the wearable device determining whether the current song is allowed to be played can refer to the relevant description of step S2, which will not be repeated here. It should be noted that during the first round of song playback by the wearable device, the wearable device cannot determine whether the current song is allowed to be played based on the recorded song identifier (i.e. the identifier corresponding to the song).

[0110] S103: When the play mode is the single play mode, the wearable device switches the play mode to the loop play mode.

[0111] If the wearable device determines that the current song is allowed to be played, then when the play mode is the single play mode, the wearable device can switch the play mode to the loop play mode. According to the above, the loop play mode refers to loop play in the order of the songs in the play list.

[0112] It should be noted that if the wearable device determines that the current song is allowed to be played, and the play mode is not the single play mode, the wearable device does not need to switch the play mode and can continue to execute step S104.

[0113] S104: The wearable device determines whether the next song is the starting song played this time based on the song sequence number corresponding to the starting song played this time.

[0114] After the wearable device determines that the current song is allowed to play, it can obtain the song information corresponding to the next song. The song information corresponding to the next song may include the song sequence number corresponding to the next song. The wearable device can compare whether the song sequence number corresponding to the starting song played this time is the same as the song sequence number corresponding to the next song. If the song sequence number corresponding to the starting song played this time is the same as the song sequence number corresponding to the next song, the wearable device can determine that the next song is the starting song played this time. In this case, the wearable device can execute step S105. If the song sequence number corresponding to the starting song played this time is different from the song sequence number corresponding to the next song, the wearable device can determine that the next song is not the starting song played this time. In this case, the wearable device waits for the current song to finish playing and switches to the next song (that is, complete step S107), and no other steps need to be performed before switching to the next song.

[0115] It is understandable that the wearable device can also adopt other methods to determine whether the next song is the starting song of this playback, and this application does not impose any restrictions on this.

[0116] In some embodiments of the present application, the song information corresponding to the next song may include the song id corresponding to the next song. The wearable device may compare whether the song id corresponding to the starting song played this time and the song id corresponding to the next song are the same. If the song id corresponding to the starting song played this time and the song id corresponding to the next song are the same, the wearable device may determine that the next song is the starting song played this time, otherwise, the wearable device may determine that the next song is not the starting song played this time. It is understandable that the song id can be used to identify the song. Different songs have different song ids. The song id may be in the form of a string, a number, etc., which is not limited by the present application.

[0117] In some embodiments of the present application, the wearable device can determine the total number of songs in the playlist, and determine whether the number of songs that the wearable device has switched to after switching to the current song is equal to the total number of songs in the playlist. If the number of songs that the wearable device has switched to after switching to the current song is equal to the total number of songs in the playlist, the wearable device can determine that the next song is the starting song of this playback, otherwise, the wearable device can determine that the next song is not the starting song of this playback.

[0118] In some embodiments of the present application, the wearable device can compare the file size of the next song with the file size of the starting song played this time. If the file size of the next song is the same as the file size of the starting song played this time, the wearable device can determine that the next song is the starting song played this time, otherwise, the wearable device can determine that the next song is not the starting song played this time.

[0119] S105: The wearable device switches the playback mode to the filtering mode.

[0120] If the wearable device determines that the next song is the starting song for this playback, the wearable device can switch the playback mode to the filtering mode. Specifically, the wearable device can switch the playback mode from the loop playback mode to the filtering mode. According to the above, the filtering mode refers to: filtering the songs that are not allowed to be played in the playlist, and playing them in the order in which the songs are arranged in the playlist. This means that after the first round of song playback is completed, the wearable device can switch the playback mode to the filtering mode, so that in subsequent playback, the songs that are not allowed to be played are directly skipped and only the songs that are allowed to be played are played.

[0121] It is understandable that the first round of song playback means: starting from the starting song of this playback, the songs in the playlist are played in the order of playback until every song in the entire playlist is played. It should be noted that for songs that are allowed to be played, completion of playback means: the wearable device plays the song until the playback time of the song reaches the total playback time corresponding to the song. However, for songs that are not allowed to be played, completion of playback means: the wearable device switches to the song and prepares to switch to the next song after determining that the song is not allowed to be played.

[0122] In some embodiments of the present application, when the wearable device is in filtering mode, the wearable device may display a filtering mode icon on the display screen. In some embodiments of the present application, after the wearable device switches to filtering mode, a corresponding prompt may be given (e.g., a corresponding prompt box is displayed on the display screen, announcing through a speaker, etc.), but the filtering mode icon is not displayed on the display screen.

[0123] S106: When the play mode is the loop play mode, the wearable device determines whether the next song is the start song of the current play based on the song sequence number corresponding to the start song of the current play.

[0124] When the play mode is the loop play mode, the wearable device can determine whether the next song is the starting song of the current play based on the song sequence number corresponding to the starting song of the current play. If the next song is the starting song of the current play, the wearable device can execute step S105. If the next song is not the starting song of the current play, the wearable device waits for the current song to finish playing and switches to the next song (that is, completes step S107), and no other steps need to be executed before switching to the next song.

[0125] S107: The wearable device plays the current song and switches to the next song after the current song is finished playing.

[0126] If the wearable device determines that the current song is allowed to play, the wearable device can enter the normal playing process, that is, the wearable device can play the current song and switch to the next song after the current song is played. It can be understood that after the wearable device switches to the next song, step S102 can be performed again, that is, it is determined again whether the current song (i.e., the switched song) is allowed to play.

[0127] S108: The wearable device determines whether the playback mode is a filtering mode.

[0128] When the wearable device determines that the current song is not allowed to be played, the wearable device can determine whether the play mode is a filtering mode, that is, determine whether the current play mode of the wearable device is a filtering mode. If the current play mode of the wearable device is a filtering mode, the wearable device can execute step S109, and if the current play mode of the wearable device is not a filtering mode, the wearable device can execute step S112.

[0129] S109: The wearable device switches to the next song.

[0130] If the wearable device determines that the current playback mode is the filtering mode, the wearable device can switch to the next song. In this case, the wearable device does not need to prompt that the current song is not allowed to be played.

[0131] S110: The wearable device determines whether the switched song is allowed to be played.

[0132] After the wearable device switches to the next song, it can determine whether the switched song is allowed to play. If the switched song is allowed to play, the wearable device can execute step S111. If the switched song is not allowed to play, the wearable device can execute steps S109 and S110 again, that is, switch to the next song again and determine whether the switched song is allowed to play.

[0133] It is understandable that the wearable device can obtain the song information corresponding to the switched song, and determine whether the switched song is allowed to be played based on the song information. The specific implementation method can be referred to above (such as step S2 and step S102), and this application will not go into details here.

[0134] S111: The wearable device plays the switched song, and switches to the next song after the switched song is finished playing.

[0135] If the wearable device determines that the switched song is allowed to be played, the wearable device can enter the normal playback process, that is, the wearable device can play the switched song and switch to the next song after the switched song is played.

[0136] It is understandable that after the wearable device executes step S111, step S110 can be executed again, that is, after the wearable device switches to the next song, it can determine whether the switched song is allowed to be played.

[0137] S112: The wearable device determines whether the next song is the starting song played this time based on the song sequence number corresponding to the starting song played this time.

[0138] If the wearable device determines that the play mode is not the filtering mode, the wearable device can determine whether the next song is the starting song of this play based on the song sequence number corresponding to the starting song of this play. The specific implementation method can refer to the above (such as step S104), and this application will not repeat it here. If the next song is the starting song of this play, the wearable device can execute steps S113 and S115, or execute step S114. If the next song is not the starting song of this play, the wearable device can execute step S115.

[0139] S113: When the playback mode is the loop playback mode, the wearable device switches the playback mode to the filtering mode.

[0140] When the wearable device determines that the current song is not allowed to be played and the play mode is not the filtering mode, if the wearable device determines that the next song is the starting song of this play, then, when the play mode is the loop play mode, the wearable device can switch the play mode to the filtering mode. In this case, the wearable device can continue to execute step S115.

[0141] S114: When the play mode is the single play mode, the wearable device prompts that the play is finished and no song is switched.

[0142] When the wearable device determines that the current song is not allowed to be played, and the playback mode is not in filtering mode, if the wearable device determines that the next song is the starting song for this playback, then, when the playback mode is in single list playback mode, the wearable device can prompt that the playback is over, and the wearable device will no longer switch songs. It is understandable that the specific form of prompting the end of this playback can be to display a corresponding prompt box on the display screen, or to broadcast through a speaker, and this application does not limit this. The relevant description of the prompt can be referred to above and below, and will not be repeated here.

[0143] S115: The wearable device prompts that the current song is not allowed to be played and switches to the next song.

[0144] When the wearable device determines that the current song is not allowed to be played, and the play mode is not the filtering mode, if the wearable device determines whether the next song is the starting song of the current play, then, when the play mode is the loop play mode, the wearable device can switch the play mode to the filtering mode, and prompt that the current song is not allowed to be played, and switch to the next song after the prompt is completed. It is understandable that after the wearable device switches to the next song, step S102 can be performed again, that is, determining again whether the current song (i.e., the switched song) is allowed to be played.

[0145] It is understandable that the present application does not restrict the order in which the wearable device switches the playback mode to the filtering mode and prompts that the current song is not allowed to be played.

[0146] In some embodiments of the present application, the wearable device prompts that the current song is not allowed to be played, and switches to the next song after the prompt is completed. Specifically, it may include: the wearable device prompts on the display screen that the current song is not allowed to be played, and switches to the next song when the prompt time reaches a certain time (for example, 5 seconds). In one possible implementation, the wearable device can prompt that the current song is not allowed to be played by displaying a toast on the display screen. In this case, the disappearance of the toast means that the prompt is completed, and at this time, the wearable device can switch to the next song.

[0147] It is understandable that toast is a simple message prompt box, and its Chinese meaning can be understood as a pop-up window. It should be noted that the display time of toast is limited and it can disappear automatically according to the set display time.

[0148] For example, Fig.2IAs shown, the wearable device can display a user interface 90. The user interface 90 may include a prompt box 90a. The prompt box 90a may display "The song cannot be played". It is worth noting that the display time of the prompt box 90a is 3s. In other words, the prompt box 90a will disappear after being displayed for 3s, and automatically switch to the next song of the current song. In some embodiments of the present application, the user can also choose to skip the display of the prompt box 90a and switch directly to the next song. It can be understood that whether the prompt box 90a automatically switches to the next song after being displayed for 3s, or the user chooses to skip the display of the prompt box 90a and switch directly to the next song, the disappearance of the prompt box 90a indicates that the prompt is completed.

[0149] In some embodiments of the present application, the wearable device prompts that the current song is not allowed to be played, and switches to the next song after the prompt is completed. Specifically, it may include: the wearable device announces through a speaker that the current song is not allowed to be played, and switches to the next song when the announcement time reaches a certain time (for example, 5 seconds).

[0150] It is understandable that the wearable device can also prompt that the current song is not allowed to be played in other ways, and this application does not limit this.

[0151] In some embodiments of the present application, when the wearable device prompts that the current song is not allowed to be played, the reason why the current song is not allowed to be played can be prompted. In a possible implementation, the wearable device can determine the specific reason why the current song is not allowed to be played (for example, no copyright, member song, paid song, etc.) based on the song permission information in the song information corresponding to the current song. Specifically, when the play permission category in the song permission information corresponding to the current song is no copyright, the wearable device can determine that the specific reason why the current song is not allowed to be played is no copyright, and make corresponding prompts. For example, the wearable device can display "The current song is no copyright, and play is not allowed" on the display screen. Similarly, when the play permission category in the song permission information corresponding to the current song is member play permission, and the user is not a member, the wearable device can determine that the specific reason why the current song is not allowed to be played is that the current song belongs to a member song, and make corresponding prompts. For example, the wearable device can display "The current song is a member song, and play is not allowed" on the display screen. Similarly, when the play permission category in the song permission information corresponding to the current song is paid play permission, and the user has not paid to purchase the current song, the wearable device can determine that the specific reason why the current song is not allowed to be played is that the current song belongs to a paid song, and make corresponding prompts. For example, the wearable device may display on the display screen that “the current song is a paid song and is not allowed to be played”.

[0152] In some embodiments of the present application, when the wearable device executes step S114 and step S115, it is also necessary to determine whether the wearable device is in a screen-on state or a screen-off state. If the wearable device is in a screen-on state, the wearable device can be prompted through the display screen when executing steps S114 and S115. For details, please refer to the above and will not be repeated here. However, if the wearable device is in a screen-off state, the wearable device does not need to display through the display screen when executing step S114, but directly ends the playback. Similarly, the wearable device does not need to display through the display screen when executing step S115, but directly switches to the next song.

[0153] In some embodiments of the present application, when the wearable device executes step S114 and step S115, it is also necessary to determine whether the wearable device is in a screen-on state or a screen-off state, and determine whether the application (e.g., a music application) that plays songs in the wearable device is stationary, that is, whether it is in the foreground running state. If the wearable device is in a screen-on state and in a foreground running state, the wearable device can be prompted through the display screen when executing steps S114 and S115. For details, please refer to the above and will not be repeated here. However, if the wearable device is in a screen-off state and / or in a background running state, the wearable device does not need to display through the display screen when executing step S114, but directly ends the playback. Similarly, the wearable device does not need to display through the display screen when executing step S115, but directly switches to the next song.

[0154] It is understandable that during the first round of song playback, the wearable device can execute steps S101 to S107, and steps S112 to S115. The specific process is as follows: Figure 4A As shown, the wearable device can execute step S101 and step S102. If the wearable device determines that the current song is allowed to be played when executing step S102, the wearable device can execute steps S103-S107 according to the specific situation. If the wearable device determines that the current song is not allowed to be played when executing step S102, the wearable device can execute steps S112-S115.

[0155] Understandably, according to Figure 3 The song playing method shown in the figure can be obtained: when there are songs in the playlist that are allowed to be played, the wearable device can switch the play mode to the filter mode before entering the second round of song playing. In each round of song playing after the first round of song playing, the wearable device can execute steps S101, S102, S107, and S109-S111. The specific process is as follows Figure 4BAs shown, the wearable device can execute step S101 and step S102. If the wearable device determines that the current song is allowed to be played when executing step S102, the wearable device can execute step S107. If the wearable device determines that the current song is not allowed to be played when executing step S102, the wearable device can execute steps S109 and step S110, and after executing step S110, execute step S111 according to different situations, and execute step S109 again.

[0156] It is understandable that the specific implementation methods of the above steps can be referred to above and will not be elaborated here.

[0157] Another specific implementation of the above embodiment is introduced below.

[0158] See also Figure 5 , Figure 5 This is a flowchart of a song playing method provided in an embodiment of the present application. The song playing method may include but is not limited to the following steps:

[0159] S201: The wearable device detects an operation that triggers song playback. In response to the operation that triggers song playback, the wearable device records the song number corresponding to the starting song of this playback, and switches the playback mode to a loop playback mode.

[0160] The wearable device can detect the operation of triggering the song playback. In response to the operation of triggering the song playback, the wearable device can record the song number corresponding to the starting song of the current playback and switch the playback mode to the loop playback mode. The relevant description of the song number and the loop playback mode can be referred to above and will not be repeated here.

[0161] S202: The wearable device determines whether the current song is allowed to be played.

[0162] The wearable device can determine whether the current song is allowed to be played. If the wearable device determines that the current song is allowed to be played, the wearable device can execute steps S203 and S205. If the wearable device determines that the current song is not allowed to be played, the wearable device can execute steps S206 and S207.

[0163] S203: The wearable device determines whether the next song is the starting song played this time based on the song sequence number corresponding to the starting song played this time.

[0164] If the wearable device determines that the next song is the starting song for this playback, the wearable device may execute step S204.

[0165] S204: The wearable device switches the playback mode to the filtering mode.

[0166] S205: The wearable device plays the current song and switches to the next song after the current song is finished playing.

[0167] It can be understood that the specific implementation of steps S201 to S205 can refer to the relevant descriptions of steps S101, S102, S104, S105 and S107, and will not be repeated here.

[0168] S206: When a is less than the total number of songs in the playlist played this time, the wearable device determines that a=a+1. The initial value of a is 0.

[0169] It is understandable that after starting this playback, the wearable device can count the songs in the playlist that have been switched to and are not allowed to be played. Specifically, if the wearable device determines that the current song is not allowed to be played, the wearable device can determine a=a+1 when a is less than the total number of songs in the playlist played this time. The initial value of a is 0.

[0170] It is understandable that the "playlist" referred to in this application refers to the playlist played this time.

[0171] S207: The wearable device determines whether the playback mode is a filtering mode.

[0172] S208: The wearable device switches to the next song.

[0173] S209: The wearable device determines whether the switched song is allowed to be played.

[0174] S210: The wearable device plays the switched song, and switches to the next song after the switched song is played.

[0175] S211: The wearable device determines whether the next song is the starting song played this time based on the song sequence number corresponding to the starting song played this time.

[0176] It can be understood that the specific implementation of steps S207 to S211 can refer to the relevant description of steps S108 to S112, which will not be repeated here.

[0177] S212: When a is less than the total number of songs in the playlist being played, the wearable device switches the play mode to the filter mode.

[0178] When the current song is not allowed to be played, the play mode is not the filtering mode, and the next song is the starting song of this play, if a is less than the total number of songs in the playlist being played, that is, the number of songs that are not allowed to be played in the playlist currently switched to is less than the total number of songs in the playlist, the wearable device can switch the play mode to the filtering mode.

[0179] S213: When a is equal to the total number of songs in the playlist being played, the wearable device prompts that the play is over and no song is switched.

[0180] In the case where the current song is not allowed to be played, the play mode is not the filtering mode, and the next song is the starting song of this play, if a is equal to the total number of songs in the playlist of this play, that is, the number of songs that are not allowed to be played in the playlist that has been switched to is equal to the total number of songs in the playlist, the wearable device can prompt the end of this play and no longer switch songs. In other words, after the wearable device switches to the last song in the first round of song playback, once all songs in the playlist are not allowed to be played, the wearable device can end this play after completing the first round of song playback and no longer enter the second round of song playback.

[0181] S214: The wearable device prompts that the current song is not allowed to be played and switches to the next song.

[0182] After the wearable device executes step S212, it may continue to execute step S214. It is understandable that the specific implementation of step S214 can refer to the relevant description of step S115, which will not be repeated here.

[0183] Below Figure 3 , Figure 4A-4B The song playing method shown is explained with specific examples.

[0184] For ease of description, this application records the number of songs in the playlist as m, and records the starting song to be played as song r, where m is a positive integer. Song r can be any song among the m songs in the playlist.

[0185] In some embodiments of the present application, all songs in the playlist of the wearable device are not allowed to be played. That is, all m songs in the playlist are not allowed to be played. In this case, the play mode of the wearable device is a single list play mode, and the wearable device stops playing after playing the songs in the playlist. Since all songs in the playlist are not allowed to be played, the wearable device can prompt that the songs are not allowed to be played when playing the songs in the playlist.

[0186] Specifically, the wearable device may execute steps S101, S102, S108, S112, and S115 after the user triggers the playback of song r. The wearable device may execute steps S102, S108, S112, and S115 when switching to the (m-2)th song played after song r. The wearable device may execute steps S102, S108, S112, and S114 when switching to the (m-1)th song played after song r (i.e., switching to the last song played during each round of song playback).

[0187] For example, there are three songs in the playlist of the wearable device. The three songs are: song 1, song 2 and song 3. Figure 2J As shown, the wearable device can display a user interface 100. User interface 100 is a playlist interface of the wearable device. The playlist contains three songs, Song 1, Song 2, and Song 3. User interface 100 may include a control 100a. Control 100a may be used to trigger the playback of Song 2. The wearable device may detect a user operation acting on control 100a. In response to the user operation, the wearable device may record the song sequence number corresponding to Song 2 and switch the playback mode to a single list playback mode. If the wearable device determines that Song 2 is not allowed to be played, since the playback mode is a single list playback mode, not a filtering mode, the wearable device may determine whether the next song of Song 2 is the starting song of this playback (i.e., Song 2). It is understandable that the next song of Song 2 is Song 3, which is not the starting song of this playback. In this case, the wearable device may prompt that Song 2 is not allowed to be played and switch to the next song, i.e., Song 3. After the wearable device switches to song 3, if it is determined that song 3 is not allowed to be played, since the playback mode is a single list playback mode, not a filtering mode, the wearable device can determine whether the next song of song 3 is the starting song of this playback (i.e., song 2). It is understandable that the next song of song 3 is song 1, which is not the starting song of this playback, so the wearable device can prompt that song 3 is not allowed to be played and switch to the next song, i.e., song 1. After the wearable device switches to song 1, if it is determined that song 1 is not allowed to be played, since the playback mode is a single list playback mode, not a filtering mode, the wearable device can determine whether the next song of song 1 is the starting song of this playback (i.e., song 2). It is understandable that the next song of song 1 is song 2, which is the starting song of this playback. Since the playback mode is a single list playback mode, the wearable device can prompt that the current playback is over. In this case, the wearable device can stop playing and no longer switch songs.

[0188] Understandably, the above process can refer to Figure 6 ,like Figure 6As shown, after the user triggers the wearable device to play song 2, the wearable device can prompt that song 2 cannot be played, and switch to song 3 after 3s of the prompt. After the wearable device switches to song 3, it can prompt that song 3 cannot be played, and switch to song 1 after 3s of the prompt. After the wearable device switches to song 1, it can prompt that song 1 cannot be played, and then end the current playback after the prompt ends. In this way, if there are no songs in the playlist that are allowed to be played, the wearable device can confirm that there are no songs in the current playlist that are allowed to be played after the first round of song playback, and end the playback without having to continue the second round of song playback, thereby reducing the energy consumption of the wearable device.

[0189] In some embodiments of the present application, there are songs in the playlist of the wearable device that are allowed to be played. That is, there is at least one song that is allowed to be played among the m songs in the playlist. In this case, after the wearable device switches to the song that is allowed to be played, the play mode can be switched to the loop play mode, and the wearable device can switch the play mode to the filter mode when switching to the last song in the first round of song playback. In this way, the wearable device can skip the songs that are not allowed to be played in the subsequent playback process and only play the songs that are allowed to be played. It can be understood that the next song after the last song in the playlist is song r.

[0190] Specifically, the wearable device may execute step S102, step S107, step S103-step S104 or step S106 when switching to a song in the playlist that is allowed to be played. Regardless of whether the last song in the playlist is allowed to be played, the wearable device may switch the play mode to the filter mode (for details, refer to step S105 and step S113). In this way, in the subsequent play process, since the play mode of the wearable device is the filter mode, the wearable device can skip the songs that are not allowed to be played and only play the songs that are allowed to be played.

[0191] For example, there are three songs in the playlist of the wearable device. Figure 2J As shown in FIG. 1 , the three songs are: Song 1, Song 2, and Song 3. The wearable device can detect the effect of Figure 2JThe user operation on the control 100a shown, in response to the user operation, the wearable device can record the song sequence number corresponding to song 2 and switch the play mode to a single list play mode. If the wearable device determines that song 2 is not allowed to be played, since the play mode is a single list play mode, not a filter mode, the wearable device can determine whether the next song of song 2 is the starting song of this play (i.e., song 2). It is understandable that the next song of song 2 is song 3, which is not the starting song of this play, then the wearable device can prompt that song 2 is not allowed to be played and switch to the next song, i.e., song 3. After the wearable device switches to song 3, if it is determined that song 3 is allowed to be played, since the play mode is a single list play mode, the wearable device can switch the play mode to a loop play mode. Then, the wearable device can determine whether the next song of song 3 is the starting song of this play (i.e., song 2). It is understandable that the next song of song 3 is song 1, which is not the starting song of this play, then the wearable device can play song 3 and switch to the next song, i.e., song 1, after the play is completed. After the wearable device switches to song 1, if it is determined that song 1 is not allowed to play, since the play mode is a loop play mode, the wearable device can determine whether the next song of song 1 is the starting song of this play (i.e., song 2) without switching the play mode. It is understandable that the next song of song 1 is song 2, which is the starting song of this play. Since the play mode is a loop play mode, the wearable device can switch the play mode to the filter mode, and prompt that song 1 is not allowed to play, and then switch to the next song (i.e., song 2), thereby starting the second round of song play. During the second round of song play, the wearable device can directly skip the songs that are not allowed to play (i.e., song 2 and song 1), and only play the songs that are allowed to play (i.e., song 3). After song 3 is played, the wearable device starts the third round of song play. It is understandable that the specific implementation method of the third round of song play is the same as that of the second round of song play. It is understandable that if there are no other factors that trigger the wearable device to stop playing (for example, the user clicks the pause play control), the wearable device can perform subsequent play according to the second round of song play and the third round of song play.

[0192] Understandably, the above process can refer to Figure 7 ,like Figure 7As shown, after the user triggers the wearable device to play song 2, the wearable device can prompt that song 2 cannot be played, and switch to song 3 after 3s of prompting. After the wearable device switches to song 3, it can play song 3, and switch to song 1 after song 3 is finished playing. After the wearable device switches to song 1, it can prompt that song 1 cannot be played. It is understandable that after the wearable device prompts that song 1 cannot be played (for example, after 3s of prompting), it means that the first round of song playback is over, and the wearable device can start the second round of song playback. During the second round of song playback, the wearable device can switch to song 3 and play song 3. In this case, song 3 is played, which means that the second round of song playback is over, and the wearable device can start the third round of song playback. Similar to the second round of song playback, during the third round of song playback, the wearable device can switch to song 3 and play song 3. It is understandable that if there is no other factor triggering the wearable device to stop playing (for example, the user clicks the pause play control), the wearable device can perform subsequent playback according to the second round of song playback and the third round of song playback.

[0193] The following is an introduction to the device involved in the embodiments of the present application.

[0194] Figure 8 A schematic diagram of the hardware structure of a wearable device provided in an embodiment of the present application.

[0195] like Figure 8 As shown, the wearable device may include a processor 101, a communication module 102, a sensor module 103, a charging management module 104, a power management module 1041, a battery 1042, a magnetic contact 105, an audio module 106, a speaker 106A, a receiver 106B, a microphone 106C, a display screen 107, a button 108 and a memory 109.

[0196] It is understandable that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the wearable device. It is understandable that the illustrated components can be implemented in hardware, software, or a combination of software and hardware. In some embodiments of the present application, the wearable device may include more components than illustrated. Exemplarily, the wearable device may include other types of sensors such as a temperature sensor. In some other embodiments of the present application, the wearable device may include fewer components than illustrated, or combine certain components, or split certain components, or arrange the components differently. The interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the wearable device.

[0197] The processor 101 may include one or more processing units, for example, the processor 101 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units may be independent devices or integrated in one or more processors.

[0198] In some embodiments of the present application, the processor 101 may include one or more interfaces. The interface may be used to connect the wearable device and the peripheral device. The interface may also be used to connect other electronic devices. For example, an AR device, etc.

[0199] The wearable device implements display functions through a GPU, a display screen 170 , and an application processor.

[0200] The GPU is a microprocessor for image processing, connected to the display screen 170 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 program instructions to generate or change display information. The display screen 170 is used to display images, videos, etc. In some embodiments, the wearable device may include one or more display screens 170.

[0201] The communication module 102 may include a mobile communication module 1021 and a wireless communication module 1022 .

[0202] The mobile communication module 1021 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied on wearable devices. The mobile communication module may include at least one filter, a switch, a power amplifier, a low noise amplifier (Low Noise Amplifier, LNA), etc. The mobile communication module can receive electromagnetic waves by an antenna, and filter, amplify, and process the received electromagnetic waves, and transmit them to a modulation and demodulation processor for demodulation. The mobile communication module can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna. In some embodiments, at least some of the functional modules of the mobile communication module may be arranged in a processor. In some embodiments, at least some of the functional modules of the mobile communication module may be arranged in the same device as at least some of the modules of the processor.

[0203] The wireless communication module 1022 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) network), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to wearable devices. The wireless communication module 1022 can be one or more devices integrating at least one communication processing module. The wireless communication module 1022 can receive electromagnetic waves via an antenna, frequency modulate and filter the electromagnetic wave signals, and send the processed signals to the processor 101. The wireless communication module 1022 can also receive the signal to be sent from the processor 101, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna.

[0204] In some embodiments of the present application, the wireless communication module 1022 may include at least a Bluetooth module. In some embodiments of the present application, the wearable device may establish a communication connection with other electronic devices (e.g., a smart phone, etc.) through the Bluetooth module in the wireless communication module 1022.

[0205] The sensor module 103 may include one or more sensors, which may be of the same type or of different types. Figure 8 As shown, the sensor module 103 may include a pressure sensor 103A, a gyro sensor 103B, an acceleration sensor 103C, a touch sensor 103D, a bone conduction sensor 103E, and a light sensor 103F, etc.

[0206] The pressure sensor 103A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 103A can be set on the display screen 107. When a touch operation is applied to the display screen 107, the wearable device detects the touch operation intensity according to the pressure sensor 103A. The wearable device can also calculate the touch position according to the detection signal of the pressure sensor 103A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions.

[0207] The gyro sensor 103B can be used to determine the motion posture of the wearable device. In some embodiments, the angular velocity of the wearable device around three axes (ie, x, y and z axes) can be determined by the gyro sensor 103B.

[0208] The acceleration sensor 103C can detect the magnitude of the acceleration of the wearable device in all directions (generally three axes). When the wearable device is stationary, the magnitude and direction of gravity can be detected. The acceleration sensor 103C can also be used to identify the posture of the wearable device, and is applied to applications such as horizontal and vertical screen switching, pedometers, etc.

[0209] The touch sensor 103D is also called a "touch panel". The touch sensor 103D can be arranged on the display screen 107, and the touch sensor 103D and the display screen 107 form a touch screen, also called a "touch screen". The touch sensor 103D is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 107. In other embodiments, the touch sensor 103D can also be arranged on the surface of the wearable device, which is different from the position of the display screen 107.

[0210] The bone conduction sensor 103E can obtain a vibration signal. In some embodiments of the present application, the bone conduction sensor 103E can also contact the human pulse to receive a blood pressure beat signal. In some embodiments, the application processor can parse the heart rate information based on the blood pressure beat signal obtained by the bone conduction sensor 103E to implement a heart rate detection function.

[0211] The light sensor 103F may include a light emitting diode and a photoelectric receiver. The wearable device may irradiate a beam of light into the human skin tissue through the light emitting diode in the light sensor 103F, and then convert the received light signal into an electrical signal through the photoelectric receiver. Since the blood flow of the human body changes periodically with the pulse, and the proportion of oxygenated red blood cells in the blood also changes with the pulse, their absorption degree of the incident light also changes periodically with the pulse, which is reflected in the fact that the received electrical signal also changes with the pulse at the receiving end. The light sensor 103F can obtain the heart rate in the above manner. The wearable device can also irradiate infrared light and red light to the finger at the same time through the light emitting diode, and then measure the absorption spectrum of the reflected light through the light sensor 103F. Since the oxygenated hemoglobin in the blood absorbs more red light and less infrared light, and hemoglobin absorbs more infrared light and less red light, the wearable device can measure the blood oxygen content in the above manner.

[0212] Understandable, Figure 8 The sensor module 103 shown is only an exemplary division method. There may be other division methods, which are not limited in this application.

[0213] The charging management module 104 is used to receive charging input from the charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 104 can receive charging input from the wired charger through the magnetic contact 105. In some wireless charging embodiments, the charging management module 104 can receive wireless charging input through the wireless charging coil of the wearable device. While the charging management module 104 charges the battery 1042, it can also power the wearable device through the power management module 1041. The magnetic contact 105 can also be understood as a magnetic sensor.

[0214] The audio module 106 is used to convert digital audio information into analog audio signal output, and also used to convert analog audio input into digital audio signal. The speaker 106A is used to convert audio electrical signal into sound signal. The receiver 106B is used to convert audio electrical signal into sound signal. The microphone 106C is used to convert sound signal into electrical signal.

[0215] The display screen 107 is used to display images, etc. The display screen 107 may include a display panel. The display panel may be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Mini LED, Micro LED, Micro-OLED, a quantum dot light-emitting diode (QLED), etc.

[0216] The key 108 may be a mechanical key or a touch key. The wearable device may receive key input and generate key signal input related to user settings and function control of the wearable device.

[0217] The memory 109 can be used to store computer executable program codes. The executable program codes include instructions. The processor 101 executes various functional applications and data processing of the wearable device by running the instructions stored in the memory 109. The memory 109 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image and video playback function, etc.). The data storage area can store data created during the use of the wearable device (such as audio data, a phone book, etc.), etc.

[0218] In some embodiments of the present application, the memory 109 may include one or more random access registers (Random Access Memory, RAM) and one or more non-volatile memories (non-volatile memory, NVM). The random access memory can be directly read and written by the processor 101, and can be used to store executable programs (e.g., machine instructions) of the operating system or other running programs, and can also be used to store user and application data, etc. The non-volatile memory can also store executable programs and store user and application data, etc., and can be loaded into the random access memory in advance for direct reading and writing by the processor 101.

[0219] In some embodiments of the present application, the code for implementing the method provided in the embodiments of the present application may be stored in a non-volatile memory. When running a music application, the wearable device may load the executable code stored in the non-volatile memory into a random access memory.

[0220] It is understandable that in some embodiments of the present application, the wearable device may include a motor. The motor can generate a vibration prompt. For example, the motor can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. The motor can also correspond to different vibration feedback effects for touch operations acting on different areas of the display screen 107. Different application scenarios (for example: time reminders, receiving information, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization. The wearable device may also include an indicator. The indicator may be an indicator light, which can be used to indicate the charging status, power changes, messages, missed calls, notifications, etc.

[0221] It should be noted that the embodiments of the present application provide Figure 8 The hardware structure diagram of the wearable device shown is only an example and should not be regarded as a limitation to the present application.

[0222] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A song playing method, characterized in that: Applied to a wearable device, the method comprises: After completing the current round of song playback for the playlist and entering the next round of song playback, and there are songs in the playlist that are authorized to play, if the default next song of the current song is a song that is authorized to play, the wearable device switches to the default next song of the current song after the current song is played; if the default next song of the current song is a song that is not authorized to play, the wearable device searches for the next song that is authorized to play in the playlist in order, switches to the next song that is authorized to play after the current song is played, and plays the next song that is authorized to play.

2. The method according to claim 1, characterized in that The method further comprises: When the first round of song playback for the playlist is completed and there are no songs in the playlist that are authorized to be played, the wearable device ends the playback of songs for the playlist; the first round of song playback refers to playing all the songs in the playlist in sequence once, starting from the starting song that triggers the playback of this round of song playback.

3. The method according to claim 1 or 2, characterized in that Before completing the current round of song playing for the playlist and entering the next round of song playing, the method further includes: The wearable device switches to the first song during the first round of song playback of the playlist; The wearable device determines whether the first song has permission to be played; If the first song has permission to be played, the wearable device records an identifier corresponding to the first song; The wearable device searches the playlist for the next song that has permission to play in order, specifically including: The wearable device starts from the default next song of the current song, searches for songs with recorded corresponding identifiers according to the song playing order in the current playing mode, and sets the earliest found song with recorded corresponding identifiers as the next song with permission to play.

4. The method according to any one of claims 1 to 3, characterized in that Before completing the current round of song playing for the playlist and entering the next round of song playing, the method further includes: The wearable device detects an operation of triggering the playing of a starting song of the current playback, and in response to the operation of triggering the playing of the starting song of the current playback, the wearable device switches the playing mode to a single play list mode; When the wearable device switches to a first song during a first round of song playback for the playlist, the wearable device determines whether the first song has permission to be played; If the first song has permission to be played and the play mode is the single play mode, the wearable device switches the play mode to the loop play mode, and determines whether the default next song of the first song is the starting song of the current play; If the default next song of the first song is the starting song of the current playback, the wearable device completes the first round of song playback for the playlist and enters the next round of song playback; Among them, the single list play mode refers to playing all the songs in the playlist once and then stopping; the loop play mode refers to playing the songs in the playlist in sequence in a loop.

5. The method according to claim 4, characterized in that After the wearable device determines whether the first song has permission to be played, the method further includes: When the first song has permission to be played and the play mode is the loop play mode, the wearable device determines whether the default next song of the first song is the start song of the current play; If the default next song of the first song is the starting song of the current playback, the wearable device completes the first round of song playback for the playlist and enters the next round of song playback.

6. The method according to claim 4 or 5, characterized in that After the wearable device determines whether the first song has permission to be played, the method further includes: If the first song is not authorized to be played, the wearable device determines whether the default next song of the first song is the starting song of the current playback; If the default next song of the first song is the starting song of this playback, when the playback mode is the loop playback mode, the wearable device completes the first round of song playback for the playlist and enters the next round of song playback; when the playback mode is the single list playback mode, the wearable device ends the song playback for the playlist.

7. The method according to any one of claims 4 to 6, characterized in that The wearable device completes the first round of song playing for the playlist and enters the next round of song playing, specifically including: If the first preset condition is met, the wearable device prompts that the first song is not authorized to be played, and switches to the default next song of the first song; The wearable device ends playing the songs in the playlist, specifically including: If the second preset condition is met, the wearable device prompts that the current playback is over, and ends the first round of song playback after the prompt is completed, and no longer switches to the default next song of the first song.

8. The method according to claim 7, characterized in that The first preset condition is the same as the second preset condition; satisfying the first preset condition specifically includes: the wearable device is in a screen-on state, and the application playing the first song in the wearable device is in a foreground running state.

9. The method according to any one of claims 4 to 8, characterized in that The wearable device completes the first round of song playing for the playlist and enters the next round of song playing, specifically including: The wearable device completes the first round of song playback for the playlist, switches the playback mode to the filtering mode, and enters the next round of song playback; Wherein, when the play mode of the wearable device is the filtering mode, the wearable device plays the authorized songs in the playlist in sequence.

10. A wearable device, comprising one or more memories and one or more processors, characterized in that: The memory is used to store a computer program; the processor is used to call the computer program so that the wearable device executes the method according to any one of claims 1 to 9.

11. A computer storage medium, characterized in that: include: Computer instructions; when the computer instructions are executed on a wearable device, the wearable device executes the method according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Audio playing control method and terminal device

    CN108735239A

  • Mechanism to handle interrupted playback experience media items in playlists

    CN112287133A

  • Audio playing method and device, equipment, storage medium and program product

    CN115309691A

  • Apparatus and method for skipping songs without delay

    WO2004055637A2