CN106060740A - Microphone data processing method and microphone data processing device - Google Patents

Microphone data processing method and microphone data processing device Download PDF

Info

Publication number
CN106060740A
CN106060740A CN201610353174.5A CN201610353174A CN106060740A CN 106060740 A CN106060740 A CN 106060740A CN 201610353174 A CN201610353174 A CN 201610353174A CN 106060740 A CN106060740 A CN 106060740A
Authority
CN
China
Prior art keywords
mike
frequency
signal sequence
information
coded signal
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
CN201610353174.5A
Other languages
Chinese (zh)
Other versions
CN106060740B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201610353174.5A priority Critical patent/CN106060740B/en
Publication of CN106060740A publication Critical patent/CN106060740A/en
Application granted granted Critical
Publication of CN106060740B publication Critical patent/CN106060740B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R19/00Electrostatic transducers
    • H04R19/04Microphones

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The invention relates to a microphone data processing method and a microphone data processing device. The method comprises the steps as follows: getting to-be-coded information related to a microphone; coding the to-be-coded information into a coded signal sequence composed of signals at different frequencies, wherein the frequency of the coded signal sequence is greater than the maximum frequency sensed by human ears; and getting an original audio signal collected by the microphone, superposing the coded signal sequence and the original audio signal to get an audio signal carrying microphone-related information, and sending the audio signal to a terminal so the terminal can parse the audio signal carrying microphone-related information to get the corresponding microphone-related information. Microphone information can be transmitted conveniently, and a terminal can get microphone-related information easily.

Description

The method and apparatus that microphone data processes
Technical field
The present invention relates to field of computer technology, particularly relate to the method and apparatus that a kind of microphone data processes.
Background technology
Along with the development of computer technology, various network applications are increasingly common in daily life, Yong Hutong Cross various network application entertain and work, as used K song application to carry out the recording of song by mike and share.Very Many hardware vendors produce dedicated microphone to improve audio, and sound is beautified by these mikes in every respect.
Existing microphone data processing method, transmitted by interface due to mike can only be analogue signal, often The delivery of audio data only recorded refers to playback terminal, causes playback terminal when playing audio frequency, it is impossible to identify mike Information, thus can not process accordingly, such as the mike used when not distinguishing audio recording, cause mike to enable The treatment effect that Audio Processing effect and playback terminal enable when playing is overlapping, have impact on the broadcasting tonequality of audio frequency.
Summary of the invention
Based on this, it is necessary to for above-mentioned technical problem, it is provided that the method and apparatus that a kind of microphone data processes, energy side Just transmission microphone information, it is simple to terminal obtains mike relevant information.
A kind of method that microphone data processes, described method includes:
Obtain the to be encoded information relevant to mike;
Described information to be encoded is encoded into the coded signal sequence that different frequency signals is constituted, described coded signal sequence Frequency more than the upper limiting frequency of human auditory system perception;
Obtain the original audio signal that mike gathers, described coded signal sequence is superposed with described original audio signal Obtain carrying the audio signal of mike relevant information and sending to terminal, so that carrying the relevant letter of mike described in terminal parsing The audio signal of breath obtains the mike relevant information of correspondence.
The device that a kind of microphone data processes, described device includes:
Acquisition module, for obtaining the to be encoded information relevant to mike;
Coding module, for being encoded into the coded signal sequence that different frequency signals is constituted, institute by described information to be encoded State the frequency upper limiting frequency more than human auditory system perception of coded signal sequence;
Sending module, for obtaining the original audio signal that mike gathers, described coded signal sequence is former with described Beginning audio signal superposition obtains carrying the audio signal of mike relevant information and sending to terminal, so that taking described in terminal parsing Audio signal with mike relevant information obtains the mike relevant information of correspondence.
The method and apparatus that above-mentioned microphone data processes, by obtaining the to be encoded information relevant to mike, will treat Coding information is encoded into the coded signal sequence that different frequency signals is constituted, and the frequency of coded signal sequence is more than human auditory system sense The upper limiting frequency known, obtains the original audio signal that mike gathers, is superposed with original audio signal by coded signal sequence and obtain To carrying the audio signal of mike relevant information and sending to terminal, so that terminal resolves the sound carrying mike relevant information Frequently signal obtains the mike relevant information of correspondence, and the mode that mike relevant information is encoded into different frequency signals is easy to wheat Gram wind interface passes through analog signal output so that mike also can be by Mike's wind facies in the case of not supporting digital signal output Pass information output, and the frequency of coded signal sequence is more than the upper limiting frequency of human auditory system perception, decreases separation coding signal The difficulty of sequence, can easily transmit microphone information, it is simple to terminal obtains mike relevant information.
A kind of method that microphone data processes, described method includes:
Receive the audio signal that mike sends;
If described audio signal is the audio signal carrying mike relevant information, then obtain in described audio signal Coded signal sequence, the different frequency signals that described coded signal sequence is generated by the information to be encoded coding relevant to mike Constituting, the frequency of described coded signal sequence is more than the upper limiting frequency of human auditory system perception;
Resolving described coded signal sequence, decoding obtains described mike relevant information.
The device that a kind of microphone data processes, described device includes:
Receiver module, for receiving the audio signal that mike sends;
Coded signal sequence acquisition module, if being to carry the audio frequency letter of mike relevant information for described audio signal Number, then obtaining the coded signal sequence in described audio signal, described coded signal sequence is by relevant to mike to be encoded The different frequency signals that information coding generates is constituted, and the frequency of described coded signal sequence is more than the upper limit frequency of human auditory system perception Rate;
Decoder module, is used for resolving described coded signal sequence, and decoding obtains described mike relevant information.
The method and apparatus that above-mentioned microphone data processes, by receiving the audio signal that mike sends, detection is described Whether audio signal is the audio signal carrying mike relevant information, if it is, the coding signal obtained in audio signal Sequence, the different frequency signals that coded signal sequence is generated by the information to be encoded coding relevant to mike is constituted, coding letter The frequency of number sequence, more than the upper limiting frequency of human auditory system perception, resolves coded signal sequence, and decoding obtains the relevant letter of mike Breath, the different frequency signals that coded signal sequence is generated by the information to be encoded coding relevant to mike is constituted, it is simple to Mike Wind interface carries the audio signal of mike relevant information by analog signal output so that digital signal do not supported by mike Also mike relevant information can be exported in the case of output.And the frequency of coded signal sequence is more than the upper of human auditory system perception Limit frequency, thus can facilitate to separate from original audio signal and not affect original audio signal, can easily transmit Microphone information, it is simple to terminal obtains mike relevant information.
Accompanying drawing explanation
Fig. 1 is the applied environment figure of the method that microphone data processes in an embodiment;
Fig. 2 is the cut-away view of mike in Fig. 1 in an embodiment;
Fig. 3 is the cut-away view of terminal in Fig. 1 in an embodiment;
Fig. 4 is the flow chart of the method that microphone data processes in an embodiment;
Fig. 5 is the flow chart that in an embodiment, coded signal sequence generates;
Fig. 6 is the spectrogram that in an embodiment, a minimum code unit is corresponding;
Fig. 7 is the spectrogram that in an embodiment, another minimum code unit is corresponding;
Fig. 8 is the spectrogram that the coded signal sequence being made up of minimum code unit in an embodiment is corresponding;
Fig. 9 is the spectrogram formed after coded signal sequence superposes with original audio signal in an embodiment;
Figure 10 is the flow chart of the method that another kind of microphone data processes in an embodiment;
Figure 11 is the flow chart that in an embodiment, decoding obtains mike relevant information;
Figure 12 is the structured flowchart of the device that microphone data processes in an embodiment;
Figure 13 is the structured flowchart of coding module in an embodiment;
Figure 14 is the structured flowchart of the device that another kind of microphone data processes in an embodiment;
Figure 15 is the structured flowchart of decoder module in an embodiment;
Figure 16 is the structured flowchart of the device that another kind of microphone data processes in another embodiment.
Detailed description of the invention
Fig. 1 is to control the applied environment figure that the method for application is run in an embodiment.As it is shown in figure 1, this applied environment Including mike 110, terminal 120, wherein mike 110 connects terminal 120 in the way to insert, or mike 110 and terminal 120 are communicated by network.
Mike 110 can be moving-coil type, crystal formula, carbon granule formula, aluminium band type and condenser type etc., and terminal 110 can be intelligence hands Machine, panel computer, notebook computer, desk computer etc., but be not limited thereto.Mike 110 can be by inserting or wireless Mode access terminal 120, or send data to terminal 120 by network, terminal 120 can receive mike 110 transmission Data, and carry out parsing and obtain mike relevant information.
In one embodiment, in Fig. 1 mike 110 internal structure as in figure 2 it is shown, include input equipment, processor, Storage medium, internal memory, interface, input equipment, for receiving the vibration input of sound, forms the electric current of change, and the electric current of change leads to Crossing processor to be amplified processing with data, storage medium storage has the device that the first microphone data processes, and this device is used for Realize being applicable to the method that a kind of microphone data of mike processes.This processor is used for providing calculating and control ability, Support the operation of whole mike.The operation inside saving as the device that the first microphone data in storage medium processes provides environment, Interface is for carrying out data transmission with terminal, and interface can be data line interface or wave point etc..
In one embodiment, the internal structure of the terminal 120 in Fig. 1 is as it is shown on figure 3, this terminal 120 includes by being The processor of system bus connection, Graphics Processing Unit, storage medium, internal memory, network interface, display screen, input equipment.Its In, the storage medium storage of terminal 120 has operating system, also includes the device that second microphone data process, and this device is used for Realize being applicable to the method that a kind of microphone data of terminal processes.This processor is used for providing calculating and control ability, supports The operation of whole terminal 120.Graphics Processing Unit in terminal 120 is for providing at the drawing ability of display interface, internal memory For the operation offer environment of the device that the second microphone data in storage medium process, network interface is used for and mike 110 Carry out network service, as received the voice data etc. that mike 110 sends.Display screen is used for showing application interface etc., as aobvious Showing broadcast interface etc., input equipment is for receiving order or the data etc. of user's input.Terminal 110 band touch screen, display screen Can be touch screen with input equipment.
As shown in Figure 4, in one embodiment, it is provided that a kind of method that microphone data processes, above-mentioned to be applied to Mike in applied environment illustrates, and comprises the steps:
Step S210, obtains the to be encoded information relevant to mike.
Concrete, the to be encoded information relevant to mike can be the operation shape of the attribute information of mike, mike State information, function information etc..If the attribute information of mike can be the model of mike, company-information etc., the operation of mike Status information can be the positional information of the hairclipper of mike etc., function information can be reverberation depth information, information volume, hairclipper with The corresponding relation etc. of function, as under the first scene, hairclipper 3 is volume, under the second scene, hairclipper 3 is reverberation.
Step S220, is encoded into the coded signal sequence that different frequency signals is constituted by information to be encoded, encodes signal sequence The frequency of row is more than the upper limiting frequency of human auditory system perception.
Concrete, the upper limiting frequency of human auditory system perception is 20KHz, and signal more than general audio signal 20KHz is the most weak Or almost without.The frequency of the coded signal sequence being encoded into due to information to be encoded is more than the upper limit frequency of human auditory system perception Rate, thus can facilitate to separate from original audio signal and not affect original audio signal.Even if coding signal Sequence is not separated, and owing to the frequency of coded signal sequence is more than the upper limiting frequency of human auditory system perception, is playing descendant Ear can not perception, decrease the difficulty of separation, it is ensured that acoustical quality.
The frequency of coded signal sequence can be between 20KHz~22KHz, general lossy coding, such as MP3, OGG (oggVorbis), AAC (Advanced Audio Coding, Advanced Audio Coding) coding all can remove the frequency of more than 20KHz Rate, therefore when generating voice data, essentially without doing extra Filtering Processing.And for recording into the feelings that CD Quality is issued Under condition, terminal can also use low pass filter to filter these information and preserve after the parsing of mike relevant information obtains.Will Information to be encoded is converted into the permutation and combination of a limited number of minimum code unit according to encryption algorithm, and the specific algorithm of conversion can The most self-defined, as by default scale coding method, such as hexadecimal, octal code method, stroke coding method etc., different The corresponding minimum code unit of different numbers and kind of encoded translated method, as hexadecimal code method, minimum compile Code unit is 0-F totally 16 characters, and for octal code method, minimum code unit is 0-7 totally 7 characters, compiles for stroke Code method, minimum code unit is the minimum stroke such as " ", " | ".The different frequency that each minimum code unit predistribution is corresponding Rate information, can the corresponding frequency of minimum code unit during distribution, it is also possible to by two different frequency representations one Minimum code unit, thus reduce the utilization rate of frequency, it is ensured that the spacing between different frequency, it is to avoid produce dry between different frequency Disturb.Can be obtained sine wave signal or the cosine wave signal of correspondence by formula according to frequency, the expression of formula can be made by oneself, In one embodiment, sine wave signal is obtained by formula y=32768*0.5*sin (2*PI*t*Freq/Samplerate) Y, wherein PI is pi, t express time, and Freq represents that frequency, Samplerate represent the sample rate of sound, such as 44100, its In 0.5 signal being equivalent to-6dB so that signal corresponding to the minimum code unit that generates will not be the most weak or too strong, signal Too strong easily generation when superposition is overflowed, and such as slicing or distorsion, it is former that the most weak meeting of signal causes being not easy when resolving and record Beginning sound distinguishes, thus according to the available corresponding sine wave signal of minimum code unit respective frequencies.In information to be encoded Each character can change into the code character being made up of minimum code unit, and the corresponding different frequency of minimum code unit Signal, thus information to be encoded is converted into different frequency signals constitute coded signal sequence.
Step S230, obtains the original audio signal that mike gathers, is folded with original audio signal by coded signal sequence Add the audio signal obtaining carrying mike relevant information and send to terminal, so that terminal resolves carries mike relevant information Audio signal obtain correspondence mike relevant information.
Concrete, coded signal sequence carries mike relevant information, mike relevant information is encoded into difference The mode of frequency signal is easy to microphone interface and is passed through analog signal output so that mike is not supporting what digital signal exported In the case of also mike relevant information can be exported.In one embodiment, in order to avoid original audio signal frequency is more than people There is interference signal in the part of ear Auditory Perception upper limiting frequency, first can be passed through by original audio signal and preset cut-off frequency, as The low-pass filtering of 20KHz, removes high-frequency signal, then superposes the audio frequency obtaining carrying mike relevant information with coded signal sequence Signal, it is simple to follow-up extract the coded signal sequence not interfering with signal from audio signal.Terminal receives carries Mike After the audio signal of wind relevant information, can detect that coded signal sequence therein, terminal detects completely the most for convenience Coded signal sequence, mike can carry identification information at coded signal sequence, or with terminal agreement coded signal sequence Position, time etc., at the preset ratio that on position is audio signal total length of coded signal sequence, or audio signal is total At the preset ratio of time.After terminal isolates coded signal sequence, it is right to be obtained by decoding algorithm corresponding with mike The mike relevant information answered.
In the present embodiment, by obtaining the to be encoded information relevant to mike, information to be encoded is encoded into different frequency The coded signal sequence that rate signal is constituted, the frequency of coded signal sequence, more than the upper limiting frequency of human auditory system perception, obtains wheat The original audio signal of gram elegance collection, superposes coded signal sequence with original audio signal and obtains carrying mike relevant information Audio signal and send to terminal, so that terminal resolves and carries the audio signal of mike relevant information and obtain the Mike of correspondence Wind relevant information, is encoded into mike relevant information the mode of different frequency signals and is easy to microphone interface and passes through analogue signal Output so that mike relevant information also can be exported in the case of not supporting digital signal output by mike, and coding letter The frequency of number sequence, more than the upper limiting frequency of human auditory system perception, decreases the difficulty separating coded signal sequence, can easily Transmission microphone information, it is simple to terminal obtains mike relevant information.
In one embodiment, as it is shown in figure 5, step S220 includes:
Step S221, is the sub-character of coding that pre-arranged code system is corresponding by information partition encoding to be encoded, encodes sub-word Symbol is made up of in order minimum code unit.
Concrete, information to be encoded is divided into character to be encoded according to default unit, waits to compile as being divided in units of character Code character, can be divided into such as " in 3 " " in " and " 3 ", according to the difference of pre-arranged code system, the sub-word of coding that character to be encoded obtains Symbol is also different, if pre-arranged code system is hexadecimal, then " in " the corresponding sub-character of coding is 0x4E2D, the volume that " 3 " are corresponding Numeral character is 0x0030, encodes sub-character and is made up of in order minimum code unit, if 0x4E2D is by " 4 ", " E ", " 2 ", " D " These 4 minimum code unit are constituted.
Step S222, obtains higher frequency corresponding to each minimum code unit and Frequency successively, frequent according to height Rate generates, with Frequency, the coding subsignal that minimum code unit is corresponding, and the coding subsignal sequentially generated constitutes coding signal Sequence.
Concrete, use higher frequency and Frequency to represent a minimum code unit, with two frequency representations one Minimum code unit, can make the spacing between frequency big as far as possible, it is to avoid interference.Higher frequency and Frequency can be pre-set With the corresponding relation of minimum code unit, thus obtain higher frequency corresponding to minimum code unit and low according to its corresponding relation Again and again rate.Obtain sine wave signal or the cosine wave signal of correspondence according to higher frequency and Frequency by formula, generate The coding subsignal that lower Item unit is corresponding, the coding subsignal sequentially generated constitutes coded signal sequence.Each coding letter Time interval between number can be the most self-defined, as being defined as more than 30 milliseconds.
In one embodiment, step S222 includes: obtain the coding form that pre-arranged code system is corresponding, according to table look-up Mode obtains higher frequency corresponding to minimum code unit and Frequency.
Concrete, determine higher frequency and Frequency, minimum code unit previously according to pre-arranged code system corresponding The form of relation, thus can quick obtaining minimum code unit is corresponding by the way of tabling look-up higher frequency and Frequency. As shown in table 1 below is form corresponding to a hexadecimal code method, and wherein transverse axis represents that Frequency, the longitudinal axis represent high frequency Frequency, the character in form is the minimum code unit that hexadecimal code method is corresponding.
Table 1
20200 20400 20600 20800
21000 0 1 2 3
21200 4 5 6 7
21400 8 9 A B
21600 C D E F
As just corresponding in " 4 " higher frequency 21200Hz and Frequency 20200Hz, by 21200Hz and 20200Hz structure Become the signal that " 4 " are corresponding.It is understood that higher frequency in form and the concrete numerical value of Frequency and interval gap can The most self-defined, and according to the higher frequency of the different designs proportional spacing of pre-arranged code system and Frequency.One In individual embodiment, form corresponding to octal code method is as shown in table 2:
Table 2
20200 20550 20900 21250
21600 0 1 2 3
21950 4 5 6 7
In one embodiment, coded signal sequence periodically generates, and coded signal sequence carries the leader of preset format Knowledge information and tail identification information.
Concrete, coded signal sequence periodically generates can arrange the concrete of coded signal sequence without mike and terminal Position or concrete time, simple and convenient, it is only necessary to the head at coded signal sequence increases the head identification information of preset format, tail Portion increases the tail identification information of preset format and just may be used.The head identification information of preset format and the concrete form of tail identification information and word Symbol can be the most self-defined.
In a specific embodiment, use the corresponding relation coding of table 1, the sub-character of coding that information to be encoded is corresponding For " 4E ", after the coding subsignal of 4 correspondences is constituted, corresponding spectrogram as shown in Figure 6, after coding subsignal corresponding for E is constituted, Corresponding spectrogram is as shown in Figure 7.Spectrogram such as Fig. 8 that the coded signal sequence that consists of prefixed time interval " 4E " is corresponding Shown in.Coded signal sequence " 4E " periodically generates, as 10 seconds generate once.Coded signal sequence is folded with original audio signal The spectrogram formed after adding is as shown in Figure 9, it can be seen that coded signal sequence 310 is substantially above frequency spectrum, and original audio letter Numbers 320 concentrate on below frequency spectrum, it is simple to terminal separates and extracts.
In one embodiment, as shown in Figure 10, it is provided that a kind of method that microphone data processes, above-mentioned to be applied to Terminal in applied environment illustrates, and comprises the following steps:
Step S410, receives the audio signal that mike sends.
Concrete, the audio signal that mike sends may carry mike relevant information, and mike relevant information can Think the attribute information of mike, the operational status information of mike, function information etc..If the attribute information of mike can be wheat Gram model of wind, company-information etc., the operational status information of mike can be the positional information of the hairclipper of mike etc., function letter Breath can be the corresponding relation etc. of reverberation depth information, information volume, hairclipper and function, as under the first scene, hairclipper 3 is volume, Under second scene, hairclipper 3 is reverberation.
Step S420, if audio signal is the audio signal carrying mike relevant information, then obtains in audio signal Coded signal sequence, the different frequency signals structure that coded signal sequence is generated by relevant to mike information to be encoded coding Becoming, the frequency of coded signal sequence is more than the upper limiting frequency of human auditory system perception.
Concrete, flag bit can be used by method arrange with mike or use multiple method to detect audio signal to be No carry mike relevant information, if flag bit is that mike relevant information is carried in 1 expression, then can arrange according to mike The position of coded signal sequence, time etc., such as the preset ratio that on position is audio signal total length of coded signal sequence Place, or at the preset ratio of audio signal total time, extract coded signal sequence.Or whether carry pre-by detection audio signal If identification information obtains, as carried head identification information and the tail identification information of preset format, then head identification information and tail tag know letter Part between breath is coded signal sequence.Coded signal sequence carries mike relevant information, coded signal sequence by The different frequency signals that the to be encoded information coding relevant to mike generates is constituted, it is simple to microphone interface passes through analogue signal The audio signal of mike relevant information is carried in output so that mike also can be by the case of not supporting digital signal output Mike relevant information exports.And the frequency of coded signal sequence is more than the upper limiting frequency of human auditory system perception, thus can facilitate Must separate from original audio signal and not affect original audio signal.Even if coded signal sequence is not isolated Come, owing to the frequency of coded signal sequence is more than the upper limiting frequency of human auditory system perception, after broadcasting human ear can not perception, subtract Lack the difficulty separated, it is ensured that acoustical quality.
Step S430, resolves coded signal sequence, and decoding obtains mike relevant information.
Concrete, the decoding algorithm of terminal is corresponding with the encryption algorithm of mike, first obtains coded signal sequence pair The coding subsignal answered, owing to each coding subsignal is separated by prefixed time interval, can obtain according to time sequencing successively Each encodes subsignal.Obtain the frequency of coding subsignal, according to the difference of the method for expressing of coding subsignal, coding Signal potentially includes one or more frequency.According to the minimum decoding unit that frequency acquisition is corresponding, if multiple frequency, then root Determine minimum decoding unit according to multiple frequencies simultaneously.Its medium frequency is corresponding with coding side with the corresponding relation of minimum decoding unit , the number of minimum decoding unit is also corresponding with encryption algorithm with kind, such as default scale coding method, enters including 16 System, octal code method, stroke coding method etc., different coded method the is corresponding minimum code list of different numbers and kind Unit, as hexadecimal code method, minimum code unit is 0-F totally 16 characters, for octal code method, minimum code Unit is 0-7 totally 7 characters, and for stroke coding method, minimum code unit is the minimum stroke such as " ", " | ".Encryption algorithm can By the form acquisition arranged with mike, or directly carrying in audio signal by encryption algorithm information, terminal is by extracting Mode obtain, it is thus possible to determine the decoding algorithm corresponding with encryption algorithm.After the frequency of coding subsignal obtains, so that it may according to Frequency and the corresponding relation of minimum decoding unit, obtain the minimum decoding unit that frequency is corresponding.And by single for different minimum decodings Unit arranges the most in order, solves numeral character owing to general continuous multiple minimum decoding units form one, has concrete containing Justice, needs first to be separated obtaining by each minimum decoding unit the solution numeral character of correspondence.If presetting scale coding side Method, then can directly obtain the default figure place corresponding with pre-arranged code system and be separated, default figure place as corresponding in hexadecimal It it is 4.If stroke coding algorithm, then need to write at coding side in advance the spaced-apart locations of each solution numeral character, can lead to Cross the method write presetting labelling end to end, during decoding, according to default labelling end to end, each minimum decoding unit is separated into solution numeral Character.Obtaining corresponding mike relevant information according to solving numeral character, each solution numeral character and decoded information have specifically Decoding relation, decoded information corresponding in character 4E2D as sub-in hex decoding be " in ", thus obtain each decoding and believe Breath, constitutes mike relevant information.
In the present embodiment, by receiving the audio signal that mike sends, whether detect described audio signal for carrying wheat The audio signal of gram wind relevant information, if it is, the coded signal sequence obtained in audio signal, coded signal sequence by with The different frequency signals that the information to be encoded coding that mike is relevant generates is constituted, and the frequency of coded signal sequence is listened more than human ear Feel perception upper limiting frequency, resolve coded signal sequence, decoding obtain mike relevant information, coded signal sequence by with Mike The different frequency signals that the information to be encoded coding that wind facies closes generates is constituted, it is simple to microphone interface is taken by analog signal output Audio signal with mike relevant information so that mike also can be by mike in the case of not supporting digital signal output Relevant information exports.And the frequency of coded signal sequence is more than the upper limiting frequency of human auditory system perception, thus can facilitate from former Beginning audio signal is separated and does not affect original audio signal, microphone information can easily be transmitted, it is simple to terminal obtains Mike relevant information.
In one embodiment, as shown in figure 11, step S430 includes:
Step S431, obtains coding subsignal corresponding to coded signal sequence, obtain coding subsignal higher frequency and Frequency.
Concrete, coding subsignal is made up of higher frequency and Frequency, and the spacing between frequency can be made big as far as possible, Avoid interference.
Step S432, obtains corresponding minimum decoding unit according to higher frequency with Frequency.
Concrete, obtain the corresponding relation of the higher frequency pre-set and Frequency and minimum decoding unit, thus Corresponding minimum decoding unit is obtained with Frequency according to higher frequency.Decoding algorithm is different, the minimum decoding unit of acquisition Also different.
Step S433, arranges different minimum decoding units and the most in order according to position corresponding to pre-arranged code system Number is separated obtaining the solution numeral character of correspondence, obtains corresponding mike relevant information according to solving numeral character.
Concrete, different separation figure place that different pre-arranged code systems is corresponding, as by different minimum decoding units Arrangement obtains " 4E2D0030 " the most in order, and pre-arranged code system is hexadecimal, and the most every 4 are separated, obtain two Solve numeral character " 4E2D ", " 0030 ".Each solution numeral character can determine that the decoding character of correspondence, obtains the letter that " 4E2D " is corresponding Breath for " in ", information corresponding to " 0030 " be " 3 ", thus obtaining gram wind relevant information is " in 3 ".
In one embodiment, step S432 includes: obtain the decoding form that pre-arranged code system is corresponding, according to table look-up Mode obtains the minimum decoding unit that higher frequency is corresponding with Frequency.
Concrete, the size of pre-arranged code system is by arranging with mike or extracting from audio signal, different Pre-arranged code system has the decoding algorithm of corresponding system.By obtaining higher frequency corresponding to pre-arranged code system and low again and again The decoding form of relation between rate, minimum code unit, thus can by the way of tabling look-up quick obtaining higher frequency and low frequency The minimum decoding unit that frequency is corresponding.As shown in table 3 below is decoding form corresponding to a hex decoding method, wherein horizontal Axle represents that Frequency, the longitudinal axis represent higher frequency, and the character in form is the minimum decoding that hex decoding method is corresponding Unit.
Table 3
20200 20400 20600 20800
21000 0 1 2 3
21200 4 5 6 7
21400 8 9 A B
21600 C D E F
As just corresponding in higher frequency 21200Hz and Frequency 20200Hz minimum decoding unit " 4 ", it is possible to understand that It is that higher frequency in form and the concrete numerical value of Frequency and interval gap can be the most self-defined, and calculate with coding Method keeps consistent.In one embodiment, the form that octal system coding/decoding method is corresponding is as shown in table 4:
Table 4
20200 20550 20900 21250
21600 0 1 2 3
21950 4 5 6 7
In one embodiment, step S420 includes: whether detection audio signal exists the head identification information of preset format With tail identification information, if it is present the data obtained between head identification information and tail identification information obtain in audio signal Coded signal sequence.
Concrete, by the head identification information of preset format and tail identification information can rapid extraction coded signal sequence, no Need the particular location with mike agreement coded signal sequence or concrete time, simple and convenient.
In one embodiment, after step S430, also include: mike relevant information is inserted into business datum or root Corresponding play parameter is adjusted according to mike relevant information.
Concrete, business datum refers to the data relevant to business, as being audio frequency sharing data, audio frequency recommending data Deng, the user relevant to business can be made quickly to understand mike be correlated with by mike relevant information is inserted into business datum Information, reaches the effect of information fast propagation and popularization.As information can be added after by the issue works of microphone records, Display " these works are by the first model microphone records ", reaches the effect of microphone hardware producer Rapid Popularization information.Broadcast Put parameter and include volume, for " hairclipper 3-50 ", the reverberation degree of depth, the position etc. of hairclipper, such as mike relevant information represent that No. 3 push away Son has been shifted onto the position of 50%, then to adjust corresponding hairclipper position according to mike relevant information.The relevant letter of such as mike Breath is " the first model mike ", and owing to the first model mike has carried audio specially good effect, then when playing, end is put in controlled record and broadcast The play sound effect of end is closed, it is ensured that the acoustical quality of broadcasting.
In one embodiment, as shown in figure 12, it is provided that a kind of microphone data process device, including:
Acquisition module 510, for obtaining the to be encoded information relevant to mike.
Coding module 520, for information to be encoded being encoded into the coded signal sequence that different frequency signals is constituted, coding The frequency of signal sequence is more than the upper limiting frequency of human auditory system perception.
Sending module 530, for obtaining the original audio signal that mike gathers, by coded signal sequence and original audio Signal averaging obtains carrying the audio signal of mike relevant information and sending to terminal, so that terminal resolves carries Mike's wind facies The audio signal of pass information obtains the mike relevant information of correspondence.
In one embodiment, as shown in figure 13, coding module 520 includes:
Partition encoding unit 521, being used for information partition encoding to be encoded is the sub-word of coding that pre-arranged code system is corresponding Symbol, encodes sub-character and is made up of in order minimum code unit.
Coded signal sequence signal generating unit 522, for obtain successively higher frequency corresponding to each minimum code unit and Frequency, generates the coding subsignal that minimum code unit is corresponding, the volume sequentially generated according to higher frequency with Frequency Numeral signal constitutes coded signal sequence.
In one embodiment, coded signal sequence signal generating unit is additionally operable to obtain the coding schedule that pre-arranged code system is corresponding Lattice, obtain higher frequency corresponding to minimum code unit and Frequency according to the mode tabled look-up.
In one embodiment, coded signal sequence periodically generates, and coded signal sequence carries the leader of preset format Knowledge information and tail identification information.
In one embodiment, as shown in figure 14, it is provided that a kind of microphone data process device, including:
Receiver module 610, for receiving the audio signal that mike sends.
Coded signal sequence acquisition module 620, if being to carry the audio frequency letter of mike relevant information for audio signal Number, then obtaining the coded signal sequence in audio signal, coded signal sequence is by the to be encoded information coding relevant to mike The different frequency signals generated is constituted, and the frequency of coded signal sequence is more than the upper limiting frequency of human auditory system perception.
Decoder module 630, is used for resolving coded signal sequence, and decoding obtains mike relevant information.
In one embodiment, as shown in figure 15, decoder module 630 includes:
Minimum decoding unit acquiring unit 631, for obtaining the coding subsignal that coded signal sequence is corresponding, obtains coding The higher frequency of subsignal and Frequency, obtain corresponding minimum decoding unit according to higher frequency with Frequency.
Mike relevant information decoding unit 632, for arranging different minimum decoding units the most in order and press It is separated obtaining the solution numeral character of correspondence according to the figure place that pre-arranged code system is corresponding, obtains correspondence according to solving numeral character Mike relevant information.
In one embodiment, minimum decoding unit acquiring unit 631 is additionally operable to obtain the solution that pre-arranged code system is corresponding Code table lattice, obtain, according to the mode tabled look-up, the minimum decoding unit that described higher frequency is corresponding with Frequency.
In one embodiment, coded signal sequence acquisition module 620 is additionally operable to detect whether audio signal exists default The head identification information of form and tail identification information, if it is present the data obtained between head identification information and tail identification information Obtain the coded signal sequence in audio signal.
In one embodiment, as shown in figure 16, device also includes:
Information Pull module 640, for being inserted into business datum or according to Mike's wind facies by described mike relevant information Pass information adjusts corresponding play parameter.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, be permissible Instructing relevant hardware by computer program to complete, described program can be stored in a computer read/write memory medium In, in the embodiment of the present invention, this program can be stored in the storage medium of computer system, and by this computer system At least one processor performs, to realize including the flow process of the embodiment such as above-mentioned each method.Wherein, described storage medium can be Magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc..
Each technical characteristic of embodiment described above can combine arbitrarily, for making description succinct, not to above-mentioned reality The all possible combination of each technical characteristic executed in example is all described, but, as long as the combination of these technical characteristics is not deposited In contradiction, all it is considered to be the scope that this specification is recorded.
Embodiment described above only have expressed the several embodiments of the present invention, and it describes more concrete and detailed, but also Can not therefore be construed as limiting the scope of the patent.It should be pointed out that, come for those of ordinary skill in the art Saying, without departing from the inventive concept of the premise, it is also possible to make some deformation and improvement, these broadly fall into the protection of the present invention Scope.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.

Claims (18)

1. the method that microphone data processes, described method includes:
Obtain the to be encoded information relevant to mike;
Described information to be encoded is encoded into the coded signal sequence that different frequency signals is constituted, the frequency of described coded signal sequence Rate is more than the upper limiting frequency of human auditory system perception;
Obtain the original audio signal that mike gathers, described coded signal sequence is superposed with described original audio signal and obtains Carry the audio signal of mike relevant information and send to terminal, so that carrying mike relevant information described in terminal parsing Audio signal obtains the mike relevant information of correspondence.
Method the most according to claim 1, it is characterised in that the described different frequency that described information to be encoded is encoded into is believed Number step of coded signal sequence constituted includes:
Being the sub-character of coding that pre-arranged code system is corresponding by described information partition encoding to be encoded, the sub-character of described coding is by Lower Item unit is constituted in order;
Obtain higher frequency corresponding to each minimum code unit and Frequency successively, according to described higher frequency and low again and again Rate generates the coding subsignal that described minimum code unit is corresponding, and the coding subsignal sequentially generated constitutes coded signal sequence.
Method the most according to claim 2, it is characterised in that described obtain the height that each minimum code unit is corresponding successively Again and again the step of rate and Frequency includes:
Obtain the coding form that described pre-arranged code system is corresponding, obtain described minimum code unit according to the mode tabled look-up corresponding Higher frequency and Frequency.
Method the most according to claim 1, it is characterised in that described coded signal sequence periodically generates, described coding Signal sequence carries head identification information and the tail identification information of preset format.
5. the method that microphone data processes, described method includes:
Receive the audio signal that mike sends;
If described audio signal is the audio signal carrying mike relevant information, then obtain the coding in described audio signal Signal sequence, the different frequency signals structure that described coded signal sequence is generated by the information to be encoded coding relevant to mike Becoming, the frequency of described coded signal sequence is more than the upper limiting frequency of human auditory system perception;
Resolving described coded signal sequence, decoding obtains described mike relevant information.
Method the most according to claim 5, it is characterised in that the described coded signal sequence of described parsing, decoding obtains institute The step stating mike relevant information includes:
Obtain the coding subsignal that described coded signal sequence is corresponding;
Obtain higher frequency and the Frequency of described coding subsignal;
Corresponding minimum decoding unit is obtained with Frequency according to described higher frequency;
Different minimum decoding units is arranged the most in order and is separated according to the figure place that pre-arranged code system is corresponding To corresponding solution numeral character;
The mike relevant information of correspondence is obtained according to described solution numeral character.
Method the most according to claim 6, it is characterised in that described right according to described higher frequency and Frequency acquisition The step of the minimum decoding unit answered includes:
Obtain the decoding form that described pre-arranged code system is corresponding, obtain described higher frequency and low again and again according to the mode tabled look-up The minimum decoding unit that rate is corresponding.
Method the most according to claim 5, it is characterised in that if described audio signal is correlated with for carrying mike The audio signal of information, then the step obtaining the coded signal sequence in described audio signal includes:
Detect whether described audio signal exists head identification information and the tail identification information of preset format, if it is present obtain Data between described head identification information and tail identification information obtain the coded signal sequence in described audio signal.
Method the most according to claim 5, it is characterised in that the described coded signal sequence of described parsing, decoding obtains institute After stating the step of mike relevant information, also include:
Described mike relevant information is inserted into business datum or adjusts corresponding broadcasting according to described mike relevant information Parameter.
10. the device that a microphone data processes, it is characterised in that described device includes:
Acquisition module, for obtaining the to be encoded information relevant to mike;
Coding module, for being encoded into the coded signal sequence that different frequency signals is constituted, described volume by described information to be encoded The frequency of code signal sequence is more than the upper limiting frequency of human auditory system perception;
Sending module, for obtaining the original audio signal that mike gathers, by described coded signal sequence and described original sound Frequently Signal averaging obtains carrying the audio signal of mike relevant information and sending to terminal, so that carrying wheat described in terminal parsing The audio signal of gram wind relevant information obtains the mike relevant information of correspondence.
11. devices according to claim 10, it is characterised in that described coding module includes:
Partition encoding unit, being used for described information partition encoding to be encoded is the sub-character of coding that pre-arranged code system is corresponding, The sub-character of described coding is made up of in order minimum code unit;
Coded signal sequence signal generating unit, for obtaining higher frequency corresponding to each minimum code unit and low again and again successively Rate, generates, with Frequency, the coding subsignal that described minimum code unit is corresponding according to described higher frequency, sequentially generates Coding subsignal constitutes coded signal sequence.
12. devices according to claim 11, it is characterised in that described coded signal sequence signal generating unit is additionally operable to obtain The coding form that described pre-arranged code system is corresponding, obtains height corresponding to described minimum code unit again and again according to the mode tabled look-up Rate and Frequency.
13. devices according to claim 10, it is characterised in that described coded signal sequence periodically generates, described volume Code signal sequence carries head identification information and the tail identification information of preset format.
The device that 14. 1 kinds of microphone data process, it is characterised in that described device includes:
Receiver module, for receiving the audio signal that mike sends;
Coded signal sequence acquisition module, if being the audio signal carrying mike relevant information for described audio signal, Then obtaining the coded signal sequence in described audio signal, described coded signal sequence is by the to be encoded information relevant to mike The different frequency signals that coding generates is constituted, and the frequency of described coded signal sequence is more than the upper limiting frequency of human auditory system perception;
Decoder module, is used for resolving described coded signal sequence, and decoding obtains described mike relevant information.
15. devices according to claim 14, it is characterised in that described decoder module includes:
Minimum decoding unit acquiring unit, for obtaining the coding subsignal that described coded signal sequence is corresponding, obtains described volume The higher frequency of numeral signal and Frequency, obtain corresponding minimum according to described higher frequency with Frequency and decode single Unit;
Mike relevant information decoding unit, for arranging different minimum decoding units the most in order and according to default volume The figure place that code system is corresponding is separated obtaining the solution numeral character of correspondence, obtains the Mike of correspondence according to described solution numeral character Wind relevant information.
16. devices according to claim 15, it is characterised in that described minimum decoding unit acquiring unit is additionally operable to obtain The decoding form that described pre-arranged code system is corresponding, obtains described higher frequency according to the mode tabled look-up corresponding with Frequency Minimum decoding unit.
17. devices according to claim 14, it is characterised in that described coded signal sequence acquisition module is additionally operable to detection Whether described audio signal exists head identification information and the tail identification information of preset format, if it is present obtain described leader Data between knowledge information and tail identification information obtain the coded signal sequence in described audio signal.
18. devices according to claim 14, it is characterised in that described device also includes:
Information Pull module, for being inserted into business datum or according to the relevant letter of described mike by described mike relevant information Breath adjusts corresponding play parameter.
CN201610353174.5A 2016-05-24 2016-05-24 Microphone data processing method and device Active CN106060740B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610353174.5A CN106060740B (en) 2016-05-24 2016-05-24 Microphone data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610353174.5A CN106060740B (en) 2016-05-24 2016-05-24 Microphone data processing method and device

Publications (2)

Publication Number Publication Date
CN106060740A true CN106060740A (en) 2016-10-26
CN106060740B CN106060740B (en) 2020-07-17

Family

ID=57174352

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610353174.5A Active CN106060740B (en) 2016-05-24 2016-05-24 Microphone data processing method and device

Country Status (1)

Country Link
CN (1) CN106060740B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111930776A (en) * 2020-09-10 2020-11-13 北京维数统计事务所有限公司 Form processing method and device, electronic equipment and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101197585A (en) * 2007-12-18 2008-06-11 华南理工大学 Wireless ultra-broadband digital multi-microphone system and its audio signal transmission method
US20080205668A1 (en) * 2007-02-26 2008-08-28 Yamaha Corporation Sensitive silicon microphone with wide dynamic range
CN102695148A (en) * 2012-06-01 2012-09-26 上海车音网络科技有限公司 Methods and devices for sending and receiving short message, and short message sending and receiving system
CN103024601A (en) * 2011-09-23 2013-04-03 吕品 Audio coding method and device, information collection method and system
CN104936114A (en) * 2015-05-29 2015-09-23 北京卓锐微技术有限公司 Microphone with unique identification code

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080205668A1 (en) * 2007-02-26 2008-08-28 Yamaha Corporation Sensitive silicon microphone with wide dynamic range
CN101197585A (en) * 2007-12-18 2008-06-11 华南理工大学 Wireless ultra-broadband digital multi-microphone system and its audio signal transmission method
CN103024601A (en) * 2011-09-23 2013-04-03 吕品 Audio coding method and device, information collection method and system
CN102695148A (en) * 2012-06-01 2012-09-26 上海车音网络科技有限公司 Methods and devices for sending and receiving short message, and short message sending and receiving system
CN104936114A (en) * 2015-05-29 2015-09-23 北京卓锐微技术有限公司 Microphone with unique identification code

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111930776A (en) * 2020-09-10 2020-11-13 北京维数统计事务所有限公司 Form processing method and device, electronic equipment and readable storage medium
CN111930776B (en) * 2020-09-10 2021-01-05 北京维数统计事务所有限公司 Form processing method and device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN106060740B (en) 2020-07-17

Similar Documents

Publication Publication Date Title
CN106486128B (en) Method and device for processing double-sound-source audio data
US11514777B2 (en) Methods and devices for transferring data using sound signals
US11848030B2 (en) Audio encoding for functional interactivity
CN205004033U (en) Cloud intelligence speech recognition PA -system
CN103841498A (en) Terminal and stereophonic playing system and method
CN111865952B (en) Data processing method, data processing device, storage medium and electronic equipment
CN104936102A (en) Stereo control method, stereo control device and split type stereo sound boxes
CN104978973A (en) Audio processing method and device
CN106411849A (en) Network access information sharing method
CN111107284B (en) Real-time generation system and generation method for video subtitles
US20140358528A1 (en) Electronic Apparatus, Method for Outputting Data, and Computer Program Product
CN106060740A (en) Microphone data processing method and microphone data processing device
CN112259076B (en) Voice interaction method, voice interaction device, electronic equipment and computer readable storage medium
CN107454539A (en) A kind of typhon self-check system and method
CN109697987A (en) A kind of the far field voice interaction device and implementation method of circumscribed
CN106060694A (en) Digital earphone and listened sound processing method thereof
KR20160145711A (en) Systems, methods and devices for electronic communications having decreased information loss
CN113114417B (en) Audio transmission method and device, electronic equipment and storage medium
KR100878531B1 (en) Method for synchronizing among terminals and apparatus thereof
CN208444595U (en) A kind of bright read apparatus with sound regulatory function
CN105869617A (en) Karaoke device based on China digital radio
CN111970063B (en) Communication method, device, equipment and storage medium
CN113838470B (en) Audio processing method, device, electronic equipment, computer readable medium and product
CN109841222B (en) Audio communication method, communication apparatus, and storage medium
EP4362012A1 (en) Encoding and decoding methods and apparatuses for multi-channel signals

Legal Events

Date Code Title Description
C06 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