TWI569592B - Information transmission system for improving the correctness of data and its data processing - Google Patents

Information transmission system for improving the correctness of data and its data processing Download PDF

Info

Publication number
TWI569592B
TWI569592B TW104114979A TW104114979A TWI569592B TW I569592 B TWI569592 B TW I569592B TW 104114979 A TW104114979 A TW 104114979A TW 104114979 A TW104114979 A TW 104114979A TW I569592 B TWI569592 B TW I569592B
Authority
TW
Taiwan
Prior art keywords
data
sound waves
audio
information
correctness
Prior art date
Application number
TW104114979A
Other languages
Chinese (zh)
Other versions
TW201640847A (en
Inventor
Yu-Hong Chen
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 filed Critical
Priority to TW104114979A priority Critical patent/TWI569592B/en
Priority to SG10201603770XA priority patent/SG10201603770XA/en
Publication of TW201640847A publication Critical patent/TW201640847A/en
Application granted granted Critical
Publication of TWI569592B publication Critical patent/TWI569592B/en

Links

Description

提升資料正確性之音訊傳輸系統及其資料處理方法 Audio transmission system for improving data correctness and data processing method thereof

本發明係關於一種音訊傳輸系統,尤指一種可提升資料正確性之音訊傳輸系統及其資料處理方法。 The present invention relates to an audio transmission system, and more particularly to an audio transmission system and a data processing method thereof for improving data correctness.

科技日新月異,將資訊通過行動裝置的3G或者Wi-Fi進行發送、接收的傳輸技術已經相當的常見,而近年來更有利用聲音來傳輸資訊的技術(如超音波傳訊技術),例如傳輸URL資訊,用戶只要拿著手機靠近電視旁,便可以播放相關的資訊,或者看到演唱會影片就可以收到相關介紹,或者是購買資訊,零售店也可以出一些電子優惠券等,其應用相當廣泛。以目前的超音波傳訊技術而言,其通常是採用調頻方式,即利用頻率的高低表示位元值的”0”或”1”,惟調頻方式存在傳遞速率較慢的缺點,當頻率的變化太過於密集時,聲波在空氣中傳遞會受傳播速率不均的影響,而造成不同頻率的聲波同時抵達用於接收的裝置,使得聲波頻率的變化無法被正確的辨識,所以必須較無效率地間隔一段時間再變換頻率。 With the rapid development of technology, the transmission technology of transmitting and receiving information through mobile devices' 3G or Wi-Fi is quite common. In recent years, there are more technologies that use sound to transmit information (such as ultrasonic communication technology), such as transmitting URL information. As long as the user holds the mobile phone near the TV, they can play related information, or they can receive relevant information when they see the concert video, or purchase information. The retail store can also produce some electronic coupons, etc. . In the current ultrasonic communication technology, it usually adopts the frequency modulation method, that is, the frequency of the bit is represented by "0" or "1" of the bit value, but the frequency modulation mode has the disadvantage of slow transmission rate, when the frequency changes. When it is too dense, the transmission of sound waves in the air will be affected by the uneven propagation rate, and the sound waves of different frequencies will arrive at the device for receiving at the same time, so that the change of the acoustic frequency cannot be correctly identified, so it must be inefficient. Change the frequency at intervals.

又如現有技術中具有一種利用聲音傳輸資料及控制命令之系統,請參閱圖8所示,其包括一播音設備91、一收音設備92,使用者在該播音設備91上操作並輸入字串或指令等,並轉換為可播放的聲音檔,以藉由空氣將聲波傳遞至該收音設備92,而該收音設備92接收聲波後便將聲波進行處理,以取得聲波中之字串或指令,並根據辨識字串或指令的內容而自動執行相對應的動作,讓 使用者可以僅利用播音設備91發送聲音,就能控制相對應的收音設備92並取得所需要的服務。至於現有技術中的播音設備91如何將使用者輸入的字串轉換為聲波進行傳送,並由對應的收音設備92接收,係如圖9與圖10所示,其中分別由該播音設備91、該收音設備92執行以下步驟:該播音設備91接受一使用者輸入的字串,把使用者輸入的字串轉換成二進制的資料,並將二進制的資料透過一相位偏移調變(Phase Shift Keying,PSK)將二進制的資料調變為一聲音檔;再由該播音設備91根據系統預設的模式判斷是否壓縮該聲音檔,若是,則進行破壞性/無失真壓縮,並將壓縮後的檔案播放,若否,則直接將該聲音檔播放;當該收音設備92接收到一組聲音訊號,將該組聲音訊號解調變,並轉換為一字串,再根據該字串的內容以決定所採取的後續動作。 For example, in the prior art, there is a system for transmitting data and control commands by using sound. Referring to FIG. 8 , a broadcast device 91 and a sound pickup device 92 are provided. The user operates on the broadcast device 91 and inputs a string or Commands and the like, and converted into a playable sound file to transmit sound waves to the sound pickup device 92 by air, and the sound pickup device 92 receives the sound waves and then processes the sound waves to obtain strings or commands in the sound waves, and Automatically execute the corresponding action according to the content of the recognized string or instruction, let The user can transmit the sound using only the sounding device 91, and can control the corresponding sound pickup device 92 and obtain the required service. As for the prior art broadcast device 91, the user input string is converted into sound waves for transmission, and is received by the corresponding sound receiving device 92, as shown in FIG. 9 and FIG. 10, wherein the sounding device 91, the The radio device 92 performs the following steps: the broadcast device 91 accepts a string input by the user, converts the string input by the user into binary data, and modulates the binary data through a phase shift (Phase Shift Keying, PSK) converts the binary data into a sound file; the broadcast device 91 determines whether to compress the sound file according to the preset mode of the system, and if so, performs destructive/non-distortion compression and plays the compressed file. If not, the sound file is directly played; when the sound receiving device 92 receives a set of sound signals, the set of sound signals is demodulated and converted into a string, and then determined according to the content of the string. Follow-up actions taken.

根據相位偏移調變技術的原理,其主要係採用聲波相位的變化代表位元值的”0”或”1”,因此發送時不需變換頻率,可以大幅減低傳送不同位元時的間隔時間,以改善現有技術中必須較無效率地間隔一段時間再變換頻率的問題,但是相位偏移調變技術初始的設計對象是以電磁波傳輸為主,而且電磁波的傳播速度是光速,故在空氣中傳遞一段距離後產生的相位偏移量極小,反觀聲波在空氣中是以音速傳播,與光速相較,音速慢了大約88萬倍,且聲波在介質中傳遞時會因介質密度的差異而引起傳播速度的變化,因此在空氣中傳遞一段距離後,將會造成相位偏移量的加大,若該收音設備92直接進行解讀,會讀取到大量的連續錯誤位元,因此相位偏移調變技術雖沒有變換頻率的問題,但是其資料的正確性卻降低。 According to the principle of the phase shift modulation technique, the change of the phase of the acoustic wave mainly represents the "0" or "1" of the bit value, so that the frequency is not changed when transmitting, and the interval time for transmitting different bits can be greatly reduced. In order to improve the problem that the prior art must change the frequency more inefficiently for a period of time, the initial design object of the phase shift modulation technique is mainly electromagnetic wave transmission, and the propagation speed of the electromagnetic wave is the speed of light, so in the air. The phase shift generated after transmitting a distance is extremely small. In contrast, the sound wave propagates at the speed of sound in the air. Compared with the speed of light, the speed of sound is about 880,000 times slower, and the sound wave is transmitted in the medium due to the difference in density of the medium. The change of the propagation speed, therefore, after a certain distance is transmitted in the air, the phase offset will increase. If the radio device 92 directly interprets, a large number of consecutive error bits will be read, so the phase offset is adjusted. Although the variable technique does not have the problem of changing the frequency, the correctness of the data is reduced.

由上述現有技術可知,一般傳輸系統在設計時為了提高資料傳輸的正確性,通常會提高資料傳輸通道的通信品質,將傳輸錯誤資訊的機率降低,但是聲波在空氣中傳遞係屬於信噪比(Signal to Noise Ratio,SNR)低的不穩定通道,而透過目前現有技術中聲 波傳輸的方式,需先於播音設備91將資料以相位偏移調變之後再進行傳送,所傳送的聲波基於物理特性將會因介質或距離的不同而使音訊的相位異常變化,並產生大量連續性的錯誤位元資料,而且無法進行修正,致使該收音設備92在接收到聲波之後,完全無法判讀出正確的資訊而僅能選擇將該筆資料丟棄並重新傳輸;再者,為了提升聲波傳輸的效率,使用相位偏移調變技術時,聲波在空氣傳遞係經常產生大量連續性的錯誤位元資料,不僅無法取得正確的資料更無法進行修正,以至於系統效率不佳。 It can be known from the above prior art that in order to improve the accuracy of data transmission, the general transmission system generally improves the communication quality of the data transmission channel and reduces the probability of transmitting error information, but the transmission of sound waves in the air belongs to the signal-to-noise ratio ( Signal to Noise Ratio, SNR) low instability channel, through the current state of the art sound The mode of wave transmission needs to be transmitted before the data is modulated by the sounding device 91, and the transmitted sound wave will change the phase of the audio abnormally due to the difference of the medium or the distance based on the physical characteristics, and generate a large amount of Continuity of the bit data, and can not be corrected, so that after receiving the sound wave, the radio device 92 can not judge the correct information and can only choose to discard and retransmit the data; in addition, in order to enhance the sound wave The efficiency of transmission, when using the phase shift modulation technique, the sound wave often generates a large amount of continuous error bit data in the air transmission system, which can not only obtain the correct data, but also can not be corrected, so that the system efficiency is not good.

因此,以上述現有技術而言,確實有待提出更理想解決方案之必要性。 Therefore, with the above prior art, it is indeed necessary to propose a more ideal solution.

有鑑於上述現有技術之不足,本發明主要目的係提供一種提升資料正確性之音訊傳輸系統及其資料處理方法,其透過一用於發送聲音的裝置及相對應一用於接收聲音的裝置進行聲音傳輸,將所要傳輸的資訊經過特定的方式重新編排、打散後,以避免在傳輸的過程中,因突發性的連續錯誤造成接收後的錯誤位元太過集中,以至於無法校正,故能提升取得隱藏資料之正確性,並解決連續性數位資料在傳輸過程中因連續錯誤而導致無法校正之問題。 In view of the above-mentioned deficiencies of the prior art, the main object of the present invention is to provide an audio transmission system for improving data correctness and a data processing method thereof, which perform sound through a device for transmitting sound and a device for receiving sound. Transmission, after the information to be transmitted is re-arranged and broken up in a specific way, in order to avoid the sudden error in the transmission process, the error bit after receiving is too concentrated, so that it cannot be corrected. It can improve the correctness of obtaining hidden data, and solve the problem that continuous digital data cannot be corrected due to continuous errors during transmission.

欲達上述目的所採取的主要技術手段係令前述提升資料正確性之音訊傳輸系統的資料處理方法,主要係由一第一裝置向相匹配的一第二裝置傳遞聲波,並由該第一裝置執行下列步驟:接受一資訊,並將該資訊轉換為一數位資料;將該數位資料排列為一矩陣;執行一錯誤更正編碼演算法,使得該矩陣中的連續資料被重新編碼排列以產生一字元序列資料;將該字元序列資料加上一標頭資訊以構成一位元排列資料, 並將該位元排列資料調變為一組聲波;將該組聲波播放以供該第二裝置接收。 The main technical means for achieving the above purpose is to enable the data processing method of the audio transmission system for improving the correctness of the data, mainly by transmitting a sound wave from a first device to a matching second device, and by the first device Performing the following steps: accepting a message and converting the information into a digital data; arranging the digital data into a matrix; performing an error correction coding algorithm such that the continuous data in the matrix is re-encoded to generate a word Meta-sequence data; adding a header information to the character sequence data to form a meta-arrangement data, And modulating the bit arrangement data into a set of sound waves; playing the set of sound waves for reception by the second device.

上述步驟係以該第一裝置聲波並由該第二裝置接收,當該第一裝置接受到該資訊,並將該資訊轉換為該數位資料,再將該數位資料排列為該矩陣,經由該第一裝置執行該錯誤更正編碼演算法,使得該矩陣中的連續資料被重新編碼排列而產生該字元序列資料,而該第一裝置再將該字元序列資料加上該標頭資訊以構成該位元排列資料,並將該位元排列資料調變為一組聲波以供該第二裝置接收;當該第二裝置收到該組聲波後,只需將其進行濾波、解調變並取得該位元排列資料,藉由該位元排列資料中的標頭資訊辨識出該字元序列資料,並對該字元序列資料執行一錯誤更正對應解碼演算法以取得正確的資訊,藉此提升取得隱藏資料之正確性,達到解決連續性數位資料在傳輸過程中因連續錯誤而導致無法校正之問題的目的。 The above steps are performed by the first device sound wave and received by the second device. When the first device receives the information, and converts the information into the digital data, the digital data is arranged into the matrix. A device performs the error correction encoding algorithm such that successive data in the matrix is re-encoded to generate the character sequence data, and the first device adds the header information to the header information to form the The bit arrangement data, and the bit arrangement data is modulated into a set of sound waves for reception by the second device; when the second device receives the set of sound waves, it only needs to filter, demodulate and obtain The bit arrangement data, the character sequence data is identified by the header information in the bit arrangement data, and an error correction corresponding to the decoding algorithm is performed on the character sequence data to obtain correct information, thereby improving Obtain the correctness of the hidden data, and solve the problem that the continuous digital data cannot be corrected due to continuous errors during the transmission process.

欲達上述目的所採取的又一主要技術手段係令前述提升資料正確性之音訊傳輸系統包括:一第一裝置,其包括一第一處理器、一音訊輸出單元及一編碼器,該第一處理器分別與該音訊輸出單元、該編碼器連接,並透過該音訊輸出單元將音訊輸出;一第二裝置,係與該第一裝置相匹配,該第二裝置包括一第二處理器、一音訊接收單元及一解碼器,該第二處理器分別與該音訊接收單元、該解碼器連接,該音訊接收單元係用以接收音訊,並傳送至該第二處理器,由該第二處理器執行音訊處理及解調變;其中,當該第一裝置的第一處理器讀取一資訊,則使該資訊轉換為一數位資料,並將該數位資料排列為一矩陣,再由該編碼器執行一錯誤更正編碼演算法,使得該矩陣中的連續資料被重新編碼排列以產生一字元序列資料,該第一處理器再將該字元序列資料加上一標頭資訊以構成一位元排列資料,並將該位元排列資 料調變為一組聲波,由該音訊輸出單元播放該組聲波供第二裝置接收。 Another main technical means for achieving the above purpose is that the audio transmission system for improving the correctness of the data includes: a first device comprising a first processor, an audio output unit and an encoder, the first The processor is respectively connected to the audio output unit and the encoder, and outputs audio through the audio output unit; a second device is matched with the first device, and the second device includes a second processor and a second device. An audio receiving unit and a decoder, wherein the second processor is respectively connected to the audio receiving unit and the decoder, wherein the audio receiving unit is configured to receive audio and transmit the audio to the second processor, where the second processor Performing audio processing and demodulation; wherein, when the first processor of the first device reads a message, the information is converted into a digital data, and the digital data is arranged into a matrix, and then the encoder Performing an error correction coding algorithm such that successive data in the matrix is re-encoded to generate a sequence of character data, and the first processor adds the sequence of the character A header information to form one yuan sort the data, and the bit financing arrangement The material is modulated into a set of sound waves, and the set of sound waves is played by the audio output unit for receiving by the second device.

由上述構造可知,本發明提升資料正確性之音訊傳輸系統透過該第一裝置的第一處理器、該編碼器將處理後的音訊透過其音訊輸出單元播放一組含有資訊的聲波,並由該第二裝置的音訊接收單元接收該組聲波,再將該組聲波轉換成音訊傳送至該第二處理器,經由該第二處理器、該解碼器執行後續相對應所需的音訊處理或資料辨識;其中該第一裝置處理音訊的方式,是透過第一處理器讀取該資訊,使該資訊轉換為一數位資料,並將該數位資料排列成矩陣格式,再由該編碼器執行該錯誤更正編碼演算法,使得該矩陣中的連續資料經過重新編碼排列而產生該字元序列資料,該第一處理器再將該字元序列資料加上標頭資訊以構成該位元排列資料,並將該位元排列資料調變為一組聲波,由該音訊輸出單元播放該組聲波供第二裝置接收,當該第二裝置的音訊接收單元收到該組聲波後,透過該第二處理器將其進行濾波、解調變並取得該位元排列資料,透過該位元排列資料中的標頭資訊即能夠辨識出該字元序列資料,並以該解碼器對該字元序列資料執行一錯誤更正對應解碼演算法以取得正確的資訊,藉此提升取得隱藏資料之正確性,達到解決連續性數位資料在傳輸過程中因連續錯誤而導致無法校正之問題的目的。 According to the above configuration, the audio transmission system of the present invention improves the correctness of the data through the first processor of the first device, and the encoder transmits the processed audio through the audio output unit to play a group of sound waves containing information. The audio receiving unit of the second device receives the set of sound waves, and then converts the set of sound waves into audio signals for transmission to the second processor, and performs subsequent corresponding audio processing or data identification via the second processor and the decoder. The manner in which the first device processes the audio is to read the information through the first processor, convert the information into a digital data, and arrange the digital data into a matrix format, and then perform the error correction by the encoder. Encoding algorithm, such that the continuous data in the matrix is re-encoded to generate the character sequence data, and the first processor adds the header information to the header information to form the bit alignment data, and The bit arrangement data is modulated into a set of sound waves, and the set of sound waves is played by the audio output unit for receiving by the second device, and the audio connection of the second device is After receiving the group of sound waves, the unit filters, demodulates and demodulates the data through the second processor, and obtains the bit sequence data through the header information in the bit arrangement data. And performing, by the decoder, performing an error correction on the character sequence data to obtain a correct information, thereby improving the correctness of obtaining the hidden data, and solving the continuous error of the continuous digital data in the transmission process. The purpose of causing problems that cannot be corrected.

10‧‧‧第一裝置 10‧‧‧ first device

11‧‧‧第一處理器 11‧‧‧First processor

12‧‧‧音訊輸出單元 12‧‧‧Audio output unit

13‧‧‧編碼器 13‧‧‧Encoder

20‧‧‧第二裝置 20‧‧‧second device

21‧‧‧第二處理器 21‧‧‧second processor

22‧‧‧音訊接收單元 22‧‧‧Optical receiving unit

23‧‧‧解碼器 23‧‧‧Decoder

91‧‧‧播音設備 91‧‧‧Broadcasting equipment

92‧‧‧收音設備 92‧‧‧ Radio equipment

圖1係本發明一較佳實施例的音訊傳輸系統示意圖。 1 is a schematic diagram of an audio transmission system in accordance with a preferred embodiment of the present invention.

圖2係本發明一較佳實施例的資訊編碼排列之資料結構示意圖。 2 is a schematic diagram showing the structure of an information coding arrangement according to a preferred embodiment of the present invention.

圖3係本發明一較佳實施例的第一裝置資料處理方法流程圖。 3 is a flow chart of a first device data processing method according to a preferred embodiment of the present invention.

圖4係本發明一較佳實施例的第一裝置錯誤更正編碼演算法流程圖。 4 is a flow chart of a first device error correction coding algorithm in accordance with a preferred embodiment of the present invention.

圖5係本發明一較佳實施例的第二裝置資料處理方法流程圖。 FIG. 5 is a flow chart of a second device data processing method according to a preferred embodiment of the present invention.

圖6係本發明一較佳實施例的第二裝置解調變與資訊轉換流程圖。 6 is a flow chart of demodulation and information conversion of a second device according to a preferred embodiment of the present invention.

圖7係本發明一較佳實施例的第二裝置錯誤更正對應解碼演算法流程圖。 FIG. 7 is a flow chart of a second device error correction corresponding decoding algorithm according to a preferred embodiment of the present invention.

圖8係一已知的音訊傳輸系統方塊圖。 Figure 8 is a block diagram of a known audio transmission system.

圖9係一已知的播音設備之播放聲音流程圖。 Figure 9 is a flow chart showing the playback sound of a known broadcast device.

圖10係一已知的收音設備之接收聲音流程圖。 Figure 10 is a flow chart of the received sound of a known radio device.

關於本發明提升音訊辨識率之音訊傳輸系統的較佳實施例,請參閱圖1所示,其主要係由一第一裝置10在一介質(如空氣)中向一第二裝置20傳遞一組聲波,且該第一裝置10與該第二裝置20相匹配,其中該聲波(聲音)是在空氣中一連續不斷的訊號,可稱為聲音訊號(Audio Signal,音訊),亦泛指由人耳聽到的各種聲音的訊號。本實施例中,該第一裝置10、該第二裝置20可分別為一行動裝置、一智慧裝置或一電腦設備等電子裝置。 For a preferred embodiment of the audio transmission system for improving the audio recognition rate of the present invention, refer to FIG. 1, which is mainly for transmitting a set of a first device 10 to a second device 20 in a medium (such as air). Sound waves, and the first device 10 is matched with the second device 20, wherein the sound wave (sound) is a continuous signal in the air, which may be called an audio signal (Audio Signal), and is also referred to as a person. The signal of the various sounds heard by the ear. In this embodiment, the first device 10 and the second device 20 are respectively a mobile device, a smart device, or an electronic device such as a computer device.

該第一裝置10包括一第一處理器11、一音訊輸出單元12、一編碼器13以及一輸入單元(圖中未示),該第一處理器11係分別與該音訊輸出單元12、該編碼器13及該輸入單元連接,該第一處理器11可內建/預設資訊,或透過該輸入單元輸入資訊,藉由該第一裝置10的第一處理器11讀取一資訊,並對該資訊進行資訊轉換,使該資訊轉換為一數位資料,並於該數位資料中加入一校驗碼並排列為一矩陣,再由該編碼器13執行一錯誤更正編碼演算法,使得該矩陣中的連續資料被重新編碼排列以產生一字元序列資料,該第一處理器11再將該字元序列資料加上一標頭資訊以構成一位元排列資料,當該第一處理器11讀取該位元排列資料後便將其調變為一組聲波,並透過該音訊輸出單元12播放該組聲波並於空氣中傳遞,以將一含有資訊的聲波輸出供該第二裝置20接 收。 The first device 10 includes a first processor 11, an audio output unit 12, an encoder 13 and an input unit (not shown). The first processor 11 and the audio output unit 12 respectively. The encoder 13 is connected to the input unit, and the first processor 11 can input/preset information or input information through the input unit, and the first processor 11 of the first device 10 reads a message, and Converting the information into information, converting the information into a digital data, adding a check code to the digital data and arranging it into a matrix, and then performing an error correction coding algorithm by the encoder 13 to make the matrix The continuous data is re-encoded to generate a character sequence data, and the first processor 11 adds a header information to the character sequence data to form a bit-array data, when the first processor 11 After reading the bit arrangement data, it is converted into a set of sound waves, and the set of sound waves is played through the audio output unit 12 and transmitted in the air to output a sound wave containing information for the second device 20 to be connected. Received.

該第二裝置20係包括一第二處理器21、一音訊接收單元22及一解碼器23,該第二處理器21係分別與該音訊接收單元22、該解碼器23連接,該音訊接收單元22係用以接收該第一裝置10所播放出來的聲音,並將接收的該組聲波傳送至該第二處理器21,由該第二處理器21執行音訊處理及解調變;當該第二裝置20收到該組含有資訊的聲波後,即透過第二處理器21對該組聲波進行濾波、解調變並取得前述含有標頭資訊的位元排列資料,根據該位元排列資料中的標頭資訊以辨識出該字元序列資料,並以該解碼器23對該字元序列資料執行一錯誤更正對應解碼演算法,該錯誤更正對應解碼演算法係與前述錯誤更正編碼演算法相匹配,因此能夠準確取得正確的資訊,由於聲波在傳輸的過程中易受到各種影響,容易發生大量連續性的資料錯誤而導致無法校正之問題,因此透過上述第一裝置10的編碼器13執行該錯誤更正編碼演算法,使得連續資料重新編碼排列將資料排列以特定數學方式打散,避免傳輸過程中突發性的連續錯誤所造成接收後的錯誤位元太過集中而無法校正,再由上述第二裝置20的解碼器23執行相匹配的錯誤更正對應解碼演算法,不僅能取得正確的資訊,更能夠增加系統的精確度及效能。 The second device 20 includes a second processor 21, an audio receiving unit 22, and a decoder 23. The second processor 21 is respectively connected to the audio receiving unit 22 and the decoder 23. The audio receiving unit is connected to the audio receiving unit. 22 is configured to receive the sound played by the first device 10, and transmit the received set of sound waves to the second processor 21, and the second processor 21 performs audio processing and demodulation; After receiving the sound wave containing the information, the second device 20 filters and demodulates the sound wave of the group through the second processor 21, and obtains the bit arrangement data containing the header information, and arranges the data according to the bit. The header information is used to identify the character sequence data, and the decoder 23 performs an error correction corresponding to the decoding algorithm on the character sequence data, and the error correction corresponding to the decoding algorithm matches the error correction coding algorithm. Therefore, it is possible to accurately obtain the correct information. Since the sound waves are susceptible to various influences during the transmission process, it is prone to a large number of consecutive data errors that cause uncorrectable problems. The encoder 13 of the first device 10 executes the error correction coding algorithm such that the continuous data re-encoding arrangement breaks up the data arrangement in a specific mathematical manner, avoiding the error bit after reception caused by sudden continuous errors in the transmission process. Too much concentration and cannot be corrected, and the decoder 23 of the second device 20 performs matching error correction corresponding to the decoding algorithm, which not only can obtain correct information, but also can increase the accuracy and performance of the system.

為說明本發明較佳實施例中該第一裝置10於資訊編碼排列之資料結構的處理方式,請參閱圖2所示,其中由該第一裝置10的第一處理器11讀取該資訊,本實施例中,該資訊可為一輸入字串,在進行資訊轉換時,係先將該輸入字串對應ASCII碼而轉換為該數位資料S,該數位資料S包括一組二進制位元值,於該數位資料S中加入上述校驗碼並加以旋轉而排列為矩陣S0(”S0:[0][1][2][3]...”),再利用該編碼器13對矩陣S0執行上述錯誤更正編碼演算法,將旋轉後的該矩陣S0中的矩陣格式進行一轉置運算,即將矩陣格式之橫軸與縱軸進行交換以構成一轉置矩陣S1 (”S1:[0][1][2][3]...”),再將該矩陣S0以及該轉置矩陣S1的資料進行連續性的重新交錯編碼排列,以產生一字元序列資料S2(”S0[0],S1[0],S0[1],S1[1],S0[2],S1[2],...”),最後將該字元序列資料S2加上該標頭資訊以構成一位元排列資料S3,並將該位元排列資料調變為一組聲波,以播放至該第二裝置20。 To illustrate the processing manner of the information structure of the information encoding arrangement of the first device 10 in the preferred embodiment of the present invention, refer to FIG. 2, in which the information is read by the first processor 11 of the first device 10. In this embodiment, the information may be an input string. When the information conversion is performed, the input string is first converted into the digital data S corresponding to the ASCII code, and the digital data S includes a set of binary bit values. Adding the above check code to the digital data S and rotating it to be arranged as a matrix S0 ("S0:[0][1][2][3]..."), and then using the encoder 13 to the matrix S0 Performing the above error correction coding algorithm, and performing a transposition operation on the matrix format in the rotated matrix S0, that is, the horizontal axis and the vertical axis of the matrix format are exchanged to form a transposed matrix S1. ("S1:[0][1][2][3]..."), and then the matrix S0 and the data of the transposed matrix S1 are continuously re-interleaved and encoded to generate a sequence of characters. Data S2 ("S0[0], S1[0], S0[1], S1[1], S0[2], S1[2],..."), and finally add the character sequence data S2 The header information constitutes a one-bit arrangement data S3, and the bit arrangement data is modulated into a set of sound waves for playback to the second device 20.

當該第二裝置20的第二處理器21接收到該組聲波,並進行濾波、解調變並取得前述含有標頭資訊的位元排列資料S3,根據該位元排列資料S3中的標頭資訊讀取該字元序列資料S3的內容,並以該解碼器23執行相對應的該錯誤更正對應解碼演算法,對讀取到的字元序列資料S3內容進行拆解分離,將該字元序列資料S3內容中的上述矩陣S0及該轉置矩陣S1進行還原以取得錯誤位元值的資料,並利用樹狀圖法(trellis diagram,籬笆圖)取得所有可能路徑,再取一最小漢明距離(Hamming distance)之路徑,即獲得最大機率之正確資訊內容。本實施例中,該第二處理器21對該組聲波進行濾波、解調變並取得前述具有時間狀態特性的字元序列資料,其中該第二處理器21係進一步透過一帶通濾波器、一快速傅立葉轉換(Fast Fourier Transform,FFT)以分別對該組聲波進行濾波、解調變。 When the second processor 21 of the second device 20 receives the set of sound waves, performs filtering, demodulation, and obtains the bit array data S3 containing the header information, and arranges the headers in the data S3 according to the bits. The information reads the content of the character sequence data S3, and the corresponding error correction corresponding decoding algorithm is executed by the decoder 23, and the content of the read character sequence data S3 is disassembled and separated, and the character is separated. The matrix S0 and the transposed matrix S1 in the content of the sequence data S3 are restored to obtain the data of the error bit value, and all possible paths are obtained by using a trellis diagram, and then a minimum Hamming is taken. The path of the Hamming distance is the correct information content for maximum probability. In this embodiment, the second processor 21 filters and demodulates the set of sound waves and obtains the character sequence data having the temporal state characteristic, wherein the second processor 21 further transmits a band pass filter, A Fast Fourier Transform (FFT) is used to separately filter and demodulate the set of sound waves.

綜上所述,本發明主要之應用方式是先由第一裝置10將一字串轉換為二進制位元值,隨後,將二進制位元值利用一前向錯誤更正(Forward Error Correction,FEC)的技術進行編碼,並於編碼之後才進行調變,當調變完成之後,則將調變之後的聲音訊號傳送到第二裝置20;當第二裝置20接收到聲音訊號,則進一步將聲音訊號進行解調變,並於解調變之後再進行解碼,解碼之後的資料則轉換成一字串。透過前向錯誤更正技術使聲波傳輸時,大量錯誤的位元資料可以被修正為正確的。必須說明的是,前向錯誤更正技術是採用在資料中以特定格式添加冗餘位元,使得傳輸過程中出錯的資料可以被修正的一種技術之通稱,其中較常見者 包含理德-所羅門碼(Reed-Solomon Code)、迴旋碼(Convolutional Code)、加速碼(Turbo Code)等。 In summary, the main application mode of the present invention is to first convert a string of characters into a binary bit value by the first device 10, and then use a forward error correction (FEC) for the binary bit value. The technology encodes and performs modulation after the encoding. After the modulation is completed, the modulated audio signal is transmitted to the second device 20; when the second device 20 receives the audio signal, the audio signal is further processed. Demodulation is changed and decoded after demodulation, and the decoded data is converted into a string. When the sound wave is transmitted through the forward error correction technique, a large number of erroneous bit data can be corrected to be correct. It must be noted that the forward error correction technique is a generic term for a technique in which redundant bits are added in a specific format in the data so that the data in error during transmission can be corrected. Including Reed-Solomon Code, Convolutional Code, Turbo Code, etc.

另外,由於一般通信系統在設計時為了提高資料傳輸的正確性,通常需提高資料傳輸通道的通信品質,以將傳輸錯誤資訊的機率降低,但是,由於聲波在空氣中傳遞屬於信噪比(Signal to Noise Ratio,SNR)低的不穩定通道,因此,於本實施例中利用錯誤更正的編碼技術將傳輸過程造成的錯誤位元予以修正,而最佳的該錯誤更正編碼演算法及相匹配的該錯誤更正對應解碼演算法,其分別為一卷積碼編碼(又稱Convolutional Code,迴旋碼)及一威特比(Viterbi)演算法解碼。 In addition, since the general communication system is designed to improve the accuracy of data transmission, it is usually necessary to improve the communication quality of the data transmission channel to reduce the probability of transmitting error information. However, since the sound wave is transmitted in the air, it belongs to the signal-to-noise ratio (Signal). To Noise Ratio (SNR) is a low unstable channel. Therefore, in this embodiment, the error bit caused by the transmission process is corrected by using an error correction coding technique, and the best error correction coding algorithm and matching The error correction corresponds to the decoding algorithm, which is a convolutional code (also known as Convolutional Code) and a Viterbi algorithm decoding.

進一步的,該錯誤更正編碼演算法及相匹配的該錯誤更正對應解碼演算法,更可分別為一格狀編碼及一威特比演算法解碼、一加速碼(Turbo Code)編碼及一威特比演算法解碼、一線性碼編碼及一威特比演算法解碼。 Further, the error correction coding algorithm and the matching error correction corresponding to the decoding algorithm may further be a lattice coding and a Viterbi algorithm decoding, an acceleration code (Turbo Code) coding and a Witt. Ratio algorithm decoding, a linear code encoding, and a Viterbi algorithm decoding.

由上述本發明之較佳實施例的說明,可歸納出提升資料正確性之音訊傳輸系統的資料處理方法,其主要係由該第一裝置10向相匹配的該第二裝置20傳遞聲波,如圖2、圖3所示,並由該第一裝置10執行下列步驟:接受一資訊(S31),本實施例中該資訊可為一字串,並將該資訊轉換為一數位資料S(S32),該數位資料S包括一組二進制位元值;將該數位資料排列為一矩陣S0(S33),本實施例中可在該數位資料中加入一校驗碼並排列為該矩陣S0(S33);執行一錯誤更正編碼演算法(S34),使得該矩陣S0中的連續資料被重新編碼排列以產生一字元序列資料S2;將該字元序列資料S2加上一標頭資訊以構成一位元排列資料S3,並將該位元排列資料S3調變為一組聲波(S35);將該組聲波播放以供該第二裝置20接收,或儲存該組聲波(S36);於本實施例中進一步對該組聲波進行壓縮;判斷是否需產生下一組聲波(S37),若是,則回到前述「接 受一資訊(S31)」步驟。 According to the description of the preferred embodiment of the present invention, the data processing method of the audio transmission system for improving the correctness of the data can be summarized, mainly by the first device 10 transmitting sound waves to the matched second device 20, such as As shown in FIG. 2 and FIG. 3, the first device 10 performs the following steps: receiving a message (S31). In this embodiment, the information can be a string and converting the information into a digital data S (S32). The digital data S includes a set of binary bit values; the digital data is arranged into a matrix S0 (S33). In this embodiment, a check code may be added to the digital data and arranged as the matrix S0 (S33). Performing an error correction encoding algorithm (S34) such that the continuous data in the matrix S0 is re-encoded to generate a character sequence data S2; the character sequence data S2 is added with a header information to form a The bit arrangement data S3, and the bit arrangement data S3 is modulated into a set of sound waves (S35); the set of sound waves is played for the second device 20 to receive, or the set of sound waves is stored (S36); In the example, the sound wave of the group is further compressed; whether it is required to be produced Give birth to a set of sound waves (S37), and if so, go back to the above Subject to a message (S31).

藉由上述步驟,以該第一裝置10向該第二裝置20播放聲音,當該第一裝置10接受到該資訊後再將其轉換為數位資料S,並於執行該錯誤更正編碼演算法時,矩陣S0中的連續資料被重新編碼排列而產生該字元序列資料S2,於本實施例中當上述方法執行至「執行一錯誤更正編碼演算法(S34),使得該矩陣S0中的連續資料被重新編碼排列以產生一字元序列資料S2」步驟時,如圖2、圖4所示,該方法更包括以下步驟:上述含校驗碼的數位資料S以一固定方向旋轉成為該矩陣S0(S341);將該矩陣S0進行轉換,以產生該轉置矩陣S1(S342);以該矩陣S0與該轉置矩陣S1的資料,進行連續性的重新交錯編碼排列成該字元序列資料S2,於本實施例中該字元序列資料S2為一維陣列S2(S343);及接續執行前述「將該字元序列資料S2加上一標頭資訊以構成一位元排列資料S3,並將該位元排列資料S3調變為一組聲波(S35);」步驟及「將該組聲波播放以供該第二裝置20接收,或儲存該組聲波(S36)」步驟。 By the above steps, the first device 10 plays a sound to the second device 20, and when the first device 10 receives the information, converts it into a digital data S, and when the error correction coding algorithm is executed. The continuous data in the matrix S0 is re-encoded to generate the character sequence data S2. In the present embodiment, when the method is executed to "execute an error correction coding algorithm (S34), the continuous data in the matrix S0 is made. When the steps are re-encoded to generate a character sequence data S2", as shown in FIG. 2 and FIG. 4, the method further includes the following steps: the digital data S containing the check code is rotated in a fixed direction to form the matrix S0. (S341); converting the matrix S0 to generate the transposed matrix S1 (S342); performing continuous re-interlacing coding on the matrix S0 and the data of the transposed matrix S1 into the character sequence data S2 In this embodiment, the character sequence data S2 is a one-dimensional array S2 (S343); and the foregoing "adding a header information to the character sequence data S2 to form a one-dimensional array data S3" The bit arrangement data S3 tone It is a set of sound waves (S35); "step and" the set of acoustic player for the second receiving means 20, or (S36) "step of storing the set of sound waves.

藉由上述步驟中於第一裝置10將該字元序列資料S2加上該標頭資訊以構成該位元排列資料S3,並將該位元排列資料S3調變為一組聲波以供該第二裝置接收20,於本實施例中當該第一裝置10將該組聲波播放並供該第二裝置20接收時,如圖5所示,並進一步由該第二裝置20執行下列步驟:接受一組聲波(S41);將該組聲波進行濾波並轉換(S42),本實施例中,該該第二裝置20係進一步透過一帶通濾波器、一快速傅立葉轉換(Fast Fourier Transform,FFT)以分別對該組聲波進行濾波、解調變;將轉換後的聲音特徵解調變為一數位資料(S43);根據該位元排列資料S3中的標頭資訊讀取該字元序列資料S2內容,並對該字元序列資料S2執行一錯誤更正對應解碼演算法,以取得正確的資訊(S44);將該資訊轉換成一字串並回傳 至近/遠端(S45),判斷是否繼續接收下一組聲波(S46),若是,則回到前述「接受一組聲波(S41)」步驟。 By adding the header information to the character sequence data S2 in the first step 10 to form the bit arrangement data S3, and converting the bit arrangement data S3 into a set of sound waves for the first The second device receives 20, in the embodiment, when the first device 10 plays the set of sound waves and is received by the second device 20, as shown in FIG. 5, and further, the second device 20 performs the following steps: accepting a set of sound waves (S41); the set of sound waves is filtered and converted (S42). In this embodiment, the second device 20 is further transmitted through a band pass filter and a Fast Fourier Transform (FFT). Filtering and demodulating the set of sound waves respectively; demodulating the converted sound feature into a digital data (S43); reading the character sequence data S2 according to the header information in the bit arrangement data S3 And performing an error correction on the character sequence data S2 corresponding to the decoding algorithm to obtain correct information (S44); converting the information into a string and returning the information The near/far end (S45) determines whether or not to continue receiving the next set of sound waves (S46), and if so, returns to the above-mentioned "accepting a set of sound waves (S41)" step.

再者,當上述步驟執行至「根據該位元排列資料S3中的標頭資訊讀取該字元序列資料S2內容,並對該字元序列資料S2執行一錯誤更正對應解碼演算法,以取得正確的資訊(S44)」步驟時,如圖6所示,並由該第二裝置20進一步執行下列步驟:讀取該組聲波經轉換後的聲音特徵(S441);將該聲音特徵進行解調變(S442),以產生該數位資料;根據該數位資料判斷是否有讀取到其中一標頭資訊(S443);若是,則讀取該字元序列資料S2內容(S444);對該字元序列資料S2執行該錯誤更正對應解碼演算法,以取得正確的資訊(S445);以一校驗碼再次判斷計算該數位資料S是否正確(S446);若是,則執行前述「將該資訊轉換成一字串並回傳至近/遠端(S45)」步驟;當執行前述「根據該數位資料判斷是否有讀取到其中一標頭資訊(S443)」步驟、或者當執行前述「以一校驗碼再次判斷計算該數位資料S是否正確(S446)」步驟時,若判斷結果為否,則改變讀取該組聲波的範圍(S447),並回到「讀取該組聲波經轉換後的聲音特徵(S441)」步驟。 Furthermore, when the above step is performed to "read the content of the character sequence data S2 according to the header information in the bit arrangement data S3, and perform an error correction corresponding decoding algorithm on the character sequence data S2 to obtain In the correct information (S44) step, as shown in FIG. 6, and the second device 20 further performs the following steps: reading the converted sound characteristics of the set of sound waves (S441); demodulating the sound features Changing (S442) to generate the digital data; determining, according to the digital data, whether one of the header information is read (S443); if so, reading the character sequence data S2 (S444); The sequence data S2 performs the error correction corresponding to the decoding algorithm to obtain correct information (S445); it is again determined by a check code whether the digital data S is correct (S446); if yes, the foregoing "converting the information into one And returning the string to the near/far end (S45) step; when performing the foregoing step of "determining whether one of the header information is read according to the digital data (S443)", or when performing the foregoing "with a check code" Again judge the calculation of the digit If the result of the data S is correct (S446), if the result of the determination is no, the range in which the set of sound waves is read is changed (S447), and the process returns to the step of "reading the converted sound characteristics of the set of sound waves (S441)". .

進一步的,於本實施例中當上述步驟執行至「對該字元序列資料S2執行該錯誤更正對應解碼演算法,以取得正確的資訊(S445)」步驟時,如圖2、圖7所示,該方法更包括下列步驟:取出該字元序列資料S2之資料內容中對應的矩陣S0及轉置矩陣S1(S4451);將該矩陣S0、該轉置矩陣S1進行還原排列(S4452);依序比對還原排列後的矩陣S0及轉置矩陣S1之資料內容,以取得錯誤位元值的資料(S4453);利用該威特比(Viterbi)演算法解碼,並取得正確的數位資料S內容(S4454);接續執行前述「以一校驗碼再次判斷計算該數位資料S是否正確(S446)」步驟。 Further, in the embodiment, when the above step is performed to the step of "execution of the error correction corresponding decoding algorithm on the character sequence data S2 to obtain correct information (S445)", as shown in FIG. 2 and FIG. The method further includes the steps of: taking out the corresponding matrix S0 and the transposed matrix S1 (S4451) in the data content of the character sequence data S2; and performing the reduction arrangement on the matrix S0 and the transposed matrix S1 (S4452); The sequence comparison restores the data contents of the aligned matrix S0 and the transposed matrix S1 to obtain the data of the error bit value (S4453); uses the Viterbi algorithm to decode and obtain the correct digital data S content. (S4454); Continuing to execute the above-mentioned "determining whether the digital data S is correct by a check code (S446)" step.

本發明透過錯誤更正編碼演算法及相對應的該錯誤更正對應解碼演算法,根據取得錯誤位元值的資料計算出最短路徑,以獲得最大機率之正確資訊內容,而且基於目前現有技術中一般手機晶片的運算能力尚無法進行太過複雜的運算,因此以前向錯誤更正的技術進行編碼,再以相對應的威特比演算法進行解碼,使聲波傳輸時大量錯誤的位元資料可以被修正,故確實解決在現有技術中使用相位偏移調變技術時,聲波在空氣傳遞係經常產生大量連續性的錯誤位元資料而導致無法校正之問題,並且更能提升系統取得隱藏資料的正確性及效率。 The invention corrects the corresponding decoding algorithm through the error correction coding algorithm and the corresponding error correction, calculates the shortest path according to the data of the error bit value, and obtains the correct information content of the maximum probability, and is based on the current prior art general mobile phone. The computing power of the chip is not yet able to perform too complicated operations. Therefore, the technique of error correction is previously encoded, and then decoded by the corresponding Viterbi algorithm, so that a large number of erroneous bit data can be corrected when the sound wave is transmitted. Therefore, when the phase shift modulation technique is used in the prior art, the sound wave often generates a large amount of continuous error bit data in the air transmission system, which causes an uncorrectable problem, and can improve the correctness of the hidden data obtained by the system. effectiveness.

10‧‧‧第一裝置 10‧‧‧ first device

11‧‧‧第一處理器 11‧‧‧First processor

12‧‧‧音訊輸出單元 12‧‧‧Audio output unit

13‧‧‧編碼器 13‧‧‧Encoder

20‧‧‧第二裝置 20‧‧‧second device

21‧‧‧第二處理器 21‧‧‧second processor

22‧‧‧音訊接收單元 22‧‧‧Optical receiving unit

23‧‧‧解碼器 23‧‧‧Decoder

Claims (11)

一種提升資料正確性之音訊傳輸系統的資料處理方法,主要係由一第一裝置向相匹配的一第二裝置傳遞聲波,並由該第一裝置執行下列步驟:接受一資訊,並將該資訊轉換為一數位資料;將該數位資料以一固定方向旋轉以排列為一矩陣;執行一錯誤更正編碼演算法,使得該矩陣中的連續資料被重新編碼排列以產生一字元序列資料;將該矩陣轉換以產生一轉置矩陣;以該矩陣與該轉置矩陣的資料,進行交錯排列成該字元序列資料;將該字元序列資料加上一標頭資訊以構成一位元排列資料,並將該位元排列資料調變為一組聲波;將該組聲波播放以供該第二裝置接收。 A data processing method for an audio transmission system for improving data correctness mainly comprises: transmitting, by a first device, a sound wave to a matching second device, and performing, by the first device, the following steps: receiving a message and the information Converting to a digital data; rotating the digital data in a fixed direction to be arranged into a matrix; performing an error correction coding algorithm such that successive data in the matrix are re-encoded to generate a character sequence data; Converting a matrix to generate a transposed matrix; interleaving the data of the matrix and the transposed matrix into the sequence of the character sequence; adding a header information to the sequence of the character sequence to form a bit-array data, And modulating the bit arrangement data into a set of sound waves; playing the set of sound waves for reception by the second device. 如請求項1所述之提升資料正確性之音訊傳輸系統的資料處理方法,當上述步驟執行至將該數位資料排列為該矩陣步驟,進一步執行下列步驟:於該數位資料中加入一校驗碼並排列為該矩陣。 For the data processing method of the audio transmission system for improving the correctness of the data described in claim 1, when the foregoing steps are performed to arrange the digital data into the matrix step, the following steps are further performed: adding a check code to the digital data. And arranged as the matrix. 如請求項1所述之提升資料正確性之音訊傳輸系統的資料處理方法,該方法進一步包括下列步驟:對該組聲波進行壓縮,並判斷是否需產生下一組聲波,若是,則回到前述接受一資訊步驟。 The data processing method for an audio transmission system for improving the correctness of data according to claim 1, the method further comprising the steps of: compressing the group of sound waves, and determining whether a next set of sound waves is to be generated, and if so, returning to the foregoing Accept an information step. 如請求項1所述之提升資料正確性之音訊傳輸系統的資料處理方法,其中該資訊可為一字串,將該資訊轉換為該數位資料,該數位資料包括一組二進制位元值。 The data processing method of the audio transmission system for improving the correctness of the data, as described in claim 1, wherein the information may be a string, and the information is converted into the digital data, and the digital data includes a set of binary bit values. 如請求項1所述之提升資料正確性之音訊傳輸系統的資料處理方法,其中該字元序列資料為一維陣列。 The data processing method of the audio transmission system for improving data correctness as described in claim 1, wherein the character sequence data is a one-dimensional array. 如請求項1至5中任一項所述之提升資料正確性之音訊傳輸系統的資料處理方法,於上述方法中當執行至該第一裝置將該組聲波播放並供該第二裝置接收步驟,並進一步由該第二裝置執行下列步驟:接受該組聲波;將該組聲波進行轉換;將轉換後的聲音特徵解調變為該數位資料;根據該標頭資訊讀取該字元序列資料內容,並執行一錯誤更正對應解碼演算法,以取得正確的資訊。 The data processing method of the audio transmission system for improving the correctness of the data according to any one of claims 1 to 5, wherein in the above method, performing the step of playing the set of sound waves to the first device and receiving the second device And further performing, by the second device, the following steps: accepting the set of sound waves; converting the set of sound waves; demodulating the converted sound features into the digital data; and reading the character sequence data according to the header information Content, and perform an error correction corresponding to the decoding algorithm to get the right information. 如請求項6所述之提升資料正確性之音訊傳輸系統的資料處理方法,當上述步驟執行至將該組聲波進行轉換步驟,並進一步包括下列步驟:將該組聲波進行濾波並轉換。 The data processing method of the audio transmission system for improving the correctness of the data as described in claim 6, when the above steps are performed to perform the conversion step of the set of sound waves, and further comprising the steps of: filtering and converting the set of sound waves. 如請求項6所述之提升資料正確性之音訊傳輸系統的資料處理方法,該方法更包括下列步驟:將該資訊轉換成一字串並回傳至近/遠端;判斷是否繼續接收下一組聲波,若是,則回到前述接受一組聲波步驟。 The data processing method of the audio transmission system for improving the correctness of the data as described in claim 6, the method further comprising the steps of: converting the information into a string and transmitting back to the near/far end; determining whether to continue receiving the next set of sound waves. If yes, go back to the previous step of accepting a set of sound waves. 如請求項8所述之提升資料正確性之音訊傳輸系統的資料處理方法,當上述步驟執行至根據該標頭資訊讀取該字元序列資料內容,並執行該錯誤更正對應解碼演算法,以取得正確的資訊步驟,並進一步執行下列步驟:讀取該組聲波的聲音特徵;將該聲音特徵進行解調變以產生該數位資料;根據該數位資料判斷是否有讀取到其中該標頭資訊;若是,則讀取該字元序列資料內容;執行該錯誤更正對應解碼演算法,以取得正確的資訊;再次判斷計算該數位資料是否正確; 若是,則執行前述將該資訊轉換成一字串並回傳至近/遠端步驟;當執行前述根據該數位資料判斷是否有讀取到其中該標頭資訊步驟、或者當執行前述再次判斷計算該數位資料是否正確步驟時,若判斷結果為否,則改變讀取該組聲波的範圍,並回到讀取該組聲波的聲音特徵步驟。 The data processing method of the audio transmission system for improving the correctness of the data as described in claim 8, when the step is performed to read the content of the character sequence according to the header information, and performing the error correction corresponding to the decoding algorithm, Obtaining the correct information step, and further performing the following steps: reading the sound characteristics of the set of sound waves; demodulating the sound feature to generate the digital data; determining whether the header information is read according to the digital data If yes, the content of the character sequence data is read; the error correction is performed corresponding to the decoding algorithm to obtain correct information; and it is determined again whether the digital data is calculated correctly; If yes, performing the foregoing conversion of the information into a string and returning to the near/far end step; performing the foregoing step of determining whether the header information is read according to the digital data, or calculating the digit when performing the foregoing re-determination If the data is correct, if the result of the determination is no, the range in which the set of sound waves is read is changed, and the sound characteristic step of reading the set of sound waves is returned. 如請求項9所述之提升資料正確性之音訊傳輸系統的資料處理方法,當上述步驟執行至執行該錯誤更正對應解碼演算法,以取得正確的資訊步驟,該方法更包括下列步驟:取出該字元序列資料之資料內容中的矩陣及轉置矩陣;依序比對還原排列後的矩陣及轉置矩陣內容,以取得錯誤位元資料;利用該威特比演算法解碼以取得正確的數位資料內容;接續執行前述再次判斷計算該數位資料是否正確步驟。 The data processing method of the audio transmission system for improving the correctness of the data as described in claim 9, when the above steps are performed to perform the error correction corresponding to the decoding algorithm to obtain the correct information step, the method further comprises the following steps: The matrix and the transposed matrix in the data content of the character sequence data; the aligned matrix and the transposed matrix content are sequentially compared to obtain the error bit data; the Viterbi algorithm is used to decode to obtain the correct digit Data content; continue to perform the foregoing steps to determine whether the digital data is correct. 一種提升資料正確性之音訊傳輸系統,其包括:一第一裝置,其包括一第一處理器、一音訊輸出單元及一編碼器,該第一處理器分別與該音訊輸出單元、該編碼器連接,並透過該音訊輸出單元將音訊輸出;一第二裝置,係與該第一裝置相匹配,該第二裝置包括一第二處理器、一音訊接收單元及一解碼器,該第二處理器分別與該音訊接收單元、該解碼器連接,該音訊接收單元係用以接收音訊,並傳送至該第二處理器,由該第二處理器執行音訊處理及解調變;其中,由該第一裝置執行如請求項1至5中任一項所述之提升資料正確性之音訊傳輸系統的資料處理方法;由該第二裝置執行如請求項6所述之提升資料正確性之音訊傳輸系統的資料處理方法。 An audio transmission system for improving data accuracy, comprising: a first device, comprising: a first processor, an audio output unit and an encoder, wherein the first processor and the audio output unit and the encoder respectively Connecting, and outputting audio through the audio output unit; a second device is matched with the first device, the second device includes a second processor, an audio receiving unit, and a decoder, the second processing The device is connected to the audio receiving unit and the decoder, and the audio receiving unit is configured to receive audio and transmit the audio to the second processor, where the second processor performs audio processing and demodulation; The first device performs the data processing method of the audio transmission system for improving the correctness of the data according to any one of claims 1 to 5; and the second device performs the audio transmission for improving the correctness of the data as described in claim 6 System data processing method.
TW104114979A 2015-05-12 2015-05-12 Information transmission system for improving the correctness of data and its data processing TWI569592B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
TW104114979A TWI569592B (en) 2015-05-12 2015-05-12 Information transmission system for improving the correctness of data and its data processing
SG10201603770XA SG10201603770XA (en) 2015-05-12 2016-05-11 Audio Signal Transmission System and Data Processing Method for Enhancing Data Accuracy of The Same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW104114979A TWI569592B (en) 2015-05-12 2015-05-12 Information transmission system for improving the correctness of data and its data processing

Publications (2)

Publication Number Publication Date
TW201640847A TW201640847A (en) 2016-11-16
TWI569592B true TWI569592B (en) 2017-02-01

Family

ID=57681109

Family Applications (1)

Application Number Title Priority Date Filing Date
TW104114979A TWI569592B (en) 2015-05-12 2015-05-12 Information transmission system for improving the correctness of data and its data processing

Country Status (2)

Country Link
SG (1) SG10201603770XA (en)
TW (1) TWI569592B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117650870A (en) * 2023-12-06 2024-03-05 北京荷智科技有限公司 Communication method, system, equipment and medium based on longitudinal coding error correction

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030212549A1 (en) * 2002-05-10 2003-11-13 Jack Steentra Wireless communication using sound
US20050226204A1 (en) * 2004-04-09 2005-10-13 Teruaki Uehara Method of controlling a receiving operation
US20120214416A1 (en) * 2011-02-23 2012-08-23 Jonathan Douglas Kent Methods and apparatuses for communication between devices
CN102957483A (en) * 2011-08-25 2013-03-06 深圳光启高等理工研究院 Terminal device, system and method for realizing communication by sound wave

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030212549A1 (en) * 2002-05-10 2003-11-13 Jack Steentra Wireless communication using sound
US20050226204A1 (en) * 2004-04-09 2005-10-13 Teruaki Uehara Method of controlling a receiving operation
US20120214416A1 (en) * 2011-02-23 2012-08-23 Jonathan Douglas Kent Methods and apparatuses for communication between devices
CN102957483A (en) * 2011-08-25 2013-03-06 深圳光启高等理工研究院 Terminal device, system and method for realizing communication by sound wave

Also Published As

Publication number Publication date
TW201640847A (en) 2016-11-16
SG10201603770XA (en) 2016-12-29

Similar Documents

Publication Publication Date Title
US8837257B2 (en) Acoustic modulation protocol
CN102007720B (en) Data substitution scheme for oversampled data
CN102291205B (en) High-reliability data transmission method and device based on multi-frequency sound waves
JP3860218B2 (en) A coding scheme for digital communication systems.
US5373511A (en) Method for decoding a reed solomon encoded signal with inner code and apparatus for doing same
US8074151B1 (en) Correcting errors in disk drive read back signals by iterating with the reed-solomon decoder
CN101218644A (en) Soft decoding method and apparatus, error correction method and apparatus, and soft output method and apparatus
CN105790852B (en) Data transmission method and system based on multifrequency sound wave
CN102394724A (en) Highly-reliable data transmission method and device based on dual tone multiple frequency sound waves
JPH08508866A (en) Soft error correction in TDMA wireless system
US20090193313A1 (en) Method and apparatus for decoding concatenated code
JPH06205054A (en) Error correction connecting encoding system
JP2012515410A (en) Adjustment of error correction capability of LDPC code for storage device test
ES2544538T3 (en) Devices, procedures, computer program to generate and decode a watermarked audio signal
JP3577287B2 (en) Method and apparatus for generating a channel error flag for error reduction and / or concealment at a source decoder
US20040264713A1 (en) Adaptive audio communication code
TWI569592B (en) Information transmission system for improving the correctness of data and its data processing
JPH09284147A (en) Viterbi decoding method and its circuit
CN108988957B (en) Air sound wave communication coding method based on linear frequency modulation
WO2007035599A2 (en) Method and system for control loop response time optimization
JPH10126387A (en) Bit error rate measuring instrument utilizing viterbi decoder
US20170063495A1 (en) Audio signal transmission system and data processing method for enhancing data accuracy of the same
JP4287778B2 (en) Communication quality determination apparatus and communication quality determination method
JP3249471B2 (en) Mobile communication method
JP3249457B2 (en) Voice transmission / reception equipment for digital communication