CN108492831A - A kind of data transmission method, audio frequency apparatus, intelligent terminal - Google Patents

A kind of data transmission method, audio frequency apparatus, intelligent terminal Download PDF

Info

Publication number
CN108492831A
CN108492831A CN201810084986.3A CN201810084986A CN108492831A CN 108492831 A CN108492831 A CN 108492831A CN 201810084986 A CN201810084986 A CN 201810084986A CN 108492831 A CN108492831 A CN 108492831A
Authority
CN
China
Prior art keywords
audio signal
audio
characteristic parameter
intelligent terminal
frequency apparatus
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.)
Granted
Application number
CN201810084986.3A
Other languages
Chinese (zh)
Other versions
CN108492831B (en
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.)
Rongcheng goer Technology Co.,Ltd.
Original Assignee
Goertek Techology 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 Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN201810084986.3A priority Critical patent/CN108492831B/en
Publication of CN108492831A publication Critical patent/CN108492831A/en
Priority to PCT/CN2018/121090 priority patent/WO2019144726A1/en
Application granted granted Critical
Publication of CN108492831B publication Critical patent/CN108492831B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/04Speech 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 using predictive techniques
    • G10L19/16Vocoder architecture
    • G10L19/18Vocoders using multiple modes
    • G10L19/22Mode decision, i.e. based on audio signal content versus external parameters
    • 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/02Speech 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 using spectral analysis, e.g. transform vocoders or subband vocoders
    • 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/04Speech 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 using predictive techniques
    • G10L19/16Vocoder architecture
    • G10L19/167Audio streaming, i.e. formatting and decoding of an encoded audio signal representation into a data stream for transmission or storage purposes

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a kind of data transmission methods, including:Intelligent terminal sends the first audio signal to audio frequency apparatus, obtain the characteristic parameter of the first audio signal, the coding rule of the second audio signal is obtained according to characteristic parameter, data information to be transmitted is encoded in the second audio signal according to coding rule, the second audio signal after encoding is sent to the audio frequency apparatus;Audio frequency apparatus obtains the first audio signal that intelligent terminal is sent;The decoding rule for the second audio signal that the intelligent terminal received is sent is determined according to the characteristic parameter of the first audio signal;It is decoded according to the second audio signal of decoding rule pair of the second audio signal, to obtain the data information by being encoded in the second audio signal.The invention also discloses a kind of audio frequency apparatus, intelligent terminals.

Description

A kind of data transmission method, audio frequency apparatus, intelligent terminal
Technical field
The present invention relates to a kind of data transmission method, audio frequency apparatus, intelligent terminals.
Background technology
The material life of people is more and more abundant with the development of economy, and various audio frequency apparatuses more and more go out In life now, work, such as speaker, earphone etc. for appreciating music.With advances in technology, audio frequency apparatus and terminal are set It is connected with each other in a wireless or wired way to enhance the experience of user between standby, and is gradually widely accepted.Wired mode pair Narrow application range for user, it has not been convenient to, conventional wireless manner is easy to be found even to intercept by other people, and user experience is unfriendly. The excessively dull solidification of functional experience, cannot be satisfied the judicial convenience and the increasingly diversified demand of people that network Development is brought.
Invention content
One aspect of the present invention provides a kind of data transmission method, is applied between audio frequency apparatus and intelligent terminal Data transmission, this method include:Obtain the first audio signal that intelligent terminal is sent;According to the characteristic parameter of the first audio signal Determine the decoding rule for the second audio signal that the intelligent terminal received is sent;It is right according to the decoding rule of the second audio signal Second audio signal is decoded, to obtain the data information by being encoded in the second audio signal.
Optionally, determine that the second audio that the intelligent terminal received is sent is believed according to the characteristic parameter of the first audio signal Number decoding rule, including:The second audio signal is determined according to the characteristic parameter of the first audio signal and default communications protocol Decode constant;Wherein, default communications protocol includes protocol related between the characteristic parameter of preset audio signal and decoding constant.
Optionally, decoding rule includes according to the correspondence pair second between preset decoding constant and binary coding The rule that the data information encoded in audio signal is decoded.
Optionally, the first audio signal includes multiple audio signal, is connect according to the determination of the characteristic parameter of the first audio signal The decoding rule for the second audio signal that the intelligent terminal received is sent, including:Determine the first secondary audio program of the first audio signal The characteristic parameter of signal is standard feature parameter, and characteristic parameter includes the frequency of the first audio signal, amplitude;When the first audio is believed Number continuous audio signal at least twice characteristic parameter it is consistent with standard feature parameter when, receive the of intelligent terminal transmission Two audio signals;When the characteristic parameter of the second audio signal is consistent with standard feature parameter, according to standard feature parameter acquiring The decoding rule of second audio signal.
Optionally, data transmission method further includes:Obtain the first distance of intelligent terminal comparative audio equipment;According to first Distance and pre-determined distance relationship, it is determined whether obtain the first audio signal that intelligent terminal is sent;Pre-determined distance relationship includes The distance relation of intelligent terminal comparative audio equipment.
Optionally, data information includes the control instruction for the audio frequency apparatus unlatching radio network functions that intelligent terminal is sent out, And the name on account and corresponding account password, data transmission method of corresponding wireless network further include:According to the audio of reception Radio network functions are opened in the control instruction of opening of device radio network functions, control;By the name on account and account of wireless network Family password is matched with default name on account and default account password, so that audio frequency apparatus connects wireless network.
Another aspect of the present invention provides a kind of audio frequency apparatus, which includes:One or more storage is single Member is stored with executable instruction;One or more processing units execute executable instruction, for realizing above application in audio Data transmission method between equipment and intelligent terminal.
Another aspect of the present invention provides a kind of readable storage medium storing program for executing, is stored with executable order, executable instruction quilt To realize data transmission method of the above application between audio frequency apparatus and intelligent terminal when processor executes.
Another aspect of the present invention provides a kind of data transmission method, is applied between intelligent terminal and audio frequency apparatus Data transmission, this method includes:The first audio signal is sent to audio frequency apparatus;The characteristic parameter of the first audio signal is obtained, The coding rule of the second audio signal is obtained according to characteristic parameter;Data information to be transmitted is encoded to according to coding rule In two audio signals, the second audio signal after encoding is sent to audio frequency apparatus.
Optionally, the coding rule of the second audio signal is obtained according to characteristic parameter, including:According to characteristic parameter and preset Communications protocol obtains coding constant;Wherein, default communications protocol include preset audio signal characteristic parameter with coding constant it Between it is protocol related, coding rule include according to preset audio signal coding constant and binary coding between it is corresponding close System treats the rule that transmitting data information is encoded.
Optionally, the first audio signal includes multiple audio signal, wherein the first time audio signal of the first audio signal Characteristic parameter be standard feature parameter, the first audio signal includes that the characteristic parameter of audio signal is consistent with standard feature parameter Continuous audio signal at least twice, characteristic parameter includes the frequency of the first audio signal, amplitude.
Optionally, data transmission method further includes:Detect the ambient noise of the first audio signal sent to audio frequency apparatus; The first audio signal is sent to audio frequency apparatus according to ambient noise, and obtains the characteristic parameter of the first audio signal;According to acquisition The first audio signal characteristic parameter obtain the second audio signal characteristic parameter.
Optionally, data transmission method further includes:It obtains the audio frequency apparatus that intelligent terminal is sent out and opens radio network functions Control instruction, and the name on account of corresponding wireless network and corresponding account password are as data to be transmitted information.
Another aspect of the present invention provides a kind of intelligent terminal, which includes:One or more storage is single Member is stored with executable instruction;One or more processing units execute executable instruction, for realizing above application in intelligence Data transmission method between terminal and audio frequency apparatus.
Another aspect of the present invention provides a kind of readable storage medium storing program for executing, is stored with executable order, executable instruction quilt To realize data transmission method of the above application between intelligent terminal and audio frequency apparatus when processor executes.
The intelligent terminal of the present invention sends the first audio signal with special characteristic parameter to audio frequency apparatus, and utilizes spy Sign the second audio signal of parameter pair encodes, and the second audio signal after coding is sent to audio frequency apparatus;Audio frequency apparatus exists When receiving the first audio signal, according to the characteristic parameter of the first audio signal obtain decoding rule and to the second audio signal into Row decoding obtains the data information that intelligent terminal is sent.
The present invention realizes that the data transmission between audio frequency apparatus and intelligent terminal, data of the invention are passed by audio signal Transmission method is different from wireless transmission methods, audio frequency apparatus and the intelligent terminals such as existing wifi, bluetooth need to only make an appointment and lead to surely in advance Believe agreement, carrying out processing to audio signal can be realized data transmission, without wireless transport modules such as built-in wifi, bluetooths; The data transfer mode of the present invention is easy to operate, novel, interesting strong, enriches data transfer mode, provides different uses Experience.
Description of the drawings
Fig. 1 is the data transmission method flow provided in an embodiment of the present invention being applied between audio frequency apparatus and intelligent terminal Figure;
Fig. 2 is that the first audio signal provided in an embodiment of the present invention is converted to electric signal schematic diagram after electric signal;
Fig. 3 is the data transmission method flow provided in an embodiment of the present invention using between intelligent terminal and audio frequency apparatus Figure;
Fig. 4 is the microphone schematic diagram provided in an embodiment of the present invention at the top of sound equipment;
Fig. 5 is the data transmission procedure schematic diagram of sound equipment provided in an embodiment of the present invention and mobile phone.
Specific implementation mode
Hereinafter, will be described with reference to the accompanying drawings embodiment of the disclosure.However, it should be understood that these descriptions are only exemplary , and it is not intended to limit the scope of the present disclosure.In addition, in the following description, descriptions of well-known structures and technologies are omitted, with Avoid unnecessarily obscuring the concept of the disclosure.
Term as used herein is not intended to limit the disclosure just for the sake of description specific embodiment.Used here as Word " one ", " one (kind) " and "the" etc. also should include " multiple ", " a variety of " the meaning, unless in addition context clearly refers to Go out.In addition, the terms "include", "comprise" as used herein etc. show the presence of the feature, step, operation and/or component, But it is not excluded that other one or more features of presence or addition, step, operation or component.
There are all terms (including technical and scientific term) as used herein those skilled in the art to be generally understood Meaning, unless otherwise defined.It should be noted that term used herein should be interpreted that with consistent with the context of this specification Meaning, without should by idealization or it is excessively mechanical in a manner of explain.
Shown in the drawings of some block diagrams and/or flow chart.It should be understood that some sides in block diagram and/or flow chart Frame or combinations thereof can be realized by computer program instructions.These computer program instructions can be supplied to all-purpose computer, The processor of special purpose computer or other programmable data processing units, to which these instructions can be with when being executed by the processor Create the device for realizing function/operation illustrated in these block diagrams and/or flow chart.
Therefore, the technology of the disclosure can be realized in the form of hardware and/or software (including firmware, microcode etc.).Separately Outside, the technology of the disclosure can take the form of the computer program product on the computer-readable medium for being stored with instruction, should Computer program product uses for instruction execution system or instruction execution system is combined to use.In the context of the disclosure In, computer-readable medium can be the arbitrary medium can include, store, transmitting, propagating or transmitting instruction.For example, calculating Machine readable medium can include but is not limited to electricity, magnetic, optical, electromagnetic, infrared or semiconductor system, device, device or propagation medium. The specific example of computer-readable medium includes:Magnetic memory apparatus, such as tape or hard disk (HDD);Light storage device, such as CD (CD-ROM);Memory, such as random access memory (RAM) or flash memory;And/or wire/wireless communication link.
One aspect of the present invention provides a kind of data transmission method, is applied between audio frequency apparatus and intelligent terminal Data transmission.
Fig. 1 is the data transmission method flow provided in an embodiment of the present invention being applied between audio frequency apparatus and intelligent terminal Figure, as shown in Figure 1, the data transmission method of the present embodiment includes:
S110 obtains the first audio signal that intelligent terminal is sent.
The audio frequency apparatus of the present embodiment is provided with voice-frequency signal receiver, for receiving the audio signal in setting range. The audio frequency apparatus of the present embodiment includes but not limited to stereo set, and voice-frequency signal receiver includes but not limited to microphone.
The audio frequency apparatus of the present embodiment carries out at analysis the first audio signal after the first audio signal received Reason, can obtain the characteristic parameters such as frequency, the amplitude of the first audio signal.
S120 determines the second audio signal that the intelligent terminal received is sent according to the characteristic parameter of the first audio signal Decoding rule.
Characteristic parameter includes but not limited to the parameters such as the frequency of the first audio signal, amplitude in the present embodiment.
S130 is decoded according to the second audio signal of decoding rule pair of the second audio signal, passes through second to obtain The data information encoded in audio signal.
The audio frequency apparatus of the present embodiment is believed when receiving the first audio signal of intelligent terminal transmission according to the first audio Number characteristic parameter obtain decoding rule, to intelligent terminal send the second audio signal be decoded, obtain intelligent terminal hair The data information sent realizes the data transmission between audio frequency apparatus and intelligent terminal by audio signal.
The data transmission method of the present embodiment is different from the wireless transmission methods such as existing wifi, bluetooth, audio frequency apparatus and Intelligent terminal need to only make an appointment in advance determines communication protocol, and carrying out processing to audio signal can be realized data transmission, without built-in The wireless transport modules such as wifi, bluetooth;The data transfer mode of the present embodiment is easy to operate, novel, interesting strong, enriches number According to transmission mode, different usage experiences is provided.
The first audio signal in the present embodiment includes multiple audio signal, according to an embodiment of the invention, the first audio Signal includes acoustic signals, and acoustic signals include the essential characteristics parameter such as frequency, amplitude, wherein multiple audio signal, that is, multiple Acoustic signals, the present embodiment are the decoding rules that the second audio signal is determined by following methods:
Determine that the characteristic parameter of the first time audio signal of the first audio signal is standard feature parameter, it is according to the present invention Embodiment, characteristic parameter include the frequency of the first audio signal, amplitude etc.;I.e. with the frequency of the first sound signal of reception, Amplitude etc. is used as standard feature parameter;
When the characteristic parameter of the continuous audio signal at least twice of the first audio signal is consistent with standard feature parameter, Can determine the transmitting terminal of the first audio signal, i.e., intelligent terminal be with the matched legitimate device of audio frequency apparatus, can connect at this time Receive the second audio signal that intelligent terminal is sent;First audio signal includes continuous audio signal at least twice, i.e. intelligence is whole At least twice, the characteristic parameters (including frequency and amplitude) of follow-up acoustic signals every time is with first for the acoustic signals terminated to The standard feature parameter of infrasound signal compares, by comparing twice, to confirm that intelligent terminal continues to the second audio Signal.
When the characteristic parameter of the second audio signal is consistent with standard feature parameter, the interference of ambient noise can be excluded, Determine that the second audio signal received is useful signal, it at this time can be according to the second audio signal of standard feature parameter acquiring Decoding rule.
It should be noted that it includes multiple audio signal that the present embodiment arranges the first audio signal by default communications protocol Number.According to an embodiment of the invention, by taking default communications protocol arranges the first audio signal including audio signal three times as an example Illustrate the process for determining decoding rule.
Fig. 2 is that the first audio signal provided in an embodiment of the present invention is converted to electric signal schematic diagram schematic diagram after electric signal, According to an embodiment of the invention, the first audio signal includes acoustic signals, and acoustic signals include the essential characteristics such as frequency, amplitude ginseng Number, acoustic signals can be converted to electric signal, wherein when there is acoustic signals to occur, the corresponding electric signal is high level, works as sound Wave signal does not occur, and the corresponding electric signal is low level.It is assumed that the first audio signal includes audio signal three times, correspondingly, i.e. Audio frequency apparatus receives acoustic signals three times, and the electric signal of acoustic signals conversion is as shown in Figure 2 three times.
By taking the first audio signal shown in Fig. 2 as an example, the first audio signal includes audio signal three times, by the first secondary audio program The characteristic parameters such as frequency, the amplitude of signal are as standard feature parameter, when second of audio signal and third time audio signal When characteristic parameter is consistent with the standard feature parameter, the embodiment of the present invention also detect the conversion of each secondary audio program signal electric signal it Between duration relationship, each secondary audio program signal conversion electric signal between duration meet preset duration relationship when, according to this hair Bright embodiment, when the duration between the electric signal of each secondary audio program signal conversion is consistent, as shown in Fig. 2, the first secondary audio program is believed Number electric signal high level duration it is consistent with Er Ci, the high level duration of electric signal of third time audio signal When, the second audio signal that intelligent terminal is sent is received, and advise according to the decoding of the second audio signal of standard feature parameter acquiring Then.When the characteristic parameter of second of audio signal and third time audio signal and the standard feature parameter are inconsistent, alternatively, respectively When duration between the electric signal of secondary audio program signal conversion is unsatisfactory for preset duration relationship, second received is not received or deleted Audio signal.
It should be noted that avoid the interference of the second audio signal of ambient noise pair, in the second audio letter received Number characteristic parameter (including frequency and amplitude) it is consistent with standard feature parameter when, determine that the second audio signal for receiving is to have Signal is imitated, it at this time can be according to the decoding rule of the second audio signal of standard feature parameter acquiring.
Decoding rule in the present embodiment includes according to the correspondence between preset decoding constant and binary coding To the rule that the data information encoded in the second audio signal is decoded, according to an embodiment of the invention, level height and two Scale coding 1 or 0 is corresponding, for example, high level corresponds to binary coding 1, low level corresponds to binary coding 0.Correspondingly, this Embodiment is to determine the second audio according to the characteristic parameter and default communications protocol of the first audio signal when determining decoding rule The decoding constant of signal;Wherein, default communications protocol includes the association between the characteristic parameter of preset audio signal and decoding constant View relationship.According to an embodiment of the invention, communications protocol is preset to be used for according to the association preset between characteristic parameter and decoding constant The standard feature parameter of view relationship and the first acquired audio signal, to obtain decoding constant.
The present embodiment is decoded by the second audio signal of following methods pair:
According to an embodiment of the invention, the second audio signal received is converted into low and high level signal, the height electricity Ordinary mail number corresponds to binary coding;Since the second audio signal is voice signal, wherein when there is acoustic signals to occur, it is corresponding The electric signal is high level, and when acoustic signals do not occur, the corresponding electric signal is low level.It optionally, can also can basis Second audio signal is converted to low and high level signal by decibel height, and such as setting, will be high in the second audio signal with decibel threshold It is partially converted to high level signal in the decibel threshold, being partially converted to for the decibel threshold will be less than in the second audio signal Low level signal.
According to protocol related between the characteristic parameter of preset audio signal and decoding constant, first audio signal is obtained The corresponding decoding constant of characteristic parameter;
According to the correspondence between decoding constant and binary coding, to the data information encoded in the second audio signal It is decoded, obtains the data information encoded in the second audio signal;Wherein, according to an embodiment of the invention, decoding constant can To be interpreted as:The sound wave duration that one binary coding 1 or 0 occupies;For example, it is assumed that the level signal of the second audio signal conversion It is 101, wherein when 30 milliseconds a length of, when 20 milliseconds a length of, the second high electricity of low level signal of first high level signal Ordinary mail number when it is 10 milliseconds a length of, if decoding constant is 10 milliseconds, it is known that first high level signal includes the high electricity of 3 decodings Flat, low level signal includes 2 decoding low levels, and second high level signal includes 1 decoding high level, then the number to be transmitted It is believed that it is 111001 to cease corresponding binary coding.
The present embodiment is the safety and reliability for ensureing data transmission, when carrying out data transmission, obtains intelligent terminal First distance of comparative audio equipment, according to the first distance and pre-determined distance relationship, it is determined whether obtain intelligent terminal and send The first audio signal the first audio signal that intelligent terminal is sent is obtained, when the such as when the first distance is less than pre-determined distance When one distance is more than pre-determined distance, the first audio signal of intelligent terminal transmission is not obtained;Wherein, pre-determined distance relationship includes intelligence The distance relation of the energy relatively described audio frequency apparatus of terminal.
The data information that the present embodiment is transmitted may include data file information, text message, command information etc..In reality In the application of border, transmitted data information can be set according to application scenarios.According to an embodiment of the invention, in intelligent terminal control When audio frequency apparatus networking processed, data information includes that the control for the audio frequency apparatus unlatching radio network functions that intelligent terminal is sent out refers to It enables, and the name on account of corresponding wireless network and corresponding account password, name on account and account password can be text envelopes Breath;Audio frequency apparatus can obtain control instruction, the name on account of wireless network and account after being decoded to the second audio signal Family password;At this point, audio frequency apparatus opens the control instruction of radio network functions according to the audio frequency apparatus of reception, control is opened wireless Network function matches the name on account of wireless network and account password with default name on account and default account password, So that audio frequency apparatus connects wireless network.
Another aspect of the present invention provides a kind of data transmission method, is applied between audio frequency apparatus and intelligent terminal Data transmission.
Fig. 3 is the data transmission method flow provided in an embodiment of the present invention using between intelligent terminal and audio frequency apparatus Figure, as shown in figure 3, the data transmission method of the present embodiment includes:
S310 sends the first audio signal to audio frequency apparatus.
The intelligent terminal of the present embodiment need to be in the effective range of audio frequency apparatus, so that audio frequency apparatus can receive intelligence The audio signal that terminal is sent.The intelligent terminal of the present embodiment includes but not limited to smart mobile phone, PAD.
The first audio signal transmitted by the intelligent terminal of the present embodiment has the characteristic parameters such as specific frequency, amplitude, The decoding that the second audio signal that intelligent terminal is sent is decrypted is advised so that audio frequency apparatus is obtained according to the first audio signal Then.
S320 obtains the characteristic parameter of the first audio signal, and the coding that the second audio signal is obtained according to characteristic parameter is advised Then.
The present embodiment characteristic parameter includes but not limited to the parameters such as the frequency of the first audio signal, amplitude.
Data information to be transmitted is encoded in the second audio signal, after encoding by S330 according to coding rule Second audio signal is sent to audio frequency apparatus.
The intelligent terminal of the present embodiment sends the first audio signal with special characteristic parameter to audio frequency apparatus, and utilizes The second audio signal of characteristic parameter pair encodes, and the second audio signal after coding is sent to audio frequency apparatus, so that audio Equipment obtains decoding rule according to the characteristic parameter of the first audio signal, and the second audio signal sent to intelligent terminal solves Code obtains the data information that intelligent terminal is sent.
The present embodiment realizes the data transmission between audio frequency apparatus and intelligent terminal, data transmission method by audio signal Different from wireless transmission methods such as existing wifi, bluetooths, audio frequency apparatus and intelligent terminal need to only make an appointment communication protocol Audio signal is handled, you can data transmission is realized, without wireless transport modules such as built-in wifi, bluetooths;This implementation The data transfer mode of example is easy to operate, novel, interesting strong, enriches data transfer mode, provides different use bodies It tests.
First audio signal of the present embodiment includes multiple audio signal, wherein the first secondary audio program of the first audio signal The characteristic parameter of signal is standard feature parameter, and the first audio signal includes the characteristic parameter and standard feature parameter of audio signal Consistent continuous audio signal at least twice.
It should be noted that it includes multiple audio signal that the present embodiment arranges the first audio signal by default communications protocol Number.According to an embodiment of the invention, by taking default communications protocol arranges the first audio signal including audio signal three times as an example Illustrate that intelligent terminal sends the process of the first audio signal to audio frequency apparatus.
Intelligent terminal generates the first time audio signal of the first audio signal, according to the amplitude of first time audio signal, frequency The parameters such as rate generate second of audio signal and third time audio signal;First audio signal of generation is sent to audio to set It is standby.According to an embodiment of the invention, as shown in Fig. 2, intelligent terminal generate the first audio signal be converted to electric signal after, the electricity Signal includes three groups of low and high level signals, and the high level duration in every group of low and high level signal indicates each voice signal Sound wave duration.
Coding rule in the present embodiment includes between coding constant and binary coding according to preset audio signal Correspondence treat the rule that transmitting data information is encoded, correspondingly, the present embodiment is root when determining coding rule Coding constant is obtained according to characteristic parameter and default communications protocol;Wherein, default communications protocol includes the feature of preset audio signal It is protocol related between parameter and coding constant.
The present embodiment will be in data to be transmitted information coding to the second audio signal by following methods:
Data to be transmitted information is converted into low and high level signal, which corresponds to binary coding;
According to protocol related between the characteristic parameter of preset audio signal and coding constant, first audio signal is obtained The corresponding coding constant of characteristic parameter;
According to the correspondence between coding constant and binary coding, by data to be transmitted information coding to the second audio In signal;Wherein, the coding constant of the present embodiment can be understood as:The corresponding sound wave duration of one binary coding 1 or 0;It is false If the low and high level signal that data to be transmitted information is converted is 111001, coding constant is 10 milliseconds, then the data to be transmitted is believed Breath is encoded in the second audio signal, corresponds to continuous 30 milliseconds of high-decibel audio signal, continuous 20 milliseconds of low decibel sound Frequency signal and 10 milliseconds of high-decibel audio signal.
It should be noted that due to when by data to be transmitted information coding to the second audio signal, needing will be to be passed Transmission of data information is converted to binary coding, can be preset logical in order to enable voice frequency terminal to accurately identify transmission information Appointment data transport protocol in agreement is interrogated, Data Identification position is such as set, the data information transmitted using Data Identification bit identification, if Data length mark and data volume are set, the length information of instruction transmission data is identified using data length, data volume carries data Information.The high level that Data Identification position carries setting length can be set in practical application, Data Identification position is such as set and carries 3 ratios The high level of special position obtains transmission data after audio frequency apparatus decodes the second audio signal using Data Identification position.
The present embodiment is to ensure that the safety and reliability of data transmission is detected and set to audio when carrying out data transmission The ambient noise for the first audio signal that preparation is sent sends the first audio signal to audio frequency apparatus according to ambient noise, and obtains The characteristic parameter of the characteristic parameter of first audio signal, the first audio signal obtained at this time can be understood as amplitude, frequency etc. Essential characteristic parameter obtains the characteristic parameter of the second audio signal according to the characteristic parameter of the first audio signal of acquisition.
According to an embodiment of the invention, intelligent terminal detects ambient noise using equipment such as microphones, and intelligent terminal generates It is different from the first audio signal of ambient noise, such as intelligent terminal makes the first audio using frequency, amplitude essential characteristic parameter Signal is different from ambient noise so that audio frequency apparatus can receive and identify the first audio signal in the ambient noise;Intelligence First audio signal of generation is sent to audio frequency apparatus by terminal, and substantially special according to the frequency of the first audio signal, amplitude etc. It levies parameter and generates the second audio signal, audio frequency apparatus is allow to receive and identify the second audio signal in the ambient noise.
The data information that the present embodiment is transmitted may include data file information, text message, command information etc..In reality In the application of border, transmitted data information can be set according to application scenarios.According to an embodiment of the invention, in intelligent terminal control When audio frequency apparatus processed networking, obtains the audio frequency apparatus that intelligent terminal is sent out and open the control instruction of radio network functions and right Answer wireless network name on account and corresponding account password as data to be transmitted information, will be with biography using above-mentioned coding rule In transmission of data Signal coding to the second audio signal.
For the data transmission procedure for the audio frequency apparatus in the present embodiment being described in detail and between intelligent terminal, the present invention passes through Following embodiments illustrate.
For ease of description, the present embodiment, using audio frequency apparatus as sound equipment, intelligent terminal is for mobile phone.Wherein sound equipment is provided with Multiple microphones, for picking up the voice signal around sound equipment in setting range;Surrounding at the top of sound equipment is evenly arranged at least Three microphones, Fig. 4 illustrate the schematic diagram that the surrounding at the top of sound equipment is evenly arranged four microphones;Mobile phone is provided with Microphone and loud speaker, the present embodiment detect ambient noise using the microphone of mobile phone, and audio is sent using the loud speaker of mobile phone Signal.
Fig. 5 is the data transmission procedure schematic diagram of sound equipment provided in an embodiment of the present invention and mobile phone, as shown in figure 5, specifically Transmission process it is as follows:
S510, mobile phone send the first audio signal to sound equipment.
The present embodiment detects ambient noise using the microphone of mobile phone, generates the first audio signal for being different from ambient noise And it is sent to sound equipment using mobile phone speaker.The present embodiment according to an embodiment of the invention, mobile phone send the first audio signal Including audio signal three times.
S520, sound equipment receive the first audio signal.
Sound equipment is handled the first audio signal when receiving the first audio signal, obtains the spy of the first audio signal Parameter is levied, characteristic parameter includes the frequency of the first audio signal, amplitude.
Since first audio signal of the present embodiment is multiple audio signal, each audio signal shows as one section of sound letter Number, after the first audio signal received, judge each secondary audio program signal of the first audio signal frequency and amplitude whether phase Together, decide whether the second audio signal of reception mobile phone transmission according to judging result.
According to an embodiment of the invention, sound equipment is when receiving the first audio signal, according to the sound wave of the first audio signal (or Waveform) frequency and amplitude that can obtain the first audio signal can obtain when the first audio signal is converted to electric signal The duration of high level in the electric signal.
Wherein, can be by the method that the first audio signal is converted to electric signal:Since the first audio signal is believed for sound Number, wherein when there is acoustic signals to occur, the corresponding electric signal is high level, when acoustic signals do not occur, the corresponding electric signal For low level.According to an embodiment of the invention, the electric signal that sound equipment converts the first audio signal is as shown in Fig. 2, the first audio The electric signal of signal includes three groups of low and high level signals, in the frequency and amplitude all one of each secondary audio program signal of the first audio signal In the case of cause, to improve treatment effeciency of the sound equipment to audio signal, sound equipment starts to open when getting first low and high level Dynamic judgment mechanism, obtains second high level received and second low level duration and third high level With the low level duration of third.Judge that second high level, third high level and second low level, third are a low Whether the corresponding duration of level is consistent with first high level, first low level, if all identical, prepares to receive mobile phone Otherwise the second audio signal sent does not receive the second audio signal of mobile phone transmission.
S530, mobile phone send the second audio signal.
Data to be transmitted information is converted to low and high level signal by mobile phone, which corresponds to binary system volume Code, according to protocol related between the characteristic parameter of the first audio signal and coding constant, the feature of the first audio signal of acquisition The corresponding coding constant of parameter, according to the correspondence between coding constant and binary coding, by data information to be transmitted It is encoded in the second audio signal and is sent to sound equipment using mobile phone speaker.
S540, sound equipment receive the second audio signal.
Sound equipment is handled the second audio signal when receiving the second audio signal, obtains the spy of the second audio signal Parameter is levied, the characteristic parameter of the second audio signal also includes frequency and amplitude.
When the characteristic parameter of the second audio signal is consistent with the characteristic parameter of the first audio signal, i.e. the second audio signal Frequency and amplitude respectively with the frequency of the first audio signal and consistent amplitude when, according to the characteristic parameter of preset audio signal with Protocol related, the corresponding decoding constant of characteristic parameter of the first audio signal of acquisition between constant is decoded, according to decoding constant Correspondence between binary coding is decoded the data information encoded in the second audio signal, obtains the second sound The data information encoded in frequency signal, sound equipment are handled accordingly according to the data information received.
Another aspect of the present invention provides a kind of audio frequency apparatus, the number being applied between audio frequency apparatus and intelligent terminal According to transmission.
According to embodiments of the present invention, which includes:One or more storage units, are stored with executable instruction; One or more processing units execute executable instruction, are applied to audio frequency apparatus and intelligent terminal for realizing what is be described above Between data transmission method.
Another aspect of the present invention provides a kind of readable storage medium storing program for executing.
According to embodiments of the present invention, the readable storage medium storing program for executing, is stored with executable instruction, and executable instruction is held by processor To realize the data transmission method being applied between audio frequency apparatus and intelligent terminal being described above when row.
Another aspect of the present invention provides a kind of intelligent terminal, the number being applied between intelligent terminal and audio frequency apparatus According to transmission.
According to embodiments of the present invention, which includes:One or more storage units, are stored with executable instruction; One or more processing units execute executable instruction, are applied to intelligent terminal and audio frequency apparatus for realizing what is be described above Between data transmission method.
Another aspect of the present invention provides a kind of readable storage medium storing program for executing.
According to embodiments of the present invention, the readable storage medium storing program for executing, is stored with executable instruction, and executable instruction is held by processor To realize the data transmission method being applied between intelligent terminal and audio frequency apparatus being described above when row.
It should be noted that the readable storage medium storing program for executing of the embodiment of the present invention, for example, can be can include, store, transmitting, Propagate or transmit the arbitrary medium of instruction.For example, readable storage medium storing program for executing can include but is not limited to electricity, magnetic, optical, electromagnetic, infrared Or semiconductor system, device, device or propagation medium.The specific example of readable storage medium storing program for executing includes:Magnetic memory apparatus, such as tape Or hard disk (HDD);Light storage device, such as CD (CD-ROM);Memory, such as random access memory (RAM) or flash memory;With/ Or wire/wireless communication link.
Readable storage medium storing program for executing may include computer program, which may include that code/computer is executable Instruction makes processor execute for example hereinbefore described method flow and its any deformation when executed by the processor.
Computer program can be configured with such as computer program code including computer program module.For example, In the exemplary embodiment, the code in computer program may include one or more program modules.It should be noted that module is drawn Point mode and number are not fixed, and those skilled in the art can use suitable program module or journey according to actual conditions Sequence block combiner, when the combination of these program modules is executed by processor so that processor can execute for example described above Method flow and its any deformation.
The intelligent terminal of the embodiment of the present invention sends the first audio signal with special characteristic parameter to audio frequency apparatus, and It is encoded using the second audio signal of characteristic parameter pair, the second audio signal after coding is sent to audio frequency apparatus;Audio Equipment obtains decoding rule when receiving the first audio signal, according to the characteristic parameter of the first audio signal and to the second audio Signal is decoded, and obtains the data information that intelligent terminal is sent.
The embodiment of the present invention realizes the data transmission between audio frequency apparatus and intelligent terminal, data transmission by audio signal Method is different from wireless transmission methods, audio frequency apparatus and the intelligent terminals such as existing wifi, bluetooth need to only make an appointment and determine communication in advance Agreement carries out processing to audio signal and data transmission can be realized, without wireless transport modules such as built-in wifi, bluetooths;This The data transfer mode of inventive embodiments is easy to operate, novel, interesting strong, enriches data transfer mode, provides difference Usage experience.
For the ease of clearly describing the technical solution of the embodiment of the present invention, in the embodiment of invention, use " first ", Printed words such as " second " distinguish function and the essentially identical identical entry of effect or similar item, and those skilled in the art can manage The printed words such as solution " first ", " second " are not defined quantity and execution order.
The above description is merely a specific embodiment, under the above-mentioned introduction of the present invention, those skilled in the art Other improvement or deformation can be carried out on the basis of the above embodiments.It will be understood by those skilled in the art that above-mentioned tool Body description only preferably explains that the purpose of the present invention, protection scope of the present invention should be subject to the protection scope in claims.

Claims (10)

1. a kind of data transmission method, which is characterized in that the data transmission being applied between audio frequency apparatus and intelligent terminal, it is described Method includes:
Obtain the first audio signal that the intelligent terminal is sent;
The second audio signal that the intelligent terminal received is sent is determined according to the characteristic parameter of first audio signal Decoding rule;
Second audio signal is decoded according to the decoding rule of second audio signal, passes through institute to obtain State the data information of the second audio-frequency signal coding.
2. according to the method described in claim 1, it is characterized in that, the characteristic parameter according to first audio signal is true Surely the decoding rule for the second audio signal that the intelligent terminal received is sent, including:
Determine that the decoding of second audio signal is normal according to the characteristic parameter of first audio signal and default communications protocol Amount;Wherein, the default communications protocol includes protocol related, the institute between the characteristic parameter of preset audio signal and decoding constant It includes being compiled according in the second audio signal of correspondence pair between preset decoding constant and binary coding to state decoding rule The rule that the data information of code is decoded.
3. according to the method described in claim 1, it is characterized in that, first audio signal includes multiple audio signal, institute State the second audio signal for determining that the intelligent terminal received is sent according to the characteristic parameter of first audio signal Decoding rule, including:
Determine that the characteristic parameter of the first time audio signal of first audio signal is standard feature parameter, the characteristic parameter Frequency, amplitude including the first audio signal;
When the characteristic parameter and the standard feature parameter one of the continuous audio signal at least twice of first audio signal When cause, the second audio signal that the intelligent terminal is sent is received;
When the characteristic parameter of second audio signal is consistent with the standard feature parameter, according to the standard feature parameter Obtain the decoding rule of second audio signal.
4. according to the method described in claim 1, it is characterized in that, the data transmission method further includes:
Obtain the first distance of the relatively described audio frequency apparatus of the intelligent terminal;
According to first distance and pre-determined distance relationship, it is determined whether obtain the first audio letter that the intelligent terminal is sent Number;The pre-determined distance relationship includes the distance relation of the relatively described audio frequency apparatus of the intelligent terminal.
5. a kind of audio frequency apparatus, the audio frequency apparatus include:
One or more storage units, are stored with executable instruction;
One or more processing units execute the executable instruction, for realizing side according to any one of claims 1-4 Method.
6. a kind of data transmission method, which is characterized in that the data transmission being applied between intelligent terminal and audio frequency apparatus, it is described Method includes:
The first audio signal is sent to audio frequency apparatus;
The characteristic parameter for obtaining first audio signal, the coding that the second audio signal is obtained according to the characteristic parameter are advised Then;
Data information to be transmitted is encoded in second audio signal according to the coding rule, after encoding Two audio signals are sent to the audio frequency apparatus.
7. according to the method described in claim 6, it is characterized in that, described obtain the second audio signal according to the characteristic parameter Coding rule, including:
Coding constant is obtained according to the characteristic parameter and default communications protocol;Wherein, the default communications protocol includes default Protocol related between the characteristic parameter and coding constant of audio signal, the coding rule includes according to preset audio signal Coding constant and binary coding between correspondence treat the rule that transmitting data information is encoded.
8. according to the method described in claim 6, it is characterized in that, first audio signal includes multiple audio signal, In, the characteristic parameter of the first time audio signal of first audio signal is standard feature parameter, first audio signal Characteristic parameter including the audio signal continuous audio signal at least twice consistent with the standard feature parameter, the feature Parameter includes the frequency of the first audio signal, amplitude.
9. according to the method described in claim 6, it is characterized in that, the data transmission method further includes:
Detect the ambient noise of the first audio signal sent to the audio frequency apparatus;
First audio signal is sent to the audio frequency apparatus according to the ambient noise, and obtains first audio signal Characteristic parameter;
The characteristic parameter of second audio signal is obtained according to the characteristic parameter of first audio signal of acquisition.
10. a kind of intelligent terminal, the intelligent terminal include:
One or more storage units, are stored with executable instruction;
One or more processing units execute the executable instruction, for realizing such as any one of them sides claim 6-9 Method.
CN201810084986.3A 2018-01-29 2018-01-29 Data transmission method, audio equipment and intelligent terminal Active CN108492831B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810084986.3A CN108492831B (en) 2018-01-29 2018-01-29 Data transmission method, audio equipment and intelligent terminal
PCT/CN2018/121090 WO2019144726A1 (en) 2018-01-29 2018-12-14 Data transmission method, audio device, and smart terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810084986.3A CN108492831B (en) 2018-01-29 2018-01-29 Data transmission method, audio equipment and intelligent terminal

Publications (2)

Publication Number Publication Date
CN108492831A true CN108492831A (en) 2018-09-04
CN108492831B CN108492831B (en) 2020-10-27

Family

ID=63343809

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810084986.3A Active CN108492831B (en) 2018-01-29 2018-01-29 Data transmission method, audio equipment and intelligent terminal

Country Status (2)

Country Link
CN (1) CN108492831B (en)
WO (1) WO2019144726A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019144726A1 (en) * 2018-01-29 2019-08-01 歌尔股份有限公司 Data transmission method, audio device, and smart terminal
CN114884584A (en) * 2022-04-28 2022-08-09 上海小度技术有限公司 Data transmission method, related device and computer program product

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5848027A (en) * 1995-11-22 1998-12-08 Biometrics, Inc. Method for processing personal data
CN104079358A (en) * 2014-06-25 2014-10-01 福建联迪商用设备有限公司 Sound wave communication synchronous method and system and receiving end
CN104717601A (en) * 2014-08-22 2015-06-17 深圳市智美达科技有限公司 Wireless network login method and system of wireless monitoring device
CN104954078A (en) * 2015-05-28 2015-09-30 广东欧珀移动通信有限公司 Sound wave communication based control and response method and sound wave communication based control and response device
CN106209314A (en) * 2016-07-06 2016-12-07 歌尔股份有限公司 Data transmission method, equipment and audio frequency apparatus
CN106209313A (en) * 2016-07-06 2016-12-07 歌尔股份有限公司 Data transmission method and system
CN106550145A (en) * 2016-10-27 2017-03-29 北京小米移动软件有限公司 Information interacting method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108492831B (en) * 2018-01-29 2020-10-27 歌尔科技有限公司 Data transmission method, audio equipment and intelligent terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5848027A (en) * 1995-11-22 1998-12-08 Biometrics, Inc. Method for processing personal data
CN104079358A (en) * 2014-06-25 2014-10-01 福建联迪商用设备有限公司 Sound wave communication synchronous method and system and receiving end
CN104717601A (en) * 2014-08-22 2015-06-17 深圳市智美达科技有限公司 Wireless network login method and system of wireless monitoring device
CN104954078A (en) * 2015-05-28 2015-09-30 广东欧珀移动通信有限公司 Sound wave communication based control and response method and sound wave communication based control and response device
CN106209314A (en) * 2016-07-06 2016-12-07 歌尔股份有限公司 Data transmission method, equipment and audio frequency apparatus
CN106209313A (en) * 2016-07-06 2016-12-07 歌尔股份有限公司 Data transmission method and system
CN106550145A (en) * 2016-10-27 2017-03-29 北京小米移动软件有限公司 Information interacting method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019144726A1 (en) * 2018-01-29 2019-08-01 歌尔股份有限公司 Data transmission method, audio device, and smart terminal
CN114884584A (en) * 2022-04-28 2022-08-09 上海小度技术有限公司 Data transmission method, related device and computer program product
CN114884584B (en) * 2022-04-28 2023-11-03 上海小度技术有限公司 Data transmission method, related device and computer program product

Also Published As

Publication number Publication date
WO2019144726A1 (en) 2019-08-01
CN108492831B (en) 2020-10-27

Similar Documents

Publication Publication Date Title
US11202300B2 (en) Method and system for adjusting sound quality, and host terminal
CN105790854B (en) A kind of short range data transmission method and device based on sound wave
CN203289452U (en) Wireless audio system based on acoustic wave communication pairing
CN104602364B (en) The method and wireless device, intelligent terminal of wireless device connection wireless access point
CN109714782A (en) Method, apparatus and electronic equipment for smart machine distribution
CN106936987B (en) Method and device capable of identifying voice source of Bluetooth headset
WO2014117722A1 (en) Speech processing method, device and terminal apparatus
AU2012344463A1 (en) Near field communication implementation method and system
CN108243481A (en) Document transmission method and device
CN105722183A (en) Sharing method and apparatus for Wi-Fi (wireless fidelity) link information
CN104869497A (en) Wireless network setting method and apparatus of WIFI sound box
CN107786709A (en) Call noise-reduction method, device, terminal device and computer-readable recording medium
CN108492831A (en) A kind of data transmission method, audio frequency apparatus, intelligent terminal
CN103957220A (en) Data transmission method and system based on frequency conversion sound waves
CN111065013A (en) Communication method and system, wireless earphone and charging box
US20240080065A1 (en) Method and device for adapting a near-field communication
CN106782498B (en) Voice information playing method and device and terminal
CN107682553A (en) Speech signal sending method, device, mobile terminal and storage medium
CN105407445B (en) A kind of connection method and the first electronic equipment
CN106603669A (en) Control method and system for distributed type main equipment and auxiliary equipment
CN109102816A (en) Coding control method, device and electronic equipment
CN103187984B (en) A kind of mobile terminal, mobile terminal system and mobile terminal signal transmission method
CN103730117A (en) Self-adaptation intelligent voice device and method
CN104539803B (en) A kind of information processing method and electronic equipment
CN103986711B (en) A kind of data processing method of voice call

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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210719

Address after: 264300 No. 699, Jiangjun South Road, Rongcheng City, Weihai City, Shandong Province

Patentee after: Rongcheng goer Technology Co.,Ltd.

Address before: 266104 Room 308, North Investment Street Service Center, Laoshan District, Qingdao, Shandong.

Patentee before: GOERTEK TECHNOLOGY Co.,Ltd.