A method and device for synchronously playing audio based on remote WiFi

The method of remote WiFi audio synchronization playback solves the problems of high transmission latency and low synchronization accuracy, realizes wireless transmission and high-precision synchronization of audio devices, and improves the flexibility and sound effects of audio playback.

CN120603035BActive Publication Date: 2026-11-24深圳市迈远科技有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510791991.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-06-13
Publication Date
2026-11-24
Estimated Expiration
2045-06-13

AI Technical Summary

Technical Problem

Existing audio synchronization playback solutions suffer from high transmission latency and low synchronization accuracy, making it difficult to meet the needs of high-end audio applications.

Method used

An audio synchronization playback method based on remote WiFi is adopted. The risk value of the audio uploading and receiving devices is obtained through the audio synchronization control system, the content is segmented and labeled and the feature parameters are calculated, and information frame instructions are generated for wireless transmission to ensure low latency and high accuracy synchronization of audio data.

Benefits of technology

It enables wireless transmission flexibility for audio devices, reduces transmission latency, improves synchronization accuracy, and enhances the timing consistency and overall sound quality of audio playback.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120603035B_ABST
    Figure CN120603035B_ABST
Patent Text Reader

Abstract

This invention relates to the field of audio synchronization playback technology, specifically to a method and apparatus for audio synchronization playback based on remote WiFi. The method includes: obtaining the audio upload risk value of the audio source device and the audio reception risk value of the audio receiving device based on an audio synchronization playback request; determining whether to respond to the audio synchronization playback request based on the audio upload risk value and the audio reception risk value; segmenting and labeling the target audio data to be uploaded according to an audio segmentation management sequence to obtain audio labeled segments; calculating the audio feature parameters of each audio labeled segment; assembling the audio labeled segments, the corresponding audio feature parameters, and a preset playback timestamp into an information frame; and having the audio synchronization control system generate an information frame instruction and send the information frame instruction to the audio source device via WiFi to instruct it to send the information frame to the audio receiving device, thereby improving the accuracy of audio synchronization playback.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of audio synchronization playback technology, and specifically to an audio synchronization playback method and apparatus based on remote WiFi. Background Technology

[0002] Traditional audio playback systems primarily rely on wired connections, such as audio cables and coaxial cables, to transmit and synchronize audio signals. However, this approach not only limits the flexibility of audio equipment placement and increases the complexity of installation and maintenance, but also proves costly and inefficient for large-scale audio deployments.

[0003] While there are existing audio synchronization playback solutions based on wireless technologies such as Bluetooth and Zigbee, these technologies are limited by issues such as transmission distance, bandwidth, and synchronization accuracy, resulting in high transmission latency and low synchronization accuracy, making it difficult to meet the needs of high-end audio applications.

[0004] Therefore, there is an urgent need for a method and device for synchronized audio playback based on remote WiFi to solve the above problems. Summary of the Invention

[0005] The purpose of this invention is to provide a method and apparatus for audio synchronous playback based on remote WiFi: to solve the technical problems of high transmission delay and low synchronization accuracy in existing audio synchronous playback technology.

[0006] The objective of this invention can be achieved through the following technical solutions: On the one hand, a method for synchronized audio playback based on remote WiFi is applied to an audio synchronization control system, the method including: The audio synchronization control system receives an audio synchronization playback request uploaded by the audio source device, obtains the audio upload risk value of the audio source device and the audio reception risk value of the audio receiving device based on the audio synchronization playback request, and determines whether to respond to the audio synchronization playback request based on the audio upload risk value and the audio reception risk value. Responding to the audio synchronization playback request and segmenting the target audio data to be uploaded according to the audio segmentation management sequence, the audio segmentation is obtained, the audio feature parameters of each audio segment are calculated, and the audio segmentation, the corresponding audio feature parameters, and the preset playback timestamp are combined into an information frame. The audio synchronization control system generates information frame instructions and sends these instructions via WiFi to the audio source device, instructing it to send the information frame to the audio receiving device.

[0007] Furthermore, obtaining the audio upload risk value of the audio source device specifically includes the following process: The system collects the duration of a period before the audio source device uploads an audio synchronization playback request and marks it as a time threshold. The time threshold is divided into i sub-time periods, where i is a natural number greater than zero. The system obtains the operating performance value of the audio source device within each sub-time period and sets an operating performance margin value. When the operating performance value is greater than or equal to the operating performance margin value, the sub-time period is marked as an abnormal operating period. When the operating performance value is less than the operating performance margin value, the sub-time period is marked as a normal operating period. All abnormal operating periods are paired into an abnormal operating period group. The operating abnormal correlation value of each abnormal operating period group is calculated. The abnormal operating correlation values ​​are accumulated to obtain the abnormal operating characteristic coefficient. The adjacent operating performance values ​​corresponding to the normal operating periods are summed to obtain the normal operating characteristic coefficient. The ratio of the abnormal operating characteristic coefficient to the normal operating characteristic coefficient is recorded as the audio upload risk value.

[0008] Furthermore, obtaining the performance values ​​of the audio source device within each sub-time period specifically includes the following processes: Within each sub-time period, frequency detection points and voltage detection points for the audio source device are set. A frequency characteristic curve is plotted based on the sampling frequency of the audio signal detected by the frequency detection points. The number of frequency fluctuations exceeding a preset frequency fluctuation threshold in the frequency characteristic curve is counted. A voltage characteristic curve is plotted based on the voltage detected by the audio source device voltage detection points. The number of voltage fluctuations exceeding a preset voltage fluctuation threshold in the voltage characteristic curve is counted. The two numbers are then added together to obtain a sum, which is recorded as the operating performance value of the audio source device within each sub-time period.

[0009] Furthermore, obtaining the audio reception risk value of the audio receiving device specifically includes the following process: Obtain the abnormal upscaling values ​​of the audio receiving devices within each sub-time period. Establish a Cartesian coordinate system with the number of sub-time periods as the X-axis and the upscaling values ​​as the Y-axis. Plot upscaling value curves by plotting points. Then, obtain the ratio between the number of all rising segments and the sum of the number of rising, falling, and horizontal segments from the upscaling value curves. Mark this ratio as the abnormal upscaling characteristic value. At the same time, obtain the reception upscaling values ​​of the audio receiving devices within each sub-time period and calculate the average of the reception upscaling values ​​of all sub-time periods. Record this average as the reception upscaling characteristic value. The reception upscaling value represents the success rate of audio reception within the sub-time period. The ratio of the abnormal upscaling characteristic value to the reception upscaling characteristic value is recorded as the audio reception risk value.

[0010] Furthermore, obtaining the abnormal magnification values ​​of the audio receiving device within each sub-time period specifically includes the following process: The load rate of audio receiving devices is collected within each sub-time period. The load rate is the number of audio received simultaneously by the audio receiving devices within the sub-time period. A rectangular coordinate system is established with the number of sub-time periods as the X-axis and the load rate as the Y-axis. The load rate curve is plotted by plotting points. The first area enclosed by the line segment of the load rate curve above the preset load rate curve and the preset load rate curve is calculated. Then, the second area enclosed by the load rate curve and the X-axis is calculated. The ratio between the first area and the second area is calculated. The obtuse angle formed by the first intersection of the load rate curve and the preset load rate curve is calculated. The product value is then multiplied by the ratio to obtain the product value. This product value is recorded as the abnormal multiplier of the audio receiving devices within each sub-time period.

[0011] Furthermore, determining whether to respond to the audio synchronous playback request based on the audio upload risk value and the audio reception risk value specifically includes the following process: Risk value of uploading audio and audio reception risk value Substitute into the correlation formula The risk value of the synchronized playback request was calculated. ,in, To assess the risk factor of audio uploads, Audio reception risk factor; Load the synchronous playback request risk threshold, where the synchronous playback request value threshold is stored in the audio synchronization control system and its value is set by the system; Determine the risk value of synchronous playback requests If the risk threshold for the synchronized playback request is greater than the threshold, then the synchronized audio playback request will not be responded to; otherwise, the synchronized audio playback request will be responded to.

[0012] Furthermore, obtaining the audio segmentation management sequence specifically includes the following processes: The duration of the target audio data to be uploaded is counted, and the target audio data to be uploaded is divided into several audio segments based on the duration. The Mel frequency cepstral coefficients of each audio segment are obtained, and the Mel frequency cepstral coefficients of each audio segment are sorted in descending order. After sorting, a sequence is generated, which is the audio segment management sequence.

[0013] Furthermore, the calculation of audio feature parameters for each audio annotation segment specifically includes the following process: Set up audio annotation segment detection points to detect the first audio feature information, second audio feature information, up to the i-th audio feature information of each audio annotation segment. The first audio feature information includes the first zero-crossing rate and the first audio energy. The i-th audio feature information includes the i-th zero-crossing rate and the i-th audio energy. The zero-crossing rate represents the number of times the audio signal waveform crosses the zero axis, and the audio energy represents the power of the audio signal on the frequency axis. The first zero-crossing rate and the first audio energy are added together to obtain the first audio feature coefficient; this process continues until the i-th audio feature coefficient is obtained. Select the largest audio feature coefficient from the first audio feature coefficient to the i-th audio feature coefficient, and use the largest audio feature coefficient as the audio feature parameter.

[0014] On the other hand, an audio synchronization playback device based on remote WiFi, applicable to any of the aforementioned audio synchronization playback methods based on remote WiFi, the device comprising: The audio synchronization control unit is used to receive an audio synchronization playback request uploaded by the audio source device, obtain the audio upload risk value of the audio source device and the audio reception risk value of the audio receiving device based on the audio synchronization playback request, and determine whether to respond to the audio synchronization playback request based on the audio upload risk value and the audio reception risk value. The audio processing unit is used to respond to audio synchronous playback requests and perform content segmentation and annotation on the target audio data to be uploaded according to the audio segmentation management sequence to obtain audio annotation segments, calculate the audio feature parameters of each audio annotation segment, and combine the audio annotation segments, the audio feature parameters corresponding to the audio annotation segments, and the preset playback timestamp into an information frame. The audio transmitting unit is used to receive information frame instructions generated by the audio synchronization control system and send the information frame instructions to the audio source device via WiFi so that it can instruct the source device to send the information frame to the audio receiving device.

[0015] Compared to existing solutions, the beneficial effects achieved by this invention are: On the one hand, the present invention enables wireless transmission of audio data via WiFi network, freeing audio devices from the constraints of physical cable connections, thereby greatly improving the flexibility of audio playback.

[0016] On the other hand, by optimizing the WiFi network, the present invention can achieve low-latency transmission of audio data, ensuring that the audio signal can reach each audio receiving device in real time, thus avoiding audio asynchrony problems caused by transmission delay.

[0017] Finally, this invention ensures that multiple audio devices maintain a high degree of time consistency when playing audio, improving synchronization accuracy and thus avoiding time difference problems during audio playback, thereby enhancing the overall sound effect's continuity and immersion. Attached Figure Description

[0018] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this invention. For those skilled in the art, other drawings can be obtained based on these drawings.

[0019] Figure 1 This is a flowchart illustrating the workflow of a remote WiFi-based audio synchronization playback method according to an embodiment of the present invention. Figure 2 This is a device block diagram of an audio synchronization playback device based on remote WiFi according to an embodiment of the present invention. Detailed Implementation

[0020] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0021] Furthermore, the described features, structures, or characteristics can be combined in any suitable manner in one or more exemplary embodiments. Numerous specific details are provided in the following description to give a full understanding of exemplary embodiments of this disclosure. However, those skilled in the art will recognize that the technical solutions of this disclosure can be practiced with one or more of the specific details omitted, or other methods, components, steps, etc., can be employed. In other instances, well-known structures, methods, implementations, or operations are not shown or described in detail to avoid obscuring various aspects of this disclosure.

[0022] This embodiment provides a method for synchronized audio playback based on remote WiFi. Figure 1 This is a flowchart illustrating the workflow of a remote WiFi-based audio synchronization playback method according to an embodiment of the present invention. Figure 1 As shown, the method includes the following steps: Step S101: The audio synchronization control system receives an audio synchronization playback request uploaded by the audio source device, obtains the audio upload risk value of the audio source device and the audio reception risk value of the audio receiving device based on the audio synchronization playback request, and determines whether to respond to the audio synchronization playback request based on the audio upload risk value and the audio reception risk value. Step S102: Respond to the audio synchronous playback request and perform content segmentation and annotation on the target audio data to be uploaded according to the audio segmentation management sequence to obtain audio annotation segments, calculate the audio feature parameters of each audio annotation segment, and combine the audio annotation segments, the audio feature parameters corresponding to the audio annotation segments, and the preset playback timestamp into an information frame; Step S103: The audio synchronization control system generates an information frame instruction and sends the information frame instruction to the audio source device via WiFi to instruct it to send the information frame to the audio receiving device.

[0023] In summary, this invention obtains the audio upload risk value of the audio source device and the audio reception risk value of the audio receiving device based on the audio synchronization playback request. It then determines whether to respond to the audio synchronization playback request based on these risk values. The target audio data to be uploaded is segmented and labeled according to the audio segmentation management sequence to obtain audio labeled segments. Audio feature parameters for each labeled segment are calculated. The labeled segments, their corresponding audio feature parameters, and a preset playback timestamp are combined to form an information frame. The audio synchronization control system generates an information frame instruction and sends it via WiFi to the audio source device, instructing it to send the information frame to the audio receiving device. This improves the accuracy of audio synchronization playback.

[0024] In some embodiments, obtaining the audio upload risk value of the audio source device specifically includes the following process: The system collects the duration of a period before the audio source device uploads an audio synchronization playback request and marks it as a time threshold. The time threshold is divided into i sub-time periods, where i is a natural number greater than zero. The system obtains the operating performance value of the audio source device within each sub-time period and sets an operating performance margin value. When the operating performance value is greater than or equal to the operating performance margin value, the sub-time period is marked as an abnormal operating period. When the operating performance value is less than the operating performance margin value, the sub-time period is marked as a normal operating period. All abnormal operating periods are paired into an abnormal operating period group. The operating abnormal correlation value of each abnormal operating period group is calculated. The abnormal operating correlation values ​​are accumulated to obtain the abnormal operating characteristic coefficient. The adjacent operating performance values ​​corresponding to the normal operating periods are summed to obtain the normal operating characteristic coefficient. The ratio of the abnormal operating characteristic coefficient to the normal operating characteristic coefficient is recorded as the audio upload risk value.

[0025] Furthermore, obtaining the performance values ​​of the audio source device within each sub-time period specifically includes the following processes: Within each sub-time period, frequency detection points and voltage detection points for the audio source device are set. A frequency characteristic curve is plotted based on the sampling frequency of the audio signal detected by the frequency detection points. The number of frequency fluctuations exceeding a preset frequency fluctuation threshold in the frequency characteristic curve is counted. A voltage characteristic curve is plotted based on the voltage detected by the audio source device voltage detection points. The number of voltage fluctuations exceeding a preset voltage fluctuation threshold in the voltage characteristic curve is counted. The two numbers are then added together to obtain a sum, which is recorded as the operating performance value of the audio source device within each sub-time period.

[0026] In some embodiments, obtaining the audio reception risk value of an audio receiving device specifically includes the following process: Obtain the abnormal upscaling values ​​of the audio receiving devices within each sub-time period. Establish a Cartesian coordinate system with the number of sub-time periods as the X-axis and the upscaling values ​​as the Y-axis. Plot upscaling value curves by plotting points. Then, obtain the ratio between the number of all rising segments and the sum of the number of rising, falling, and horizontal segments from the upscaling value curves. Mark this ratio as the abnormal upscaling characteristic value. At the same time, obtain the reception upscaling values ​​of the audio receiving devices within each sub-time period and calculate the average of the reception upscaling values ​​of all sub-time periods. Record this average as the reception upscaling characteristic value. The reception upscaling value represents the success rate of audio reception within the sub-time period. The ratio of the abnormal upscaling characteristic value to the reception upscaling characteristic value is recorded as the audio reception risk value.

[0027] Furthermore, obtaining the abnormal magnification values ​​of the audio receiving device within each sub-time period specifically includes the following process: The load rate of audio receiving devices is collected within each sub-time period. The load rate is the number of audio received simultaneously by the audio receiving devices within the sub-time period. A rectangular coordinate system is established with the number of sub-time periods as the X-axis and the load rate as the Y-axis. The load rate curve is plotted by plotting points. The first area enclosed by the line segment of the load rate curve above the preset load rate curve and the preset load rate curve is calculated. Then, the second area enclosed by the load rate curve and the X-axis is calculated. The ratio between the first area and the second area is calculated. The obtuse angle formed by the first intersection of the load rate curve and the preset load rate curve is calculated. The product value is then multiplied by the ratio to obtain the product value. This product value is recorded as the abnormal multiplier of the audio receiving devices within each sub-time period.

[0028] In some embodiments, determining whether to respond to the audio synchronization playback request based on the audio upload risk value and the audio reception risk value specifically includes the following process: Risk value of uploading audio and audio reception risk value Substitute into the correlation formula The risk value of the synchronized playback request was calculated. ,in, To assess the risk factor of audio uploads, Audio reception risk factor; Load the synchronous playback request risk threshold, where the synchronous playback request value threshold is stored in the audio synchronization control system and its value is set by the system; Determine the risk value of synchronous playback requests If the risk threshold for the synchronized playback request is greater than the threshold, then the synchronized audio playback request will not be responded to; otherwise, the synchronized audio playback request will be responded to.

[0029] In some embodiments, obtaining the audio segmentation management sequence specifically includes the following process: The duration of the target audio data to be uploaded is counted, and the target audio data to be uploaded is divided into several audio segments based on the duration. The Mel frequency cepstral coefficients of each audio segment are obtained, and the Mel frequency cepstral coefficients of each audio segment are sorted in descending order. After sorting, a sequence is generated, which is the audio segment management sequence.

[0030] It is worth noting that Mel frequency cepstral coefficients (MFCC) are a commonly used method for representing audio features. They simulate the way the human ear perceives audio signals and extract coefficients that can characterize the frequency characteristics of the audio signal through a series of processing steps.

[0031] In some embodiments, calculating the audio feature parameters of each audio annotation segment specifically includes the following process: Set up audio annotation segment detection points to detect the first audio feature information, second audio feature information, up to the i-th audio feature information of each audio annotation segment. The first audio feature information includes the first zero-crossing rate and the first audio energy. The i-th audio feature information includes the i-th zero-crossing rate and the i-th audio energy. The zero-crossing rate represents the number of times the audio signal waveform crosses the zero axis, and the audio energy represents the power of the audio signal on the frequency axis. The first zero-crossing rate and the first audio energy are added together to obtain the first audio feature coefficient; this process continues until the i-th audio feature coefficient is obtained. Select the largest audio feature coefficient from the first audio feature coefficient to the i-th audio feature coefficient, and use the largest audio feature coefficient as the audio feature parameter.

[0032] In some embodiments, Figure 2 This is a device block diagram of an audio synchronous playback device based on remote WiFi according to an embodiment of the present invention, such as... Figure 2 As shown, the device includes: The audio synchronization control unit is used to receive an audio synchronization playback request uploaded by the audio source device, obtain the audio upload risk value of the audio source device and the audio reception risk value of the audio receiving device based on the audio synchronization playback request, and determine whether to respond to the audio synchronization playback request based on the audio upload risk value and the audio reception risk value. The audio processing unit is used to respond to audio synchronous playback requests and perform content segmentation and annotation on the target audio data to be uploaded according to the audio segmentation management sequence to obtain audio annotation segments, calculate the audio feature parameters of each audio annotation segment, and combine the audio annotation segments, the audio feature parameters corresponding to the audio annotation segments, and the preset playback timestamp into an information frame. The audio transmitting unit is used to receive information frame instructions generated by the audio synchronization control system and send the information frame instructions to the audio source device via WiFi so that it can instruct the source device to send the information frame to the audio receiving device.

[0033] The above embodiments can be implemented, in whole or in part, by software, hardware, firmware, or any other combination thereof. When implemented using software, the above embodiments can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more sets of available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium. A semiconductor medium can be a solid-state drive.

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

[0035] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0036] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

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

[0038] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method for synchronized audio playback based on remote WiFi, characterized in that, Applied to audio synchronization control systems, the method includes: The audio synchronization control system receives an audio synchronization playback request uploaded by the audio source device, obtains the audio upload risk value of the audio source device and the audio reception risk value of the audio receiving device based on the audio synchronization playback request, and determines whether to respond to the audio synchronization playback request based on the audio upload risk value and the audio reception risk value. Obtaining the audio upload risk value of the audio source device specifically includes the following process: The system collects the duration of a period of time before the audio source device uploads an audio synchronous playback request and marks it as a time threshold. The time threshold is divided into i sub-time periods, where i is a natural number greater than zero. The system obtains the operating performance value of the audio source device in each sub-time period and sets an operating performance margin value. When the operating performance value is greater than or equal to the operating performance margin value, the sub-time period is marked as an abnormal operating period. When the operating performance value is less than the operating performance margin value, the sub-time period is marked as a normal operating period. All abnormal operating periods are matched pairwise to form an abnormal operating period group. The system calculates the abnormal operating period correlation value for each abnormal operating period group and accumulates the abnormal operating period correlation values ​​to obtain the abnormal operating period characterization coefficient. The system sums the adjacent operating performance values ​​corresponding to the normal operating period to obtain the normal operating period characterization coefficient. The ratio of the abnormal operating period characterization coefficient to the normal operating period characterization coefficient is recorded as the audio upload risk value. Obtaining the audio reception risk value of an audio receiving device specifically includes the following process: Obtain the abnormal magnification values ​​of the audio receiving devices in each sub-time period. Establish a rectangular coordinate system with the number of sub-time periods as the X-axis and the magnification values ​​as the Y-axis. Plot the magnification value curve by plotting points. Then, obtain the ratio between the number of all rising segments and the sum of the number of rising segments, falling segments, and horizontal segments from the magnification value curve. Mark the ratio as the abnormal magnification characteristic value. At the same time, obtain the reception magnification values ​​of the audio receiving devices in each sub-time period. Calculate the average of the reception magnification values ​​of all sub-time periods. Record this average as the reception magnification characteristic value. The reception magnification value represents the success rate of audio reception in the sub-time period. Record the ratio of the abnormal magnification characteristic value to the reception magnification characteristic value as the audio reception risk value. Responding to the audio synchronization playback request and segmenting the target audio data to be uploaded according to the audio segmentation management sequence, the audio segmentation is obtained, the audio feature parameters of each audio segment are calculated, and the audio segmentation, the corresponding audio feature parameters, and the preset playback timestamp are combined into an information frame. The audio synchronization control system generates information frame instructions and sends these instructions via WiFi to the audio source device, instructing it to send the information frames to the audio receiving device. Obtaining the performance values ​​of the audio source device within each sub-time period specifically includes the following processes: Within each sub-time period, frequency detection points and voltage detection points for the audio source device are set. A frequency characteristic curve is plotted based on the sampling frequency of the audio signal detected by the frequency detection points. The number of frequency fluctuations exceeding the preset frequency fluctuation threshold in the frequency characteristic curve is counted. A voltage characteristic curve is plotted based on the voltage detected by the audio source device voltage detection points. The number of voltage fluctuations exceeding the preset voltage fluctuation threshold in the voltage characteristic curve is counted. The two numbers are then added together to obtain a sum, which is recorded as the operating performance value of the audio source device within each sub-time period. Obtaining the abnormal magnification values ​​of audio receiving devices within each sub-time period specifically includes the following process: The load rate of audio receiving devices is collected within each sub-time period. The load rate is the number of audio received simultaneously by the audio receiving devices within the sub-time period. A rectangular coordinate system is established with the number of sub-time periods as the X-axis and the load rate as the Y-axis. The load rate curve is plotted by plotting points. The first area enclosed by the line segment of the load rate curve above the preset load rate curve and the preset load rate curve is calculated. Then, the second area enclosed by the load rate curve and the X-axis is calculated. The ratio between the first area and the second area is calculated. The obtuse angle formed by the first intersection of the load rate curve and the preset load rate curve is calculated. The product value is then multiplied by the ratio to obtain the product value. This product value is recorded as the abnormal multiplier of the audio receiving devices within each sub-time period. Determining whether to respond to an audio synchronization playback request based on audio upload risk values ​​and audio reception risk values ​​specifically includes the following process: Risk value of uploading audio and audio reception risk value Substitute into the correlation formula The risk value of the synchronized playback request was calculated. ,in, To assess the risk factor of audio uploads, Audio reception risk factor; Load the synchronous playback request risk threshold, where the synchronous playback request value threshold is stored in the audio synchronization control system and its value is set by the system; Determine the risk value of synchronous playback requests If the risk threshold for the synchronized playback request is greater than the threshold, then the synchronized audio playback request will not be responded to; otherwise, the synchronized audio playback request will be responded to.

2. The method for synchronized audio playback based on remote WiFi according to claim 1, characterized in that, Obtaining the audio segment management sequence specifically includes the following process: The duration of the target audio data to be uploaded is counted, and the target audio data to be uploaded is divided into several audio segments based on the duration. The Mel frequency cepstral coefficients of each audio segment are obtained, and the Mel frequency cepstral coefficients of each audio segment are sorted in descending order. After sorting, a sequence is generated, which is the audio segment management sequence.

3. The method for synchronized audio playback based on remote WiFi according to claim 1, characterized in that, Calculate the audio feature parameters of each audio annotation segment in detail. Includes the following processes: Set up audio annotation segment detection points to detect the first audio feature information, second audio feature information, up to the i-th audio feature information of each audio annotation segment. The first audio feature information includes the first zero-crossing rate and the first audio energy. The i-th audio feature information includes the i-th zero-crossing rate and the i-th audio energy. The zero-crossing rate represents the number of times the audio signal waveform crosses the zero axis, and the audio energy represents the power of the audio signal on the frequency axis. The first zero-crossing rate and the first audio energy are added together to obtain the first audio feature coefficient; this process continues until the i-th audio feature coefficient is obtained. Select the largest audio feature coefficient from the first audio feature coefficient to the i-th audio feature coefficient, and use the largest audio feature coefficient as the audio feature parameter.

4. An audio synchronization playback device based on remote WiFi, characterized in that, An audio synchronization playback method based on remote WiFi, applicable to any one of claims 1 to 3, the apparatus comprising: The audio synchronization control unit is used to receive an audio synchronization playback request uploaded by the audio source device, obtain the audio upload risk value of the audio source device and the audio reception risk value of the audio receiving device based on the audio synchronization playback request, and determine whether to respond to the audio synchronization playback request based on the audio upload risk value and the audio reception risk value. The audio processing unit is used to respond to audio synchronous playback requests and perform content segmentation and annotation on the target audio data to be uploaded according to the audio segmentation management sequence to obtain audio annotation segments, calculate the audio feature parameters of each audio annotation segment, and combine the audio annotation segments, the audio feature parameters corresponding to the audio annotation segments, and the preset playback timestamp into an information frame. The audio transmitting unit is used to receive information frame instructions generated by the audio synchronization control system and send the information frame instructions to the audio source device via WiFi so that it can instruct the source device to send the information frame to the audio receiving device.

Citation Information

Patent Citations

  • Accurate and synchronous video playing method, apparatus and device among multiple devices, and storage medium

    CN108495239A

  • Risk identification method and device based on multiple modes, equipment and storage medium

    CN119295998A