CN112165645A - Control method of playback device, and computer storage medium - Google Patents

Control method of playback device, and computer storage medium Download PDF

Info

Publication number
CN112165645A
CN112165645A CN202011040196.9A CN202011040196A CN112165645A CN 112165645 A CN112165645 A CN 112165645A CN 202011040196 A CN202011040196 A CN 202011040196A CN 112165645 A CN112165645 A CN 112165645A
Authority
CN
China
Prior art keywords
playing
audio data
synchronous
audio
devices
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011040196.9A
Other languages
Chinese (zh)
Inventor
黄仁渭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Pinecone Electronic Co Ltd
Original Assignee
Beijing Xiaomi Pinecone Electronic Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Pinecone Electronic Co Ltd filed Critical Beijing Xiaomi Pinecone Electronic Co Ltd
Priority to CN202011040196.9A priority Critical patent/CN112165645A/en
Publication of CN112165645A publication Critical patent/CN112165645A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/439Processing of audio elementary streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network
    • H04N21/43637Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/439Processing of audio elementary streams
    • H04N21/4398Processing of audio elementary streams involving reformatting operations of audio signals

Abstract

The disclosure relates to a control method of a playing device, the playing device and a computer storage medium, and relates to a distributed playback technology. The control method of the playing device provided by the present disclosure includes: acquiring first audio data synchronously played by multiple devices; carrying out audio coding processing on the first audio data according to a preset coding algorithm to obtain second audio data; and performing audio decoding processing on the second audio data, playing the second audio data, and transmitting the second audio data to other playing devices participating in synchronous playing, wherein the preset encoding algorithm is used for multi-device synchronous audio playing processing, and the size of the second audio data is smaller than that of the first audio data. According to the technical scheme, the original audio data are subjected to audio coding processing by using a high-performance audio coding algorithm, so that a stereo sound effect played synchronously by multiple devices is ensured, and better immersive playback experience is brought to a user.

Description

Control method of playback device, and computer storage medium
Technical Field
The present disclosure relates to distributed playback technologies, and in particular, to a method for controlling a playback device, and a computer storage medium.
Background
Along with the popularization of intelligent sound boxes, the use frequency of users for playing music by the sound boxes is higher and higher, and meanwhile, the requirements on tone quality and the immersive playback experience are stronger and stronger. In the related art, distributed playback is generally implemented based on a server and a plurality of client architectures. The server and the clients are linked through a wifi network. However, in the distributed playback process, the problems of asynchronous playing, insensitive execution of playing instructions and the like often occur among the clients, and the user experience is greatly influenced.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a control method of a playback apparatus, and a computer storage medium.
According to a first aspect of the embodiments of the present disclosure, there is provided a control method for a playback device, which is applied to a playback device, and includes:
acquiring first audio data synchronously played by multiple devices;
carrying out audio coding processing on the first audio data according to a preset coding algorithm to obtain second audio data;
the second audio data is played after being subjected to audio decoding processing, and the second audio data is transmitted to other playing devices participating in synchronous playing of multiple devices;
the preset coding algorithm is used for multi-device synchronous playing audio processing, and the size of the second audio data is smaller than that of the first audio data.
The control method of the playing device further includes:
and sending synchronous time setting information to the other playing devices, wherein the synchronous time setting information at least comprises CPU crystal oscillator frequency information of the playing devices.
In the method for controlling a playback device, acquiring first audio data that is played synchronously by multiple devices includes:
receiving an audio playing instruction;
and acquiring the first audio data from a pre-connected server according to the audio playing instruction.
The control method of the playing device further includes:
the configuration information of multi-device synchronous playing is transmitted between the other playing devices, and the configuration information at least comprises any one of the following information:
volume information of synchronous playing and a playing mode of synchronous playing.
According to a second aspect of the embodiments of the present disclosure, there is provided a control method for a playback device, which is applied to a playback device, and includes:
receiving audio data sent by other playing devices participating in synchronous playing of multiple devices;
carrying out audio decoding processing on the audio data according to a preset encoding algorithm, and playing the processed audio data;
and the preset coding algorithm is the same as the audio coding algorithm adopted by the audio data sent by the other playing equipment.
The control method of the playing device further includes:
receiving synchronous time setting information sent by other playing devices, wherein the synchronous time setting information at least comprises CPU crystal oscillator frequency information of the other playing devices;
the playing the processed audio data includes:
and controlling the audio data synchronously played with the playing equipment according to the synchronous time setting information.
The control method of the playing device further includes:
the configuration information of multi-device synchronous playing is transmitted between the other playing devices, and the configuration information at least comprises any one of the following information:
volume information of synchronous playing and a playing mode of synchronous playing.
According to a third aspect of the embodiments of the present disclosure, there is provided a playback apparatus including:
the acquisition module is used for acquiring first audio data synchronously played by multiple devices;
the encoding module is used for carrying out audio encoding processing on the first audio data according to a preset encoding algorithm to obtain second audio data;
the synchronous playing module is used for carrying out audio decoding processing on the second audio data and then playing the second audio data, and transmitting the second audio data to other playing devices participating in synchronous playing of multiple devices;
the preset coding algorithm is used for multi-device synchronous playing audio processing, and the size of the second audio data is smaller than that of the first audio data.
Wherein, above-mentioned playback device still includes:
a first sending module, configured to send synchronous time tick information to the other playback devices, where the synchronous time tick information at least includes CPU crystal oscillator frequency information of the playback devices.
Wherein, in the above playing device, the obtaining module includes:
the receiving submodule is used for receiving an audio playing instruction;
and the acquisition submodule is used for acquiring the first audio data from a pre-connected server according to the audio playing instruction.
Wherein, above-mentioned playback device still includes:
a second sending module, configured to transmit configuration information of multi-device synchronous playing with the other playing devices, where the configuration information at least includes any one of the following information:
volume information of synchronous playing and a playing mode of synchronous playing.
According to a third aspect of the embodiments of the present disclosure, there is provided a playback apparatus including:
the first receiving module is used for receiving audio data sent by other playing devices participating in synchronous playing of the multiple devices;
the playing module is used for carrying out audio decoding processing on the audio data according to a preset coding algorithm and playing the processed audio data;
and the preset coding algorithm is the same as the audio coding algorithm adopted by the audio data sent by the other playing equipment.
Wherein, above-mentioned playback device still includes:
a second receiving module, configured to receive synchronous time tick information sent by the other playback devices, where the synchronous time tick information at least includes CPU crystal oscillator frequency information of the other playback devices;
the playing module plays the processed audio data, and includes:
and controlling the audio data synchronously played with the other playing equipment according to the synchronous time setting information.
Wherein, above-mentioned playback device still includes:
a transmission module, configured to transmit configuration information of multi-device synchronous playing with the other playing devices, where the configuration information at least includes any one of the following information:
volume information of synchronous playing and a playing mode of synchronous playing.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a playback apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring first audio data synchronously played by multiple devices;
carrying out audio coding processing on the first audio data according to a preset coding algorithm to obtain second audio data;
the second audio data is played after being subjected to audio decoding processing, and the second audio data is transmitted to other playing devices participating in synchronous playing of multiple devices;
the preset coding algorithm is used for multi-device synchronous playing audio processing, and the size of the second audio data is smaller than that of the first audio data.
According to a sixth aspect of the embodiments of the present disclosure, there is provided a playback device including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving audio data sent by other playing devices participating in synchronous playing of multiple devices;
carrying out audio decoding processing on the audio data according to a preset encoding algorithm, and playing the processed audio data;
and the preset coding algorithm is the same as the audio coding algorithm adopted by the audio data sent by the other playing equipment.
According to a seventh aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium having instructions therein, which when executed by a processor of a terminal device, enable the terminal device to perform a method of controlling a playback device, the method including:
acquiring first audio data synchronously played by multiple devices;
carrying out audio coding processing on the first audio data according to a preset coding algorithm to obtain second audio data;
the second audio data is played after being subjected to audio decoding processing, and the second audio data is transmitted to other terminal equipment participating in synchronous playing of multiple devices;
the preset coding algorithm is used for multi-device synchronous playing audio processing, and the size of the second audio data is smaller than that of the first audio data.
According to an eighth aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium having instructions stored thereon, which when executed by a processor of a terminal device, enable the terminal device to perform a method of controlling a playback device, the method including:
receiving audio data sent by other terminal equipment participating in synchronous playing of multiple pieces of equipment;
carrying out audio decoding processing on the audio data according to a preset encoding algorithm, and playing the processed audio data;
and the preset coding algorithm is the same as the audio coding algorithm adopted by the audio data sent by the other playing equipment.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the technical scheme, the original audio data are subjected to audio coding processing by using a high-performance audio coding algorithm so as to reduce the space size of the synchronous audio data, thereby greatly reducing the time delay of the synchronous audio data among multiple devices, improving the synchronous precision of synchronous playing of the multiple devices, strengthening the stereo sound effect and bringing better immersive playback experience to users.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a flowchart illustrating a control method of a playback device according to an exemplary embodiment.
Fig. 2 is a flowchart illustrating a control method of a playback device according to an exemplary embodiment.
Fig. 3 is a flowchart illustrating a control method of a playback device according to an exemplary embodiment.
Fig. 4 is a flowchart illustrating a control method of a playback device according to an exemplary embodiment.
Fig. 5 is a block diagram illustrating a playback device according to an example embodiment.
Fig. 6 is a block diagram illustrating a playback device according to an example embodiment.
Fig. 7 is a block diagram illustrating a playback device according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating a control method of a playback device according to an exemplary embodiment. The method is applied to the first playing device and comprises the following operations:
step S101, acquiring first audio data synchronously played by multiple devices;
the first audio data is an audio resource that is played synchronously by multiple devices, and the first audio data may be original audio data.
The multi-device synchronous playing is that at least two playing devices synchronously play the same audio data. In this embodiment, the playing device may be a smart speaker, or may be any terminal device having a smart speaker function, for example, a mobile phone, a tablet computer, a personal computer, and the like. And the devices participating in the multi-device synchronized playback may be multiple playback devices of the same type. For example, multiple smart speakers may be used for multiple device synchronized playback. The devices participating in the multi-device synchronized playing can also be multiple playing devices of different types. For example, multiple smart speakers and a mobile phone may be used for multi-device synchronized playback. The equipment participating in the multi-equipment synchronous playing can be selected by the user independently, so that the personalized requirements of the user on the multi-equipment synchronous playing can be better met, and the user experience is improved.
Step S102, carrying out audio coding processing on the first audio data according to a preset coding algorithm to obtain second audio data;
step S103, playing the second audio data after audio decoding processing is carried out on the second audio data, and sending the second audio data to other playing devices participating in multi-device synchronous playing;
the preset coding algorithm is used for multi-device synchronous playing audio processing, and the size of the second audio data is smaller than that of the first audio data.
In this embodiment, the preset encoding algorithm is used for processing the audio played synchronously by multiple devices, mainly to reduce the spatial size of the synchronous audio data and ensure that the performance impact on the audio data is within a reasonable range. That is, the size of the second audio data obtained by performing audio encoding processing using the preset encoding algorithm is smaller than the size of the original audio data (i.e., the first audio data) that is played synchronously. Therefore, when the second audio data is transmitted among the plurality of playing devices participating in the synchronous playing of the plurality of devices, the occupied bandwidth can be greatly reduced, so that the time delay of the synchronous audio data among the plurality of devices can be reduced, the synchronous playing precision of the synchronous playing of the plurality of devices is improved, the stereo sound effect is enhanced, and better immersive playback experience is brought to users. In this embodiment, the preset encoding algorithm may be pre-configured in the playing device in the form of an algorithm library, or stored in a third-party data platform, and invoked in real time by the playing device participating in the synchronous playing of multiple devices, or stored after being invoked in advance. The preset coding algorithm adopted by all the playing devices participating in the multi-device synchronous playing is the same algorithm. Therefore, when multiple devices play synchronously, the surround effect can be achieved.
In this embodiment, the playing devices participating in the multi-device synchronous playing may include two or more playing devices. Therefore, when the playing device transmits the second audio data to other playing devices participating in the synchronous playing of the multiple devices, the second audio data may be transmitted to any one or more other playing devices participating in the synchronous playing.
It can be seen from the above description that, in this embodiment, the original audio data is subjected to audio coding processing by using a high-performance audio coding algorithm, so as to reduce the spatial size of the synchronous audio data, thereby greatly reducing the time delay of the synchronous audio data among multiple devices, improving the synchronous precision of synchronous playing of the multiple devices, ensuring the stereo sound effect of synchronous playing of the multiple devices, and bringing better immersive playback experience to users.
The present embodiment further provides a method for controlling a playback device, where the method further includes:
and sending synchronous time setting information to other playing devices, wherein the synchronous time setting information at least comprises the CPU crystal oscillator frequency information of the playing devices.
The CPU crystal frequency information of the playing device may represent the clock information of the playing device, so that other playing devices receiving the synchronous time synchronization information may perform synchronous time synchronization processing with the playing device according to the clock information of the playing device, thereby further improving the synchronous precision of synchronous playing among multiple devices.
In this embodiment, the manner in which the playing device sends the synchronized time synchronization information to other playing devices may include multiple manners. For example, the playing device may send the synchronous time synchronization information to other playing devices participating in the multi-device synchronous playing before the synchronous playing, so as to notify the other playing devices to perform time synchronization processing. Or in the synchronous playing process, the playing device periodically sends the synchronous time setting information to other playing devices. For another example, when receiving a time synchronization request message sent by another playback device, the playback device may feed back synchronization time synchronization information to the other playback device according to the time synchronization request message.
In this embodiment, the CPU crystal frequency information of the playback device reflects clock information of device hardware, and compared with synchronization information such as a timestamp, synchronization accuracy achieved by the CPU crystal frequency information of the playback device can reach millisecond level. The effect of synchronous playing of multiple devices is greatly improved, and the user experience is improved.
The embodiment further provides a method for controlling a playing device, where acquiring first audio data played synchronously by multiple devices includes:
receiving an audio playing instruction;
and acquiring first audio data from a pre-connected server according to the audio playing instruction.
In this embodiment, before the playing device performs the multi-device synchronous playing operation, the playing device needs to access a network for controlling the multi-device synchronous playing. The network may be Wi-Fi, a home network, a 4G/5G network, etc. The devices accessing the network include a plurality of playback devices that play back synchronously, and a management device (e.g., a server) that controls the synchronous playback of the plurality of devices. Therefore, when the playing device in this embodiment acquires the first audio data that is played synchronously by multiple devices, the first audio data may be acquired from a server that is connected in advance according to the received audio playing instruction.
The source of the received audio playing instruction may include various sources. For example, the audio playing instruction received by the playing device may be issued by the server to the playing device according to the operation of the client. The client can be an audio APP installed on the intelligent terminal device, and the user sends an audio playing instruction to the server through the operation on the APP, and then the server issues the audio playing instruction to the playing device. For another example, the playing device may detect a voice instruction initiated by the user, and determine that the audio playing instruction is received if the voice instruction is recognized as an audio playing operation.
When the playing device obtains the first audio data to be played from the server side, the playing device may obtain the first audio data from the server side according to the audio resource address information included in the audio playing instruction.
In this embodiment, the playing device obtains the first audio data that is played synchronously from the server that is connected in advance, so that synchronous playing among multiple devices can be realized.
The present embodiment further provides a method for controlling a playback device, where the method further includes:
the configuration information of multi-device synchronous playing is transmitted between the playing device and other playing devices, and the configuration information at least comprises any one of the following information:
volume information of synchronous playing and a playing mode of synchronous playing.
In this embodiment, the manner of transmitting the configuration information of the multi-device synchronous playing between the playing device and other playing devices may include multiple manners. For example, the playing device may send the stored or acquired configuration information to other playing devices participating in the multi-device synchronous playing. Or, the other playing devices may send the stored or acquired configuration information to the playing device. The volume information of the synchronous playing indicates the volume output by the playing device participating in the synchronous playing. After the volume information of synchronous playing is transmitted between the playing devices, in the process of synchronous playing, each playing device can play audio according to the volume of the synchronous playing. In one synchronous playing process, the volume information synchronously played by all the playing devices can be the same. For example, all playback devices participating in the multi-device synchronous playback perform synchronous playback at the same volume level. Or the volume information of synchronous playing configured for different playing devices is different according to the spatial position relationship between the playing devices. For example, when a certain playing device participating in the synchronous playing of multiple devices is used as a main device, the volume of the synchronous playing can be adjusted according to different distances between different playing devices and the main device by using the main device as a center.
The playing mode of the synchronous playing represents the sound effect output by the playing equipment participating in the synchronous playing. In the process of one-time synchronous playing, the sound effects synchronously played by all the playing devices can be the same or different. After the playing mode of synchronous playing is transmitted between the playing devices, in the process of synchronous playing, each playing device can play audio according to the playing mode of synchronous playing.
In this embodiment, the configuration information for the multi-device synchronous playing may be sent by the server to any one of the playing devices participating in the multi-device synchronous playing, or sent by the server to all the playing devices participating in the multi-device synchronous playing. And then the configuration information is shared among the playing devices. The configuration information sent by the server may be configuration information set by the client received by the server, or configuration information initially set in the server.
Therefore, in the embodiment, configuration information is shared among the playing devices participating in the multi-device synchronous playing, so that the effect of the multi-device synchronous playing can be improved, and the user experience is improved.
Fig. 2 is a flowchart illustrating a control method of a playback device according to an exemplary embodiment. The method is applied to the playing equipment and mainly comprises the following operations:
step S201, receiving audio data sent by other playing devices participating in synchronous playing of multiple devices;
in this embodiment, the multi-device synchronous playing means that at least two playing devices play the same audio data synchronously. As described above, the playing device referred to herein may be a smart sound box, or may be any terminal device having a smart sound box function, such as a mobile phone, a tablet computer, a personal computer, and so on. And the devices participating in the multi-device synchronized playback may be multiple playback devices of the same type. For example, multiple smart speakers may be used for multiple device synchronized playback. The devices participating in the multi-device synchronized playing can also be multiple playing devices of different types. In step S201, one or more other playback devices participating in the multi-device synchronous playback may be provided.
Step S202, carrying out audio decoding processing on the audio data according to a preset encoding algorithm, and playing the processed audio data;
the preset coding algorithm is the same as the audio coding algorithm adopted by the audio data sent by the other playing devices.
In this embodiment, the preset encoding algorithm is used for processing the audio played synchronously by multiple devices, and mainly aims to reduce the spatial size of the synchronous audio data and ensure that the performance impact on the audio data is within a reasonable range. The preset encoding algorithm used when performing audio encoding to obtain the second audio data is the same as that used when the playing device participating in the multi-device synchronous playing in the above embodiment. In the above embodiment, the preset encoding algorithm is used to encode original audio data (i.e. first audio data) that is played synchronously by multiple devices to obtain second audio data. In this embodiment, the preset encoding algorithm is mainly used to decode the second audio data shared by other devices participating in the synchronous playing of multiple devices, so as to obtain the original audio data of the synchronous playing, that is, recover the original audio data to the first audio data for the synchronous playing. Moreover, as described above, the audio data received by the playing device has been subjected to audio encoding processing, so that the occupied bandwidth during transmission is very small, thereby reducing the transmission delay between the playing device and other playing devices, improving the synchronization precision of multi-device synchronous playing, enhancing stereo sound effect, and bringing better immersive playback experience to users. In this embodiment, the preset encoding algorithm may be pre-configured in the playing device in the form of an algorithm library, or stored in a third-party data platform, and invoked in real time by the playing device participating in the synchronous playing of multiple devices, or stored after being invoked in advance. The preset coding algorithm adopted by all the playing devices participating in the multi-device synchronous playing is the same algorithm. Therefore, when multiple devices play synchronously, the surround effect can be achieved.
It can be seen from the above description that, in the embodiment, the audio encoding algorithm with high performance is used to perform audio decoding processing on audio data synchronized by other playing devices and play the audio data, so that a stereo sound effect played synchronously by multiple devices is ensured, and a better immersive playback experience is brought to a user.
The present embodiment further provides a method for controlling a playback device, where the method further includes:
receiving synchronous time setting information sent by other playing devices, wherein the synchronous time setting information at least comprises CPU crystal oscillator frequency information of other playing devices;
playing the processed audio data, comprising:
and controlling the audio data synchronously played with other equipment according to the synchronous time setting information.
As described above, the CPU crystal frequency information of other playback devices can characterize the clock information of other playback devices participating in the multi-device synchronous playback. Therefore, the playing device receiving the synchronous time synchronization information can perform synchronous time synchronization processing with other playing devices according to the clock information of other playing devices, that is, control the audio data synchronously played with other playing devices, thereby realizing synchronous playing among multiple devices.
In this embodiment, the manner of receiving the synchronized time tick information sent by other playing devices may include multiple manners. For example, the synchronous time tick information sent by other playing devices in real time may be received before or during the synchronous playing. For another example, the time synchronization request message may be sent to other playing devices in real time or periodically, and the other playing devices are triggered to feed back the synchronous time synchronization information to the playing device. At this time, the playing device can receive the synchronous time synchronization information through the response of the time synchronization request message fed back by other playing devices.
In this embodiment, the CPU crystal frequency information of the playback device reflects clock information of device hardware, and compared with synchronization information such as a timestamp, synchronization accuracy achieved by the CPU crystal frequency information of the playback device can reach millisecond level. The effect of synchronous playing of multiple devices is greatly improved, and the user experience is improved.
The present embodiment further provides a method for controlling a playback device, where the method further includes:
the configuration information of multi-device synchronous playing is transmitted between the playing device and other playing devices, and the configuration information at least comprises any one of the following information:
volume information of synchronous playing and a playing mode of synchronous playing.
As described above, the manner of transmitting the configuration information of the multi-device synchronized playing with other playing devices may include various manners. For example, the playback device may send any one or two of the above configuration information to other playback devices. For another example, the playback device may receive any one or two of the above configuration information sent by other playback devices.
The volume information of the synchronous playing may indicate the volume output by the playing device participating in the synchronous playing. The playing mode of the synchronous playing can represent the sound effect output by the playing device participating in the synchronous playing. The configuration information belongs to configuration parameters of multi-device synchronous playing, and each playing device can synchronously play according to the configuration information in the synchronous playing process.
The configuration information of the multi-device synchronous playing may be sent by the server to any one of the playing devices participating in the multi-device synchronous playing, or sent by the server to all the playing devices participating in the multi-device synchronous playing. And then the configuration information is shared among the playing devices. The configuration information sent by the server may be configuration information set by the client received by the server, or configuration information initially set in the server.
Therefore, in the embodiment, configuration information is shared among the playing devices participating in the multi-device synchronous playing, so that the effect of the multi-device synchronous playing can be improved, and the user experience is improved.
Fig. 3 is a flowchart illustrating a control method of a playback device according to an exemplary embodiment. The method can be applied to intelligent sound box equipment or terminal equipment provided with an intelligent playing client. The process is shown in fig. 3 and includes the following operations:
step S301, the playing device accesses a network for controlling the synchronous playing of multiple devices.
In this step, the network for controlling the synchronized playback of multiple devices may include a variety of forms of networks. For example, it may be Wi-Fi, home network, 4G/5G network, etc. The devices accessing the network for controlling the multi-device synchronized playback may comprise a management device (e.g. a management server) for controlling the multi-device synchronized playback, and a plurality of playback devices participating in the synchronized speech.
Step S302, the playing device receives a configuration instruction for controlling the synchronous playing of the multiple devices and carries out corresponding operation.
In this step, the configuration instruction may include various configuration information. Such as volume information for synchronized playback, playback mode for synchronized playback, etc. At this time, the playing device stores the configuration information, and sets the synchronous playing mode to be synchronous playing according to the stored configuration information.
The configuration instructions may also include various initialization operations. For example, the playback algorithm library is initialized, that is, a preset encoding algorithm is loaded in advance by initializing the playback algorithm library. In this context, the playback algorithm library may be used for multi-device synchronized stereo playback audio processing.
The configuration instruction may be issued to each playing device by a server in a network to which the playing device is connected. Or may be transmitted between the playback devices in a network to which the playback devices are connected.
Step S303, when the playing device receives the audio playing instruction, obtaining PCM audio data to be played from the server.
In this step, the manner of receiving the audio playing instruction by the playing device may include multiple manners. For example, the audio playing instruction received by the playing device may be issued by the server to the playing device according to the operation of the client. For example, the client may be an audio APP installed on the intelligent terminal device, and the user sends an audio playing instruction to the server by operating the APP, and then the server issues the audio playing instruction to the playing device.
The audio playing instruction received by the playing device can also be directly received by the playing device. For example, after the playback device detects the wakeup word, it detects the voice command, and if the voice command is recognized as an audio playback operation, it is determined that the audio playback command is received.
When the playing device obtains the first audio data to be played from the server side, the PCM audio data can be obtained from the server side according to the audio resource address issued in the audio playing instruction. The PCM audio data is referred to as the first audio data. The playback device is referred to as the first playback device above.
Step S304, the playing device encodes the PCM audio data into OPUS audio data according to a preset playing algorithm library, locally decodes the OPUS audio data and plays the OPUS audio data, and simultaneously sends the OPUS audio data obtained by encoding to other playing devices accessed to the network.
In the step, the playback algorithm library can be used for multi-device synchronous stereo playback audio processing, so that OPUS audio data generated by encoding audio data through an encoding algorithm in the playback algorithm library has stereo tone quality and can bring better immersive playback experience to users. The OPUS audio data is referred to as the second audio data above.
Step S305, in the process of playing the audio, when the playing device receives a time synchronization request message sent by another playing device, feeding a time synchronization response message back to the device, where the time synchronization response message carries a crystal oscillator frequency parameter of a CPU of the playing device.
In this step, the crystal oscillator frequency parameter of the CPU of the playback device may represent the clock information of the playback device, so that other devices may implement synchronous playback according to the clock information of the playback device.
Step S306, when the playing device receives the playing control instruction, performing corresponding processing according to the playing control instruction, and synchronizing the received playing control instruction to other playing devices in the network.
The manner of receiving the playing control instruction by the playing device is similar to the manner of receiving the audio playing instruction in step S303. It may be that the playback device receives from the server side. For example, an audio APP installed on the intelligent terminal device initiates a play control instruction to the server, and the server issues the play control instruction to the playing device. The method can also be a voice instruction received by the playing device, namely the playing device detects the voice instruction, and if the voice instruction is identified as the playing control operation, the playing control instruction is determined to be received.
The playing control instruction at least includes instructions to pause playing, resume playing, end playing, switch to the next song, and the like.
When the received play control instruction is a pause play instruction, the playing device stops the current play operation and synchronizes the pause play instruction to other playing devices for informing other playing devices of synchronously pausing the play operation.
When the received playing control instruction is a playing resuming instruction, the playing device starts playing the audio data which is stopped playing, and synchronizes the playing resuming instruction to other playing devices for informing other playing devices to resume the playing operation synchronously.
When the received playing control instruction is a playing ending instruction, the playing device ends the playing operation and synchronizes the playing ending instruction to other playing devices for informing other playing devices to synchronously end the playing operation.
When the received playing control instruction is a next song switching instruction, the playing equipment stops playing the current song, the songs in the playing list are sequenced to be the next song of the current song, and the next song switching instruction is synchronized to other playing equipment for informing other playing equipment of synchronously playing the next song.
In practical applications, the execution sequence of the steps S305 and S306 may be adjusted, that is, the step S306 may be executed first and then the step S305 may be executed. Step S306 may be executed after step S305 is executed a plurality of times. Or step S305 and step S306 are alternately executed.
Therefore, in the embodiment, the space size of the audio data which is shared among the multiple devices and is synchronously played is reduced through the high-performance playback algorithm library, so that the transmission delay of the audio which is synchronously played among the multiple devices is reduced, the synchronous precision of the synchronous playing of the multiple devices is ensured, the stereo sound effect of the synchronous playing is added, and better immersive playback experience is brought to a user. In addition, in the embodiment, the time synchronization among the multiple devices is realized through the CPU crystal oscillator parameters of the playing device, and the synchronization precision can reach millisecond level, so the effect of synchronous playing of the multiple devices is further improved, and the user experience is improved.
Fig. 4 is a flowchart illustrating a control method of a playback device according to an exemplary embodiment. The method can be applied to intelligent sound box equipment or terminal equipment provided with an intelligent playing client. The process, as shown in fig. 4, includes the following operations:
step S401, the playing device accesses the network for controlling the synchronous playing of the multiple devices.
Step S402, the playing device receives a configuration instruction for controlling the synchronous playing of the multiple devices and carries out corresponding operation.
Steps S401 and S402 described above are similar to steps S301 and S302 of the above-described embodiment. And will not be described in detail herein.
In step S403, the playing device receives the OPUS audio data sent by the other playing device.
In this context, the playback device is referred to as the second playback device above.
And S404, the playing device decodes and plays the OPUS audio data according to a preset playing algorithm library.
In this step, the preset playback algorithm library is the playback algorithm library initialized in step S402, that is, the initialized playback algorithm libraries among the multiple devices accessed in the network are the same. Therefore, the playing device can decode the received OPUS audio data according to the decoding algorithm corresponding to the coding algorithm in the playing algorithm library.
Because the playback algorithm library can be used for the audio processing of multi-device synchronous stereo playing, the OPUS audio data generated by coding through the coding algorithm in the playback algorithm library has stereo tone quality. In this way, the audio played by the playing device can bring better immersive playback experience to the user.
Step S405, in the process of playing the audio, the playing device periodically sends a time synchronization request message to other playing devices.
Step S406, receiving the time synchronization response message fed back by the other playing device, obtaining the crystal oscillator frequency parameter of the CPU of the other playing device from the time synchronization response message, and performing time synchronization with the other playing device according to the crystal oscillator frequency parameter of the CPU.
Step S407, when the playing device receives the playing control instruction, perform corresponding processing according to the playing control instruction, and synchronize the received playing control instruction to other playing devices in the network.
The specific implementation manner of this step is similar to the implementation manner of step S306 in the above embodiment. And will not be described in detail herein.
Therefore, in this embodiment, the playing device serves as the second playing device, and realizes a synchronous playing function with other playing devices accessing the same network. The audio coding processing is carried out on the audio to be played by using a coding algorithm in a high-performance playback algorithm library, so that the stereo sound effect of synchronous playing of multiple devices is ensured, and better immersive playback experience is brought to a user. In addition, in the embodiment, the time synchronization among the multiple devices is realized through the CPU crystal oscillator parameters of the playing device, and the synchronization precision can reach millisecond level, so that the effect of synchronous playing of the multiple devices is improved, and the user experience is improved.
Fig. 5 shows a block diagram of a playback device according to an example embodiment. As shown in fig. 5, the apparatus includes at least an acquisition module 51, an encoding module 52, and a synchronized playback module 53.
An obtaining module 51 configured to obtain first audio data played synchronously by multiple devices;
the encoding module 52 is configured to perform audio encoding processing on the first audio data according to a preset encoding algorithm to obtain second audio data;
the synchronous playing module 53 is configured to perform audio decoding processing on the second audio data and then play the second audio data, and transmit the second audio data to other playing devices participating in the multi-device synchronous playing;
the preset coding algorithm is used for processing the audio played synchronously by multiple devices, other playing devices comprise devices for playing the audio synchronously with the playing device, and the size of the second audio data is smaller than that of the first audio data.
This embodiment also provides a playback device, and the device further includes:
the first sending module is configured to send synchronous time setting information to other playing devices, wherein the synchronous time setting information at least comprises CPU crystal oscillator frequency information of the playing devices.
This embodiment also provides a playback device, wherein, the obtaining module includes:
the receiving submodule is configured to receive an audio playing instruction;
the acquisition submodule is configured to acquire first audio data from a server side connected in advance according to the audio playing instruction.
This embodiment also provides a playback device, and the device further includes:
the second sending module is configured to transmit configuration information of multi-device synchronous playing with other playing devices, and the configuration information at least includes any one of the following information:
volume information of synchronous playing and a playing mode of synchronous playing.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 6 shows a block diagram of a playback device according to an example embodiment. As shown in fig. 6, the apparatus includes at least a first receiving module 61 and a playing module 62.
A first receiving module 61, configured to receive audio data sent by other playing devices participating in the multi-device synchronous playing;
the playing module 62 is configured to perform audio decoding processing on the audio data according to a preset encoding algorithm, and play the processed audio data;
the preset coding algorithm is the same as the audio coding algorithm adopted by the audio data sent by other playing devices.
This embodiment also provides a playback device, and the device further includes:
the second receiving module is configured to receive synchronous time setting information sent by other playing devices, wherein the synchronous time setting information at least comprises CPU crystal oscillator frequency information of other playing devices;
the playing module plays the processed audio data, and comprises:
and controlling the audio data synchronously played with other equipment according to the synchronous time setting information.
This embodiment also provides a playback device, and the device further includes:
the transmission module is configured to transmit configuration information of multi-device synchronous playing with other playing devices, and the configuration information at least comprises any one of the following information:
volume information of synchronous playing and a playing mode of synchronous playing.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 7 is a block diagram illustrating a playback device 700 according to an example embodiment. For example, the apparatus 700 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 7, apparatus 700 may include one or more of the following components: a processing component 702, a memory 704, a power component 706, a multimedia component 708, an audio component 710, an input/output (I/O) interface 712, a sensor component 714, and a communication component 716.
The processing component 702 generally controls overall operation of the device 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 702 may include one or more processors 720 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 702 may include one or more modules that facilitate interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
The memory 704 is configured to store various types of data to support operation at the device 700. Examples of such data include instructions for any application or method operating on device 700, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 704 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 706 provides power to the various components of the device 700. The power components 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power supplies for the apparatus 700.
The multimedia component 708 includes a screen that provides an output interface between the device 700 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 708 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 700 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 710 is configured to output and/or input audio signals. For example, audio component 710 includes a Microphone (MIC) configured to receive external audio signals when apparatus 700 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 704 or transmitted via the communication component 716. In some embodiments, audio component 710 also includes a speaker for outputting audio signals.
The I/O interface 712 provides an interface between the processing component 702 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 714 includes one or more sensors for providing status assessment of various aspects of the apparatus 700. For example, sensor assembly 714 may detect an open/closed state of device 700, the relative positioning of components, such as a display and keypad of apparatus 700, sensor assembly 714 may also detect a change in position of apparatus 700 or a component of apparatus 700, the presence or absence of user contact with apparatus 700, orientation or acceleration/deceleration of apparatus 700, and a change in temperature of apparatus 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 714 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 716 is configured to facilitate wired or wireless communication between the apparatus 700 and other devices. The apparatus 700 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 716 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 700 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 704 comprising instructions, executable by the processor 720 of the device 700 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer-readable storage medium, instructions in which, when executed by a processor of a mobile terminal, enable the mobile terminal to perform a method of controlling a playback device, comprising:
acquiring first audio data synchronously played by multiple devices;
carrying out audio coding processing on the first audio data according to a preset coding algorithm to obtain second audio data;
the second audio data is played after being subjected to audio decoding processing, and is transmitted to other terminal equipment participating in synchronous playing of the multiple equipment;
the preset coding algorithm is used for multi-device synchronous playing audio processing, and the size of the second audio data is smaller than that of the first audio data.
There is also a non-transitory computer-readable storage medium having instructions therein, which when executed by a processor of a mobile terminal, enable the mobile terminal to perform a method of controlling a playback device, including:
receiving audio data sent by other terminal equipment participating in synchronous playing of multiple pieces of equipment;
carrying out audio decoding processing on the audio data according to a preset encoding algorithm, and playing the processed audio data;
the preset coding algorithm is the same as the audio coding algorithm adopted by the audio data sent by other playing devices.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (18)

1. A control method of a playing device is applied to the playing device and is characterized by comprising the following steps:
acquiring first audio data synchronously played by multiple devices;
carrying out audio coding processing on the first audio data according to a preset coding algorithm to obtain second audio data;
the second audio data is played after being subjected to audio decoding processing, and the second audio data is transmitted to other playing devices participating in synchronous playing of multiple devices;
the preset coding algorithm is used for multi-device synchronous playing audio processing, and the size of the second audio data is smaller than that of the first audio data.
2. The method of claim 1, further comprising:
and sending synchronous time setting information to the other playing devices, wherein the synchronous time setting information at least comprises CPU crystal oscillator frequency information of the playing devices.
3. The method of claim 1, wherein obtaining the first audio data played synchronously by multiple devices comprises:
receiving an audio playing instruction;
and acquiring the first audio data from a pre-connected server according to the audio playing instruction.
4. The method according to claim 1 or 3, characterized in that the method further comprises:
the configuration information of multi-device synchronous playing is transmitted between the playing device and the other playing devices, and the configuration information at least comprises any one of the following information:
volume information of synchronous playing and a playing mode of synchronous playing.
5. A control method of a playing device is applied to the playing device, and is characterized by comprising the following steps:
receiving audio data sent by other playing devices participating in synchronous playing of multiple devices;
carrying out audio decoding processing on the audio data according to a preset encoding algorithm, and playing the processed audio data;
and the preset coding algorithm is the same as the audio coding algorithm adopted by the audio data sent by the other playing equipment.
6. The method of claim 5, further comprising:
receiving synchronous time setting information sent by other playing devices, wherein the synchronous time setting information at least comprises CPU crystal oscillator frequency information of the other playing devices;
the playing the processed audio data includes:
and controlling the audio data synchronously played with the other playing devices according to the synchronous time setting information.
7. The method of claim 5 or 6, further comprising:
the playing device and the other playing devices transmit configuration information of multi-device synchronous playing, wherein the configuration information at least comprises any one of the following information:
volume information of synchronous playing and a playing mode of synchronous playing.
8. A playback device, comprising:
the acquisition module is used for acquiring first audio data synchronously played by multiple devices;
the encoding module is used for carrying out audio encoding processing on the first audio data according to a preset encoding algorithm to obtain second audio data;
the synchronous playing module is used for carrying out audio decoding processing on the second audio data and then playing the second audio data, and transmitting the second audio data to other playing devices participating in synchronous playing of multiple devices; the preset coding algorithm is used for multi-device synchronous stereo playing audio processing, and the size of the second audio data is smaller than that of the first audio data.
9. The apparatus of claim 8, further comprising:
a first sending module, configured to send synchronous time tick information to the other playback devices, where the synchronous time tick information at least includes CPU crystal oscillator frequency information of the playback devices.
10. The apparatus of claim 8, wherein the obtaining module comprises:
the receiving submodule is used for receiving an audio playing instruction;
and the acquisition submodule is used for acquiring the first audio data from a pre-connected server according to the audio playing instruction.
11. The apparatus according to claim 8 or 10, characterized in that it further comprises:
a second sending module, configured to transmit configuration information of multi-device synchronous playing with the other playing devices, where the configuration information at least includes any one of the following information:
volume information of synchronous playing and a playing mode of synchronous playing.
12. A playback device, comprising:
the first receiving module is used for receiving audio data sent by other playing devices participating in synchronous playing of the multiple devices;
the playing module is used for carrying out audio decoding processing on the audio data according to a preset coding algorithm and playing the processed audio data;
and the preset coding algorithm is the same as the audio coding algorithm adopted by the audio data sent by the other playing equipment.
13. The apparatus of claim 12, further comprising:
a second receiving module, configured to receive synchronous time tick information sent by the other playback devices, where the synchronous time tick information at least includes CPU crystal oscillator frequency information of the other playback devices;
the playing module plays the processed audio data, and includes:
and controlling the audio data synchronously played with the other playing equipment according to the synchronous time setting information.
14. The apparatus according to claim 12 or 13, characterized in that it further comprises:
a transmission module, configured to transmit configuration information of multi-device synchronous playing with the other playing devices, where the configuration information at least includes any one of the following information:
volume information of synchronous playing and a playing mode of synchronous playing.
15. A playback device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring first audio data synchronously played by multiple devices;
carrying out audio coding processing on the first audio data according to a preset coding algorithm to obtain second audio data;
the second audio data is played after being subjected to audio decoding processing, and the second audio data is transmitted to other playing devices participating in synchronous playing of multiple devices;
the preset coding algorithm is used for multi-device synchronous playing audio processing, and the size of the second audio data is smaller than that of the first audio data.
16. A playback device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving audio data sent by other playing devices participating in synchronous playing of multiple devices;
carrying out audio decoding processing on the audio data according to a preset encoding algorithm, and playing the processed audio data;
and the preset coding algorithm is the same as the audio coding algorithm adopted by the audio data sent by the other playing equipment.
17. A non-transitory computer-readable storage medium in which instructions, when executed by a processor of a terminal device, enable the terminal device to perform a method of controlling a playback device, the method comprising:
acquiring first audio data synchronously played by multiple devices;
carrying out audio coding processing on the first audio data according to a preset coding algorithm to obtain second audio data;
the second audio data is played after being subjected to audio decoding processing, and the second audio data is transmitted to other terminal equipment participating in synchronous playing of multiple devices;
the preset coding algorithm is used for multi-device synchronous stereo playing audio processing, and the size of the second audio data is smaller than that of the first audio data.
18. A non-transitory computer-readable storage medium in which instructions, when executed by a processor of a terminal device, enable the terminal device to perform a method of controlling a playback device, the method comprising:
receiving audio data sent by other terminal equipment participating in synchronous playing of multiple pieces of equipment;
carrying out audio decoding processing on the audio data according to a preset encoding algorithm, and playing the processed audio data;
and the preset coding algorithm is the same as the audio coding algorithm adopted by the audio data sent by the other playing equipment.
CN202011040196.9A 2020-09-28 2020-09-28 Control method of playback device, and computer storage medium Pending CN112165645A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011040196.9A CN112165645A (en) 2020-09-28 2020-09-28 Control method of playback device, and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011040196.9A CN112165645A (en) 2020-09-28 2020-09-28 Control method of playback device, and computer storage medium

Publications (1)

Publication Number Publication Date
CN112165645A true CN112165645A (en) 2021-01-01

Family

ID=73861903

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011040196.9A Pending CN112165645A (en) 2020-09-28 2020-09-28 Control method of playback device, and computer storage medium

Country Status (1)

Country Link
CN (1) CN112165645A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112951272A (en) * 2021-01-21 2021-06-11 北京锐马视讯科技有限公司 Audio comparison method, device and equipment
CN113225691A (en) * 2021-04-02 2021-08-06 北京小米移动软件有限公司 Audio processing method, device and storage medium
CN113422997A (en) * 2021-06-21 2021-09-21 北京小米移动软件有限公司 Method and device for playing audio data and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108769796A (en) * 2018-06-08 2018-11-06 四川乐望崇智科技有限公司 Audio sync transmission method between smart mobile phone and computer
CN108900981A (en) * 2018-05-30 2018-11-27 歌尔股份有限公司 Transmission method, the apparatus and system of Bluetooth audio frequency data
CN109274405A (en) * 2018-08-14 2019-01-25 Oppo广东移动通信有限公司 Data transmission method, device, electronic equipment and computer-readable medium
CN110234036A (en) * 2019-06-19 2019-09-13 广州酷狗计算机科技有限公司 A kind of method, apparatus and system playing multimedia file

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108900981A (en) * 2018-05-30 2018-11-27 歌尔股份有限公司 Transmission method, the apparatus and system of Bluetooth audio frequency data
CN108769796A (en) * 2018-06-08 2018-11-06 四川乐望崇智科技有限公司 Audio sync transmission method between smart mobile phone and computer
CN109274405A (en) * 2018-08-14 2019-01-25 Oppo广东移动通信有限公司 Data transmission method, device, electronic equipment and computer-readable medium
CN110234036A (en) * 2019-06-19 2019-09-13 广州酷狗计算机科技有限公司 A kind of method, apparatus and system playing multimedia file

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112951272A (en) * 2021-01-21 2021-06-11 北京锐马视讯科技有限公司 Audio comparison method, device and equipment
CN112951272B (en) * 2021-01-21 2021-11-23 北京锐马视讯科技有限公司 Audio comparison method, device and equipment
CN113225691A (en) * 2021-04-02 2021-08-06 北京小米移动软件有限公司 Audio processing method, device and storage medium
CN113225691B (en) * 2021-04-02 2022-07-08 北京小米移动软件有限公司 Audio processing method, device and storage medium
CN113422997A (en) * 2021-06-21 2021-09-21 北京小米移动软件有限公司 Method and device for playing audio data and readable storage medium
CN113422997B (en) * 2021-06-21 2023-02-28 北京小米移动软件有限公司 Method and device for playing audio data and readable storage medium

Similar Documents

Publication Publication Date Title
CN112165645A (en) Control method of playback device, and computer storage medium
JP6626440B2 (en) Method and apparatus for playing multimedia files
CN115883901A (en) Synchronized playback and control of media
CN111294779B (en) Audio playing method, device and storage medium
US11457250B2 (en) Method, device, and storage medium for transmitting data
US20220248083A1 (en) Method and apparatus for video playing
CN111343476A (en) Video sharing method and device, electronic equipment and storage medium
RU2673560C1 (en) Method and system for displaying multimedia information, standardized server and direct broadcast terminal
WO2019000414A1 (en) Method, apparatus, device, and base station for achieving edge computing in cellular network
CN112130616B (en) Clock synchronization method, device and storage medium
CN110634488B (en) Information processing method, device and system and storage medium
CN110992920B (en) Live broadcasting chorus method and device, electronic equipment and storage medium
CN106792024B (en) Multimedia information sharing method and device
CN113099428A (en) Audio information transmission method, audio information transmission device, and storage medium
CN112099750A (en) Screen sharing method, terminal, computer storage medium and system
US20220095020A1 (en) Method for switching a bit rate, and electronic device
CN111182328A (en) Video editing method, device, server, terminal and storage medium
CN112616053B (en) Transcoding method and device for live video and electronic equipment
CN111355973B (en) Data playing method and device, electronic equipment and storage medium
CN111739538A (en) Translation method and device, earphone and server
CN115833984A (en) Clock synchronization method and device, electronic equipment and readable storage medium
CN113422997B (en) Method and device for playing audio data and readable storage medium
CN111586152B (en) Bluetooth transmission data playing method and device and Bluetooth transmission data sending method and device
CN114272600A (en) Control right switching system, method, device, equipment and storage medium
CN113660513A (en) Method, device and storage medium for synchronizing playing time

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210101