A playback device, a playback system and a synchronization control method thereof

In the multi-device audio playback system, the main device sends data packets and calculates the target frequency energy, and the playback device generates periodic events to synchronously control the refresh processing, which solves the problem of inconsistent frequency information of multiple devices, and realizes audio and display data The synchronization of the playback effect improves the unity of the playback effect.

CN115132235BActive Publication Date: 2024-11-08ACTIONS ZHUHAI MICROELECTRONICS CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202110323502.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-03-25
Publication Date
2024-11-08
Estimated Expiration
2041-03-25

AI Technical Summary

Technical Problem

During the multi-device audio playback, due to inconsistent frequency point information, the lighting control display rhythm is inconsistent, and it is difficult for the prior art to effectively synchronize the frequency point information of multiple playback devices.

Method used

The main device sends data packets to be played, the playback device calculates the target frequency energy information, and generates periodic events according to the audio interrupt processing function, triggers control refresh processing, realizes synchronous control between the main device and the playback device, and ensures frequency information consistency.

Benefits of technology

It realizes synchronization of audio data and display data during multi-device playback, ensures synchronization of LED light display and audio content, and improves the unity of visual effects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115132235B_ABST
    Figure CN115132235B_ABST
Patent Text Reader

Abstract

The purpose of an embodiment of the present invention is to provide a synchronous control method for a playback system, wherein the playback system includes a master device and a playback device, wherein the master device sends a data packet to the playback device, and the method includes: the playback device calculates target frequency energy information according to the received data packet to be played; the master device and the playback device generate periodic events according to an audio interrupt processing function; the master device and the playback device trigger a control refresh process according to the periodic event; the master device and the playback device perform synchronous control according to the target frequency energy. The present invention also provides a playback device, a synchronous control method thereof, and a playback system accordingly. By adopting the technical solution provided in the embodiment of the present invention, synchronous control based on frequency information and multi-screen synchronous display functions can be realized when multiple devices are playing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of synchronization processing technology, and in particular to a playback device, a playback system and a synchronization control method thereof. Background Art

[0002] With the development of audio technology, multiple audio devices can play the same song at the same time to improve the playback effect. During the playback process, the playback order of multiple audio devices may be different. The playback order means that the audio playback device can join the playback at any time and can also exit the playback at any time. Multiple audio devices may use wireless or wired methods to transmit audio data. Due to different playback orders, interference and packet loss during wireless transmission, the frequency information of different playback devices may be inconsistent. If the frequency information is inconsistent, if this frequency information is used for light control display, multiple devices will obviously have inconsistent rhythms, that is, the visual effect will show that the display rhythms of multiple devices are chaotic.

[0003] In the prior art, there are more and more devices that can play multiple playback devices synchronously via Bluetooth, such as Bluetooth multi-channel speakers. How to ensure that the display of frequency information and audio playback content of multiple devices during playback is synchronized is a difficult problem to achieve. Summary of the invention

[0004] In view of this, the main purpose of the embodiments of the present invention is to provide a synchronization control method for a playback system, which can realize synchronization control based on frequency information when multiple devices are playing.

[0005] The embodiment of the present invention is implemented as follows: a synchronous control method of a playback system, the playback system includes a master device and a playback device, the master device sends a data packet to be played to the playback device, and the method includes:

[0006] The playback device calculates target frequency energy information according to the received data packet to be played;

[0007] The master device and the playback device generate periodic events according to the audio interrupt processing function;

[0008] The master device and the playback device trigger a control refresh process according to the periodic event;

[0009] The master device and the playback device are synchronously controlled according to the target frequency energy.

[0010] Furthermore, the playback device calculates the frequency energy according to the received data packet to be played until the target frequency energy information is obtained, and further includes:

[0011] The playback device plays synchronously with the main device according to the data packet to be played.

[0012] Furthermore, generating periodic events according to the audio interrupt processing function includes: periodically outputting audio data according to an audio output sampling rate to generate periodic events.

[0013] Furthermore, the period T of the periodic event is T=Length / K*Sa, where length is the length of the output data buffer, Sa is the output sampling rate, and K is the data characteristic value.

[0014] Furthermore, the data characteristic value is determined by the data bit width and the number of data channels.

[0015] Furthermore, the controlling refresh processing according to the periodic event triggering includes: dynamically performing refresh processing according to the target frequency energy information.

[0016] Furthermore, the master device and the playback device perform synchronous control according to the target frequency energy, including:

[0017] The main device and the playback device perform synchronous display according to the target frequency energy information, wherein the synchronous display includes synchronous display of LED lights of the main device and the playback device.

[0018] Furthermore, the target frequency energy information is consistent with the frequency energy information of the master device, and the calculation method includes:

[0019] Calculate the current frequency energy result based on the current data packet, calculate the historical frequency energy result based on the historical data packet, and calculate the target frequency energy information according to the weight coefficient;

[0020] Among them, each M data packets are a processing cycle, the historical frequency energy result is H, the initial value of H is 0, corresponding to the weight coefficient Hw, the frequency energy result is N, corresponding to the weight coefficient Nw, and the target frequency energy information is Si: Si=Hi*Hwi+Ni*Nwi, where 1≤i≤M.

[0021] According to another aspect of the embodiment of the present invention, the present invention also aims to provide a synchronous control method for playback devices, which can realize synchronous control based on frequency information when multiple devices are playing.

[0022] The embodiment of the present invention is implemented as follows: a synchronous control method for a playback device, wherein the playback device receives a playback data packet sent by a master device, and the method comprises:

[0023] The playback device calculates target frequency energy information according to the received data packet to be played;

[0024] Generate periodic events according to the audio interrupt processing function;

[0025] triggering a control refresh process according to the periodic event;

[0026] Synchronous control is performed according to the target frequency energy information.

[0027] According to another aspect of the embodiment of the present invention, the present invention also aims to provide a playback system that can achieve synchronous control based on frequency information when multiple devices are playing.

[0028] The embodiment of the present invention is implemented as follows: a playback system, characterized in that it includes: a main device and a playback device, wherein the main device sends a data packet to be played to the playback device, characterized in that:

[0029] The playback device calculates target frequency energy information according to the received data packet to be played;

[0030] The master device and the playback device are used to generate periodic events according to the audio interrupt processing function;

[0031] The master device and the playback device are used to trigger a control refresh process according to the periodic event;

[0032] The main device and the playback device are used to perform synchronization control according to the target frequency energy information.

[0033] According to another aspect of the embodiment of the present invention, the present invention also aims to provide a playback device that can achieve synchronous control based on frequency information when multiple devices are playing.

[0034] The embodiment of the present invention is implemented as follows: an audio playback device, the audio playback device receives an audio data packet sent by a main device, and the audio playback device includes:

[0035] A frequency point information calculation device, used to calculate the target frequency point energy information according to the received data packet to be played;

[0036] An event generating device, used for generating periodic events according to an audio interrupt processing function;

[0037] A refresh processing device, used to trigger a control refresh process according to the periodic event;

[0038] A control device is used to perform synchronization control according to the target frequency energy information.

[0039] According to the above technical scheme, the embodiment of the present invention has the following effects: the present invention ensures that the audio data played by multiple devices is consistent, so the periodic events generated by multiple devices are also consistent, and then the control refresh working time is also consistent. When the control is refreshed, it will be dynamically refreshed according to the collected frequency information. For example, the control thread is used for the LED display of the playback device. The LED display is mainly based on the frequency information. For example, for the part with stronger bass, the LED light displays a part in dark color, and for the part with stronger treble, the LED light displays a part in bright color. Since the frequency information is consistent, it can be ensured that the audio playback content and the displayed data are synchronized. The embodiment of the present invention achieves the synchronization of multi-device playback and frequency information control by ensuring the consistency of frequency acquisition data and synchronous refresh of control. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:

[0041] Figure 1 A flowchart showing a synchronous control method of a playback system provided by the present application is shown;

[0042] Figure 2 A flow chart of a synchronous control method for a playback device provided by the present application is shown. DETAILED DESCRIPTION

[0043] The present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the relevant invention, rather than to limit the invention. It is also necessary to explain that, for ease of description, only the parts related to the relevant invention are shown in the accompanying drawings.

[0044] It should be noted that the embodiments and features in the embodiments of the present application can be combined with each other without conflict. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments. The order of steps in the following embodiments is only for citation and can be adjusted without conflict.

[0045] like Figure 1 FIG. 1 is a flowchart of a synchronous control method of a playback system provided by an embodiment of the present invention. The audio playback system includes a master device and a playback device. The master device sends a data packet to be played to the playback device. The method includes:

[0046] S101, the playback device calculates target frequency energy information according to the received data packet to be played;

[0047] S102, the master device and the playback device generate periodic events according to an audio interrupt processing function;

[0048] S103, the master device and the playback device trigger a control refresh process according to the periodic event;

[0049] S104: The main device and the playback device are synchronously controlled according to the target frequency energy.

[0050] The synchronous control method provided in the embodiment of the present invention is an application based on the consistency of frequency information, and the synchronous control includes: synchronous display control of LED, synchronization based on vibration feedback of drum beats, synchronous display spectrum of LCD, etc. The playback system in the embodiment of the present invention can be any playback system that performs synchronous display, such as an audio playback system or a video playback system, or a playback system that does not perform audio playback but only performs light display. This embodiment takes an audio playback system such as a speaker containing LED as an example to illustrate the synchronous display control of its LED. Many existing speakers have the function of displaying the rhythm of lighting effects. The essence of this is to reflect the audio frequency information through the color of the LED display corresponding to different frequency information. For example, the LED lights of the part with stronger bass are displayed in dark colors, and the LED lights of the part with stronger treble are displayed in bright colors, so as to achieve the effect that the LED display follows the rhythm of the music. For example, in order to ensure synchronous LED display control, the master device and the playback device need to ensure that the frequency information collected during audio playback is consistent. The data of the playback device comes from the data packet sent by the master device. The playback device calculates the target frequency energy based on the received data packet to be played to obtain frequency energy information close to or the same as that of the master device. During the playback process, the master device and the playback device generate periodic events according to the audio interrupt processing function. The periodic event generation is based on the audio output sampling rate, and the audio data is periodically output, thereby generating periodic events, such as periodic interruption, periodic message or command transmission, that is, using the events generated by the audio output path as the beat, Trigger the refresh of the display thread, for example, the period T of the periodic event, taking the periodic interrupt as an example, T is the time when the interrupt is generated, T=Length / K*Sa, where length is the length of the output data buffer, Sa is the output sampling rate, K is the data characteristic value, and the data characteristic value K is determined by the data bit width and the number of data channels, and the value of K is the data bit width*the number of data channels; if the output data is dual-channel 16-bit quantized value data, then K=4, and the interruption interval time, that is, the interruption period generated, is T=Length / 4*Sa; the calculation method for the period of periodically sending messages or commands is consistent with the calculation method for periodic interrupts, which will not be repeated here.

[0051] Preferably, taking the master-slave speakers as an example, the master speaker is the master device, the slave speaker is the playback device, the slave speakers can be one or more, the master speaker can send the data to be played to the slave speakers in a broadcasting manner, the slave speakers calculate the target frequency energy according to the received data packets to be played to obtain the frequency energy information close to or the same as that of the master device, during the playback process, the periodic events generated by the master-slave boxes according to the audio interrupt processing function can be periodic interrupts, the interruption is generated according to the audio output sampling rate, the audio data is output periodically, and the interruption is generated periodically, so that the interruption interval is uniform, and the master-slave boxes can be ensured to be aligned at the same time by controlling the playback process of the master-slave boxes. Starting from the point, the interrupts are generated at the same time, so that subsequent interrupts can also be considered to be generated synchronously; each time an interrupt is generated, the master and slave boxes trigger the display refresh processing respectively, and dynamically perform the refresh processing according to the target frequency energy information. The refresh processing refers to converting the collected frequency information into the display style of the LED light in different modes. The refresh process is to convert from one display style to another display style; and the display style at each moment is displayed by the master and slave boxes according to the calculated frequency energy information. According to the spectrum characteristics, for example, the part with stronger bass, the LED light displays a part in dark color, and the part with stronger treble, the LED light displays a part in bright color. Since the audio data played by multiple devices can be guaranteed to be consistent, the audio interruption time points generated by multiple devices are also consistent, and then the display thread working time is also consistent. The display device for realizing synchronous display can also include an LCD display screen. When multiple slave speakers obtain the target frequency energy information through calculation, combined with periodic interrupt generation and refresh processing, the synchronous display of the spectrum information of the playback data can be controlled, and multi-screen synchronous display can be realized according to this spectrum information.

[0052] The present invention provides another embodiment, the playback device is a video playback device, then the present invention applied to synchronous display may include LCD, LED, OLED and other devices that can realize synchronous display, the synchronous display may include the spectrum characteristics of music, take LED synchronous display as an example, in order to ensure LED synchronous display control, the main device and the video playback device need to ensure that the frequency information collected during audio playback is consistent, the data of the playback device comes from the data packet sent by the main device, the video playback device calculates the target frequency energy according to the received data packet to be played to obtain the frequency energy information close to or the same as that of the main device; because the calculation of the frequency energy information is based on the audio data in the audio data packet, the video playback device and the main device need to extract the audio data file from the data packet; during the playback process, the main device and the audio interrupt processing function of the playback device generate an interrupt, the interrupt generation is based on the audio output sampling rate, the audio data is periodically output, and the interrupt is periodically generated, that is, the interrupt generated by the audio output path is used as a beat to trigger the refresh of the display thread, so as to achieve the synchronous display of the LED lights of the main device and the video playback device.

[0053] The present invention provides another embodiment, in which the playback device is a light display device, for example, a playback device including a group of colored lights that can flash according to the rhythm of music, and the synchronous display control process of its colored lights is consistent with the speaker control process of the above embodiment. The internal processing module of the playback device can receive the audio data to be played and then complete the synchronous display control process, but there is no need to perform audio playback and only perform light display synchronization.

[0054] The present invention provides a preferred embodiment, wherein the control refresh process triggered by the periodic event further includes: dynamically triggering the control refresh process according to the collected frequency information. When the display is refreshed, the display content will be dynamically refreshed according to the collected frequency information. Since the frequency information is consistent, it can be ensured that the audio playback content and the displayed data are synchronized. When the frequency information changes, the master device and the slave device are each dynamically refreshed according to the changed frequency information, and display is performed according to the new frequency information.

[0055] In some cases of wireless interference, even if the main device and the playback device have achieved synchronous playback, the frequency energy may still be inconsistent. The reason is that in wireless transmission or other unreliable transmission environments, some data packets may be lost during transmission, resulting in deviations in the data calculated for the frequency information energy. However, if synchronous playback can be achieved in advance, the target frequency information can be calculated more quickly, and the playback device can play synchronously with the main device based on the data packet to be played.

[0056] The following is a specific example to illustrate the technology of keeping the frequency information of the playback device and the main device consistent in the present invention. The target frequency energy information is consistent with the frequency energy information of the main device. The calculation method is: calculate the current frequency energy result based on the current data packet, calculate the historical frequency energy result based on the historical data packet, and calculate the target frequency energy information according to the weight coefficient. Specifically, it includes the following steps:

[0057] The playback device receives a data packet to be played sent by the main device;

[0058] Parsing the data packet to obtain the window number of the data packet;

[0059] Calculate frequency point energy according to the window number;

[0060] The data packets are continuously received to gradually obtain target frequency energy information close to or the same as that of the main device.

[0061] Preferably, the frequency point information calculation algorithm is as follows: calculate the current frequency point energy result based on the current data packet, calculate the historical frequency point energy result based on the historical data packets, and calculate the final result of the frequency point energy according to the weight coefficient. Every M data packets form a processing cycle. The historical frequency point energy result is H, and its initial value is 0, corresponding to the weight coefficient Hw. The frequency point energy result is N, corresponding to the weight coefficient Nw. The calculation result of the frequency point energy of the current data packet is S. In this embodiment, the final result, that is, the target frequency point energy information Si, is calculated as: Si = Hi * Hwi + Ni * Nwi, where 1 ≤ i ≤ M. Among them, the weight coefficient Hw gradually decreases from data packet 1 to M, and the range is from 1 to 0, with an interval of 1 / M. Similarly, the weight coefficient Nw gradually increases from data packet 1 to M, and the range is from 0 to 1, with an interval of 1 / M.

[0062] For the first data packet of the current cycle, a new historical result H1 is calculated based on the PCM data of the current data packet, and N1 is initially calculated according to the frequency point synchronization information of the first data packet. The final result is S1 = H1 * Hw1 + N1 * Nw1;

[0063] If the i-th (1 < i ≤ M) data packet of the current cycle is not discarded, a new historical result Hi is calculated based on the PCM data of the current data packet, and a new historical result Ni is calculated based on the PCM data of the current data packet. The final result is Si = Hi * Hwi + Ni * Nwi;

[0064] If the i-th (1 ≤ i ≤ M) data packet of the current cycle is discarded, then Hi and Ni adopt estimated values, such as being the same as the calculation result of the previous data packet. The final result is Si = Hi * Hwi + Ni * Nwi;

[0065] As can be seen from the above process, after packet loss occurs, the calculation results of the master device and the playback device can converge to relatively close or the same frequency point information result within at most M data packets.

[0066] According to another aspect of the embodiment of the present invention, as Figure 2 shown, it is a flowchart of a synchronization control method for a playback device provided by the present invention. The audio playback device receives audio data packets sent by the master device. The method includes:

[0067] S201, the playback device calculates the target frequency point energy information according to the received data packet to be played;

[0068] S202, generate periodic events according to the audio interruption processing function;

[0069] S203, trigger control refresh processing according to the periodic events;

[0070] S204: Perform synchronization control according to the target frequency energy information.

[0071] The synchronous control method of the audio playback device provided in the embodiment of the present invention is an application based on the consistency of frequency information, and can be a synchronous control method for the audio playback device. The audio playback device here refers to a device that receives audio data from a main device for playback, and can be applied to applications such as synchronous display control of LEDs of the playback device and synchronization based on vibration feedback of drum beats. The following is an explanation using display control as an example. In order to ensure synchronous display control with the main device, the audio playback device needs to ensure that the frequency information collected during audio playback is consistent with that of the main device. The data of the playback device comes from the data packet sent by the main device. The playback device calculates the frequency energy according to the received data packet to obtain the frequency energy information close to or the same as that of the main device. During the playback process, the audio interrupt processing function of the playback device generates a periodic event, and periodically outputs audio data according to the audio output sampling rate. The periodic event can be a periodic interrupt, that is, the interrupt generated by the audio output path is used as a beat to trigger the refresh of the display thread. Each time an interrupt is generated, the playback device triggers a display refresh process. The refresh process refers to converting the collected frequency information into the display style of the LED light in different modes. The refresh process is to convert from one display style to another display style. The display style at each moment is displayed by the playback device according to the calculated frequency energy information. According to the spectrum characteristics, for example, the LED light displays a part of the part with stronger bass in dark color, and the LED light displays a part of the part with stronger treble in bright color. Since the audio data played by the playback device and the main device can be guaranteed to be consistent, the audio interruption time points generated by the playback device and the main device are also consistent, and thus the display working time is also consistent.

[0072] According to another aspect of the embodiment of the present invention, the embodiment of the present invention also provides a playback system, characterized in that it includes: a main device and a playback device, the main device sends a data packet to be played to the playback device, wherein

[0073] The playback device calculates target frequency energy information according to the received data packet to be played;

[0074] The master device and the playback device are used to generate periodic events according to the audio interrupt processing function;

[0075] The master device and the playback device are used to trigger a control refresh process according to the periodic event;

[0076] The master device and the playback device are used to perform synchronization control according to the target frequency energy information. According to another aspect of an embodiment of the present invention, an embodiment of the present invention further provides a playback device, the playback device receives a to-be-played data packet sent by the master device, and the playback device comprises:

[0077] A frequency point information calculation device, used to calculate the target frequency point energy information according to the received data packet to be played;

[0078] An event generating device, used for generating periodic events according to an audio interrupt processing function;

[0079] A refresh processing device, used to trigger a control refresh process according to the periodic event;

[0080] A control device is used to perform synchronization control according to the target frequency energy information.

[0081] The technical solutions of the playback device and the playback system of the above-mentioned embodiment are essentially consistent with the synchronous control method of the above-mentioned embodiment, and will not be described in detail here.

[0082] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the inventive concept. For example, the above features are replaced with the technical features with similar functions disclosed in this application (but not limited to) by each other.

Claims

1. A synchronous control method for a playback system, the playback system comprising a master device and a playback device, the master device sending a data packet to be played to the playback device, characterized in that: The method comprises: The playback device calculates target frequency energy information according to the received data packet to be played; The master device and the playback device generate periodic events according to the audio interrupt processing function; The master device and the playback device trigger a control refresh process according to the periodic event; The master device and the playback device are synchronously controlled according to the target frequency energy; The target frequency energy information is consistent with the frequency energy information of the master device, and the calculation method includes: Calculate the current frequency energy result based on the current data packet, calculate the historical frequency energy result based on the historical data packet, and calculate the target frequency energy information according to the weight coefficient; Among them, each M data packets are a processing cycle, the historical frequency energy result is H, the initial value of H is 0, corresponding to the weight coefficient Hw, the frequency energy result is N, corresponding to the weight coefficient Nw, and the target frequency energy information is Si: Si=Hi*Hwi+Ni*Nwi, where 1≤i≤M.

2. The synchronous control method according to claim 1, characterized in that: Before the playback device calculates the target frequency energy information according to the received data packet to be played, the playback device also includes: The playback device plays synchronously with the main device according to the data packet to be played.

3. The synchronous control method according to claim 1, characterized in that: The generating of periodic events according to the audio interrupt processing function includes: periodically outputting audio data according to the audio output sampling rate to generate periodic events.

4. The synchronous control method according to claim 3, characterized in that: The period of the periodic event is T, where T=Length / K*Sa, where length is the length of the output data buffer, Sa is the output sampling rate, and K is the data characteristic value.

5. The synchronous control method according to claim 4, characterized in that: The data characteristic value is determined by the data bit width and the number of data channels.

6. The synchronous control method according to claim 3, characterized in that: The controlling refresh processing according to the periodic event triggering includes: dynamically performing refresh processing according to the target frequency energy information.

7. The synchronous control method according to claim 6, characterized in that: The master device and the playback device synchronously control according to the target frequency energy including: The main device and the playback device perform synchronous display according to the target frequency energy information, wherein the synchronous display includes synchronous display of LED lights of the main device and the playback device.

8. A synchronous control method for a playback device, wherein the playback device receives a data packet to be played sent by a master device, characterized in that: The method comprises: The playback device calculates target frequency energy information according to the received data packet to be played; Generate periodic events according to the audio interrupt processing function; triggering a control refresh process according to the periodic event; Performing synchronous control according to the target frequency energy information; The target frequency energy information is consistent with the frequency energy information of the master device, and the calculation method includes: Calculate the current frequency energy result based on the current data packet, calculate the historical frequency energy result based on the historical data packet, and calculate the target frequency energy information according to the weight coefficient; Among them, each M data packets are a processing cycle, the historical frequency energy result is H, the initial value of H is 0, corresponding to the weight coefficient Hw, the frequency energy result is N, corresponding to the weight coefficient Nw, and the target frequency energy information is Si: Si=Hi*Hwi+Ni*Nwi, where 1≤i≤M.

9. A playback system, characterized in that: include: A master device and a playback device, wherein the master device sends a data packet to be played to the playback device, characterized in that: The playback device calculates target frequency energy information according to the received data packet to be played; The master device and the playback device are used to generate periodic events according to the audio interrupt processing function; The master device and the playback device are used to trigger a control refresh process according to the periodic event; The main device and the playback device are used to perform synchronization control according to the target frequency energy information; The target frequency energy information is consistent with the frequency energy information of the master device, and the calculation method includes: Calculate the current frequency energy result based on the current data packet, calculate the historical frequency energy result based on the historical data packet, and calculate the target frequency energy information according to the weight coefficient; Among them, each M data packets are a processing cycle, the historical frequency energy result is H, the initial value of H is 0, corresponding to the weight coefficient Hw, the frequency energy result is N, corresponding to the weight coefficient Nw, and the target frequency energy information is Si: Si=Hi*Hwi+Ni*Nwi, where 1≤i≤M.

10. A playback device, the playback device receiving a data packet to be played sent by a master device, characterized in that: The playback device comprises: A frequency point information calculation device, used to calculate the target frequency point energy information according to the received data packet to be played; An event generating device, used for generating periodic events according to an audio interrupt processing function; A refresh processing device, used to trigger a control refresh process according to the periodic event; A control device, used for performing synchronization control according to the target frequency energy information; The target frequency energy information is consistent with the frequency energy information of the master device, and the calculation method includes: Calculate the current frequency energy result based on the current data packet, calculate the historical frequency energy result based on the historical data packet, and calculate the target frequency energy information according to the weight coefficient; Among them, each M data packets are a processing cycle, the historical frequency energy result is H, the initial value of H is 0, corresponding to the weight coefficient Hw, the frequency energy result is N, corresponding to the weight coefficient Nw, and the target frequency energy information is Si: Si=Hi*Hwi+Ni*Nwi, where 1≤i≤M.

Citation Information

Patent Citations

  • Devices and methods for dynamic broadcast

    CN103428533A

  • Display equipment and sound and picture synchronization control method

    CN112153447A

  • Trick mode audio playback

    CN1675686A

  • Multimedia content synchronization method and electronic device

    WO2020034227A1