CN113300783A - Ultrasonic data transmission method, device and storage medium - Google Patents

Ultrasonic data transmission method, device and storage medium Download PDF

Info

Publication number
CN113300783A
CN113300783A CN202110458978.2A CN202110458978A CN113300783A CN 113300783 A CN113300783 A CN 113300783A CN 202110458978 A CN202110458978 A CN 202110458978A CN 113300783 A CN113300783 A CN 113300783A
Authority
CN
China
Prior art keywords
signal
ultrasonic
data
audio system
transmitted
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110458978.2A
Other languages
Chinese (zh)
Inventor
李灯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiamen Yealink Network Technology Co Ltd
Original Assignee
Xiamen Yealink Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiamen Yealink Network Technology Co Ltd filed Critical Xiamen Yealink Network Technology Co Ltd
Priority to CN202110458978.2A priority Critical patent/CN113300783A/en
Publication of CN113300783A publication Critical patent/CN113300783A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B11/00Transmission systems employing sonic, ultrasonic or infrasonic waves
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • G10L19/0017Lossless audio signal coding; Perfect reconstruction of coded audio signal by transmission of coding error
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/02Speech enhancement, e.g. noise reduction or echo cancellation
    • G10L21/0272Voice signal separating
    • G10L21/028Voice signal separating using properties of sound source

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Quality & Reliability (AREA)
  • Ultra Sonic Daignosis Equipment (AREA)

Abstract

The invention discloses an ultrasonic data transmission method, which comprises the following steps: coding data to be transmitted to obtain an ultrasonic signal; the frequency of the ultrasonic signal is greater than the sound frequency which can be heard by human ears; superposing the ultrasonic signal to an audio signal to obtain a superposed signal; sending the superposed signal to a target audio system, and enabling the target audio system to filter and separate the superposed signal into the ultrasonic signal and the audio signal; and the target audio system decodes the ultrasonic signal to obtain data to be transmitted. By adopting the embodiment of the invention, the audio signal is transmitted on the audio differential or single-ended signal wire, and the ultrasonic signal containing other data is transmitted, and meanwhile, the audio signal is not influenced.

Description

Ultrasonic data transmission method, device and storage medium
Technical Field
The present invention relates to the field of audio communication technologies, and in particular, to a method and an apparatus for transmitting data by using ultrasonic waves, and a storage medium.
Background
Between two audio systems, the audio signal connection modes mainly include the following: single-ended-single-ended, differential-differential, single-ended-differential, differential-single-ended. Generally, analog audio signals are transmitted between two audio systems through differential or single-ended audio lines, and if other digital signals need to be transmitted through another signal (control or protocol), an additional signal line is required to transmit digital signals other than the audio signals, which increases system complexity and data transmission cost.
Disclosure of Invention
Embodiments of the present invention provide a method, an apparatus, and a storage medium for transmitting data by using ultrasonic waves, which transmit an audio signal on an audio differential or single-ended signal line and transmit an ultrasonic signal containing other data at the same time, and do not affect the original audio signal to be transmitted, thereby reducing the transmission cost for transmitting other data.
A first aspect of embodiments of the present application provides an ultrasonic data transmission method, including:
coding data to be transmitted to obtain an ultrasonic signal; the frequency of the ultrasonic signal is greater than the sound frequency which can be heard by human ears;
superposing the ultrasonic signal to an audio signal to obtain a superposed signal;
sending the superposed signal to a target audio system, and enabling the target audio system to filter and separate the superposed signal into the ultrasonic signal and the audio signal;
and the target audio system decodes the ultrasonic signal to obtain data to be transmitted.
In a possible implementation manner of the first aspect, after the causing the target audio system to decode the ultrasonic signal to obtain data to be transmitted, the method further includes:
enabling the target audio system to change the control protocol of the target audio system or execute the action specified by the data to be transmitted according to the data to be transmitted; the data to be transmitted is a control or protocol data.
In one possible implementation form of the first aspect, the frequency of the ultrasonic signal is greater than 20 KHz.
In a possible implementation manner of the first aspect, the sending the superimposed signal to the target audio system specifically includes:
sending the superposed signal to a target audio system through an audio signal line; the audio signal line is a single-ended audio signal line or two differential audio signal lines.
In one possible implementation manner of the first aspect, a sampling rate of an ADC chip of the target audio system is more than twice a frequency of the ultrasonic signal.
In a possible implementation manner of the first aspect, before the sending the superimposed signal to the target audio system, the method includes:
and denoising the superposed signal to ensure that the ultrasonic signal and the audio signal are not interfered.
A second aspect of embodiments of the present application provides an ultrasonic data transmission apparatus, including:
the encoding module is used for encoding data to be transmitted to obtain an ultrasonic signal; the frequency of the ultrasonic signal is greater than the sound frequency which can be heard by human ears;
the superposition module is used for superposing the ultrasonic signal on an audio signal to obtain a superposed signal;
the transmitting module is used for transmitting the superposed signal to a target audio system, so that the target audio system filters the superposed signal and separates the ultrasonic signal and the audio signal;
the sending module is further configured to enable the target audio system to decode the ultrasonic signal to obtain data to be transmitted.
A third aspect of the embodiments of the present application provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program runs, the apparatus on which the computer-readable storage medium is located is controlled to execute the method for transmitting data by using ultrasound wave according to the above embodiments.
Compared with the prior art, the method, the device and the storage medium for transmitting data by ultrasonic waves provided by the embodiment of the invention have the advantages that the ultrasonic wave signals are obtained by encoding the data to be transmitted, the ultrasonic wave signals are superposed on the audio signals, the superposed signals are sent to the target audio system after the superposed signals are obtained, the target audio system decodes the separated ultrasonic wave signals to obtain the data to be transmitted, the whole data transmission process is based on the audio connecting line between the two audio systems, namely, the audio signals and the digital signals containing other data are transmitted on the audio differential or single-ended signal line, the influence on the original audio signals is avoided, and the cost of data transmission is reduced.
Drawings
FIG. 1 is a flow chart illustrating a method for ultrasonic data transmission according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of data transfer between differential audio systems according to an embodiment of the present invention;
fig. 3 is a schematic diagram of data transmission between single-ended audio systems according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, an embodiment of the present invention provides a method for transmitting data by using ultrasonic waves, including:
s10, coding data to be transmitted to obtain an ultrasonic signal; the frequency of the ultrasonic signal is greater than the frequency of sound that can be heard by the human ear.
And S11, superposing the ultrasonic signal on the audio signal to obtain a superposed signal.
S12, sending the superposed signal to a target audio system, and enabling the target audio system to filter the superposed signal and separate the ultrasonic signal and the audio signal.
And S13, the target audio system decodes the ultrasonic signal to obtain data to be transmitted.
Generally, in practical applications, the frequency band of the superimposed signal is high-pass or low-pass filtered in a target audio system, and then the ultrasonic signal and the audio signal are separated by pick-up processing. Other types of filtering may be used depending on the actual situation.
Compared with the prior art, the ultrasonic data transmission method provided by the embodiment of the invention obtains the ultrasonic signal by encoding the data to be transmitted, superimposes the ultrasonic signal on the audio signal to obtain the superimposed signal, and then sends the superimposed signal to the target audio system, so that the target audio system decodes the separated ultrasonic signal to obtain the data to be transmitted.
Exemplarily, after S13, the method further includes:
s14, enabling the target audio system to change the control protocol of the target audio system or execute the action specified by the data to be transmitted according to the data to be transmitted; the data to be transmitted is a control or protocol data.
Illustratively, the frequency of the ultrasonic signal is greater than 20 KHz.
The frequency of the ultrasonic signal is more than 20KHz, so that the ultrasonic signal can not be heard by human ears, and even if the ultrasonic signal and the audio signal are not completely separated in S12, the visual effect of a human on the audio signal when the audio signal is played by a target audio system can not be influenced.
Illustratively, the sending the superimposed signal to the target audio system specifically includes:
sending the superposed signal to a target audio system through an audio signal line; the audio signal line is a single-ended audio signal line or two differential audio signal lines.
Referring to fig. 2, the two audio systems of fig. 2 are connected to each other by two differential audio signal lines.
The audio signal that people's ear can hear is below 20KHz, and the sampling rate of normal ADC is 24KHz, and audio system B sends information to audio system A, and the centre passes through differential signal Line _ P and Line _ N and links to each other. The audio system B encodes the ultrasonic signals into 20KHz-24KHz audio signals, then transmits the audio signals to the audio system A through Line _ P and Line _ N, at the moment, the audio system A separates the audio signals and the ultrasonic signals through a high-pass algorithm and a low-pass algorithm, and then decodes the ultrasonic signals to obtain the desired data to be transmitted.
Referring to fig. 3, the two audio systems of fig. 3 are connected to each other through a single-ended audio signal line.
Superposing an ultrasonic signal (digital signal) containing data to be transmitted on an audio signal, and transmitting the superposed signal to another system A (a target audio system) through a single-ended audio signal line;
the system A can separate the audio superposed signal and the ultrasonic signal through low-pass filtering, and the superposed signal can be directly processed. The ultrasonic wave can not be heard by human ears, so that the ultrasonic wave signal can be decoded to obtain the data to be transmitted of the system B, and the system A is driven to realize the control and communication functions according to the data to be transmitted.
Illustratively, the sampling rate of the ADC chip of the target audio system is more than twice the ultrasonic signal frequency.
The sampling rate of the ADC chip of the target audio system depends on the chip itself, with different chips supporting different sampling rates. The 2-time ultrasonic frequency is needed, the nyquist sampling theorem (in the process of converting analog/digital signals, when the sampling frequency fs.max is greater than 2 times of the highest frequency fmax in the signals (fs.max is greater than 2fmax), the information in the original signals is completely reserved in the digital signals after sampling, the sampling frequency is guaranteed to be 2.56-4 times of the highest frequency of the signals in general practical application), and the sampling theorem is also called the nyquist theorem.
Illustratively, before said sending the superimposed signal to the target audio system, comprises:
and denoising the superposed signal to ensure that the ultrasonic signal and the audio signal are not interfered.
This is to maintain the noise floor of the audio signal and the ultrasonic signal in the superimposed signal within a reasonable range, and the excessive noise floor interferes with the superimposed signal and affects the audio signal and the ultrasonic signal. The range needs two main considerations, one is that the transmitted audio signal cannot be interfered, which results in the user hearing noise, and the other is that the ultrasonic signal is interfered, which results in the decoded data being wrong, and the data to be transmitted fails to be transmitted.
The embodiment of the present application further provides an ultrasonic data transmission apparatus, including: the device comprises an encoding module, a superposition module and a sending module.
The encoding module is used for encoding data to be transmitted to obtain an ultrasonic signal; the frequency of the ultrasonic signal is greater than the frequency of sound that can be heard by the human ear.
And the superposition module is used for superposing the ultrasonic signal to an audio signal to obtain a superposed signal.
And the sending module is used for sending the superposed signal to a target audio system, and the target audio system filters and separates the superposed signal into the ultrasonic signal and the audio signal.
The sending module is further configured to enable the target audio system to decode the ultrasonic signal to obtain data to be transmitted.
The embodiment of the present application further provides a computer-readable storage medium, which includes a stored computer program, where when the computer program runs, the apparatus where the computer-readable storage medium is located is controlled to execute the method for transmitting data by using ultrasound, as described in the above embodiment.
Computer readable storage media for embodiments of the present invention may be computer readable signal media or computer readable storage media or any combination of the two. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable read-only memory (CDROM). Additionally, the computer-readable storage medium may even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.

Claims (8)

1. An ultrasonic data transfer method, comprising:
coding data to be transmitted to obtain an ultrasonic signal; the frequency of the ultrasonic signal is greater than the sound frequency which can be heard by human ears;
superposing the ultrasonic signal to an audio signal to obtain a superposed signal;
sending the superposed signal to a target audio system, and enabling the target audio system to filter the superposed signal to separate the ultrasonic signal and the audio signal;
and the target audio system decodes the ultrasonic signal to obtain data to be transmitted.
2. The method for ultrasound data transmission according to claim 1, further comprising, after said having said target audio system decode said ultrasound signal to obtain data to be transmitted:
enabling the target audio system to change the control protocol of the target audio system or execute the action specified by the data to be transmitted according to the data to be transmitted; the data to be transmitted is a control or protocol data.
3. An ultrasonic method of communicating data according to claim 1, wherein the frequency of the ultrasonic signal is greater than 20 KHz.
4. The method for ultrasound data delivery according to claim 1, wherein the sending of the superimposed signal to a target audio system comprises:
sending the superposed signal to a target audio system through an audio signal line; the audio signal line is a single-ended audio signal line or two differential audio signal lines.
5. The method of ultrasonic communicating data according to claim 1, wherein a sampling rate of an ADC chip of the target audio system is more than twice a frequency of the ultrasonic signal.
6. The ultrasonic method of communicating data according to claim 1, prior to said transmitting the superimposed signal to the target audio system, comprising:
and denoising the superposed signal to ensure that the ultrasonic signal and the audio signal are not interfered.
7. An ultrasonic data transfer device, comprising:
the encoding module is used for encoding data to be transmitted to obtain an ultrasonic signal; the frequency of the ultrasonic signal is greater than the sound frequency which can be heard by human ears;
the superposition module is used for superposing the ultrasonic signal on an audio signal to obtain a superposed signal;
the transmitting module is used for transmitting the superposed signal to a target audio system, so that the target audio system filters the superposed signal and separates the ultrasonic signal and the audio signal;
the sending module is further configured to enable the target audio system to decode the ultrasonic signal to obtain data to be transmitted.
8. A computer-readable storage medium, comprising a stored computer program, wherein the computer program, when executed, controls an apparatus in which the computer-readable storage medium is located to perform the method of ultrasound data transfer according to any of claims 1-6.
CN202110458978.2A 2021-04-27 2021-04-27 Ultrasonic data transmission method, device and storage medium Pending CN113300783A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110458978.2A CN113300783A (en) 2021-04-27 2021-04-27 Ultrasonic data transmission method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110458978.2A CN113300783A (en) 2021-04-27 2021-04-27 Ultrasonic data transmission method, device and storage medium

Publications (1)

Publication Number Publication Date
CN113300783A true CN113300783A (en) 2021-08-24

Family

ID=77320293

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110458978.2A Pending CN113300783A (en) 2021-04-27 2021-04-27 Ultrasonic data transmission method, device and storage medium

Country Status (1)

Country Link
CN (1) CN113300783A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103312419A (en) * 2012-03-07 2013-09-18 苏州汉朗光电有限公司 Method and system for data communication based on audio or ultrasonic
WO2016094075A1 (en) * 2014-12-10 2016-06-16 Turtle Beach Corporation Error correction for ultrasonic audio systems
CN108595143A (en) * 2018-03-30 2018-09-28 联想(北京)有限公司 Electronic equipment, sound pick-up and signal processing method
CN109524021A (en) * 2018-11-29 2019-03-26 上海交通大学 Ultrasonic wave defence method and system based on active attack signal dispelling tactics
CN109754817A (en) * 2017-11-02 2019-05-14 北京三星通信技术研究有限公司 signal processing method and terminal device
CN111917489A (en) * 2020-07-30 2020-11-10 维沃移动通信有限公司 Audio signal processing method and device and electronic equipment
CN112581975A (en) * 2020-12-11 2021-03-30 中国科学技术大学 Ultrasonic voice instruction defense method based on signal aliasing and two-channel correlation

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103312419A (en) * 2012-03-07 2013-09-18 苏州汉朗光电有限公司 Method and system for data communication based on audio or ultrasonic
WO2016094075A1 (en) * 2014-12-10 2016-06-16 Turtle Beach Corporation Error correction for ultrasonic audio systems
CN109754817A (en) * 2017-11-02 2019-05-14 北京三星通信技术研究有限公司 signal processing method and terminal device
CN108595143A (en) * 2018-03-30 2018-09-28 联想(北京)有限公司 Electronic equipment, sound pick-up and signal processing method
CN109524021A (en) * 2018-11-29 2019-03-26 上海交通大学 Ultrasonic wave defence method and system based on active attack signal dispelling tactics
CN111917489A (en) * 2020-07-30 2020-11-10 维沃移动通信有限公司 Audio signal processing method and device and electronic equipment
CN112581975A (en) * 2020-12-11 2021-03-30 中国科学技术大学 Ultrasonic voice instruction defense method based on signal aliasing and two-channel correlation

Similar Documents

Publication Publication Date Title
CN107371081B (en) Earphone set
JP5034595B2 (en) Sound reproduction apparatus and sound reproduction method
JP4338225B2 (en) Digital hearing aid programming apparatus and method
US6754186B1 (en) DSL active modem detection
US9344543B2 (en) Utilizing telecoil compatibility on a mobile device for improving frequency range of multimedia playback
US20120177213A1 (en) Active noise-cancellation feedback signal transmission
CN102263576B (en) Wireless information transmitting method and method realizing device
CN106569774B (en) Method and terminal for removing noise
JP2017510193A (en) Dual microphone headset and noise reduction processing method for audio signal during a call
WO2012116083A2 (en) Systems and methods for acoustic echo cancellation with wireless microphones and speakers
EP2482566B1 (en) Method for generating an audio signal
CN107396228A (en) Wireless headset and its control system based on ultrasonic wave
CN111246331A (en) Wireless panorama sound mixing sound earphone
CN113300783A (en) Ultrasonic data transmission method, device and storage medium
CN110366067B (en) Far field voice module echo cancellation circuit and device
WO2010126976A2 (en) Intercom headset connection and disconnection
KR102231093B1 (en) Data during analog audio
CN104820579B (en) A kind of sensor-based system and method for sensing comprising mobile terminal and peripheral device
CN211578369U (en) Audio equipment
CN112770158A (en) Far-field voice control system and method
CN213661609U (en) Interphone hand microphone and interphone
US20170223469A1 (en) Hearing aid communication system and hearing aid communication method thereof
CN218679351U (en) Audio signal optimization device with voice acquisition function
TWI588819B (en) Voice processing method, voice communication device and computer program product thereof
CN109962722B (en) Transmitting device and signal transmission method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210824