WO2014109071A1 - Information distribution system - Google Patents

Information distribution system Download PDF

Info

Publication number
WO2014109071A1
WO2014109071A1 PCT/JP2013/054993 JP2013054993W WO2014109071A1 WO 2014109071 A1 WO2014109071 A1 WO 2014109071A1 JP 2013054993 W JP2013054993 W JP 2013054993W WO 2014109071 A1 WO2014109071 A1 WO 2014109071A1
Authority
WO
WIPO (PCT)
Prior art keywords
error detection
information
signal
correction code
unit
Prior art date
Application number
PCT/JP2013/054993
Other languages
French (fr)
Japanese (ja)
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 株式会社フィールドシステム
Publication of WO2014109071A1 publication Critical patent/WO2014109071A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B11/00Transmission systems employing sonic, ultrasonic or infrasonic waves
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/03Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words
    • H03M13/05Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words using block codes, i.e. a predetermined number of check bits joined to a predetermined number of information bits
    • H03M13/09Error detection only, e.g. using cyclic redundancy check [CRC] codes or single parity bit
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0041Arrangements at the transmitter end
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0045Arrangements at the receiver end
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0061Error detection codes

Definitions

  • the present invention relates to an information distribution system that distributes various types of information from a transmitting device to a receiving device by acoustic communication using sound waves.
  • Patent Documents 1 and 2 consider the selective distribution. Absent.
  • a predetermined license key is inserted into outgoing data, and the distribution data can be received only by the receiving device having the same license key.
  • This system is also known.
  • the outgoing data will increase by the amount of the license key data.
  • the error rate during communication is high due to ambient noise and the like, and the transmission speed is also slow. Therefore, it is not desirable to increase the data capacity.
  • the present invention has been made in view of such a problem, and an object thereof is to provide an information distribution system capable of selective distribution in acoustic communication while suppressing an increase in data capacity.
  • an information distribution system includes a transmission device that converts various encoded information into sound waves and transmits the sound, and a reception device that receives the sound waves and decodes the various information.
  • the transmitting device encodes the various information while adding an error detection correction code for error detection and correction.
  • a baseband signal to generate a baseband signal by adding a selective distribution key to the calculation source data and calculating the error detection and correction code, and modulating the carrier by modulating the baseband signal
  • a modulation unit that generates a signal
  • a speaker that transmits the modulation signal as a sound wave.
  • the reception device includes a microphone that receives the sound wave, and a selective distribution key.
  • a calculation error detection / correction code generation unit for calculating a calculation error detection / correction code by adding the selected distribution key recorded in the storage unit to the original data; a reception error detection / correction code directly obtained from the demodulated signal;
  • a comparison unit that compares the calculated error detection and correction code, and a decoding unit that decodes the various types of information only when the comparison results by the comparison unit match.
  • the transmitting device is a transmitting device for distributing various types of information to the receiving device by acoustic communication, and encodes the various types of information while adding an error detection and correction code for error detection and correction.
  • An encoding unit that generates a signal, and adds a selective distribution key to calculation source data to calculate the error detection and correction code; and generates a modulation signal by modulating a carrier wave with the baseband signal
  • a modulation unit and a speaker that transmits the modulation signal as a sound wave are provided.
  • the receiving device is a receiving device that receives various types of information transmitted as sound waves that are encoded while adding an error detection and correction code calculated by adding a selective distribution key to the calculation source data in the transmitting device.
  • a microphone that receives the sound wave, a storage unit that records a selective distribution key, a demodulation unit that demodulates a reception signal of the microphone to generate a demodulation signal, and decodes the various information from the demodulation signal
  • a decoding unit, a calculation error detection correction code generation unit for calculating a calculation error detection correction code by adding the selected distribution key recorded in the storage unit to calculation source data obtained from the demodulated signal
  • a comparison unit that compares the received error detection and correction code directly obtained from the demodulated signal with the calculated error detection code, and the comparison result by the comparison unit matches A decoding unit which decodes only the various types of information, characterized in that it comprises a.
  • the acoustic signal transmission program is an acoustic signal transmission program for causing a computer to encode various types of information and transmitting it as a sound wave, and calculates an error detection and correction code by adding a selective distribution key to calculation source data.
  • a modulation step for generating a modulation signal to be transmitted.
  • the acoustic signal receiving program is encoded by adding an error detection and correction code calculated by adding a selective distribution key to the calculation source data in the transmission device, and transmits various information transmitted as sound waves to the computer.
  • a demodulation step for demodulating a reception signal of a microphone that has received the sound wave to generate a demodulation signal, and a selection recorded in the computer on calculation source data obtained from the demodulation signal
  • a calculation error detection correction code generation step for calculating a calculation error detection correction code by adding a distribution key
  • a comparison step for comparing the reception error detection correction code directly obtained from the demodulated signal with the calculation error detection correction code
  • the various information is decoded from the demodulated signal only when the comparison result in the comparison step matches. No. and step, It is characterized by providing.
  • the information distribution system enables selective distribution in acoustic communication while suppressing an increase in data capacity.
  • FIG. 1 is a schematic diagram schematically showing the configuration of an information distribution system according to an embodiment of the present invention.
  • FIG. 2 is a schematic diagram schematically showing the configuration of the transmission device according to the embodiment of the present invention.
  • FIG. 3 is a block diagram schematically showing functions of the transmitting device according to the embodiment of the present invention.
  • FIG. 4 is a diagram illustrating a frame structure of encoded data according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram schematically showing the configuration of the receiving apparatus according to the embodiment of the present invention.
  • FIG. 6 is a block diagram schematically showing functions of the receiving apparatus according to the embodiment of the present invention.
  • FIG. 7 is a diagram illustrating a frame structure of encoded data according to a modification of the embodiment of the present invention.
  • the information distribution system distributes various information such as a URL from a transmitting device installed in a store to a receiving device carried by a user staying in the store via sound waves using air as a medium. It is.
  • this information distribution system can selectively distribute various types of information to a specific receiving device from among a plurality of receiving devices.
  • FIG. 1 is a schematic diagram schematically showing a configuration of an information distribution system according to the present embodiment.
  • the information distribution system 1 includes a transmitting device 10 that transmits an acoustic signal that is a sound wave including various information as distribution information, a receiving device 30 that receives the acoustic signal and acquires various information, It has.
  • FIG. 2 is a schematic diagram schematically showing the configuration of the transmission device according to the present embodiment.
  • FIG. 3 is a block diagram schematically showing functions of the transmission device according to the present embodiment.
  • the transmitting device 10 is a PC (Personal Computer) installed in a store in order to distribute various information such as a store URL, bargain information, and coupon information to a user visiting the store.
  • the transmitting device 10 includes an arithmetic device 11 such as a CPU that performs various calculations, a storage device 12 including a hard disk drive that stores various information, a RAM that functions as a work area for arithmetic processing, and the like. And a speaker 17 for transmitting sound waves.
  • the storage device 12 records a program storage unit 121 that records various programs for executing predetermined processing described later in the transmission device 10, and various information such as URLs, bargain information, and coupon information distributed to the user.
  • a data storage unit 122 and a license key storage unit 123 that records a license key for receiving only by a specific receiving device 30 are provided.
  • the program storage unit 121 stores an acoustic signal transmission program for performing an acoustic signal transmission process in the transmission device 10.
  • the license key is a selective distribution key for selectively distributing distribution information to a specific receiving device 30. As will be described later, the license key is a license key used when the error detecting code is calculated in the transmitting device 10. Only the receiving device 30 having the same license key can acquire the distribution information.
  • the transmission device 10 includes an encoding unit 21, a carrier wave generation unit 22, and a modulation unit 25.
  • the functions of these units are realized by the arithmetic device 11 executing the acoustic signal transmission program in the program storage unit 121.
  • the encoding unit 21 includes an error detection code calculation unit 211 that calculates an error detection code (redundant bit) for detecting an error during communication, and while adding an error detection code and the like to distribution information distributed to the user,
  • the distribution information is encoded into frame structure data to generate a baseband signal.
  • FIG. 4 is a diagram showing a frame structure of encoded data according to the present embodiment.
  • a group of data shown in FIG. 4 is referred to as a frame.
  • a frame is composed of four data strings (data group, data transmission unit), and each string is called a packet.
  • the packets in the first column are arranged in order from the beginning, “Preamble” for synchronizing timing, “SOF” (Start of Frame) for identifying the beginning of the frame, and the format of the frame structure. “Type” indicating “Pkt count” indicating the total number of packets included in the frame, “SC data” indicating the data capacity of the encoded data (baseband signal) size ”and“ CRC8 ”for error detection.
  • the packets in the 2nd to 4th columns are “Packet ⁇ No. ”Indicating the packet numbers arranged in order from the top,“ data n ”to“ data n + 5 ”, CRC8 ”.
  • Each “data n” is 1 byte of data, and 6 bytes of data can be stored in each packet.
  • the error detection code calculation unit 211 that calculates CRC8 normally calculates an error detection code based on calculation source data that is data included in each packet. In this embodiment, this error detection code calculation unit 211 calculates this error detection code. An error detection code is calculated after adding a license key (selective distribution key) to the original data.
  • the error detection code calculation unit 211 calculates calculation source data including “Pkt count” and “SC data size” excluding “Preamble”, “SOF”, and “type” in the first column of the frame. Then, a predetermined license key recorded in the license key storage unit 123 is added to calculate CRC8. In the second to fourth columns of the frame (Packet No. 1 to No. 3), CRC8 is calculated by adding a predetermined license key to the calculation source data consisting of “Packet No. 1” and data body “data”. .
  • the receiving device 30 can perform decoding for each packet, and even in an environment with a high error rate, decoding can be performed for each packet from repeatedly transmitted acoustic signals. Thus, reliable information distribution can be realized.
  • the receiving device 30 when only one error detection code with a license key is inserted in a frame composed of a plurality of packets, the receiving device 30 that does not have the license key is restricted from performing data decoding on the entire frame. Even if it can, the data for each packet may be decoded. On the other hand, by inserting an error detection code with a license key into all packets, decoding for each packet can be restricted.
  • the administrator of the transmitting device 10 can arbitrarily select a license key to be used at the time of distribution in consideration of the distribution destination. If a plurality of license keys are stored in the license key storage unit 123, the management is performed. The person may select a license key to be used when the transmission device 10 performs a transmission process.
  • the error detection code calculation unit 211 can also calculate CRC8 only from normal calculation source data without adding a license key, and the encoded data (base (Band signal) is recorded in “type” indicating the frame format.
  • the carrier wave generation unit 22 generates a carrier wave (carrier) for transmitting the encoded distribution information.
  • the carrier frequency fc of the carrier wave can be set to, for example, 8,820 Hz, 11,760 Hz, or 14,700 Hz.
  • the modulation unit 25 modulates the carrier wave generated by the carrier wave generation unit 22 with the distribution information encoded as a frame in the encoding unit 21, that is, a baseband signal, and generates a modulation signal.
  • the modulation speed (baud rate) in the modulation unit 25 is, for example, 2,940 Hz.
  • As the modulation method for example, an SSB (Single Side Band) method, BPSK, QPSK, or the like is employed.
  • the modulation signal generated in the modulation unit 25 is transmitted from the speaker 17 into the air as a sound pressure vibration sound wave (acoustic signal, sound code).
  • a sound pressure vibration sound wave acoustic signal, sound code.
  • an acoustic signal is transmitted by recording a modulated wave (modulated signal) as an audio data file (wav file or the like) for a predetermined number of seconds and then repeatedly reproducing the audio data file a predetermined number of times.
  • FIG. 5 is a schematic diagram schematically showing the configuration of the receiving apparatus according to the present embodiment.
  • FIG. 6 is a block diagram schematically showing functions of the receiving apparatus according to the present embodiment.
  • the receiving device 30 is a portable terminal carried by a user visiting a store.
  • a smartphone is assumed, but a portable notebook PC, PDA (Personal Digital Assistant), tablet computer, netbook, game
  • Various computer terminals equipped with a microphone for receiving sound waves, such as a machine, can be used as the receiving device 30.
  • the receiving device 30 receives an arithmetic device 31 such as a CPU that performs various calculations, a storage device 32 including a flash memory that stores various information, a RAM that functions as a work area for arithmetic processing, and the above-described sound wave. And a microphone 36 for converting into an electrical signal.
  • an arithmetic device 31 such as a CPU that performs various calculations
  • a storage device 32 including a flash memory that stores various information
  • a RAM that functions as a work area for arithmetic processing
  • the above-described sound wave and the above-described sound wave.
  • a microphone 36 for converting into an electrical signal.
  • the storage device 32 records a program storage unit 321 that records various programs for executing predetermined processing (to be described later) in the receiving device 30, and a license key (selected delivery key) necessary for decrypting the received delivery information.
  • the program storage unit 321 stores an acoustic signal reception program for performing acoustic signal reception processing in the receiving device 30.
  • the acoustic signal reception program can be obtained by, for example, downloading in advance a dedicated reception program dedicated to the business provided by the business that distributes various types of information by the transmitting device 10.
  • the acoustic signal receiving program may be a general-purpose receiving program for receiving distribution information of a plurality of business operators.
  • the acquisition of the license key in the receiving device 30 needs to be performed in advance before receiving the distribution information.
  • a license key incorporated in the receiving program can be used.
  • the receiving program may be equipped with a license key download function so that the license key can be downloaded from the distributor's site as needed. .
  • the receiving device 30 demodulates the received signal received by the microphone 36 to generate a demodulated signal corresponding to the baseband signal, and decodes the demodulated signal to obtain distribution information.
  • the decoding unit 42 includes an error detection unit 421 that performs error detection using CRC8.
  • the transmission device 10 calculates the error detection code after adding the license key to the normal calculation source data.
  • the reception error detection code obtained by demodulating the reception signal is only compared with the calculation error detection code calculated from the calculation source data obtained by demodulating the reception signal. In this case, both values do not match, and appropriate error detection cannot be performed.
  • the error detection unit 421 generates a calculation error detection code 423 that generates a calculation error detection code calculated by adding the license key of the license key storage unit 323 to the calculation source data obtained from the demodulated signal, and the calculation A comparison unit 425 that compares the error detection code and the received error detection code directly obtained from the demodulated signal.
  • the error detection unit 421 determines that the received data is correct when the comparison result of the comparison unit 425 matches. According to the error detection unit 421 having such a configuration, it is determined that the received data is correct only when no communication error occurs and the license key on the transmission side matches the license key on the reception side. In the decoding unit 42, the distribution information is decoded.
  • the error detection unit 421 has an error detection function for detecting the occurrence of a communication error, and a license key verification function (selective distribution key verification function) for verifying whether the license keys on the transmission side and the reception side match.
  • a license key verification function selective distribution key verification function
  • the error detection unit 421 When a plurality of license keys are stored in the license key storage unit 323, the error detection unit 421 generates calculated error detection codes from all the license keys and compares them with the received error detection codes, If it matches any of the calculated error detection codes, it may be determined that the received data is correct. Also, at the time of reception, the user may be able to select a license key on the acoustic signal reception program.
  • the error detection unit 421 can also detect errors in encoded data (baseband signal) to which an error detection code (CRC8) calculated only from normal calculation source data is added, not an error detection code with a license key. Yes, with reference to “type” in the encoded data (baseband signal), it is possible to identify whether or not the error detection code includes a license key.
  • baseband signal encoded data
  • CRC8 error detection code
  • the calculation error detection code generation unit 423 calculates a calculation error detection code calculated only from the calculation source data obtained from the demodulated signal.
  • the comparison unit 425 compares the calculated error detection code with the reception error detection code obtained directly from the demodulated signal.
  • the decoding unit 42 extracts the data body portion from the demodulated signal and outputs it as distribution information. Thereby, the receiving device 30 can receive distribution information from the transmitting device 10 via sound waves.
  • the decoding unit 42 the error detection unit 421 performs error detection by comparing the error detection code obtained by demodulating the received signal with the error detection code calculated from the source data obtained by demodulating the received signal. Do.
  • an error detection code added in encoding when an error detection code added in encoding is calculated, an error detection is performed by adding a selective distribution key (license key) to the calculation source data.
  • a selective distribution key license key
  • distribution information can be received only by receiving apparatuses having the same selective distribution key, that is, selective distribution can be performed.
  • the selective delivery key for selective delivery is reflected in the value of the error detection code, there is no need to send the selective delivery key separately in the transmission data.
  • Selective distribution can be realized without increasing capacity and transmission time.
  • this embodiment is particularly useful because it is easily affected by noise, and the error rate increases significantly when the data capacity is large.
  • a frame structure composed of a plurality of data strings (packets) is adopted as a structure of encoded data (baseband signal), and a license is applied to all data strings constituting the frame. Since the keyed error detection code is inserted, decoding in the receiving device 30 can be restricted for each data string, and security can be further increased.
  • a PC is used as a transmission device, but various electronic devices (computers) including a speaker for transmitting sound waves, such as a television, a radio, a smartphone, and a game device, are used as the transmission device. it can.
  • error detection and correction includes both cases where only error detection is performed and cases where error correction is performed in addition to error detection.
  • CRC8 is taken as an example of the error detection and correction code added in encoding, but various error detection and correction codes such as CRC32, checksum, BCH code, and hash function (MD5) are used. be able to.
  • the frame structure composed of a plurality of data strings is adopted as the data structure of the encoded data.
  • a frame structure composed of a single data string as shown in FIG. 7 may be adopted. good.
  • the frame structure according to this modification example is composed of a single data string, and from the beginning “Preamble” for synchronizing timing, “SOF” (Start of Frame) for identifying the beginning of the frame, A “type” indicating the frame format, “data 1” to “data3” which are data bodies of distribution information, and “CRC8” for error detection are arranged.

Abstract

[Problem] To provide an information distribution system capable of selective distribution involving acoustic communication while preventing an increase in the volume of data. [Solution] An information distribution system (1) equipped with: an emitting device (10), equipped with an encoding unit (21) that adds a selective distribution key to calculation source data and calculates an error detection code, a modulation unit (25) that modulates a carrier wave by means of encoded data, and a speaker (17) that emits a modulated signal; and a reception device (30), equipped with a microphone (36), a storage unit (32) that records the selective distribution key, a demodulation unit (41) that demodulates the signal received by the microphone (36), and a decoding unit (42), having a calculation error detection code generation unit (423), which adds the selective distribution key in the storage unit (32) to the calculation source data obtained from the demodulated signal and calculates a calculation error detection code, and a comparison unit (425), which compares the calculation error detection code and the received error detection code obtained directly from the demodulated signal, with various information being decoded only when the comparison result is a match.

Description

情報配信システムInformation distribution system
 本発明は、音波による音響通信により発信装置から受信装置へと各種情報を配信する情報配信システムに関する。 The present invention relates to an information distribution system that distributes various types of information from a transmitting device to a receiving device by acoustic communication using sound waves.
 音波による音響通信により情報を提供する情報提供システムが従来から提供されており、例えば、下記特許文献1,2に開示されている。音響通信による音は一般的にスピーカーから広く発信されるため、音を拾える範囲内にある受信装置であれば、制限無く受信可能である。 Information providing systems that provide information through acoustic communication using sound waves have been provided in the past, and are disclosed, for example, in Patent Documents 1 and 2 below. Since sound by acoustic communication is generally transmitted from a speaker widely, any receiving device within a range where sound can be picked up can be received without limitation.
 ところで、音を拾える範囲内にある受信装置のうち、特定の受信装置にだけ情報を配信したいといった選択的配信の要望もあるが、下記特許文献1,2では、選択的配信については考慮されていない。 By the way, although there is a demand for selective distribution in which it is desired to distribute information only to a specific receiving device among receiving devices within the range where sound can be picked up, the following Patent Documents 1 and 2 consider the selective distribution. Absent.
 一方、特定の受信装置のみへの選択的配信を実現するために、発信データの中に所定のライセンスキーを挿入しておき、同じライセンスキーを有する受信装置にだけ配信データを受信できるように構成したシステムも知られている。 On the other hand, in order to realize selective distribution only to a specific receiving device, a predetermined license key is inserted into outgoing data, and the distribution data can be received only by the receiving device having the same license key. This system is also known.
特許第3834579号公報Japanese Patent No. 3833579 特許第4528365号公報Japanese Patent No. 45528365
 しかし、選択的配信のために、発信データの中にライセンスキーを挿入すると、ライセンスキーのデータ分だけ発信データが大きくなってしまう。音響通信は、周囲の雑音等のために通信時の誤り率が高く、伝送速度も遅いため、データ容量の増大は望ましくない。 However, if the license key is inserted into the outgoing data for selective distribution, the outgoing data will increase by the amount of the license key data. In acoustic communication, the error rate during communication is high due to ambient noise and the like, and the transmission speed is also slow. Therefore, it is not desirable to increase the data capacity.
 本発明は、このような課題に鑑みてなされたものであり、データ容量の増大を抑えながら、音響通信における選択的配信が可能な情報配信システムを提供することを目的とする。 The present invention has been made in view of such a problem, and an object thereof is to provide an information distribution system capable of selective distribution in acoustic communication while suppressing an increase in data capacity.
 上記課題を解決するために、本発明に係る情報配信システムは、符号化された各種情報を音波に変換して発信する発信装置と、前記音波を受信して前記各種情報を復号する受信装置とを備え、前記発信装置から前記受信装置へと音響通信により前記各種情報を配信する情報配信システムにおいて、前記発信装置は、誤り検出訂正のための誤り検出訂正符号を付加しながら前記各種情報を符号化してベースバンド信号を生成する符号化部であって、算出元データに選択配信キーを追加して前記誤り検出訂正符号を算出する符号化部と、前記ベースバンド信号により搬送波を変調して変調信号を生成する変調部と、前記変調信号を音波として発信するスピーカーと、を備え、前記受信装置は、前記音波を受信するマイクロフォンと、選択配信キーを記録しておく記憶部と、前記マイクロフォンの受信信号を復調して復調信号を生成する復調部と、前記復調信号から前記各種情報を復号する復号部であって、前記復調信号から求めた算出元データに前記記憶部に記録されている前記選択配信キーを追加して算出誤り検出訂正符号を算出する算出誤り検出訂正符号生成部と、前記復調信号から直接求めた受信誤り検出訂正符号と前記算出誤り検出訂正符号とを比較する比較部と、を備え、前記比較部による比較結果が一致した場合のみ前記各種情報を復号する復号部と、を備えることを特徴とする。 In order to solve the above-described problems, an information distribution system according to the present invention includes a transmission device that converts various encoded information into sound waves and transmits the sound, and a reception device that receives the sound waves and decodes the various information. In the information distribution system for distributing the various information by acoustic communication from the transmitting device to the receiving device, the transmitting device encodes the various information while adding an error detection correction code for error detection and correction. A baseband signal to generate a baseband signal by adding a selective distribution key to the calculation source data and calculating the error detection and correction code, and modulating the carrier by modulating the baseband signal A modulation unit that generates a signal; and a speaker that transmits the modulation signal as a sound wave. The reception device includes a microphone that receives the sound wave, and a selective distribution key. A storage unit for recording, a demodulation unit for demodulating a reception signal of the microphone to generate a demodulation signal, and a decoding unit for decoding the various information from the demodulation signal, the calculation obtained from the demodulation signal A calculation error detection / correction code generation unit for calculating a calculation error detection / correction code by adding the selected distribution key recorded in the storage unit to the original data; a reception error detection / correction code directly obtained from the demodulated signal; A comparison unit that compares the calculated error detection and correction code, and a decoding unit that decodes the various types of information only when the comparison results by the comparison unit match.
 また、本発明に係る発信装置は、各種情報を音響通信により受信装置へ配信するための発信装置において、誤り検出訂正のための誤り検出訂正符号を付加しながら前記各種情報を符号化してベースバンド信号を生成する符号化部であって、算出元データに選択配信キーを追加して前記誤り検出訂正符号を算出する符号化部と、前記ベースバンド信号により搬送波を変調して変調信号を生成する変調部と、前記変調信号を音波として発信するスピーカーと、を備えることを特徴とする。 Further, the transmitting device according to the present invention is a transmitting device for distributing various types of information to the receiving device by acoustic communication, and encodes the various types of information while adding an error detection and correction code for error detection and correction. An encoding unit that generates a signal, and adds a selective distribution key to calculation source data to calculate the error detection and correction code; and generates a modulation signal by modulating a carrier wave with the baseband signal A modulation unit and a speaker that transmits the modulation signal as a sound wave are provided.
 また、本発明に係る受信装置は、発信装置において算出元データに選択配信キーを追加して算出した誤り検出訂正符号を付加しながら符号化され、音波として発信された各種情報を受信する受信装置において、前記音波を受信するマイクロフォンと、選択配信キーを記録しておく記憶部と、前記マイクロフォンの受信信号を復調して復調信号を生成する復調部と、前記復調信号から前記各種情報を復号する復号部であって、前記復調信号から求めた算出元データに前記記憶部に記録されている前記選択配信キーを追加して算出誤り検出訂正符号を算出する算出誤り検出訂正符号生成部と、前記復調信号から直接求めた受信誤り検出訂正符号と前記算出誤り検出符号とを比較する比較部と、を備え、前記比較部による比較結果が一致した場合のみ前記各種情報を復号する復号部と、を備えることを特徴とする。 In addition, the receiving device according to the present invention is a receiving device that receives various types of information transmitted as sound waves that are encoded while adding an error detection and correction code calculated by adding a selective distribution key to the calculation source data in the transmitting device. , A microphone that receives the sound wave, a storage unit that records a selective distribution key, a demodulation unit that demodulates a reception signal of the microphone to generate a demodulation signal, and decodes the various information from the demodulation signal A decoding unit, a calculation error detection correction code generation unit for calculating a calculation error detection correction code by adding the selected distribution key recorded in the storage unit to calculation source data obtained from the demodulated signal; A comparison unit that compares the received error detection and correction code directly obtained from the demodulated signal with the calculated error detection code, and the comparison result by the comparison unit matches A decoding unit which decodes only the various types of information, characterized in that it comprises a.
 また、本発明に係る音響信号発信プログラムは、コンピュータに各種情報を符号化させて音波として発信させるための音響信号発信プログラムにおいて、算出元データに選択配信キーを追加して誤り検出訂正符号を算出する誤り検出訂正符号算出ステップと、前記誤り検出訂正符号を付加しながら前記各種情報を符号化してベースバンド信号を生成する符号化ステップと、前記ベースバンド信号により搬送波を変調して、スピーカーから音波として発信するための変調信号を生成する変調ステップと、を備えることを特徴とする。 Further, the acoustic signal transmission program according to the present invention is an acoustic signal transmission program for causing a computer to encode various types of information and transmitting it as a sound wave, and calculates an error detection and correction code by adding a selective distribution key to calculation source data. An error detection / correction code calculating step, an encoding step of encoding the various information while adding the error detection / correction code to generate a baseband signal, a carrier wave modulated by the baseband signal, and a sound wave from a speaker And a modulation step for generating a modulation signal to be transmitted.
 また、本発明に係る音響信号受信プログラムは、発信装置において算出元データに選択配信キーを追加して算出した誤り検出訂正符号を付加しながら符号化され、音波として発信された各種情報をコンピュータに受信させるための音響信号受信プログラムにおいて、前記音波を受信したマイクロフォンの受信信号を復調して復調信号を生成する復調ステップと、前記復調信号から求めた算出元データに前記コンピュータに記録されている選択配信キーを追加して算出誤り検出訂正符号を算出する算出誤り検出訂正符号生成ステップと、前記復調信号から直接求めた受信誤り検出訂正符号と前記算出誤り検出訂正符号とを比較する比較ステップと、前記比較ステップによる比較結果が一致した場合のみ前記復調信号から前記各種情報を復号する復号ステップと、
を備えることを特徴とする。
The acoustic signal receiving program according to the present invention is encoded by adding an error detection and correction code calculated by adding a selective distribution key to the calculation source data in the transmission device, and transmits various information transmitted as sound waves to the computer. In an acoustic signal reception program for receiving, a demodulation step for demodulating a reception signal of a microphone that has received the sound wave to generate a demodulation signal, and a selection recorded in the computer on calculation source data obtained from the demodulation signal A calculation error detection correction code generation step for calculating a calculation error detection correction code by adding a distribution key; a comparison step for comparing the reception error detection correction code directly obtained from the demodulated signal with the calculation error detection correction code; The various information is decoded from the demodulated signal only when the comparison result in the comparison step matches. No. and step,
It is characterized by providing.
 本発明に係る情報配信システムによれば、データ容量の増大を抑えながら、音響通信における選択的配信が可能となる。 The information distribution system according to the present invention enables selective distribution in acoustic communication while suppressing an increase in data capacity.
図1は、本発明の実施形態に係る情報配信システムの構成を概略的に示す模式図である。FIG. 1 is a schematic diagram schematically showing the configuration of an information distribution system according to an embodiment of the present invention. 図2は、本発明の実施形態に係る発信装置の構成を概略的に示す模式図である。FIG. 2 is a schematic diagram schematically showing the configuration of the transmission device according to the embodiment of the present invention. 図3は、本発明の実施形態に係る発信装置の機能を概略的に示すブロック図である。FIG. 3 is a block diagram schematically showing functions of the transmitting device according to the embodiment of the present invention. 図4は、本発明の実施形態に係る符号化されたデータのフレーム構造を示す図である。FIG. 4 is a diagram illustrating a frame structure of encoded data according to an embodiment of the present invention. 図5は、本発明の実施形態に係る受信装置の構成を概略的に示す模式図である。FIG. 5 is a schematic diagram schematically showing the configuration of the receiving apparatus according to the embodiment of the present invention. 図6は、本発明の実施形態に係る受信装置の機能を概略的に示すブロック図である。FIG. 6 is a block diagram schematically showing functions of the receiving apparatus according to the embodiment of the present invention. 図7は、本発明の実施形態の変形例に係る符号化されたデータのフレーム構造を示す図である。FIG. 7 is a diagram illustrating a frame structure of encoded data according to a modification of the embodiment of the present invention.
 以下、図面を参照しながら、本発明の実施形態に係る情報配信システムについて説明する。本実施形態に係る情報配信システムは、店舗に設置された発信装置から店舗内に滞在するユーザが携帯する受信装置へ、空気を媒体とした音波を介して、URL等の各種情報を配信するシステムである。また、この情報配信システムは、複数の受信装置の中から特定の受信装置に対して各種情報を選択的に配信可能である。 Hereinafter, an information distribution system according to an embodiment of the present invention will be described with reference to the drawings. The information distribution system according to the present embodiment distributes various information such as a URL from a transmitting device installed in a store to a receiving device carried by a user staying in the store via sound waves using air as a medium. It is. In addition, this information distribution system can selectively distribute various types of information to a specific receiving device from among a plurality of receiving devices.
 図1は、本実施形態に係る情報配信システムの構成を概略的に示す模式図である。同図に示すように、情報配信システム1は、配信情報としての各種情報を含む音波である音響信号を発信する発信装置10と、音響信号を受信して各種情報を取得する受信装置30と、を備えている。 FIG. 1 is a schematic diagram schematically showing a configuration of an information distribution system according to the present embodiment. As shown in the figure, the information distribution system 1 includes a transmitting device 10 that transmits an acoustic signal that is a sound wave including various information as distribution information, a receiving device 30 that receives the acoustic signal and acquires various information, It has.
 図2は、本実施形態に係る発信装置の構成を概略的に示す模式図である。図3は、本実施形態に係る発信装置の機能を概略的に示すブロック図である。 FIG. 2 is a schematic diagram schematically showing the configuration of the transmission device according to the present embodiment. FIG. 3 is a block diagram schematically showing functions of the transmission device according to the present embodiment.
 発信装置10は、店舗を訪れているユーザに対して店舗のURL、バーゲン情報、クーポン情報等の各種情報を配信するために、店舗に設置されるPC(Personal Computer)である。図2に示すように、発信装置10は、各種演算を行うCPU等の演算装置11と、各種情報を記憶しておくハードディスクドライブや演算処理のワークエリアとして機能するRAM等からなる記憶装置12と、音波を発信するためのスピーカー17と、を備えている。 The transmitting device 10 is a PC (Personal Computer) installed in a store in order to distribute various information such as a store URL, bargain information, and coupon information to a user visiting the store. As shown in FIG. 2, the transmitting device 10 includes an arithmetic device 11 such as a CPU that performs various calculations, a storage device 12 including a hard disk drive that stores various information, a RAM that functions as a work area for arithmetic processing, and the like. And a speaker 17 for transmitting sound waves.
 記憶装置12は、発信装置10において後述する所定の処理を実行する各種プログラムを記録しておくプログラム格納部121と、ユーザに配信するURLやバーゲン情報、クーポン情報等の各種情報を記録しておくデータ格納部122と、特定の受信装置30のみに受信させるためのライセンスキーを記録しておくライセンスキー格納部123と、を備えている。 The storage device 12 records a program storage unit 121 that records various programs for executing predetermined processing described later in the transmission device 10, and various information such as URLs, bargain information, and coupon information distributed to the user. A data storage unit 122 and a license key storage unit 123 that records a license key for receiving only by a specific receiving device 30 are provided.
 プログラム格納部121には、発信装置10における音響信号の発信処理を行うための音響信号発信プログラムが格納されている。また、ライセンスキーは、配信情報を特定の受信装置30に選択的に配信するための選択配信キーであり、後述するように、発信装置10において誤り検出符号算出の際に用いられたライセンスキーと同じライセンスキーを有する受信装置30のみが配信情報を取得することができる。 The program storage unit 121 stores an acoustic signal transmission program for performing an acoustic signal transmission process in the transmission device 10. The license key is a selective distribution key for selectively distributing distribution information to a specific receiving device 30. As will be described later, the license key is a license key used when the error detecting code is calculated in the transmitting device 10. Only the receiving device 30 having the same license key can acquire the distribution information.
 また、図3に示すように、発信装置10は、符号化部21と、搬送波生成部22と、変調部25と、を備えている。これら各部の機能は、演算装置11がプログラム格納部121内の音響信号発信プログラムを実行することで実現される。 Further, as shown in FIG. 3, the transmission device 10 includes an encoding unit 21, a carrier wave generation unit 22, and a modulation unit 25. The functions of these units are realized by the arithmetic device 11 executing the acoustic signal transmission program in the program storage unit 121.
 符号化部21は、通信時の誤りを検出するための誤り検出符号(冗長ビット)を算出する誤り検出符号算出部211を備え、ユーザに配信する配信情報に誤り検出符号等を付加しながら、配信情報をフレーム構造のデータに符号化してベースバンド信号を生成する。 The encoding unit 21 includes an error detection code calculation unit 211 that calculates an error detection code (redundant bit) for detecting an error during communication, and while adding an error detection code and the like to distribution information distributed to the user, The distribution information is encoded into frame structure data to generate a baseband signal.
 図4は、本実施形態に係る符号化されたデータのフレーム構造を示す図である。本実施形態では、図4に示すデータのまとまりをフレームと称している。フレームは、4つのデータ列(データ群、データ伝送単位)から構成されており、各列をパケットと称している。 FIG. 4 is a diagram showing a frame structure of encoded data according to the present embodiment. In this embodiment, a group of data shown in FIG. 4 is referred to as a frame. A frame is composed of four data strings (data group, data transmission unit), and each string is called a packet.
 図4において、1列目のパケットは、先頭から順に配置された、タイミングを同期するための「Preamble」、フレームの先頭を識別するための「SOF」(Start of Frame)、フレーム構造の形式を示す「type」、フレームに含まれる総パケット数を示す「Pkt count」、符号化データ(ベースバンド信号)のデータ容量を示す「SC data
size」、誤り検出のための「CRC8」、から構成されている。
In FIG. 4, the packets in the first column are arranged in order from the beginning, “Preamble” for synchronizing timing, “SOF” (Start of Frame) for identifying the beginning of the frame, and the format of the frame structure. “Type” indicating “Pkt count” indicating the total number of packets included in the frame, “SC data” indicating the data capacity of the encoded data (baseband signal)
size ”and“ CRC8 ”for error detection.
 2~4列目のパケットは、それぞれ、先頭から順に配置されたパケット番号を示す「Packet No.」、配信情報のデータ本体(ペイロード)である「data n」~「data n+5」、「CRC8」から構成されている。各「data n」は、1バイト分のデータであり、各パケットには、6バイト分のデータを格納することができる。 The packets in the 2nd to 4th columns are “Packet」 No. ”Indicating the packet numbers arranged in order from the top,“ data n ”to“ data n + 5 ”, CRC8 ”. Each “data n” is 1 byte of data, and 6 bytes of data can be stored in each packet.
 ここで、CRC8を算出する誤り検出符号算出部211は、通常であれば、各パケットに含まれるデータである算出元データに基づいて、誤り検出符号を算出するが、本実施形態では、この算出元データにさらにライセンスキー(選択配信キー)を追加したうえで誤り検出符号を算出している。 Here, the error detection code calculation unit 211 that calculates CRC8 normally calculates an error detection code based on calculation source data that is data included in each packet. In this embodiment, this error detection code calculation unit 211 calculates this error detection code. An error detection code is calculated after adding a license key (selective distribution key) to the original data.
 具体的には、誤り検出符号算出部211は、フレームの1列目では、「Preamble」、「SOF」、「type」を除いた「Pkt count」及び「SC data size」からなる算出元データに、ライセンスキー格納部123に記録されている所定のライセンスキーを追加してCRC8を算出する。また、フレームの2~4列目(Packet No.1~No.3)では、「Packet No.」及びデータ本体「data」からなる算出元データに所定のライセンスキーを追加してCRC8を算出する。 Specifically, the error detection code calculation unit 211 calculates calculation source data including “Pkt count” and “SC data size” excluding “Preamble”, “SOF”, and “type” in the first column of the frame. Then, a predetermined license key recorded in the license key storage unit 123 is added to calculate CRC8. In the second to fourth columns of the frame (Packet No. 1 to No. 3), CRC8 is calculated by adding a predetermined license key to the calculation source data consisting of “Packet No. 1” and data body “data”. .
 このように、パケット毎に番号を付しておくことで、受信装置30側ではパケット毎の復号が可能となり、エラー率の高い環境においても、繰り返し発信される音響信号からパケット毎に復号することで、確実な情報配信を実現することができる。 Thus, by assigning a number to each packet, the receiving device 30 can perform decoding for each packet, and even in an environment with a high error rate, decoding can be performed for each packet from repeatedly transmitted acoustic signals. Thus, reliable information distribution can be realized.
 そして、フレームを構成する全てのパケットにライセンスキーを追加して算出した誤り検出符号(ライセンスキー入り誤り検出符号)を挿入しておくことで、パケット毎に受信装置30における復号をコントロールすることができ、よりセキュリティを高めることができる。 Then, by inserting an error detection code (an error detection code with a license key) calculated by adding a license key into all packets constituting the frame, decoding in the receiving device 30 can be controlled for each packet. Yes, security can be improved.
 例えば、複数のパケットからなるフレームに1つのライセンスキー入り誤り検出符号しか挿入されていない場合には、当該ライセンスキーを有していない受信装置30において、フレーム全体でのデータ復号を行うことを制限できても、パケット毎のデータが復号されてしまうおそれがある。これに対して、全てのパケットにライセンスキー入り誤り検出符号を挿入しておくことで、パケット毎の復号も制限することができる。 For example, when only one error detection code with a license key is inserted in a frame composed of a plurality of packets, the receiving device 30 that does not have the license key is restricted from performing data decoding on the entire frame. Even if it can, the data for each packet may be decoded. On the other hand, by inserting an error detection code with a license key into all packets, decoding for each packet can be restricted.
 なお、発信装置10の管理者は、配信先を考慮して配信時に使用するライセンスキーを任意に選択可能であり、ライセンスキー格納部123に複数のライセンスキーが格納されている場合には、管理者は、発信装置10に発信処理を行わせる際に、使用するライセンスキーを選択すれば良い。 Note that the administrator of the transmitting device 10 can arbitrarily select a license key to be used at the time of distribution in consideration of the distribution destination. If a plurality of license keys are stored in the license key storage unit 123, the management is performed. The person may select a license key to be used when the transmission device 10 performs a transmission process.
 もちろん、誤り検出符号算出部211は、ライセンスキーを追加せずに、通常の算出元データのみからCRC8を算出することも可能であり、ライセンスキーを追加してCRC8を算出した符号化データ(ベースバンド信号)であるか否かの情報は、フレーム形式を表す「type」に記録される。 Of course, the error detection code calculation unit 211 can also calculate CRC8 only from normal calculation source data without adding a license key, and the encoded data (base (Band signal) is recorded in “type” indicating the frame format.
 搬送波生成部22は、符号化された配信情報を乗せて送るための搬送波(キャリア)を生成する。搬送波のキャリア周波数fcは、例えば、8,820Hz、11,760Hz、14,700Hzとすることができる。 The carrier wave generation unit 22 generates a carrier wave (carrier) for transmitting the encoded distribution information. The carrier frequency fc of the carrier wave can be set to, for example, 8,820 Hz, 11,760 Hz, or 14,700 Hz.
 変調部25は、符号化部21においてフレームとして符号化された配信情報、すなわちベースバンド信号により、搬送波生成部22で生成された搬送波を変調して変調信号を生成する。変調部25における変調速度(ボーレート)は、例えば、2,940Hzである。変調方式としては、例えば、SSB(Single Sideband)方式、BPSK、QPSK等が採用される。 The modulation unit 25 modulates the carrier wave generated by the carrier wave generation unit 22 with the distribution information encoded as a frame in the encoding unit 21, that is, a baseband signal, and generates a modulation signal. The modulation speed (baud rate) in the modulation unit 25 is, for example, 2,940 Hz. As the modulation method, for example, an SSB (Single Side Band) method, BPSK, QPSK, or the like is employed.
 変調部25において生成された変調信号は、スピーカー17から音圧振動の音波(音響信号、サウンドコード)として空気中に発信される。発信に際しては、変調波(変調信号)を音声データファイル(wavファイル等)として所定の秒数記録した後に、この音声データファイルを所定回数繰り返し再生することで、音響信号を発信している。 The modulation signal generated in the modulation unit 25 is transmitted from the speaker 17 into the air as a sound pressure vibration sound wave (acoustic signal, sound code). At the time of transmission, an acoustic signal is transmitted by recording a modulated wave (modulated signal) as an audio data file (wav file or the like) for a predetermined number of seconds and then repeatedly reproducing the audio data file a predetermined number of times.
 続いて、受信装置30の構成について説明する。図5は、本実施形態に係る受信装置の構成を概略的に示す模式図である。図6は、本実施形態に係る受信装置の機能を概略的に示すブロック図である。 Subsequently, the configuration of the receiving device 30 will be described. FIG. 5 is a schematic diagram schematically showing the configuration of the receiving apparatus according to the present embodiment. FIG. 6 is a block diagram schematically showing functions of the receiving apparatus according to the present embodiment.
 受信装置30は、店舗を訪れているユーザが携帯している携帯端末であり、例えば、スマートフォンが想定されるが、携帯用ノートPC、PDA(Personal Digital Assistant)、タブレット型コンピュータ、ネットブック、ゲーム機等、音波を受信するためのマイクロフォンを備える種々のコンピュータ端末を受信装置30として使用することができる。 The receiving device 30 is a portable terminal carried by a user visiting a store. For example, a smartphone is assumed, but a portable notebook PC, PDA (Personal Digital Assistant), tablet computer, netbook, game Various computer terminals equipped with a microphone for receiving sound waves, such as a machine, can be used as the receiving device 30.
 受信装置30は、各種演算を行うCPU等の演算装置31と、各種情報を記憶しておくフラッシュメモリや演算処理のワークエリアとして機能するRAM等からなる記憶装置32と、上述した音波を受信して電気信号に変換するためのマイクロフォン36と、を備えている。 The receiving device 30 receives an arithmetic device 31 such as a CPU that performs various calculations, a storage device 32 including a flash memory that stores various information, a RAM that functions as a work area for arithmetic processing, and the above-described sound wave. And a microphone 36 for converting into an electrical signal.
 記憶装置32は、受信装置30において後述する所定の処理を実行する各種プログラムを記録しておくプログラム格納部321と、受信した配信情報を復号するために必要なライセンスキー(選択配信キー)を記録しておくライセンスキー格納部323と、を備えている。 The storage device 32 records a program storage unit 321 that records various programs for executing predetermined processing (to be described later) in the receiving device 30, and a license key (selected delivery key) necessary for decrypting the received delivery information. A license key storage unit 323.
 プログラム格納部321には、受信装置30における音響信号の受信処理を行うための音響信号受信プログラムが格納されている。音響信号受信プログラムは、例えば、発信装置10により各種情報を配信する事業者が提供する当該事業者専用の専用受信プログラムを事前にダウンロードして取得することができる。また、音響信号受信プログラムは、複数の事業者の配信情報を受信するための汎用受信プログラムであっても良い。 The program storage unit 321 stores an acoustic signal reception program for performing acoustic signal reception processing in the receiving device 30. The acoustic signal reception program can be obtained by, for example, downloading in advance a dedicated reception program dedicated to the business provided by the business that distributes various types of information by the transmitting device 10. The acoustic signal receiving program may be a general-purpose receiving program for receiving distribution information of a plurality of business operators.
 受信装置30におけるライセンスキーの取得は、配信情報の受信前に予め行っておく必要がある。例えば、専用の音響信号受信プログラムの場合には、当該受信プログラム内に組み込まれたライセンスキーを使用することができる。また、汎用の音響信号受信プログラムの場合には、受信プログラムにライセンスキーのダウンロード機能を装備しておき、必要に応じて、適宜配信事業者のサイトからライセンスキーをダウンロードできるようにしておけば良い。 The acquisition of the license key in the receiving device 30 needs to be performed in advance before receiving the distribution information. For example, in the case of a dedicated acoustic signal receiving program, a license key incorporated in the receiving program can be used. In the case of a general-purpose audio signal receiving program, the receiving program may be equipped with a license key download function so that the license key can be downloaded from the distributor's site as needed. .
 また、図6に示すように、受信装置30は、マイクロフォン36が受信した受信信号を復調してベースバンド信号に相当する復調信号を生成する復調部41と、復調信号を復号して配信情報を生成する復号部42と、を備えている。これらの各部の機能は、演算装置31がプログラム格納部321内の音響信号受信プログラムを実行することで実現される。 Further, as shown in FIG. 6, the receiving device 30 demodulates the received signal received by the microphone 36 to generate a demodulated signal corresponding to the baseband signal, and decodes the demodulated signal to obtain distribution information. A decoding unit 42 for generation. The functions of these units are realized by the arithmetic device 31 executing the acoustic signal receiving program in the program storage unit 321.
 復号部42は、CRC8による誤り検出を行う誤り検出部421を備えている。ここで、上述したように、発信装置10では符号化部21における誤り検出符号を算出する際に、通常の算出元データにライセンスキーを付加したうえで誤り検出符号を算出している。 The decoding unit 42 includes an error detection unit 421 that performs error detection using CRC8. Here, as described above, when calculating the error detection code in the encoding unit 21, the transmission device 10 calculates the error detection code after adding the license key to the normal calculation source data.
 このため、受信装置30において、従来のように、受信信号を復調して求めた受信誤り検出符号と、受信信号を復調して求めた算出元データから算出した算出誤り検出符号とを比較しただけでは、両値が一致することはなく、適切な誤り検出を行うことができない。 For this reason, in the receiving device 30, as in the prior art, the reception error detection code obtained by demodulating the reception signal is only compared with the calculation error detection code calculated from the calculation source data obtained by demodulating the reception signal. In this case, both values do not match, and appropriate error detection cannot be performed.
 よって、誤り検出部421は、復調信号から求めた算出元データにライセンスキー格納部323のライセンスキーを追加して算出される算出誤り検出符号を生成する算出誤り検出符号生成部423と、この算出誤り検出符号と復調信号から直接求めた受信誤り検出符号とを比較する比較部425と、を備えている。 Therefore, the error detection unit 421 generates a calculation error detection code 423 that generates a calculation error detection code calculated by adding the license key of the license key storage unit 323 to the calculation source data obtained from the demodulated signal, and the calculation A comparison unit 425 that compares the error detection code and the received error detection code directly obtained from the demodulated signal.
 そして、誤り検出部421は、比較部425の比較結果が一致したときに受信したデータが正しいと判断する。このような構成の誤り検出部421によれば、通信エラーが発生しておらず、且つ、発信側のライセンスキーと受信側のライセンスキーが一致した場合にのみ、受信したデータが正しいと判断され、復号部42において配信情報が復号されることになる。 Then, the error detection unit 421 determines that the received data is correct when the comparison result of the comparison unit 425 matches. According to the error detection unit 421 having such a configuration, it is determined that the received data is correct only when no communication error occurs and the license key on the transmission side matches the license key on the reception side. In the decoding unit 42, the distribution information is decoded.
 すなわち、誤り検出部421は、通信エラーの発生を検出するエラー検出機能と、発信側と受信側のライセンスキーが一致するか否かを照合するライセンスキー照合機能(選択配信キー照合機能)とを有している。 That is, the error detection unit 421 has an error detection function for detecting the occurrence of a communication error, and a license key verification function (selective distribution key verification function) for verifying whether the license keys on the transmission side and the reception side match. Have.
 なお、ライセンスキー格納部323に複数のライセンスキーが格納されている場合には、誤り検出部421は、全てのライセンスキーから算出誤り検出符号を生成して、それぞれ受信誤り検出符号と比較し、何れかの算出誤り検出符号と一致した場合には、受信したデータが正しいと判定するようにすれば良い。また、受信の際に、ユーザが音響信号受信プログラム上でライセンスキーの選択をできるようにしても良い。 When a plurality of license keys are stored in the license key storage unit 323, the error detection unit 421 generates calculated error detection codes from all the license keys and compares them with the received error detection codes, If it matches any of the calculated error detection codes, it may be determined that the received data is correct. Also, at the time of reception, the user may be able to select a license key on the acoustic signal reception program.
 また、誤り検出部421は、ライセンスキー入り誤り検出符号ではなく、通常の算出元データのみから算出した誤り検出符号(CRC8)が付加された符号化データ(ベースバンド信号)の誤り検出も可能であり、符号化データ(ベースバンド信号)内の「type」を参照することでライセンスキー入りの誤り検出符号であるか否かを識別できる。 The error detection unit 421 can also detect errors in encoded data (baseband signal) to which an error detection code (CRC8) calculated only from normal calculation source data is added, not an error detection code with a license key. Yes, with reference to “type” in the encoded data (baseband signal), it is possible to identify whether or not the error detection code includes a license key.
 通常の算出元データのみから算出した誤り検出符号が付加された符号化データの場合には、算出誤り検出符号生成部423は、復調信号から求めた算出元データのみから算出される算出誤り検出符号を生成し、比較部425は、この算出誤り検出符号と復調信号から直接求めた受信誤り検出符号とを比較する。 In the case of encoded data to which an error detection code calculated only from normal calculation source data is added, the calculation error detection code generation unit 423 calculates a calculation error detection code calculated only from the calculation source data obtained from the demodulated signal. The comparison unit 425 compares the calculated error detection code with the reception error detection code obtained directly from the demodulated signal.
 誤り検出部421が、受信したデータが正しいと判断すると、復号部42は、復調信号からデータ本体の部分を抽出して配信情報として出力する。これにより、受信装置30は、音波を介して発信装置10から配信情報を受信することができる。 When the error detection unit 421 determines that the received data is correct, the decoding unit 42 extracts the data body portion from the demodulated signal and outputs it as distribution information. Thereby, the receiving device 30 can receive distribution information from the transmitting device 10 via sound waves.
 なお、受信装置30において、受信した復調信号のフレーム形式「type」を参照することで、受信したデータが通常の算出元データのみからCRC8を算出したデータであると判断した場合には、復号部42は、誤り検出部421において、従来通り、受信信号を復調して求めた誤り検出符号と、受信信号を復調して求めた算出元データから算出した誤り検出符号とを比較して誤り検出を行う。 When the receiving device 30 determines that the received data is data obtained by calculating CRC8 from only normal calculation source data by referring to the frame format “type” of the received demodulated signal, the decoding unit 42, the error detection unit 421 performs error detection by comparing the error detection code obtained by demodulating the received signal with the error detection code calculated from the source data obtained by demodulating the received signal. Do.
 以上、本実施形態について詳細に説明したが、本実施形態によれば、符号化において付加される誤り検出符号を算出する際に、算出元データに選択配信キー(ライセンスキー)を加えて誤り検出符号を算出することで、同じ選択配信キーを有する受信装置に対してのみ配信情報を受信させる、すなわち選択的配信を行うことができる。 Although the present embodiment has been described in detail above, according to the present embodiment, when an error detection code added in encoding is calculated, an error detection is performed by adding a selective distribution key (license key) to the calculation source data. By calculating the code, distribution information can be received only by receiving apparatuses having the same selective distribution key, that is, selective distribution can be performed.
 また、本実施形態によれば、選択的配信のための選択配信キーを誤り検出符号の値に反映させることで、選択配信キーを別途送信データの中に入れて送る必要がないため、送信データ容量及び送信時間を増やすことなく、選択的配信を実現することができる。特に、音響通信の場合には、雑音の影響を受けやすく、データ容量が大きいとエラー率が格段に高くなってしまうため、本実施形態は特に有用である。 Further, according to the present embodiment, since the selective delivery key for selective delivery is reflected in the value of the error detection code, there is no need to send the selective delivery key separately in the transmission data. Selective distribution can be realized without increasing capacity and transmission time. In particular, in the case of acoustic communication, this embodiment is particularly useful because it is easily affected by noise, and the error rate increases significantly when the data capacity is large.
 また、本実施形態においては、符号化されたデータ(ベースバンド信号)の構造として、複数のデータ列(パケット)から構成されるフレーム構造を採用すると共に、フレームを構成する全てのデータ列にライセンスキー入り誤り検出符号を挿入しているので、データ列ごとに受信装置30における復号を制限することができ、セキュリティをより高めることができる。 In the present embodiment, a frame structure composed of a plurality of data strings (packets) is adopted as a structure of encoded data (baseband signal), and a license is applied to all data strings constituting the frame. Since the keyed error detection code is inserted, decoding in the receiving device 30 can be restricted for each data string, and security can be further increased.
 以上、本発明の実施の形態について説明したが、本発明の実施の形態は、上記実施形態に限定されるものではなく、本発明の主旨を逸脱しない範囲内で種々の変形が可能である。例えば、上記実施形態では、発信装置としてPCを用いているが、テレビ、ラジオ、スマートフォン、ゲーム装置等、音波を発信するためのスピーカーを備える種々の電子機器(コンピュータ)を発信装置として用いることができる。 The embodiment of the present invention has been described above. However, the embodiment of the present invention is not limited to the above embodiment, and various modifications can be made without departing from the gist of the present invention. For example, in the above embodiment, a PC is used as a transmission device, but various electronic devices (computers) including a speaker for transmitting sound waves, such as a television, a radio, a smartphone, and a game device, are used as the transmission device. it can.
 また、上記実施形態では、データの誤り検出訂正として、誤り検出のみを行う場合を例に挙げて説明したが、誤り検出と誤り訂正の双方を行う場合にも本発明は適用可能であるのは言うまでもない。本明細書において、誤り検出訂正という場合には、誤り検出のみを行う場合、誤り検出に加えて誤り訂正も行う場合の双方が含まれる。 Further, in the above-described embodiment, the case where only error detection is performed as an example of data error detection and correction has been described as an example. However, the present invention can also be applied to the case where both error detection and error correction are performed. Needless to say. In this specification, the term “error detection and correction” includes both cases where only error detection is performed and cases where error correction is performed in addition to error detection.
 また、上記実施形態では、符号化において付加される誤り検出訂正符号として、CRC8を例に挙げたが、CRC32、チェックサム、BCH符号、ハッシュ関数(MD5)等、種々の誤り検出訂正符号を用いることができる。 In the above embodiment, CRC8 is taken as an example of the error detection and correction code added in encoding, but various error detection and correction codes such as CRC32, checksum, BCH code, and hash function (MD5) are used. be able to.
 また、上記実施形態では、符号化データのデータ構造として、複数のデータ列からなるフレーム構造を採用したが、例えば、図7に示すような単一のデータ列からなるフレーム構造を採用しても良い。 In the above embodiment, the frame structure composed of a plurality of data strings is adopted as the data structure of the encoded data. However, for example, a frame structure composed of a single data string as shown in FIG. 7 may be adopted. good.
 本変形例に係るフレーム構造は、単一のデータ列から構成されており、先頭から、タイミングを同期するための「Preamble」、フレームの先頭を識別するための「SOF」(Start of Frame)、フレームの形式を示す「type」、配信情報のデータ本体である「data 1」~「data3」、誤り検出のための「CRC8」が配置されている。 The frame structure according to this modification example is composed of a single data string, and from the beginning “Preamble” for synchronizing timing, “SOF” (Start of Frame) for identifying the beginning of the frame, A “type” indicating the frame format, “data 1” to “data3” which are data bodies of distribution information, and “CRC8” for error detection are arranged.
 1   情報配信システム
 10  発信装置
 11  演算装置
 12  記憶装置
 121 プログラム格納部
 122 データ格納部
 123 ライセンスキー格納部
 17  スピーカー
 21  符号化部
 211 誤り検出符号算出部
 22  搬送波生成部
 25  変調部
 30  受信装置
 31  演算装置
 32  記憶装置
 321 プログラム格納部
 323 ライセンスキー格納部
 36  マイクロフォン
 41  復調部
 42  復号部
 421 誤り検出部
 423 算出誤り検出符号生成部
 425 比較部
DESCRIPTION OF SYMBOLS 1 Information delivery system 10 Transmission apparatus 11 Arithmetic apparatus 12 Storage apparatus 121 Program storage part 122 Data storage part 123 License key storage part 17 Speaker 21 Encoding part 211 Error detection code calculation part 22 Carrier wave generation part 25 Modulation part 30 Reception apparatus 31 Operation Device 32 Storage device 321 Program storage unit 323 License key storage unit 36 Microphone 41 Demodulation unit 42 Decoding unit 421 Error detection unit 423 Calculation error detection code generation unit 425 Comparison unit

Claims (8)

  1.  符号化された各種情報を音波に変換して発信する発信装置と、前記音波を受信して前記各種情報を復号する受信装置とを備え、前記発信装置から前記受信装置へと音響通信により前記各種情報を配信する情報配信システムにおいて、
     前記発信装置は、
     誤り検出訂正のための誤り検出訂正符号を付加しながら前記各種情報を符号化してベースバンド信号を生成する符号化部であって、算出元データに選択配信キーを追加して前記誤り検出訂正符号を算出する符号化部と、
     前記ベースバンド信号により搬送波を変調して変調信号を生成する変調部と、
     前記変調信号を音波として発信するスピーカーと、を備え、
     前記受信装置は、
     前記音波を受信するマイクロフォンと、
     選択配信キーを記録しておく記憶部と、
     前記マイクロフォンの受信信号を復調して復調信号を生成する復調部と、
     前記復調信号から前記各種情報を復号する復号部であって、前記復調信号から求めた算出元データに前記記憶部に記録されている前記選択配信キーを追加して算出誤り検出訂正符号を算出する算出誤り検出訂正符号生成部と、前記復調信号から直接求めた受信誤り検出訂正符号と前記算出誤り検出訂正符号とを比較する比較部と、を備え、前記比較部による比較結果が一致した場合のみ前記各種情報を復号する復号部と、を備えることを特徴とする情報配信システム。
    A transmitting device that converts various encoded information into sound waves and transmits the sound; and a receiving device that receives the sound waves and decodes the various information, and transmits the various information by acoustic communication from the transmitting device to the receiving device. In an information distribution system that distributes information,
    The transmitting device is
    An encoding unit that encodes the various types of information while adding an error detection and correction code for error detection and correction to generate a baseband signal, and adds the selective distribution key to the calculation source data to add the error detection and correction code An encoding unit for calculating
    A modulation unit that modulates a carrier wave with the baseband signal to generate a modulation signal;
    A speaker that transmits the modulation signal as a sound wave,
    The receiving device is:
    A microphone for receiving the sound wave;
    A storage unit for recording the selective delivery key;
    A demodulator that demodulates the received signal of the microphone to generate a demodulated signal;
    A decoding unit that decodes the various information from the demodulated signal, and calculates a calculation error detection and correction code by adding the selected distribution key recorded in the storage unit to calculation source data obtained from the demodulated signal A calculation error detection / correction code generation unit, and a comparison unit that compares the reception error detection / correction code directly obtained from the demodulated signal with the calculation error detection / correction code, and only when the comparison result by the comparison unit matches An information distribution system comprising: a decoding unit that decodes the various types of information.
  2.  前記発信装置において、前記符号化部は、複数のデータ列からなるフレーム構造のデータに符号化すると共に、前記誤り検出訂正符号は、このデータ列ごとに付加されることを特徴とする請求項1記載の情報配信システム。 2. The transmission apparatus according to claim 1, wherein the encoding unit encodes data having a frame structure including a plurality of data strings, and the error detection and correction code is added to each data string. The information distribution system described.
  3.  前記受信装置において、前記復号部は、前記データ列ごとに復号を行い、全ての前記データ列において前記比較部による比較が一致した場合に前記各種情報を復号することを特徴とする請求項2記載の情報配信システム。 3. The receiving apparatus according to claim 2, wherein the decoding unit performs decoding for each data string, and decodes the various types of information when the comparisons by the comparison unit match in all the data strings. Information distribution system.
  4.  前記発信装置において、前記符号化部は、前記選択配信キーを追加しないで前記算出元データのみから前記誤り検出訂正符号を算出することも可能であり、前記ベースバンド信号は、前記選択配信キーを追加して前記誤り検出訂正符号を算出した否かを示す情報を含んでいることを特徴とする請求項1乃至3何れか1項記載の情報配信システム。 In the transmitting device, the encoding unit may calculate the error detection and correction code only from the calculation source data without adding the selection distribution key, and the baseband signal may include the selection distribution key. 4. The information distribution system according to claim 1, further comprising information indicating whether or not the error detection and correction code has been calculated.
  5.  各種情報を音響通信により受信装置へ配信するための発信装置において、
     誤り検出訂正のための誤り検出訂正符号を付加しながら前記各種情報を符号化してベースバンド信号を生成する符号化部であって、算出元データに選択配信キーを追加して前記誤り検出訂正符号を算出する符号化部と、
     前記ベースバンド信号により搬送波を変調して変調信号を生成する変調部と、
     前記変調信号を音波として発信するスピーカーと、
    を備えることを特徴とする発信装置。
    In a transmitting device for distributing various information to a receiving device by acoustic communication,
    An encoding unit that encodes the various types of information while adding an error detection and correction code for error detection and correction to generate a baseband signal, and adds the selective distribution key to the calculation source data to add the error detection and correction code An encoding unit for calculating
    A modulation unit that modulates a carrier wave with the baseband signal to generate a modulation signal;
    A speaker for transmitting the modulated signal as a sound wave;
    A transmission device comprising:
  6.  発信装置において算出元データに選択配信キーを追加して算出した誤り検出訂正符号を付加しながら符号化され、音波として発信された各種情報を受信する受信装置において、
     前記音波を受信するマイクロフォンと、
     選択配信キーを記録しておく記憶部と、
     前記マイクロフォンの受信信号を復調して復調信号を生成する復調部と、
     前記復調信号から前記各種情報を復号する復号部であって、前記復調信号から求めた算出元データに前記記憶部に記録されている前記選択配信キーを追加して算出誤り検出訂正符号を算出する算出誤り検出訂正符号生成部と、前記復調信号から直接求めた受信誤り検出訂正符号と前記算出誤り検出符号とを比較する比較部と、を備え、前記比較部による比較結果が一致した場合のみ前記各種情報を復号する復号部と、
    を備えることを特徴とする受信装置。
    In a receiving device that receives various information that is encoded while adding an error detection and correction code calculated by adding a selective distribution key to the calculation source data in the transmitting device and transmitted as sound waves,
    A microphone for receiving the sound wave;
    A storage unit for recording the selective delivery key;
    A demodulator that demodulates the received signal of the microphone to generate a demodulated signal;
    A decoding unit that decodes the various information from the demodulated signal, and calculates a calculation error detection and correction code by adding the selected distribution key recorded in the storage unit to calculation source data obtained from the demodulated signal A calculation error detection / correction code generation unit, and a comparison unit that compares the calculation error detection code with a reception error detection / correction code directly obtained from the demodulated signal, and only when the comparison result by the comparison unit matches A decoding unit for decoding various information;
    A receiving apparatus comprising:
  7.  コンピュータに各種情報を符号化させて音波として発信させるための音響信号発信プログラムにおいて、
     算出元データに選択配信キーを追加して誤り検出訂正符号を算出する誤り検出訂正符号算出ステップと、
     前記誤り検出訂正符号を付加しながら前記各種情報を符号化してベースバンド信号を生成する符号化ステップと、
     前記ベースバンド信号により搬送波を変調して、スピーカーから音波として発信するための変調信号を生成する変調ステップと、
    を備えることを特徴とする音響信号発信プログラム。
    In an acoustic signal transmission program for causing a computer to encode various information and transmit it as a sound wave,
    An error detection correction code calculation step of calculating an error detection correction code by adding a selective distribution key to the calculation source data;
    An encoding step of generating a baseband signal by encoding the various information while adding the error detection and correction code;
    A modulation step of modulating a carrier wave with the baseband signal to generate a modulation signal to be transmitted as a sound wave from a speaker;
    An acoustic signal transmission program comprising:
  8.  発信装置において算出元データに選択配信キーを追加して算出した誤り検出訂正符号を付加しながら符号化され、音波として発信された各種情報をコンピュータに受信させるための音響信号受信プログラムにおいて、
     前記音波を受信したマイクロフォンの受信信号を復調して復調信号を生成する復調ステップと、
     前記復調信号から求めた算出元データに前記コンピュータに記録されている選択配信キーを追加して算出誤り検出訂正符号を算出する算出誤り検出訂正符号生成ステップと、
     前記復調信号から直接求めた受信誤り検出訂正符号と前記算出誤り検出訂正符号とを比較する比較ステップと、
     前記比較ステップによる比較結果が一致した場合のみ前記復調信号から前記各種情報を復号する復号ステップと、
    を備えることを特徴とする音響信号受信プログラム。
    In an acoustic signal receiving program for causing a computer to receive various types of information that are encoded while adding an error detection and correction code calculated by adding a selection distribution key to the calculation source data in the transmission device,
    A demodulation step of demodulating a reception signal of the microphone that has received the sound wave to generate a demodulation signal;
    A calculation error detection correction code generation step of calculating a calculation error detection correction code by adding a selection distribution key recorded in the computer to the calculation source data obtained from the demodulated signal;
    A comparison step of comparing the received error detection correction code directly obtained from the demodulated signal with the calculated error detection correction code;
    A decoding step of decoding the various types of information from the demodulated signal only when the comparison result of the comparison step matches,
    An acoustic signal receiving program comprising:
PCT/JP2013/054993 2013-01-09 2013-02-26 Information distribution system WO2014109071A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2013-001503 2013-01-09
JP2013001503A JP2014135579A (en) 2013-01-09 2013-01-09 Information delivery system

Publications (1)

Publication Number Publication Date
WO2014109071A1 true WO2014109071A1 (en) 2014-07-17

Family

ID=51166738

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2013/054993 WO2014109071A1 (en) 2013-01-09 2013-02-26 Information distribution system

Country Status (3)

Country Link
JP (1) JP2014135579A (en)
TW (1) TW201429179A (en)
WO (1) WO2014109071A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5142539A (en) * 1990-03-06 1992-08-25 Telefonaktiebolaget L M Ericsson Method of processing a radio signal message
JP2004357284A (en) * 2003-05-07 2004-12-16 Matsushita Electric Ind Co Ltd Transmission/reception system
WO2011118018A1 (en) * 2010-03-26 2011-09-29 株式会社フィールドシステム Sending device
JP2012511787A (en) * 2008-12-10 2012-05-24 アマゾン テクノロジーズ インコーポレイテッド Sharing content

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5142539A (en) * 1990-03-06 1992-08-25 Telefonaktiebolaget L M Ericsson Method of processing a radio signal message
JP2004357284A (en) * 2003-05-07 2004-12-16 Matsushita Electric Ind Co Ltd Transmission/reception system
JP2012511787A (en) * 2008-12-10 2012-05-24 アマゾン テクノロジーズ インコーポレイテッド Sharing content
WO2011118018A1 (en) * 2010-03-26 2011-09-29 株式会社フィールドシステム Sending device

Also Published As

Publication number Publication date
JP2014135579A (en) 2014-07-24
TW201429179A (en) 2014-07-16

Similar Documents

Publication Publication Date Title
JP5994136B2 (en) Authentication system and authentication method
US11294989B2 (en) Content usage monitor
RU2419219C2 (en) Methods and systems to reduce non-productive costs for treatment for control channel packets
JP4528365B1 (en) Transmitter
US8630309B2 (en) Frame generation apparatus and method of protecting protocol header information over wideband high frequency wireless system
US20090307766A1 (en) Method and apparatus for verifying data packet integrity in a streaming data channel
CN104602364A (en) Method for connecting wireless device to wireless access point and wireless device, intelligent terminal
JP2013540408A (en) General file delivery method for providing non-uniform error protection and batch file delivery services
KR20030004300A (en) Active data hiding for secure electronic media distribution
US20110066843A1 (en) Mobile media play system and method
TW200423591A (en) Method, system and network entity for data transmission and reception
US8627184B2 (en) Systems and methods for protecting a multi-part broadcast control message
JP2014030228A (en) System and method for effectively transferring electronic information
WO2014109071A1 (en) Information distribution system
US7774677B2 (en) Method and device for transmitting information with verification of unintentional and intentional transmission errors
JP2020182180A5 (en)
JP3458853B2 (en) Communication system and communication method
KR100644594B1 (en) Apparatus for transmitting/receiving wireless data and method thereof
EP3661243A1 (en) Secure beacons
JP2010245897A (en) Transmitting apparatus and receiving apparatus for emergency information in terrestrial digital television broadcast
US9781536B2 (en) Audio-data transmission system and audio-data transmission method
US20120272113A1 (en) Error detection and correction in transmitted digital signals
US20040253925A1 (en) Method and apparatus for transmitting audio and non-audio information with error correction

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13871094

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13871094

Country of ref document: EP

Kind code of ref document: A1