CN117082040A - Wireless low-delay audio transmission method based on embedded system - Google Patents

Wireless low-delay audio transmission method based on embedded system Download PDF

Info

Publication number
CN117082040A
CN117082040A CN202311044101.4A CN202311044101A CN117082040A CN 117082040 A CN117082040 A CN 117082040A CN 202311044101 A CN202311044101 A CN 202311044101A CN 117082040 A CN117082040 A CN 117082040A
Authority
CN
China
Prior art keywords
preset
central control
control unit
audio
transmission
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
CN202311044101.4A
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.)
Guangdong Baolun Electronics Co ltd
Original Assignee
Guangdong Baolun Electronics 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 Guangdong Baolun Electronics Co ltd filed Critical Guangdong Baolun Electronics Co ltd
Priority to CN202311044101.4A priority Critical patent/CN117082040A/en
Publication of CN117082040A publication Critical patent/CN117082040A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/80Responding to QoS

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Transmitters (AREA)

Abstract

The invention relates to the technical field of audio transmission, in particular to a wireless low-delay audio transmission method based on an embedded system. Step S1, collecting frame by frame; s2, performing difference frame supplementing processing; step S3, converting the data into data packets, indirectly misplacing and storing the data packets, and sending the data packets to a processing unit for decoding and playing; and S4, judging whether the audio transmission meets the preset standard, and if not, adjusting the corresponding parameters in the subsequent data wireless transmission process to the corresponding values, or performing secondary judgment. Compared with the prior art, the invention has the beneficial effects that the frame can be timely complemented when the frame is lost by setting the timer, thereby ensuring the integrity of the audio data; meanwhile, after the audio data is subjected to N multiplication of dislocation multiplying power, the speed in the audio data is also increased to N times in the transmission process of the processing unit, and the audio data can be transmitted in a high-speed and low-delay manner, so that the transmission efficiency is improved.

Description

Wireless low-delay audio transmission method based on embedded system
Technical Field
The invention relates to the technical field of audio transmission, in particular to a wireless low-delay audio transmission method based on an embedded system.
Background
For acoustic transmission, television viewers require mouth-sync and therefore require short delay times to transmit acoustic signals. Once the time offset exceeds a certain threshold, the television viewer perceives the time-staggered transmission of the sound signal as greatly disturbing.
Chinese patent publication No.: CN201880003244.1 discloses a method and system for low delay transmission of audio in a mobile radio network, comprising: the system comprises a terminal, a base station and an audio receiver. The terminal transmits audio data encoded according to the second format and other data encoded according to the first format via an uplink. The audio receiver according to the present invention directly receives audio data transmitted via an uplink. Here, one of the encoded/decoded second data frames is affected by the other audio data of the same second data frame, but is not affected by the audio data of the other second data frame. It follows that the method and system for low delay transmission of audio in a mobile radio network has the following problems: the rate of audio transmission and the information integrity cannot be guaranteed in the presence of interference factors.
Disclosure of Invention
Therefore, the invention provides a wireless low-delay audio transmission method based on an embedded system, which is used for overcoming the defect that the speed and the information integrity of audio transmission cannot be ensured when interference factors occur in the prior art. Is a problem of (a).
In order to achieve the above object, the present invention provides a wireless low-latency audio transmission method based on an embedded system. Comprising the following steps:
step S1, a central control unit controls an acquisition unit to acquire audio information frame by using a preset sampling rate in an alsa mode and marks corresponding time stamps on each data frame in sequence;
step S2, the central control unit controls the acquisition unit to judge whether the acquired audio information has frame loss or not, if the acquired audio information has frame loss, the audio information is subjected to frame difference supplementing processing, frame loss marks are marked on the supplemented data frames, and the central control unit sequentially transmits the marked data frames to the storage unit;
step S3, the central control unit controls the storage unit to store the received data frames in a first storage space and a second storage space which are arranged in the storage unit in an indirect staggered manner according to preset alternative storage time length which is set in the central control unit, so as to form data packets in the storage spaces respectively, and send the data packets to the processing unit in a wireless transmission mode, and the processing unit plays corresponding audio information according to the data frames in the data packets when receiving the data packets;
step S4, the central control unit judges whether the audio transmission of the storage unit meets a preset standard according to the transmission delay in the wireless transmission process of the storage unit and the processing unit, and adjusts the corresponding operation parameters of the storage unit and the processing unit in the wireless transmission process of the subsequent data to the corresponding values when the audio transmission of the storage unit is judged to not meet the preset standard, or judges whether the transmission of the storage unit and the processing unit in the wireless transmission process meets the preset standard for the second time according to the transmission rate of the data in the wireless transmission process of the storage unit and the processing unit when the audio transmission of the storage unit is judged to not meet the preset standard;
and S5, under the condition that the audio transmission in the wireless transmission process of the storage unit and the processing unit meets the standard, the central control unit keeps the relevant parameters unchanged and continues to transmit the audio.
Further, in the step S4, the central control unit detects a transmission delay in the audio transmission process of the storage unit and determines, according to the transmission delay in the audio transmission process of the storage unit, a determination mode of whether the audio transmission of the storage unit meets a preset standard, where:
the first judging mode is that the central control unit judges that the audio transmission of the storage unit meets a preset standard; the first judgment mode meets the condition that the transmission delay is smaller than a first-stage preset transmission delay preset in the central control unit;
the second judging mode is that the central control unit preliminarily judges that the audio transmission of the storage unit does not meet the preset standard, and the central control unit secondarily judges whether the audio transmission of the storage unit meets the standard according to the transmission rate in the audio transmission process of the storage unit; the second judgment mode meets the requirements that the transmission delay is larger than or equal to the first-stage preset transmission delay and smaller than or equal to the second-stage preset transmission delay preset in the central control unit, and the second-stage preset transmission delay is larger than the first-stage preset transmission delay;
the third judging mode is that the central control unit judges that the audio transmission of the storage unit does not meet the preset standard, and the central control unit adjusts the bandwidth of a link between the storage unit and the processing unit to a corresponding value according to the difference value between the secondary preset transmission delay and the transmission delay; the third determination mode satisfies that the transmission delay is greater than the second-level preset transmission delay.
Further, the central control unit detects a transmission rate in a wireless transmission process of the storage unit and the processing unit in the second determination mode, and determines whether audio transmission for the storage unit meets a secondary determination mode of a preset standard according to the transmission rate, wherein:
the first secondary judgment mode is that the central control unit judges that the audio transmission of the storage unit meets a preset standard; the first secondary judgment mode meets the condition that the transmission rate is larger than a first-level preset transmission rate preset in the central control unit;
the second secondary judgment mode is that the central control unit judges that the audio transmission of the storage unit does not meet the preset standard, and the central control unit determines a specific reason that the audio transmission of the storage unit does not meet the preset standard according to the similarity of the audio curves of the received audio information and the original audio information; the second secondary judgment mode meets the condition that the transmission rate is smaller than or equal to the first-stage preset transmission rate and larger than or equal to the second-stage preset transmission rate preset in the central control unit, and the first-stage preset transmission rate is larger than the second-stage preset transmission rate;
the third secondary judgment mode is that the central control unit judges that the audio transmission of the storage unit does not meet a preset standard, and the central control unit adjusts the bandwidth of a link between the storage unit and the processing unit to a corresponding value according to the difference value between the secondary preset transmission delay and the transmission delay; the third secondary judgment mode satisfies that the transmission rate is smaller than the second-level preset transmission rate.
Further, the central control unit determines, in the second secondary determination manner, a reason determination manner for a specific reason that the audio transmission of the storage unit does not meet a preset standard according to the audio similarity between the received audio information and the original audio information, where:
the first reason judging mode is that the central control unit judges that the reason that the audio transmission of the storage unit does not meet the preset standard is a network signal problem, and the central control unit adjusts the dislocation multiplying power in the process of collecting the audio by the collecting unit to a corresponding value according to the audio similarity; the first cause judgment mode meets the condition that the similarity is larger than a preset audio similarity preset in the central control unit;
the second reason judging mode is that the central control unit judges that the audio transmission of the storage unit does not meet the preset standard because the corresponding operation parameters in the storage unit do not meet the preset standard, and the central control unit adjusts the corresponding operation parameters in the storage unit to the corresponding values according to the difference value between the preset audio similarity and the similarity; and the second reason judging mode meets the condition that the audio similarity is smaller than or equal to the preset audio similarity.
Further, the central control unit marks the difference between the similarity and the preset audio similarity as a first-level similarity difference in the first cause judgment mode, and determines a multiplying power adjustment mode for the dislocation multiplying power according to the first-level similarity difference, wherein:
the first multiplying power adjusting mode is that the central control unit adjusts the dislocation multiplying power to a corresponding value by using a first multiplying power adjusting coefficient; the first multiplying power adjusting mode meets the condition that the first-level similarity difference value is larger than a first preset first-level similarity difference value preset in the central control unit;
the second multiplying power adjusting mode is that the central control unit adjusts the dislocation multiplying power to a corresponding value by using a second multiplying power adjusting coefficient; the second multiplying power adjusting mode meets the condition that the first-level similarity difference value is smaller than or equal to the first preset first-level similarity difference value and larger than or equal to a second preset first-level similarity difference value preset in the central control unit, and the first preset first-level similarity difference value is larger than the second preset first-level similarity difference value;
the third rate adjustment mode is that the central control unit adjusts the dislocation multiplying power to a corresponding value by using a third rate adjustment coefficient; the third-time rate adjustment mode meets the condition that the first-level similarity difference value is smaller than the second preset first-level similarity difference value.
Further, the central control unit marks the difference between the preset audio similarity and the similarity as a secondary similarity difference in the second cause judgment mode, and determines an adjustment mode for the preset alternate storage duration according to the secondary similarity difference, wherein:
the first adjusting mode is that the central control unit uses a first adjusting coefficient to adjust the preset alternate storage duration to a corresponding value; the first adjusting mode meets the condition that the second-level similarity difference value is larger than a first preset second-level similarity difference value preset in the central control unit;
the second adjusting mode is that the central control unit uses a second adjusting coefficient to adjust the preset alternate storage duration to a corresponding value; the second adjustment mode meets the condition that the second-level similarity difference value is smaller than or equal to the first preset second-level similarity difference value and larger than or equal to a second preset second-level similarity difference value preset in the central control unit, and the first preset second-level similarity difference value is larger than the second preset second-level similarity difference value;
the third adjusting mode is that the central control unit adjusts the preset alternate storage duration to a corresponding value by using a third adjusting coefficient; the third adjustment mode meets the condition that the second-level similarity difference value is smaller than the second preset second-level similarity difference value.
Further, the central control unit records the difference value between the transmission delay and the secondary preset transmission delay as a delay difference value in the third judging mode, and determines an adjusting mode of the bandwidth of the link between the storage unit and the processing unit according to the delay difference value, wherein:
the first adjusting mode is that the central control unit uses a first adjusting coefficient to adjust the bandwidth of a link between a storage unit and the processing unit to a corresponding value; the first adjusting mode meets the condition that the delay difference value is larger than a first-level preset delay difference value preset in the central control unit;
the second adjusting mode uses a second adjusting coefficient to adjust the bandwidth of the link between the storage unit and the processing unit to a corresponding value; the second adjusting mode meets the requirements that the delay difference value is smaller than or equal to the primary preset delay difference value and larger than or equal to the secondary preset delay difference value preset in the central control unit, and the primary preset delay difference value is larger than the secondary preset delay difference value;
the third adjusting mode is that the central control unit uses a third adjusting coefficient to adjust the bandwidth of the link between the storage unit and the processing unit to a corresponding value; the third adjustment mode meets the condition that the delay difference value is smaller than the second-level preset delay difference value.
Further, in the step S2, the central control unit sets the timing duration of the first timer set in the central control unit as the difference between two adjacent time stamps of the audio information acquired by the acquisition unit according to the preset sampling rate, determines whether the audio is successfully stored in the data frame under the time node according to whether the audio has a corresponding data frame in the storage unit when the timer sends a prompt, determines that the audio has a difference frame when the data frame under a single time node is failed to be stored, and controls the storage unit to use the previous frame of the difference frame position to perform frame supplementing on the difference frame position, and performs frame difference marking.
Further, in the step S3, the central control unit sets the timing duration of the second timer set in the central control unit to a corresponding value to divide the storage process of the storage unit into a plurality of storage periods, and sequentially stores the data frames collected by the collection unit in the period and the difference frame marks and time stamps of the data frames in the single storage period into corresponding storage spaces to form a data packet, and the storage unit stores the data in two adjacent storage periods into different storage spaces respectively.
Further, the central control unit controls the storage unit to reduce the frame number of the audio information according to the preset dislocation multiplying power in the central control unit so as to generate frame number reduced audio information, the central control unit collects the frame number reduced audio information frame by frame and sequentially transmits each data frame collected in each storage period and the difference frame mark and the time stamp of each data frame to the corresponding storage space so as to form a data packet.
Furthermore, the invention can quickly determine whether the audio transmission meets the judgment mode of the preset standard by calculating the transmission delay and comparing with the preset standard, thereby carrying out corresponding adjustment or quick secondary judgment on the corresponding parameters in time when the preset standard is not met, quickly completing the adjustment on the corresponding parameters, ensuring the transmission of the audio transmission with high-speed and low-delay, and improving the transmission efficiency.
Further, the method and the device can rapidly determine whether the secondary judgment mode aiming at the audio transmission meets the preset standard or not by monitoring the transmission rate, so that the reason that the preset standard is not met is further judged, the high-speed transmission and the low-delay transmission of the audio transmission are ensured, and the transmission efficiency is improved.
Furthermore, the invention can quickly determine the specific reason that the audio transmission does not meet the preset standard by comparing the audio similarity with the preset standard, and determine the corresponding parameters to be adjusted according to the specific reason, thereby quickly finding out the problem to solve the problem, ensuring the transmission of the audio transmission with high circulation and low delay, and improving the transmission efficiency.
Further, the reason that the audio transmission does not meet the preset standard is determined to be the network signal problem, and the central control unit calculates the first-level similarity difference value and determines the corresponding adjusting coefficient according to the first similarity, so that the dislocation multiplying power is adjusted to the corresponding value, the dislocation multiplying power is adjusted to be rapidly completed, the influence of the signal problem is rapidly avoided, the transmission of the audio transmission with high-speed, low-delay and high-speed transmission is ensured, and the transmission efficiency is improved.
Further, the method and the device for adjusting the preset alternate storage time length quickly complete the adjustment of the preset alternate storage time length by calculating the similarity difference and determining the adjustment mode for the preset alternate storage time length according to the similarity difference, so that the high-speed transmission and low-delay transmission of audio transmission are ensured, and the transmission efficiency is improved.
Furthermore, the invention calculates the delay difference value and determines the adjustment mode for the broadband according to the delay difference value, thereby reducing the influence caused by system interference according to the adjustment of the broadband, ensuring the transmission of high-speed audio transmission and low-delay transmission, and improving the transmission efficiency.
Furthermore, the invention carries out frame compensation processing on the audio data by using the difference frames, and if the data is lost, the frame compensation is carried out on the position where the audio of the previous frame is stored in the frame, thereby ensuring the high probability integrity of the audio data.
Furthermore, the invention can prevent the data of the next second from overlapping the data of the previous second by carrying out dislocation storage on the data, thereby ensuring the high probability integrity of the audio data.
Drawings
Fig. 1 is a schematic flow chart of a wireless low-delay audio transmission method based on an embedded system according to the present invention;
FIG. 2 is a block diagram of a wireless low-delay audio transmission method based on an embedded system according to the present invention;
FIG. 3 is a flowchart of a decision method according to the present invention;
fig. 4 is a flowchart of the secondary judgment method judgment according to the present invention.
Detailed Description
In order that the objects and advantages of the invention will become more apparent, the invention will be further described with reference to the following examples; it should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are merely for explaining the technical principles of the present invention, and are not intended to limit the scope of the present invention.
It should be noted that, in the description of the present invention, terms such as "upper," "lower," "left," "right," "inner," "outer," and the like indicate directions or positional relationships based on the directions or positional relationships shown in the drawings, which are merely for convenience of description, and do not indicate or imply that the apparatus or elements must have a specific orientation, be constructed and operated in a specific orientation, and thus should not be construed as limiting the present invention.
Furthermore, it should be noted that, in the description of the present invention, unless explicitly specified and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be either fixedly connected, detachably connected, or integrally connected, for example; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present invention can be understood by those skilled in the art according to the specific circumstances.
Referring to fig. 1 and fig. 2, a flow chart of a wireless low-delay audio transmission method based on an embedded system and a structural block diagram of the wireless low-delay audio transmission method based on the embedded system according to the invention are shown, which comprises the following steps:
step S1, a central control unit controls an acquisition unit to acquire audio information frame by using a preset sampling rate in an alsa mode and marks corresponding time stamps on each data frame in sequence;
step S2, the central control unit controls the acquisition unit to judge whether the acquired audio information has frame loss or not, if the acquired audio information has frame loss, the audio information is subjected to frame difference supplementing processing, frame loss marks are marked on the supplemented data frames, and the central control unit sequentially transmits the marked data frames to the storage unit;
step S3, the central control unit controls the storage unit to store the received data frames in a first storage space and a second storage space which are arranged in the storage unit in an indirect staggered manner according to preset alternative storage time length which is set in the central control unit, so as to form data packets in the storage spaces respectively, and send the data packets to the processing unit in a wireless transmission mode, and the processing unit plays corresponding audio information according to the data frames in the data packets when receiving the data packets;
step S4, the central control unit judges whether the audio transmission of the storage unit meets a preset standard according to the transmission delay in the wireless transmission process of the storage unit and the processing unit, and adjusts the corresponding operation parameters of the storage unit and the processing unit in the wireless transmission process of the subsequent data to the corresponding values when the audio transmission of the storage unit is judged to not meet the preset standard, or judges whether the transmission of the storage unit and the processing unit in the wireless transmission process meets the preset standard for the second time according to the transmission rate of the data in the wireless transmission process of the storage unit and the processing unit when the audio transmission of the storage unit is judged to not meet the preset standard;
and S5, under the condition that the audio transmission in the wireless transmission process of the storage unit and the processing unit meets the standard, the central control unit keeps the relevant parameters unchanged and continues to transmit the audio.
Referring to fig. 3, which is a decision flow chart of the decision method according to the present invention, in the step S4, the central control unit detects a transmission delay in an audio transmission process of the storage unit and determines, according to the transmission delay in the audio transmission process of the storage unit, a decision method for determining whether the audio transmission of the storage unit meets a preset criterion, wherein:
the first judging mode is that the central control unit judges that the audio transmission of the storage unit meets a preset standard; the first judgment mode meets the condition that the transmission delay is smaller than a first-stage preset transmission delay of 10 mu s preset in the central control unit;
the second judging mode is that the central control unit preliminarily judges that the audio transmission of the storage unit does not meet the preset standard, and the central control unit secondarily judges whether the audio transmission of the storage unit meets the standard according to the transmission rate in the audio transmission process of the storage unit; the second judgment mode meets the condition that the transmission delay is greater than or equal to the first-stage preset transmission delay and is less than or equal to the second-stage preset transmission delay preset in the central control unit for 18 mu s;
the third judging mode is that the central control unit judges that the audio transmission of the storage unit does not meet the preset standard, and the central control unit adjusts the bandwidth of a link between the storage unit and the processing unit to a corresponding value according to the difference value between the secondary preset transmission delay and the transmission delay; the third determination mode satisfies that the transmission delay is greater than the second-level preset transmission delay.
Referring to fig. 4, which is a flowchart of the secondary judgment method according to the present invention, the central control unit detects a transmission rate of the storage unit and the processing unit in a wireless transmission process in the second judgment method, and determines whether the audio transmission of the storage unit meets a preset standard according to the transmission rate, wherein:
the first secondary judgment mode is that the central control unit judges that the audio transmission of the storage unit meets a preset standard; the first secondary judgment mode meets the condition that the transmission rate is 200M/s greater than a first-stage preset transmission rate preset in the central control unit;
the second secondary judgment mode is that the central control unit judges that the audio transmission of the storage unit does not meet the preset standard, and the central control unit determines a specific reason that the audio transmission of the storage unit does not meet the preset standard according to the similarity of the audio curves of the received audio information and the original audio information; the second secondary judgment mode meets the condition that the transmission rate is smaller than or equal to the first-level preset transmission rate and larger than or equal to the second-level preset transmission rate 100M/s preset in the central control unit;
the third secondary judgment mode is that the central control unit judges that the audio transmission of the storage unit does not meet a preset standard, and the central control unit adjusts the bandwidth of a link between the storage unit and the processing unit to a corresponding value according to the difference value between the secondary preset transmission delay and the transmission delay; the third secondary judgment mode satisfies that the transmission rate is smaller than the second-level preset transmission rate.
Specifically, the central control unit determines, in the second secondary determination manner, a reason determination manner for a specific reason that the audio transmission of the storage unit does not meet a preset standard according to the audio similarity between the received audio information and the original audio information, where:
the first reason judging mode is that the central control unit judges that the reason that the audio transmission of the storage unit does not meet the preset standard is a network signal problem, and the central control unit adjusts the dislocation multiplying power in the process of collecting the audio by the collecting unit to a corresponding value according to the audio similarity; the first cause judgment mode meets the condition that the similarity is greater than 85% of preset audio similarity preset in the central control unit;
the second reason judging mode is that the central control unit judges that the audio transmission of the storage unit does not meet the preset standard because the corresponding operation parameters in the storage unit do not meet the preset standard, and the central control unit adjusts the corresponding operation parameters in the storage unit to the corresponding values according to the difference value between the preset audio similarity and the similarity; and the second reason judging mode meets the condition that the audio similarity is smaller than or equal to the preset audio similarity.
Specifically, the central control unit marks the difference between the similarity and the preset audio similarity as a first-level similarity difference in the first cause judgment mode, and determines a multiplying power adjustment mode for the dislocation multiplying power according to the first-level similarity difference, wherein:
the first multiplying power adjusting mode is that the central control unit adjusts the dislocation multiplying power to a corresponding value by using a first multiplying power adjusting coefficient of 0.75; the first multiplying power adjusting mode meets the condition that the first-level similarity difference value is 10% larger than a first preset first-level similarity difference value preset in the central control unit;
the second multiplying power adjusting mode is that the central control unit adjusts the dislocation multiplying power to a corresponding value by using a second multiplying power adjusting coefficient of 0.85; the second multiplying power adjusting mode meets the condition that the first-level similarity difference value is smaller than or equal to the first preset first-level similarity difference value and larger than or equal to a second preset first-level similarity difference value preset in the central control unit by 5%;
the third rate adjustment mode is that the central control unit adjusts the dislocation multiplying power to a corresponding value by using a third rate adjustment coefficient of 0.95; the third-time rate adjustment mode meets the condition that the first-level similarity difference value is smaller than the second preset first-level similarity difference value.
Specifically, the central control unit marks the difference between the preset audio similarity and the similarity as a secondary similarity difference in the second cause judgment mode, and determines an adjustment mode for the preset alternate storage duration according to the secondary similarity difference, wherein:
the first adjusting mode is that the central control unit adjusts the preset alternate storage duration to a corresponding value by using a first adjusting coefficient 1.3; the first adjusting mode meets the condition that the second-level similarity difference value is 20% larger than a first preset second-level similarity difference value preset in the central control unit;
the second adjusting mode is that the central control unit adjusts the preset alternate storage duration to a corresponding value by using a second adjusting coefficient 1.2; the second adjustment mode meets the condition that the second-level similarity difference value is smaller than or equal to the first preset second-level similarity difference value and larger than or equal to a second preset second-level similarity difference value preset in the central control unit by 10%;
the third adjusting mode is that the central control unit adjusts the preset alternate storage duration to a corresponding value by using a third adjusting coefficient 1.1; the third adjustment mode meets the condition that the second-level similarity difference value is smaller than the second preset second-level similarity difference value.
Specifically, the central control unit records the difference value between the transmission delay and the secondary preset transmission delay as a delay difference value in the third judging mode, and determines the adjusting mode of the bandwidth of the link between the storage unit and the processing unit according to the delay difference value, wherein:
the first adjusting mode is that the central control unit adjusts the bandwidth of a link between a storage unit and the processing unit to a corresponding value by using a first adjusting coefficient 1.3; the first adjusting mode meets the condition that the delay difference value is 15 mu s larger than a first-stage preset delay difference value preset in the central control unit;
the second adjusting mode uses a second adjusting coefficient 1.2 to adjust the bandwidth of the link between the storage unit and the processing unit to a corresponding value; the second adjusting mode meets the condition that the delay difference value is smaller than or equal to the first-stage preset delay difference value and larger than or equal to a second-stage preset delay difference value preset in the central control unit by 8 mu s;
the third adjusting mode is that the central control unit adjusts the bandwidth of the link between the storage unit and the processing unit to a corresponding value by using a third adjusting coefficient 1.1; the third adjustment mode meets the condition that the delay difference value is smaller than the second-level preset delay difference value.
Specifically, in the step S2, the central control unit sets the timing duration of the first timer set in the central control unit as the difference between two adjacent time stamps of the audio information acquired by the acquisition unit according to the preset sampling rate, determines whether the audio is successfully stored in the data frame under the time node according to whether the audio has a corresponding data frame in the storage unit when the timer sends a prompt, determines that the audio has a bad frame when the data frame under a single time node is determined to be failed to be stored, and controls the storage unit to use the previous frame of the bad frame position to perform frame supplementing on the bad frame position, and performs frame difference marking.
Specifically, in the step S3, the central control unit sets the timing duration of the second timer set in the central control unit to a corresponding value to divide the storage process of the storage unit into a plurality of storage periods, and sequentially stores the data frames acquired by the acquisition unit in the period and the difference frame marks and time stamps of the data frames in the single storage period into corresponding storage spaces to form a data packet, and the storage unit stores the data in two adjacent storage periods into different storage spaces respectively.
Specifically, the central control unit controls the storage unit to reduce the frame number of the audio information according to the preset dislocation multiplying power in the central control unit so as to generate frame number reduced audio information, and the central control unit collects the frame number reduced audio information frame by frame and sequentially transmits each data frame collected in each storage period and the difference frame mark and the time stamp of each data frame to the corresponding storage space so as to form a data packet.
Thus far, the technical solution of the present invention has been described in connection with the preferred embodiments shown in the drawings, but it is easily understood by those skilled in the art that the scope of protection of the present invention is not limited to these specific embodiments. Equivalent modifications and substitutions for related technical features may be made by those skilled in the art without departing from the principles of the present invention, and such modifications and substitutions will be within the scope of the present invention.
The foregoing description is only of the preferred embodiments of the invention and is not intended to limit the invention; various modifications and variations of the present invention will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A wireless low-latency audio transmission method based on an embedded system, comprising:
step S1, a central control unit controls an acquisition unit to acquire audio information frame by using a preset sampling rate in an alsa mode and marks corresponding time stamps on each data frame in sequence;
step S2, the central control unit controls the acquisition unit to judge whether the acquired audio information has frame loss or not, if the acquired audio information has frame loss, the audio information is subjected to frame difference supplementing processing, frame loss marks are marked on the supplemented data frames, and the central control unit sequentially transmits the marked data frames to the storage unit;
step S3, the central control unit controls the storage unit to store the received data frames in a first storage space and a second storage space which are arranged in the storage unit in an indirect staggered manner according to preset alternative storage time length which is set in the central control unit, so as to form data packets in the storage spaces respectively, and send the data packets to the processing unit in a wireless transmission mode, and the processing unit plays corresponding audio information according to the data frames in the data packets when receiving the data packets;
step S4, the central control unit judges whether the audio transmission of the storage unit meets a preset standard according to the transmission delay in the wireless transmission process of the storage unit and the processing unit, and adjusts the corresponding operation parameters of the storage unit and the processing unit in the wireless transmission process of the subsequent data to the corresponding values when the audio transmission of the storage unit is judged to not meet the preset standard, or judges whether the transmission of the storage unit and the processing unit in the wireless transmission process meets the preset standard for the second time according to the transmission rate of the data in the wireless transmission process of the storage unit and the processing unit when the audio transmission of the storage unit is judged to not meet the preset standard;
and S5, under the condition that the audio transmission in the wireless transmission process of the storage unit and the processing unit meets the standard, the central control unit keeps the relevant parameters unchanged and continues to transmit the audio.
2. The wireless low-delay audio transmission method based on the embedded system according to claim 1, wherein in the step S4, the central control unit detects a transmission delay in an audio transmission process of the storage unit and determines a determination mode of whether the audio transmission for the storage unit meets a preset standard according to the transmission delay in the audio transmission process of the storage unit, wherein:
the first judging mode is that the central control unit judges that the audio transmission of the storage unit meets a preset standard; the first judgment mode meets the condition that the transmission delay is smaller than a first-stage preset transmission delay preset in the central control unit;
the second judging mode is that the central control unit preliminarily judges that the audio transmission of the storage unit does not meet the preset standard, and the central control unit secondarily judges whether the audio transmission of the storage unit meets the standard according to the transmission rate in the audio transmission process of the storage unit; the second judgment mode meets the requirements that the transmission delay is larger than or equal to the first-stage preset transmission delay and smaller than or equal to the second-stage preset transmission delay preset in the central control unit, and the second-stage preset transmission delay is larger than the first-stage preset transmission delay;
the third judging mode is that the central control unit judges that the audio transmission of the storage unit does not meet the preset standard, and the central control unit adjusts the bandwidth of a link between the storage unit and the processing unit to a corresponding value according to the difference value between the secondary preset transmission delay and the transmission delay; the third determination mode satisfies that the transmission delay is greater than the second-level preset transmission delay.
3. The wireless low-delay audio transmission method based on the embedded system according to claim 2, wherein the central control unit detects a transmission rate in a wireless transmission process of the storage unit and the processing unit in the second determination mode, and determines a secondary determination mode for whether audio transmission of the storage unit meets a preset standard according to the transmission rate, wherein:
the first secondary judgment mode is that the central control unit judges that the audio transmission of the storage unit meets a preset standard; the first secondary judgment mode meets the condition that the transmission rate is larger than a first-level preset transmission rate preset in the central control unit;
the second secondary judgment mode is that the central control unit judges that the audio transmission of the storage unit does not meet the preset standard, and the central control unit determines a specific reason that the audio transmission of the storage unit does not meet the preset standard according to the similarity of the audio curves of the received audio information and the original audio information; the second secondary judgment mode meets the condition that the transmission rate is smaller than or equal to the first-stage preset transmission rate and larger than or equal to the second-stage preset transmission rate preset in the central control unit, and the first-stage preset transmission rate is larger than the second-stage preset transmission rate;
the third secondary judgment mode is that the central control unit judges that the audio transmission of the storage unit does not meet a preset standard, and the central control unit adjusts the bandwidth of a link between the storage unit and the processing unit to a corresponding value according to the difference value between the secondary preset transmission delay and the transmission delay; the third secondary judgment mode satisfies that the transmission rate is smaller than the second-level preset transmission rate.
4. The wireless low-delay audio transmission method based on an embedded system according to claim 3, wherein the central control unit determines a reason determination mode for a specific reason that the audio transmission of the storage unit does not meet a preset standard according to the audio similarity between the received audio information and the original audio information in the second determination mode, wherein:
the first reason judging mode is that the central control unit judges that the reason that the audio transmission of the storage unit does not meet the preset standard is a network signal problem, and the central control unit adjusts the dislocation multiplying power in the process of collecting the audio by the collecting unit to a corresponding value according to the audio similarity; the first cause judgment mode meets the condition that the similarity is larger than a preset audio similarity preset in the central control unit;
the second reason judging mode is that the central control unit judges that the audio transmission of the storage unit does not meet the preset standard because the corresponding operation parameters in the storage unit do not meet the preset standard, and the central control unit adjusts the corresponding operation parameters in the storage unit to the corresponding values according to the difference value between the preset audio similarity and the similarity; and the second reason judging mode meets the condition that the audio similarity is smaller than or equal to the preset audio similarity.
5. The wireless low-delay audio transmission method based on an embedded system according to claim 4, wherein the central control unit records a difference between the similarity and the preset audio similarity as a first-level similarity difference in the first cause determination mode, and determines a multiplying power adjustment mode for a dislocation multiplying power according to the first-level similarity difference, wherein:
the first multiplying power adjusting mode is that the central control unit adjusts the dislocation multiplying power to a corresponding value by using a first multiplying power adjusting coefficient; the first multiplying power adjusting mode meets the condition that the first-level similarity difference value is larger than a first preset first-level similarity difference value preset in the central control unit;
the second multiplying power adjusting mode is that the central control unit adjusts the dislocation multiplying power to a corresponding value by using a second multiplying power adjusting coefficient; the second multiplying power adjusting mode meets the condition that the first-level similarity difference value is smaller than or equal to the first preset first-level similarity difference value and larger than or equal to a second preset first-level similarity difference value preset in the central control unit, and the first preset first-level similarity difference value is larger than the second preset first-level similarity difference value;
the third rate adjustment mode is that the central control unit adjusts the dislocation multiplying power to a corresponding value by using a third rate adjustment coefficient; the third-time rate adjustment mode meets the condition that the first-level similarity difference value is smaller than the second preset first-level similarity difference value.
6. The wireless low-delay audio transmission method based on an embedded system according to claim 4, wherein the central control unit marks a difference between the preset audio similarity and the similarity as a secondary similarity difference in the second cause judgment mode, and determines an adjustment mode for the preset alternate storage duration according to the secondary similarity difference, wherein:
the first adjusting mode is that the central control unit uses a first adjusting coefficient to adjust the preset alternate storage duration to a corresponding value; the first adjusting mode meets the condition that the second-level similarity difference value is larger than a first preset second-level similarity difference value preset in the central control unit;
the second adjusting mode is that the central control unit uses a second adjusting coefficient to adjust the preset alternate storage duration to a corresponding value; the second adjustment mode meets the condition that the second-level similarity difference value is smaller than or equal to the first preset second-level similarity difference value and larger than or equal to a second preset second-level similarity difference value preset in the central control unit, and the first preset second-level similarity difference value is larger than the second preset second-level similarity difference value;
the third adjusting mode is that the central control unit adjusts the preset alternate storage duration to a corresponding value by using a third adjusting coefficient; the third adjustment mode meets the condition that the second-level similarity difference value is smaller than the second preset second-level similarity difference value.
7. The wireless low-delay audio transmission method based on the embedded system according to claim 2, wherein the central control unit records a difference value between the transmission delay and the secondary preset transmission delay as a delay difference value in the third determination mode, and determines an adjustment mode of a bandwidth of a link between the storage unit and the processing unit according to the delay difference value, wherein:
the first adjusting mode is that the central control unit uses a first adjusting coefficient to adjust the bandwidth of a link between a storage unit and the processing unit to a corresponding value; the first adjusting mode meets the condition that the delay difference value is larger than a first-level preset delay difference value preset in the central control unit;
the second adjusting mode uses a second adjusting coefficient to adjust the bandwidth of the link between the storage unit and the processing unit to a corresponding value; the second adjusting mode meets the requirements that the delay difference value is smaller than or equal to the primary preset delay difference value and larger than or equal to the secondary preset delay difference value preset in the central control unit, and the primary preset delay difference value is larger than the secondary preset delay difference value;
the third adjusting mode is that the central control unit uses a third adjusting coefficient to adjust the bandwidth of the link between the storage unit and the processing unit to a corresponding value; the third adjustment mode meets the condition that the delay difference value is smaller than the second-level preset delay difference value.
8. The wireless low-delay audio transmission method based on the embedded system according to claim 1, wherein in the step S2, the central control unit sets the timing duration of the first timer set in the central control unit as the difference between two adjacent time stamps of the audio information acquired by the acquisition unit according to the preset sampling rate, when the timer sends out a prompt, determines whether the data frame under the time node is successfully stored according to whether the corresponding data frame exists in the storage unit of the audio, when the central control unit determines that the data frame under the single time node is failed to be stored, determines that the audio is bad, controls the storage unit to use the previous frame of the bad frame position to perform frame supplementing on the bad frame position, and performs frame marking.
9. The wireless low-delay audio transmission method based on the embedded system according to claim 1, wherein in the step S3, the central control unit sets the timing duration of the second timer set therein to a corresponding value to divide the storage process of the storage unit into a plurality of storage periods, and sequentially stores the data frames acquired by the acquisition unit in the period and the difference frame marks and time stamps of the data frames in the single storage period into corresponding storage spaces to form data packets, and the storage unit stores the data in two adjacent storage periods into different storage spaces respectively.
10. The wireless low-delay audio transmission method based on the embedded system according to claim 9, wherein the central control unit controls the storage unit to reduce the frame number of the audio information according to a preset dislocation multiplying power in the central control unit so as to generate frame number reduced audio information, and the central control unit collects the frame number reduced audio information frame by frame and sequentially transmits each data frame collected in each storage period and a difference frame mark and a time stamp of each data frame to the corresponding storage space so as to form a data packet.
CN202311044101.4A 2023-08-17 2023-08-17 Wireless low-delay audio transmission method based on embedded system Pending CN117082040A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311044101.4A CN117082040A (en) 2023-08-17 2023-08-17 Wireless low-delay audio transmission method based on embedded system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311044101.4A CN117082040A (en) 2023-08-17 2023-08-17 Wireless low-delay audio transmission method based on embedded system

Publications (1)

Publication Number Publication Date
CN117082040A true CN117082040A (en) 2023-11-17

Family

ID=88714662

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311044101.4A Pending CN117082040A (en) 2023-08-17 2023-08-17 Wireless low-delay audio transmission method based on embedded system

Country Status (1)

Country Link
CN (1) CN117082040A (en)

Similar Documents

Publication Publication Date Title
DE60211217T2 (en) TIME DIVERSITY COMBINATION TO INCREASE THE RELIABILITY OF IEEE 802.11 WLAN RECEIVERS
US7477876B2 (en) Variable rate channel quality feedback in a wireless communication system
US7440764B2 (en) Method and apparatus for improving throughput in a wireless local area network
US7808956B2 (en) Dynamic, adaptive power control for a half-duplex wireless communication system
CN1883223B (en) Link adaptation for point-to-multipoint channel
KR100733673B1 (en) Radio packet communication method and apparatus thereof
US20120099548A1 (en) Method and Communication Device for Assigning Scheduling Grant
US9014037B2 (en) Apparatus and method for transmitting/receiving data in communication system
US7899009B2 (en) Method and apparatus for scheduling uplink rates adaptively to fast rate ramping in a packet communication system
US20110176478A1 (en) Communication system, communication method, relay station, and computer program
CA2331643A1 (en) Transmitter/receiver
CN106658223B (en) Video uplink transmission method and device under Long Term Evolution (LTE) network
KR20070092977A (en) Wireless communication apparatus
EP2087599A1 (en) Method and apparatus for receiving system information from base station in a mobile communication system
US7411983B2 (en) Apparatus and method for acquiring frame synchronization in a mobile communication system
US20080137594A1 (en) Apparatus and method for increasing a service coverage area of a broadcast channel in wireless communication system by using an harq scheme
EP2645611A1 (en) A method for triggering transmissions, and a network device therefor
US6341124B1 (en) Accommodating packet data loss at base stations interfacing between a packet switched network and a CDMA macrodiversity network
EP1067730A1 (en) Determining the transmission quality of a radio channel
US6496551B1 (en) Method and device in a radio communications system
CN117082040A (en) Wireless low-delay audio transmission method based on embedded system
CN101990314A (en) Packet control unit frame processing method, transmission method and system
CN102340827B (en) Wireless communication system and method for adjusting use depth of buffering unit therein
CN114980144A (en) Method for evaluating probability of multichannel authorization-free retransmission scheme under low time delay
JPWO2003105420A1 (en) Data communication method and data transmission apparatus

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