[go: up one dir, main page]

TWI802795B - Audio concealment method and wireless audio output device using the same - Google Patents

Audio concealment method and wireless audio output device using the same Download PDF

Info

Publication number
TWI802795B
TWI802795B TW109114572A TW109114572A TWI802795B TW I802795 B TWI802795 B TW I802795B TW 109114572 A TW109114572 A TW 109114572A TW 109114572 A TW109114572 A TW 109114572A TW I802795 B TWI802795 B TW I802795B
Authority
TW
Taiwan
Prior art keywords
audio data
output unit
wireless
audio
link
Prior art date
Application number
TW109114572A
Other languages
Chinese (zh)
Other versions
TW202103473A (en
Inventor
邱聖友
陳凱昇
蔡昕原
王志剛
Original Assignee
達發科技股份有限公司
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 達發科技股份有限公司 filed Critical 達發科技股份有限公司
Priority to CN202010437643.8A priority Critical patent/CN112218197B/en
Priority to US16/925,470 priority patent/US11172303B2/en
Publication of TW202103473A publication Critical patent/TW202103473A/en
Application granted granted Critical
Publication of TWI802795B publication Critical patent/TWI802795B/en

Links

Images

Landscapes

  • Transmitters (AREA)
  • Input Circuits Of Receivers And Coupling Of Receivers And Audio Equipment (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a wireless audio output device, including the first and second audio output units. The wireless audio output device communicates with an audio source which transmitting the first and second original audio data, and the first and the second original audio data are configured to be outputted through the first and the second audio output units simultaneously. When the first audio output unit successfully receives the first original audio data, but the second audio output unit fails to receive the second original audio data, then (1) the first audio output unit will drop the received first original audio data, and (2) the first and the second audio output units will generate a first and a second conceal audio data based on a PLC algorithm, and then output a first and a second conceal audio data simultaneously.

Description

音訊補償方法及對應使用此方法的無線音訊輸 出裝置 Audio compensation method and corresponding wireless audio input using this method out device

本揭露是有關於一種音訊補償方法及對應使用此方法的無線音訊輸出裝置。 The present disclosure relates to an audio compensation method and a corresponding wireless audio output device using the method.

可攜式與穿戴式電子裝置例如手機、平板電腦、隨身聽、智慧型手表等可說是日漸普及。在這些可攜式與穿戴式電子裝置的周邊設備中,音訊輸出裝置扮演著一個重要的角色。隨身攜帶的音訊輸出裝置通常包括耳機及揚聲器。為了提高攜帶方便性,且省略可攜式與穿戴式電子裝置上的有線耳機孔,將音訊輸出裝置和音訊源之間的音訊資料傳輸無線化將是必然趨勢。 Portable and wearable electronic devices such as mobile phones, tablet computers, walkmans, smart watches, etc. are becoming increasingly popular. Among the peripheral devices of these portable and wearable electronic devices, the audio output device plays an important role. Portable audio output devices usually include earphones and speakers. In order to improve portability and omit wired earphone jacks on portable and wearable electronic devices, it will be an inevitable trend to wirelessly transmit audio data between the audio output device and the audio source.

根據本發明之第一方面,提出一種無線音訊輸出裝置,無線音訊輸出裝置可與音訊源建立無線訊號鏈結,音訊源輸出第一原始音訊資料與第二原始音訊資料,第一原始音訊資料和第二原始音訊資料係設定要在時間點同時輸出給使用者聆聽。無線音訊輸出裝置包括第一輸出單元和第二輸出單元。第一輸出單 元藉由無線訊號鏈結而可接收並播放第一原始音訊資料,第二輸出單元R2藉由無線訊號鏈結而可接收並播放第二原始音訊資料,且第一輸出單元與第二輸出單元間能交換或偵測各自是否分別成功接收第一原始音訊資料和第二原始音訊資料的結果。當第一原始音訊資料和第二原始音訊資料均被成功接收時,則第一輸出單元與第二輸出單元分別解碼輸出第一原始音訊資料和第二原始音訊資料。但當至少(1)第一原始音訊資料未能被第一輸出單元成功接收,或(2)第二原始音訊資料未能被第二輸出單元成功接收其中之一發生時,則第一輸出單元和第二輸出單元依據補償演算法分別產生第一補償音訊資料與第二補償音訊資料。在時間點,第一輸出單元與第二輸出單元分別播放第一補償音訊資料與第二補償音訊資料。 According to the first aspect of the present invention, a wireless audio output device is proposed, the wireless audio output device can establish a wireless signal link with the audio source, the audio source outputs the first original audio data and the second original audio data, the first original audio data and The second original audio data is set to be output to the user for listening at the same time. The wireless audio output device includes a first output unit and a second output unit. first export order The unit can receive and play the first original audio data through the wireless signal link, the second output unit R2 can receive and play the second original audio data through the wireless signal link, and the first output unit and the second output unit Can exchange or detect the results of whether they have successfully received the first original audio data and the second original audio data respectively. When both the first original audio data and the second original audio data are successfully received, the first output unit and the second output unit decode and output the first original audio data and the second original audio data respectively. However, when at least one of (1) the first original audio data cannot be successfully received by the first output unit, or (2) the second original audio data cannot be successfully received by the second output unit occurs, then the first output unit and the second output unit respectively generate first compensation audio data and second compensation audio data according to the compensation algorithm. At the time point, the first output unit and the second output unit respectively play the first compensation audio data and the second compensation audio data.

根據本發明之另一方面,提出一種音訊補償方法,適用於無線音訊輸出裝置,此音訊補償方法包括下列步驟。(a)當第一原始音訊資料被無線音訊輸出裝置之第一輸出單元成功接收,且第二原始音訊資料被無線音訊輸出裝置之第二輸出單元成功接收時,則第一輸出單元與第二輸出單元分別播放第一原始音訊資料和第二原始音訊資料,其中第一原始音訊資料與第二原始音訊資料係由音訊源輸出,無線音訊輸出裝置與音訊源建立無線訊號鏈結。第一原始音訊資料和第二原始音訊資料係設定要同時輸出,第一輸出單元藉由無線訊號鏈結而可用以接收並播放第一原始音訊資料,第二輸出單元藉由無線訊號鏈結而可用以接收並 播放第二原始音訊資料。第一輸出單元與第二輸出單元間能交換或偵測各自是否分別成功接收第一原始音訊資料和第二原始音訊資料的結果。(b)當至少(1)第一原始音訊資料未能被第一輸出單元成功接收,或(2)第二原始音訊資料未能被第二輸出單元成功接收其中之一發生時,則第一輸出單元和第二輸出單元依據補償演算法分別產生第一補償音訊資料與第二補償音訊資料,且第一輸出單元與第二輸出單元分別播放第一補償音訊資料與第二補償音訊資料。 According to another aspect of the present invention, an audio compensation method suitable for a wireless audio output device is proposed, and the audio compensation method includes the following steps. (a) When the first original audio data is successfully received by the first output unit of the wireless audio output device, and the second original audio data is successfully received by the second output unit of the wireless audio output device, the first output unit and the second The output unit respectively plays the first original audio data and the second original audio data, wherein the first original audio data and the second original audio data are output by the audio source, and the wireless audio output device establishes a wireless signal link with the audio source. The first original audio data and the second original audio data are set to be output simultaneously, the first output unit can be used to receive and play the first original audio data through the wireless signal link, and the second output unit can be connected through the wireless signal link available to receive and Play the second original audio data. The first output unit and the second output unit can exchange or detect whether they have successfully received the first original audio data and the second original audio data respectively. (b) When at least one of (1) the failure of the first raw audio data to be received by the first output unit, or (2) the failure of the second raw audio data to be successfully received by the second output unit occurs, then the first The output unit and the second output unit respectively generate the first compensation audio data and the second compensation audio data according to the compensation algorithm, and the first output unit and the second output unit respectively play the first compensation audio data and the second compensation audio data.

為了對本揭露之上述及其他方面有更佳的瞭解,下文特舉實施例,並配合所附圖式詳細說明如下: In order to have a better understanding of the above and other aspects of the present disclosure, the following specific embodiments are described in detail in conjunction with the attached drawings as follows:

10、20、40:無線音訊輸出裝置 10, 20, 40: Wireless audio output device

101~115:流程步驟 101~115: Process steps

102A、202A、402A:第一輸出單元 102A, 202A, 402A: the first output unit

102B、202B、402B:第二輸出單元 102B, 202B, 402B: the second output unit

ACK:確認訊息 ACK: Acknowledgment message

CA23、CA1X、CA2X:補償音訊資料 CA23, CA1X, CA2X: Compensation audio data

ML、IFL:無線訊號鏈結 ML, IFL: wireless signal link

ML1:雙向鏈結 ML1: bidirectional link

ML2:單向鏈結 ML2: one-way link

NAK:未確認訊息 NAK: Unconfirmed message

OA11~OA14、OA21~OA24、OA1X、OA2X:原始音訊資料 OA11~OA14, OA21~OA24, OA1X, OA2X: Original audio data

R1:主通信單元 R1: main communication unit

R2:次通信單元 R2: secondary communication unit

RL:中繼訊號鏈結 RL: Relay Signal Link

S:音訊源 S: audio source

WL:無線訊號鏈結 WL: Wireless Signal Link

第1圖繪示現有技術的無線音訊輸出裝置的示意圖。 FIG. 1 is a schematic diagram of a wireless audio output device in the prior art.

第2圖繪示現有技術的無線音訊輸出裝置,當其中一輸出單元接收封包失敗時,兩輸出單元輸出波形不一致的示意圖。 FIG. 2 shows a conventional wireless audio output device. When one of the output units fails to receive a packet, the output waveforms of the two output units are inconsistent.

第3圖繪示依據本揭露一實施例之無線音訊輸出裝置應用於一音訊源之系統架構圖。 FIG. 3 shows a system architecture diagram of a wireless audio output device applied to an audio source according to an embodiment of the present disclosure.

第4圖繪示依據本揭露第3圖實施例中,兩個輸出單元所執行的同步捨棄機制的流程圖。 FIG. 4 is a flow chart of the synchronous discarding mechanism executed by two output units in the embodiment of FIG. 3 according to the present disclosure.

第5圖繪示依據本揭露第3圖實施例,兩個輸出單元執行同步捨棄機制後輸出波形示意圖。 FIG. 5 is a schematic diagram of output waveforms after two output units implement the synchronous discarding mechanism according to the embodiment of FIG. 3 of the present disclosure.

第6圖繪示本揭露一實施例,當依據藍牙標準通訊協定設計時的封包的傳送及接收的時序示意圖。 FIG. 6 shows an embodiment of the present disclosure, a schematic diagram of the timing sequence of packet transmission and reception when designed according to the Bluetooth standard communication protocol.

第7A~7B圖繪示依據本揭露第6圖實施例於第一狀況下,兩個輸出單元執行同步捨棄機制的示意圖。 FIGS. 7A-7B are schematic diagrams of two output units implementing a synchronous discarding mechanism in the first situation according to the embodiment of FIG. 6 of the present disclosure.

第8圖繪示依據本揭露第7A~7B圖實施例,兩個輸出單元間交換封包的傳送及接收的時序示意圖。 FIG. 8 is a schematic diagram illustrating the timing sequence of sending and receiving packets exchanged between two output units according to the embodiment of FIGS. 7A-7B of the present disclosure.

第9A~9C圖繪示依據本揭露第6圖實施例於第二狀況下,兩個輸出單元執行同步捨棄機制的示意圖。 9A-9C are schematic diagrams of two output units implementing a synchronous discarding mechanism in the second situation according to the embodiment of FIG. 6 of the present disclosure.

第10A~10B圖繪示依據本揭露第9A~9C圖實施例,兩個輸出單元間交換封包的傳送及接收的時序示意圖。 FIGS. 10A-10B illustrate the timing diagrams of sending and receiving packets exchanged between two output units according to the embodiment of FIGS. 9A-9C of the present disclosure.

第11圖繪示本揭露另一實施例,兩個輸出單元具有同步捨棄機制的無線音訊輸出裝置示意圖。 FIG. 11 shows another embodiment of the present disclosure, a schematic diagram of a wireless audio output device with two output units having a synchronous discarding mechanism.

第12A~12C圖繪示依據本揭露第11圖實施例,於第三狀況下,兩個輸出單元執行同步捨棄機制的示意圖。 12A-12C are schematic diagrams of two output units implementing a synchronous discarding mechanism in the third situation according to the embodiment of FIG. 11 of the present disclosure.

請參照第1圖,第1圖繪示目前市面上可見的無線音訊輸出裝置10的示意圖。無線音訊輸出裝置10包括第一輸出單元102A和第二輸出單元102B,且無線音訊輸出裝置10可與手機音訊源S建立無線訊號鏈結WL,音訊源S輸出第一原始音訊資料OA1(例如是左聲道音訊資料)與第二原始音訊資料OA2(例如是右聲道音訊資料)。無線音訊輸出裝置10例如是藍牙無線耳機,而第一輸出單元102A和第二輸出單元102B則分別是藍牙無線耳機 的左聲道輸出及右聲道輸出,第一原始音訊資料OA1和第二原始音訊資料OA2係設定要分別透過第一輸出單元102A與第二輸出單元102B,而能同時輸出並播放給使用者聆聽。 Please refer to FIG. 1 . FIG. 1 shows a schematic diagram of a wireless audio output device 10 currently available on the market. The wireless audio output device 10 includes a first output unit 102A and a second output unit 102B, and the wireless audio output device 10 can establish a wireless signal link WL with the mobile phone audio source S, and the audio source S outputs the first original audio data OA1 (such as left channel audio data) and the second original audio data OA2 (such as right channel audio data). The wireless audio output device 10 is, for example, a Bluetooth wireless headset, and the first output unit 102A and the second output unit 102B are respectively a Bluetooth wireless headset The left channel output and the right channel output, the first original audio data OA1 and the second original audio data OA2 are set to pass through the first output unit 102A and the second output unit 102B respectively, and can be output and played to the user at the same time listen.

另外於語音通話(Speech)應用情境中,發話者語音一般不是左右聲道有差異的立體音,故手機訊號源S所輸出的第一原始音訊資料OA1和第二原始音訊資料OA2(左右聲道音訊資料)原則上是相同的。因此當第一輸出單元102A(左耳耳機)和第二輸出單元102B(右耳耳機)分別成功接收到第一原始音訊資料OA1和第二原始音訊資料OA2時,聆聽者自左右耳機聆聽到的會是相同接近的語音,如此聆聽者有較佳的主觀聽感。 In addition, in the application situation of voice communication (Speech), the voice of the speaker is generally not a stereo sound with differences between the left and right channels, so the first original audio data OA1 and the second original audio data OA2 (left and right channels) output by the mobile phone signal source S audio data) are in principle the same. Therefore, when the first output unit 102A (left earphone) and the second output unit 102B (right earphone) successfully receive the first original audio data OA1 and the second original audio data OA2 respectively, the listener hears from the left and right earphones It will be the same close voice, so the listener has a better subjective sense of hearing.

以下為方便解說,本篇專利的定義下列代號:於代號「OAxy」中,其中OA字首代表由音訊源S輸出的原始音訊資料(Original Audio Data),x為相關輸出單元編號,y為預訂輸出時間序號。類似地,於代號「CAxy」中,其中CA字首代表補償音訊資料(Concealment Audio Data),x為相關輸出單元編號,y為預訂輸出時間序號。例如代號OA23代表第二輸出單元102B預計在時間點T3輸出的原始音訊資料,又例如代號CA14代表第一輸出單元102A預計在時間點T4輸出的補償音訊資料。補償音訊資料一般係依據封包遺失補償演算法(Packet Loss Concealment,PLC)所產生的替代性音訊資料。封包遺失補償演算法係運用前幾個無線音訊輸出裝置10所成功接收到的原始音訊資料,取人聲基頻所對應的週期訊號來建構補償音訊資料。 For the convenience of explanation, this patent defines the following codes: In the code "OAxy", the prefix OA represents the original audio data (Original Audio Data) output by the audio source S, x is the number of the relevant output unit, and y is the reservation Output time sequence number. Similarly, in the code "CAxy", the prefix CA stands for Concealment Audio Data, x is the number of the relevant output unit, and y is the serial number of the scheduled output time. For example, the code OA23 represents the original audio data expected to be output by the second output unit 102B at the time point T3, and for example, the code CA14 represents the compensated audio data expected to be output by the first output unit 102A at the time point T4. The compensated audio data is generally a substitute audio data generated according to a packet loss compensation algorithm (Packet Loss Concealment, PLC). The packet loss compensation algorithm uses the original audio data successfully received by the first few wireless audio output devices 10 to obtain the periodic signal corresponding to the fundamental frequency of the human voice to construct the compensation audio data.

請參照第2圖,第2圖繪示在無線傳輸音訊資料過程中,所可能發生封包遺失的狀況。如第2圖所示,針對預計要在T1~T4時間點輸出的原始音訊資料,如第2圖左上部所示,第一列描述第一輸出單元102A成功接收到內含原始音訊資料OA11~OA14的四個封包,第二列描述第一輸出單元102A於T1~T4時間點將分別輸出所接收到的第一原始音訊資料OA11~OA14。但另一方面,如第2圖右上部所示,第一列描述第二輸出單元102B只成功接收到內含原始音訊資料OA21~OA22與OA24的三個封包,其中第三個封包接收失敗。第二輸出單元102B只獲得部分第二原始音訊資料OA21~OA22與OA24,致使第二輸出單元102B欠缺預計要在T3時間點輸出的部分第二原始音訊資料OA23。 Please refer to Figure 2. Figure 2 shows possible packet loss during wireless transmission of audio data. As shown in Figure 2, for the original audio data expected to be output at time points T1~T4, as shown in the upper left part of Figure 2, the first column describes that the first output unit 102A successfully received the original audio data OA11~ For the four packets of OA14, the second column describes that the first output unit 102A will respectively output the received first original audio data OA11-OA14 at time points T1-T4. But on the other hand, as shown in the upper right part of FIG. 2 , the first column describes that the second output unit 102B only successfully received three packets containing original audio data OA21 ˜ OA22 and OA24 , and the third packet failed to be received. The second output unit 102B only obtains part of the second original audio data OA21 ˜ OA22 and OA24 , so that the second output unit 102B lacks part of the second original audio data OA23 expected to be output at the time point T3 .

依照目前市面上產品可能補救措施,此時第二輸出單元102B會依據封包遺失補償演算法產生一個補償音訊資料CA23,第二輸出單元102B把補償音訊資料CA23填入作為遺失封包時間點T3的替代音訊資料,藉此來輸出音訊。如第2圖右上部所示,第二列描述第二輸出單元102B於T1~T4時間點將分別輸出第一原始音訊資料OA21~OA22、補償音訊資料CA23與第一原始音訊資料OA24。在預定T3時間點,第一輸出單元102A係輸出第三封包所內含的第一原始音訊資料OA13,而第二輸出單元102B則輸出補償音訊資料CA23。 According to the possible remedial measures of products currently on the market, at this time the second output unit 102B will generate a compensation audio data CA23 according to the packet loss compensation algorithm, and the second output unit 102B fills the compensation audio data CA23 as a replacement for the lost packet time point T3 Audio data, which is used to output audio. As shown in the upper right part of FIG. 2, the second column describes that the second output unit 102B will output the first original audio data OA21-OA22, the compensation audio data CA23 and the first original audio data OA24 at time points T1-T4 respectively. At the predetermined time point T3, the first output unit 102A outputs the first original audio data OA13 included in the third packet, and the second output unit 102B outputs the compensated audio data CA23.

若在時間點T3,剛好此時人聲基頻變化較大時,則如第2圖左下部與右下部所示,(1)依據封包遺失補償演算法所補入的音訊資料CA23所產生的輸出波形和(2)依據原始音訊資料OA13所產生的輸出波形,兩波形間存在顯著差異,且如此顯著差異會造成左右耳音訊不平衡狀態相對明顯,使用者在T3時間點聆聽會感受到存在明顯差異,甚至出現雜音訊號,進而降低使用者的主觀聽覺感受。 If at the time point T3, when the fundamental frequency of the human voice changes greatly at this time, as shown in the lower left and lower right parts of Figure 2, (1) the output generated by the audio data CA23 filled in according to the packet loss compensation algorithm Waveform and (2) The output waveform generated according to the original audio data OA13, there is a significant difference between the two waveforms, and such a significant difference will cause a relatively obvious audio imbalance between the left and right ears, and the user will feel the obvious difference when listening at T3 time point Differences, and even noise signals appear, thereby reducing the user's subjective hearing experience.

請參照第3圖,其繪示依據本揭露一實施例之無線音訊輸出裝置20,此無線音訊輸出裝置20可與音訊源S建立無線訊號鏈結ML。音訊源S輸出第一原始音訊資料OA1x與第二原始音訊資料OA2x,第一原始音訊資料OA1x和第二原始音訊資料OA1x係設定預定要在時間點Tx,同時輸出給使用者聆聽。無線音訊輸出裝置20包括第一輸出單元202A與第二輸出單元202B。無線訊號鏈結ML包含雙向鏈結ML1和單向鏈結ML2。其中第一輸出單元202A與音訊源S之間係建立雙向鏈結ML1,藉由此雙向鏈結ML1,第一輸出單元202A可接收並播放第一原始音訊資料OA1x。其中第二輸出單元202B與音訊源S之間係建立單向鏈結ML2,藉由單向鏈結ML2,第二輸出單元202B可接收並播放第二原始音訊資料OA2x。因為第一輸出單元202A與音訊源S間的鏈結係雙向鏈結ML1,而第二輸出單元202B與音訊源S間的鏈結係單向鏈結ML2,故第一輸出單元202A被設定為主通信單元R1,第二輸出單元202B被設定為次通信單元R2。第一輸出單元202A與第二輸出單元202B間並建立延展封包時間內的無線訊號鏈結IFL,藉由此無線訊號鏈結IFL,第一輸出單元202A與第二輸出 單元202B能交換或偵測各自是否分別成功接收第一原始音訊資料OA1x和第二原始音訊資料OA2x的結果。其中當至少(1)第一原始音訊資料OA1x未能被第一輸出單元202A成功接收,或(2)第二原始音訊資料OA2x未能被第二輸出單元202B成功接收其中之一發生時,則第一輸出單元202A和第二輸出單元202B依據補償演算法分別產生第一補償音訊資料CA1x與第二補償音訊資料CA2x,且第一輸出單元202A與第二輸出單元202B分別播放第一補償音訊資料CA1x與第二補償音訊資料CA2x。 Please refer to FIG. 3 , which shows a wireless audio output device 20 according to an embodiment of the present disclosure. The wireless audio output device 20 can establish a wireless signal link ML with an audio source S. Referring to FIG. The audio source S outputs the first original audio data OA1x and the second original audio data OA2x. The first original audio data OA1x and the second original audio data OA1x are set to be output to the user at the time Tx at the same time. The wireless audio output device 20 includes a first output unit 202A and a second output unit 202B. The wireless signal link ML includes a bidirectional link ML1 and a unidirectional link ML2. A two-way link ML1 is established between the first output unit 202A and the audio source S, through the two-way link ML1, the first output unit 202A can receive and play the first original audio data OA1x. A one-way link ML2 is established between the second output unit 202B and the audio source S, through the one-way link ML2, the second output unit 202B can receive and play the second original audio data OA2x. Because the link between the first output unit 202A and the audio source S is a two-way link ML1, and the link between the second output unit 202B and the audio source S is a one-way link ML2, so the first output unit 202A is set as The primary communication unit R1 and the second output unit 202B are set as the secondary communication unit R2. Between the first output unit 202A and the second output unit 202B, a wireless signal link IFL is established to extend the packet time. By this wireless signal link IFL, the first output unit 202A and the second output unit The unit 202B is capable of exchanging or detecting results of whether the first original audio data OA1x and the second original audio data OA2x are successfully received respectively. Wherein when at least one of (1) the first original audio data OA1x fails to be successfully received by the first output unit 202A, or (2) the second original audio data OA2x fails to be successfully received by the second output unit 202B occurs, then The first output unit 202A and the second output unit 202B respectively generate the first compensation audio data CA1x and the second compensation audio data CA2x according to the compensation algorithm, and the first output unit 202A and the second output unit 202B respectively play the first compensation audio data CA1x and second compensation audio data CA2x.

根據本發明之另一方面,提出一種音訊補償方法,適用於如第3圖所示的無線音訊輸出裝置20。此音訊補償方法步驟包括下列步驟。(a)當第一原始音訊資料OA1x被無線音訊輸出裝置20之第一輸出單元202A成功接收,且第二原始音訊資料OA2x被無線音訊輸出裝置20之第二輸出單元202B成功接收時,則第一輸出單元202A與第二輸出單元202B分別播放第一原始音訊資料OA1x和第二原始音訊資料OA2x,其中第一原始音訊資料OA1x與第二原始音訊資料OA2x係由音訊源S輸出,無線音訊輸出裝置20與音訊源S建立無線訊號鏈結ML。第一原始音訊資料OA1x和第二原始音訊資料OA2x係設定要同時輸出,第一輸出單元202A藉由無線訊號鏈結ML而可用以接收並播放第一原始音訊資料OA1x,第二輸出單元202B藉由無線訊號鏈結ML而可用以接收並播放第二原始音訊資料OA2x。第一輸出單元202A與第二輸出單元202B間能交換或偵測各自是否分別成功接收第一原始音訊資 料OA1x和第二原始音訊資料OA2x的結果。(b)當至少(1)第一原始音訊資料OA1x未能被第一輸出單元202A成功接收,或(2)第二原始音訊資料OA2x未能被第二輸出單元202B成功接收其中之一發生時,則第一輸出單元202A和第二輸出單元202B依據補償演算法分別產生第一補償音訊資料CA1x與第二補償音訊資料CA2x,且第一輸出單元202A與第二輸出單元202B分別播放第一補償音訊資料CA1x與第二補償音訊資料CA2x。 According to another aspect of the present invention, an audio compensation method is proposed, which is applicable to the wireless audio output device 20 shown in FIG. 3 . The steps of the audio compensation method include the following steps. (a) When the first original audio data OA1x is successfully received by the first output unit 202A of the wireless audio output device 20, and the second original audio data OA2x is successfully received by the second output unit 202B of the wireless audio output device 20, then the first An output unit 202A and a second output unit 202B respectively play the first original audio data OA1x and the second original audio data OA2x, wherein the first original audio data OA1x and the second original audio data OA2x are output by the audio source S, wireless audio output The device 20 establishes a wireless signal link ML with the audio source S. The first original audio data OA1x and the second original audio data OA2x are set to be output at the same time, the first output unit 202A can be used to receive and play the first original audio data OA1x through the wireless signal link ML, and the second output unit 202B borrows The ML is connected to the wireless signal to receive and play the second original audio data OA2x. The first output unit 202A and the second output unit 202B can exchange or detect whether they have successfully received the first original audio information respectively. The results of the raw audio data OA1x and the second raw audio data OA2x. (b) when at least one of (1) the first original audio data OA1x failed to be successfully received by the first output unit 202A, or (2) the second original audio data OA2x was not successfully received by the second output unit 202B occurred , then the first output unit 202A and the second output unit 202B respectively generate the first compensation audio data CA1x and the second compensation audio data CA2x according to the compensation algorithm, and the first output unit 202A and the second output unit 202B play the first compensation audio data respectively The audio data CA1x and the second compensation audio data CA2x.

請參照第4圖,其繪示本揭露一實施例之音訊補償方法之一例詳細流程圖。於此實施例中,無線音訊輸出裝置具有兩個輸出單元202A~202B,兩個輸出單元202A~202B中的每一個均執行第4圖所示的方法。 Please refer to FIG. 4 , which shows a detailed flowchart of an example of an audio compensation method according to an embodiment of the present disclosure. In this embodiment, the wireless audio output device has two output units 202A-202B, and each of the two output units 202A-202B executes the method shown in FIG. 4 .

以下係以第一輸出單元202A執行第4圖流程時的具體步驟為例作說明,第4圖流程包含步驟101~115。 The following is an example of specific steps when the first output unit 202A executes the process shown in FIG. 4 . The process shown in FIG. 4 includes steps 101 to 115 .

於步驟101中,第一輸出單元202A接收封包,此封包係來自音訊源S且封包內含原始音訊資料OA1x,此原始音訊資料OA1x係第一輸出單元202A預計要在Tx時間點輸出的原始音訊資料。接著進入步驟103,第一輸出單元202A判斷是否成功接收此來自音訊源S的封包,若否則執行步驟105,若是則執行步驟111。於步驟105中,第一輸出單元202A檢查此無線音訊輸出裝置20是否有其他輸出單元。例如檢查是否存在共同接收音訊源S所輸出的音訊資料封包的其他輸出單元,判斷第二輸出單元202B是否存在;若是則執行步驟107,若否則執行步驟109。於步驟107中,第一輸出單元202A通知其他輸出單元封包遺失,例如第一輸 出單元202A通知第二輸出單元202B訊息為:「第一輸出單元202A接收封包失敗而遺失內含原始音訊資料OA1x的音訊封包」。於步驟109中,第一輸出單元202A依據封包遺失補償演算法產生補償音訊資料CA1x,並依據補償音訊資料CA1x在Tx時間點輸出補償音訊波形。於步驟111中,第一輸出單元202A檢查此無線音訊輸出裝置20是否有其他輸出單元。例如檢查是否存在共同接收音訊源S輸出的音訊資料封包的其他輸出單元,判斷第二輸出單元202B是否存在,若是則執行步驟113,若否則執行步驟115。於步驟113中,第一輸出單元202A藉由與第二輸出單元202B交換訊息或偵測第二輸出單元202B狀態,來確認第二輸出單元202B是否發生音訊封包遺失狀況,若是則執行步驟109,若否則執行步驟115。於步驟115中,第一輸出單元202A依據接收到的原始音訊資料OA1x,在Tx時間點依據此原始音訊資料OA1x輸出音訊。 In step 101, the first output unit 202A receives a packet, the packet is from the audio source S and the packet contains original audio data OA1x, and the original audio data OA1x is the original audio that the first output unit 202A is expected to output at Tx time point material. Then enter step 103, the first output unit 202A judges whether the packet from the audio source S is successfully received, if not, execute step 105, and if yes, execute step 111. In step 105, the first output unit 202A checks whether the wireless audio output device 20 has other output units. For example, check whether there are other output units that jointly receive the audio data packets output by the audio source S, and determine whether the second output unit 202B exists; if yes, execute step 107; otherwise, execute step 109. In step 107, the first output unit 202A notifies other output units of packet loss, such as the first output unit The output unit 202A informs the second output unit 202B with a message: "The first output unit 202A fails to receive the packet and loses the audio packet containing the original audio data OA1x". In step 109, the first output unit 202A generates the compensation audio data CA1x according to the packet loss compensation algorithm, and outputs the compensation audio waveform at the Tx time point according to the compensation audio data CA1x. In step 111 , the first output unit 202A checks whether the wireless audio output device 20 has other output units. For example, check whether there are other output units that jointly receive the audio data packets output by the audio source S, and determine whether the second output unit 202B exists. If yes, perform step 113 , otherwise, perform step 115 . In step 113, the first output unit 202A confirms whether the audio packet loss occurs in the second output unit 202B by exchanging messages with the second output unit 202B or detecting the state of the second output unit 202B, and if so, executes step 109, If not, go to step 115 . In step 115, the first output unit 202A outputs audio according to the received original audio data OA1x at Tx time point according to the original audio data OA1x.

類似地,以下係以第二輸出單元202B執行第4圖流程時的具體步驟為例作說明。 Similarly, the specific steps when the second output unit 202B executes the process shown in FIG. 4 are taken as an example for illustration below.

於步驟101中,第二輸出單元202B接收封包,此封包係來自音訊源S且封包內含原始音訊資料OA2x,此原始音訊資料OA2x係第二輸出單元202B預計要在Tx時間點輸出的原始音訊資料。接著進入步驟103中,第二輸出單元202B判斷是否成功為接收此來自音訊源S的封包,若否則執行步驟105,若是則執行步驟111。於步驟105中,第二輸出單元202B檢查此無線音訊輸出裝置20是否有其他輸出單元。例如檢查是否存在共同接收音訊源S所輸出的音訊資料封包的其他輸出單元,判斷第一輸出單元 202A是否存在;若是則執行步驟107,若否則執行步驟109。於步驟107中,第二輸出單元202B通知其他輸出單元封包遺失,例如第二輸出單元202B通知第一輸出單元202A訊息為:「第二輸出單元202B接收封包失敗而遺失內含原始音訊資料OA2x的音訊封包」。於步驟109中,第二輸出單元202B依據封包遺失補償演算法產生補償音訊資料CA2x,並依據補償音訊資料CA2x在Tx時間點解碼輸出補償音訊波形。於步驟111中,第二輸出單元202B檢查此無線音訊輸出裝置20是否有其他輸出單元。例如檢查是否存在共同接收音訊源S所輸出的音訊資料封包的其他輸出單元,判斷第一輸出單元202A是否存在,若是則執行步驟113,若否則執行步驟115。於步驟113中,第二輸出單元202B藉由與第一輸出單元202A交換訊息,或偵測第一輸出單元202A狀態,來確認第一輸出單元202A是否發生音訊封包遺失狀況,若是則執行步驟109,若否則執行步驟115。於步驟115中,第二輸出單元202B依據接收到的原始音訊資料OA2x,在Tx時間點依據此原始音訊資料OA2x輸出音訊。 In step 101, the second output unit 202B receives a packet, the packet is from the audio source S and the packet contains original audio data OA2x, the original audio data OA2x is the original audio that the second output unit 202B is expected to output at Tx time point material. Then enter step 103, the second output unit 202B judges whether the packet from the audio source S is successfully received, if not, execute step 105, and if yes, execute step 111. In step 105, the second output unit 202B checks whether the wireless audio output device 20 has other output units. For example, check whether there are other output units that jointly receive the audio data packets output by the audio source S, and determine the first output unit Whether 202A exists; if yes, execute step 107; otherwise, execute step 109. In step 107, the second output unit 202B notifies other output units of the packet loss. For example, the second output unit 202B notifies the first output unit 202A of the message: "The second output unit 202B failed to receive the packet and lost the original audio data OA2x. Audio Packet". In step 109, the second output unit 202B generates the compensation audio data CA2x according to the packet loss compensation algorithm, and decodes and outputs the compensation audio waveform according to the compensation audio data CA2x at Tx time point. In step 111 , the second output unit 202B checks whether the wireless audio output device 20 has other output units. For example, check whether there are other output units that jointly receive the audio data packets output by the audio source S, and determine whether the first output unit 202A exists. If yes, perform step 113 , otherwise, perform step 115 . In step 113, the second output unit 202B exchanges messages with the first output unit 202A or detects the state of the first output unit 202A to confirm whether the audio packet loss occurs in the first output unit 202A, and if so, execute step 109 , otherwise go to step 115. In step 115 , the second output unit 202B outputs audio according to the received original audio data OA2x at Tx time point according to the original audio data OA2x.

經由上述流程,當第一輸出單元202A接收封包失敗,因而缺少預計要在Tx時間點輸出的原始音訊資料OA1x時。則縱使第二輸出單元能成功接收封包,第二輸出單元202B已經得到預計要在Tx時間點輸出的原始音訊資料OA2x時,則第二輸出單元202B仍會捨棄已經成功接收到的原始音訊資料OA2x。兩個輸出單元202A~202B均依據相同封包遺失補償演算法,計算得到兩輸出單元202A~202B預計要在Tx時間點輸出的補償音訊資料CA1x與CA2x。 Through the above process, when the first output unit 202A fails to receive the packet, and thus lacks the original audio data OA1x expected to be output at the Tx time point. Even if the second output unit can successfully receive the packet, when the second output unit 202B has obtained the original audio data OA2x expected to be output at the Tx time point, the second output unit 202B will still discard the successfully received original audio data OA2x . The two output units 202A-202B are calculated according to the same packet loss compensation algorithm to obtain the compensated audio data CA1x and CA2x expected to be output by the two output units 202A-202B at the Tx time point.

如此當第一原始音訊資料OA1x和第二原始音訊資料OA2x均被成功接收時,則於預定時間點Tx,第一輸出單元202A與第二輸出單元202B分別播放輸出第一原始音訊資料OA1x和第二原始音訊資料OA2x。但相對地,當至少(1)第一原始音訊資料OA1x未能被第一輸出單元202A成功接收,或(2)第二原始音訊資料OA2x未能被第二輸出單元202B成功接收其中之一發生時,則第一輸出單元202A和第二輸出單元202B依據封包遺失補償演算法分別產生第一補償音訊資料CA1x與第二補償音訊資料CA2x。於預定時間點Tx,第一輸出單元202A與第二輸出單元202B分別播放輸出第一補償音訊資料CA1x與第二補償音訊資料CA2x。 In this way, when both the first original audio data OA1x and the second original audio data OA2x are successfully received, at the predetermined time point Tx, the first output unit 202A and the second output unit 202B play and output the first original audio data OA1x and the second original audio data OA1x respectively. 2. Original audio data OA2x. But relatively, when at least (1) the first original audio data OA1x is not successfully received by the first output unit 202A, or (2) the second original audio data OA2x is not successfully received by the second output unit 202B one of them occurs , the first output unit 202A and the second output unit 202B respectively generate the first compensated audio data CA1x and the second compensated audio data CA2x according to the packet loss compensation algorithm. At a predetermined time point Tx, the first output unit 202A and the second output unit 202B respectively play and output the first compensation audio data CA1x and the second compensation audio data CA2x.

另外當無線音訊輸出裝置20預設具有至少兩個輸出單元時,則上述流程步驟105和111可被省略,令步驟103「是」和「否」兩個分支分別直接連接到步驟113和107。 In addition, when the wireless audio output device 20 has at least two output units by default, the steps 105 and 111 of the above process can be omitted, so that the two branches of step 103 "yes" and "no" are directly connected to steps 113 and 107 respectively.

請參照第5圖,其繪示兩個輸出單元執行同步捨棄機制後輸出波形示意圖。第5圖說明依據本揭露一實施例,當各個輸出單元均具有同步捨棄機制,且發生如第2圖所示,單支耳機成功接收封包,但另一支耳機接收封包失敗時,本揭露左右兩耳耳機輸出波形會較第2圖所示目前市面產品波形改善的示意圖。 Please refer to FIG. 5 , which shows a schematic diagram of output waveforms after two output units implement the synchronous discarding mechanism. Figure 5 illustrates that according to an embodiment of the present disclosure, when each output unit has a synchronous discarding mechanism, and as shown in Figure 2, when a single earphone successfully receives a packet, but the other earphone fails to receive a packet, this disclosure is about The output waveform of the earphones will be improved compared with the waveform of the current market products shown in Figure 2.

針對預計要在T1~T4時間點輸出的原始音訊資料,其中(1)如第5圖左上部所示,第一列描述第一輸出單元202A成功接收到內含第一原始音訊資料OA11~OA14的四個封包。(2)如第5圖右上部所示,第一列描述第二輸出單元202B成功接收到 包含部分第二原始音訊資料OA21、OA22與OA24的三個封包。但第二輸出單元202B接收第三個封包失敗時,因此第二輸出單元202B欠缺預計要在T3時間點輸出的部分第二原始音訊資料OA23。依據本揭露,第一輸出單元202A將會主動捨棄已經成功接收的第一原始音訊資料OA13,第一輸出單元202A和第二輸出單元202B會依據相同封包遺失補償演算法各別產生第一補償音訊資料CA13與第二補償音訊資料CA23。於第一原始音訊資料OA11、OA12與OA14分別與第二原始音訊資料OA21、OA22與OA24相同的情況下,所產生之第一補償音訊資料CA13與第二補償音訊資料CA23例如為相同的補償音訊資料。 For the original audio data expected to be output at time points T1~T4, wherein (1) as shown in the upper left part of FIG. 5, the first column describes that the first output unit 202A has successfully received the first original audio data OA11~OA14 of four packets. (2) As shown in the upper right part of Figure 5, the first column describes the second output unit 202B successfully received Three packets including part of the second original audio data OA21, OA22 and OA24. However, when the second output unit 202B fails to receive the third packet, the second output unit 202B lacks part of the second original audio data OA23 expected to be output at the time point T3. According to this disclosure, the first output unit 202A will actively discard the successfully received first original audio data OA13, and the first output unit 202A and the second output unit 202B will respectively generate the first compensation audio according to the same packet loss compensation algorithm The data CA13 and the second compensation audio data CA23. When the first original audio data OA11, OA12, and OA14 are the same as the second original audio data OA21, OA22, and OA24 respectively, the generated first compensation audio data CA13 and second compensation audio data CA23 are, for example, the same compensation audio material.

如第5圖左上部第二列描述,在T1~T4時段中,第一輸出單元202A依序輸出「第一原始音訊資料OA11~OA12、第一補償音訊資料CA13和第一原始音訊資料OA14音訊資料」,而得到如第5圖左下部所示第一波形W1。如第5圖右上部第二列描述,第二輸出單元202B依序輸出「第二原始音訊資料OA21~OA22、第二補償音訊資料CA23與第二原始音訊資料OA24音訊資料」,而得到如第5圖右下部所示第二波形W2。如此第一波形W1和第二波形W2接近,讓使用者左右耳聽不出差異,進而提升使用者的主觀聽感。 As described in the second column in the upper left part of Fig. 5, during the time period T1~T4, the first output unit 202A sequentially outputs "the first original audio data OA11~OA12, the first compensation audio data CA13 and the first original audio data OA14 audio Data", and obtain the first waveform W1 as shown in the lower left part of Fig. 5. As described in the second row of the upper right part of Fig. 5, the second output unit 202B sequentially outputs "the second original audio data OA21~OA22, the second compensation audio data CA23 and the second original audio data OA24 audio data", and obtains the following 5 shows the second waveform W2 in the lower right part. In this way, the first waveform W1 and the second waveform W2 are close to each other, so that the left and right ears of the user cannot hear the difference, thereby improving the user's subjective sense of hearing.

請參照第6圖,其繪示當第3圖實施例係依據藍牙標準通訊協定來設計時,第6圖繪示一實施例的封包傳送及接收時序示意圖。在本實施例中,音訊源S是一個標準藍牙裝置,亦即音訊 源S的時段設計是根據標準藍牙規範。第一輸出單元202A被設定為主通信單元R1,第二輸出單元202B被設定為次通信單元R2,兩者的時段設計則是基於標準藍牙規範並進行擴展。假設無線音訊輸出裝置20與音訊源S已完成配對,並已建立多播鏈結的無線訊號鏈結ML(Multicast Link)。亦即,無線音訊輸出裝置20與音訊源S可被視為一個封包傳輸系統。其中主通信單元R1係設定來與音訊源S建立多播鏈結ML,並通過多播鏈結ML而與音訊源S進行雙向通信。而次通信單元R2,係用以加入多播鏈結ML,並通過多播鏈結ML而與音訊源S進行單向通信,且與主通信單元R1進行雙向通信。 Please refer to FIG. 6, which shows when the embodiment in FIG. 3 is designed according to the Bluetooth standard communication protocol, FIG. 6 shows a schematic diagram of packet transmission and reception timing of an embodiment. In this embodiment, the audio source S is a standard bluetooth device, that is, the audio The time slot design of the source S is according to the standard Bluetooth specification. The first output unit 202A is set as the main communication unit R1 , and the second output unit 202B is set as the secondary communication unit R2 , and the time period design of the two is based on the standard Bluetooth specification and extended. Assume that the wireless audio output device 20 has been paired with the audio source S, and a wireless signal link ML (Multicast Link) of a multicast link has been established. That is, the wireless audio output device 20 and the audio source S can be regarded as a packet transmission system. The main communication unit R1 is configured to establish a multicast link ML with the audio source S, and perform two-way communication with the audio source S through the multicast link ML. The secondary communication unit R2 is used to join the multicast link ML, and perform one-way communication with the audio source S through the multicast link ML, and two-way communication with the main communication unit R1.

從時域上來說,此封包傳輸系統的時軸可分為兩種類型的封包傳輸時間,包括標準封包時間GE以及延展封包時間IF。在標準封包時間GE內,音訊源S可發送控制訊號及音訊封包至主通信單元R1及次通信單元R2。主通信單元R1可接收音訊源S的控制訊號、音訊封包,以及回應於接收到的控制訊號、音訊封包發送回覆給音訊源S。以及次通信單元R2可接收音訊源S的控制訊號、音訊封包。在延展封包時間IF內,主通信單元R1與次通信單元R2可進行一或多個延展封包的交換,延展封包的細節將於下文進一步說明。 From the perspective of the time domain, the time axis of the packet transmission system can be divided into two types of packet transmission times, including the standard packet time GE and the extended packet time IF. During the standard packet time GE, the audio source S can send control signals and audio packets to the primary communication unit R1 and the secondary communication unit R2. The main communication unit R1 can receive control signals and audio packets from the audio source S, and send a reply to the audio source S in response to the received control signals and audio packets. And the secondary communication unit R2 can receive the control signal and the audio packet of the audio source S. During the extended packet time IF, the primary communication unit R1 and the secondary communication unit R2 can exchange one or more extended packets. The details of the extended packets will be further described below.

舉例來說,時間T1、T3期間係音訊源S傳送時段(TX slot),且是主通信單元R1與次通信單元R2的接收時段(RX slot)。而時間T2、T4期間係音訊源S的接收時段(RX slot),且是 主通信單元R1的傳送時段(TX slot)。於時間T1期間,音訊源S傳送控制訊號給主通信單元R1與次通信單元R2。於時間T2期間,主通信單元R1基於控制訊號發送回應給音訊源S。於時間T3期間,音訊源S發送音訊封包給主通信單元R1及次通信單元R2。時間T4期間,主通信單元R1基於音訊封包發送回應給音訊源S。 For example, the period T1 and T3 is the transmission period (TX slot) of the audio source S, and is the reception period (RX slot) of the primary communication unit R1 and the secondary communication unit R2. The period T2 and T4 is the receiving period (RX slot) of the audio source S, and is The transmission slot (TX slot) of the master communication unit R1. During the time T1, the audio source S transmits a control signal to the primary communication unit R1 and the secondary communication unit R2. During the time T2, the main communication unit R1 sends a response to the audio source S based on the control signal. During time T3, the audio source S sends audio packets to the primary communication unit R1 and the secondary communication unit R2. During the time T4, the main communication unit R1 sends a response to the audio source S based on the audio packet.

時間T5期間係主通信單元R1的傳送時段(TX slot),且是次通信單元R2的接收時段(RX slot),時間T6期間係主通信單元R1的接收時段(RX slot),且是次通信單元R2的傳送時段(TX slot)。因此於T5期間,主通信單元R1發送延展封包給次通信單元R2。而在時間T6期間,次通信單元R2發送延展封包給主通信單元R1。 The period of time T5 is the transmission period (TX slot) of the main communication unit R1, and it is the reception period (RX slot) of the secondary communication unit R2, and the period of time T6 is the reception period (RX slot) of the main communication unit R1, and it is the secondary communication The transmit slot (TX slot) of unit R2. Therefore, during T5, the primary communication unit R1 sends the extended packet to the secondary communication unit R2. During the time T6, the secondary communication unit R2 sends the extended packet to the primary communication unit R1.

需注意的是,主通信單元R1與次通信單元R2進行延展封包的交換時,發送延展封包的起始時間可不對齊於音訊源S所用的接收時段的起始時間。因此,音訊源S不會接收到主通信單元R1及次通信單元R2所發送的延展封包,而能夠維持標準藍牙規範的操作。換言之,無線音訊輸出裝置20能夠支援符合藍牙標準的音訊源S裝置。 It should be noted that when the primary communication unit R1 and the secondary communication unit R2 exchange extended packets, the start time of sending the extended packets may not be aligned with the start time of the receiving period used by the audio source S. Therefore, the audio source S will not receive the extended packets sent by the primary communication unit R1 and the secondary communication unit R2, and can maintain the operation of the standard Bluetooth specification. In other words, the wireless audio output device 20 can support the audio source S device conforming to the Bluetooth standard.

請參照第7A~7B圖,依據本揭露第6圖實施例於第一狀況下,兩個輸出單元執行同步捨棄機制的示意圖。如第7A圖所示,當(1)音訊源S無法透過多播鏈結ML傳遞第一原始音訊資料OA1x給主通信單元R1,亦即主通信單元R1接收內含第一原始音訊資料OA1x的封包失敗,且(2)音訊源S透過多播鏈結ML成功傳 遞第二原始音訊資料OA2x給次通信單元R2,亦即次通信單元R2成功接收內含第二原始音訊資料OA2x封包的狀況。第7B圖繪示主通信單元R1與次通信單元R2(第一輸出單元和第二輸出單元)間執行同步捨棄機制示意圖。 Please refer to FIGS. 7A-7B , which are schematic diagrams of two output units implementing a synchronous discarding mechanism in the first situation according to the embodiment in FIG. 6 of the present disclosure. As shown in Figure 7A, when (1) the audio source S cannot transmit the first original audio data OA1x to the main communication unit R1 through the multicast link ML, that is, the main communication unit R1 receives the first original audio data OA1x The packet fails, and (2) the audio source S is successfully transmitted through the multicast link ML The second original audio data OA2x is delivered to the secondary communication unit R2, that is, the secondary communication unit R2 successfully receives the packet containing the second original audio data OA2x. FIG. 7B is a schematic diagram of a synchronous abandonment mechanism executed between the primary communication unit R1 and the secondary communication unit R2 (the first output unit and the second output unit).

如第7A圖所示,於步驟(a)中,主通信單元R1回覆一個未確認訊息(NAK)給音訊源S,且次通信單元R2監聽到此未確認訊息(NAK),此時主通信單元R1預計要在時間點Tx輸出並播放第一補償音訊資料CA1x。如第7B圖所示,於步驟(b)中,此未確認訊息(NAK)觸發次通信單元R2捨棄已經收到的第二原始音訊資料OA2x,次通信單元R2在時間點Tx輸出並播放第二補償音訊資料CA2x。 As shown in Figure 7A, in step (a), the main communication unit R1 replies a non-acknowledgement message (NAK) to the audio source S, and the secondary communication unit R2 monitors the non-acknowledgement message (NAK), at this time the main communication unit R1 It is expected to output and play the first compensation audio data CA1x at the time point Tx. As shown in Figure 7B, in step (b), the unacknowledged message (NAK) triggers the secondary communication unit R2 to discard the received second original audio data OA2x, and the secondary communication unit R2 outputs and plays the second original audio data at time Tx Compensation audio data CA2x.

請參照第8圖,其繪示如第7A~7B圖所示情境,主通信單元R1與次通信單元R2間進行封包交換的傳送及接收的時序示意圖。如第7A圖繪示狀態,當主通信單元R1(第一輸出單元)無法透過多播鏈結ML自音訊源S成功接收到第一原始音訊資料OA1x時,則主通信單元R1會以第6圖T4時段中的旗標訊息作為回覆給音訊源S的未確認訊息(NAK),此處旗標訊息係以要求對方重新傳送的旗標訊息(Automatic Request Not,ARQN)為例來作說明,但不限於此。另一方面,當次通信單元R2監聽偵測到旗標訊息內包含未確認訊息(NAK)時,便了解到主通信單元R1未成功接收第一原始音訊資料OA1x。進而觸發次通信單元R2進行第7B圖所繪示捨棄第二原始音訊資料OA2x步驟。 Please refer to FIG. 8 , which shows a schematic diagram of the timing sequence of packet exchange transmission and reception between the primary communication unit R1 and the secondary communication unit R2 as shown in FIGS. 7A-7B . As shown in Figure 7A, when the main communication unit R1 (the first output unit) cannot successfully receive the first original audio data OA1x from the audio source S through the multicast link ML, the main communication unit R1 will use the sixth The flag message in the time period of Figure T4 is used as an unacknowledged message (NAK) in reply to the audio source S. Here, the flag message is an example of a flag message (Automatic Request Not, ARQN) that requires the other party to resend, but Not limited to this. On the other hand, when the secondary communication unit R2 monitors and detects that the flag message contains a non-acknowledgement message (NAK), it knows that the primary communication unit R1 has failed to receive the first original audio data OA1x. Then trigger the secondary communication unit R2 to perform the step of discarding the second original audio data OA2x shown in FIG. 7B.

請參照第9A~9C圖,其繪示第6圖實施例於第二狀況下,兩個輸出單元執行同步捨棄機制的示意圖。依據本揭露第6圖實施例,當多播鏈結ML(1)成功傳遞第一原始音訊資料OA1x給主通信單元R1接收,亦即主通信單元R1成功接收內含第一原始音訊資料OA1x的封包,且(2)無法自音訊源S傳遞第二原始音訊資料OA2x給次通信單元R2,亦即次通信單元R2接收內含第二原始音訊資料OA2x的封包失敗的狀況下,第9A~9C圖繪示主通信單元R1與次通信單元R2(第一輸出單元和第二輸出單元)間執行同步捨棄機制的三階段步驟示意圖。 Please refer to FIGS. 9A-9C , which illustrate a schematic diagram of two output units implementing a synchronous discarding mechanism in the embodiment of FIG. 6 under the second condition. According to the embodiment in FIG. 6 of this disclosure, when the multicast link ML(1) successfully transmits the first original audio data OA1x to the main communication unit R1 for reception, that is, the main communication unit R1 successfully receives the first original audio data OA1x packet, and (2) the second original audio data OA2x cannot be delivered from the audio source S to the secondary communication unit R2, that is, when the secondary communication unit R2 fails to receive the packet containing the second original audio data OA2x, the 9A~9C The figure shows a schematic diagram of the three-stage steps for implementing the synchronization rejection mechanism between the primary communication unit R1 and the secondary communication unit R2 (the first output unit and the second output unit).

如第9A圖所示,於步驟(a)中,主通信單元R1先回覆一個確認訊息(ACK)給音訊源S,且次通信單元R2監聽到確認訊息(ACK)。但此時次通信單元R2並未成功接收到第二原始音訊資料OA2x,故次通信單元R2在時間點Tx預計要輸出第二補償音訊資料CA2x。如第9B圖所示,於步驟(b)中,主通信單元R1所發出的確認訊息(ACK)觸發次通信單元R2發出一個未確認訊息(NAK)給主通信單元R1。如第9C圖所示,於步驟(c)中,未確認訊息(NAK)使得主通信單元R1捨棄已經收到的第一原始音訊資料OA1x,在時間點Tx輸出並播放第一補償音訊資料CA1x。 As shown in FIG. 9A, in step (a), the primary communication unit R1 first replies an acknowledgment message (ACK) to the audio source S, and the secondary communication unit R2 monitors the acknowledgment message (ACK). But at this time, the secondary communication unit R2 has not successfully received the second original audio data OA2x, so the secondary communication unit R2 is expected to output the second compensated audio data CA2x at the time point Tx. As shown in FIG. 9B, in step (b), the acknowledgment message (ACK) sent by the primary communication unit R1 triggers the secondary communication unit R2 to send a non-acknowledgement message (NAK) to the primary communication unit R1. As shown in FIG. 9C, in step (c), the non-acknowledgment message (NAK) makes the main communication unit R1 discard the received first original audio data OA1x, and output and play the first compensation audio data CA1x at the time point Tx.

第10A~10B圖繪示依據本揭露第9A~9C圖實施例,主通信單元R1與次通信單元R2(第一輸出單元和第二輸出單元)間,交換封包的傳送及接收的時序示意圖。 10A-10B are schematic diagrams illustrating the timing diagrams of sending and receiving packets exchanged between the primary communication unit R1 and the secondary communication unit R2 (the first output unit and the second output unit) according to the embodiment of FIGS. 9A-9C of the present disclosure.

當多播鏈結無法自音訊源S傳遞第二原始音訊資料OA2x給次通信單元R2(第二輸出單元)時,則對應第9A圖所示步驟,第10A圖繪示相關封包傳送接收時序圖:主通信單元R1會於第6圖T4時段中的ARQN訊息回覆確認訊息(ACK)給音訊源S,且次通信單元R2會監聽到ARQN訊息為確認訊息(ACK)。 When the multicast link cannot transmit the second original audio data OA2x from the audio source S to the secondary communication unit R2 (the second output unit), it corresponds to the steps shown in Fig. 9A, and Fig. 10A shows the sequence diagram of sending and receiving related packets : The primary communication unit R1 will reply an acknowledgment message (ACK) to the audio source S at the ARQN message in the time period T4 in FIG. 6, and the secondary communication unit R2 will monitor the ARQN message as an acknowledgment message (ACK).

對應第9B圖所示步驟,第10B圖繪示相關封包傳送接收時序圖:當次通信單元R2監聽到ARQN訊息為確認訊息(ACK)時,觸發次通信單元R2利用ARQN訊息時段的後半段發出未確認訊息(NAK)給主通信單元R1。 Corresponding to the steps shown in Figure 9B, Figure 10B shows the timing diagram for the transmission and reception of related packets: when the secondary communication unit R2 detects that the ARQN message is an acknowledgment message (ACK), it triggers the secondary communication unit R2 to use the second half of the ARQN message period to send out A non-acknowledgement message (NAK) is sent to the master communication unit R1.

如上述第10B圖相關敘述,其中次通信單元R2利用ARQN訊息時段的後半段發出未確認訊息(NAK)給主通信單元R1。多播鏈結定義一個音訊源S接收時段(Source Receive Timeslot),在音訊源S接收時段中,音訊源可設置接收來自主通信單元R1的旗標訊息作為回覆給音訊源S的確認訊息(ACK)或未確認訊息(NAK)。但次通信單元R2係利用旗標訊息時段中點之後的後半段時間來發送未確認訊息(NAK),因此未確認訊息(NAK)的發送起始時間係不對齊於音訊源S接收時段的起始時間,如此避免音訊源S錯誤地接收到次通信單元R2的未確認訊息。如第10B圖所示,次通信單元R2可選擇在時段T4發送未確認訊息(NAK),其中未確認訊息(NAK)於時段T4中發送的起點,例如可對齊於主通信單元R1傳送時段的中點,且位於音訊源S接收時段的後半段。如此未確認訊息(NAK)於時段T4中不對齊於音訊源S接收時 段的起始時間,因此音訊源S不會錯誤地接收到次通信單元R2的未確認訊息(NAK)。 As described above in FIG. 10B , the secondary communication unit R2 sends a non-acknowledgement message (NAK) to the primary communication unit R1 in the second half of the ARQN message period. The multicast link defines an audio source S receiving time slot (Source Receive Timeslot). In the audio source S receiving time slot, the audio source can be set to receive a flag message from the main communication unit R1 as an acknowledgment message (ACK) to the audio source S. ) or unacknowledged message (NAK). However, the secondary communication unit R2 uses the second half of the period after the midpoint of the flag message period to send the unacknowledged message (NAK), so the sending start time of the unacknowledged message (NAK) is not aligned with the start time of the receiving period of the audio source S , so as to prevent the audio source S from mistakenly receiving the unacknowledged message from the secondary communication unit R2. As shown in Figure 10B, the secondary communication unit R2 can choose to send a non-acknowledgement message (NAK) in the period T4, wherein the starting point of the transmission of the non-acknowledgement message (NAK) in the period T4, for example, can be aligned with the midpoint of the transmission period of the primary communication unit R1 , and is located in the second half of the receiving period of the audio source S. Thus the unacknowledged message (NAK) is not aligned with the audio source S when it is received in the time period T4 The start time of the segment, so the audio source S will not receive the non-acknowledgment message (NAK) from the secondary communication unit R2 by mistake.

請參照第11圖,第11圖繪示依據本揭露一實施例,無線音訊輸出裝置40可與音訊源S建立一個中繼無線訊號鏈結(Relay,RL)。音訊源S輸出第一原始音訊資料OA1x與第二原始音訊資料OA2x,第一原始音訊資料OA1x和第二原始音訊資料OA1x係設定要在時間點Tx同時輸出並播放給使用者聆聽。無線音訊輸出裝置40包括第一輸出單元402A與第二輸出單元402B。第一輸出單元402A係被設定為主通信單元R1,第二輸出單元402B係被設定為次通信單元R2,主通信單元R1係設定來與音訊源S建立中繼鏈結RL,主通信單元R1通過中繼鏈結RL而與音訊源進行雙向通信,而次通信單元R2係透過中繼鏈結RL而間接接收到第二原始音訊資料OA1x。第二原始音訊資料OA2x係先自音訊源S傳遞至主通信單元R1,然後再自主通信單元R1傳遞至次通信單元R2。藉由中繼訊號鏈結RL,(1)主通信單元R1可自音訊源S接收第一原始音訊資料OA1x和第二原始音訊資料OA2x,(2)主通信單元R1可再將第二原始音訊資料OA2x傳遞給次通信單元R2,且(3)次通信單元R2能通知主通信單元R1是否成功接收第二原始音訊資料OA2x。 Please refer to FIG. 11 . FIG. 11 shows that according to an embodiment of the present disclosure, the wireless audio output device 40 can establish a relay wireless signal link (Relay, RL) with the audio source S. Referring to FIG. The audio source S outputs the first original audio data OA1x and the second original audio data OA2x. The first original audio data OA1x and the second original audio data OA1x are set to be simultaneously output and played to the user at the time point Tx. The wireless audio output device 40 includes a first output unit 402A and a second output unit 402B. The first output unit 402A is set as the main communication unit R1, the second output unit 402B is set as the secondary communication unit R2, the main communication unit R1 is set to establish a relay link RL with the audio source S, and the main communication unit R1 Two-way communication is performed with the audio source through the relay link RL, and the secondary communication unit R2 indirectly receives the second original audio data OA1x through the relay link RL. The second original audio data OA2x is first transmitted from the audio source S to the primary communication unit R1, and then transmitted from the primary communication unit R1 to the secondary communication unit R2. Link RL through the relay signal, (1) the main communication unit R1 can receive the first original audio data OA1x and the second original audio data OA2x from the audio source S, (2) the main communication unit R1 can then send the second original audio data The data OA2x is delivered to the secondary communication unit R2, and (3) the secondary communication unit R2 can notify the primary communication unit R1 whether the second original audio data OA2x is successfully received.

請參照第12A~12C圖,其繪示依據本揭露第11圖實施例於第三狀況下,兩個輸出單元執行同步捨棄機制的示意圖。如第11圖所示實施例,當(1)中繼鏈結RL成功自音訊源S傳遞第一原始音訊資料OA1x給主通信單元R1,但(2)中繼鏈結RL未能 成功傳遞第二原始音訊資料OA2x給次通信單元R2(第二輸出單元)時,第12A~12C圖繪示主通信單元R1與次通信單元R2(第一輸出單元和第二輸出單元)間執行同步捨棄機制的三階段步驟示意圖。 Please refer to FIGS. 12A-12C , which illustrate a schematic diagram of two output units implementing a synchronous discarding mechanism in the third situation according to the embodiment in FIG. 11 of the present disclosure. As in the embodiment shown in Figure 11, when (1) the relay link RL successfully transmits the first original audio data OA1x from the audio source S to the main communication unit R1, but (2) the relay link RL fails When the second original audio data OA2x is successfully delivered to the secondary communication unit R2 (the second output unit), Figures 12A-12C illustrate the execution between the primary communication unit R1 and the secondary communication unit R2 (the first output unit and the second output unit). Schematic diagram of the three-stage steps of the synchronous discard mechanism.

如第12A圖所示,於步驟(a)中,主通信單元R1先回覆確認訊息(ACK)給音訊源S,且次通信單元R2監聽到此確認訊息(ACK),此時主通信單元R1目前預計在時間點Tx要輸出並播放第一原始音訊資料OA1x。如第12B圖所示,於步驟(b)中,此確認訊息(ACK)觸發次通信單元R2發出未確認訊息(NAK)給主通信單元R1。因為次通信單元R2未成功接收到第二原始音訊資料OA2x,故於時間點Tx預計要輸出並播放第二補償音訊資料CA2x。如第12C圖所示,於步驟(c)中,此未確認訊息(NAK)觸發主通信單元R1捨棄已經收到的第一原始音訊資料OA1x,在時間點Tx輸出並播放第一補償音訊資料CA1x。 As shown in Figure 12A, in step (a), the main communication unit R1 first replies an acknowledgment message (ACK) to the audio source S, and the secondary communication unit R2 listens to the acknowledgment message (ACK), at this time the main communication unit R1 It is currently estimated that the first original audio data OA1x will be output and played at the time point Tx. As shown in FIG. 12B, in step (b), the acknowledgment message (ACK) triggers the secondary communication unit R2 to send a non-acknowledgement message (NAK) to the primary communication unit R1. Because the secondary communication unit R2 fails to receive the second original audio data OA2x, it is expected to output and play the second compensated audio data CA2x at the time point Tx. As shown in Figure 12C, in step (c), the unacknowledged message (NAK) triggers the main communication unit R1 to discard the received first original audio data OA1x, and output and play the first compensation audio data CA1x at the time point Tx .

本揭露上述實施例所描述的無線音訊輸出裝置可支援音訊源S為提供多播訊號鏈結的藍牙裝置,在音訊源S只和第一輸出單元R1建立雙向鏈結,且音訊源S和第二輸出單元R2間只建立單向鏈結狀況下實施本揭露。亦即適用於目前市場上運用3.0版藍牙標準架構,只有左耳機或右耳機其中之一和音訊源建立雙向藍牙連線的無線耳機。換言之,在不改變音訊源原始操作模式的情況下,本揭露提供的無線音訊輸出裝置也能夠相容使用。此外,由於本揭露提供無線音訊輸出裝置的多個輸出單元間,共同 遵循一個同步捨棄機制,可同步地用補償音訊資料取代原始音訊資料,讓聆聽者自左右耳機聆聽到的是接近的語音,如此聆聽者有較佳的主觀聽感。 The wireless audio output device described in the above embodiments of this disclosure can support the audio source S as a Bluetooth device that provides multicast signal links. The audio source S only establishes a two-way link with the first output unit R1, and the audio source S and the second output unit. The present disclosure is implemented under the condition that only a one-way link is established between the two output units R2. That is to say, it is suitable for wireless earphones that use the Bluetooth standard framework of version 3.0 in the market, and only one of the left earphone or the right earphone establishes a two-way Bluetooth connection with the audio source. In other words, without changing the original operation mode of the audio source, the wireless audio output device provided by the present disclosure can also be used compatible. In addition, since the present disclosure provides a plurality of output units of the wireless audio output device, common Following a synchronous discarding mechanism, the original audio data can be replaced by the compensation audio data synchronously, so that the listener can hear close voices from the left and right earphones, so that the listener has a better subjective sense of hearing.

另一方面,本揭露也適用於音訊源S同時和第一輸出單元R1與第二輸出單元R2各別建立獨立無線訊號鏈結狀況下實施。例如:本揭露也適用於運用低功耗藍牙(Bluetooth Low Energy,BLE)標準所建構的無線耳機,於低功耗藍牙BLE無線耳機中,左耳機和右耳機兩者各別均和音訊源S建立雙向無線訊號鏈結,亦即第一BLE無線鏈結與第二BLE無線鏈結(BLE link 1,BLE link 2),第一BLE無線鏈結與第二BLE無線鏈結彼此獨立,且第一輸出單元R1與第二輸出單元R2間具有無線訊號鏈結IFL。第一輸出單元R1藉由第一BLE無線鏈結BLE link 1而可接收第一原始音訊資料OA1x。第二輸出單元R2藉由第二BLE無線鏈結BLE link 2而可接收第二原始音訊資料OA2x。第一輸出單元R1與第二輸出單元R2間藉由無線訊號鏈結IFL能交換或偵測各自是否分別成功接收第一原始音訊資料OA1x和第二原始音訊資料OA2x料的結果。 On the other hand, the present disclosure is also applicable to implementation under the condition that the audio source S establishes independent wireless signal links with the first output unit R1 and the second output unit R2 respectively. For example: this disclosure is also applicable to wireless earphones constructed using the Bluetooth Low Energy (BLE) standard. Establish a two-way wireless signal link, that is, the first BLE wireless link and the second BLE wireless link (BLE link 1, BLE link 2), the first BLE wireless link and the second BLE wireless link are independent of each other, and the second BLE wireless link There is a wireless signal link IFL between the first output unit R1 and the second output unit R2. The first output unit R1 can receive the first original audio data OA1x through the first BLE wireless link BLE link 1 . The second output unit R2 can receive the second original audio data OA2x through the second BLE wireless link BLE link 2 . The first output unit R1 and the second output unit R2 can exchange or detect whether they have successfully received the first original audio data OA1x and the second original audio data OA2x through the wireless signal link IFL.

如此當至少(1)第一BLE無線鏈結BLE link 1無法成功傳遞第一原始音訊資料OA1x給第一輸出單元R1,和(2)第二BLE無線鏈結BLE link 2無法成功傳遞第二原始音訊資料OA2x給第二輸出單元R2,兩者其中之一發生時,則:(b1)第一輸出單元R1和第二輸出單元R2依據封包遺失補償演算法分別產生第一 補償音訊資料CA1x與第二補償音訊資料CA2x,且(b2)第一輸出單元R1與第二輸出單元R2分別播放第一補償音訊資料CA1x與第二補償音訊資料CA2x。 So when at least (1) the first BLE wireless link BLE link 1 cannot successfully transmit the first original audio data OA1x to the first output unit R1, and (2) the second BLE wireless link BLE link 2 cannot successfully transmit the second original audio data The audio data OA2x is sent to the second output unit R2. When one of the two occurs, then: (b1) the first output unit R1 and the second output unit R2 respectively generate the first output unit according to the packet loss compensation algorithm. The compensation audio data CA1x and the second compensation audio data CA2x, and (b2) the first output unit R1 and the second output unit R2 respectively play the first compensation audio data CA1x and the second compensation audio data CA2x.

當傳統的無線音訊輸出裝置(例如一對無線藍牙耳機)應用於人聲基頻變化較大的語音通話情境時,當其中第一輸出單元(例如左耳耳機)接收原始音訊資料失敗,而第二輸出單元(例如右耳耳機)成功接收原始音訊資料時,如此會導致(1)第一輸出單元音所輸出的補償音訊資料與(2)第二輸出單元所輸出的原始音訊資料之間會存在明顯差異,此時使用者會聆聽到不平衡的左右耳音訊,甚至會聽到雜訊聲音,進而大幅降低使用者的主觀聽感。本揭露之實施例之無線音訊輸出裝置與音訊補償方法方法,藉由判斷當多個輸出單元其中之一接收原始音訊資料失敗時,則第一輸出單元和第二輸出單元均依據補償演算法分別產生第一補償音訊資料與第二補償音訊資料,且第一輸出單元與第二輸出單元分別播放第一補償音訊資料與第二補償音訊資料。藉由相對接近的第一補償音訊資料與第二補償音訊資料,讓使用者左右耳聆聽到平衡的左右耳音訊,避免聽到雜訊聲音,進而提升使用者的主觀聽感。 When a traditional wireless audio output device (such as a pair of wireless Bluetooth earphones) is applied to a voice call situation where the fundamental frequency of the human voice changes greatly, when the first output unit (such as the left earphone) fails to receive the original audio data, and the second When the output unit (such as the right earphone) successfully receives the original audio data, there will be a gap between (1) the compensation audio data output by the first output unit and (2) the original audio data output by the second output unit. At this time, the user will hear unbalanced left and right ear audio, and even hear noise, which will greatly reduce the user's subjective hearing experience. The wireless audio output device and the audio compensation method of the embodiments of the present disclosure, by judging that when one of the multiple output units fails to receive the original audio data, the first output unit and the second output unit are respectively based on the compensation algorithm The first compensation audio data and the second compensation audio data are generated, and the first output unit and the second output unit respectively play the first compensation audio data and the second compensation audio data. With the relatively close first compensation audio data and second compensation audio data, the user can hear balanced audio from the left and right ears, avoid hearing noise, and improve the user's subjective sense of hearing.

綜上所述,雖然本揭露已以實施例揭露如上,然其並非用以限定本揭露。本揭露所屬技術領域中具有通常知識者,在不脫離本揭露之精神和範圍內,當可作各種之更動與潤飾。因此,本揭露之保護範圍當視後附之申請專利範圍所界定者為準。 To sum up, although the present disclosure has been disclosed above with embodiments, it is not intended to limit the present disclosure. Those with ordinary knowledge in the technical field to which this disclosure belongs may make various changes and modifications without departing from the spirit and scope of this disclosure. Therefore, the scope of protection of this disclosure should be defined by the scope of the appended patent application.

20:無線音訊輸出裝置 20: Wireless audio output device

202A、202B:輸出單元 202A, 202B: output unit

ML、IFL:無線訊號鏈結 ML, IFL: wireless signal link

ML1:雙向鏈結 ML1: bidirectional link

ML2:單向鏈結 ML2: one-way link

R1:主通信單元 R1: main communication unit

R2:次通信單元 R2: secondary communication unit

S:音訊源 S: audio source

Claims (19)

一種無線音訊輸出裝置,可與一音訊源建立一無線訊號鏈結,無線音訊輸出裝置包括:一第一輸出單元,第一輸出單元藉由無線訊號鏈結而可接收並播放一第一原始音訊資料,音訊源輸出第一原始音訊資料與一第二原始音訊資料,第一原始音訊資料和第二原始音訊資料係設定要同時輸出;一第二輸出單元,第二輸出單元藉由無線訊號鏈結而可接收並播放第二原始音訊資料;其中,第一輸出單元與第二輸出單元間能交換或偵測各自是否分別成功接收第一原始音訊資料和第二原始音訊資料的結果;其中,當至少(1)第一原始音訊資料未能被第一輸出單元成功接收,或(2)第二原始音訊資料未能被第二輸出單元成功接收其中之一發生時,則第一輸出單元和第二輸出單元依據一補償演算法分別產生一第一補償音訊資料與一第二補償音訊資料,且第一輸出單元與第二輸出單元分別播放第一補償音訊資料與第二補償音訊資料。 A wireless audio output device, capable of establishing a wireless signal link with an audio source, the wireless audio output device includes: a first output unit, the first output unit can receive and play a first original audio through the wireless signal link data, the audio source outputs the first original audio data and a second original audio data, the first original audio data and the second original audio data are set to be output simultaneously; a second output unit, the second output unit is connected via a wireless signal chain As a result, the second original audio data can be received and played; wherein, the first output unit and the second output unit can exchange or detect the results of whether they respectively successfully receive the first original audio data and the second original audio data; wherein, When at least one of (1) the first original audio data is not successfully received by the first output unit, or (2) the second original audio data is not successfully received by the second output unit occurs, the first output unit and The second output unit respectively generates a first compensation audio data and a second compensation audio data according to a compensation algorithm, and the first output unit and the second output unit respectively play the first compensation audio data and the second compensation audio data. 如請求項1所述之無線音訊輸出裝置,其中無線訊號鏈結係為一多播鏈結(multicast link),第一輸出單元係被設定為一主通信單元,且第二輸出單元係被設定為一次通信單元,其中主通信單元係設定來與音訊源建立多播鏈結,並通過多播鏈結而與音訊源進行雙向通信;而次通信單元,係用以加入多 播鏈結,並通過多播鏈結而與音訊源進行單向通信,且與主通信單元進行雙向通信。 The wireless audio output device as described in claim 1, wherein the wireless signal link is a multicast link (multicast link), the first output unit is set as a master communication unit, and the second output unit is set It is a primary communication unit, wherein the main communication unit is set to establish a multicast link with the audio source, and conduct two-way communication with the audio source through the multicast link; and the secondary communication unit is used to join multiple broadcast link, and perform one-way communication with the audio source through the multicast link, and perform two-way communication with the main communication unit. 如請求項2所述之無線音訊輸出裝置,其中當多播鏈結成功傳遞第二原始音訊資料,但第一原始音訊資料傳遞失敗時,則主通信單元回覆一未確認訊息(NAK)給音訊源;未確認訊息觸發次通信單元捨棄(drop)已經收到的第二原始音訊資料,並輸出第二補償音訊資料。 The wireless audio output device as described in claim 2, wherein when the multicast link successfully transmits the second original audio data, but the first original audio data fails to be transmitted, the main communication unit replies a non-confirmation message (NAK) to the audio source ; The unacknowledged message triggers the secondary communication unit to drop the received second original audio data, and output the second compensation audio data. 如請求項2所述之無線音訊輸出裝置,其中當多播鏈結成功傳遞第一原始音訊資料,但第二原始音訊資料傳遞失敗時,則主通信單元先回覆一確認訊息給音訊源;確認訊息並觸發次通信單元發出一未確認訊息給主通信單元,使得主通信單元捨棄已經收到的第一原始音訊資料,並輸出第一補償音訊資料。 The wireless audio output device as described in claim 2, wherein when the multicast link successfully transmits the first original audio data, but the second original audio data fails to be transmitted, the main communication unit first returns a confirmation message to the audio source; confirm The message triggers the secondary communication unit to send an unacknowledged message to the primary communication unit, so that the primary communication unit discards the received first original audio data and outputs the first compensation audio data. 如請求項4所述之無線音訊輸出裝置,其中多播鏈結定義一音訊源接收時段(source receive timeslot),在音訊源接收時段中,音訊源可設置接收來自主通信單元的訊息,未確認訊息的發送起始時間係不對齊於音訊源接收時段的起始時間。 The wireless audio output device as described in claim item 4, wherein the multicast link defines a source receive timeslot (source receive timeslot), in the source receive timeslot of the audio source, the source of the audio can be set to receive messages from the main communication unit, unacknowledged messages The send start time of is not aligned with the start time of the audio source receive period. 如請求項5所述之無線音訊輸出裝置,其中未確認訊息的發送起始時間係位於音訊源接收時段的後半段時段內。 The wireless audio output device as described in Claim 5, wherein the sending start time of the unconfirmed message is within the second half of the receiving period of the audio source. 如請求項2所述之無線音訊輸出裝置,其中多播鏈結係符合一藍牙規範,藍牙規範定義一音訊源接收時段和一音訊源未聽取時段;在音訊源接收時段中,音訊源可設置接收來自主通信單元的訊息;在音訊源未聽取時段中,主通信單元和次通 信單元間可交換一延展封包,延展封包的發送起始時間係不對齊於音訊源接收時段的起始時間。 The wireless audio output device as described in claim item 2, wherein the multicast link system conforms to a bluetooth specification, and the bluetooth specification defines an audio source receiving period and an audio source not listening period; in the audio source receiving period, the audio source can be set Receive messages from the primary communication unit; during periods when the audio source is not listening, the primary communication unit and the secondary communication unit An extension packet can be exchanged between the communication units, and the sending start time of the extension packet is not aligned with the start time of the receiving period of the audio source. 如請求項7所述之無線音訊輸出裝置,其中,音訊源未聽取時段包含一旗標訊息,主通信單元係利用旗標訊息向次通信單元間傳遞一未確認訊息。 The wireless audio output device as described in Claim 7, wherein the period of time when the audio source is not listening includes a flag message, and the primary communication unit uses the flag message to transmit an unconfirmed message to the secondary communication units. 如請求項7所述之無線音訊輸出裝置,其中,音訊源未聽取時段包含一旗標訊息後半時段,次通信單元係利用旗標訊息後半時段向主通信單元間傳遞一未確認訊息。 The wireless audio output device as described in Claim 7, wherein the period of time when the audio source is not listening includes a second half period of a flag message, and the secondary communication unit uses the second half period of the flag message to transmit an unacknowledged message to the main communication unit. 如請求項1所述之無線音訊輸出裝置,其中無線訊號鏈結係為一中繼鏈結,第一輸出單元係被設定為一主通信單元,且第二輸出單元係被設定為一次通信單元,其中主通信單元係設定來與音訊源建立中繼鏈結,並通過中繼鏈結而與音訊源進行雙向通信,而次通信單元,係用以加入中繼鏈結;其中,通過中繼鏈結,第二原始音訊資料係先自音訊源傳遞至主通信單元,然後再自主通信單元傳遞至次通信單元。 The wireless audio output device as described in Claim 1, wherein the wireless signal link is a relay link, the first output unit is set as a main communication unit, and the second output unit is set as a primary communication unit , wherein the main communication unit is set to establish a relay link with the audio source, and conduct two-way communication with the audio source through the relay link, and the secondary communication unit is used to join the relay link; wherein, through the relay Linking, the second original audio data is first transmitted from the audio source to the primary communication unit, and then transmitted from the primary communication unit to the secondary communication unit. 如請求項10所述之無線音訊輸出裝置,其中,當主通信單元成功接收到第一原始音訊資料,但第二原始音訊資料傳遞到次通信單元失敗時,則主通信單元先回覆一確認訊息給音訊源,確認訊息並觸發次通信單元發出一未確認訊息給主通信單元,使得主通信單元捨棄已經收到的第一原始音訊資料,並輸出第一補償音訊資料。 The wireless audio output device as described in claim 10, wherein, when the primary communication unit successfully receives the first original audio data, but fails to transmit the second original audio data to the secondary communication unit, the primary communication unit first replies with a confirmation message To the audio source, confirm the message and trigger the secondary communication unit to send an unconfirmed message to the main communication unit, so that the main communication unit discards the received first original audio data and outputs the first compensation audio data. 如請求項1所述之無線音訊輸出裝置,其中,當第一原始音訊資料和第二原始音訊資料均被成功接收時,則第一輸出單元與第二輸出單元分別播放第一原始音訊資料和第二原始音訊資料。 The wireless audio output device as described in claim 1, wherein, when the first original audio data and the second original audio data are successfully received, the first output unit and the second output unit respectively play the first original audio data and The second original audio data. 如請求項1所述之無線音訊輸出裝置,其中無線訊號鏈結係包含一第一無線鏈結與一第二無線鏈結,第一無線鏈結與第二無線鏈結彼此獨立,且第一輸出單元與第二輸出單元間具有一無線訊號鏈結;第一輸出單元藉由第一無線鏈結而可接收第一原始音訊資料,第二輸出單元藉由第二無線鏈結而可接收第二原始音訊資料;第一輸出單元與第二輸出單元間藉由無線訊號鏈結能交換或偵測各自是否分別成功接收第一原始音訊資料和第二原始音訊資料的結果。 The wireless audio output device as described in claim 1, wherein the wireless signal link includes a first wireless link and a second wireless link, the first wireless link and the second wireless link are independent of each other, and the first There is a wireless signal link between the output unit and the second output unit; the first output unit can receive the first original audio data through the first wireless link, and the second output unit can receive the first original audio data through the second wireless link. 2. Original audio data: The first output unit and the second output unit can exchange or detect whether they have successfully received the first original audio data and the second original audio data through a wireless signal link. 如請求項13所述之無線音訊輸出裝置,其中第一無線鏈結與第二無線鏈結係為一低功率藍牙連線。 The wireless audio output device according to claim 13, wherein the first wireless link and the second wireless link are a low-power Bluetooth connection. 一種音訊補償方法,適用於一無線音訊輸出裝置,音訊補償方法步驟包括:(a)當一第一原始音訊資料被一無線音訊輸出裝置之一第一輸出單元成功接收,且一第二原始音訊資料被無線音訊輸出裝置之一第二輸出單元成功接收時,則第一輸出單元與第二輸出單元分別播放第一原始音訊資料和第二原始音訊資料,其中第一原始音訊資料與第二原始音訊資料係由一音訊源輸出,無線音訊輸出裝置用以與音訊源建立一無線訊號鏈結,第一原始音訊資料和第二 原始音訊資料係設定要同時輸出,第一輸出單元藉由無線訊號鏈結而可用以接收並播放第一原始音訊資料,第二輸出單元藉由無線訊號鏈結而可用以接收並播放第二原始音訊資料,第一輸出單元與第二輸出單元間能交換或偵測各自是否分別成功接收第一原始音訊資料和第二原始音訊資料的結果;(b)當至少(1)第一原始音訊資料未能被第一輸出單元成功接收,或(2)第二原始音訊資料未能被第二輸出單元成功接收其中之一發生時,則:(b1)第一輸出單元和第二輸出單元依據一補償演算法分別產生一第一補償音訊資料與一第二補償音訊資料,且(b2)第一輸出單元與第二輸出單元分別播放第一補償音訊資料與第二補償音訊資料。 An audio compensation method, suitable for a wireless audio output device, the steps of the audio compensation method include: (a) when a first original audio data is successfully received by a first output unit of a wireless audio output device, and a second original audio When the data is successfully received by the second output unit of the wireless audio output device, the first output unit and the second output unit respectively play the first original audio data and the second original audio data, wherein the first original audio data and the second original audio data The audio data is output by an audio source, the wireless audio output device is used to establish a wireless signal link with the audio source, the first original audio data and the second The original audio data is set to be output at the same time, the first output unit can be used to receive and play the first original audio data through the wireless signal link, and the second output unit can be used to receive and play the second original audio data through the wireless signal link Audio data, the results of whether the first output unit and the second output unit can exchange or detect whether they have successfully received the first original audio data and the second original audio data respectively; (b) when at least (1) the first original audio data Failed to be successfully received by the first output unit, or (2) when one of the second original audio data failed to be successfully received by the second output unit occurs, then: (b1) the first output unit and the second output unit according to a The compensation algorithm generates a first compensation audio data and a second compensation audio data respectively, and (b2) the first output unit and the second output unit respectively play the first compensation audio data and the second compensation audio data. 如請求項15所述之音訊補償方法,其中無線訊號鏈結係為一多播鏈結,第一輸出單元與音訊源進行雙向通信;而第二輸出單元與音訊源進行單向通信,且與第一輸出單元進行雙向通信;其中,當多播鏈結成功傳遞第二原始音訊資料,但第一原始音訊資料傳遞失敗時,則第一輸出單元回覆一未確認訊息給音訊源;未確認訊息觸發第二輸出單元捨棄已經收到的第二原始音訊資料,並輸出第二補償音訊資料。 The audio compensation method as described in claim 15, wherein the wireless signal link is a multicast link, the first output unit performs bidirectional communication with the audio source; and the second output unit performs unidirectional communication with the audio source, and communicates with the audio source The first output unit performs two-way communication; wherein, when the multicast link successfully transmits the second original audio data, but the transmission of the first original audio data fails, the first output unit replies an unconfirmed message to the audio source; the unconfirmed message triggers the second The second output unit discards the received second original audio data and outputs the second compensated audio data. 如請求項15所述之音訊補償方法,其中,無線訊號鏈結係為一多播鏈結,第一輸出單元與音訊源進行雙向通信;而第二輸出單元與音訊源進行單向通信,且與第一輸出單元 進行雙向通信;其中,當多播鏈結成功傳遞第一原始音訊資料,但第二原始音訊資料傳遞失敗時,則第一輸出單元先回覆一確認訊息給音訊源;確認訊息並觸發第二輸出單元發出一未確認訊息給第一輸出單元單元,使得第一輸出單元捨棄已經收到的第一原始音訊資料,並輸出第一補償音訊資料。 The audio compensation method as described in claim 15, wherein the wireless signal link is a multicast link, the first output unit performs bidirectional communication with the audio source; and the second output unit performs unidirectional communication with the audio source, and with the first output unit Two-way communication; where, when the multicast link successfully transmits the first original audio data, but the second original audio data fails to be transmitted, the first output unit first returns a confirmation message to the audio source; confirm the message and trigger the second output The unit sends an unacknowledged message to the first output unit, so that the first output unit discards the received first original audio data and outputs the first compensation audio data. 如請求項15所述之音訊補償方法,其中無線訊號鏈結係包含一第一無線鏈結與一第二無線鏈結,第一無線鏈結與第二無線鏈結彼此獨立,且第一輸出單元與第二輸出單元間具有一無線訊號鏈結;第一輸出單元藉由第一無線鏈結而可接收第一原始音訊資料,第二輸出單元藉由第二無線鏈結而可接收第二原始音訊資料;第一輸出單元與第二輸出單元間藉由無線訊號鏈結能交換或偵測各自是否分別成功接收第一原始音訊資料和第二原始音訊資料的結果。 The audio compensation method as described in claim 15, wherein the wireless signal link includes a first wireless link and a second wireless link, the first wireless link and the second wireless link are independent of each other, and the first output There is a wireless signal link between the unit and the second output unit; the first output unit can receive the first original audio data through the first wireless link, and the second output unit can receive the second original audio data through the second wireless link. Original audio data; the first output unit and the second output unit can exchange or detect whether they have successfully received the first original audio data and the second original audio data through a wireless signal link. 如請求項18所述之音訊補償方法,其中第一無線鏈結與第二無線鏈結係為一低功率藍牙連線。 The audio compensation method as claimed in claim 18, wherein the first wireless link and the second wireless link are a low-power Bluetooth connection.
TW109114572A 2019-07-12 2020-04-30 Audio concealment method and wireless audio output device using the same TWI802795B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010437643.8A CN112218197B (en) 2019-07-12 2020-05-21 Audio compensation method and wireless audio output device using same
US16/925,470 US11172303B2 (en) 2019-07-12 2020-07-10 Audio concealment method and wireless audio output device using the same

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US201962873204P 2019-07-12 2019-07-12
US62/873,204 2019-07-12

Publications (2)

Publication Number Publication Date
TW202103473A TW202103473A (en) 2021-01-16
TWI802795B true TWI802795B (en) 2023-05-21

Family

ID=75234912

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109114572A TWI802795B (en) 2019-07-12 2020-04-30 Audio concealment method and wireless audio output device using the same

Country Status (1)

Country Link
TW (1) TWI802795B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101605293A (en) * 2008-05-30 2009-12-16 奥迪康有限公司 The hearing aid device system that between hearing aids and phone, has low power wireless link
US20120058727A1 (en) * 2010-09-02 2012-03-08 Passif Semiconductor Corp. Un-tethered wireless stereo speaker system
US8180078B2 (en) * 2007-12-13 2012-05-15 At&T Intellectual Property I, Lp Systems and methods employing multiple individual wireless earbuds for a common audio source
CN102696240A (en) * 2009-09-10 2012-09-26 美国高思公司 Sync Wireless Headphones
TWI595790B (en) * 2014-09-28 2017-08-11 永嘉輝科技股份有限公司 Bluetooth hearing aid system
CN109995479A (en) * 2019-06-03 2019-07-09 南京中感微电子有限公司 A kind of voice data communication method, system and audio communication device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8180078B2 (en) * 2007-12-13 2012-05-15 At&T Intellectual Property I, Lp Systems and methods employing multiple individual wireless earbuds for a common audio source
CN101605293A (en) * 2008-05-30 2009-12-16 奥迪康有限公司 The hearing aid device system that between hearing aids and phone, has low power wireless link
CN102696240A (en) * 2009-09-10 2012-09-26 美国高思公司 Sync Wireless Headphones
US20120058727A1 (en) * 2010-09-02 2012-03-08 Passif Semiconductor Corp. Un-tethered wireless stereo speaker system
TWI595790B (en) * 2014-09-28 2017-08-11 永嘉輝科技股份有限公司 Bluetooth hearing aid system
CN109995479A (en) * 2019-06-03 2019-07-09 南京中感微电子有限公司 A kind of voice data communication method, system and audio communication device

Also Published As

Publication number Publication date
TW202103473A (en) 2021-01-16

Similar Documents

Publication Publication Date Title
US12057946B2 (en) Systems and methods including wireless data packet retransmission schemes
US10945081B2 (en) Low-latency streaming for CROS and BiCROS
CN105284134B (en) Wirelessly stream audio signals to multiple audio receiver devices
CN111435844B (en) Method, device, equipment and system for correcting audio data in dual-wireless Bluetooth communication
CN109995479A (en) A kind of voice data communication method, system and audio communication device
TWI668972B (en) Wireless audio output device
JP2023546303A (en) Inter-device communication method and system used in wireless communication system
CN105101010B (en) Method for wireless transmission of digital audio
CN112335328B (en) Method and system for transmitting audio data and wireless audio system
CN112055349A (en) Wireless communication method and Bluetooth device
US12464320B2 (en) Wireless stereo headset group communications
CN114745705A (en) Communication chip, Bluetooth communication equipment and data transmission method
US12425171B2 (en) Uplink management for true wireless earbuds
WO2020172830A1 (en) Wireless connection method, device group, system, and storage medium
CN112218197B (en) Audio compensation method and wireless audio output device using same
US20220417637A1 (en) Method and system for wireless transmission of audio data
CN113330757B (en) Data transmission method and related device
TWI802795B (en) Audio concealment method and wireless audio output device using the same
CN110545151B (en) Method for synchronizing states between audio ends and sending audio data packets and audio equipment
WO2024039545A1 (en) Uplink management for true wireless earbuds
EP4573765A1 (en) Coordinated sniffing of air traffic within a group of audio output devices
TWI791997B (en) Wireless audio output device and operation method thereof
US11601297B2 (en) Wireless audio output device and operation method thereof
CN114827969B (en) A wireless headset and communication method thereof
CN114786096A (en) Wireless earphone and communication method for wireless earphone