Media playing method, electronic equipment and system

By obtaining media data from resource-providing devices and selecting target playback devices through the whole-house smart host or smart gateway, the problem of poor playback effects caused by playback device performance and network quality in the whole-house smart system is solved, and efficient media playback and fast response are achieved.

CN120658917APending Publication Date: 2025-09-16HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410298990.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-14
Publication Date
2025-09-16

AI Technical Summary

Technical Problem

In the whole-house smart system, the music playback effect is poor due to reasons such as the performance of the playback equipment and the network quality.

Method used

The target media data is obtained from the resource providing device through the whole-house smart host or smart gateway, and the suitable target playback device is determined from multiple playback devices and the target media data is sent to it to ensure efficient playback.

Benefits of technology

It improves the intelligence of media playback, enhances playback quality, and reduces data transmission paths, thereby speeding up the response speed of media on demand.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120658917A_ABST
    Figure CN120658917A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a media playing method, electronic equipment and a system. In the method, a first terminal device can generate a target media request message in response to a first operation of a user, and send the target media request message to a first electronic device; according to the embodiment of the invention, the first electronic device can obtain the data of the target media from the resource providing device according to the identifier of the target media in the target media request message, determine the target playing device used for playing the data of the target media from the plurality of playing devices, and send the data of the target media to the target playing device. And the target playing device can play the data of the target media. According to the technical scheme, when a user plays the media on demand on the first terminal equipment, the first electronic equipment can obtain the media data from the resource providing equipment and determine the target playing equipment suitable for playing the current media, so that the intelligent degree of media playing can be improved, and the effect of playing the target media is better.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of whole-house intelligence, and more specifically, to a method, electronic device, and system for playing media. Background Art

[0002] Currently, with the rapid development of intelligent devices, users have the need to build a whole-home smart system. For example, if a user owns multiple smart speakers, they can build a whole-home smart music system, allowing users to listen to high-quality music anywhere in the house.

[0003] Generally speaking, a user's home may include multiple playback devices. When a user plays music on demand, the user specifies the playback device to play the music, so that the playback device can play the music according to the user's specification.

[0004] However, in some cases, due to factors such as the performance of the playback device and the quality of the network, the music playback effect may be poor. Summary of the Invention

[0005] This application provides a method, electronic device, and system for playing media. This technical solution allows a user to play media from different media providers on demand in a display interface for media on demand on a terminal device. The electronic device can determine a target playback device suitable for playing the current media from multiple playback devices and send the target media data to the target playback device so that the target playback device can play the target media.

[0006] In a first aspect, a method for playing media is provided, which is applied to a first electronic device and includes: receiving a target media request message sent by a first terminal device, wherein the target media request message includes an identifier of the target media; obtaining data of the target media from a resource providing device based on the identifier of the target media; determining a target playback device from at least one playback device, wherein the target playback device is used to play the data of the target media; and sending the data of the target media to the target playback device.

[0007] Exemplarily, the first electronic device may be a whole-house smart host, or a smart gateway, a router, etc. The first terminal device may be a central control panel, a central control screen, a smart phone, etc.

[0008] The resource providing device may include a server, a local storage device, etc. It should be understood that the local storage device may include a memory card.

[0009] The target media may include music, video, dynamic picture, text, etc.

[0010] The playback device may include speakers, smart screens, smart TVs, etc.

[0011] Based on the embodiment of the present application, the first electronic device can receive a target media request message sent by the first terminal device, and obtain the target media data from the resource providing device according to the identifier of the target media in the target media request message, and determine the target playback device for playing the target media data from multiple playback devices, and send the target media data to the target playback device so that the target playback device can play the target media data.

[0012] In this way, when the user orders media on the first terminal device, the first electronic device can obtain media data from the resource providing device and determine the target playback device suitable for playing the current media, thereby improving the intelligence of media playback and making the playback effect of the target media better.

[0013] In addition, the first electronic device obtains the target media data and sends it to the target playback device, which can reduce the data transmission path and thus improve the response speed of media on demand.

[0014] In combination with the first aspect, in an implementation manner of the first aspect, determining the target playback device from the multiple playback devices includes: determining the target playback device from the at least one playback device based on a preset rule.

[0015] Based on the embodiment of the present application, the first electronic device can determine the target playback device from multiple playback devices based on a preset rule. This technical solution is beneficial for the first electronic device to determine the target playback device.

[0016] It should be understood that the preset rule may be pre-stored in the first electronic device or set by the user.

[0017] In combination with the first aspect, in an implementation of the first aspect, determining the target playback device from the multiple playback devices based on a preset rule includes: determining the target playback device according to playback capabilities of the multiple playback devices.

[0018] For example, the playback capability of a playback device may be related to the performance of the playback device. For some playback devices with stronger performance, their playback capability is also stronger, for example, they can play higher-quality media.

[0019] In some embodiments, the first electronic device may select a playback device with the strongest playback capability as the target playback device, or the first electronic device may select a playback device with playback capability matching the quality of the current media as the target playback device.

[0020] Based on the embodiment of the present application, the first electronic device can determine the target playback device according to the playback capability of at least one playback device, so that the target playback device can be suitable for playing the target media.

[0021] In combination with the first aspect, in an implementation of the first aspect, determining the target playback device from the multiple playback devices based on preset rules includes: determining the target location of the user; and determining the playback device in the area space where the target location is located as the target playback device.

[0022] It should be understood that the embodiments of the present application do not limit the specific implementation method of how the first electronic device determines the target location of the user. For example, the first electronic device may determine the user's location based on the location of the first terminal device, or may determine the user's location based on cameras throughout the house, or may determine the user's location based on anti-counterfeiting sound source localization.

[0023] For example, the user's location area space can be the master bedroom, living room, dining room, etc.

[0024] Based on the embodiment of the present application, the first electronic device can determine the playback device in the area where the user's target location is located as the target playback device, so that the playback device around the user can be used to play the target media requested by the user, which is more in line with the user's media on demand needs.

[0025] In combination with the first aspect, in an implementation of the first aspect, determining the target playback device from the multiple playback devices based on a preset rule includes: determining the target playback device from the multiple playback devices according to historical playback records.

[0026] Based on the embodiment of the present application, the first electronic device can determine the target playback device from multiple playback devices according to historical playback records.

[0027] In combination with the first aspect, in an implementation of the first aspect, determining the target playback device from the multiple playback devices based on historical playback records includes: determining the playback device that last played the media as the target playback device.

[0028] Based on the embodiment of the present application, the first electronic device can determine the playback device that last played the media as the target playback device, so that the user can continue to play.

[0029] In other examples, the first electronic device may also use a playback device that the user frequently plays on as the target playback device, or may randomly select a playback device as the target playback device, etc., which is not limited in this embodiment of the present application.

[0030] In combination with the first aspect, in an implementation of the first aspect, the target media request message also includes an identifier of the target playback device, wherein determining the target playback device from multiple playback devices includes: determining the playback device corresponding to the identifier of the target playback device as the target playback device.

[0031] Based on the embodiment of the present application, the target media request message may further include an identifier of the target playback device, so that the first electronic device can determine the target playback device.

[0032] The identifier of the target playback device may be selected by the user when playing media on demand, or the identifier of the target playback device may be selected by default by the first terminal device, which is not limited in this embodiment of the present application.

[0033] In combination with the first aspect, in an implementation manner of the first aspect, the identifier of the target playback device is specified by a user, or the identifier of the target playback device is determined by the first terminal device.

[0034] This technical solution helps the first electronic device to quickly determine the target playback device, thereby improving the response speed of media on demand.

[0035] In combination with the first aspect, in an implementation of the first aspect, the method further includes: adapting the data of the target media to obtain adapted target data; sending the data of the target media to the target playback device, including: sending the adapted target data to the target playback device.

[0036] Based on the embodiment of the present application, the first electronic device can also perform adaptive processing on the data of the target media, so as to obtain target data that is suitable for playback by the target playback device.

[0037] In this way, the first electronic device can adapt the target media data to obtain target data suitable for playback by the playback device, thereby reducing the transmission path of the target data, thereby reducing the transmission delay and increasing the speed of media playback. Furthermore, the copyright media provider's cloud server is prevented from processing the target media data, thereby reducing the computing load and power consumption of the copyright media provider's cloud server.

[0038] In combination with the first aspect, in an implementation of the first aspect, the types of the target playback devices include a first type and a second type, the performance of the target playback devices of the first type is higher than the performance of the target playback devices of the second type, wherein the adapting processing of the data of the target media to obtain the adapted target data includes: adapting the data of the target media according to the type of the target playback device to obtain the adapted target data, wherein the quality of the target media obtained by adapting the target playback devices of the first type is higher than the quality of the target media obtained by adapting the target playback devices of the second type.

[0039] Exemplarily, the first type of target playback device has stronger hardware and can play higher quality media, and the second type of target playback device has weaker hardware and can play lower quality media.

[0040] It should be understood that when the media is music, the quality can also be referred to as the sound quality of the audio, or the sound quality of the music, etc. When the media is video, the quality can be the definition of the video, such as 480P, 1080P, etc.

[0041] Based on the embodiments of the present application, the first electronic device can adapt differently to different types of playback devices, so as to obtain media with a quality that meets the performance of the playback device, thereby meeting the media playback needs when the user has multiple playback devices with different performances.

[0042] In combination with the first aspect, in an implementation of the first aspect, the adapting the data of the target media to obtain the adapted target data includes: adapting the data of the target media according to the network quality of the network in which the target playback device is located to obtain the adapted target data, wherein the quality of the target media obtained under the first network quality is higher than the quality of the target media obtained under the second network quality, and the first network quality is higher than the second network quality.

[0043] Based on the embodiment of the present application, the first electronic device adapts the data of the target media according to the network quality of the network where the target playback device is located to obtain target data that meets the current playback network quality conditions, so that the target music can be played smoothly when the network conditions are poor, and higher quality media can be played when the network conditions are good.

[0044] In combination with the first aspect, in an implementation method of the first aspect, the target media request message also includes first indication information that the quality of the target media is automatic quality, wherein the adapting processing of the target media data to obtain the adapted target data includes: adapting the target media data according to the first indication information and the network quality of the network in which the target playback device is located to obtain the target data of the target media with the optimal quality supported by the network quality.

[0045] For example, when a user plays media on demand, he or she may select automatic playback quality in the display interface. Then, the target media request message may further include first indication information for indicating that the quality of playing the target media is automatic quality.

[0046] Based on the embodiment of the present application, when the user chooses to play media of automatic quality, the first electronic device can select the target media data of the best quality based on the support of the current network quality, so that the target playback device can play higher quality media if the network quality allows.

[0047] In combination with the first aspect, in an implementation of the first aspect, the target media request message also includes second indication information of the quality of the target media, wherein the adapting processing of the target media data to obtain adapted target data includes: adapting the target media data according to the second indication information to obtain target data of the quality indicated by the second indication information.

[0048] For example, the quality can be normal, lossless SQ, high quality, etc.

[0049] Based on the embodiment of the present application, after the user selects the corresponding quality, the first device can adapt to the target data of the target media at the corresponding quality, thereby meeting the user's different playback needs.

[0050] In combination with the first aspect, in an implementation of the first aspect, the method further includes: receiving information on playing the target media sent by the target playback device, the information on playing the target media including at least one of the playback status, playback information, playback mode or data of the target media; and sending the information on playing the target media to the first terminal device.

[0051] Exemplarily, the playback status may be play, pause, volume, etc., the playback information may include singer, cover, lyricist, composer or lyrics, etc., and the playback mode may include single loop, list loop, random play, etc.

[0052] In other examples, the first terminal device may also query the first electronic device for information about the target media to be played. For example, when the first terminal device displays a display interface for media on demand, the first terminal device may be triggered to query the first electronic device for information about the target media to be played.

[0053] Based on the embodiment of the present application, the first electronic device can receive information about the target media to be played sent by the target playback device, and can send information about the target media to the first terminal device, so that when the user has multiple first terminal devices, the information about the target media displayed in the multiple first terminal devices is the same, and the user can control the currently playing media in any one of the first terminal devices.

[0054] In combination with the first aspect, in an implementation manner of the first aspect, the resource providing device includes a server or a local storage device.

[0055] It should be understood that the local storage device may also include a memory card.

[0056] In combination with the first aspect, in an implementation of the first aspect, the method further includes: receiving a control instruction sent by the first terminal device, where the control instruction is used by the target playback device to control the target media; and sending the control instruction to the target playback device.

[0057] For example, the control instruction can be used to control playback pause, switch to the next song, fast forward, etc.

[0058] Based on the embodiments of the present application, the user can conveniently control the currently playing target media in any first terminal device.

[0059] In combination with the first aspect, in an implementation of the first aspect, the target playback device includes a first target playback device and a second target playback device, wherein the target media played by the first target playback device is the same as or different from the target media played by the second target playback device.

[0060] In some cases, a user may have multiple playback devices, and the first electronic device may send target media data to the multiple target playback devices, allowing the multiple target playback devices to play the same media at the same time, or allowing the multiple target playback devices to cooperate with each other to play different parts of the same target media to create a better playback effect, etc.

[0061] In a second aspect, a system is provided, which includes a first terminal device and a first electronic device, wherein the first terminal device is used to: generate a target media request message in response to a first operation of a user in a first display interface, the target media request message including an identifier of target media music; send the target media request message to the first electronic device; the first electronic device is used to: obtain data of the target media from a resource providing device according to the identifier of the target media; determine a target playback device from multiple playback devices, the target playback device being used to play the data of the target media; and send the data of the target media to the target playback device.

[0062] The first operation may be an operation of the user performing media on-demand in the first display interface. The first display interface may be a display interface for displaying media. For example, the first operation is an operation of the user clicking to play media 1 in the first display interface.

[0063] It should be understood that the first operation may also be a voice input operation. For example, the first terminal device may also generate a target media request message in response to a user's voice instruction.

[0064] Based on the embodiment of the present application, the first terminal device can generate a target media request message in response to the user's first operation, and send the target media request message to the first electronic device; the first electronic device can obtain the target media data from the resource providing device according to the target media identifier in the target media request message, and determine the target playback device for playing the target media data from multiple playback devices, and send the target media data to the target playback device so that the target playback device can play the target media data.

[0065] In this way, when the user orders media on the first terminal device, the first electronic device can obtain media data from the resource providing device and determine the target playback device suitable for playing the current media, thereby improving the intelligence of media playback and making the playback effect of the target media better.

[0066] In addition, the first electronic device obtains the target media data and sends it to the target playback device, which can reduce the data transmission path and thus improve the response speed of media on demand.

[0067] In combination with the second aspect, in an implementation manner of the second aspect, the first terminal device is further used to call multiple media providers, and the content provided by the multiple media providers is presented in the first display interface.

[0068] Based on the embodiments of the present application, multiple media providers can provide playlists, personal asset data, searches and other content to the first terminal device, and the content provided by the multiple media providers is displayed in the same first display interface, so that users can play on demand the content provided by multiple media providers in the first display interface, thereby improving the richness of media resources and simplifying the user's on-demand operation.

[0069] In combination with the second aspect, in an implementation method of the second aspect, the first terminal device is specifically used to: download an integrated service provider ISV service plug-in from a plug-in market; call the multiple media providers through the interface provided by the ISV service plug-in; and present the content provided by the multiple media providers in the first display interface.

[0070] Based on the embodiment of the present application, the first terminal device can present the content provided by multiple media providers in the same first display interface. In this way, although there are multiple media providers, the user can operate them in the same display interface, thereby improving the richness of media resources and simplifying the user's on-demand operations.

[0071] In combination with the second aspect, in an implementation of the second aspect, the first electronic device is also used to: receive information sent by the target playback device to play the target media, the information to play the target media includes at least one of the playback status, playback information, playback mode or data of the target media; the first terminal device is also used to: receive information sent by the first electronic device to play the target media.

[0072] Based on the embodiment of the present application, the same information of the target media to be played can be displayed in multiple first terminal devices, thereby facilitating the user to control the target media in multiple terminal devices.

[0073] In combination with the second aspect, in an implementation of the second aspect, the first terminal device is also used to: in response to the user's second operation on the target media in the first display interface, send a control instruction to the first electronic device, and the control instruction is used by the target playback device to control the target media; the first electronic device is also used to: send the control instruction to the target playback device.

[0074] Based on the embodiment of the present application, the user can conveniently control the target media played by the playback device in the first terminal device.

[0075] In a third aspect, a device for playing media is provided, comprising a module for implementing the method for playing media as described in the first aspect and any possible implementation thereof.

[0076] In a fourth aspect, an electronic device is provided, comprising: one or more processors; one or more memories; the one or more memories storing one or more programs, which, when executed by one or more processors, enable the method for playing media as described in the first aspect and any possible implementation thereof to be executed.

[0077] In a fifth aspect, a chip is provided, comprising a processor and a communication interface, wherein the communication interface is used to receive a signal and transmit the signal to the processor, and the processor processes the signal so that the method for playing media as described in the first aspect and any possible implementation thereof is executed.

[0078] In a sixth aspect, a readable storage medium is provided, wherein the readable storage medium stores instructions. When the instructions are executed on an electronic device, the method for playing media as described in the first aspect and any possible implementation thereof is executed.

[0079] In a seventh aspect, a program product is provided, comprising a program code. When the program code is run on an electronic device, the method for playing media as described in the first aspect and any possible implementation thereof is executed. BRIEF DESCRIPTION OF THE DRAWINGS

[0080] Figure 1 This is a schematic diagram of a whole-house smart system provided in an embodiment of the present application.

[0081] Figure 2 This is a schematic diagram of a graphical user interface provided in an embodiment of the present application.

[0082] Figure 3 This is a schematic diagram of an architecture provided in an embodiment of the present application.

[0083] Figure 4 This is a schematic interactive diagram of playing music provided in an embodiment of the present application.

[0084] Figure 5 This is another schematic interactive diagram for playing music provided in an embodiment of the present application.

[0085] Figure 6 This is a schematic interactive diagram of playing music provided in an embodiment of the present application.

[0086] Figure 7 This is another schematic interactive diagram for playing music provided in an embodiment of the present application.

[0087] Figure 8 This is a schematic interactive diagram of playing music provided in an embodiment of the present application.

[0088] Figure 9 This is a schematic flow chart of media playback provided in an embodiment of the present application.

[0089] Figure 10 This is a schematic block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0090] The technical solution in this application will be described below with reference to the accompanying drawings.

[0091] The method for playing media in the embodiments of the present application can be applied to home appliances such as smart hosts, smart speakers, smart TVs, smart gateways, central control panels, central control screens, and Internet of Things (IOT) devices, and can also be applied to electronic devices such as smart phones and tablet computers.

[0092] Before introducing the technical solution of the present application, we first briefly introduce some professional terms that may be involved in the embodiments of the present application.

[0093] Edge computing is a distributed computing model that stores computing resources and data close to the data source, enabling faster data processing and reducing data transmission. Edge computing allows computing tasks to be performed on IoT devices such as smart hosts and sensors, rather than on cloud servers. This computing model can improve response times, reduce network latency, and lower data transmission costs.

[0094] Currently, with the rapid development of intelligent devices, users have the need to build a whole-home smart system. For example, if a user owns multiple smart speakers, they can build a whole-home smart music system, allowing users to listen to high-quality music anywhere in the house.

[0095] Generally speaking, a user's home may include multiple playback devices. When a user plays music on demand, the user specifies the playback device to play the music, so that the playback device can play the music according to the user's specification.

[0096] However, in some cases, due to factors such as the performance of the playback device and the quality of the network, the music playback effect may be poor.

[0097] In light of this, embodiments of the present application provide a method and device for media playback. This technical solution enables users to play media from different media providers on demand within a terminal device's media on-demand display interface. The electronic device can determine a target playback device suitable for playing the current media from among multiple playback devices and send the target media data to the target playback device, enabling it to play the target media.

[0098] It should be understood that the media in the embodiments of the present application is described using music as an example, but this should not limit the scenarios of the present application. In other examples, the media can also be videos, dynamic pictures, etc.

[0099] The following description will be made using an example of a user playing music on demand on the central control panel, but this should not limit the scenarios to which the embodiments of the present application can be applied.

[0100] The following will be combined Figures 1 to 10 Introduce the technical solution of the embodiment of this application.

[0101] For example, Figure 1 This is a schematic diagram of a whole-house intelligent system provided by an embodiment of the present application. Figure 1 As shown, the whole-house smart system can include at least multiple central control panels, smart hosts, and Internet of Things (IoT) home devices.

[0102] It should be understood that the central control panel, smart host, and IoT home devices can be in the same local area network, which can include a wired local area network, such as a power line communication (PLC) connection, and a wireless local area network, such as a wireless fidelity (WI-FI) connection, an ultra-wideband connection, etc.; or, the central control panel, smart host, and IoT home devices can log in to the same account.

[0103] In some embodiments, the IoT home devices may include but are not limited to lamps, curtains, speakers, air conditioners, switches or scene panels, sensors, etc.

[0104] It should be understood that a user's whole-home smart system may include multiple central control panels, such as Central Control Panel 1, Central Control Panel 2, etc. The central control panels can download integration service vendor (ISV) service plug-ins from the plug-in market. For example, the central control panel can download service plug-in 1 from the plug-in market or application market. Through service plug-in 1, the central control panel can play music on demand, view playlists and charts, log in to accounts, and add music to favorites from multiple copyrighted music providers.

[0105] In other examples, the smart host can also download the ISV service plug-in from the plug-in market. In this case, the central control panel does not need to download the ISV service plug-in. In this case, the central control panel can call the ISV service plug-in from the smart host to play music on demand, etc.

[0106] In other examples, users can also control other IoT home devices through the central control panel.

[0107] The smart host may include an edge music player, which may be deployed in the smart host in the form of software. The edge music player can send commands corresponding to user operations on the central control panel to the corresponding speakers to achieve music control. For example, it can achieve music play, pause, fast forward, switch music, change music playback mode, etc.

[0108] In other examples, the edge music player can also exist as a separate device, or the edge music player can also be part of a speaker, which is not limited in the embodiments of the present application.

[0109] For example, Figure 2 Schematic diagram of a set of graphical user interfaces (GUIs) provided in the embodiment of the present application. Figure 2 (a) to (b) in FIG. 1 show the process of a user playing music on demand on device 100 a .

[0110] Exemplarily, the device 100a may be a central control panel.

[0111] See also Figure 2 In (a), the GUI may be the display interface 110 of the device 100a. The display interface 110 may include an icon 111 for switching to the desktop of the device 100a, a living room button 112, a mode control card 120, a lighting control card 130, a heating and cooling control card 140, a music control card 150, an appliance control card 160, a sunshade control card 170, and a shortcut function card 180.

[0112] The mode control card 120 may include an enter living room button 121 , an exit living room button 122 , a movie viewing mode button 123 , a relaxation mode button 124 and a more scene button 125 .

[0113] The quick function card 180 may include at least a light-on button 181 , a light-off button 182 , and a temperature control button 183 .

[0114] For example, when the device 100a detects that the user clicks the music control card 150, it may display Figure 2 The GUI shown in (b) in FIG.

[0115] See also Figure 2In (b), the GUI may be a music control display interface 151. The display interface 151 may include at least recommended play cards 152 and 153, space-specific cards 154, 155, 156, and 157, a music play management card 158, audio control, and multiple sound effect cards.

[0116] The music playback management card 158 may include a cover image 1581 of the current music, the music name 1582 , a space identifier 1583 where the playback device is located, a playback progress bar 1584 , playback control buttons, and the like.

[0117] In some examples, when device 100a detects that a user clicks the play button 1585 in the play control button, device 100a can send the identifier of the music 1 and the spatial identifier of the playback device to the smart host; the smart host can determine the playback device through the spatial identifier of the playback device; thereafter, the smart host can send the identifier of music 1 to the playback device, and the playback device can obtain the audio of music 1 according to the identifier of music 1 for playback.

[0118] Alternatively, in some examples, when device 100a detects that a user clicks the play button 1585 in the play control button, device 100a may send the identifier of the music 1 and the identifier of the playback device to the smart host; thereafter, the smart host may send the identifier of the music 1 to the playback device, and the playback device may obtain the audio of the music 1 according to the identifier of the music 1 for playback.

[0119] In other examples, when device 100a detects that the user clicks the play button 1585 in the play control button, device 100a can send the identifier of music 1 and the identifier of the playback device to the smart host; the smart host can obtain the audio of music 1 based on the identifier of music 1, and adapt the audio of music 1 according to the type of playback device or network quality to obtain the target music content; thereafter, the smart host can send the target music content to the playback device, and the playback device can play music 1 according to the target music content.

[0120] For example, the identifier of the music 1 may be a play link of the music 1, or the identifier of the music 1 may also be used to determine relevant content of the music 1, such as the cover, singer, name, etc.

[0121] It is understandable that when a user has multiple devices 100a, the smart host can synchronize the configurations of multiple devices 100a so that the same music playback management card 158 is displayed in multiple devices 100a, so that the user can control the music played in multiple devices 100a.

[0122] Based on the embodiment of the present application, the smart host can synchronize the configuration of multiple devices 100a, so that users can view music playback tasks in multiple devices 100a, thereby improving the flexibility and convenience of music on demand.

[0123] For example, Figure 3 This is a schematic diagram of a system architecture provided by an embodiment of the present application. Figure 3 As shown, the system architecture may include a music provider, a central control panel, a smart host, and a playback device.

[0124] The music providers may include music provider 1 to music provider N. Each music provider may provide a music playback source, and may provide membership services, playlists or albums, collections, recommendations or search functions, and the like.

[0125] The central control panel may include at least a music display interface, an ISV service plug-in, and a voice interaction portal. The central control panel may download the ISV service plug-in of the music provider from the application market.

[0126] The music display interface may be a music display interface corresponding to an ISV service plug-in, and the central control panel interacts with the user through the music display interface. Figure 2 In (b), the music display interface may be display interface 151.

[0127] The voice interaction portal can be used to receive the user's voice instructions to interact with the user.

[0128] The intelligent host may include at least an entertainment subsystem plug-in. Exemplarily, the entertainment subsystem plug-in may be an edge music player.

[0129] The entertainment subsystem plug-in can include a local music service, which can include multiple interfaces, such as interface 1 for music playback, interface 2 for playback management, interface 3 for playback control, and interface 4 for token hosting. The entertainment subsystem plug-in can provide the local music service to the central control panel so that the central control panel can control music playback through the local music service. For example, the central control panel can obtain playlists and the user's personal asset data, such as favorites and historical playback data, through the local music service.

[0130] Among them, the interface 1 can be used to obtain music playlists and music playback links. The entertainment subsystem plug-in can provide the interface 1 to the central control panel, so that the central control panel can send playback instructions to the playback device through the interface 1.

[0131] The playback management provided by interface 2 can include playback task management and playback mode management. The playback task management can be used to manage the current playlist, the focus song, and provide query services. The playback mode management can be used to manage music playback modes, such as list loop, random play, single song loop, sequential play, etc.

[0132] The playback control provided by the interface 3 may include playback state control, music switching, etc. The playback state control may include pause, resume, fast forward and fast rewind, etc. The music switching may include switching to the previous song, switching to the next song, etc.

[0133] This interface 4 can be used for Token hosting, keep alive, play link exchange address, etc. It should be understood that the play link exchange address can be understood as the anti-hotlink play address of the music.

[0134] In this way, the entertainment subsystem plug-in is deployed in the smart host, meaning that the smart host serves as the control and management center for music playback, and the central control panel serves as the entry point for receiving user operations. If a user has multiple central control panels, all of them can receive user operations. Furthermore, if one central control panel fails or loses power, music playback will not be interrupted.

[0135] The playback device may include playback devices in the user's entire home. For example, the playback device may include speakers 1 and 2 in the living room, speakers 3 in the master bedroom, and speakers 4 in the second bedroom.

[0136] The playback device can perform corresponding operations according to the control instructions, such as playing music or pausing music.

[0137] The following will be combined Figures 4 to 9 The technical solution for playing media in the embodiments of the present application is introduced in detail.

[0138] In some cases, the smart host may include an edge music player, and the control panel of the edge music player provides the above-mentioned local music service so that the control panel can control the music playback through the local music service.

[0139] For example, Figure 4 This is a schematic interactive diagram of playing music provided by an embodiment of the present application. Figure 4 As shown, the method 400 may include steps 410 to 440 .

[0140] 410. The central control panel sends a music on-demand request message A to the smart host according to the user's operation A. The music on-demand request message A includes the identifier of the target playback device and the identifier of the target music. Accordingly, the smart host receives the music on-demand request message A.

[0141] For example, operation A can be a user playing music 1 on the central control panel, such as clicking the play button for music 1. It should be understood that when the user clicks the play button for music 1, they can also manually select the corresponding playback device. Alternatively, if the user does not manually select, the central control panel can select the default playback device or the playback device that last played the music.

[0142] The target music identifier can be a play link of the target music, which can be a uniform resource locator (URL). Alternatively, the target music identifier can be relevant information that can represent the target music, such as cover, singer, name, etc.

[0143] The identifier of the target playback device may be a device identifier of the playback device. For example, the device identifier may include a device serial number, a media access control (MAC) address, and the like.

[0144] In other examples, the music on-demand request message A includes the regional space identifier of the target playback device and the identifier of the target music.

[0145] For example, the regional space identifier may be an identifier of a living room space, an identifier of a master bedroom space, etc. Since the regional space has a corresponding playback device, the smart host can also determine the corresponding target playback device through the regional space identifier.

[0146] The central control panel includes an ISV service plug-in, which can correspond to multiple copyright music providers.

[0147] In other examples, the music on-demand request message A may not include the identifier of the target playback device. In this case, the smart host may determine the target playback device from multiple playback devices. For example, the smart host may determine the target playback device from multiple playback devices based on a preset rule.

[0148] 420. The smart host sends the identifier of the target music to the target playback device. Correspondingly, the target playback device receives the identifier of the target music.

[0149] It should be understood that the target playback device may be the playback device corresponding to the playback device identifier included in the music on-demand request message A. For example, if the music on-demand request message A includes the identifier of playback device A and the identifier of music A, the smart host may send the identifier of music A to playback device A.

[0150] 430. The target playback device obtains the audio of the target music according to the identifier of the target music.

[0151] Taking the target music identifier as a play link as an example for explanation, the target playback device can obtain the audio of the target music from the copyright music provider of the target music according to the play link.

[0152] It is understandable that the audio obtained by the target playback device is within the scope of authorization of the copyright music provider.

[0153] At 440 , the target playback device plays the audio of the target music.

[0154] It should be understood that the audio can be a version adapted to the target playback device provided by the cloud server of the copyright music provider, so that after the target playback device obtains the audio of the target music, it can directly play the audio of the target music, thereby realizing the playback of the music.

[0155] Based on the embodiment of the present application, users can play music on demand directly on the central control panel. The central control panel can send a music on demand request message to the smart host. The smart host can send the music identifier to the target playback device based on the music on demand request message, so that the target playback device can obtain the audio of the target music from the corresponding copyrighted music provider and play it. In this way, during the music on demand process, users only need to play music on demand in a display interface without having to consider which copyrighted music provider the music comes from. In addition, less content is transmitted between devices, which can improve the response speed of music playback.

[0156] In some implementations, the user may have multiple central control panels, and the user may control the playing of music on different central control panels, so the method 400 may further include steps 450 to 480.

[0157] 450. The target playback device sends playback status 1 and playback information 1 to the smart host. Correspondingly, the smart host receives the playback status 1 and playback information 1.

[0158] For example, the play state 1 may be playing. The play information 1 may include relevant information of the audio being played, such as play progress, cover, lyrics, and the like.

[0159] 455. The smart host sends the playback status 1 and playback information 1 to multiple central control panels.

[0160] For example, the smart host can send the playback status 1 and playback information 1 to multiple central control panels throughout the user's home, so that multiple central control panels display the same music playback task.

[0161] In some embodiments, after the central control panel subscribes to the information of the currently playing music (including the playing status and the playing information) in the smart host, the smart host may send the information of the currently playing music to the central control panel.

[0162] In other examples, step 455 may also be replaced by step 455a:

[0163] 455a, the multiple central control panels query the smart host for information about the currently playing music, including playing status 1 and playing information 1.

[0164] For example, when the central control panel opens the display interface for the first time or opens the music display interface for the first time, the central control panel can query information about the currently playing music from the smart host.

[0165] In this way, users can control the music playback task on different central control panels.

[0166] 460. The central control panel sends a control instruction to the smart host according to the user's operation 2. Correspondingly, the smart host receives the control instruction.

[0167] For example, the operation 2 may be an operation of switching music, an operation of pausing playback, etc., and accordingly, the control instruction may be an instruction of switching music, an instruction of pausing playback, etc.

[0168] 465, the intelligent host sends a control instruction to the target playback device. Correspondingly, the target playback device receives the control instruction.

[0169] 470. The target playback device performs corresponding operations according to the control instruction.

[0170] For example, if the control instruction is an instruction to switch music, the target playback device can switch the music being played according to the control instruction, for example, the target playback device switches from playing the audio of music 1 to playing the audio of music 2.

[0171] 475. The target playback device sends playback status 2 and playback information 2 to the smart host. Correspondingly, the smart host receives the playback status 2 and playback information 2.

[0172] For example, the play state 2 and the play information 2 can refer to the relevant description of the play state 1 and the play information 1, and for the sake of brevity, they are not repeated here.

[0173] 480. The smart host sends playback status 2 and playback information 2 to multiple central control panels.

[0174] The smart host can send the play status 2 and play information 2 to multiple central control panels, so that the music play tasks displayed on the multiple central control panels are the same.

[0175] It should be understood that the embodiment of the present application does not limit the specific execution order of the above steps 410-480. In other examples, some steps in the steps 410-480 may not be executed or may be replaced by other steps.

[0176] In this way, the same music playback task is displayed on multiple central control panels, so that users can view and control the music playback task on central control panels in different locations throughout the house, thereby improving the convenience and flexibility of users in controlling music playback.

[0177] In the above scheme, when each playback device plays music, it obtains the audio of the music from the copyright music provider according to the identification of the music. The copyright music provider's server will provide the playback device with the appropriate audio according to the information of the playback device, which will increase the computing load and storage load of the copyright music provider's server to a certain extent. Therefore, in the embodiment of the present application, the smart host can adapt and transmit music to the playback device through edge computing technology. Figure 5 Introduce the technical solution.

[0178] For example, Figure 5 This is another schematic interactive diagram of playing music provided by the embodiment of the present application. Figure 5 As shown, the method 500 may include steps 510 to 550 .

[0179] 510. The central control panel sends a music on-demand request message B to the smart host according to the user's operation B. The music on-demand request message B includes information B. Correspondingly, the smart host receives the music on-demand request B.

[0180] It should be understood that the operation B can refer to the relevant description of operation A in the above text.

[0181] For example, the information B may include the identifier of the target music, the identifier of the target playback device, the type of the target playback device, or the network quality of the current network.

[0182] In other examples, the information B may also include other content, such as the playback quality selected by the user, the user's playback preference, for example, the playback preference is high-quality music, etc.

[0183] For example, the quality may also be referred to as sound quality. For example, the quality may include standard, lossless SQ, high quality, etc.

[0184] 520. The smart host obtains the audio of the target music according to the identifier of the target music included in the information B.

[0185] For example, the identifier of the target music is a play link, and the smart host can obtain the audio of the target music from the cloud server of the copyright music provider according to the play link.

[0186] It is understandable that in this application, the audio obtained by the smart host is within the scope of authorization (or license) of the copyright music provider.

[0187] In other examples, the smart host may also store the acquired audio of the target music in a memory of the smart host.

[0188] In other examples, the smart host can also obtain song information of the target music. For example, the song information may include cover, lyrics, composition, lyrics, etc. Alternatively, the lyrics can be obtained by the central control panel from the cloud server of the copyrighted music provider.

[0189] In some embodiments, if the information B includes the playback quality selected by the user, the smart host can obtain the audio of the target music with the corresponding playback quality.

[0190] In this way, the smart host is responsible for obtaining the audio of the target music from the cloud server of the copyright music service provider, and the cloud server does not need to perform adaptive processing on the audio.

[0191] 530 , the smart host adapts the audio of the target music according to the type of the playback device or the network quality of the current network to obtain the target audio.

[0192] For example, different types of playback devices may have different music playback capabilities. For example, a type 1 playback device has powerful hardware capabilities and can play high-quality music, while a type 2 playback device does not have powerful hardware capabilities and can play low-quality music.

[0193] The current network quality can refer to the network conditions of devices such as the central control panel and smart host. This network quality can be expressed in terms of network latency and speed. It should be understood that when network quality is good, data transmission between different devices is faster.

[0194] In some embodiments, when the smart host determines that the playback device is a high-performance device based on its type, it can adapt the audio of the target music, such as by transcoding or compressing the target music, to generate the target audio suitable for playback on the playback device, such as high-quality audio. Alternatively, to ensure data transmission security, the smart host can encrypt the audio of the target music.

[0195] In some embodiments, when the smart host determines that the current network quality is good based on the network quality, the audio of the target music can be adapted, such as transcoding, compressing or encrypting the audio of the target music to generate target audio suitable for playback on the playback device, such as high-quality audio.

[0196] Accordingly, when the network quality is poor, the smart host can adapt the audio, such as generating low-quality audio, so that the playback device can play the audio smoothly. Because high-quality audio requires a higher network quality, if the smart host generates high-quality music at this time, the playback device may experience lag when playing the music.

[0197] In some embodiments, the smart host can also adapt the audio of the target music based on the type of playback device and the network quality. For example, if the smart host determines that the performance of the playback device is good, but the network quality is poor, the smart host can generate low-quality music so that the playback device can play the audio smoothly.

[0198] In some implementations, the smart host may also adapt the audio according to the playback quality selected by the user.

[0199] In some embodiments, if the user selects automatic playback quality, the smart host can adapt the audio of the target music based on the type of playback device or the network quality of the current network, or whether the current user is a member user, so that the current playback device can play the target music with the best quality under the current conditions.

[0200] 540. The smart host sends the target audio to the target playback device. Correspondingly, the target playback device receives the target audio.

[0201] For example, the intelligent host may determine the target playback device according to the identifier of the playback device included in the information B.

[0202] It should be understood that the target audio may be audio suitable for playback by a target playback device.

[0203] At 550 , the target playback device plays the target audio.

[0204] Exemplarily, after receiving the target audio, the target playback device may perform operations such as decoding, decrypting, and rendering on the target audio to achieve playback of the target audio.

[0205] In this way, the intelligent host adapts the audio played by the playback device, eliminating reliance on a single copyrighted music provider and increasing flexibility in audio source access. Furthermore, this technical solution eliminates the need for each playback device to interact with the copyrighted music provider's cloud server, reducing data transmission latency and eliminating the need for the cloud server to perform adaptation processing, thereby reducing the computing load on the cloud server.

[0206] In some cases, if the user has multiple central control panels, the user hopes to be able to control the playback of music on different central control panels, so the method 500 may also include steps 555 to 585.

[0207] 555, the target playback device sends playback status 3 and playback information 3 to the smart host.

[0208] 560. The smart host sends the playback status 3 and the playback information 3 to the multiple central control panels.

[0209] 565, the central control panel sends a control instruction to the smart host according to the user's operation 3.

[0210] 570. The intelligent host sends a control instruction to the target playback device.

[0211] 575, the target playback device performs corresponding operations according to the control instruction.

[0212] 580. The target playback device sends playback status 4 and playback information 4 to the smart host.

[0213] 585, the smart host sends the playback status 4 and playback information 4 to multiple central control panels.

[0214] It should be understood that steps 555-585 can refer to the relevant description of steps 450-480 in the previous text, and for the sake of brevity, they will not be repeated here.

[0215] It should also be understood that the embodiment of the present application does not limit the specific execution order of the above steps 510-585. In other examples, some steps in the steps 510-585 may not be executed or may be replaced by other steps.

[0216] In this way, the same music playback task is displayed on multiple central control panels, so that users can view and control the music playback task on central control panels in different locations throughout the house, thereby improving the convenience and flexibility of users in controlling music playback.

[0217] In some cases, the edge music player in methods 400-500 can exist as a separate device instead of being integrated into the smart host. Figure 6-7 Introduce the technical solution.

[0218] For example, Figure 6 This is a schematic interactive diagram of playing music provided by an embodiment of the present application. Figure 6 As shown, the method 600 may include steps 610-665.

[0219] 610. The central control panel sends a music on-demand request message C to the smart host according to the user's operation C. The music on-demand request message C includes the identifier of the playback device and the identifier of the target music. Accordingly, the smart host receives the music on-demand request message C.

[0220] It should be understood that the description of step 610 can refer to the relevant description of step 410, and for the sake of brevity, it will not be repeated here.

[0221] 620 , the smart host sends the music on-demand request message C to the edge music player. Correspondingly, the edge music player receives the music on-demand request message C.

[0222] 630. The edge music player sends the identifier of the target music to the target playback device. Correspondingly, the target playback device receives the identifier of the target music.

[0223] Exemplarily, after receiving the music on-demand request message C, the edge music player can determine the target playback device according to the identifier of the playback device included in the music on-demand request message C, and send the identifier of the target music to the target playback device.

[0224] It should be understood that the identifier of the target music can refer to the relevant description in the above text, for example, the identifier can be a play link.

[0225] 640. The target playback device obtains the audio of the target music according to the identifier of the target music.

[0226] For example, the target playback device obtains the audio of the target music from the cloud server of the copyright music provider of the target music according to the playback link of the target music.

[0227] In other examples, the target playback device may also obtain other content related to the target music, such as lyrics, song information, etc., based on the identifier of the target music.

[0228] At 650 , the target playback device plays the audio of the target music.

[0229] It should be understood that the audio can be a version adapted to the target playback device provided by the cloud server of the copyright music provider, so that after the target playback device obtains the audio of the target music, it can directly play the audio of the target music, thereby realizing the playback of the music.

[0230] Based on the embodiment of the present application, a user can play music on demand on the central control panel. The central control panel can send a music on demand request message to the smart host, which can send the music on demand request message to the edge music player. The edge music player can send the music identifier to the target playback device based on the music on demand request message, so that the target playback device can obtain the audio of the target music from the corresponding copyrighted music provider and play it. In this way, during the music on demand process, less content is transmitted between the various devices, thereby improving the response speed of music playback.

[0231] In some implementations, the user may have multiple central control panels, and the user may control the playback of music on different central control panels, so the method 600 may also include steps 655 to 665.

[0232] 655 , the target playback device sends playback status 5 and playback information 5 to the edge music player.

[0233] For example, the play state 5 may be playing. The play information 5 may include relevant information of the target audio being played, such as play progress, cover, lyrics, and the like.

[0234] 660. The edge music player sends the play status 5 and the play information 5 to the smart host.

[0235] 665. The smart host sends the playback status 5 and the playback information 5 to multiple central control panels.

[0236] In this way, the same music playback task is displayed on multiple central control panels, so that users can view and control the music playback task on central control panels in different locations throughout the house, thereby improving the convenience and flexibility of users in controlling music playback.

[0237] Afterwards, the user can continue to perform some operations in the multiple central control panels, such as switching music, or pausing playback, etc. Therefore, the method may further include steps 670-695.

[0238] 670, the central control panel sends a control instruction to the smart host according to the user's operation 4.

[0239] At 675 , the smart host sends a control instruction to the edge music player.

[0240] 680. The edge music player sends a control instruction to the target playback device.

[0241] 685. The target playback device performs corresponding operations according to the control instruction.

[0242] 690. The target playback device sends playback status 6 and playback information 6 to the edge music player.

[0243] 693. The edge music player sends the play status 6 and play information 6 to the smart host.

[0244] 695, the smart host sends the playback status 6 and playback information 6 to multiple central control panels.

[0245] In this way, users can view and control music playback tasks on the central control panel in different locations throughout the house, thereby improving the convenience and flexibility of users in controlling music playback.

[0246] It should be understood that the embodiment of the present application does not limit the specific execution order of the above steps 610-695. In other examples, some steps in the steps 610-695 may not be executed or may be replaced by other steps.

[0247] For example, Figure 7 This is another schematic interactive diagram of playing music provided by the embodiment of the present application. Figure 7 As shown, the method 700 may include steps 710-760.

[0248] 710 , the central control panel sends a music on-demand request message D to the smart host according to the user's operation D, where the music on-demand request message D includes information D.

[0249] It should be understood that the operation D can refer to the relevant description of the operation A above.

[0250] For example, the information D may include the identifier of the target music, the identifier of the target playback device, the type of the target playback device, or the network quality of the current network.

[0251] In other examples, the information D may also include other content, such as the user's playing preferences, such as the user's preference for playing high-quality music.

[0252] 720. The smart host obtains the audio of the target music according to the identifier of the target music included in the information D.

[0253] It should be understood that the step 720 may refer to the relevant description of step 520.

[0254] 730 , the smart host sends the audio of the target music and a music on-demand request D to the edge music player.

[0255] In other examples, the edge music player may also obtain the audio of the target music from the cloud server of the copyright music provider, which is not limited in the embodiments of the present application.

[0256] 740 , the edge music player adapts the audio of the target music according to the type of the playback device or the network quality of the current network to obtain the target audio.

[0257] It can be understood that the process of the edge music player adapting the audio of the target music according to the type of playback device or the network quality of the current network can be referred to the process of the smart host adapting the audio of the target music in step 530 in the previous text.

[0258] At 750 , the edge music player sends the target audio to the target playback device.

[0259] Exemplarily, the edge music player may determine the target playback device according to the identifier of the playback device.

[0260] It should be understood that the target audio may be audio suitable for playback by a target playback device.

[0261] 760. The target playback device plays the target audio.

[0262] Exemplarily, after receiving the target audio, the target playback device may perform operations such as decoding, decrypting, and rendering on the target audio to achieve playback of the target audio.

[0263] Based on the embodiments of this application, the edge music player adapts the audio played by the playback device, thereby avoiding dependence on a single copyrighted music provider and increasing the flexibility of audio source access. Furthermore, this technical solution eliminates the need for each playback device to interact with the copyrighted music provider's cloud server, reducing data transmission latency and eliminating the need for cloud server adaptation processing, thereby reducing the cloud server's computing load.

[0264] In some implementations, the user may have multiple central control panels, and the user may control the playback of music on different central control panels, so the method 700 may also include steps 770 to 790.

[0265] 770. The target playback device sends playback status 7 and playback information 7 to the edge music player.

[0266] 780. The edge music player sends the play status 7 and play information 7 to the smart host.

[0267] 790. The smart host sends the playback status 7 and playback information 7 to multiple central control panels.

[0268] It should be understood that steps 770-790 can refer to the relevant descriptions of steps 655-665.

[0269] In this way, the same music playback task is displayed on multiple central control panels, so that users can view and control the music playback task on central control panels in different locations throughout the house, thereby improving the convenience and flexibility of users in controlling music playback.

[0270] In other examples, the user can continue to perform some operations in multiple central control panels, such as switching music, or pausing playback, etc. For example, the method 700 can also include steps 670-695 in the above method 600, which is not limited in the embodiment of the present application.

[0271] In some cases, some playback devices have powerful performance, so the edge music player in the above embodiment can also be deployed on the playback device. Figure 8 Introduce the technical solution.

[0272] For example, Figure 8 This is another schematic interactive diagram of playing music provided by the embodiment of the present application. Figure 8 As shown, the method 800 may include steps 810-860.

[0273] 810. The central control panel sends a music on-demand request message E to the smart host according to the user's operation E. The music on-demand request message E includes information E.

[0274] It should be understood that the step 810 may refer to the relevant description of the step 410 in the above text.

[0275] 820 , the smart host sends a music on-demand request message E to the playback device M. Correspondingly, the playback device M receives the music on-demand request message E.

[0276] It should be understood that the playback device M has strong performance and can be used to schedule music playback tasks. For example, the playback device M can be used to obtain the audio of the target music and perform adaptive processing on the audio.

[0277] The intelligent host can pre-store information of each playback device, so as to determine the performance of each playback device and further determine the playback device M.

[0278] 830 , the playback device M obtains the audio of the target music according to the identifier of the target music included in the information E.

[0279] For example, the identifier may be a play link, and the playback device M may obtain the audio of the target music from the cloud server of the copyright music provider according to the play link.

[0280] In other examples, the playback device M may also obtain other relevant information of the target music, such as cover, lyrics, etc., from the cloud server of the copyrighted music provider.

[0281] 840. The playback device M adapts the audio of the target music according to the type of the target playback device or the network quality of the current network to obtain the target audio.

[0282] It should be understood that the process of the playback device M adapting the audio of the target music according to the type of the target playback device or the network quality of the current network can be referred to the relevant description of the intelligent host adapting the audio of the target music according to the type of the target playback device or the network quality of the current network in step 530 in the previous text. For the sake of brevity, it will not be repeated here.

[0283] 850. The playback device M sends the target audio to the target playback device.

[0284] After performing adaptation processing on the audio of the target music, the playback device M may send the adapted target audio to the target playback device.

[0285] 860. The target playback device plays the target audio.

[0286] After receiving the target audio, the target playback device can perform operations such as decoding and rendering on the target audio to achieve music playback.

[0287] In some cases, to ensure the security of data transmission, if the target audio is encrypted, the target playback device can also decrypt the target audio.

[0288] Based on the embodiments of the present application, an edge music player is deployed on playback device M, which adapts the audio played by the target playback device. This avoids reliance on a single copyrighted music provider, improves the flexibility of audio source access, and provides users with a rich and diverse music experience. Furthermore, this technical solution eliminates the need for each playback device to interact with the copyrighted music provider's cloud server, reducing data transmission latency and eliminating the need for cloud server adaptation processing, thereby reducing the cloud server's computing load.

[0289] In some implementations, the user may have multiple central control panels, and the user may control the playback of music on different central control panels, so the method 800 may also include steps 870 to 890.

[0290] 870 , the target playback device sends the playback status 8 and playback information 8 to the playback device M.

[0291] 880. The playback device M sends the playback status 8 and playback information 8 to the smart host.

[0292] 890, the smart host sends the playback status 8 and playback information 8 to multiple central control panels.

[0293] It should be understood that steps 870-890 can refer to the relevant description of steps 655-665 in the previous text and will not be repeated here.

[0294] In this way, the same music playback task is displayed on multiple central control panels, so that users can view and control the music playback task on central control panels in different locations throughout the house, thereby improving the convenience and flexibility of users in controlling music playback.

[0295] Figure 9 This is a schematic flow chart of a music playing method provided by an embodiment of the present application. Figure 9 As shown, the method 1000 may include steps 1010 to 1060 .

[0296] 1010. The first terminal device generates a target media request message in response to a first operation of the user in the first display interface. The target media request message includes an identifier of the target media.

[0297] For example, the first electronic device may be the aforementioned whole-house smart host, or may be a smart gateway or router. The first terminal device may be the aforementioned central control panel, or may be a central control screen or a smartphone. The first electronic device, the first terminal device, and the target playback device may establish a connection using the aforementioned wired or wireless connection method, or log in to the same account.

[0298] The target media may include music, video, dynamic picture, text, etc.

[0299] The playback device may include the speaker mentioned above, or may be a smart screen, smart TV, etc.

[0300] The identifier of the target media may be a media playback link, a media identification number, etc.

[0301] The first operation may be an operation of the user performing media on-demand in the first display interface. The first display interface may be a display interface for displaying media. For example, the first operation is an operation of the user clicking to play media 1 in the first display interface.

[0302] It should be understood that the first operation may also be a voice input operation. For example, the first terminal device may also generate a target media request message in response to a user's voice instruction.

[0303] 1020: The first terminal device sends a target media request message to the first electronic device. Correspondingly, the first electronic device receives the target media request message.

[0304] 1030. The first electronic device obtains target media data from a resource providing device according to the identifier of the target media.

[0305] The resource providing device may include a server, a local storage device, etc. It should be understood that the local storage device may include a memory card.

[0306] After receiving the target media request message, the first electronic device may obtain the target media data from the resource providing device according to the identifier of the target media.

[0307] When the resource providing device is a server, such as a cloud server of a copyrighted media provider, the first electronic device can obtain the data of the target media from the cloud server.

[0308] It should be understood that the data obtained by the first electronic device is within the scope of the authorization license of the copyright media provider.

[0309] Alternatively, when the resource providing device is a local storage device, the data of the target media has been pre-stored in the local storage device, so the first electronic device can obtain the data of the target media from the local storage device.

[0310] 1040 : The first electronic device determines a target playback device from a plurality of playback devices, where the target playback device is used to play data of a target media.

[0311] Exemplarily, the first electronic device may determine a target playback device from a plurality of playback devices according to a preset rule.

[0312] The preset rule may be pre-set by a user, or the preset rule may be a default rule stored in the first electronic device.

[0313] 1050. The first electronic device sends target media data to a target playback device.

[0314] After determining the target playback device, the first electronic device may send the target media data to the target playback device.

[0315] For example, the number of the target playback devices may be one or more. When the number of the target playback devices is multiple, the data of the target media played in the multiple target playback devices may be different or identical.

[0316] 1060. The target playback device plays the target media.

[0317] It should be understood that the target playback device can play the target media after receiving the target media data, or the target playback device can play the target media after decoding and rendering the target media data, thereby achieving the playback of the target media.

[0318] Based on the embodiment of the present application, the first terminal device can generate a target media request message in response to the user's first operation, and send the target media request message to the first electronic device; the first electronic device can obtain the target media data from the resource providing device according to the target media identifier in the target media request message, and determine the target playback device for playing the target media data from multiple playback devices, and send the target media data to the target playback device so that the target playback device can play the target media data.

[0319] In this way, when the user orders media on the first terminal device, the first electronic device can obtain media data from the resource providing device and determine the target playback device suitable for playing the current media, thereby improving the intelligence of media playback and making the playback effect of the target media better.

[0320] In addition, the first electronic device obtains the target media data and sends it to the target playback device, which can reduce the data transmission path and thus improve the response speed of media on demand.

[0321] In some embodiments, the first electronic device determines the target playback device from the plurality of playback devices, including: determining the target playback device from the plurality of playback devices based on a preset rule.

[0322] Based on the embodiment of the present application, the first electronic device can determine the target playback device from multiple playback devices based on a preset rule. This technical solution is beneficial for the first electronic device to determine the target playback device.

[0323] In some embodiments, the first electronic device determines the target playback device from the plurality of playback devices based on a preset rule, including: determining the target playback device according to playback capabilities of the plurality of playback devices.

[0324] For example, the playback capability of a playback device may be related to the performance of the playback device. For some playback devices with stronger performance, their playback capability is also stronger, for example, they can play higher-quality media.

[0325] In some embodiments, the first electronic device may select a playback device with the strongest playback capability as the target playback device, or the first electronic device may select a playback device with playback capability matching the quality of the current media as the target playback device.

[0326] Based on the embodiment of the present application, the first electronic device can determine the target playback device according to the playback capabilities of multiple playback devices, so that the target playback device can be suitable for playing the target media.

[0327] In some embodiments, the first electronic device determines a target playback device from a plurality of playback devices based on a preset rule, including: determining a target location of a user;

[0328] The playback device in the regional space where the target position is located is determined as the target playback device.

[0329] It should be understood that the embodiments of the present application do not limit the specific implementation method of how the first electronic device determines the target location of the user. For example, the first electronic device may determine the user's location based on the location of the first terminal device, or may determine the user's location based on cameras throughout the house, or may determine the user's location based on anti-counterfeiting sound source localization.

[0330] For example, the user's location area space can be the master bedroom, living room, dining room, etc.

[0331] Based on the embodiment of the present application, the first electronic device can determine the playback device in the area where the user's target location is located as the target playback device, so that the playback device around the user can be used to play the target media requested by the user, which is more in line with the user's media on demand needs.

[0332] In some embodiments, the first electronic device determines the target playback device from the plurality of playback devices based on a preset rule, including: determining the target playback device from the plurality of playback devices according to historical playback records.

[0333] Based on the embodiment of the present application, the first electronic device can determine the target playback device from multiple playback devices according to historical playback records.

[0334] In some embodiments, the first electronic device determines the target playback device from a plurality of playback devices according to historical playback records, including: determining the playback device that last played the media as the target playback device.

[0335] Based on the embodiment of the present application, the first electronic device can determine the playback device that last played the media as the target playback device, so that the user can continue to play.

[0336] In other examples, the first electronic device may also use a playback device that the user frequently plays on as the target playback device, or may randomly select a playback device as the target playback device, etc., which is not limited in this embodiment of the present application.

[0337] In other embodiments, the first electronic device may also determine the target playback device from multiple playback devices based on the network quality of the playback device.

[0338] For example, the first electronic device may determine a playback device with the highest network quality as the target playback device, thereby ensuring smooth playback of the target media.

[0339] In some embodiments, the target media request message further includes an identifier of the target playback device, wherein the first electronic device determines the target playback device from the plurality of playback devices, including:

[0340] The playback device corresponding to the identifier of the target playback device is determined as the target playback device.

[0341] Based on the embodiment of the present application, the target media request message may further include an identifier of the target playback device, so that the first electronic device can determine the target playback device.

[0342] The identifier of the target playback device may be selected by the user when playing media on demand, or the identifier of the target playback device may be selected by default by the first terminal device, which is not limited in this embodiment of the present application.

[0343] In some embodiments, the identifier of the target playback device is specified by a user, or the identifier of the target playback device is determined by the first terminal device.

[0344] This technical solution helps the first electronic device to quickly determine the target playback device, thereby improving the response speed of media on demand.

[0345] In some embodiments, the method 900 further includes:

[0346] The first electronic device performs adaptation processing on the data of the target medium to obtain adapted target data;

[0347] The first electronic device sends target media data to the target playback device, including:

[0348] Send the adapted target data to the target playback device.

[0349] Based on the embodiment of the present application, the first electronic device can also perform adaptive processing on the data of the target media, so as to obtain target data that is suitable for playback by the target playback device.

[0350] In this way, the first electronic device can adapt the target media data to obtain target data suitable for playback by the playback device, thereby reducing the transmission path of the target data, thereby reducing the transmission delay and increasing the speed of media playback. Furthermore, the copyright media provider's cloud server is prevented from processing the target media data, thereby reducing the computing load and power consumption of the copyright media provider's cloud server.

[0351] In some embodiments, the type of the target playback device includes a first type and a second type, and the performance of the first type of target playback device is higher than that of the second type of target playback device.

[0352] The first electronic device performs adaptation processing on the target media data to obtain adapted target data, including:

[0353] The target media data is adapted according to the type of the target playback device to obtain adapted target data, wherein the quality of the target media adapted to the first type of target playback device is higher than the quality of the target media adapted to the second type of target playback device.

[0354] Exemplarily, the first type of target playback device has stronger hardware and can play higher quality media, and the second type of target playback device has weaker hardware and can play lower quality media.

[0355] It should be understood that when the media is music, the quality can also be referred to as the sound quality of the audio, or the sound quality of the music, etc. When the media is video, the quality can be the definition of the video, such as 480P, 1080P, etc.

[0356] Based on the embodiments of the present application, the first electronic device can adapt differently to different types of playback devices, so as to obtain media with a quality that meets the performance of the playback device, thereby meeting the media playback needs when the user has multiple playback devices with different performances.

[0357] In some embodiments, the first electronic device performs adaptation processing on the target media data to obtain adapted target data, including:

[0358] The data of the target media is adapted according to the network quality of the target playback device network to obtain adapted target data, wherein the quality of the target media obtained under the first network quality is higher than the quality of the target media obtained under the second network quality, and the first network quality is higher than the second network quality.

[0359] Based on the embodiment of the present application, the first electronic device adapts the data of the target media according to the network quality of the network where the target playback device is located to obtain target data that meets the current playback network quality conditions, so that the target music can be played smoothly when the network conditions are poor, and higher quality media can be played when the network conditions are good.

[0360] In some embodiments, the target media request message further includes first indication information that the quality of the target media is automatic quality, wherein the first electronic device performs adaptation processing on the target media data to obtain adapted target data, including:

[0361] The data of the target media is adapted according to the first indication information and the network quality of the network where the target playback device is located, so as to obtain the target data of the target media with the best quality supported by the network quality.

[0362] For example, when a user plays media on demand, he or she may select automatic playback quality in the display interface. Then, the target media request message may further include first indication information for indicating that the quality of playing the target media is automatic quality.

[0363] Based on the embodiment of the present application, when the user chooses to play media of automatic quality, the first electronic device can select the target media data of the best quality based on the support of the current network quality, so that the target playback device can play higher quality media if the network quality allows.

[0364] In some embodiments, the target media request message further includes second indication information of the quality of the target media, wherein:

[0365] The first electronic device performs adaptation processing on the target media data to obtain adapted target data, including:

[0366] Adaptation processing is performed on the target media data according to the second indication information to obtain target data of the quality indicated by the second indication information.

[0367] For example, the quality can be normal, lossless SQ, high quality, etc.

[0368] Based on the embodiment of the present application, after the user selects the corresponding quality, the first device can adapt to the target data of the target media at the corresponding quality, thereby meeting the user's different playback needs.

[0369] In some embodiments, the method 900 further includes:

[0370] The first electronic device receives information about playing target media sent by the target playback device, where the information about playing target media includes at least one of a playback state, playback information, a playback mode, or data of the target media;

[0371] The first electronic device sends information about playing target media to the first terminal device.

[0372] Exemplarily, the playback status may be play, pause, volume, etc., the playback information may include singer, cover, lyricist, composer or lyrics, etc., and the playback mode may include single loop, list loop, random play, etc.

[0373] In other examples, the first terminal device may also query the first electronic device for information about the target media to be played. For example, when the first terminal device displays a display interface for media on demand, the first terminal device may be triggered to query the first electronic device for information about the target media to be played.

[0374] Based on the embodiment of the present application, the first electronic device can receive information about the target media to be played sent by the target playback device, and can send information about the target media to the first terminal device, so that when the user has multiple first terminal devices, the information about the target media displayed in the multiple first terminal devices is the same, and the user can control the currently playing media in any one of the first terminal devices.

[0375] In some embodiments, the method 900 further includes:

[0376] The first electronic device receives a control instruction sent by the first terminal device, where the control instruction is used by a target playback device to control a target media;

[0377] The first electronic device sends a control instruction to the target playback device.

[0378] For example, the control instruction can be used to control playback pause, switch to the next song, fast forward, etc.

[0379] Based on the embodiments of the present application, the user can conveniently control the currently playing target media in any first terminal device.

[0380] In some embodiments, the target playback device includes a first target playback device and a second target playback device, wherein the target media played by the first target playback device is the same as or different from the target media played by the second target playback device.

[0381] In some cases, a user may have multiple playback devices, and the first electronic device may send target media data to the multiple target playback devices, allowing the multiple target playback devices to play the same media at the same time, or allowing the multiple target playback devices to cooperate with each other to play different parts of the same target media to create a better playback effect, etc.

[0382] In some embodiments, the first electronic device can also send the target media data to another target playback device to achieve the flow of target media data. For example, when a user orders media on demand in the living room, the target playback device is the speakers in the living room. When the user moves to the master bedroom, the first electronic device can also transmit the target media data to the speakers in the master bedroom so that the speakers in the master bedroom can continue to play the target media, thereby bringing the playback source closer to the user and providing the user with a better listening experience.

[0383] In some embodiments, the first terminal device is further used to call multiple media providers, and the contents provided by the multiple media providers are presented in the first display interface.

[0384] Exemplarily, the media provider may be the copyrighted music provider mentioned above.

[0385] Based on the embodiments of the present application, multiple media providers can provide playlists, personal asset data, searches and other content to the first terminal device, and the content provided by the multiple media providers is displayed in the same first display interface, so that users can play on demand the content provided by multiple media providers in the first display interface, thereby improving the richness of media resources and simplifying the user's on-demand operation.

[0386] In some embodiments, the first terminal device is specifically configured to:

[0387] Download the ISV service plug-in from the plug-in market;

[0388] Call multiple media providers through the interface provided by the ISV service plug-in;

[0389] Content provided by multiple media providers is presented on a first display interface.

[0390] Based on the embodiment of the present application, the first terminal device can present the content provided by multiple media providers in the same first display interface. In this way, although there are multiple media providers, the user can operate them in the same display interface, thereby improving the richness of media resources and simplifying the user's on-demand operations.

[0391] Figure 10 This is a schematic block diagram of an electronic device provided in an embodiment of the present application. Figure 10 As shown, the electronic device 900 may include one or more processors 910; one or more memories 920; the one or more memories 920 store one or more instructions, and when the instructions are executed by the one or more processors 910, the method for playing media as described in any possible implementation method described above is executed.

[0392] Exemplarily, the device 900 can be the central control panel, whole-house smart host, edge music player, etc. mentioned above.

[0393] An embodiment of the present application also provides a device including a processor and a communication interface, wherein the communication interface is used to receive a signal and transmit the signal to the processor, and the processor processes the signal so that the method for playing media as described in any possible implementation method described above is executed.

[0394] The device may be a chip. For example, the chip may be a chip system or an independent chip.

[0395] An embodiment of the present application further provides a readable storage medium, which stores instructions. When the instructions are executed on an electronic device, the electronic device executes the above-mentioned related method steps to implement the method for playing media in the above-mentioned embodiment.

[0396] An embodiment of the present application further provides a program product. When the program product is run on an electronic device, the electronic device executes the above-mentioned related steps to implement the method for playing media in the above-mentioned embodiment.

[0397] An embodiment of the present application further provides a device for playing media, including a module for implementing the method for playing media as described in any of the above embodiments.

[0398] In addition, an embodiment of the present application also provides a device, which can specifically be a chip, component or module, and the device may include a connected processor and memory; wherein the memory is used to store instructions, and when the device is running, the processor can execute the instructions stored in the memory to enable the device to execute the method of playing media in the above-mentioned method embodiments.

[0399] Among them, the equipment, readable storage medium, program product or device provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.

[0400] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0401] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0402] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0403] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0404] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0405] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory, a random access memory, a magnetic disk, or an optical disk.

[0406] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

Claims

1. A method for playing media, characterized in that: The method is applied to a first electronic device, and includes: receiving a target media request message sent by the first terminal device, wherein the target media request message includes an identifier of the target media; Acquiring data of the target media from a resource providing device according to an identifier of the target media; Determining a target playback device from a plurality of playback devices, wherein the target playback device is used to play the data of the target media; The target media data is sent to the target playback device.

2. The method according to claim 1, characterized in that Determining a target playback device from a plurality of playback devices includes: The target playback device is determined from the multiple playback devices based on a preset rule.

3. The method according to claim 2, characterized in that The determining the target playback device from the multiple playback devices based on a preset rule includes: The target playback device is determined according to the playback capabilities of the multiple playback devices.

4. The method according to claim 2, characterized in that The determining the target playback device from the multiple playback devices based on a preset rule includes: Determine the user's target location; The playback device in the area space where the target position is located is determined as the target playback device.

5. The method according to claim 2, characterized in that The determining the target playback device from the multiple playback devices based on a preset rule includes: The target playback device is determined from the multiple playback devices according to historical playback records.

6. The method according to claim 2, characterized in that The determining the target playback device from the plurality of playback devices according to the historical playback records includes: The playback device that last played the media is determined as the target playback device.

7. The method according to any one of claims 1 to 6, characterized in that The target media request message also includes the identifier of the target playback device. The step of determining a target playback device from a plurality of playback devices includes: The playback device corresponding to the identifier of the target playback device is determined as the target playback device.

8. The method according to claim 7, characterized in that The identifier of the target playback device is specified by a user, or the identifier of the target playback device is determined by the first terminal device.

9. The method according to any one of claims 1 to 8, characterized in that The method further comprises: Performing adaptation processing on the target media data to obtain adapted target data; Sending the target media data to the target playback device includes: The adapted target data is sent to the target playback device.

10. The method according to claim 9, characterized in that The types of the target playback devices include a first type and a second type, the performance of the first type of target playback devices is higher than the performance of the second type of target playback devices, The step of adapting the target media data to obtain adapted target data includes: The data of the target media is adapted according to the type of the target playback device to obtain the adapted target data, wherein the quality of the target media obtained by adapting to the first type of target playback device is higher than the quality of the target media obtained by adapting to the second type of target playback device.

11. The method according to claim 9, characterized in that The adapting the target media data to obtain adapted target data includes: The data of the target media is adapted according to the network quality of the network in which the target playback device is located to obtain the adapted target data, wherein the quality of the target media obtained under the first network quality is higher than the quality of the target media obtained under the second network quality, and the first network quality is higher than the second network quality.

12. The method according to claim 9, characterized in that The target media request message also includes first indication information that the quality of the target media is automatic quality. The step of adapting the target media data to obtain adapted target data includes: Adaptive processing is performed on the target media data according to the first indication information and the network quality of the network where the target playback device is located, so as to obtain target data of the target media with the best quality supported by the network quality.

13. The method according to claim 9, characterized in that The target media request message also includes second indication information of the quality of the target media. The step of adapting the target media data to obtain adapted target data includes: Adaptation processing is performed on the data of the target media according to the second indication information to obtain target data of the quality indicated by the second indication information.

14. The method according to any one of claims 1 to 13, characterized in that The method further comprises: receiving information for playing the target media sent by the target playback device, wherein the information for playing the target media includes at least one of a playback state, playback information, a playback mode, or data of the target media; Sending the information for playing the target media to the first terminal device.

15. The method according to any one of claims 1 to 14, characterized in that The resource providing device includes a server or a local storage device.

16. The method according to any one of claims 1 to 15, characterized in that The method further comprises: receiving a control instruction sent by the first terminal device, where the control instruction is used by the target playback device to control the target media; Send the control instruction to the target playback device.

17. The method according to any one of claims 1 to 16, characterized in that The target playback device includes a first target playback device and a second target playback device, wherein the target media played by the first target playback device is the same as or different from the target media played by the second target playback device.

18. A system, characterized in that: The system includes a first terminal device and a first electronic device, wherein: The first terminal device is used for: In response to a first operation of the user in the first display interface, generating a target media request message, wherein the target media request message includes an identifier of the target media music; Sending the target media request message to the first electronic device; The first electronic device is used for: Acquiring data of the target media from a resource providing device according to an identifier of the target media; Determining a target playback device from a plurality of playback devices, wherein the target playback device is used to play the data of the target media; The target media data is sent to the target playback device.

19. The system according to claim 18, wherein: The first terminal device is further configured to call multiple media providers, and the contents provided by the multiple media providers are presented in the first display interface.

20. The system according to claim 19, wherein: The first terminal device is specifically used for: Download the ISV service plug-in from the plug-in market; Calling the multiple media providers through the interface provided by the ISV service plug-in; The contents provided by the multiple media providers are presented in the first display interface.

21. The system according to any one of claims 18 to 20, characterized in that The first electronic device is further configured to: receiving information for playing the target media sent by the target playback device, wherein the information for playing the target media includes at least one of a playback state, playback information, a playback mode, or data of the target media; The first terminal device is further configured to: Receive information sent by the first electronic device to play the target media.

22. The system according to any one of claims 18 to 21, characterized in that: The first terminal device is further configured to: In response to a second operation of the user on the target media in the first display interface, sending a control instruction to the first electronic device, wherein the control instruction is used by the target playback device to control the target media; The first electronic device is further configured to: Send the control instruction to the target playback device.

23. An electronic device, characterized in that: include: one or more processors; One or more memories; the one or more memories store one or more programs, and when the one or more programs are executed by one or more processors, the method for playing media according to any one of claims 1 to 17 is executed.

24. A chip, characterized in that: The chip includes a processor and a communication interface, wherein the communication interface is used to receive a signal and transmit the signal to the processor, and the processor processes the signal so that the method for playing media according to any one of claims 1 to 17 is executed.

25. A readable storage medium, characterized in that The readable storage medium stores instructions, and when the instructions are executed on the electronic device, the method for playing media according to any one of claims 1 to 16 is executed.

26. A program product, characterized in that The program product includes program codes, and when the program codes are run on an electronic device, the method for playing media according to any one of claims 1 to 17 is executed.